Fixing the incorrect remote repository name for mymvcweb

Remote repository name for mymvcweb was incorrect in, create remote repository instruction, docker push command and in the push instruction.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

approved and merged changes


Suffix needed?

Hi,
first of all thanks for this software!
I was wondering if the README is still correct in that the model files need a .bin suffix. I just added a symbolic link to a model and called it "gpt-4" which seemed to work as intended, I can use the same model name as with OpenAI.
Is this intended to work now or am I just exploiting a bug here? I'd very much appreciate if the models could work without the .bin suffix.
Thanks for the attention!

Hi @normen !
It does work indeed without the bin suffix! Thanks for noticing, It's the docs which are lacking here, I'll update them :)
The only limitation currently is that the models endpoint https://github.com/go-skynet/LocalAI#list-models will return those which have the bin suffix, but will be addressed in future releases!

Thanks for the info, good to hear!


Naming of the GetSet and GetSetAsync methods

The name GetSet sounds like data is both saved and loaded in the method. Maybe rename the methods to GetList and GetListAsync.

@bjornharrtell considered renaming.

Hehe yes I was confused about them myself yesterday. But I don't like list either since they do return a set.

What about GetHashSet or GetMany...

Both names are pretty good, now I have do decide which one of them.

GetHashSet it is https://github.com/bjornharrtell/PgKeyValueDB/commit/175794501faec6a762998d161028ef683dc237f9


Registering User Account

Is it possible to register/create a new user account with iamb? I just setup a conduit.rs matrix server in a docker container. It's unclear to me how to register/create a new user account with iamb on the conduit matrix server. :(

Currently there is not a method in iamb to create and account. It may be worthwhile to use another client like Element to register.

It seems to me that this request is the same as issue #258 .


Fix clippy complaints about ok_or vs ok_or_else

In #10 it turned out that Clippy version used in Github actions has been updated recently and our code no longer passes Clippy checks. This PR addresses this issue.

@piodul


Covflow

Would like to add shortcut commands for common git branching, PR and other useful wrappers to make it easier to follow the Covalent model for git development.
Design Doc:
https://docs.google.com/document/d/11Gu_OlM8A8BYe5Ea-LDakdjNPhYFxteCWoYfbq8V_a4/edit#

not going to work this


handle unsupported connection provider

This PR fixes #20533
previously I added the provider check for the browse connection view, now also add it for the azure tree scenarios.
unknown provider - direct user to extensions view:

known provider - open the extension page directly:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 28 (21.43%)  changed or added relevant lines in 3 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.008%) to 42.03%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/contrib/dashboard/browser/dashboardActions.ts
0
7
0.0%

src/sql/workbench/services/connection/browser/connectionDialogWidget.ts
1
8
12.5%

src/sql/workbench/services/connection/browser/connectionManagementService.ts
5
13
38.46%

Files with Coverage Reduction
New Missed Lines
%

extensions/machine-learning/src/common/processService.ts
2
81.48%

extensions/notebook/src/book/bookTreeView.ts
2
37.97%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
28005

Relevant Lines:
62039

💛  - Coveralls


Correct rosdistro keys and patch cmake build

This corrects the rosdistro key names so rosdep can properly resolve and install missing dependencies, as well fix some issues in finding exported headers from upstream projects.
See official list of rosdistro keys here:
https://github.com/ros/rosdistro/blob/master/rosdep/base.yaml
Related:

https://github.com/borglab/gtsam/pull/173
https://github.com/laurentkneip/opengv/pull/104
https://github.com/dorian3d/DBoW2/pull/55
https://github.com/opencv/opencv/pull/16322

So my understanding is that all the depend names in package.xml should reflect the ones that we want to depend on, which should be the ones we install in the workspace (+/- the ones that are already in ROS core packages).
So namings should follow:
https://github.com/MIT-SPARK/Kimera-VIO-ROS/blob/master/install/kimera_vio_ros_ssh.rosinstall

@ruffsl if you want we can merge this one after updating to master and if Jenkins is ok with it :+1:

@ruffsl if you want we can merge this one after updating to master and if Jenkins is ok with it +1

@ToniRV I've rebased this PR onto master. I think the 18.04 test might be flaky, as it passed before rebasing, and the error dosn't seem to pertain to ros-dep keys. The builds seems green though!
Could you also merge this PR as well: https://github.com/MIT-SPARK/Kimera-RPGO/pull/51


"Associated Revisions" performance issue mitigation suggestion

We have a workflow where we need the branches information added by this great plugin under "Associated Revisions", but the performance issue is too big:
~10 commits on an issue result in +4 second delay loading the page.
We cannot enable this feature as it is now.
The first idea to fix this is to use a cache.
But correctly caching the results is hard, because any operation on the git repository could invalidate the cached data: a new branch, a merge, a branche deletion etc.. would change the revision -> branch association for a lot of commits.
A cache with a simple Time To Live is not great either:

either the TTL is long and it will make the feature useless because the data would be too often and for too long out-of-date.
or the TTL is too short and would mostly never be hit.

I looked into the gitlab source code to check how they implemented this feature, and they also call git branch --contains, and I haven't found caching for this data. However, they only seem to display this info in contexts where only one commit is analyzed (such as the commit details page), so they don't have the present issue of computing this for many commits for one page.
Thus, I suggest another approach:
In our use-case the information is really useful, but not for everyone, and not all the time. So we could have the feature disabled by default, but the user should be able to enable it on demand (with no persistence of the demand), by a click of a button (or link).
If the user really wants it, he will accept the slowness.
Technically I can think of two solutions: either load the info with ajax, or have a (query string?) parameter for the issue page to compute.
We could still add a cache with a short TTL, it could help (and maybe give a way to the user to refresh the cache on demand for the current issue too).

What is the specific workflow requires you to view branches under "Associated Revisions" instead of under each revision?

Given an issue with 15 associated revisions on master, we want to quickly see which ones have been cherry-picked on which branch, etc..
Opening 15 tabs to have the information is not only tedious but also not useful: the data is then spread on 16 tabs, it's not an aggregated view.

By aggregated, are you suggesting there would be 1 list... or a list of branches underneath each commit?  This could quickly get pretty messy.

Closing as I no longer use Redmine and cannot effectively update and maintain this repo.


Flatten seems to cause stack overflow

It's hard to reproduce at this time, but running intensive queries causes a stack overflow, especially in node. The problem could lie in the recursive call of flattenDeep.

I seem to have blown my cover... I'm using Immutable to write data-intensive queries. :)

Sorry for not responding in a timely manner.
I'm closing this aging issue, however if you can reproduce the issue against the master branch, please feel free to re-open the issue.

@leebyron I changed this code in my fork where I only allow flat sequences. My idea is that once you start using hierarchical structures one should switch to vecs / maps.


Syndicate sleeper agents might not appear in  round end summary

Description
Sleeper agent syndicates don't appear to wind up in the round-end summary.
Reproduction
Unsure if there were any extraneous circumstances, but after a round a syndicate sleeper agent was not present in the round end summary.
Worth taking a look at to prevent false reports of self-antagonism.

for some reason they only appear when the game preset was traitor, in any other game preset they don't appear


Tom/usdt transfer fee change

@bvotteler I think this brings all the changes from the pre-0.2.0 branch into master.


Run LiberTEM test server in a separate event loop

This is needed to properly isolate event loops, and allows to test edge cases, for example shutting down the server.
Contributor Checklist:

[x] I have added or updated my entry in the creators.json file
[ ] I have added a changelog entry for my contribution
[ ] I have added/updated documentation for all user-facing changes
[x] I have added/updated test cases
[ ] I have included the rebuilt production build of the client (only if
changes were made to the GUI)

I'm also re-enabling the flaky tests to see how they react - with the new solution, it is possibile that we will get proper error messages if the server decides to hang at shutdown.
They are quite slow, I think this is because of the numba non-caching, which is amplified here, as each new server is run on a new thread, so it is possible that they don't share the numba compilation results. Needs to be verified...


fixing typo

Re-implementing fix from PR#541

#sign-off

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azurermps-5.6.0/install-azurermps-maclinux.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[WIP] Fixed #4934: Do not send all local size changes

When sending every size change below a certain threshold, the remote
app will enter an infinte loop reducing the window size to 1x1.
Ignore changes below 10px

Wrong approach, need to configure rail app correctly to do window movement locally.


[BUG] autok3s -d serve:failed to collected usage metrics: 422 Unprocessable Entity

OS：windows11
running:autok3s -d serve
the response:
time="2022-04-02T08:20:45+08:00" level=debug msg="failed to collected usage metrics: 422 Unprocessable Entity"
time="2022-04-02T08:20:45+08:00" level=info msg="run as daemon, listening on <IP_ADDRESS>:8080"
When I access https://<IP_ADDRESS>:8080 in browser
the response:
Secure Connection Failed
An error occurred during a connection to <IP_ADDRESS>:8080. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
When I access http://<IP_ADDRESS>:8080 in browser
the response is blank page.
thanks

@jack-liew Which kind of browser are you using? Could you please try Chrome or Firefox?

I use friefox and ms edge .

Firefox works fine for me. Could you please try to open the F12 to see what kind of error occurs in the Firefox Console?

http://localhost:8080:
Loading module from “http://localhost:8080/ui/assets/index.cafcc866.js” was blocked because of a disallowed MIME type (“text/plain”).
https://<IP_ADDRESS>:8080
Cookie “_dd_s” will be soon treated as cross-site cookie against “https://<IP_ADDRESS>:8080/ui/” because the scheme does not match.

Which version of Firefox are you using?

my firefox version is :98.0.2 (64-bit)
edge 99.0.1150.55 (64bit)
thanks

