Issue #1979,  chipsalliance/UHDM#510

Issue #1979,  chipsalliance/UHDM#510

Upgrade CI to use gcc9 instead of gcc7
Also, updated the regression_on_demand to run the regression
using both pygen and tclgen.
Moved the setting to use specific version of C++ before adding
subprojects to ensure all dependent projects use the same C++
version.
Windows specific - MSVC-cl has a bug where the value of
__cplusplus is wrong unless a specific compile flag is included.
gtest requires the value to be correct to enable inclusion of
string_view specific matchers. Forcing the compile flag from
Surelog to avoid having to clone/fork gtest. More information on
this bug can be found here -
https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=msvc-160
https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/

I will make it part of regular regression once the changes settle down. I am still working on some of the parts of transition to python. I don't want CI builds to fail and increase pressure on myself to fix them immediately. I am juggling too many competing priorities so it's not always feasible to attend to fires. It will be part of regular CI in due time.

Sounds good.
How can we trigger it now in the context of this PR ?


Update notebook with R EDA

@nobbynguyen can make your section start with the number 4 instead of 5. I think my entire section is number 3

@gauthampughazhendhi : got it and edited.


when i use MockBackend, I can't get value

the code like this:
bootstrap(ZCAppMock,
      [HTTP_PROVIDERS
          , BaseRequestOptions
          , MockBackend
          , provide(Http, {
              useFactory: function(backend, defaultOptions) {
                  return new Http(backend, defaultOptions);
              },
              deps: [MockBackend, BaseRequestOptions]
          })
          , ROUTER_PROVIDERS
          , Modal
          //, TranslateService
          , provide(TranslateLoader, {
              useFactory: (http: Http) => new TranslateStaticLoader(http, 'i18n', '.json'),
              deps: [Http]
          })
          // use TranslateService here, and not TRANSLATE_PROVIDERS (which will define a default TranslateStaticLoader)
          , TranslateService

I'm sorry but you will have to be more explicit.

Reopen this if you have more details, closing it for now.

I think, you need to use the translate related providers before the MockBackend related providers, because the MockBackened modifies your default Http and the translation JSON files may not be able to load.


Editing database directly?

I'm curious if adding agents or changing them directly through the database works?

Sure, all the information the background processes and the web interface uses is in the database.


fix: last selected account id not found

Summary

Please summarize your changes, describing what they are and why they were made.

Close https://github.com/iotaledger/firefly/issues/7571
Changelog
- Please write a list of changes

Testing
Platforms

Please select any platforms where your changes have been tested.

Desktop

[ ] MacOS
[ ] Linux
[ ] Windows

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...
Checklist

Please tick the following boxes that are relevant to your changes.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or modified tests that prove my changes work as intended
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

Firlfly wallet ios app issues ,DNS  failed  to respond NOde

Firlfly wallet ios app issues ,DNS failed to respond NOde

The network was recently upgraded and the mobile app does not work anymore because it is not compatible with the network upgrade, and we are not maintaining the mobile app anymore. You have to use the desktop version. We will remove the mobile app from the stores


Fractional interval of module

Is it possible to set an interval of less than 1s? 0.5s, for example

would love to see this

Does anybody know which parts of the code would need to be adjusted for this? Thanks


[Feature Request] High Score templates : "Apply to All" button

templates are great... until you need to apply them to 200 tables ;-)
I suggest having multiple button options...

Apply to Only this table
Apply to All Tables
Apply to Tables Highlighted on Table List  (left side of screen)

I thought about that. By default, all tables use the default template. So if you customize this, there is no need to apply anything.
The table list supports single and multi selection for the template selection. So in the and all these points are already supported, right?

As discussed, this seems to be solved.


Add the filter categories for all Letter H, I, and J documentations

Research on each documentation in the Letter H, I , and J section to filter them into Company Owned Documentation and Community Owned Documentation
After getting your answer, add the category like this in the README.md file at the front of the documentation wrapped in backticks ``
e.g.

Amazon S3 Docs - Amazon Simple Storage Service (Amazon S3) is storage for the internet. You can use Amazon S3 to store and retrieve any amount of data at any time, from anywhere on the web. - Company Owned Documentation

Can I work on this

Can I work on this

@Chaos10001  you can work on this.

solved #128


Vendor munch

Munch uses pkg_resources and thus is causing deprecation warnings from setuptools. There's no stable version of munch that fixes this and no sign that there will be one. My solution is to vendor munch and remove the use of pkg_resources.

munch 3.0 now replaced pkg_resources with importlib metadata so you can devendor it again.


generifying 'ignoring properties or fields' comparisons

Summary
Hi. I am working on a JPA application, using AssertJ in my test utility classes
Stumbling upon almost identical methods for testing my service code, that smell for generalization
Example
    public static void assertMatch(User actual, User expected) {
        assertThat(actual).isEqualToIgnoringGivenFields(expected, "registered", "roles");
    }

    public static void assertMatch(Iterable<User> actual, User... expected) {
        assertMatch(actual, List.of(expected));
    }

    public static void assertMatch(Iterable<User> actual, Iterable<User> expected) {
        assertThat(actual).usingElementComparatorIgnoringFields("registered", "roles").isEqualTo(expected);
    }
}

This can be easily generalized, up to some point
Given the generic T for the entity PhoneNumber
    public static <T> void assertMatch(T actual, T expected) {
        assertThat(actual).isEqualToIgnoringGivenFields(expected, "user");
    }

    @SafeVarargs
    public static <T> void assertMatch(Iterable<T> actual, T... expected) {
        assertMatch(actual, List.of(expected));
    }

    public static <T> void assertMatch(Iterable<T> actual, Iterable<T> expected) {
        assertThat(actual).usingElementComparatorIgnoringFields("user").isEqualTo(expected);
    }
}

but not further, because of the extensive inner usage of varargs parameters in assertions
I'd like to introduce a final class member here representing the 'propertiesOrFieldsToIgnore' for the given entity T, but for this moment it is a stopper for me
Or please suggest the right approach to get things done

I'm not sure I fully understand what you want, especially this part:

I'd like to introduce a final class member here representing the 'propertiesOrFieldsToIgnore' for the given entity T, but for this moment it is a stopper for me