I'm using Firefox 98.0.2(64-bit) but the UI works fine for me. Is this error occurring on your Firefox Console?
Loading module from “[http://localhost:8080/ui/assets/index.cafcc866.js”](http://localhost:8080/ui/assets/index.cafcc866.js%E2%80%9D) was blocked because of a disallowed MIME type (“text/plain”).

yes, the browser is same version,and the error as you said.

Which version of AutoK3s are you using?

yesterday I user autok3s viersion is 0.4.8, today update to 0.4.9.
Did I have other preparations that  didn't do?
because I just did:
download exe file,and changed it's fielname to autok3s.exe,then running:autok3s.exe -d serve.

Hmmm..... I also download the exe file and ran with the same command.
How about clearing all cache for Firefox or using a private window and try again?

......in private tab, It's still view a blank page.
firefox console message is:
Loading module from “http://<IP_ADDRESS>:8080/ui/assets/index.cafcc866.js” was blocked because of a disallowed MIME type (“text/plain”).
Loading failed for the module with source “http://<IP_ADDRESS>:8080/ui/assets/index.cafcc866.js”.

It's curious why the browser changes the javascript type file to text/plain...
@ly5156 Do you have any ideas?

thank for your help!
I'll try to search the answer.
thank again.

@jack-liew
You can clear your browser cache and try refreshing your browser
chrome example:

@jack-liew You can clear your browser cache and try refreshing your browser chrome example:

To clear cache not worked.
when i F12 to Find the problem, it view message:
Loading module from “http://localhost:8080/ui/assets/index.cafcc866.js” was blocked because of a disallowed MIME type (“text/plain”).
https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/X-Content-Type-Options
Blocks a request if the request destination is of type style and the MIME type is not text/css, or of type script and the MIME type is not a JavaScript MIME type.
It looks like autok3s web server has a bug about MIME type.
Thanks

@jack-liew I think it's a problem with Windows registry configuration. Could you please try to modify registry config as the following comments to check if this issue could be fixed?
https://github.com/golang/go/issues/32350#issuecomment-635859542
More information: https://stackoverflow.com/questions/59355194/python-flask-error-failed-to-load-module-script-strict-mime-type-checking-i

It's worked,Thanks,
but I don't think it be a good idea.

This won't reproduce on every version of Windows. I didn't reproduce it on my Windows 10 computer.
https://github.com/golang/go/issues/32350#issuecomment-635859542 is a temporary solution.
We will deep dive to see how to handle this issue more conveniently.


Use resolvers rather than languages

Some languages have multiple resolvers, and this allows "postgres" to make more sense as everything listed is something we have as a dependency.
gem: "~> 2.3", file: "Gemfile"
postgres: "~> 9.3"
pip: "~> 2.7", file: "requirements.txt"
npm: "~> 5.5", file: "package.json"

Better yet, make every "key" something that needs to be in PATH (which simplifies implementations somewhat):
psql: "~> 9.3"

But then what is "gem", "pip" and "npm"? You lose a ton of useful semantic juice for humans by doing that.

Some, but you lose specificity for computers. Go, for example, couldn't be resolved to a specific dependency resolver at this point in its maturity. Technically Ruby could, but if for some reason we wanted just gem instead of bundler you're not specifying that either. Keeping things simple (no more magic keywords) the technical solution if we are going to have computers figure this out is to specify the tool, not the language.

On Feb 26, 2016, at 10:03 AM, Olivier Lacan<EMAIL_ADDRESS>wrote:
But then what is "gem", "pip" and "npm"? You lose a ton of useful semantic juice for humans by doing that.
—
Reply to this email directly or view it on GitHub.

At the risk of increasing complexity too early, we could have some sane defaults with greater configuration if necessary, i.e. node is an alias npm by default. Adding new adapters without changing defaults is a minor change; changing defaults is a major change.

-1 defaults for anything - it's going to greatly increase implementation complexity and thereby decrease adoption.

I disagree, but my voice is only one. My imagination sees most users happily using ruby and node without much concern for the resolver being used. Some languages, and some users with specific needs, can specify a resolver instead.


Online FW upgrade not working?

Online FW update no longer works.
busybox needs to be updated.
In the meantime, use the manual firmware update procedure:
https://github.com/roleoroleo/yi-hack-Allwinner/wiki/Manual-firmware-upgrade

It doesn't work.
I'm on 0.3.6 and in Maintenance page there is I click on FIRMWARE UPGRADE I've got Unable to download firmware file

Did you find a solution ? I have the same error message with v0.3.7 version and camera Yi 1080p Home BFUS

In the linked manual upgrade process it says:
Rename the file replacing the version numbers with the 'x' char (y20ga_0.3.7.tgz -> y20ga_x.x.x.tgz)
It looks as if your file still contains version designations.

Sorry, I've read wrong :D

Still no online Update possible?
I cant remember if it bricks the cam by trying or just nothing happens :)
I am on 0.3.8 and want to get the todays new 0.3.9.

I just tried it and both my cams updated from 0.3.8 to 0.3.9 without any problems.
So @roleoroleo close this as fixed?

It worked for me too.

update from 0.3.7 is still broken, will do a manual update now


purescript: update script only considers full releases

Description of changes

Make sure the purescript update script only considers full releases.  Before this change, the purescript update script would consider prereleases as valid releases.  This caused the r-ryantm bot to create PRs trying to update the purescript derivation in Nixpkgs to prerelease versions.
See https://github.com/NixOS/nixpkgs/pull/174485#issuecomment-1137291664 and https://discourse.purescript.org/t/purescript-continuous-prereleases/3006/2?u=cdepillabout for slightly more information.
To test this, it should be sufficient to just run ./pkgs/development/compilers/purescript/purescript/update.sh and make sure nothing changes in the repo (at least until the next version of PureScript is released...).
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Thanks to @rhendric and @thomashoneyman for this suggestion.


Databus logo out of alignment in English mode

Steps to Reproduce

Navigate to the website
Type "english"
Click on the newly appeared "Change Language" button in the menu

Expected Behavior

The Databus logo is in correct alignment

Actual Behavior

The Databus logo is out of alignment

Screenshots

Hey there, I am willing and able to take this one- please assign me :)

@NatalieShamir Hi, how is the mission going? Need any help?

Can i take this one?

Sure! Just notice that in Hebrew the alignment shouldn't change...


test refactor and better help

Fixes #60
Fixes #61
Includes:

Better help messages and examples to improve understanding of subcommands.
A refactor of common tests that many commands need to do into a commonTests module.

Looks good. Huge improvements on the tests. Couple of nitpicks.


Missing methods in Twig_TemplateInterface

The code in Twig expects a template to implement Twig_TemplateInterface. However, many places in the code are calling public methods of the Twig_Template class which are not part of the interface. This code will be broken if someone uses a template that does not extend the original class as the code does not check that the object is indeed an instance of Twig_Template (there is one place in getParent where it is checked but passing another Twig_TemplateInterface`` object will then be a PHP error as it will be using the object as key in an array)
So either the template interface should be dropped as it is simply unusable currently, or the other methods should be added in it to ensure they are implemented, even if they should be reserved to the internal use of Twig

I'm +1 on removing the interface.


Getting errors while checking out

Hi,
I have WHMCS version 6.3.1 and I have installed your module . But while checking out, it throws the error.
Error: {"purpose":["Ensure this field has no more than 30 characters."]}
Error: {"purpose":["This field is required."],"amount":["This field is required."]}
and it doesn't go to payment gateway and not works.
How to overcome this issue? Also, the jquery.js file which you have mentioned in  whmcs-Instamojo-payment-gateway/upload-it/modules/gateways/instamojo/RequestHandler.php
line 60 <script src="https://www.ruralserver.com/template/js/jquery.js"></script>
shows 404 page.

Hi,
If you want to use instamojo payment gateway in WHMCS, we can help you professionally for that.
You can consult with us for this implementation.
Thanks,
Bhagwan

Hi,
Our PHP dev fixed the error. Thank you for the plugin :)


Update README.md

Added two papers, one with a mix of theoretical and empirical results for DiskANN/HNSW/NSG, and one with a neat theoretical framework for graph-based approaches

LGTM
Nice to see that!

@apadaki Hi Padaki, I noticed that you are focusing on theoretical analysis. I am familiar with ANNS algorithms. You can DM me anytime to discuss anything.  :D


Improve Visual Shader

As requested by @Mickeon in #93791, I went ahead and separated some code improvements away from some comments improvements.

Some of these don't look like error cases, but early returns to optimize the code. These should not use the error macros, as they log to console whenever they happen.
Ome such example seems to be checking if the class is the same in replace_node. Or can_connect_nodes checking for the same node.
Also if a condition is not clearly readable, ideally use the _MSG variant to explain the condition so that users aren't confused about why it errors.

Make sense. Some of these conditions aren't actually failures you mean. Thank you for the clarification. I consider my Visual Shader PRs as a playground for now until they become valuable.


compatibility with ubuntu 16.04

gcc after 5.0 is not supported by CUDA 7.5. Some confusing problems may occur.

std::vector X(1, 1); // fail to compile
std::vector X(1, double(1)); // succeed

CHECK_EQ(vector, vector); // fail to compile
CHECK(vector<int == vector); // succeed

Thanks for letting me know - I am yet to imstall 16.04 and gcc5 yet, but in the meantime if you have a PR feel free to send it :) Closing it for now.


adding redgate install instructions

@hsachinraj,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Add liveness probe for tasklist

Related to https://github.com/camunda/camunda-cloud-helm/issues/220

Closing this since it's now added and it will be enabled by default in v8.2 (#543)


Improve project start/stop performance by not always restarting ddev-router

Describe the bug
ddev-router is currently stopped and started for every ddev start. At least one reason for this is that the required ports may change when a new project is started. We can save a couple of seconds on every start by not doing that if the router is already going.
We can at least work around that precalculating the total router ports, perhaps maintaining them as docker labels. Alternately, this could b e the time to introduce global status, but I don't think so.

One thing I would like to mention: I dislike the fact that Lando does not kill its router/proxy when all projects are stopped. You get stuck with a forever running landoproxyhyperion5000gandalfedition_proxy_1 container, which is pretty annoying.
I like the idea of ddev-router not having to be restarted whenever I start a second or third project. But if I run ddev stop and no other projects are running, I'd like the router to shut down.

We don't have any plans to change the current behavior, where turning off the last project stops the router. OTOH, the new ddev-ssh-agent will persist, as otherwise people would have to re-enter their passphrase, so the intention is it will persist until turned off.


AIRFLOW-1246

Add flask_admin_unescape function to airfow.www.views

Add flask_admin_unescape for Id's in TaskInstanceModelView clear action
Add flask_admin_unescape for Id's in TaskInstanceModelView state action
Add Test for flask_admin_unescape function
Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-1246

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
This PR fixes the problem that occurs from flask_admin duplicating periods (its CHAR_ESCAPE value) in primary keys it returns. I've written a reversing function given that it appears that this functionality is intentional in flask_admin. I then use this reversing function on the task and DAG ids in the clear and update status actions of the Task Instance View.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
airflow.tests.www.test_views.TestModelViewFunctions.test_flask_admin_unescape

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2691 into master will decrease coverage by <.01%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #2691      +/-   ##
==========================================
- Coverage   71.67%   71.67%   -0.01%
==========================================
  Files         154      154
  Lines       11814    11822       +8
==========================================
+ Hits         8468     8473       +5
- Misses       3346     3349       +3

Impacted Files
Coverage Δ

airflow/www/views.py
70.67% <0%> (-0.21%)
:arrow_down:

airflow/www/utils.py
86.13% <100%> (+0.41%)
:arrow_up:

airflow/models.py
87.14% <0%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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

Please test the functionality that you say your are fixing (setting a state for a subdag). Please explain why it needs to be unescaped and provide a test case for this. Thanks.

@bolkedebruin you can find the context in the JIRA Ticket. I'll post them here as well:

@bolkedebruin AND @Fokko could I get a review of this PR and the issue so that this could possibly make it into the next release. This issue is still annoying my system's users that want to manipulate the task state in SubDAG's.

So @ashb where do we stand with this current PR?

Ping @ashb

@Fokko I think the code looks good as it is now, but I have no experience with using subdags so can't comment anymore than that. +0.5 from me

Well the fix and this issue was duplicated again in https://issues.apache.org/jira/browse/AIRFLOW-2160 and was fixed in #3081.
Weird that the iterdecode function doesn't come up in my search on github (and still doesn't: https://github.com/flask-admin/flask-admin/search?utf8=✓&q=CHAR_ESCAPE&type=). Guess I won't use github's search function anymore.
@ashb, @bolkedebruin, and @Fokko thanks for taking the time to look at this. Let me know if you want the tests I wrote for this specific problem, otherwise this PR can be closed.

@zack3241 Argh sucks that that got merged in place of this fix. - tests FTW.
You weren't the only one to miss iterdecode, I had a look too and didn't see it.


InfoBar prototype

Proposed issue here. Follows the spec here by @gabbybilka
Implemented

Title
Message
StatusColor
Icon
Close Button (default and user-customizable)
Action Button
Severity
Manual tests for all listed above
Event handlers for Close Button and Action Button

ToDo

A long title/message that will expand to MaxHeight before adding a scroll viewer
InfoBarPanel host that can host multiple InfoBar items
Style/Template Properties
Automated Tests, GamePad tests, Accessibility, etc...

Known Code Issues

Will throw an exception if you change the severity level from None or Default to any other severity level

A few thoughts...
Can you set the Severity and override the color and icon?
Have you considered using an expander chevron and resizing the AppNotification to fit the content wrapped - instead of using a scrollbar?  The smaller controls with a scrollbar may be awkward to read and scroll within.

Can you set the Severity and override the color and icon?

Good catch. Looks like currently StatusColor is used as the default and once Severity is set  it gets overridden from what is in the template. even None sets it to transparent. We could leave none to not do anything or add another entry to use the StatusColor. It is weird to have this property be used only in certain cases for sure.

Have you considered using an expander chevron and resizing the AppNotification to fit the content wrapped - instead of using a scrollbar? The smaller controls with a scrollbar may be awkward to read and scroll within.
I agree, having a small size and scrolling within that is not ideal. We could have a small info and then details which expand to reveal more information. @gabbybilka Thoughts ?

Can you set the Severity and override the color and icon?

Good catch. Looks like currently StatusColor is used as the default and once Severity is set it gets overridden from what is in the template. even None sets it to transparent. We could leave none to not do anything or add another entry to use the StatusColor. It is weird to have this property be used only in certain cases for sure.

I agree that the StatusColor and Icon should override a Severity if a Severity is also set.

Have you considered using an expander chevron and resizing the AppNotification to fit the content wrapped - instead of using a scrollbar? The smaller controls with a scrollbar may be awkward to read and scroll within.

I agree, having a small size and scrolling within that is not ideal. We could have a small info and then details which expand to reveal more information. @gabbybilka Thoughts ?

I like the idea for an expander chevron, that's a similar pattern to what Fluent UI's MessageBar does. Currently, the scroll bar should only appear if the MaxHeight is set and the content is larger than it. If the MaxHeight is not set, then the notification's height should expand to fit the content. This behavior with the scroll bar and MaxHeight exists currently in Teaching Tip so I was interested in keeping parity with that.
Would the chevron expander be an optional property? If we had a property to set like: Truncation="true", would the corresponding behavior be that long content is clipped to the default height of an InfoBar until the chevron is pressed in which the bar will lengthen to a height that fits the content.

If the MaxHeight property is set is it then ignored?
How would this work for buttons or custom content?

Should the action buttons still appear in the bar next to the truncated message?

I'll sync with design, but I'm on board for adding an optional chevron expander. I'm not sure if it can completely replace a scrollbar if the MaxHeight property is set and the content is too large as we want to ensure the Message content can still be viewable.

@mdtauk & @ranjeshj

Can you set the Severity and override the color and icon?

We have it so that you are able to have the StatusColor and Icon override a Severity if a Severity is also set. If the app is running and you have a certain StatusColor and Icon set initially, you are also able to override them both once you change the Severity level.

Good catch. Looks like currently StatusColor is used as the default and once Severity is set it gets overridden from what is in the template. even None sets it to transparent. We could leave none to not do anything or add another entry to use the StatusColor. It is weird to have this property be used only in certain cases for sure.

Currently, the user can override the Severity level's Icon/StatusColor if the user wanted a specific Icon or StatusColor. Could you clarify what you meant about Severity being overridden?

I sort of see the Severity as setting the default colour and icon for a control, but if you also set either a colour or icon in Xaml, that should be applied on top of the severity.
So as an example, severity set to critical, but the icon changed.
Or severity set to success but the colour changed to pink etc

Something to think about that I think @chenss3 is mentioning is what should be the behavior if a Severity and custom Icon is set and the Severity is later updated.
For example, say I'm interested in displaying a notification with an internet disconnected Icon but critical Severity and set that in the XAML. The notification should show the StatusColor matching the critical Severity set but the custom icon. When the internet is restored I then want to update the notification and set the Severity to Success. The behavior here seems like it should/would be different as I'd want both the StatusColor and Icon to be overwritten with the updated Severity.
I recognize there could also be scenarios where updating a notification may mean keeping the same custom icon but a new color is desired. Could there be different overriding rules when a notification is updated outside of its initial declaration?

Something to think about that I think @chenss3 is mentioning is what should be the behavior if a Severity and custom Icon is set and the Severity is later updated.
For example, say I'm interested in displaying a notification with an internet disconnected Icon but critical Severity and set that in the XAML. The notification should show the StatusColor matching the critical Severity set but the custom icon. When the internet is restored I then want to update the notification and set the Severity to Success. The behavior here seems like it should/would be different as I'd want both the StatusColor and Icon to be overwritten with the updated Severity.
I recognize there could also be scenarios where updating a notification may mean keeping the same custom icon but a new color is desired. Could there be different overriding rules when a notification is updated outside of its initial declaration?

I would look at it like layers, based on the specificity of the property, so imagining a bottom to top assignment:
[ StatusIcon="clownface" ] [ StatusColor="puce"]
              ^                   ^
              ^                   ^
             [ Severity="critical" ]
                       ^
                       ^
               [ AppNotification ]

Severity sets the Color, Icon, Behaviours - and as the other properties get narrower and more specific, in what they change - those I think should override.  This should not prevent changes to the severities in future updates to the control - as they are basically pre-set defaults for the other properties of the control.

using System;

I think we should move these InfoBar files into a directory like dev/Infobar/Prototype

Refers to: test/MUXControlsTestApp/InfoBar.cs:1 in c175aac. [](commit_id = c175aacbdda3779a541064650977b6452bc4b25c, deletion_comment = False)

using System;

I think we should move these InfoBar files into a directory like dev/Infobar/Prototype
Refers to: test/MUXControlsTestApp/InfoBar.cs:1 in c175aac. [](commit_id = c175aac, deletion_comment = False)

I think for now we can add it to InfoBar_TestUI, since that is managed code that compiles into MUXControlsTestApp, which is what we want.

@ranjeshj @mdtauk @gabbybilka

Can you set the Severity and override the color and icon?

With the most recent push, you should now be able to override color and icon.  So you can have the severity = critical and statuscolor = pink, and the pink will override critical's default status color.

using System;

I think we should move these InfoBar files into a directory like dev/Infobar/Prototype
Refers to: test/MUXControlsTestApp/InfoBar.cs:1 in c175aac. [](commit_id = c175aac, deletion_comment = False)

I think for now we can add it to InfoBar_TestUI, since that is managed code that compiles into MUXControlsTestApp, which is what we want.

I think it should be part of a shared proj in InfoBar. The TestUI one seems reasonable. The advantage of not adding it directly to the test app is that the inner loop solution will have to build those files all the time. If it is part of the shared project, then we can exclude it out.

Please merge with the most recent master to pick up the GSL const checker change that just went in. Rebuild your change locally and make sure you don't have new build breaks.

/azp run

/azp run

/azp run

/azp run


Game window freezes when going to desktop and won't tab back in (DisplayServer regression)

Godot version
v4.0.beta6.mono.official [7f8ecffa5]
System information
Windows 10
Issue description
Sometimes if I go to my desktop my game's window just freezes, I can't tab back into it.