Can you give an example of the API you wish to have ?
I also suggest to have a look at the new recursive API to see if you can find something to help you (but as I don't understand well your problem, this might not be a relevant advice)

@joaodelgado Thank you.
I merely want to have a list or array of 'propertiesOrFieldsToIgnore' set up for the parent scope of these three methods,
and I need their equivalents capable to use this information

@joel-costigliola Thank you.
I merely want to have a list or array of 'propertiesOrFieldsToIgnore' set up for the parent scope of these three methods,
and I need their equivalents capable to use this information

Like that https://assertj.github.io/doc/#assertj-core-recursive-comparison-ignoring-fields ?


Re-apply pull request #1811 with AndroidManifest.xml changes minified

Reverts and then re-applies #1811 with a reduced -- although should be semantically-equivalent -- set of changes applied to OpenStreetMapViewer/src/main/AndroidManifest.xml.
Relates to previous discussion at https://github.com/osmdroid/osmdroid/commit/a9cfce7b7659c2f2443cf739ac5311b3768f82d7#r90401586
In particular, this is intended to address some potentially-confusing relocation of XML comments due to reformatting of that file.

cc @monsieurtanuki @spyhunter99 - this should be a no-behaviour-change patch (but please don't take my word for that) - the only intent here is to make the XML format more human-readable.

cc @PWRxPSYCHO in case you have any bandwidth for code review

Closing as stale; please feel free to recover and merge these commits if you like, though (that offer also extends to any forks of this project).


Introducing bare bones documentation

Added files for bare bones documentation of QTools using Sphinx.
Right now just auto generated from docstrings in the package files,
need extra work to not look extremely bad.

Coverage remained the same at 70.936% when pulling 517ae964db78451094bf912da7296b27fa1a07ba on acmnpv:paul_docs into e08e5020136fa79ba06722c0b7be8b827d331801 on mpurg:master.


release: 0.6.8

Description
Adds 0.6.8 release artifacts.

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#294 👈
main

This comment was automatically generated by st.

great, this unlocks a few things on reth


babel-plugin-transform-decorators-legacy requirement

I have a project based on react-boilerplate that uses webpack with babel to build for production. When I include react-lazyload as a dependency, I get an error when building:
ERROR in ./~/react-lazyload/lib/index.js
Module build failed: ReferenceError: Unknown plugin "transform-decorators-legacy" specified in "/Users/tauren/repos/react-boilerplate/node_modules/react-lazyload/.babelrc" at 0, attempted to resolve relative to "/Users/tauren/repos/react-boilerplate/node_modules/react-lazyload"

I've resolved the issue by adding babel-plugin-transform-decorators-legacy as a dependency of my project and adding it to my babel plugins configuration.  But I would think this shouldn't be necessary since react-lazyload provides already transpiled code.
I'm guessing that when babel runs in my project, it picks up the .babelrc in react-lazyload. Perhaps .babelrc should be added to the .npmignore file so that it isn't published to NPM?

As a matter of fact react-lazyload should not be taken care of by babel, not sure why it is raising this error.
Although adding .babelrc to .npmignore is surely achievable.

Since it's unbreaking change, I just bumped a patch version to 2.2.3 which ignores .babelrc and some other stuff in .npmignore.

Thanks for jumping on this. However, it looks like you've got a misspelling in your .gitignore. It shouldn't be .babalrc.

Oh, that's unfortunate! I released another version(2.2.4) with corrected spelling.

Thanks!


Add "Deno-" to "powered" in readme

I noticed you had the same phrase in other similar projects. When I'd looked at this project years ago, I had thought the phrase "dark powered" meant "powered by darkness", which I remember striking me as unusually mystical for a software project description, hahaha! This is also missing from the the small "about" section, but I can't edit that ;)

Sorry.  dein.vim is not deno powered.  So I close it.

The dark powered means the whole world is the text editor power.
It is not deno related.


Update mac-jamfpro-policies.md

As reported, there was formating issue in the code and its now fixed.
Problem: https://github.com/MicrosoftDocs/windows-itpro-docs/issues/9259

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

#sign-off

Hi @Dansimp, PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


[telebasel] [simplex] Add new information extractors

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description
As suggested in #11973, I have added youtube-dl support for the telebasel media center and telebasel news articles.
Telebasel uses the "Simplex Player" which is currently not supported by youtube-dl, so I have also added a simplex player information extractor. Now it will be very easy to add youtube-dl support for other websites using the simplex player.

I have removed TelebaselArticleIE and handle this case in the generic information extractor, because the videos are simply Simplex embeds, so I think it's the better way to do it.
However, if I run my added test with python 3.6, I get a deprecation warning:
$ python test/test_download.py TestDownload.test_Generic_104
[generic] ?channel=105100: Requesting header
[generic] ?channel=105100: Downloading webpage
[generic] ?channel=105100: Extracting information
/home/alex/Projects/github/youtube-dl/youtube_dl/extractor/simplex.py:37: DeprecationWarning: Flags not at the start of the expression <iframe[^>]+src=["\' (truncated)
  for m in re.finditer(r'<iframe[^>]+src=["\']%s.+["\']' % SimplexHostsIE._VALID_URL, webpage)]
[download] Downloading playlist: Report: USR III einfach erklärt - Telebasel
[generic] playlist Report: USR III einfach erklärt - Telebasel: Collected 3 video ids (downloading 3 of them)
[download] Downloading video 1 of 3
[download] Downloading video 2 of 3
[download] Downloading video 3 of 3
[download] Finished downloading playlist: Report: USR III einfach erklärt - Telebasel
.
----------------------------------------------------------------------
Ran 1 test in 1.849s

OK

Does anybody know how I can get rid of that?


Removed EN prefix from default messages

Removed EN prefix from default messages.
To test FR and DE locales, run the translations:test target

Codecov Report

Merging #2196 (ac35186) into react-intl_changeover (75cea56) will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##           react-intl_changeover    #2196   +/-   ##
======================================================
  Coverage                  71.04%   71.04%
======================================================
  Files                        405      405
  Lines                       7453     7453
  Branches                    1615     1615
======================================================
  Hits                        5295     5295
  Misses                      2123     2123
  Partials                      35       35

Impacted Files
Coverage Δ

src/locales/messages.ts
100.00% <ø> (ø)

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 75cea56...ac35186. Read the comment docs.


installation on nixos fails stating Read-only file system

$ sh <(curl --proto '=https' --tlsv1.2 -sSf https://garn.io/install.sh)

NIX INSTALLATION
================
Hooray, nix is already installed:
nix (Nix) 2.17.1

BINARY CACHE CONFIGURATION
==========================
For 'garn' to work well, nix needs to use the garnix.io binary
cache. But the cache configuration cannot be found. This
installer will modify /etc/nix/nix.conf to add the garnix.io binary cache.

Should I add the garnix.io binary cache to /etc/nix/nix.conf now (requires sudo)? [y/n] y
tee: /etc/nix/nix.conf: Read-only file system

i see it's mentioning needing sudo, but given that as-is this fails perhaps the documentation could be adjusted a bit to reflect this - prepending sh with sudo appears not to help fix the command.

Thanks for the report! Are you on NixOS? I can see how that would fail there, since it’s generated by configuration.nix, and we should really fix that!

@jkarni yeah i'm on nixos

As a workaround you can manually add https://cache.garnix.io to substituters, and cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= to trusted-public-keys in your configuration.nix and doing a NixOS-rebuild, or to ~/.config/nix/nix.conf if you are a trusted user in the global nix config.
As a more proper solution for the install script I’m not sure what we should do. I’m inclined to say we should add the config to the user nix.conf if the user is a trusted user, and otherwise just print instructions, since doing a NixOS rebuild for the user is not a good idea.

I'm not sure what the best fix is here. We could do what @jkarni suggested and check for whether the user is a trusted user. And then try to add the config lines to the user's config. But what if they aren't? Or what if they are, but their user config is also read-only, since it's managed by home-manager? Also, I think, on a standard nixos install normal users are not trusted users, so it would only help a small subset of users.
In any case, as a first step, I think the install script should give a much better error message, including a pointer to some documentation about how to add the cache to the config manually. I created https://github.com/garnix-io/garn/issues/408 for that.
@KiaraGrouwstra: Thanks for reporting! Did you try to manually add the cache? We have some documentation about it on the garnix website and on the garn website. I know this isn't a proper fix, but afterwards you could try out the installer again, and hopefully it would work.

We added an error message in garn v0.0.19 that should be more helpful when installing on NixOS since the installer cannot modify your configuration. I'm going to close this issue for now but feel free to re-open if there is still an issue.


Add: PROTV Chișinău

Channel Name
PROTV MD
Alternative Names (optional)
No response
Network (optional)
CME PRO
Owners (optional)
PRO Digital SRL
Country
MD
Subdivision (optional)
MD-CU
City (optional)
Chișinău
Broadcast Area
c/MD
Languages
ro
Categories (optional)
general;news
NSFW
FALSE
Launched (optional)
1999-09-03
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://protv.md/
Logo
https://upload.wikimedia.org/wikipedia/commons/thumb/d/db/Logo_Pro_TV_Chișinău_(2017).svg/1200px-Logo_Pro_TV_Chișinău_(2017).svg.png
Notes
Stream URL:  http://hls.protv.md/hls/protv.m3u8

Added in https://github.com/iptv-org/database/commit/bb17e1974a9fa1fc2155f73bc661bbe63b9dbbfb


Not Work With Sounds, like landing,jumping or running sound

Those features are definitely achievable.
You can register OnStateChanged and OnJump event, and play the sounds when these events are triggered.
As for the running sound, you can simply add an animation event on your running animation clip.


Feature Request: Add an always stage+commit button to source control UI

VSCode 1.42.1
OS Version: macOS High Sierra 10.13.5
Source Control: Git

Description:
Enable Smart Commit settings will stage and commit files.
When you click the current :heavy_check_mark: button, it stages and commits:
> git add -A -- .
> git commit --quiet --allow-empty-message --file -

But when there's files in the staging area, it doesn't re-stage, it only commits:
> git commit --quiet --allow-empty-message --file -

The problem is when you use tools like lint-staged combined with ESLint for instance, that prevents a commit if there's an error from eslint. After the first attempt to commit, if lint-staged prevents the commit, the files will remain in staging. The 2nd attempt to commit, VSCode won't re-stage such files and so the button will never work.
Idea:

Add a second :heavy_check_mark: button for an always stage+commit which will always auto-stage files that are already staged (only those already staged, it's not a "Commit All" button) and then commit.
Remove the "Enable Smart Commit" setting because it's unecessary now.

What do you think?
Steps to Reproduce:

Setup a JS project with lint-staged and husky and this package.json setting as an example:

  "lint-staged": {
    "*.js": [
      "eslint"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }

Make sure Enable Smart Commit on VSCode settings is on
Change a file in your local branch that will cause an ESLint error
Click the :heavy_check_mark: button to stage and commit
You should see an error and the file remains in staging
Re-edit the file and fix the ESLint issue.
Now there's a copy of the file in staging and another unstaged. Click the :heavy_check_mark: button again.

Expected to see the file auto staged and commited. But it won't until you manually re-stage the file.

I don't think a second checkbox would be a good idea for the majority of our users.
But you can always add it yourself by creating an extension which contributes said command to that menu!


Game view requires interaction for audio

Since browsers require interaction and don't allow autoplaying media by default, we will have to force or lean the user to interact with the window.
Autoplay policy in Chrome

Autoplay with sound is allowed if:
The user has interacted with the domain (click, tap, etc.).

I'm not really sure how it is on other browsers like Firefox, but this issue will confuse users to why sound effects aren't playing. You can see this in chrome when you load a window (don't press anything or interact with it) and try autoplaying media, for example a sound effect. The console will error/warn you that interaction is required before autoplaying.

Probably the easiest way to fix this is to make a pop up the user has to click on the game page which would create interaction.
Says something like "unmute" or "enable sounds"


Setup node mem directly in package.json script

Compiling AoT build uses huge amount of memory in any bigger project. Commit adds an example how to setup memory limits in package.json.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Feature for setting more memory available for webpack, since AoT compilation uses easily > 2-3GB

What is the current behavior? (You can also link to an open issue here)

Node crashes to allocation errors when compiling bigger project and user has to start googling, why this might happen (and there wasn't good examples how to set value to scripts ran through npm).

What is the new behavior (if this is a feature change)?

Other information:

Brilliant!!
Finally got the AOT running!!
However I have to make the following changes to run on my machine (Windows 10):
"webpack-dev-server": "node --max_old_space_size=4096 node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"webpack": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js"

@pilgylis according to this https://docs.npmjs.com/files/package.json#bin those scripts should be found from node_modules/.bin too... or are they some .cmd or other scripts that are installed in windows?

It failed with both node_modules/.bin/webpack and node_modules/.bin/webpack.cmd in my machine

Sounds like direct linking as you've done it would be the most portable way to do it... gotta checkout at home with windows if there is a cleaner way. Im not sure if hardcoding the 'node' name is a good idea either.

My explanation (mostly guess) is follow. Please correct me if anything is incorrect.
'npm' is in fact the shortcut for 'node npm-cli.js'. Basically when we run 'node something.js', the content of something.js will be put into a js function (with environmental parameters) and run.
In our case, 'webpack' and 'webpack.cmd' are in fact OS batch files, so when put into a js function, it is obviously an error; and 'node webpack.js' works.
Note: I am using Node 7.5

@pilgylis yep, I do understand why node notnodeprogram.cmd doesn't work. I'm just thinking if there would be some better way to pass the memory limit parameter than calling node directly from package.json (for example in some debian based machines doesn't have node executable but its called nodejs so there is a little crossplatform compatibility issue in there too...).
Btw. I'm not sure if I understood correctly what you meant with the comment how npm runs the scripts declared in package.json, but I'm sure it doesn't wrap those scripts to any js function, but just directly executes them in a new process with some additional environment variables given. I haven't checked the code, but I suppose it just calls spawn or exec to run them.

@pilgylis I updated pull request with your changes and dug out correct node executable path from npm environment variables. Please let me know if it now works for you without any modifications.

@elhigu doesn't work!
Only the following works: (node instead of npm run node)
"webpack-dev-server": "node --max_old_space_size=4096 node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"webpack": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js"

@pilgylis thanks for testing, I'll debug it later on when I get my hands on windows box...

Couldn't find any better way than just expect node to be found from path.

@vincent-cm looks like you are right, I had different signaling for the AOT build with env variable on my real branch where I copied this.
But actually the switch allows compiler to use more memory (my build takes ~3GB). I'll update scripts allowing to run AoT build with passing environment parameter.

@vincent-cm thanks, I didn't notice this.

This is definitely a really good PR, need to be merged ASAP !!


Gate Sim Issue: user_project_wrapper Port name mismatch between RTL & Gate level caravel.v

We see user_project_wrapper Port name mismatch between RTL & Gate level caravel.v
In RTL : caravel/verilog/rtl/caravel.v
user_project_wrapper mprj (
....
.la_oenb(la_oenb_user),
in Gate Level: caravel/verilog/gl/caravel.v
user_project_wrapper mprj (
......
.la_oen(
In user_project_wrapper has la_oenb port, where as gate level caravel.v has la_oen

Sorry wrong close this only .. This is still a issue.

This remained an issue until the final synthesized layouts for Caravel were completed for MPW-two.  Those were finished a bit late but should be good now.  If you believe that that is not the case, please feel free to reopen the issue.


[BUG]com.azure.identity.AzureCliCredential is not public

Describe the bug
com.azure.identity.AzureCliCredential is not public
Exception or Stack Trace
N/A
To Reproduce
N/A
Code Snippet
N/A
Expected behavior
AzureCliCredential should be public (as well as its builder) just like the other types of credentials. This is necessary for making bespoke credential discovery strategies.
Screenshots
N/A
Setup (please complete the following information):

Version of the Library used
1.1.0-beta.2
Additional context

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Thanks for filing this issue on the 1.1.0-beta.2 release of azure-identity @sitase, we appreciate the feedback.  @g2vinay can you please investigate?

@sitase
Thank you for reporting this issue.
We are currently working on the final design of AzureCliCredential before making it public.
Currently, it is available via DefaultAzureCredential only.
Adding @schaabs to add more details.

AzureCliCredential is now public in beta5
https://azuresdkdocs.blob.core.windows.net/$web/java/azure-identity/1.1.0-beta.5/index.html
https://search.maven.org/artifact/com.azure/azure-identity/1.1.0-beta.5/jar


supabase-flutter 1.6.1 depends on old version webview_flutter (^3.0.4)

Describe the bug
Since supabase-flutter depends on an old version of webview flutter, I am unable to use it in combination with packages that use the 4+ webview_flutter package version. The strange things is that this error did not occur with supabase-flutter 1.5.0. Did Supabase downgrade the webview package in upgrade to 1.6.1?
To Reproduce
Install a package that uses webview_flutter 4+, and then run flutter run or flutter pub get. Examples are Quil html editor and youtube_iframe
Expected behavior
Application to work
Screenshots

Version (please complete the following information):
Flutter 3.7.9 | Supabase-flutter 1.6.1
Additional context
Add any other context about the problem here.

We currently still want to support flutter 2.8.0 which is incompatible with webview_flutter: ^4.0.0. We didn't downgrade, but added it in 1.6.0. @dshukertjr What do you think? Should we increase our aimed min Flutter version because of this version conflict?
For now you may try dependency override.

@Vinzent03
Yeah, this issue seems critical for anyone using the webview plugin. I think we can update the min Flutter version to 3.0.0 and use webview_flutter: ^4.0.0.


WAT does not seem to work with Godot 3.6.3 on Linux

It does not recognize my tests in arena.test.gd script that I have put into tests directory, according to instructions:
extends WAT.Test

func test_proba() -> void:
	asserts.is_true(1 == 1)

Hmm, could it be because of case sensitive file names? If you were developing on Windows maybe you did not pay attention to the case used in filenames? I am getting some errors in the command line when running godot, like:
ERROR: load: Cannot load source code from file 'res://addons/WAT/ui/scripts/GUI.gd'.
And indeed the file is named gui.gd, not GUI.gd

Both Godot and Git are terrible with cached names so this problem comes up from time to time. Did you change your local copy to the correct filename and check?

It's happening on Linux because the file system is case sensitive. The script is looking for GUI.gd but the file is named gui.gd. Renaming the file allows WAT to run normally.
No issue on Windows because the file system is not case sensitive.

Renaming the file to GUI.gd allows WAT to run under linux.

Should be resolved by 40431c5be2f349376379da75287e92e53cd519cb.


Add EWMA algorithm

This PR extends dynamic upstreams. It adds EWMA as a configurable load balancing algorithm.
Currently round-robin is the only fully implemented load balancing algorithm. Having configurable load balancing algorithms allows apps to use specific algorithms based on their business logic requirements.
Fixes: https://github.com/Shopify/edgescale/issues/349
@Shopify/edgescale

I tested this code locally and the ewma load balancing algorithm seems to be working. Here's the output of several curls request when I have 3 replica pods of my service:
2018/03/08 21:57:30 [info] 30#30: *182 [lua] balancer.lua:105: call(): current peer is set to <IP_ADDRESS>:8081 while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "HEAD / HTTP/1.1", host: "traffic-misc.com"
2018/03/08 21:57:30 [info] 30#30: *182 client <IP_ADDRESS> closed keepalive connection
2018/03/08 21:57:31 [info] 30#30: *184 [lua] balancer.lua:105: call(): current peer is set to <IP_ADDRESS>:8081 while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "HEAD / HTTP/1.1", host: "traffic-misc.com"
2018/03/08 21:57:31 [info] 30#30: *184 client <IP_ADDRESS> closed keepalive connection
2018/03/08 21:57:31 [info] 30#30: *188 [lua] balancer.lua:105: call(): current peer is set to <IP_ADDRESS>:8081 while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "HEAD / HTTP/1.1", host: "traffic-misc.com"

Do we want to reorganize the balancer.lua file so that it mirrors nginx-routing-modules balancer.lua file?
It seem's to be architected better for multiple lb algorithms compared to the current implementation here.

Do we want to reorganize the balancer.lua file so that it mirrors

@zrdaley we can do it in another PR. Let's produce a working version first. But you can create balancer folder and and move ewma.lua into it.

@ElvinEfendi I made the requested changes; this branch is ready for review again.

This is looking good now for the first version!
Please squash your commits.

Should I wait for another review or no?

Here is the diff with EWMA from nginx-routing-modules:
> ingress-nginx ((HEAD detached at fork/ewma))$ diff -u ~/workspace/nginx-routing-modules/lua/balancer/ewma.lua rootfs/etc/nginx/lua/balancer/ewma.lua
--- /Users/elvinefendi/workspace/nginx-routing-modules/lua/balancer/ewma.lua	2017-11-14 07:35:35.000000000 -0800
+++ rootfs/etc/nginx/lua/balancer/ewma.lua	2018-03-13 08:59:10.000000000 -0700
@@ -1,84 +1,19 @@
-local resty_lock = require "resty.lock"
-local split = require("util.split")
+-- Original Authors: Shiv Nagarajan & Scott Francis
+-- Accessed: March 12, 2018
+-- Inspiration drawn from:
+-- https://github.com/twitter/finagle/blob/1bc837c4feafc0096e43c0e98516a8e1c50c4421/finagle-core/src/main/scala/com/twitter/finagle/loadbalancer/PeakEwma.scala
+
+
+local resty_lock = require("resty.lock")
 local util = require("util")
-local statsd = require("statsd")
-local timer = require("util.timer")
-local startswith = util.startswith
-local _M = {}

 local DECAY_TIME = 10 -- this value is in seconds
 local LOCK_KEY = ":ewma_key"
-local ewma_lock = resty_lock:new("balancer", {timeout = 0, exptime = 0.1})
-local STATSD_BALANCER_EWMA_LOCK_FAILURE  = "nginx.balancer.ewma_lock_failure"
-local STATSD_BALANCER_EWMA_UPDATE_SKIP  = "nginx.balancer.ewma_update_skip"
-local STATSD_BALANCER_EWMA_VALUE  = "nginx.balancer.ewma"
-local MONITOR_INTERVAL = tonumber(os.getenv("MONITOR_INTERVAL") or '1.0')
 local PICK_SET_SIZE = 2

---
--- Hot Target is a very low level facility that can be used for stress testing
--- upstream peers. It works by adjusting internal EWMA variables in order to
--- direct more (or less) traffic to a specific upstream peer.
---
--- To use it, use HTTPDB to set the following values in the `balancer_ewma`
--- shared dictionary:
---
--- `hot_target`: This is the name of the upstream target. It's usually an IP
--- address and port (<IP_ADDRESS>:443, for example).
---
--- `hot_target_pick_percentage`: This is a value between 0-1 that determines how
--- likely the target will be picked as one of the two "power of two choices"
--- peers. The higher the number, the more likely the peer will override the
--- value selected by the P2C algorithm.
---
--- `hot_target_score_weight`: This value will be multiplied by the total round
--- trip time (rtt) that is used to calculate the score. A value of 1 will not
--- modify the score. A value of 0.5 will cut the score in half, thereby
--- increasing the likelihood that the peer will be selected as a target in
--- future balance decisions. A value higher than 1 will artificially increase
--- the score, causing the peer to be selected less.
---
--- ALL of the variables must be set in order for hot target mode to be
--- activated.
---
-local hot_target
-local hot_target_pick_percentage
-local hot_target_score_weight
-
-local function clear_hot_target()
-  hot_target = nil
-  hot_target_pick_percentage = nil
-  hot_target_score_weight = nil
-end
-
-local function update_hot_target()
-  hot_target = ngx.shared.balancer_ewma:get('hot_target')
-  hot_target_pick_percentage = ngx.shared.balancer_ewma:get('hot_target_pick_percentage')
-  hot_target_score_weight = ngx.shared.balancer_ewma:get('hot_target_score_weight')
-
-  -- All values must be set for this to work
-  if not hot_target or not hot_target_pick_percentage or not hot_target_score_weight then
-    clear_hot_target()
-    return
-  end
-
-  if type(hot_target) ~= "string" or type(hot_target_pick_percentage) ~= "number" or type(hot_target_score_weight) ~= "number" then
-    clear_hot_target()
-    return
-  end
+local ewma_lock, err = resty_lock:new("locks", {timeout = 0, exptime = 0.1})

-  if hot_target_pick_percentage > 1 or hot_target_pick_percentage < 0 or hot_target_score_weight < 0 then
-    clear_hot_target()
-    return
-  end
-end
-
-local function peer_index(peer, peers)
-  for i = 1, #peers do
-    if peers[i].name == peer then return i end
-  end
-  return nil
-end
+local _M = {}

 local function lock(upstream)
   local _, err = ewma_lock:lock(upstream .. LOCK_KEY)
@@ -86,7 +21,6 @@
     if err ~= "timeout" then
       ngx.log(ngx.ERR, string.format("EWMA Balancer failed to lock: %s", tostring(err)))
     end
-    statsd.increment(STATSD_BALANCER_EWMA_LOCK_FAILURE, 1, { upstream = upstream })
   end

   return err
@@ -117,7 +51,6 @@
   end
   local ewma = ngx.shared.balancer_ewma:get(upstream) or 0
   if lock_err ~= nil then
-    statsd.increment(STATSD_BALANCER_EWMA_UPDATE_SKIP, 1, { upstream = upstream })
     return ewma, lock_err
   end

@@ -136,8 +69,12 @@
   return ewma, nil
 end

+
 local function score(upstream)
-  return get_or_update_ewma(upstream.name, 0, false)
+  -- Original implementation used names
+  -- Endpoints don't have names, so passing in IP:Port as key instead
+  local upstream_name = upstream.address .. ":" .. upstream.port
+  return get_or_update_ewma(upstream_name, 0, false)
 end

 -- implementation similar to https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
@@ -155,15 +92,6 @@

 local function pick_and_score(peers, k)
   shuffle_peers(peers, k)
-
-  if hot_target then
-    local hot_index = peer_index(hot_target, peers)
-    -- TODO: The pick percentage is only accurate when k == 2
-    if hot_index and hot_index > k and hot_target_pick_percentage > math.random() then
-      peers[k], peers[hot_index] = peers[hot_index], peers[k]
-    end
-  end
-
   local lowest_score_index = 1
   local lowest_score = score(peers[lowest_score_index])
   for i = 2, k do
@@ -172,20 +100,9 @@
       lowest_score_index, lowest_score = i, new_score
     end
   end
-
   return peers[lowest_score_index]
 end

-local function ewma_to_statsd()
-  local ewma_upstreams = ngx.shared.balancer_ewma:get_keys(0)
-  for _, upstream in ipairs(ewma_upstreams) do
-    if not startswith(upstream, 'hot_target') then
-      local ewma = get_or_update_ewma(upstream, 0, false)
-      statsd.gauge(STATSD_BALANCER_EWMA_VALUE, ewma, { upstream = upstream })
-    end
-  end
-end
-
 function _M.balance(peers)
   if #peers == 1 then
     return peers[1]
@@ -195,26 +112,16 @@
 end

 function _M.after_balance()
-  local response_time = tonumber(split.get_first_value(ngx.var.upstream_response_time)) or 0
-  local connect_time = tonumber(split.get_first_value(ngx.var.upstream_connect_time)) or 0
+  local response_time = tonumber(util.get_first_value(ngx.var.upstream_response_time)) or 0
+  local connect_time = tonumber(util.get_first_value(ngx.var.upstream_connect_time)) or 0
   local rtt = connect_time + response_time
-  local upstream = split.get_first_value(ngx.var.upstream_addr)
+  local upstream = util.get_first_value(ngx.var.upstream_addr)

   if util.is_blank(upstream) then
     return
   end
-
-  if hot_target == upstream then
-    rtt = rtt * hot_target_score_weight
-  end
-
+
   get_or_update_ewma(upstream, rtt, true)
 end

-function _M.init_worker()
-  timer.execute_at_interval(MONITOR_INTERVAL, false, ewma_to_statsd)
-  timer.execute_at_interval(MONITOR_INTERVAL, true, update_hot_target)
-  return true, nil
-end
-
 return _M

We can reconsider adding monitoring back in later iterations. hot_target can still be a thing but it can be discussed later if it will have value in cloud environment.

We should also reset the state of EWMA when we sync a backend. But since the current implementation does not scope the state by backend we can not really reset it per backend. Therefore I suggest for now we flush balancer_ewma and balancer_ewma_last_touched_at in sync_backend function if the backend["load-balance"] is ewma. Also include a TODO there to make sure we get back to it in next iteration and make the state per backend.

Should I wait for another review or no?

since this is an experiment you can go ahead and merge, we can come back and address Scott's feedbacks if any.


⚠ ClamAV has degraded performance

In 5f78f52, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 602 ms

Resolved: ClamAV performance has improved in 11d21b0.


Show the repo count in code tab on both user profile and org page.

as title
Screenshot before
User Profile page

after

Org page

Ready for review

@denyskon  Could you approve this. If you are around.

Need one more approval to merge.
🚀

🚀

I was unable to create a backport for 1.20. @puni9869, please send one manually. :tea:
go run ./contrib/backport 27048
...  // fix git conflicts if any
go run ./contrib/backport --continue

@silverwind  @lunny  could you send the backport on my behalf, I have not sufficient permissions.


NPCs have incorrect castLevel flags when casting spells

PC spellcasting works.

I cannot repro. I am suspecting modules, but we can entertain something is wrong.
What spellcasting type? Prepared? Spontaneous? Innate (I tested innate)?
How are you casting it? Item icon? The Cast Button?

Alright, repro'd. Its an issue with prepared in general. Happens for PCs too.


Shot History enhancements

it would be nice to see the temperature and the additional comments in the shot history. Also the GH/KH of the used water if/when this will be implemented.

From https://github.com/erikng/Agile-Brewing-Issues/issues/13#issuecomment-1212063387

This will be in v1.1


⚠ SceneTime has degraded performance

In 7185489, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2069 ms

Resolved: SceneTime performance has improved in 474ad05 after 10 minutes.


Paste from Windows (platform) clipboard?

This is a personal copy of an issue I submitted upstream:

Paste from Windows (platform) clipboard? · Issue #652 · veonim/veonim

The most recent suggestion for looking into this:

Could try the bundled nvim binary to see if it works with the clipboard. I think the binary is inside the binaries folder.

In the Neovim window I ran from the bundled nvim.exe, the normal mode command "*p worked. I checked Veonim again and the same command doesn't work in it.

I updated the upstream issue.


Same CLI query (az resource list) returns different results in cloud shell vs. local

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az resource list
Errors:
Local results fewer than identical query run in cloud shell.

The query run locally (including in GitHub hosted Actions runner) does not return Microsoft.Compute/virtualMachines or Microsoft.network/networkInterfaces resources that are in the RG. The same query run in cloud shell does return those resources.

To Reproduce:
Using Azure CLI 2.34.1 in both local (WSL2, Ubuntu 20.04) and cloud shell.
This exact query:
az resource list --subscription "4ca1851f-9d7a-456e-b346-1709991ecaff" -g "pz-vm-prod-eastus2" -o tsv --query '[].id'

Returns fewer results locally than in cloud shell.
Expected Behavior
Local returns all results in resource group, matches cloud shell output.
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer:

azure-cli 2.34.1

Additional Context
Also I did the following repeatedly locally:
az logout
az cache purge
az account clear
and deleted ~/.azure.
Also note that I updated my computer to Python 3.10 x64, but az --version output in WSL2 still shows Python x86 3.8.9.
Adding files:

rg.png - showing the contents of the resource group in question, with hidden resources displayed
local.png - local az cli query output
cloud_shell.png - cloud shell az cli query output
az_version_local.png - local az --version
az_version_cloud_shell.png - cloud shell az --version
local_debug.txt - local az cli query output with --verbose --debug

local_debug.txt

ARM

Hi @plzm, I tried in local (azure-cli 2.35.0) and cloud shell (azure-cli 2.34.1) and didn't reproduce the problem.
Could you share the command of creating the resources? Thanks.

Hi @cxznmhdcxz, thank you for the update!
The VM in question was rolled out using this ARM template:
https://raw.githubusercontent.com/plzm/azure-deploy/main/template/vm.linux.json
It was rolled out in this GitHub Actions workflow run:
https://github.com/plzm/azure-vm-disk-swap/runs/5770013219
Why would an artifact of the VM, though, yield different az CLI output on two different platforms, in both cases querying for the identical VM?

Also: I was able to successfully retrieve the VM using an az graph query instead. This works:
az graph query -q 'Resources | where type =~ "microsoft.compute/virtualmachines"'


Added a workaround for an xunit multiple enumerate issue.

PR Details
Solidified the results of an enumerable to fix a failure due to xunit enumerating the enumerable multiple times.
This is being added as a pull request in a very strange place, I hope it's OK with you that I make this towards your personal fork.
Description
The enumerable used in these cases is mutation (pretty much GetConsumingEnumerable from a blocking collection). However, with a change in xunit the Assert.Equal method now enumerates collections multiple times. The first enumerate gets the items, then the second fails because there's nothing left to give.
To work around this, the collections are now solidified before being compared, so multiple enumeration is no longer an issue.
The solidification method could be ToArray, I did verify it can work with either (It's checking items, not wrapper types).
Related Issue
https://github.com/xunit/xunit/issues/2402
Motivation and Context
It fixes the unit tests.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Sure, this is fine, thanks a bunch !


Support for custom delimiters in KaTeX

I tried to use a custom delimiter $$, when I use this with automatic rendering this works but when I use renderToString I get a Parse error.
Thanks in anticipation

renderToString expects to be given a math expression, so not wrapped by $s.  Could you give more context of how you're using it?

I'm using Preact and i'm trying to render a math equation gotten from a MongoDB so when i use renderToString it gives a Parse Error when i use the $$. Thanks for the info 👍

Thanks, i finally got it. I hooked up the auto-render on the componentDidUpdate's hook of a component


Implicitly call toString with string concatenation

Consider the following example:
class X {
  toString() { return ""; }
}

console.log( "a" + new X)

This fails with:
  5: console.log( "" + new X )
                           ^ X. This type is incompatible with
  5: console.log( "" + new X )
                  ^^^^^^^^^^ string

I understand that implicit conversions can be a source of mistakes, but in a case where a user-defined class explicitly implements a toString method, such a concatenation doesn't seem to risky.

fwiw I'd favor encouraging the explicit .toString() call

I'm inclined to agree with @jaredly. In our experience, implicit casts are more often than not unintended. However, we do permit a number of implicit casts. Flow accepts 100 + '%', for example.
What we really need to reconsider this choice is a compelling argument that this implicit cast represents a common JS idiom, such that allowing it would help Flow to understand more idiomatic JS code.
I appreciate the minimal example code in the original issue, but think it is insufficient to reconsider this tradeoff. A more complete example is needed here.
Thanks!

@samwgoldman and @jaredly. Notice for you, that @adrianheine right here and this issue is correct.
Please follow to https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/toString and find

Every object has a toString() method that is automatically called when the object is to be represented as a text value or when an object is referred to in a manner in which a string is expected.

Ok, maybe default behaviour ("[object Object]") not correct. But developer can override this method and return custom string. Very popular example is Mongodb ObjectID method:
ObjectID() // {_bsontype: "ObjectID", id: Buffer[12]}
`${ObjectID()}` // "57e8f815f183c94e2bd340d0"

Flow should try to find custom toString method and make sure, that it returns string.  It means, that developer setup custom stringify behaviour for object and it is correct.

@darky all kinds of things are valid JS that flow disallows :) it's all about enforcing conventions. If you want to rally support for this, though, go right ahead. I haven't (intentionally) used this js "feature" super often, but maybe other people do

For now we are going to keep this behavior. If anyone has a strong usecase for why this would be useful let us know 😊
Otherwise we are going to assert our opinion 👍


use nz-form occurs No value accessor for form control with name: 'username'

Version
0.7.0-beta.5
Environment
Google Chrome 65 , win 10, Angular 6
Reproduction link
https://ng-zorro-antd-setup.stackblitz.io
Steps to reproduce
when i use the same codes from form component in ng-zorro docs (https://ng.ant.design/#/components/form),
something wrong occurs,it seems like that can't use formControlName on nz-input. also can find that in material issues,but i can find the way to solve out.
In html,

          <nz-input formControlName="userName" [nzPlaceHolder]="'Username'" [nzSize]="'large'">
            <ng-template #prefix>

            </ng-template>
          </nz-input>

Please input your username!

          <nz-input formControlName="password" [nzType]="'password'" [nzPlaceHolder]="'Password'" [nzSize]="'large'">
            <ng-template #prefix>

            </ng-template>
          </nz-input>

Please input your Password!

In ts,
this.validateForm = this.fb.group({
      userName: [ null, [ Validators.required ] ],
      password: [ null, [ Validators.required ] ],
      remember: [ true ],
    });

What is expected?
No errors
What is actually happening?
error: No value accessor for form control with name: 'username' && No value accessor for form control with name: 'password'
Other?

please provide valid repro link

@wmhh1129 you should use formControlName under formGroup, like this
<form [formGroup]="form">
  <input formControlName="first" [(ngModel)]="value">
</form>

i know that，formControlName is under formGroup in my code，but i didn't show you，i think i know why  makes mistakes，because of the version of ng-zorro，0.7 and 0.6 hava different kinds of style of html tags。


F7 Player Tab can no longer be sorted

Description
I recently noticed that the players tab in the F7 menu can no longer be sorted after things like Antag Status, Names or playtime. Any input does not get accepted.

Something to do with MoveStoredItem action, rebinding it or changing priority (as in #22356) fixes it.


The Slow refactor and Publish addition

This PR will aim to do the following:

[ ] Proper Sassify the SCSS for best build practices with SASS
[ ] Add conformity to the dev docs
[ ] Add basic Publish support, with Publish specific fixes

The first two commits do the following:

[ ] Change foundation to foundations, as this is what the dev docs has. https://docs.obsidian.md/Reference/CSS+variables/Foundations/Borders
[ ] Change @import to @use. If you use @import in multiple files, it adds the content over and over. Example, import in _foundations.scss, and again in theme.css, will make the items pulled duplicate needlessly. @use intelligently only keeps one copy, resulting in a smaller file.

https://github.com/dbarenholz/halcyon-obsidian/pull/16/commits/dfa6dfdda40230e9eda02f763476071948f57e9c Will properly mark all relevant files as partials. It wasn't fun loading this up and having a bunch of unneeded CSS files show up. :rofl:
https://sass-lang.com/documentation/at-rules/import/#partials

https://github.com/dbarenholz/halcyon-obsidian/pull/16/commits/407b523b271e2ea45f019c1cbb7fa35de6b7182f Adds Publish components. Please note the fix I submitted to dev docs. https://github.com/obsidianmd/obsidian-developer-docs/commit/bb41e883e41edd3540de6bd923cb813b8495473b

https://github.com/dbarenholz/halcyon-obsidian/pull/16/commits/ca441e5909c8cd27d9da87c08577af7364f20448 Adds the missing variables, but commented out so they won't be built. I found many an ustyled instances that way.

Based on this, I do not think we should try to add anything for RTL. We don't have a good way to test for anything breaking. https://docs.obsidian.md/Plugins/User+interface/Right-to-left#Obsidian+CSS+helpers+and+rules+for+RTL

https://github.com/dbarenholz/halcyon-obsidian/pull/16/commits/baa5c5ce7a5976d2b5b5f8ca768c21931ad51152 Adds the base items needed to make Publish work and look like Halcyon.

https://github.com/dbarenholz/halcyon-obsidian/pull/16/commits/16f7a439026a9685691442a4c63d3dad2c02f552 Turns out dev docs forgot to make some changes


Digest Authentication & CookJar Issue

Guzzle doesn't pass along the cookies when using Digest authentication.
This has been causing issues with some of our applications. I'm working on a fix at the moment I'll probably post it here once I have it.

I believe #1455 is a duplicate of this.


mhchem 3 - wrong sub/sup alignment sans-serif

With new mhchem (3.0.2) implementation there is a wrong alignment issue, see:
https://jsfiddle.net/8ww1cf90/7/

This is, in fact, the correct placement.  The LaTeX version of your expression produces the same result:

The new version of the mhchem extension is more faithful to the original LaTeX version (in fact, it was rewritten by the author of the LaTeX package).
I believe that the expression you want is
\ce{H^{I}Cl, H2^{I}O, H2^{I}SO4, NaOH^{I}}


Painfully slow stream

I use the HomeKitCam on my computer with a microsoft Cinema camera and it works perfect.
No i try to do the same thing with my raspberry pi and the picam and get painfully slow laggs on the stream i talking about one second in real time takes 20 seconds to watch in the home kit app
I have tried to change the ffmpegCommand params without result. is it really possible to stream  with ffmpeg and raspberry pi Model B?
/Adam

Hi Adam,
Good to see this solution working fine on a powerful device (like a PC)!
However, the problem you describe is exactly the same problem I'm currently having. I haven't been able to look at it for a while now, but it appears that the Raspberry Pi (even the Pi 3) just isn't powerful enough to handle the streaming video in combination with the encryption needed for HomeKit.
We obviously can't make the Pi more powerful (we can in fact overclock it, but I don't think that would solve this problem and it will potentially harm destroy your Pi), so the remaining solution would be to make the whole process less resource-intensive. I have already tried to cut down the resources to a bare minimum (using ffmpeg/avconv directly to handle the video stream as opposed to e.g. using the VLC-libraries to stream video, using a lower than optimal resolution/bitrate), but to no avail.
There might be something I'm overlooking, so any suggestions / solutions are welcome!

Good to hear that it is not just me who have that problem.
I understand that raspi is not the most powerfull device. I was hoping that araspberry pi 3 would solve that issue but according to you even raspi3 have not that much power.
However motion manage to work around that problem somehow. I dont know if that use ffmepg or something else but they manage to squeeze a good picture in 640x480 with a framerate about 5fps.
I tried to add the -r 5 flag to the command but did not anything better. I am not that good with ffmpeg ( or video for that matter ) but maybe you have better luck with the framerate.

Didel have you trided https://github.com/phoboslab/jsmpeg ?
I have trided https://github.com/waveform80/pistreaming with my raspi and it work good without bigger delays.

Thanks for the suggestion! It looks like a nice solution to experiment with anyways!
At this moment though I'm in the middle of moving, so my Pi's are already packed up in moving boxes 📦 Feel free to give it a try and supply a Pull Request if you got something working. I'll do so myself as well, but that probably won't be until the beginning of June.

I tested the code using ffmpeg with h264_omx compiled with a Pi Cam1 on a Pi3, CPU are greatly spreaded to 4 cores @ 10~20% load.
I think the delay looks more like the buffering side from the iOS Home app itself than the code of HomeKitCam.

A bit of update, no, it is NOT buffering on iOS Home app side, I do not see much buffer nor delay when I use ffmpeg h264_omx, it is like 0.5s buffer or less.


Feature mousin/mouseout not fired during pan momentum and zoom

@manthey I think this is resolved?

If a point passes under the mouse because of momentum, the events are not fired.  This is still an issue.


Upstream mom6 updates and applying patches

Preparing MOM6 updates to such we can update to the latest MOM-Ocean version and apply our patches.

:rocket: The latest prerelease access-om3/pr23-3 is here: https://github.com/ACCESS-NRI/ACCESS-OM3/pull/23#issuecomment-2530015780 :rocket:

!bump minor

Hey, due to https://github.com/ACCESS-NRI/build-cd/issues/173 we have had to update the infrastructure in this repository, as well - see https://github.com/ACCESS-NRI/ACCESS-OM3/pull/28.
We try and keep these kinds of updates to a minimum, and, starting from this one onwards, it will no longer be a hard requirement to update PR branches to incorporate infrastructure changes in order for the infrastructure to work - as you need to for this one.
To update this PR to the new origin/main, do the following:
git pull
git rebase origin/main
git push --force

to incorporate CI changes into the PR.
Your PR may redeploy, but that is okay - it should be identical to the last deployment. Let me know if you have any questions or issues.

Closing as it's easier to start again given the infrastructure and change of approach changes.


New rulings from Isaac

Implement and post summaries on BGG thread.

https://boardgamegeek.com/thread/3001013/article/44683827#44683827


Update the MixedRealityPreferences to explicitly provide a SettingScope

Interestingly enough this appears to be the only compile-time incompatibility
with Unity 2019.1. 2019.1 support in the MRTK is still highly experiemental
but with this change the UWP should build (and be deployable to HL2)
Also note that this change doesn't affect 2018.3 behavior, see:
https://github.com/Unity-Technologies/UnityCsReference/blob/2018.3/Editor/Mono/Settings/SettingsProvider.cs
vs
https://github.com/Unity-Technologies/UnityCsReference/blob/2019.1/Editor/Mono/Settings/SettingsProvider.cs
The constructor for this object used to default to SettingsScope.Project
2019.1 removed the default (for the second parameter only).
https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/3951

/azp run mrtk_ci


[WIP][SPARK-29164][SQL] Rewrite coalesce(expression, BooleanLiteral) make it more suitable for filter pushdown

What changes were proposed in this pull request?
Coalesce is not eligible for DataSource / Parquet filter pushdown.
Rewrite  coalesce(expression, BooleanLiteral)  to  boolean make it more suitable for filter pushdown.
Why are the changes needed?
Better for some special case when filter push down.
Does this PR introduce any user-facing change?
no
How was this patch tested?
ADD UT

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I haven't reviewed in detail yet, but here's some initial feedback:

Nice advise, I will do this.  thanks a lot.

As my first impression, this is a bit corner case for optimization... if we add these kinds of niche optimizations, the number of the rules explodes. cc: @gatorsmile @viirya

Yeah, this is too corner case, I think.

@viirya @maropu
Yeah, a little corner case. Add this method to ISSUE Comment, and advise user to add this to SparkSessionExtension may be better?


[CT-349] Add test for load_dataframe

While working on https://github.com/dbt-labs/dbt-bigquery/pull/121 the contributor noticed that similar funcitonality of load_dataframe did not contain any integration testing these should be built and a good framework could be from the mentioned PR.
Additional context
Should have capability to test that dataframes are loaded and can pull down information
Who will this benefit?
all who use load_dataframe to add files to their project to insure stability of funcitonality.

The load_dataframe method is used for seeds on BigQuery:
https://github.com/dbt-labs/dbt-bigquery/blob/a426d3aaee7cb2b642fc0cbfe421d785c67529e3/dbt/include/bigquery/macros/materializations/seed.sql#L13-L14
Still, I'm sure we can always use more tests :)


Not dropping table for incremental full refresh with delta

resolves 286
Description
Since the spark__create_table_as implementation already runs create or replace table if the file format is delta, this PR disables dropping the table first in this case. The advantage being that it will preserve grants on the table, in addition to it simply being unnecessary.
Checklist

[X] I have signed the CLA
[X] I have run this code in development and it appears to resolve the stated issue
[X] This PR includes tests, or tests are not required/relevant for this PR
[X] I have updated the CHANGELOG.md and added information about my change to the "dbt-spark next" section.

@cla-bot check:

https://github.com/dbt-labs/dbt-spark/issues/286

@cla-bot check:

@cla-bot check:

@McKnight-42 Updated the code. Let me know if there's anything else you'd like me to do.

@grindheim for some reason the unit test didn't kick off and looks like we might need to now also update to main to take get access to our newly added black formatter and pre-commit functionality in-order for the code-quality check to pass. i'm hoping doing this will trigger both tests if not I'll keep looking into why the unit test didn't trigger. sorry for any inconvenience.

Just going to push up an empty commit to trigger CircleCI tests


SOLR-15819 spurious failures from TestCircuitBreaker.testResponseWithCBTiming

https://issues.apache.org/jira/browse/SOLR-15819

Description
As proposed on the dev list (https://lists.apache.org/thread/xhsrr6ksc5y11t29zz60oglw8ymkrwtf), PR to remove this problematic test.
Solution
Please provide a short description of the approach taken to implement your solution.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[x] I have added tests for my changes.
[x] I have added documentation for the Reference Guide

thanks @epugh!


Save/ Load Dict

There is a handy function to create a dict from a set of files (which could happen inside build.rs).
I have not found a good way to save the dict and bake it into the executable though.
The official zstd way seems to be 'zstd --train' but maybe this crate can do better and remove the need of a separate tool?

thanks for the quick response, it was actually me not reading carefully enough... I assumed from_files would return a dict (not sure why I did assume that 😆 ).
Sorry for the wrong issue :)


Avoid stripping "." from hidden context paths

Fixes
https://issues.redhat.com/browse/RHTAPBUGS-463

Description
Fix context path regex to only remove leading ./ for git urls.
Updated regex: https://regex101.com/r/bKQsRG/1

Type of change

[ ] Feature
[x] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Screen shots / Gifs for design review

How to test or reproduce?
Use git url with context path starting with "."

Browser conformance:

[ ] Chrome
[x] Firefox
[ ] Safari
[ ] Edge

/retest

/retest

/retest

/retest


Validate Transaction before adding to mempool by connecting all transactions w/ higher fee rate

Current dependencies on/for this PR:

#1081
#1080  👈
feature/pos-networking-and-syncing

This stack of pull requests is managed by Graphite.


Add a method used to modify activityIndicator's color.

Sometimes, I just want to change ActivityIndicatorView 's color, I have not found an easy way.So, I add this property.i have noticed that "Use UIAppearance to customize UIActivityIndicatorView." clew, I follow this noticed to change ActivityIndicatorView 's color still need to write a lot of code.

You should be able to do that using UIAppearance.

How to do? I don't know. Can u give me a simple demo
韦明杰

在 2016年5月6日，13:19，Matej Bukovinski<EMAIL_ADDRESS>写道：
You should be able to do that using UIAppearance.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

There was a slight bug here. Fixed in f663584.


Facebook widget android.

I am looking for a replacement for Facebook widget on my android.  Is this a feature that is being investigated

It's so hard to find a messenger widget too. Just want recent conversations listed on my home screen.


Integrate building with BuildBuddy

What is the goal of this PR?
Migrate from RBE to BuildBuddy
What are the changes implemented in this PR?
Update URLs for builds to be executed on BuildBuddy

Superseded by #103


SpringArm(x)D should also update children's  transform at editor time

Tested versions
v4.4.dev
System information
Godot v4.4.dev (a5830f6eb) - Windows 10.0.22621 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3080 (NVIDIA; <IP_ADDRESS>85) - 12th Gen Intel(R) Core(TM) i9-12900K (24 Threads)
Issue description
Currently, the children of SpringArm3D component, only update their transform at runtime. And if I modified the properties (spring_arm_length...) of SpringArm3D, the children(for example a camera node), which will be inconsistent about the transform from editor preview to real play in game.
Steps to reproduce

Minimal reproduction project (MRP)
--

This is really more of a proposal, and solving this is pretty complicated and would introduce various potential problems as physics doesn't run in the editor, it'd also need to be something you opt-in for or it'll break existing workflows IMO
I'd suggest opening a proposal instead as that's more suited to this as this is a potentially missing feature and not a bug


Yes

Yes


Hitting Github API rate-limiting on storybook

When debugging in the storybook locally (and probably in the deployed version to radix also) I quickly hit the Github API rate limit.
Do you have a way of working locally that don't pull the esv-intersection-data from github?
If not, would you consider adding a flag or some way to get the app to work without hitting Github while developing?

Hi @ooystein, we recently merged a pull request for this (#258 ), in the file .storybook/src/api/index.ts there is a commented line that will export mock data.

The mock data from apiMock.ts seems to be lacking. It makes it very hard to create a bug report when I cant create edit the mock data or the mock data is not available. Any suggestions? Maybe you have a clever way I haven't tried.

@ooystein , it is true, we are lacking in proper mocked data. Could you elaborate when you say you can't edit the mock data?
We do have to revise how we fetch data and serve it to storybook or any other hosted demos

I'm trying to make a branch to reproduce a bug. To demonstrate the bug I need to have some mock data. And easiest way would be if I could edit the mock data the repository already is using. But when the mockdata is lacking, and the good mock data from esv-intersection-data is unavailable due to github api rate limiting it's hard to cobble together an example.

@ooystein in order to edit the mock data and stage the changes you would need to remove the line ./storybook/src/exampledata/** from the gitignore file

we are using the data repo as a submodule, so this is no longer an issue


Enable printf-style parameter check for log() function

Add attribute ((format (printf, 2, 3))) to log() function
to enable printf-style parameter check.
Signed-off-by: Haibo Xu<EMAIL_ADDRESS>

@mato I have fixed the log() function issue #306 in this PR. Please help have a look.

@xiaobo55x Thank you for fixing this, including the invocations! The changes look fine. Would you mind rebasing this into a single commit and force-pushing the branch? Also, please mention in the commit log that you're also fixing the invocations to match the updated definition.

@mato Ok, will send a new PR soon!

Superseded by #308


fix(test/daser): stop the eds store before finishing the test

All tests that used TestAvailability were flaky. They could randomly receive tempdir remove all cleanup unlinkat directory not empty. It happened to me 100% time when I was running a test with --count > 50. It happened because the eds store was storing the data and the temp folder could not be deleted.

Codecov Report

Merging #2918 (84b9ae7) into main (a546dac) will decrease coverage by 0.91%.
Report is 178 commits behind head on main.
The diff coverage is 43.90%.

@@            Coverage Diff             @@
##             main    #2918      +/-   ##
==========================================
- Coverage   51.17%   50.27%   -0.91%
==========================================
  Files         157      167      +10
  Lines       10477    10806     +329
==========================================
+ Hits         5362     5433      +71
- Misses       4650     4887     +237
- Partials      465      486      +21

Files
Coverage Δ

cmd/celestia/bridge.go
100.00% <100.00%> (ø)

cmd/celestia/rpc.go
100.00% <100.00%> (+82.43%)
:arrow_up:

das/daser.go
64.83% <100.00%> (ø)

das/options.go
33.33% <100.00%> (+1.07%)
:arrow_up:

das/worker.go
92.56% <100.00%> (ø)

nodebuilder/header/config.go
53.96% <ø> (+6.34%)
:arrow_up:

nodebuilder/init.go
47.46% <100.00%> (+0.67%)
:arrow_up:

nodebuilder/module.go
85.71% <ø> (ø)

nodebuilder/node.go
58.57% <ø> (ø)

nodebuilder/p2p/addrs.go
75.00% <100.00%> (+4.72%)
:arrow_up:

... and 93 more

... and 11 files with indirect coverage changes


stripDublicates() can lead to outOfBound Exception

Example from C#:
The current implementation leads to outOfBounds Exception when the Path has the length of 1
if (cnt == 0) return result; (line 683)
could be changed to:
if (cnt < 2) return path; (or a new Path with the one Point)

ignore this issue :) the for loop should catch it, my error was originating from somewhere else


better androlyze

androlyze shell is quite neat but has a big problem: if you use it for example to search for stuff in apks, you often encounter generators and long lists or just objects and you have no string to search for them.
therefore it would be nice to have helperfunctions in androlyze.
I had a look at viper, which makes this really beautifully! Maybe we could improve on the apk module and have more androlyze shell functions there? @Rafiot what do you think about that? For example is it possible to spawn an ipython shell in viper? Like an androlyze inside viper?

It is currently not possible, but at some point, it might be good to have ipython as default console in viper.
No idea when I'll have time to work on it, but it is an interesting idea


Update go-cassandra-native-protocol dependency

IHAC that ran into an issue with what looks like a dependency issue in go-cassandra-native-protocol:
# github.com/datastax/cql-proxy/parser
/go/pkg/mod/github.com/datastax/cql-proxy@v0.1.4/parser/metadata.go:28:71: undefined: datatype.NewSetType
/go/pkg/mod/github.com/datastax/cql-proxy@v0.1.4/parser/metadata.go:46:71: undefined: datatype.NewSetType
/go/pkg/mod/github.com/datastax/cql-proxy@v0.1.4/parser/metadata.go:61:71: undefined: datatype.NewSetType
/go/pkg/mod/github.com/datastax/cql-proxy@v0.1.4/parser/metadata.go:73:71: undefined: datatype.NewSetType
/go/pkg/mod/github.com/datastax/cql-proxy@v0.1.4/parser/metadata.go:99:96: undefined: datatype.NewMapType
/go/pkg/mod/github.com/datastax/cql-proxy@v0.1.4/parser/metadata.go:130:87: undefined: datatype.NewListType
/go/pkg/mod/github.com/datastax/cql-proxy@v0.1.4/parser/metadata.go:131:87: undefined: datatype.NewListType

@absurdfarce FYI

Re-posting comments from analysis of the above from elsewhere.
Looks like the problem here is that the dependency on go-cassandra-native-protocol is pretty old now.  Specifically it's from before this commit which changes around a few function names.
If an application is using gocql-astra they'll bring in cql-proxy (for SCB handling) which in turn will bring in this older version of go-cassandra-native-protocol.  If the application in question is already using a more recent version of go-cassandra-native-protocol from somewhere else you could quite possibly wind up with the build errors referenced above.
Safest bet is probably to update cql-proxy to use the latest go-cassandra-native-protocol.
Longer-term we can also look at decoupling cql-proxy from gocql-astra along the lines of what's discussed here.

Note that there's a similar issue for astra-client-go.  cql-proxy currently brings in 2.2.9 of this lib while most recent is 2.2.48.

@synedra For the case which brought on this ticket the solution was to remove the explicit dependency on go-cassandra-native-protocol and use the version that comes in via cql-proxy by way of gocql-astra.  It's definitely both hacky and patchy but it should get you unstuck.
You'll likely have some code changes if you were using the most recent go-cassandra-native-protocol due to some changes to the API in versions between what cql-proxy brings along and whatever's on HEAD... but any such changes should be fairly minor.
cc @joao-r-reis


Allow for global ARG substitution between stages

See: https://github.com/moby/moby/issues/37345#issuecomment-400245466
While doing this I saw that the entrypoint on the image is different than docker (from Dockerfile of testdata/build-context/global-arg/Dockerfile):
Docker:
if [ -z \"$version\" -a \"$version2\" = \"v2\" ]; then echo \"This is correct\"; exit 0; else exit 1; fi
Makisu:
if [ -z \"$version\" -a \"v2\" = \"v2\" ] ; then echo \"This is correct\" ; exit 0 ; else exit 1 ; fi
Makisu should not do substitution in the CMD and ENTRYPOINT directive (as seen in the list here: https://docs.docker.com/engine/reference/builder/#environment-replacement)

Integration tests are failing until https://github.com/uber/makisu/pull/323 is merged.
I need the fix on ENTRYPOINT PARSING.

 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.

All committers have signed the CLA.

Weird that I had to sign this again...

Integration tests are failing but the test is ok on my end...
If anyone can rety them to confirm it's not a Travis error it would be great!

ha we were trying to copy docker's buggy behavior earlier.


Different result when data is trained with Mittie and spaCy + scikit-learn backend ?

I am getting two different result when data is trained using Mittie and spaCy + scikit-learn
Response of Mittie trained data
{
  "text": "Dear Customer, You have made a Debit Card purchase of INR 962.00 on 26 Oct. Info.VPS Brown House. Your Net Available Balance is INR 5,584.58.",
  "confidence": 0.21797336872859088,
  "intent": "parseSms",
  "entities": [
    {
      "start": 31,
      "end": 41,
      "value": "Debit Card",
      "entity": "cardType"
    },
    {
      "start": 42,
      "end": 53,
      "value": "purchase of",
      "entity": "transactionType"
    },
    {
      "start": 54,
      "end": 57,
      "value": "INR",
      "entity": "spendCurrency"
    },
    {
      "start": 58,
      "end": 64,
      "value": "962.00",
      "entity": "spendAmount"
    },
    {
      "start": 85,
      "end": 96,
      "value": "Brown House",
      "entity": "merchantsName"
    },
    {
      "start": 54,
      "end": 57,
      "value": "INR",
      "entity": "balanceCurrency"
    },
    {
      "start": 132,
      "end": 141,
      "value": "5,584.58.",
      "entity": "balanceAmount"
    }
  ]
}

Response of spaCy + scikit-learn trained data
{
  "text": "Dear Customer, You have made a Debit Card purchase of INR 962.00 on 26 Oct. Info.VPS Brown House. Your Net Available Balance is INR 5,584.58.",
  "confidence": 0.9703864081830181,
  "intent": "parseSms",
  "entities": [
    {
      "start": 0,
      "end": 13,
      "value": "Dear Customer",
      "entity": "cardType"
    },
    {
      "start": 13,
      "end": 18,
      "value": ", You",
      "entity": "cardType"
    },
    {
      "start": 19,
      "end": 28,
      "value": "have made",
      "entity": "cardType"
    },
    {
      "start": 29,
      "end": 41,
      "value": "a Debit Card",
      "entity": "cardType"
    },
    {
      "start": 42,
      "end": 53,
      "value": "purchase of",
      "entity": "transactionType"
    },
    {
      "start": 54,
      "end": 57,
      "value": "INR",
      "entity": "balanceAmount"
    },
    {
      "start": 58,
      "end": 64,
      "value": "962.00",
      "entity": "cardNumber"
    },
    {
      "start": 65,
      "end": 67,
      "value": "on",
      "entity": "balanceCurrency"
    },
    {
      "start": 68,
      "end": 70,
      "value": "26",
      "entity": "balanceCurrency"
    },
    {
      "start": 71,
      "end": 75,
      "value": "Oct.",
      "entity": "spendCurrency"
    },
    {
      "start": 76,
      "end": 80,
      "value": "Info",
      "entity": "accountNumber"
    },
    {
      "start": 80,
      "end": 81,
      "value": ".",
      "entity": "balanceAmount"
    },
    {
      "start": 81,
      "end": 84,
      "value": "VPS",
      "entity": "dueCurrency"
    },
    {
      "start": 85,
      "end": 90,
      "value": "Brown",
      "entity": "spendCurrency"
    },
    {
      "start": 91,
      "end": 96,
      "value": "House",
      "entity": "limitAmount"
    },
    {
      "start": 96,
      "end": 97,
      "value": ".",
      "entity": "cardNumber"
    },
    {
      "start": 98,
      "end": 106,
      "value": "Your Net",
      "entity": "cardNumber"
    },
    {
      "start": 107,
      "end": 116,
      "value": "Available",
      "entity": "dueCurrency"
    },
    {
      "start": 117,
      "end": 124,
      "value": "Balance",
      "entity": "cardNumber"
    },
    {
      "start": 125,
      "end": 127,
      "value": "is",
      "entity": "cardNumber"
    },
    {
      "start": 128,
      "end": 131,
      "value": "INR",
      "entity": "limitCurrency"
    },
    {
      "start": 132,
      "end": 140,
      "value": "5,584.58",
      "entity": "rdAccountNumber"
    },
    {
      "start": 140,
      "end": 141,
      "value": ".",
      "entity": "balanceCurrency"
    }
  ]
}

In my case Mittie results are more accurate but it's taking too long time to train data (24 hours type), where as spaCy + scikit-learn train the data in less than a minute.

This is expected. The underlying libraries use different models for entity recognition.
For the spacy backend a suggested amount of training data per entity is around 5000 samples (see https://github.com/explosion/spaCy/issues/773). Hence it might very well be that spacy is faster but bad and mitie is slow but might perform better on your data.


⚙ chore: Migrate to monorepository (#211)

‼ Breaking Changes ‼
No breaking changes to the library just to the development process.

📗 Description
Migrate to the monorepository.
☑ Checklist

[X] I've labeled the type, i.e. type: feature or type: bugfix
[X] I've labeled the semver, i.e. semver: major, semver: minor or semver: patch
[X] This change adds tests for new/changed/fixed functionality & doesn't decrease the test coverage
[X] The correct base branch is being used, if not main

Completes #211


cannot import name 'GDALRaster'

Hi. I'm having trouble configuring a heroku-16 instance to support GeoDjango. I've followed the documentation on the Heroku site closely, but always encounter the error:
django.core.exceptions.ImproperlyConfigured: 'django.contrib.gis.db.backends.postgis' isn't an available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
    'mysql', 'oracle', 'postgresql', 'sqlite3'
Error was: cannot import name 'GDALRaster'

Could this be related to any of the recent issues/changes related to this repo having to do with GIS dependencies like GDAL and GEOS. Thanks for any ideas.

Hmm, this support is a bit janky. Let me try to reproduce. Can you share your settings file?

This is working well for me!

Did you $ heroku config:set BUILD_WITH_GEO_LIBRARIES=1?

Hi @kennethreitz, thanks for your help.
I did set BUILD_WITH_GEO_LIBRARIES=1, yes but I have a feeling it's not working: The echo statements displayed when I push my repo to heroku don't show any evidence of the related dependencies being installed and when I try gdal.HAS_GDAL from the python shell I get False.
My settings file looks like this...
import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(file)))
DEBUG = False
ALLOWED_HOSTS = [
'sleepy-scrubland-24958.herokuapp.com',
'<IP_ADDRESS>'
]
INSTALLED_APPS = [
'api.apps.ApiConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'corsheaders',
'rest_framework'
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'snm_server.urls'
CORS_ORIGIN_ALLOW_ALL = True
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'snm_server.wsgi.application'
DATABASES = {'default': {}}
DATABASES['default'] =  dj_database_url.config()
DATABASES['default']['ENGINE'] = 'django.contrib.gis.db.backends.postgis'
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
Internationalization
https://docs.djangoproject.com/en/1.11/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
STATIC_URL = '/static/'

Are you on heroku-16 stack?
$ heroku stack

I am, yes.

@kennethreitz, FYI I just performed the following test, which perhaps isolates the problem...

I created a new heroku app with 'heroku create' (polar-wave-72434 on stack-16)
I pushed https://github.com/heroku/python-getting-started.git to it and made sure it was running
I ran 'heroku config:set BUILD_WITH_GEO_LIBRARIES=1?' and performed another push (one of the log statements returned from the push was 'Bootstrapping gdal, geos, proj')
I ran the python shell on the build and ran gdal.HAS_GDAL which return False

@kennethreitz, could you please post the process you are taking to test that the dependencies are installing correctly on the Heroku build? I'll try reproducing it, and perhaps it will give me some insight into what I need to change on my builds to make it work.
Thanks,
Leon

@kennethreitz, I changed my stack to cedar-14 and it solved all my problems. I'm gonna stay on that stack for the time being. If there's anything you'd like me to try out on the heroku-16 stack I'm happy to help.
Best, L.

Hey y'all! I think I solved this with https://github.com/heroku/heroku-buildpack-python/pull/449 - if you want to specify my branch with these changes, you can use https://github.com/TrailblazingTech/heroku-buildpack-python#fix-gdal-jasper.
You will need to add two lines to your settings.py as I detailed in the PR as well, so that Django can load gdal and geos.

@zachmccormick really looking forward to trying out your changes this week!

Heroku-16 and GEOS do not play well together. I'm going to update the documentation today to reflect this.

The release of Django 2.0 may solve this.

I am experiencing the same problem with Django 2.0.6, Heroku-16 and BUILD_WITH_GEO_LIBRARIES=1
When building, one of the log statements returned from the push was 'Bootstrapping gdal, geos, proj'
When testing GDAL:
from django.contrib.gis.gdal import HAS_GDAL
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ImportError: cannot import name 'HAS_GDAL'

Hey @danielskun ! Check out this commit that is included in 2.0a1 onward: https://github.com/django/django/commit/2dc3280254ae06ca1fe664abf55749fe12a699d4#diff-6d623ebf16b95ff941111fa162d02236
It removes HAS_GDAL and actually seems to do a decent bit of reorganizing the code around absolutely requiring GDAL (as of Django 1.11, if you use contrib.gis, it's required). I would fork this buildpack and try to figure it out using that commit as a starting point. If you can't get it to work, ping me and I'll give it a shot this weekend.


Support for DaisyUI Toggle Components (input type="checkbox")

Hi!
Is there any way to make theme-change work with DaisyUI's Toggle components, without a separate button and JS?
Would be a nice to have, if not.

Sorry! It wasn't working due to another problem. I fixed it and it's working properly now.
Thanks!

@meunomemauricio are you sure this is fixed?  Running into the same issue with version 2.50 and daisyUI 2.51.6

Hi @meunomemauricio how did you get this working?


PROV: Fix encoding of MDWithRSAEncryption signature AlgorithmID

All {MD}WithRSAEncryption signature AlgorithmID have the parameters
being NULL, according to PKCS#1.  We didn't.  Now corrected.
This bug was the topic of this thread on<EMAIL_ADDRESS>https://mta.openssl.org/pipermail/openssl-users/2021-January/013416.html

Hmmmmm....  it shouldn't be incredibly hard to device a test that decodes a certificate, re-encoded it and compared the result.  We already have all the necessary tools (tconversion.pl comes to mind)...  but of course, that's a much bigger test than just the AlgorithmID.  That's doable, though.
I assume that all test certificates we have in our source are produced with an earlier OpenSSL version...  right?

I assume that all test certificates we have in our source are produced with an earlier OpenSSL version... right?

Yes, certainly the vast majority. You can check the history of the test/certs directory to be sure.  Is the error in question made during signing, or during encoding?  If is subsequent encoding, then indeed you can just roundtrip the encoder and hope to get the same data back.  It would be good to see whether you can reproduce the problem with the unfixed code...

It would be good to see whether you can reproduce the problem with the unfixed code...

So basically, make the test a separate PR (test driven development, basically, although not done quite in the right order :wink:)

test driven development, basically, although not done quite in the right order

Development driven tests?

Development driven tests?

:laughing: yeah I guess.  But at the same time, no.

Tester available in #14049

For demonstration purposes, I merged #14049 into this.  A rebase later will drop the merge commit.

CIs are happy with the result with the algorithm ID test included.  @t8m, can I ask you to re-approve?

I suppose you'd merge just the first commit of this PR. Which was not changed so no re-approval is needed. After that the #14049 gets rebased?
BTW, the sanitizer build of the is still failing in the algo id tester.

Well, if #14049 is going to get merged separately, someone needs to approve it.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Fixup for the issue found by the CIs.  Hopefully all good now.
I will take an approval here as an approval of #14049 as well.

Hmm the sanitizers build still reports a leak.

Yeah.  It took me a moment, I finally found out why that happens...

Sanitizer is finally happy!

Rebase after having merged #14049.  I'll just wait for the CIs to confirm that this is OK.  If it is, I'll merge on the existing approval.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

I think this can be merged now as all the GitHub CI tests passed and the CI on master is broken due to this one missing.

Merged
2bb05a9668323ac2719f84cf8e9ccffc2bc99916 PROV: Fix encoding of MDWithRSAEncryption signature AlgorithmID


Sort subselection based on delimiter

Is your feature request related to a problem? Please describe.
Currently, our linter requires that all imports are in alphabetical order. As we use Python, we selectively import multiple things from a single class.
Example:
from wtforms import BooleanField, Form, HiddenField, IntegerField, PasswordField, RadioField, SelectField, DateField,
The linter requires DateField to be after BooleanField and before Form.
Unless I'm missing something, the current necessary flow would be:

Mark all the commas (using ALT+J)
Separate them onto newlines
Sort the lines using existing Line-sorting functionality
Mark all commas again
Remove newlines

Describe the solution you'd like
Given the fact that we already have something that can actively split a selected String by delimiters ( Align/Sort by Columns ), I imaged a solution to be similar: You make a selection, a window pops up, lets you quickly select the delimiter (or auto-infer it if it's obvious / configured ), and then sort the subselection.
Describe alternatives you've considered
I thought initially this is what Align/Sort by Columns was for, but it isn't. Perhaps it can be an added functionality in that tab if you only have a single line available ("Sort Header"?)

How about that:


Deal dashboard filter groups / "quick filters"

Would be great to have radius groups of filters / combinations of filters for specific scenarios so that there's a comprehensive grouping of filters for the various stakeholders that will come to this dashboard. This should include "quick" filter groups for:

M1 release (MinerX miners on bleeding edge + v1.11.1-dev + current filters)
M1 milestone for deal success (MinerX miners + lotus >= 1.11.0 + current filters)
MinerX DSR (MinerX miners without any version or failure filters)
Network wide deal success (no filters)

Per convo in colo, I think we decided we're just going to use the link sharing functionality for now to save filter presets. Can I close this @dkkapur ?

Yep - current plan of record is to use dedicated links for specific views / stakeholders


Refactor Go services to use gRPC season

Rabbit season

Flaky Test
Failure Summary
Logs

[chromium] should return list of users correctly.
The API call to retrieve a list of users failed with a 404 Not Found error.
Logs ↗

[chromium] should login with credentials correctly correctly.
The login request to the server failed with a 404 Not Found error.
Logs ↗

[chromium] should display error message for invalid login correctly.
The expected HTTP status code 401 was not received, instead a function was returned.
Logs ↗

Test_BadRequest
failure_message: Failedfailure_text: === RUN   Test_BadRequest    api_test.go:53: Bad request sent to API--- FAIL: Test_BadRequest (0.00s)
Logs ↗

View Full Report ↗ ⋅ Docs


[Open Discussion] Device camera uploads

Feature Description:
Leaving this as an open discussion for the idea about uploading documents/images from a device after capturing an image of it. It's been a feature that's been discussed with the PASS team and other collaborators that it could be a useful feature to have, but we have yet to implement it.
Currently, PASS allows for file uploads directly from the device's/browser's file explorer. But there could be times when users simply want to capture an image and upload that image into storage instead.
Possible Solution:
One way we could go about it is to create an option to upload images from device to PASS on "Upload Documents" and utilize the getUserMedia function from the MediaDevices web API.
Another way to go about this is to use input's native capture attribute from HTML to trigger the device's camera.

Issue have been touched in PR #357. But keeping this issue opened in case of further changes or improvement in this implementation, i.e. desktop camera.

@leekahung this can be done pretty easily with the HTML capture attribute
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture
Then we can have it on any device. I think we can add the following feature:

If the browser detects an available camera, a "camera" button is added to the PASS document upload form. The user can click on the button and take a photo with the "environment" camera, and upload the photo to their pod.

@leekahung this can be done pretty easily with the HTML capture attribute
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture
Then we can have it on any device. I think we can add the following feature:

If the browser detects an available camera, a "camera" button is added to the PASS document upload form. The user can click on the button and take a photo with the "environment" camera, and upload the photo to their pod.

I believe I've experimented a bit with capture the previous time I've messed with media devices. It worked pretty well before I've decided to use the other solution.

@leekahung Wondering, if I could finish researching and opitmizting this issue?

@leekahung Wondering, if I could finish researching and opitmizting this issue?

Sure, give it a shot!

I'm having trouble pushing my code into the issue branch I created. But I wanted to keep everyone updated on the situation. I utilized the camera library and made new modals to display the webcam. The end product is shown in the photo below. Once my pushing issue is handled, I comment the branch and commit I make.

I'm having trouble pushing my code into the issue branch I created. But I wanted to keep everyone updated on the situation. I utilized the camera library and made new modals to display the webcam. The end product is shown in the photo below. Once my pushing issue is handled, I comment the branch and commit I make.

Thanks for the updates @Zakeriya23 ! From the screenshot you've shown, it's looking great! 👍
I have some time tomorrow if you'd like to discuss about the push issue. Feel free to ping me on the Discord server.

Created a PR #498, but had some failed tests. Please give me any suggestion by looking into the branch 335 I created.


stm32f4: add missing RCC bits for all cpus

I went through and made the requisite changes part of https://github.com/adamgreig/stm32-rs/commit/ed701bf0e8c95a3644e023c320314f3899f102be for the whole f4xx family.
There's quite a bit of repeat, but in small chunks. Is it worth making common patches for individual parts?

Thanks! I think it might be worth making a common patch for the ones that show up most, like SPI4/5, SAIPLL, and UART7/8. You could use them in the f429 as well. Ones that only show up once or twice are probably less worthwhile making common patches.

Ok, updated.
This also fixes a bug in my commit for the F429 where there were two RCC: keys in the YAML, so the first one didn't get used at all.

It looks like some of these can't use the common patches. For example, F410 is missing SPI5RST and SPI5LPEN. SPI5EN is already in the original SVD, so using the common patch causes a duplicate type and method.
It looks like 410, 411, 412, and 446 are affected similarly.

It looks like some of these can't use the common patches. For example, F410 is missing SPI5RST and SPI5LPEN. SPI5EN is already in the original SVD, so using the common patch causes a duplicate type and method.

You're absolutely correct, and I should have done a complete local build. I kind of assumed that either svdpatch or svd2rust would complain about these cases... time to write patches for both :)
Also, is there an objection to changing CI to run the full build incl. svd2rust and cargo build with all features? Hmm, of course the latter may well take a very long time...

Ok, this change now builds. I noticed that the patches for SPI6 and UART7/8 are now only used in one device; however I haven't checked any non-F4 devices yet. Should I keep them in common_patches?

I'd move the ones that are only used in one place back to that device. At some point I think common_patches/ is going to need tidying up anyway but better if we can avoid cluttering it too much now.
Could you rename those peripherals in their descriptions (SPI 4 -> SPI4)?

Done, but be aware that these are very inconsistent already in the fields present in the SVDs.

Yep, sadly, but we do what we can...
Thanks.

BTW, how is the policy on new releases? This is the last thing I'd need to switch from stm32f429 and sadly I can't use a git = dependency with this crate...

@birkenfeld I've released v0.4.0.