Try to tab back in, it won't work. The game window will not tab back in and reappear.
This isn't very consistent though, it only happens about 75% of the time.
This has been reproduced by @lewiji using Linux w/ Nvidia, with a different project (Godot Engine Discord).
The Process monitor graph dips when this happens.

Minimal reproduction project
N/A

@Steveplays28 Please upload a minimal reproduction project to make this easier to troubleshoot.
Can you reproduce this on 3.5.1? Does the project have low processor mode enabled?

At least for me, there is no specific code or project setting that triggers this so an MVP is not possible - it happens at random in new or old projects. Attempts to resize the window don't work - the window shows the desktop background (as if it's transparent) and resizing just distorts this image.
However my case is Arch Linux on Nvidia with i3wm, so it may potentially be an unrelated problem.

Hey @Calinou, as @lewiji said, this doesn't seem to be project specific.
Though I could send you my current project (multiplayer fps game) if you want?

Does resizing the window after alt-tabbing back in fix the issue?

I can't see the window once it freezes. It just won't appear, so I can't resize it either.
I could try resizing it via code?

Does the project have low processor mode enabled?

No.

Also, can you reproduce this on 3.5.1?

Same as @lewiji here, only happens on Godot 4, have had no issues in my countless hours of playing around with Godot 3.4 and 3.5

I've had some hard to trigger cases where switching back to the game logs a lot of input spam and the game clearly locks up. But not an MRP yet to prove it :(

I can confirm this issue on Windows 11 Godot 4.0.2.
It happens only if mouse_mode is set to MOUSE_MODE_CAPTURED.
Could be reproduced simply adding any node with following script:
func _ready() -> void:
	Input.mouse_mode = Input.MOUSE_MODE_CAPTURED

Game window not actually freezes but rather can't be retrieved back to screen and also mouse cursor stuck in top left corner of the screen. Game still responsive to input and setting mouse_mode to another state makes window work normally again.


Update sideMenus.js

I couldn't understand the docs well until I read http://mcgivery.com/understanding-ionics-side-menu/ . I've tried to incorporate his explanation into the docs. This picture http://mcgivery.com/wp-content/uploads/2014/11/sidemenu.png was very helpful.

Thanks for the docs help!


[Bug] Stack Usage Verifier only tracks net change in stack height

🐛 Bug
The Stack Usage Verifier does not correctly account for the number of pops an instruction does. Currently, only the instruction's net change of the stack height is recorded.
For an instruction like ReadRef, the net change is 0 (-1 (pop) + 1 (push)). This does not capture the invariant that the stack height should never go below zero and thus the following function body will pass the usage verifier [ReadRef; LdConst(0); Ret]. However, this will cause a panic in the bytecode verifier since ReadRef required the stack to contain at least one item (which it doesn't at the since ReadRef is at the start of the block).
To reproduce
Compile a module containing a function with the signature () -> u64 and a body containing the following sequence of instructions:
[ReadRef; LdConst(0); Ret]

Stack trace/error message
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value'

Expected Behavior
This program should be rejected by the Stack Usage Verifier with the status code NEGATIVE_STACK_SIZE_WITHIN_BLOCK at offset 0.
System information
Please complete the following information:

rustc 1.38.0-nightly (6e310f2ab 2019-07-07)
MacOS

Additional context
This bug was discovered with the test generation tool in libra/language/tools/test_generation. The flag NEGATE_PRECONDITIONS was set to true.

Fixed via #1003


Enable high frequency non-checkpoint barrier without barrier read

In #4290, we have introduced two features: Barrier & Checkpoint decoupling and Read on non-checkpointed epoch. The main motivation back then was to improve the freshness for batch query without high-frequency checkpoint, which made these two feature correlated to each other. However, this also introduces some complexities:

Since non-checkpoint epoch is considerable readable, on seeing a non-checkpointed barrier, a memtable flush must be triggered, which can generate many immutable memtables. We later introduce #7368 to merge IMMs, which made the codes more complex.
There are some discrepancies in batch query scheduling when reading non-checkpoint and checkpoint epoch since non-checkpointed states are only available in the writer CN. This also makes it hard to support non-checkpoint epoch read when we have dedicated serving cluster. Also, the cluster is unavailable to non-checkpoint epoch read during recovery.
There are some discrepancies in metadata management. We need to explicitly maintain the max "committed" non-checkpoint epoch and have special logic for epoch pin/unpin.

Due to the above reasons, we recently by default turn off barrier & checkpoint decoupling and barrier read by setting checkpoint_frequency=1, barrier_interval=1s and visibility_mode=checkpoint.
However, in recent discussions, we realize that Barrier & Checkpoint decoupling is actually independent to Read on non-checkpointed epoch and enabling the former without the later can bring us the benefits of high frequency barrier without the extra complexities

Higher frequency of barrier means more timely triggers for the following operations:

barrier alignment -> better backpressure (considering inner join on fast & slow stream)
operator cache eviction -> less chance for OOM
memtable spill -> less chance for OOM
agg result emisson -> less chance for OOM

No guaratees on barrier read means we can keep things simple

No need to worry about batch query scheduling
No need to force a memtable flush on non-checkpoint barrier. We can try flush only when needed.

Action items:

[ ] Perf test with barrier_interval=100ms, checkpoint_freqency=10
[ ] #12419
[ ] Code cleanup for barrier read

We have conducted several rounds of test hoping OOM can be fixed by high-frequency barrier. However, OOM is still present. We have decided to proceed with implementing spilling within a single barrier, which is a more optimal solution than this.


映射文档 No. 199-200

torch.fft.fftshift
torch.fft.ifftshift

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@Vooolta CI 已经过了，可以重新 review


MSID: 102915 Version: 1 DOI: 10.1101/2<IP_ADDRESS>8006

MSID: 102915
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>8006
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=102915
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>8006

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/102915v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>8006
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/102915/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Fixed this heading in Kotahi, but need to wait for the change to effectuate:

BioRender query also with authors


OpenGL: Round one of additions

This PR does the following:

Adds some constants and most types from gl.h to gl.rs
Enables glAccum

I'm too tired to do any more right now, so I'll come back in a few days :)

Note that the gl-rs library is more suitable for OpenGL, for two reasons:

OpenGL functions are the same whatever the platform is (windows, linux, android, etc.)
gl-rs handles all OpenGL versions and extensions (including WGL), whereas here you'd just have OpenGL 1.1

@retep998 I updated glAlphaFunc, sorry about the delay.
@tomaka Thanks! I'll take a look at it, I was just working on this since the crate already had some parts completed


Add comments and custom config

The previous dockerfile did not successfully build. I believe there were errors in copying the current directory (CTFd) into the docker and gunicorn would exit immediately after running the docker

So the difference here is how you acquire the Dockerfile.
In the current version, if you clone the repo and then build the Dockerfile, you can run properly.
In your version (which I believe is actually how it was done a few commits ago), the Dockerfile clones the repo on each build.
I am not sure which is better so if you can justify it and I agree I will accept the PR. But keep in mind that ctfd.io does in some situations rely on customizations which deviate from repo.
Thoughts?

I did notice that in the previous commits. Could you verify that if you clone the repo and build a docker from it that it does work?
I was able to build it using sudo docker build https://github.com/isislab/CTFd.git but it didn't seem to copy the current directory into the docker if I ran sudo docker build - < Dockerfile after git clone https://github.com/isislab/CTFd.git
Regarding forked repositories, using git to clone only the master one (this) is definitely an issue, but I can't figure out why it won't copy the files in the situation I described.
The most important thing from this commit was the CMD line with the appended & to keep gunicorn running.

I can check on it later but I've usually just built with
git clone https://github.com/isislab/CTFd.git
docker build
Are you sure that your issue is that the files aren't copying? That seems super unlikely to me unless for some reason you didn't have read permissions for the files.
I'm not sure what you mean by the forked repositories comment... There should definitely be more branches, but I don't think it's that big an issue.
& to the best of my knowledge just puts gunicorn in the background. If it still errors out I don't think gunicorn will continue to run... Unless that's a quirk that I'm unfamiliar with.

When I cloned and then ran, it threw an error on the line where it installed everything from requirements.txt because it couldn't find the file and the only thing I could think of was that it wasn't actually copying the whole directory.

When I ran docker build https://github.com/isislab/CTFd.git (which did work) I would always see that the container had exited immediately... If you don't find this to be the case with yours maybe I've got some weird problem I'm not seeing

So I guess I didn't read up on documentation enough https://docs.docker.com/engine/reference/commandline/build/#build-with building from STDIN was my problem. Sorry about that.
I'm still not sure what the issue is with gunicorn though.

Are you still unable to deploy the Dockerfile?

Everything seems to be working now, the issue was with how I was building. Thanks for the help though. And for the very nice framework

Thanks!
Let me know if you need any help or have any ideas.


BAL Hookathon - Volatility Fee Hook

🪝Volatility Fee Hook
A dynamic Swap Fee hook based on volatiltiy of the pool. The Hook calculates utilization ratio based on Amount of Token Out and Balance of Token Out in the pool, and charges higher fee when the utilization ratio increases.

🔑Key Advantages

Increased Protection during Volatility
Smoother Market Conditions
Disincentivizes Pool Exploits
Customisable Fee Logic
Reduction in Impermanent Loss for LPs

⭐Volatility Fee Hook v1
was developed simply to discretely distinguish fee ranges:
Technicals:

Utilization Ratio > 10%, pool/hook will charge x5 the staticSwapFee
Utilization Ratio > 20%, pool/hook will charge x10 the staticSwapFee
Utilization Ratio > 30%, pool/hook will charge x20 the staticSwapFee
Utilization Ratio > 40%, pool/hook will charge x50 the staticSwapFee

Developers can update the fee charge ranges in function _calculateSwapFee.

Hook.sol: packages/foundry/contracts/hooks/VolatiltiyFeeHook.sol
Test.t.sol: packages/foundry/test/VolatilityFeeHook.t.sol

✨Volatility Fee Hook V2
v2 is developed on a continuous exponential curve for charging Swap Fee.
The core equation behind charging these swap fee is:
feeMultiplier = 1 + (utilization Ratio^2 * 99)
multiplying by 99 ensures that at max utilization the fee multiplier reaches 100x

Hook.sol: packages/foundry/contracts/hooks/VolatiltiyFeeHookV2.sol
Script.s.sol: packages/foundry/scripts/08_DeployVolatiltiyFeePool.s.sol

Hey @danielmkm,
Thank you so much for the feedback, really appreciate it.

I surely used a constant Product to calculate rough output amount in V2 , instead of pool's math, I was not sure how to calculate the output. As I submitted before the previous deadline was extended, at that time I wanted to just complete my submission. But this helps, and I'll look into it and try to update the code as you suggested.

I am not sure if time based fee would be effective, If the pool has limited amount of Output token, by my understanding it should not matter if you do a single swap or multiple swaps, the output token will be effected similarly in both case, hence increasing the fee.
For example if pool have 1000 output tokens, it should not matter if a user does 1 swap of 500 token output, or 5 swaps of 100 tokens, as in case of multiple swaps, after 1st swap the balance of output token in pool has decreased, increasing utilisation ratio hence calculating higher fee for subsequent swaps.

I might be missing or overlooking at things, please feel free to connect. I all am here for learning.


Copy the entity and add it to the new registry

I have a basic registry containing entities with a set of components that I want to place in the game area.
How do I copy an entity and put it in the second registry with a new unique identifier? There used to be clone() and visit() methods, but now they are gone.

Thanks! I've made some small changes and it works.
`void copy()
{
entt::registry src;
entt::basic_registryentt::id_type dst;
static_cast<void>(dst.storage<int>());
static_cast<void>(dst.storage<char>());

const auto entity = src.create();
const auto copy = dst.create();

src.emplace<int>(entity, 42);
src.emplace<char>(entity, 'c');

for (auto [id, storage] : src.storage())
{
    if (auto* other = dst.storage(id); other && storage.contains(entity))
    {
        other->push(copy, storage.value(entity));
    }
}

if (dst.all_of<int, char>(copy))
{
    cout << dst.view<int>().get<int>(copy) << endl;
    cout << dst.view<char>().get<char>(copy) << endl;
}

}
int main()
{
copy();
return 0;
}`

output: 42 c

Thanks @Green-Sky 🙏❤


ForestDB CBL 1.2  crash in endTransaction()

Forest DB hotfix used:
http://files.couchbase.com/maven2/com/couchbase/lite/couchbase-lite-android/0.0.0-611/
CBL Logs:
[03/31 05:57:27.807] [405] Sync: batcher.waitForPendingFutures()
[03/31 05:57:27.808] [405] Batcher: com.couchbase.lite.support.Batcher@9484d4d: waitForPendingFutures is called ...
[03/31 05:57:27.809] [405] Batcher: com.couchbase.lite.support.Batcher@9484d4d: waitForPendingFutures done
[03/31 05:57:27.810] [405] Sync: waitPendingFuturesCompleted()
[03/31 05:57:27.811] [405] Sync: calling future.get() on com.couchbase.lite.support.RemoteRequestRetry@5c89544
[03/31 05:57:27.811] [405] Sync: done calling future.get() on com.couchbase.lite.support.RemoteRequestRetry@5c89544
[03/31 05:57:28.062] [405] Sync: downloadsToInsert.waitForPendingFutures()
[03/31 05:57:28.063] [405] Batcher: com.couchbase.lite.support.Batcher@5be1d13: waitForPendingFutures is called ...
[03/31 05:57:28.063] [405] Batcher: com.couchbase.lite.support.Batcher@5be1d13: waitForPendingFutures done
[03/31 05:57:28.064] [405] Sync: [fireTrigger()] => WAITING_FOR_CHANGES
[03/31 05:57:28.064] [405] Sync: [waitForPendingFutures()] END - thread id: 1935
[03/31 05:57:28.064] [2] Sync: firing trigger: WAITING_FOR_CHANGES
[03/31 05:57:28.065] [2] Sync: [onEntry()] RUNNING => IDLE
[03/31 05:57:28.066] [2] Sync: State transition: RUNNING -> IDLE (via WAITING_FOR_CHANGES).  this: com.couchbase.lite.replicator.PullerInternal@23a8a69

Sync was idle and waiting for changes.
Stackrace:
Android Version: Android/6.0
OEM:SAMSUNG-SM-G920A S5
03-31 18:00:26.064 F/libc    (16217): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8 in tid 16348 (CBLManagerWorkE)
03-31 18:00:26.154 F/DEBUG   ( 3010): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-31 18:00:26.154 F/DEBUG   ( 3010): Build fingerprint: 'samsung/zeroflteuc/zeroflteatt:6.0/MRA58K/G920AUCU3COJA:user/release-keys'
03-31 18:00:26.154 F/DEBUG   ( 3010): Revision: '11'
03-31 18:00:26.154 F/DEBUG   ( 3010): ABI: 'arm'
03-31 18:00:26.154 F/DEBUG   ( 3010): pid: 16217, tid: 16348, name: CBLManagerWorkE  >>> com.ptt.bravo                                                                           <<<
03-31 18:00:26.154 F/DEBUG   ( 3010): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
03-31 18:00:26.254 F/DEBUG   ( 3010):     r0 00000000  r1 00000000  r2 00000000  r3 00000000
03-31 18:00:26.254 F/DEBUG   ( 3010):     r4 ed251b57  r5 d9fecef8  r6 e91c5a10  r7 12f775e0
03-31 18:00:26.254 F/DEBUG   ( 3010):     r8 12f78520  r9 d47fb400  sl 00000000  fp 12f775e0
03-31 18:00:26.254 F/DEBUG   ( 3010):     ip d9fef00c  sp d87812a4  lr d9ef5385  pc d9eee938  cpsr 600e0030
03-31 18:00:26.264 F/DEBUG   ( 3010):
03-31 18:00:26.264 F/DEBUG   ( 3010): backtrace:
03-31 18:00:26.264 F/DEBUG   ( 3010):     #00 pc 00103938  /data/app/com.ptt.bravo-1/lib/arm/libCouchbaseLiteJavaForestDB.so (cbforest::Transaction::abort()+7)
03-31 18:00:26.264 F/DEBUG   ( 3010):     #01 pc 0010a381  /data/app/com.xyz.company-1/lib/arm/libCouchbaseLiteJavaForestDB.so (c4Database::endTransaction(bool)+144)
03-31 18:00:26.264 F/DEBUG   ( 3010):     #02 pc 0010b009  /data/app/com.xyz.company-1/lib/arm/libCouchbaseLiteJavaForestDB.so (c4db_endTransaction+52)
03-31 18:00:26.264 F/DEBUG   ( 3010):     #03 pc 001126eb  /data/app/com.xyz.company-1/lib/arm/libCouchbaseLiteJavaForestDB.so (Java_com_couchbase_cbforest_Database_endTransaction+62)
03-31 18:00:26.264 F/DEBUG   ( 3010):     #04 pc 00e39833  /data/app/com.xyz.company-1/oat/arm/base.odex (offset 0xd81000)

Thanks
Nithin

@NitzDKoder ,
What is your test device's architecture? armeabi, armeabi-v7a, or armeabi-v8a
Thanks,

@NitzDKoder which version of Android Studio are you using?

Note to Self:
Is _transaction NULL?
c4Database.cc
bool c4Database::endTransaction(bool commit) {
#if C4DB_THREADSAFE
    std::lock_guard<std::recursive_mutex> lock(_transactionMutex);
#endif
    if (_transactionLevel == 0)
        return false;
    if (--_transactionLevel == 0) {
        WITH_LOCK(this);
        auto t = _transaction;
        _transaction = NULL;
        if (!commit)
            t->abort();
        delete t; // this commits/aborts the transaction
    }
#if C4DB_THREADSAFE
    _transactionMutex.unlock(); // undoes lock in beginTransaction()
#endif
    return true;
}

Hi @NitzDKoder,
Do you have any additional information to investigate this issue?
Thanks!

@snej please review with @hideki

I agree, it looks like _transaction was NULL. Transaction::abort references _state, which is at offset 8, and the crashing address is 0x0008.
I've reviewed the begin/endTransaction code, and I can't find any way that _transaction could be NULL at this point. Very mysterious…

Is there shared memory that might be getting stomped on by another thread?

On Apr 7, 2016, at 8:54 AM, Jens Alfke<EMAIL_ADDRESS>wrote:
I agree, it looks like _transaction was NULL. Transaction::abort references _state, which is at offset 8, and the crashing address is 0x0008.
I've reviewed the begin/endTransaction code, and I can't find any way that _transaction could be NULL at this point. Very mysterious…
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

If the C4Database object had been freed, and the memory that used to be its _transaction were overwritten with zeroes, this would happen. But the Java wrappers should be managing the lifetime of the object to prevent this. I'll go review that code too.
And yeah, random memory stomping is always a possibility, but that's going to be hard to track down!

There's a possibility of a freed C4Database being called, if one Java thread calls Database.free while another calls a different method on the same object. Both threads can grab the value of _handle, then the first thread zeroes _handle and frees the C4Database, then the second thread calls into the C4Database.
This is something the thread-safety in C4Database doesn't protect against; it's actually a race condition at the JNI level against the _handle variable.
However, this can't have happened in this crash, because if the second thread has a transaction (as it does here), the first thread's call to c4Database_free will block until the transaction exits.

(This is a good example of why I don't like to build thread-safe APIs. After you solve thread-safety problems at one level of abstraction, they can still pop up at the next level, and then you have to add another layer of locks…)

I believe the PR for cbforest ( https://github.com/couchbaselabs/cbforest/pull/84)  fixed this issue.

@hideki pls point me to stable repo..

Current stable version is 1.2.1. You could download from JCenter, Maven Central, Couchbase custom maven repo. However the fix for this issue is not in stable release.


Add lol/abbreviation decoder plugin

.def lol
returns
lots of love

Hi I'd like to take this issue.

@chibitofu any question, join our discord server!

I think this can be closed. It's resolved by https://github.com/Abdur-rahmaanJ/honeybot/pull/157

shouldn't the solution be more like a web scraping tool to find the definition, i think the current solution is a little clunky and not scalable

@AngeloGiacco That's for another new comer issue


Make HTTPClient's query_string_from_dict static

Closes https://github.com/godotengine/godot-proposals/issues/8801

This breaks compatibility. I'm not sure if this is something we can resolve with compatibility bindings for both GDExtension and C#.
CC @dsnopek @raulsntos

I think it'd be possible to register a compatibility method for the non-static method, which calls the static method. I've never tried that, but the method binds (both static and non-static) are all on the same list together, so I think it should work in preserving binary compatibility. Someone just needs to try it :-)
This would definitely break source compatibility for a lot of bindings, but that's true of many changes where we provide compatibility methods. And we're usually OK with that, since developers will only encounter it when they update their bindings.

C# can't have overloads where the only thing that changes is the static-ness of the method. So we wouldn't be able to generate the compat method since it would be invalid C# syntax, and therefore it will break binary compatibility. Can we instead add a new static method with a different name and deprecate the instance method?

Sounds reasonable. I have a hard time coming up with a new name, though, unless it's just... query_string_from, make_query_string_from, query_from_dict...
Worst case scenario, this is just not doable until the next major release, and having it is not exactly urgent.

This PR has been modified to add query_string_from (better naming suggestions are welcome). The existing method still exists, but is marked as deprecated, maintaining compatibility.


Failed to import<EMAIL_ADDRESS>

Failing module

GitHub: https://github.com/BabylonJS/Babylon.js
npm<EMAIL_ADDRESS>
import 'https://esm.sh/<EMAIL_ADDRESS>
Error message
After running deno run I get this:
error: Import 'https://esm.sh/<EMAIL_ADDRESS>failed: 500 Internal Server Error

Open the URL:
/* esm.sh - error */
throw new Error("[esm.sh] " + "yarn add<EMAIL_ADDRESS>");
export default null;

Additional info

esm.sh version: v48
Deno version: 1.13.2+5db1c40 (canary, x86_64-apple-darwin)

doesn't seem like happening anymore?
works fine for me

Yeah today it worked

@talentlessguy is there a reason? any logs or fixes that this will not happen again?

@lucsoft I don't know since @ije controls the server but looks like it was a server-specific issue

@lucsoft @talentlessguy this happened because the yarn cache is boom🤯, so new builds have no enough disk space to install npm packages. i changed the serve storage, now the server has 1pb NFS disk for builds, also have a plan to add a LRU layer to remove the "cold" build cache, in fact this is happening #126


Phaser.game.input.pointerOver() missing

It looks like the pointerOver() method has been removed from the Phaser library portion of the editor. The only other option is using the onEnter and onExit methods. I need to run an event that doesn't meet the onEnter and onExit criteria. I need to check if a pointer event happens outside of my node. Also, onEnter and onExit are only specific to users without a mouse and don't work with touch events.
Is this something that can be added in the next release?

In Phaser pointerOver is only valid for mouse enviroment, not for touch.
For touch you can listener to down and up event, and do the same thing like onEnter/onExit.

Since this is specific to mouse environment and not touch I would agree.


Update free-programming-books-id.md

Fix broken link, with alternate link to eBook
What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines.
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction).
[ ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

replacement link is a file sharing site. just remove the link.
In general, we do not link to file sharing sites, or file hosting sites such as google docs. or dropbox.

Link removed per @eshellman feedback


[FEATURE] shuffle_v2 - see if we can rely on the compiler for mask, maskz

At the moment the effort to support maskz versions of operations is
a) duplicated: https://github.com/jfalcou/eve/blob/6f2421bda8384679c1f71bb8a49ac219e9377846/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp#L518-L557
b) untested (I only concerned myself with explicit names)
c) mask with registercases are not addressed at all.
=====================
I suspect compiler can merge the non masked operation + blend with a masked operation.
So - this needs to be checked for sve and avx512.
Bugs filed if not.
mask(z) logic moved into shuffle_driver.
All the zero handling removed.

Probably somewhere after this function: shuffle_v2_driver_multiple_registers
https://github.com/jfalcou/eve/blob/6f2421bda8384679c1f71bb8a49ac219e9377846/include/eve/detail/shuffle_v2/simd/common/shuffle_v2_driver.hpp#L232
The tests are split into two files:
test/unit/api/regular/shuffle_v2/shuffle_v2_driver.cpp
test/unit/api/regular/shuffle_v2/shuffle_v2_driver_intergration.cpp
I'm not sure which one to add to at the moment.
You will also need to clean up some P::has_zeroes from
include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp
include/eve/detail/shuffle_v2/simd/arm/sve/shuffle_l2.hpp

Seems like both clang and gcc can do it, at least in some cases. https://godbolt.org/z/h68WxonaT


Using Preload scripts with typescript + react

I've been trying to move all my electron projects over from webpack to snowpack recently as I've loved it so much for web applications. I'm having a few issues trying to add a preload script so if I could get some help/verification that would be great!
Within my index.ts (which is located inside src > main) I currently have this code while creating my browser window:
webPreferences: {
      devTools: !app.isPackaged,
      nodeIntegration: false,
      contextIsolation: true,
      preload: path.join(__dirname, 'preload.ts'),
},

I then wrote my preload functions and declared my types in my preload.d.ts file but I haven't had any luck calling my functions from my renderer code. I have all my appropriate event listeners setup in my index.ts file as well. I'd appreciate any help.
Thanks!

I should probably note that vscode makes the connection to my function within the preload script but when I try to trigger the function I get an error such as this:
Uncaught TypeError: Cannot read property 'close' of undefined

Alright I'm just stupid. I've now realized that my preload script isn't being built so when the renderer looks for it, it turns out to be undefined. Any idea why it isn't being compiled? I have a few other files within the main folder that I would need compiled and it looks like none of them are compiling.

I didn't make an explicit example with preload, but there's one in the playground project:

https://github.com/karolis-sh/electron-snowpack/blob/main/playground/playground-typescript/src/main/index.ts#L12
https://github.com/karolis-sh/electron-snowpack/blob/main/playground/playground-typescript/src/renderer/index.ts#L9

It might be related to context isolation and the way you've implemented the preload script (https://www.electronjs.org/docs/latest/tutorial/context-isolation). I haven't used preload in practice that much, but that might the reason according to the docs.
Anyway, a mini reproduction project would be nice, as otherwise it's a bit hard to identify the issue.

Thanks for the response. It seems the main issue is my preload.ts file is not being compiled as it doesn't show up in the dist folder after starting the project with snowpack dev. I'm not sure if I have to make more modifications to my snowpack.config.mjs file for this to happen but I also have some object's that I will be commonly using throughout the project that I need to be compiled from my main folder as well. I'd be more than happy to share a mini reproduction or any code necessary to get this solved so just let me know! Again, apologize for the questions I'm just super new to using snowpack with electron and I feel like combining it with react and typescript may not be the best first approach for a beginner here.

I'd also like to share a previous example of some code for my projects when I used webpack. My understanding is using context isolation paired with a context bridge of some sort through the preload script is the approach electron expects you to take now as it is the safest route (instead of exposing functions like os and fs to the renderer). Anyways, here is a code sample below from the webpack version:
index.ts
declare const MAIN_WINDOW_WEBPACK_ENTRY: string;
declare const MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY: string;

export const assetsPath =
    process.env.NODE_ENV === "production"
        ? process.resourcesPath
        : app.getAppPath();

const createWindow = () => {
    mainWindow = new BrowserWindow({
        icon: path.join(assetsPath, "assets", "icon.ico"),
        width: 1260,
        height: 650,
        minWidth: 1260,
        minHeight: 650,
        transparent: true,
        opacity: 0.97,
        frame: false,
        autoHideMenuBar: true,
        webPreferences: {
            devTools: !app.isPackaged,
            nodeIntegration: false,
            contextIsolation: true,
            preload: MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY,
        },
    });

    mainWindow.loadURL(MAIN_WINDOW_WEBPACK_ENTRY);

    mainWindow.on("closed", () => {
        mainWindow = null;
    });
};

preload.ts
import { contextBridge, ipcRenderer } from "electron";

export const api = {
    send: (channel: string, data: any) => {
        let validChannels = [
            "checkUpdates",
            "close",
            "maximize",
            "minimize",
        ];
        if (validChannels.includes(channel)) {
            ipcRenderer.send(channel, data);
        }
    },

    invoke: async (channel: string, data: any) => {
        let validInvokeChannels = [
            "getData",
        ];
        if (validInvokeChannels.includes(channel)) {
            return await ipcRenderer.invoke(channel, data);
        }
    },

    on: (channel: string, callback: Function) => {
        ipcRenderer.on(channel, (_, data) => callback(data));
    },
};

contextBridge.exposeInMainWorld("Main", api);

Example using the context bridge within my renderer process
window.Main.on("updateProgress", (progress: string) => {
    setUpdating(progress);
});

It looks like the issue was just naming. I had previously named my preload file bridge.ts in the project I was trying to move over so once I renamed it preload.ts it seemed to compile properly. Everything works now thanks for the help!


HtmlInfowindow position with custom icon

it's possible to put it at top of icon, how  infowindow?
Thanks.

map.addMarker({
  position: {...},
  icon: ...,
  infoWindowAnchor: [0, 0]
});

Thank you.


Package is broken due to missing dependency

Hyperf\Snowflake\IdGeneratorInterface extends \Hyperf\Contract\IdGeneratorInterface which is not a dependency.

Sorry, didn't realize that I filed the issue in the wrong repo.

It's OK, Thank you for your feedback


Update go version to update to from 1.19 to 1.20

We should be targeting 1.20 now, so workflow updates such as https://github.com/pulumi/pulumi-aws-native/pull/1014 don't attempt to downgrade the go version

Are all the managed repos on 1.20 now? or is this going to update a bunch of them next time we apply ci-mgmt? I ask b/c just updating the go.mod doesn't seem sufficient for a version update on it's own; we'd need to run go mod tidy to update the sums right?

I believe they all migrated over to 1.20 already (a search for 1.19 in all ci-mgmt go.mod file yields 0 results, so this change is only to prevent unwanted downgrades.


fix: include nlohmann with angle brackets

This was accidentally introduced today in https://github.com/googleapis/google-cloud-cpp/pull/5305. A big PR; easy to overlook this. The code works fine externally, but it breaks during our import script.

This change is

I think #5311 is making the same change.


WS2812 interface changes

A few changes to make WS2812 compatible with APA102 (see #7).
@deadprogram what do you think of this interface?
In my code, code size is slightly increased. I'm not entirely sure why, but I think it's because some extra bit shifts and masks are necessary to insert values into and extract values from image/color.RGBA. I still think the change is worth it, though, for an easier-to-read interface.

Seems like good changes to me. Merge on.


Guests deleting files

Where is the setting to prevent Guests from deleting files? I just tested it, and a guest was able to delete a file from a Teams area, and via the SharePoint link.
This is obviously a compliance issue; there has got to be a setting somewhere to prevent the dataloss and corporate IP theft.
Please advise / update the docs. Thank you,
    == John ==

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

ID: 6bb31720-7494-ab3f-6a3d-5c395649e75d
Version Independent ID: 81c36ae8-fbaa-c411-4bd2-a4db98e249e1
Content: Microsoft 365 guest sharing settings reference
Content Source: Enterprise/microsoft-365-guest-settings.md
Service: o365-solutions
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@jgwinner  - Thank you for submitting feedback.
I will get this issue over to the Enterprise writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@jgwinner Thank you for the feedback. File permissions for members and guests reflect whatever your admin has set in your SharePoint settings. You can review the settings via  https://docs.microsoft.com/en-us/sharepoint/external-sharing-overview
Hope this Helps!
Thanks
Sri

If I give them the sharepoint link, yes. However, If I allow a Guest into the Teams accounts, they can still delete files. I've tested this. So your link only works if I don't allow any Guests to collaborate, post messages, chat, etc.
In other words, Teams has to be out of the picture.
This does not suit a business need and is a data vulnerability.
I've been working on this for a couple of weeks now. If we can't get a good way to prevent Guests, in a Teams environment, from altering or deleting files, would you suggest that I submit this to CERT as a
data vulnerability?
    == John ==

@jgwinner  Do the Guest users have access to edit files in the SharePoint permission for this o365 group?

Again, no. But as soon as I add them to the Team, they get delete access.
I was on a remote session for over an hour with MS support. They eventually said "couldn't be done".
    == John ==

@jgwinner If anyone with the link has access to edit the file like mentioned in the article https://docs.microsoft.com/en-us/office365/enterprise/microsoft-365-guest-settings#sharepoint-and-onedrive-file-and-folder-link-settings then the guest will be able to delete the files. So can you go again to the settings and make changes to the group site permissions?

I'm not sure I understand what you are asking me to repeat.
First, if I send people the Sharepoint link, sure, they only have download and not edit capability ... exactly what I sent them. That only proves SharePoint works.
That doesnt' do Teams any good. I want people in a team to be able to download files, but not delete them or edit them.
Again, I already did each of the steps you mention, and the MS rep in the trouble ticket already did that as well. So these steps have been done multiple times. They don't fix the product vulnerability.
    == John ==

@jgwinner Thank you for the feedback. I have played around with settings on teams and couldn't locate an option to turn off this feature. I'll work with the team to see how to take this forward.
Thanks
Sri

Thanks.
Regarding this issue, I think it's important to document the fact that Guests have delete access, and this can't be turned off, especially as the settings sort of imply you can (but just for messages).
    == John ==

@jgwinner - Can you please share with us the MS support ticket number when you were troubleshooting with the MS support rep?
Thank you.

Sure! However, most of the trouble shooting was a remote session where he went through every, single, screen.
Ticket 17561100 via O365
    == John ==

@jgwinner  We have confirmed that guests do get edit/delete perm when added to items/planner. There will be no update to this document, However, the Author is planning to call this out on https://docs.microsoft.com/en-us/microsoftteams/guest-experience in a few days.
Thank you for your feedback.
@mypil  You can Close this now as the author will call out this on another doc.
Thanks
Sri

Thank you!
This forum is often used for changes to products, but honestly in this case I was mainly looking for this information to be documented so that it's clear as it just seems so absurd.
    == John ==

Oh - it may be possible to put in a solution with data loss prevention, but I have not tried that yet. The author could call that out, a tutorial would be a big help.

@jgwinner - Thank you for your contribution to make the docs better.
The author has been informed of your suggestions and it will surely be part of their consideration in updating the docs.
We appreciate your feedback so keep it coming!


Invalid ghc-options on upload to Hackage

Trying to upload the package to hackage gives me
'ghc-options: -Wall -Werror' makes the package very easy to break with future GHC versions because new GHC versions often add new warnings. Use just 'ghc-options: -Wall' instead. Alternatively, if you want to use this, make it conditional based on a Cabal configuration flag (with 'manual: True' and 'default: False') and enable that flag during development.

Addressed with PR #19


Unable to use multiple display types.

LVGL supports multiple displays, but lvgl_esp32_drivers will only compile one of the TFT display drivers, and there is no way to enable more than one display via menuconfig. CMakeLists.txt will only build one TFT driver (see source) and lvgl_helpers.c is coupled to the one enabled driver.
Can the configuration be modified to allow multiple enabled drivers? Another option might be to simply enable them all and rely on the linker to leave out the unused drivers.

Hi,
I was working on that but had to solve some other issues. I was thinking on enabling the display controller related code and let the users do the configuration by themselves, as you already know the repo only works with one display in the project.
What displays do you need on your project?

My main display is a ILI9341, and supplemental is SSD1306.

Ok, we are expecting some updates on the CMakeLists.txt file, so after that I can work on adding support for multiple displays on the project. I have not worked on a multiple-display project, so I would like to ask @kisvegabor and @embeddedt for tips on how can we improve this repo and lv_port_esp32 to support that.


Snippet prefix with special chars and numbers does not work

VSCode Version: 1.28.2
OS Version: Fedora29, CentOS7

Issue:
I am currently porting my personal snippet package for Verilog to VS Code.
In Sublime I used several 'stutter'-snippets which make some syntax weirdness of verilog more bearable. One is a non-blocking assignment with an included delay: <= #dly
I want to use the same 'stutter'-characters I and my colleagues are used to, meaning i just repeat the character the thing normally starts with twice and press Tab...and I'm done.
This works beautifully with dd to expand to #`dly (another snippet I made), but when I try the stuff below it does not work, but it would be amazing if it would. Do I need to use some special escaping or is this just not working properly yet in VS Code? (I also tried ## for example just to play around, does not work either)
EDIT: I in fact just noticed, it does not even work with numbers...
Steps to Reproduce:

Use this snippet
"noblockwdelay": {
"prefix": "<<",
"body": [
"<= #dly"  ],  "description": "non-blocking assignment with delay: <= #dly"
}

Reload and try to expand by typing << and Tab

And yes, I have seen the other related issues, but they either claim something has been solved (which does not seem to be the case), or seem to be inconclusive.

So, what is the line prefix you have then? What language (and extension) is that?

I have a whole set of prefixes that don't work. I want to do this for verilog, but the snippet set is my own.
Here you can find some examples from what I'm trying to do (the prefixes all do not work, but I can call the snippets without issue from the F1-> Insert Snippet command palette), these Snippets do all work with TAB completion without issue in Sublime Text (which is where I'm porting them from to VS Code Snippet language):
"noblockwdelay": {
"prefix": "<<",
"body": [
"<= #dly"     ],     "description": "non-blocking with delay: <= #dly"
},
"commentbox": {
"prefix": "///",
"body": [
"/------------------------------------------------------------------------------",
"--  ${0}",
"------------------------------------------------------------------------------/"
],
"description": "comment box"
},
"allone": {
"prefix": "11",
"body": [
"{${1:/multiplier/}{1'b1}}"
],
"description": "initialize vector to all one"
},
"allzero": {
"prefix": "00",
"body": [
"{${1:/multiplier/}{1'b0}}"
],
"description": "initialize vector to all zero"
},

this keeps coming up. tho stretch for november...

That is fine, thanks very much for looking into it!

@markusdd Sorry this still needs more info. I have tried out a few for your samples and they work here.

I have also added tests that snippet get computed given << et al. So what's the real issue here? Is that those snippets don't appear in IntelliSense or is it that typing those characters don't automatically trigger IntelliSense?

Hi,
the Snippets do appear in the Insert Snippet dialog and when IntelliSense is brought up using ctrl+Space, but they do not trigger IntelliSense and whn I bring up IntelliSense manually I have to scroll through to find the snippet

but they do not trigger IntelliSense

Yeah, that's the design of today. We only trigger 24x7 IntelliSense when typing at the end of a word (the language defines what a word is)

bring up IntelliSense manually I have to scroll through to find the snippet

Sample needed!


Package upgrades & lock file

I've upgraded the dependencies on t2bot.io with no issues, so this is more just housekeeping than anything.
I've also included the package-lock to help avoid problems like https://github.com/Half-Shot/matrix-appservice-discord/pull/85 in the future

👍 for package-lock, and version bumps so long as they can be verified to be necessary.


Separate performance results for val_evaluator with multiple validation sets

Hi, in my project I have two validation sets that I need to evaluate separately, i.e. I want to monitor their respective evaluation metrics on the console panel.
I have tried using ConcatDataset to evaluate the trained model on the two datasets simutaneously, but it seems that mmdetection only concatenates the two datasets while does not output their evaluation metrics seperately. Is there a way to output them separately? I know that in mmdetection 2.x there is an argument separate_eval that could realise this, but it is no longer available in mmdetection 3.x, is there a 3.x equivalent of separate_eval in 2.x?
Below is the code I am currently running:
val_dataloader = dict(
    batch_size=32,
    num_workers=5,
    dataset=dict(
        type='ConcatDataset',
        datasets=[dataset_A_val, dataset_B_val]),
    sampler=dict(type='DefaultSampler', shuffle=False),
)

"Did you solve this problem?"

Same issue with me.


Fix Add ++_get_waiting in BlockingPriorityQueue USE_BTHREAD_SCANNER is defined.

Proposed changes
Fix Add ++_get_waiting in BlockingPriorityQueue USE_BTHREAD_SCANNER is defined.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

BTHREAD related code will be removed by @gavinchou , so that I will close this PR.


CI doesn't build examples in documentation

All examples in documentation should be built by scripts/build.sh, but that currently does cargo build only, not cargo test.
cargo test needs the test crate, which isn't available on Cortex-M. Which means we need to compile the tests on the host machine, which is fine, since we don't need to run them. The problem is, the target is set in .cargo/config, and there's no way (as far as I can tell) to say "ignore that, I want the target to be the host".
This leaves us with several options, none of which are ideal:

Not set the target in .cargo/config. This means we'll have to pass --target=thumbv6m-none-eabi to everything. This would suck, as I'm doing a lot of cargo run --example during development.
Override the target by passing --target to cargo test. We could just pass x86_64-unknown-linux-gnu, which would be good enough for me and for CI, but not for the general case.
Auto-detect target in build.rs and pass that via --target to cargo test. Maybe we can write the target triple into a file in target/, and read that in scripts/build.sh.
Write a Rust program that prints the current target (using build.rs, as in the linked Stack Overflow answer), cargo install that in scripts/build.sh. Maybe something like that even exists?
Implement https://github.com/rust-lang/cargo/issues/6784 and use that new capability once it's released.

Forgot one additional option:

Run rustdoc --test src/lib.rs directly. That doesn't require the test crate (I think), but we need to pass it all the info that Cargo would otherwise take care of.

I noticed some typos and wrong use of words in the title and original issue description. I updated both to make them more clear.


Use random icon generating algorithm to generate icons for the images when harbor working in standalone mode

I don't think we should be putting in random graphic images as icons for objects. as stated by another designer in the group:
"icons should be used to provide quick recognition when there is meaning associated. For example, an icon used to represent an object such as “VM” is useful when scanning a group of objects or universally recognized such as a logo. [In this example], it appears as if each icon holds no meaning on its own and is merely used as decoration; this adds to visual clutter and the space can be better utilized to display the full title.


unexpected char in asm const signature 101

Hello! I'm trying out stdweb with emscripten (1.39.10) and running into an issue when calling stdweb::initialize():
exception thrown: RuntimeError: abort(unexpected char in asm const signature 101) at Error
    at jsStackTrace (http://localhost/turtl/tmp/wasm-test/echo.js:1842:17)
    at stackTrace (http://localhost/turtl/tmp/wasm-test/echo.js:1859:16)
    at abort (http://localhost/turtl/tmp/wasm-test/echo.js:1633:44)
    at readAsmConstArgs (http://localhost/turtl/tmp/wasm-test/echo.js:4583:14)
    at _emscripten_asm_const_ii (http://localhost/turtl/tmp/wasm-test/echo.js:1810:14)
    at stdweb::webcore::initialization::initialize::snippet::__cargo_web_snippet_16d36d978962b51d2e9b2d23aa2ea13de278c5da::h526c1ddf367112d7 (wasm-function[67]:0x1448)
    at stdweb::webcore::initialization::initialize::snippet::he435142440b4a0ae (wasm-function[62]:0x112d)
    at stdweb::webcore::initialization::initialize::he1834ceadb207305 (wasm-function[61]:0x1100)
    at echo::main::ha1f0499ee076f4f5 (wasm-function[50]:0xdbc)
    at std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h5dd44104d86e8134 (wasm-function[43]:0xa89),RuntimeError: abort(unexpected char in asm const signature 101) at Error
    at jsStackTrace (http://localhost/turtl/tmp/wasm-test/echo.js:1842:17)
    at stackTrace (http://localhost/turtl/tmp/wasm-test/echo.js:1859:16)
    at abort (http://localhost/turtl/tmp/wasm-test/echo.js:1633:44)
    at readAsmConstArgs (http://localhost/turtl/tmp/wasm-test/echo.js:4583:14)
    at _emscripten_asm_const_ii (http://localhost/turtl/tmp/wasm-test/echo.js:1810:14)
    at stdweb::webcore::initialization::initialize::snippet::__cargo_web_snippet_16d36d978962b51d2e9b2d23aa2ea13de278c5da::h526c1ddf367112d7 (wasm-function[67]:0x1448)
    at stdweb::webcore::initialization::initialize::snippet::he435142440b4a0ae (wasm-function[62]:0x112d)
    at stdweb::webcore::initialization::initialize::he1834ceadb207305 (wasm-function[61]:0x1100)
    at echo::main::ha1f0499ee076f4f5 (wasm-function[50]:0xdbc)
    at std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h5dd44104d86e8134 (wasm-function[43]:0xa89)
    at abort (http://localhost/turtl/tmp/wasm-test/echo.js:1639:9)
    at readAsmConstArgs (http://localhost/turtl/tmp/wasm-test/echo.js:4583:14)
    at _emscripten_asm_const_ii (http://localhost/turtl/tmp/wasm-test/echo.js:1810:14)
    at stdweb::webcore::initialization::initialize::snippet::__cargo_web_snippet_16d36d978962b51d2e9b2d23aa2ea13de278c5da::h526c1ddf367112d7 (wasm-function[67]:0x1448)
    at stdweb::webcore::initialization::initialize::snippet::he435142440b4a0ae (wasm-function[62]:0x112d)
    at stdweb::webcore::initialization::initialize::he1834ceadb207305 (wasm-function[61]:0x1100)
    at echo::main::ha1f0499ee076f4f5 (wasm-function[50]:0xdbc)
    at std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h5dd44104d86e8134 (wasm-function[43]:0xa89)
    at std::sys_common::backtrace::__rust_begin_short_backtrace::hd9c5581cc7670e4c (wasm-function[222]:0x9de2)
    at std::panicking::try::do_call::hd78f907bd46bdbd3 (wasm-function[235]:0xa909)
callMain @ echo.js:5223
doRun @ echo.js:5263
run @ echo.js:5278
runCaller @ echo.js:5175
removeRunDependency @ echo.js:1611
receiveInstance @ echo.js:1728
receiveInstantiatedSource @ echo.js:1745
Promise.then (async)
(anonymous) @ echo.js:1766
Promise.then (async)
instantiateAsync @ echo.js:1764
createWasm @ echo.js:1791
(anonymous) @ echo.js:4667

Here's my Cargo.toml:
[package]
name = "echo"
version = "0.1.0"
authors = ["Andrew Danger Lyon<EMAIL_ADDRESS>edition = "2018"

[dependencies]
stdweb = { version = "0.4.20" }

And my program:
use stdweb;

fn main() {
    println!("init");
    stdweb::initialize();
    println!("loop");
    stdweb::event_loop();
}

Compiling via:
cargo build --target wasm32-unknown-emscripten

Then I do cp target/wasm32-unknown-emscripten/debug/echo.{js,wasm} /path/to/echo-web and I have a very simple index.html that loads the echo.js file. The above error occurs. Note that is does print "init" in the console, but does not print "loop." I get the same result in both Chrome/FF (latest versions).
Am I doing something wrong? Thanks!

Hi,I also encountered the same problem
Build env:
emscripten (1.39.13) stdweb = "0.4" stdweb-derive = "0.5.1"
Target:
cargo build --release --target asmjs-unknown-emscripten
Run exceptions:
exception thrown: Error: abort(unexpected char in asm const signature 101) at Error     at jsStackTrace (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:165930:12)     at stackTrace (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:165945:11)     at abort (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:164809:43)     at readAsmConstArgs (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:169000:10)     at _emscripten_asm_const_ii (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:165907:13)     at Array.W3 (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:125946:7)     at Array.dT (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:160270:19)     at o3 (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:104256:25)     at Module._main (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:169925:31)     at callMain (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:170706:13),Error: abort(unexpected char in asm const signature 101) at Error     at jsStackTrace (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:165930:12)     at stackTrace (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:165945:11)     at abort (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:164809:43)     at readAsmConstArgs (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:169000:10)     at _emscripten_asm_const_ii (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:165907:13)     at Array.W3 (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:125946:7)     at Array.dT (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:160270:19)     at o3 (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:104256:25)     at Module._main (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:169925:31)     at callMain (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:170706:13)     at abort (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:164811:8)     at readAsmConstArgs (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:169000:10)     at _emscripten_asm_const_ii (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:165907:13)     at Array.W3 (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:125946:7)     at Array.dT (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:160270:19)     at o3 (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:104256:25)     at Module._main (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:169925:31)     at callMain (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:170706:13)     at doRun (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:170744:21)     at run (http://localhost:8000/target/asmjs-unknown-emscripten/release/gui_web1.js:170756:3)

I also ran into this problem

My understanding is emscripten builds are broken on both stable and nightly for rustc since November 2019: https://github.com/rust-lang/rust/issues/66916. With just cargo build --target <some emscripten> you will get the error here. With cargo web build --target <some emscripten> you will get a linker error. That has been my experience. I used a september 2019 toolchain with success. rustup toolchain add nightly-2019-09-15 and cargo web +nightly-2019-09-15 build --release asmjs-unknown-emscripten.

Thank you! I wondered if this was the case. I will give the old toolchain a shot


Added support for not flipping Y values in a TMX map.

As referenced in issue #2929 .
We ourselves have run into this usecase as well, as we use Tiled for creating meta information for maps.
Now with added documentation on usecase.

Cool beans, thanks.


Add version selector to download page

Add a version selector dropdown to the download page to show previous releases, with an additional click to show beta releases.

Invalid due to app.