Storyboard height/width bug

Different size behaviour between local and pipeline

Also, as of today, there is no visual discrepancy in Flit Ride and local (mac book chrome Checking for updates
Version 102.0.5005.61 (Official Build) (x86_64))
Flit ride hash
FR-727  Fix Codemagic for Flit Ride new Repo (#10) heriniaina-rak* 30/05/2022, 09:51 472e29b2

Difference may lies in devicePixelRatio, 1 in ci and 2 locally.
I could not find a flag to increase this https://github.com/GabrielBB/xvfb-action/blob/master/index.js that uses
https://www.x.org/archive/X11R7.6/doc/man/man1/Xvfb.1.xhtml
#Remote
#] JAVASCRIPT {"availHeight":2160,"availLeft":0,"availTop":0,"availWidth":3840,"colorDepth":24,"height":2160,"isExtended":false,"onchange":null,"orientation":{},"pixelDepth":24,"**devicePixelRatio":1,"**width":3840}
#Local
#"availHeight":1095,"availLeft":0,"availTop":25,"availWidth":1792,"colorDepth":30,"height":1120,"isExtended":false,"onchange":null,"orientation":{},"pixelDepth":30,"devicePixelRatio":2,"width":1792}'
This will allow adding chrome flags to flutter , so maybe this https://stackoverflow.com/a/47082369/6727914 can be implemented with --force-device-scale-factor=2
https://github.com/flutter/flutter/issues/65575

width is 480 and height is<PHONE_NUMBER>666666 and dpi is 4 txtScale is 1 vi is EdgeInsets.zero vip is EdgeInsets.zero font is monospace
{ctxDevicePixelRatio: 4, windowDevicePixelRation: 1, ctxSize: Size(360.0, 740.0), uiSize: Size(1905.0, 2067.0), ctxTextScale: 1, uiCtxTextScale: 1, uiPadding: Instance of 'WindowPadding', ctxPadding: EdgeInsets(0.0, 24.0, 0.0, 0.0), ctxViewPadding: EdgeInsets(0.0, 24.0, 0.0, 0.0), ctxViewInsets: EdgeInsets.zero, uiViewPadding: Instance of 'WindowPadding', uiViewInsets: Instance of 'WindowPadding'}
#local
{ctxDevicePixelRatio: 4, windowDevicePixelRation: 2, ctxSize: Size(360.0, 740.0), uiSize: Size(2442.0, 1854.0), ctxTextScale: 1, uiCtxTextScale: 1, uiPadding: Instance of 'WindowPadding', ctxPadding: EdgeInsets(0.0, 24.0, 0.0, 0.0), ctxViewPadding: EdgeInsets(0.0, 24.0, 0.0, 0.0), ctxViewInsets: EdgeInsets.zero, uiViewPadding: Instance of 'WindowPadding', uiViewInsets: Instance of 'WindowPadding'}
#Flit`
#Remote
{ctxDevicePixelRatio: 1, windowDevicePixelRation: 1, ctxSize: Size(1905.0, 2067.0), uiSize: Size(1905.0, 2067.0), ctxTextScale: 1, uiCtxTextScale: 1, uiPadding: Instance of 'WindowPadding', ctxPadding: EdgeInsets.zero, ctxViewPadding: EdgeInsets.zero, ctxViewInsets: EdgeInsets.zero, uiViewPadding: Instance of 'WindowPadding', uiViewInsets: Instance of 'WindowPadding'}
#Local
{ctxDevicePixelRatio: 4, windowDevicePixelRation: 2, ctxSize: Size(360.0, 740.0), uiSize: Size(2152.0, 1854.0), ctxTextScale: 1, uiCtxTextScale: 1, uiPadding: Instance of 'WindowPadding', ctxPadding: EdgeInsets(0.0, 24.0, 0.0, 0.0), ctxViewPadding: EdgeInsets(0.0, 24.0, 0.0, 0.0), ctxViewInsets: EdgeInsets.zero, uiViewPadding: Instance of 'WindowPadding', uiViewInsets: Instance of 'WindowPadding'}

width is 360 and height is 740 and dpi is 4 txtScale is 1 vi is EdgeInsets.zero vip is EdgeInsets(0.0, 24.0, 0.0, 0.0) font is monospace
#Remote with xvfb
#] JAVASCRIPT {"availHeight":2160,"availLeft":0,"availTop":0,"availWidth":3840,"colorDepth":24,"height":2160,"isExtended":false,"onchange":null,"orientation":{},"pixelDepth":24,"devicePixelRatio":1,"width":3840}
#remote with xvfb and chrome headless
{"availHeight":1800,"availLeft":0,"availTop":0,"availWidth":2400,"colorDepth":24,"height":1800,"isExtended":false,"onchange":null,"orientation":{},"pixelDepth":24,"devicePixelRatio":1,"width":2400}
#Local
#"availHeight":1095,"availLeft":0,"availTop":25,"availWidth":1792,"colorDepth":30,"height":1120,"isExtended":false,"onchange":null,"orientation":{},"pixelDepth":30,"devicePixelRatio":2,"width":1792}'
#remote with force-pixel-ratio=2
{ctxDevicePixelRatio: 4, windowDevicePixelRation: 2, ctxSize: Size(360.0, 740.0), uiSize: Size(4800.0, 3600.0), ctxTextScale: 1, uiCtxTextScale: 1, uiPadding: Instance of 'WindowPadding', ctxPadding: EdgeInsets(0.0, 24.0, 0.0, 0.0), ctxViewPadding: EdgeInsets(0.0, 24.0, 0.0, 0.0), ctxViewInsets: EdgeInsets.zero, uiViewPadding: Instance of 'WindowPadding', uiViewInsets: Instance of 'WindowPadding'}

Solution modify chrome to accept flag for flutter
https://askubuntu.com/a/697724
steps:
- name: "modify chrome"
id: modifyChrome
shell: "bash"
run: |
google-chrome --version
which google-chrome
cat /usr/bin/google-chrome
echo "checking usr bin chrome"
echo "If you cat  cat /usr/bin/google-chrome, you will see that when running in a wrapper, it looks for this file instead of opt one, not sure why but this is the solution"
sudo ln -s /opt/google/chrome/chrome /usr/bin/chrome
sudo cp /usr/bin/google-chrome /usr/bin/google-chrome-bak
echo "checking original chrome"
ls /usr/bin/google-chrome-bak
echo /usr/bin/google-chrome-bak --force-device-scale-factor=2 "$@" > my-google-chrome
cat my-google-chrome
chmod +x my-google-chrome
echo "checking original chrome"
ls /usr/bin/google-chrome-bak
sudo cp my-google-chrome /usr/bin/google-chrome
which google-chrome
cat /usr/bin/google-chrome
echo "CAT USR BIN!!!!"
echo "Chrome help!!!!"
google-chrome --version

https://peter.sh/experiments/chromium-command-line-switches/#force-device-scale-factor
Chrome flag list

Mety
xvfb
-screen 0 4920x2160x24
Chrome
scale force to 2
no window size
============
no xvfb
Chrome
scale force to 1
echo /usr/bin/google-chrome-bak "$@" --window-size=1280,960 > my-google-chrome
=======
Chrome
scale force to 2
echo /usr/bin/google-chrome-bak --force-device-scale-factor=2 "$@" --window-size=1280,960 > my-google-chrome

quick branch without all overflow https://github.com/Tolotra-mg/tolotra_mg/tree/fix/android-studio-hanging


Update Dependencies

[x] Do only one thing
[x] Non breaking API changes
[x] Tested

What did this pull request do?
This pr upgrades the go and github-actions dependencies with Dependabot help.
The dependabot.yml file allows you to configure how frequently the bot is checking the dependencies. The documentation is here https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates

User Case Description
Keep dependencies up-to-date

@jinzhu please cr/mr.


i received 200 and 401 after send Message

3EB01354ED8F40C756CAB68A,{"status":200}
3EB01354ED8F40C756CAB68A,{"status":401}
whats problem :(

i have same issue here. but i still don't know the solution


Some Issues

Anyone having save issues ?
### Choose Branches:
2021/08/04 16:46:09 json: cannot unmarshal object into Go value of type main.Branch
the tool does not give option to identify the branches as shown in the image.
But I would appreciate if you can give more usage example, thank you.

Maybe you have inputted the wrong repository.
And for example how to run this tool you can do this
./Git-Secret

____ _ ___    ____ ____ ____ ____ ____ ___
| __ |  |  __ [__  |___ |    |__/ |___  |
|__] |  |     ___] |___ |___ |  \ |___  |

Author: Muhammad Daffa
Version: 1.0

Input URL
https://github.com/daffainfo/Git-Secret (This is the repository)

Input path file contains dorks (Leave it blank if you don't have it)

Choose Branches:
(This is automatic showing branches in the repository you choose)

Starting....
[#] Checking: LICENSE
[#] Checking: README.md
.....

Thank,
working perfectly


Get tracing running with independent modules

Tracing is not easy to achieve with independent modules because they are some limitations in Igor. The problem is that Igor copies each igortest-* file into the IM and removes the connection to the local file doing this. Instrumenting afterwards in ProcGlobal doesn't change the igortest-* [IM] files and instrumenting in the IM doesn't work because igortest-* [IM] are no longer standalone procedures.
But there is a trick to enable tracing in IM:

We need to do instrumentation in ProcGlobal first. As we need to know when instrumentation is finished we can do this with a simple RunTest() call that instruments our files and calls a single test case.
The test case includes our IM file with Execute/P "INSERTINCLUDE \"filename\"". It is important that this file wasn't loaded before!
The test case also calls Execute/P "SetIgorOption IndependentModuleDev=1" to enable IUTF in IM and Execute/P "COMPILEPROCEDURES " to ensure that the IM file is loaded.
The IM file contains a TEST_END_OVERRIDE which is needed in step 7.
Afterwards the test case calls Execute/P "IM#RunTest(... without tracing ...)"
The single test case finishes and Igor executes the operation queue and starts the IM#RunTest() run with instrumented igortest-* [IM] files.
The TEST_END_OVERRIDE [IM] calls IUTF_Tracing_Cobertura#PrintReport(coberturaSource, coberturaOut)

These are the minimal steps to allow tracing in IMs and generating Cobertura. If Cobertura isn't needed the user can skip step 4 and 7. The user can also introduce more steps to make the calls cleaner.
I got a proof of concept running that will be used to test the solution for #6. I need to cleanup the files and link the commit here later.


Update tests for better Mac M1 compatibility

Signed-off-by: Shreyas Krishnaswamy<EMAIL_ADDRESS>

Why are these changes needed?

This change updates some test settings and error behavior to improve compatibility with M1 Macbooks. Thanks @simon-mo for the suggested changes!
Related issue number

Copies over some changes from #366.
Checks

[X] I've made sure the tests are passing.
Testing Strategy

This change updates testing configurations.

Could you explain the changes in the issue description?

Could you explain the changes in the issue description? (I mean the details of the changes and why these fix M1 issues.)

@simon-mo do you mind explaining the changes and why they're needed?

Sure. The envtests harness is used to run golang operator unit test. To run it, the test harness download pre-built binary from the internet. The current version in the codebase doesn't support m1. The updated override version supports it and is the earliest version that supports m1 binaries.
The comment out section in the test golang code is the fact that the cleanup step always fail and timeout in macOS. @brucez-anyscale and I have confirmed this independently and we should simply skip the harmless error. It doesn't occur on CI anyway.


Button.Flyout unable to display

Describe the bug
Button.Flyout unable to display
To Reproduce

<Window.Styles>

</Window.Styles>

<Button.Template>

<material:MaterialIcon Cursor="Hand" Kind="PagePreviousOutline" Height="20" Width="20" HorizontalAlignment="Center" />

</Button.Template>
<Button.Styles>

</Button.Styles>
<Button.Flyout>

</Button.Flyout>

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

OS: [Linux]
Avalonia-Version: [11.0.9]

Additional context
Avalonia-Version:  11.0.6，the display is normal

11.0.9  The abnormal display effect is as follows：

https://github.com/AvaloniaUI/Avalonia/issues/14802#issuecomment-1975398009


chore: project addition by

Add a new project to the list
I want to add 3 new projects
1.Anynomous social
2.Chat Applicaiton
3.Coupon Code Website
Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

could you share your progress on this issue?

Ohh!! Sorry i'll just do it by evening


[ Example ] Tizen C API Train with Generator Example

Demo example to train with Tizen C API Train with generator.
Add simple example to train 1 FC Layer neural network and get the
train & validation data from generator created by user.
Resolves:
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #117. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @jijoongmoon, Applications/Tizen_CAPI/capi_func.c includes bug(s). Please fix incorrect coding constructs in your commit before entering a review process.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/117-202006011356340.76804208755493-d857fbc107f1a2f250e6d64feca5aa31b77aab1c/.


updated travis and gitignore

Codecov Report

Merging #2 (ac78522) into main (8e973c4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   27.52%   27.52%
=======================================
  Files           4        4
  Lines         476      476
  Branches       74       74
=======================================
  Hits          131      131
  Misses        345      345

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 8e973c4...ac78522. Read the comment docs.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rework CMake test discovery

The existing implementation does not handle multi-config setups (generators that can build Debug, Release, etc. from the same project like Visual Studio).
Consider the following example. No tests should run because Debug hasn't been built. The current discovery automation, however, just runs whatever was built last.
$ cmake --preset MSVC
$ cmake --build cpputest_build --config Release
$ ctest --test-dir cpputest_build -C Debug

These changes eliminate the need for the "path normalization" that prevents outputs from multiple configs from coexisting.

Coverage remained the same at 99.625% when pulling f4ed527daf7fb9faa6e8860b1be5b10ff7def226 on thetic:discovery-zone into 75bbd80e128b0b6c1396c8d5e2d574d15ce95e15 on cpputest:master.

Uhm, the PR has a conflict


Embed start and finish time calculation as debug log in each DB call

Description:

In current implementation, there are no debug logs added in granular level to record start/finish time calculation taken for database query execution.
For example, none of the DAO methods inside org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.java has debug logs added to record start and finish time for query execution as follows.
       if (log.isDebugEnabled()) {
                log.debug("State before executing get subscription details sql query " + new java.util.Date(System.currentTimeMillis()));
            }
            rs = ps.executeQuery();
            if (log.isDebugEnabled()) {
                log.debug("State after executing get subscription details sql query " + new java.util.Date (System.currentTimeMillis()));
            }

These logs will be useful when an issue arises to find the time taken to each database call in a roundtrip analysis. So it will be a good practice to embed start/finish time calculation as debug logs whenever implementing a DAO and executing a query.

By @dushaniw from https://wso2.org/jira/browse/APIMANAGER-6061

As we can achieve the same using Observability, we would not be modifying the code to add debug logs, as it would not be a good practice.


Refine AspNetCoreMvc Demo For SE Use

@bruno-garcia Could you review and approve this when you get a chance?
These commits:

Added the SE Demo theme to the UI
Update Program.cs to load the Sentry Release ID from an environmental variable.
Added a powershell script to:
a. Create Release
b. Associate commits
c. Set the Release ID in an environmental variable
d. Launch the app
Update README

@ndmanvar  ^


how to deploy swoole or workerman to vercel ?

Question
how to deploy swoole or workerman to vercel ? https://github.com/walkor/workerman

my application is based on workerman framework,it called webman. it's start the serve like this blow :
php start.php start -d

then ,it will listen on a port ,like 7878, and how to deploy  this kind of application on vercel ?

Hi, unfortunately workerman is not supported. You can use swoole, but in non server mode.

thanks for your answer. I wonder is there a plan for workerman ? if I can make my project into a .phar file ,is there a chance to deploy it ? just like
php webman.phar start
```

I think serverless is not good way to run workerman.


Integration with V8 engine

Hi
I was wondering whether is possible to load the generated Java Script along with JSIL libraries into the V8 engine without having any browser.
My scenario is this: C# code is transformed into JS (no DOM interaction) and then try to feed the generated Java scripts into V8 engine runtime.  At the runtime, Java Script is assumed to interact with Java code by using V8 Java registered callbacks.
Thank you

Yes, JSIL supports running outside of a browser by specifying a different environment in your config. This is used for the automated tests.
On October 11, 2016 2:59:36 PM PDT, Florin Darie<EMAIL_ADDRESS>wrote:

Hi
I was wondering whether is possible to load the generated Java Script
along with JSIL libraries into the V8 engine without having any
browser.
My scenario is this: C# code is transformed into JS (no DOM
interaction) and then try to feed the generated Java scripts into V8
engine runtime.  At the runtime, Java Script is assumed to interact
with Java code by using V8 Java registered callbacks.
Thank you
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/sq/JSIL/issues/1020

kg (mobile)


Add settings file to control default installer locale

Resolves #35

I liked the settings feature. BTW, is it ready to test?
Another feature:
Moderators & Regular contributors would not like to go through the warning prompt showed every time when they select Quick Update Mode. So, a key can be added like:
QuickUpdateWarning: <true | false>

Rebased; I think it all still looks good, but if someone can verify I'd appreciate it


settings: Add modal fade.

Implemented the modal fade, one of the first suggestions on here goo.gl/HXzb66
Only thing that could be an issue is the modal was originally at the top of the screen, but is now at the middle of the screen due to the preexisting positioning on the fade class.

Additionally, the width of the different modals vary greatly, I think we should choose a width for all the modals for consistency (This change isn't implemented yet in this PR), maybe the same width as the deactivate-account modal, I think it looks the best.

@shubhamdhama can you review this?  It seems like we might want to do some restructuring so that settings modals get this fade behavior like this without an explicit list.

It seems like we might want to do some restructuring so that settings modals get this fade behavior like this without an explicit list.
Sure, once the above comment is implemented I can make the changes.

@shubhamdhama Now it looks like

I've merged this in the interest of progress, but there are definitely follow-ups to do:

We should make the "change stream privacy" and "delete stream" features in stream settings use this
We should do the refactor discussed above to avoid duplication.
Something feels a bit off with the modal fade transitions -- it feels like first the background fades, and then the modal appears.  Any idea how to fix that?

@shubhamdhama I assume you'll track these little projects.


Ecobee 3 failing to setup

Feature requests should go in the forum: https://community.home-assistant.io/c/feature-requests
Home Assistant release (hass --version):
0.18.2 in a docker container
Python release (python3 --version):
3.4 according to Dockerfile
Component/platform:
Ecobee 3
Description of problem:
The window to geneterate the API key never shows up with the following error:
16-04-22 11:49:43 homeassistant.bootstrap: Error during setup of component ecobee
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/bootstrap.py", line 158, in _setup_component
    if not component.setup(hass, config):
  File "/usr/src/app/homeassistant/components/ecobee.py", line 130, in setup
    NETWORK = EcobeeData(hass.config.path(ECOBEE_CONFIG_FILE))
  File "/usr/src/app/homeassistant/components/ecobee.py", line 99, in __init__
    self.ecobee = Ecobee(config_file)
  File "/usr/local/lib/python3.4/site-packages/pyecobee/__init__.py", line 53, in __init__
    self.request_pin()
  File "/usr/local/lib/python3.4/site-packages/pyecobee/__init__.py", line 64, in request_pin
    self.authorization_code = request.json()['code']
KeyError: 'code'

Expected:
A pin code to generate the API key
Problem-relevant configuration.yaml entries and steps to reproduce:
ecobee:
  api_key: asdfghjklqwertyuiopzxcvbnm
  hold_temp: True

Contents of ecobee.conf
{"API_KEY": "asdfghjklqwertyuiopzxcvbnm"}

Add
ecobee:
api_key: asdfghjklqwertyuiopzxcvbnm
hold_temp: True
to configuration.yaml
reboot docker container
See the error in HA devInfo

Traceback (if applicable):

Additional info:
I tried removing the configuration, restarting, and re-adding it to the same effect. This was also happening in the previous version.

@mehuman You need to get the API key from the ecobee developers site.  Once you obtain an API key, place that in the configuration.yaml's ecobee section.  See further instruction here.

@nkgilley Thanks, got it working. I glossed over the need to setup the developer portal.


typesafe-actions v2.0 doesn't work well with @babel/plugin-transform-typescript

If I understand correctly, typesafe-actions v2.0 doesn't work well with @babel/plugin-transform-typescript.
I've been using @babel/plugin-transform-typescript in conjunction with react-app-rewired (via react-app-rewire-typescript-babel-preset so that I can use react-scripts from create-react-app rather than react-scripts-ts from create-react-app-typescript. I do this because I want to use all the upstream features in create-react-app that haven't made it to create-react-app-typescript yet.
I get a whole bunch of type errors in my IDE using<EMAIL_ADDRESS>that I don't get when I try out your sample app. For example:
Creating actions like:
import {ActionsUnion, createStandardAction, getType} from "typesafe-actions";

const menuActions = {
    openMenu: createStandardAction('menu/OPEN')<void>(),
    closeMenu: createStandardAction('menu/CLOSE')<void>(),
};

type MenuActions = ActionsUnion<typeof menuActions>;

type RootAction = MenuActions | OtherActions;

type MenuState = {
    readonly show: boolean,
}

const menuReducer = (state = {show: false}, action: RootAction): MenuState => {
    switch (action.type) { // <---- one of the type errors (see below)
        case getType(menuActions.openMenu):
            return {show: true};
        case getType(menuActions.closeMenu):
            return {show: false};
        default:
            return state;
    }
};

Produces:

Property 'type' does not exist on type 'RootAction'.
Property 'type' does not exist on type '{ openMenu: B; closeMenu: B; }'.

I just asked a question in react-app-rewire-typescript-babel-preset to understand how this setup might differ from the one in your sample app. It seems the Babel TypeScript preset isn't using TypeScript at all and as a result there's a few language feature gotchas.
Can you help me determine if it's possible to use typesafe-actions v2.0 with @babel/plugin-transform-typescript rather than standard TypeScript compiler?

I don't know what plugin-transform-typescript does, and sorry to say that but I'm not interested to know that.
For me it's really a simple tsc -p . --watch in the terminal, it works everywhere and always without any issues now and in the future, and I strongly recommend to start using it.
Then you can take JS stuff that tsc throw to out folder and from there it's just you know normal JS.
Closing because it seems that it cannot be solved on my end.

Okay @piotrwitek. Thanks for taking the time to reply.
I sorted out my issue and thought I'd report back here in case other people have a similar issue – it turned out to not have anything to do with my use of @babel/plugin-transform-typescript.
In my IDE settings (I use IntelliJ) the TypeScript interpreter that was configured was too old (2.7.2). By upgrading that (or using the 2.8.1 IDE bundled version) I resolved all my issues using typesafe-actions.
Also worth noting (for anyone searching around) that typesafe-actions works great with @babel/plugin-transform-typescript. I'll write a short blog post writeup about this setup later this week and include the link here. I'd love to help expose more people to typesafe-actions, it's a great tool & approach! Thanks again @piotrwitek for creating it.

Hey @lnhrdt, glad to hear that you solved it with success!
I use vs-code which is the best IDE for TypeScript projects, and it also automatically pick up the TS version from node_modules, so that's why I was confused about this issue :)


Exceptionally remove disambiguator for VAL METHOD

Fixes #1625.
This PR removes the disambiguator for VAL METHOD symbols.
class A {
  val x = 2
  // before: A#x().
  // now: A#x.
}

This fixes a bug in metacp where it would incorrectly use A#x. for external symbol references, which happened for example frequently for def macro signatures that have parameters with type ref prefixes that point to blackbox.Context#universe..

Looks like AppVeyor is stuck. I'll be merging.


Port over Environments.

I'll take a shot at this.

Not environments - Editors

Editors, not environments

Closed by merging #7 🎉


Fix/Add missing animations to Dialog and Popover

As Kobalte exposes expanded and closed data attributes we can use them to wire up animations that would follow ones on shadcn/ui

Thanks for contributing!


Programmatic label for search needs to be updated

Area or Component
Conduct test - person search
Quick Summary
The programmatic label and the visual label for the search bar are not the same.
The visual label is "Search for a person to start their test" but the programmatic label is just "search"
Accessibility Violation
Programmatic label does not convey purpose of control: https://cdc-devtools.dequecloud.com/rule-help/en/label-programmatic-not-descriptive
This is also an unequal experience for screenreader users, who aren't getting the full benefits/experience that sighted users are.
Action Requested
Update the programmatic label to match the visual label. (Likely through aria-labelledby)
Original Deque Issue
https://docs.google.com/spreadsheets/d/1b6xjubAN5Uw11DV4_B5zvSu7HeDI6Z-DpV4DMcToqAY/edit#gid=981460209&range=29:29

Looking at aria-placeholder documentation, it may seem that the placeholder on the input should be enough?


feat(auth): add support for semantic-release

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

npm package (@devel dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feature: compositeKeys supports when

Did you check the docs?

[X] I have read all the vscode-neovim docs
[X] I understand the fundamental limitations of the plugin and believe this request to be reasonable

Is your feature request related to a problem? Please describe.
vscode-neovim.compositeKeys provide a neat way that triggers neovim command during Insert mode. It would be cool if it supports when param used in keybindings so the neovim command is fired when propriate (e.g., when matching certain editor type).
Describe the solution you'd like
.
Describe alternatives you've considered
.
Additional context
No response

This is difficult to achieve because 'compositeKeys' and keybinding have no relation to each other. Moreover, 'when' in VSCode is not accessible.

For example, jj only exits insert mode in Python files.
  "vscode-neovim.compositeKeys": {
    "jj": {
      "command": "vscode-neovim.lua",
      "args": [[
        "local code = require('vscode')",
        "if vim.bo.ft == 'python' then",
        "  code.action('vscode-neovim.escape')",
        "else",
        "  code.action('default:type', { args = { text = 'jj' } })",
        "end"
      ]]
    }
  }


CRUD generate does not set default access rule

in Yii 1.x, controller generated by CRUD has default Access Filter Rule already in place. In Yii 2.x, controller does not have Access Filter Rule. I think it should has some default Access Filter Rule for 'index', 'view', 'create', 'update' and 'delete'

could be a checkbox option.

What do you think about such as this style for the access to actions?


Minimum requirements for audio / video

Hello,
I would like to know the minimum requirements regarding audio and or video.
Is a Coffee Lake based processor necessary for video, or could an older processor be sufficient?
I assume the h264 decoder is the necessary part, in order to get avb video running.
Thanks,

Hi, Coffee Lake isn't a requirement. You could use any processor.

Re-reading https://tsn.readthedocs.io/en/latest/avb.html#system-requirements, I can see where this question might have come from :)
@edersondisouza, could you please fix the System Requirements section so we clearly state what is a requirement and what was utilized to validate the commands?

#4

Hi @KnutSchrader, I believe we addressed this issue so I'm closing it. Feel free to re-open it in case something is still not clear.


fixed nsm meshery logo

Signed-off-by: ashiscs<EMAIL_ADDRESS>

no sir,again other commits get attached to my pr,so i closed this issue sir @leecalcote

@ashiscs you can reopen this PR and sync your fork with the lastest changes in layer5io/meshery-kuma. You don't have to create a  new PR - https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork


Review Video Streaming Example

@jhiesey could you review the Video Streaming Example at https://dev.js.ipfs.io (scroll down to the What you can build with JS-IPFS section)? Is it the most exciting thing ever? How would you polish it to blow people's minds in how easy it is to Stream Video with js-ipfs?

Btw @PedroMiguelSS, the example is not working for me:

I'm working on it @diasdavid. It's not working on Firefox either on Safari, but it's working on Chrome.

@diasdavid, is there a problem to change from codesandbox to codepen? The only downside of this is that users can't change/edit code directly on our page. If they want to change code they have to open codepen by clicking on this link:

codepen.io allows you to edit code on embedded pens but it's a PRO feature.

What you can build section is currently implemented to work with codesandbox. However, video streaming example has some problems on both Safari and Firefox browsers:

Firefox: somehow, the IPFS code is conflicting with codesandbox as it throwing internal errors;
Safari: it doesn't allow to open the IPFS repo on embedded examples. Safari considers it as a security issue.

Possible solution
Change from codesandbox to codepen / jsfiddle / jsbin. It only solves problem number 1., related to firefox.
Downside
codepen / jsfiddle / jsbin code editing feature on embedded pens is a PRO feature.

Examples required by @diasdavid:

[x] Video Streaming
[ ] Real-time Chat
[x] Upload files

Real-time Chat is not added yet. Reasons:

It uses ipfs-pubsub-room and we need a browser build to use it on codepen;
As we need a local daemon running I don't think it's a good example as users must have low-effort level to get it running. The examples should work out-of-the-box, i.e., the user shoudln't have to setup or do anything.

Do you really think we should have this example on the website?

@PedroMiguelSS are you handling the codesandbox issue, or would you like me to take a look at what's broken?
@diasdavid one thing I would like to do with video streaming is to add another example using videostream. The advantage of that module is you don't need to repackage the videos for HLS; instead it works with plain .mp4 files, which makes for a simpler example. I see that as more of an additional example than a replacement for what's there now.
The main downside with videostream is that it can take longer for videos to load since some seeking/searching is necessary to find the video metadata, but that's something that could be fixed by providing some byte offset hints. I'm not sure what that interface ought to look like though.

@jhiesey yes please! I believe you already did it right? Is there a PR to update that example?


Added the possibility to create self signed certificates for applicat…

Added the possibility to create self signed certificates for applicat…

Checklist

I applicable, I acknowledge that I have:

[X] Read the contributing guide
[X] Ran terraform fmt on all modified files
[X] Regenerated the relevant README.md files using tools/tfdoc.py
[X] Made sure all relevant tests pass

I'm on the fence with this PR. To me, creating a certificate feels more like an example than something to be handled by the LB modules.

I also don't like having this in the LB modules. But +1 on showing how to do it in one example.

Miren, I'm closing this let's come up with an example instead. :)


more apu2 fixes: dial down spu, and fix a broken compare

Remember I keep saying it's a game of inches? Here's a typical example: == where it should be !=


Session warning fails when previous session has error

These two lines in src/sessions.py need to be fixed, and therefore these lines need to be switched:
        self._start_new_session()
        self._logger = logger

The bug was fixed here:
https://github.com/probcomp/bayeslite/commit/56ccfc5791b0021e0207f1b1675640a53b17c4ba
but I will leave this ticket open until the unit test has been augmented to test for this. It will need to test the case where the previous session failed (currently it only tests if the current sessions has failures).
See tests/test_sessions.py

Not needed for any release soon, because we will primarily use the recipes-based session capture instead.

sessions.py wiped as of db1437f


Startup problem after Firmware 1.3.2 update

Hi
today I updated my firmware to 1.3.2. I used the source code, followed the guide http://dev.px4.io/starting-building.html and successfully built the project. After successful upload, my px4 got stuck somehow.
Serial output yields the following:
sercon: Registering CDC/ACM serial driver
sercon: Successfully registered the CDC/ACM serial driver
WARN  [param]    selected parameter default file /fs/mtd_params
rgbled on I2C bus 2 at 0x55 (bus: 100 KHz, max: 100 KHz)
WARN  [px4io]    CRCs match
INFO  [dataman]  Power on restart, data manager file '/fs/microsd/dataman' size is 103090 bytes
MS5611_SPI on SPI bus 1 at 3 (20000 KHz)
WARN  [bst]      no devices found
INFO  [ver]      match: PX4FMU_V2
HMC5883_I2C on I2C bus 1 at 0x1e (bus: 100 KHz, max: 400 KHz)
LIS3MDL bad ID: 3cWARN  [lis3mdl]  no device on bus 2
WARN  [hmc5883]  no device on bus 1
ERROR [mpu6000]  no device on this bus
MPU6000 on SPI bus 1 at 4 (1000 KHz)
L3GD20 on SPI bus 1 at 1 (11000 KHz)
LSM303D on SPI bus 1 at 2 (11000 KHz)
ERROR [meas_airspeed] no MS4525 airspeed sensor connected
ERROR [ets_airspeed] no ETS airspeed sensor connected
ERROR [ets_airspeed] no ETS airspeed sensor connected
nsh: sf10a: command not found
INFO  [pwm_out_sim] MODE_8PWM
the red light of the arming button is blinking but it never stops. The big LED on the px4 never comes to light. Am I doing something wrong or is there an issue with the newest firmware release?
(Btw flashing the newest firmware via QGC works fine)

If you power cycle does it get stuck at the same point every single time?
This is a bit of a leap, but can you either format your sdcard or try a fresh one? I had this problem once last week, but didn't really have time to investigate. After changing the sdcard it went away.

Ok I tried the same procedure with different SD cards but with no success - still the same serial output message as before

What's your local dev environment, gcc version, etc? Have you built + flashed successfully before?
Can you try completely cleaning and rebuilding? Be sure to commit anything you've changed first.
make distclean && make px4fmu-v2_default upload

I'm using OSX El Capitan and I strictly followed the guide provided by the px4 team. Until now I have not changed something in the source code. Building and editing my code is done in Qt Creator (Qt Creator 3.6.1, Based on Qt 5.6.0 (Clang 7.0 (Apple), 64 bit)). The only thing not mentioned in the guide, which I had to install was Java SE Development Kit 8.
maverick@Mavericks-MacBook-Pro:~$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
cleaning and rebuilding yield same serial out again:
sercon: Registering CDC/ACM serial driver
sercon: Successfully registered the CDC/ACM serial driver
WARN  [param]    selected parameter default file /fs/mtd_params
rgbled on I2C bus 2 at 0x55 (bus: 100 KHz, max: 100 KHz)
WARN  [px4io]    CRCs match
INFO  [dataman]  Power on restart, data manager file '/fs/microsd/dataman' size is 103090 bytes
MS5611_SPI on SPI bus 1 at 3 (20000 KHz)
WARN  [bst]      no devices found
INFO  [ver]      match: PX4FMU_V2
HMC5883_I2C on I2C bus 1 at 0x1e (bus: 100 KHz, max: 400 KHz)
WARN  [hmc5883]  ERROR: TIMEOUT 1
WARN  [hmc5883]  FAILED: SCALE
WARN  [hmc5883]  failed to enable sensor calibration mode
ERROR [hmc5883]  calibration failed
LIS3MDL bad ID: 3cWARN  [lis3mdl]  no device on bus 2
WARN  [hmc5883]  no device on bus 1
ERROR [mpu6000]  no device on this bus
MPU6000 on SPI bus 1 at 4 (1000 KHz)
L3GD20 on SPI bus 1 at 1 (11000 KHz)
LSM303D on SPI bus 1 at 2 (11000 KHz)
ERROR [meas_airspeed] no MS4525 airspeed sensor connected
ERROR [ets_airspeed] no ETS airspeed sensor connected
ERROR [ets_airspeed] no ETS airspeed sensor connected
nsh: sf10a: command not found
INFO  [pwm_out_sim] MODE_8PWM
With firmware version 1.3.1 I was able to build the project and even fly with my Quadcopter in HITL mode with jMAVsim.

I think we've got a problem with pwm_out_sim introduced between v1.3.1 and v1.3.2.

1.3.2 was actually a mishap, it went against master instead of stable. Please use https://github.com/PX4/Firmware/releases/tag/v1.3.3, which is what I intended to do. We are not supporting master for stable builds.

@Namorus this is resolved in current master and stable v1.3.3


[FEATURE] PDF/CBZ/CBR custom reader display double spread pages

Is your feature request related to a problem? Please describe.
The pdf/cbr/cbz reader doesn't have an option to display in double spread, or two pages side by side. Mentioned in #384
Describe the solution you'd like

Add an option somewhere to have double spreads
also define the read direction, left ← right for manga or right → left for western comics.

the pages view at the bottom might need to mirror this, by scrolling in the right direction.

add subtil hint of the read direction for people not used to reading certain mediums. Could be a dark to light gradient in the background, or a border color ? Needs designing.
add an option to set the read direction per library, if you organize per medium.

Describe alternatives you've considered
n.a.
maybe just having the admin options and not let the users choose ?
Additional context
kavita sort of has this, but it never worked well...

I've officially started working on this feature. So far, the behavior will be as follows:

You may configure default settings for the reader(s) as part of library settings. Any book without overrides will default to these settings
You can override settings on a per-book basis when you are in a reader (via the toolbar). The overrides are persisted to your client only, they are not synced to the DB

There will be options in settings to clear any local configurations

The initial set of options which may be configured will be:

Double spread (has no effect on continuous scrolling)
Reading direction (ltr or rtl, also has no effect on continuous scrolling)
Image height/width sizing (see #437)

If a user doesn't like these settings, they currently have to override them for each book. I haven't come up with a solution for this yet, and might punt it to after the initial effort

I'm focused on the functionality for now, as it will be a solid chunk of work. I can post an update with what it looks once it is properly designed. If you (or any onlookers) have thoughts, feel free to share

Tentative designs

Nice !!
I think I would expect the preview to highlight both displayed pages, not just the first one.

I think I would expect the preview to highlight both displayed pages, not just the first one.

Yeah I agree, I'll try to find time to squeeze that in but it might wind up being a follow-up

Other suggestion, have the current active pages in the center, even at the start of the document ?

I can consider it, but implementation would be more complex to get something functional with the virtualizer. As the above, it would likely be after though

Yup, no worries. Just making suggestions.


Add Gnoland FAQs

List of questions made at Gophercon EU almost for everyone asking for info about gno.land.
This is not intended to be the final answers and they must be reviewed and expanded.
cc @zivkovicmilos @moul

I advocate for placing the FAQ on this repository instead of the main one. This way, it becomes a community-oriented document that primarily offers support. We can even rely on the community to assist in completing, clarifying, and continuously adding reference links to the FAQ.
I support merging your PR, Antonio. I renamed the file to FAQ.md. After merging, we can iterate.
I suggest updating the docs.gno.land website to automatically fetch this FAQ.md file. Alternatively, we could consider moving misc/docusaurus from the main repo to here to keep the main repo cleaner and focused on content.

Pinging @leohhhn @waymobetta for input to this PR

@waymobetta , I don't know why your q's were marked as resolved, but even if they're marked as outdated (because they referred to the old file) I still support them :+1:

@waymobetta okay, I still made a few comments because I still think some answers were a bit "half-correct". Nevertheless, Antonio's OOO until next week, but I think when he gets back he can incorporate my and your requested changes & merge :)

Closes Issue#2


Change the Yarn registry becasue of the expired certificates.

Change the Yarn registry of Taobao mirror becasue of the expired certificates.

Refer to here.


Will it work for IOS 9.2?

I am using this in ios9.2. I cant able to run the project. if it works in ios9.2. please give me suggestions to proceed further. Thank You...

I'm running iOS 9.2.1 and it works without any problems. What specific issue are you having?

I am new to IOS. i didn't get any specific issue. but i didn't get the simulator screen. i surfed over net for the issue. I came across some points that check for ios deployment target. in github the xcodeproject line shows set the deployment target to ios8.0. Can you help me in getting success.

What happens when you try to run the project? Do you get an error?

No Errors. no error in debug section. "Project running on iphone" is showing on status bar. but it didnt run the simulator.


Add Waiting Room status method

Description
I added the method WaitingRoomStatus (maybe GetWaitingRoomStatus?) to get the current status of a Waiting Room.
I left the status property as a string in the Go struct. This could be updated to an explicit status type if necessary.
Has your change been tested?
I have added a TestWaitingRoomStatus test in waiting_room_test.go.
Types of changes
What sort of change does your code introduce/modify?

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

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] This change is using publicly documented (api.cloudflare.com or developers.cloudflare.com) and stable APIs.

nice! thank you! 👏


feat: add ContainerInitializer concept

Issue
https://gravitee.atlassian.net/browse/ARCHI-341
Description
This PR covers 2 aspects:

Internal rework of the license fetch mechanism: it is currently highly coupled with the LicenseLoaderService which fetches it from env or file. A LicenseFetcher interface allows for proper decoupling. The fetch part has been moved to the DefaultLicenseFetcher.

Addition of ContainerInitializer that can be implemented and loaded during initialization of the node container.

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 5.10.0-archi-341-container-initializer-SNAPSHOT
download it from Artifactory here

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

5.12.0
GitHub release

Your semantic-release bot :package::rocket:


refactor(dependency): OCaml -> 4.12, redux

Retrying #3536

Awesome @bryphe! I've been bumping up against that unqualified-id error which has prevented me from doing any development on Oni, so this should free me up again!

Weird, looks the CentOS failure might be related to the prebuilt DLLs:
info install 0.6.10 (using package.json)
error unable to fetch esy-skia@github:revery-ui/esy-skia#6106223:
                                                                   source: github:revery-ui/esy-skia#6106223
                                                                   error:
                                                                   error: command failed: 'git' '-C' '/oni2/_esy/default/tmp/esy-fc9118' 'checkout' '6106223'
                                                                   stderr:
                                                                            error: Your local changes to the following files would be overwritten by checkout:
                                                                            	prebuilt/windows/skia.dll
                                                                            Please commit your changes or stash them before you switch branches.
                                                                            Aborting

                                                                   stdout:

                                                                    fetching dist: github:revery-ui/esy-skia#6106223
error: installation error
  fetching esy-skia@github:revery-ui/esy-skia#6106223

https://dev.azure.com/onivim/oni2/_build/results?buildId=16714&view=logs&j=e3ae384d-e199-50c7-2cb4-9ce0785e7448&t=575416f9-89fc-5369-7933-ebe25f02131f&l=25


python typing draft

This PR is a draft for making the project typed. I have started with one file for the team to review and give a go ahead if they are ok with it.

Coming from a statically typed language, this feels more familiar. Hehehe

Hey @Jorgeewa
Thanks very much for this.  I've pushed a merge with the master branch and a couple of little fixes to get it building.  I think next steps would be to get this passing with mypy:
➜ mypy  scripts/wrappers/common/utils.py
scripts/wrappers/common/utils.py:11: error: Skipping analyzing "click": found module but no type hints or library stubs
scripts/wrappers/common/utils.py:11: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
scripts/wrappers/common/utils.py:58: error: Unsupported right operand type for in ("CompletedProcess[Any]")
scripts/wrappers/common/utils.py:75: error: Need type annotation for "info" (hint: "info: List[<type>] = ...")
scripts/wrappers/common/utils.py:112: error: Incompatible return value type (got "List[Tuple[Any, str]]", expected "Union[List[None], List[Tuple[str]]]")
scripts/wrappers/common/utils.py:170: error: Incompatible return value type (got "str", expected "CompletedProcess[Any]")
scripts/wrappers/common/utils.py:172: error: Incompatible return value type (got "str", expected "CompletedProcess[Any]")
scripts/wrappers/common/utils.py:176: error: Incompatible return value type (got "str", expected "CompletedProcess[Any]")
scripts/wrappers/common/utils.py:196: error: "dict" expects 2 type arguments, but 1 given
Found 8 errors in 1 file (checked 1 source file)

Thanks for the updates @Jorgeewa, I'm still seeing failures both formatting (https://github.com/ubuntu/microk8s/runs/4072169684?check_suite_focus=true), these can be tested locally with tox -e lint and build because of
   File "/snap/microk8s/x1/scripts/wrappers/common/utils.py", line 24, in <module>
    def snap_data() -> pathlib.PosixPath:
NameError: name 'pathlib' is not defined

I'm guessing that pathlib isn't imported in utils.py.
Thanks!
Joe


Add content scope module

Task/Issue URL: https://app.asana.com/0/0/1203004819379166/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #2298

PR #2299   👈

This comment was auto-generated by Graphite.


Update active-directory-passwords-faq.md

clarified what types of accounts pw writeback will work for.

@benpahl : Thanks for your contribution to the Azure documentation! The author, @MicrosoftGuyJFlo, has been notified to review your proposed change.

#sign-off


Neutral Button Icons in UI

Since PlayStation symbols are a potential copyright issue, I would like to request/suggest an option to turn on directional button symbols instead of A and B buttons on the Daijisho menus. Like on the Switch when you have a single sideways joycon.
Not sure what icon library the app uses but Material Design Icons already has these sorts of shapes available. https://pictogrammers.com/library/mdi/icon/gamepad-circle-right/
Here's a rough example:

Originally posted by @kacboy in https://github.com/TapiocaFox/Daijishou/issues/180#issuecomment-1514179564

That would be a good idea. It works well with retroarch and would unify the navigation across the board.

Since this suggestion is already here, I'd love to also have the ability to customize the button icons ourselves, for instance, picking from a set of available icons and colors. This way we can make the PlayStation buttons ourselves. My device has custom buttons with the PlayStation icons and colors and I'd love to make my frontend have the same icons as my physical buttons.
I'll take a look at the code and see if I can contribute with it.

Well, I just realized that this project is closed source. I'd love to contribute, but I'm any case, having the ability to set custom icons to the buttons would be great!


Restoring quota patch overwritten during 2019-06-01 version update

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

This PR is trying to restore the changes introduced by PR: https://github.com/Azure/azure-rest-api-specs/pull/6656/files
but were mistakenly overwritten by the PR: https://github.com/Azure/azure-rest-api-specs/pull/6432

Can one of the admins verify this patch?

Automation for azure-sdk-for-go


Ben/tutorial

Pull Request doc
Purpose
Add scatter plot of capacity vs capacity factor of generators in an area to tutorial. Closes #282.

You can run tox in the docs repository to see the updates
Where to look

Changed title of subsection
Added a bullet point for the new plot

Usage Example/Visuals
This is the plot that is displayed:

Time estimate
5 min

We are going to maintain all code snippets in the tutorial in the plot_tutorial.ipynb notebook in the future or it is for testing purpose only?

We are going to maintain all code snippets in the tutorial in the plot_tutorial.ipynb notebook in the future or it is for testing purpose only?

I would say no. I added the notebook so reviewers can run the code. We will decide once all the plots are integrated what we want to do with this notebook (along with the other ones?)


wip/test: note commitment bug regression

Attempt at a regression test for #1507 (downside of doing this through the smoke tests is that it will be slow)

ok confirmed: after waiting for an epoch duration, in this build we can see that we hit the unique constraint on the note commitment as in #1507:
status: Internal, message: \"Worker failed: error returned from database: UNIQUE constraint failed: notes.note_commitment\"


[11.x][PHPDOC] Fix bad phpdoc for \Illuminate\Database\Connection::$schemaGrammar

This PR fix bad phpdoc in \Illuminate\Database\Connection :

$schemaGrammar : This property can be null or \Illuminate\Database\Schema\Grammars\Grammar

Here is an example where the property $schemaGrammar is null :

Doesn't
protected function getDefaultGrammar()
{
    //
}

result in void rather than null? Sure, it's type-cast to null, but having the PHPDoc say void would be more correct, wouldn't it?

@shaedrich Is good question. For me, getDefaultGrammar must be return null by default. The function useDefaultSchemaGrammar call getDefaultGrammar, void is invalid type ...
https://github.com/laravel/framework/blob/8f6a9b03b8e41eedca5f6182d1af2b81ad4be3e6/src/Illuminate/Database/Connection.php#L256-L274

Since when is void invalid? Sure, it's only a return type, but that doesn't make it less valid


[Tabs] Label has focused style after clicking

The first time that I load the tabs by default is set the first tab correctly however the opacity of the first tab is not set to 1. After that I click on it the opacity change in the correct way.
Is that an Issue or I'm missing something?

After I click

<md-tab-group> <md-tab> <ng-template md-tab-label> All Orders
{{allOrdersCount}}
 </ng-template> <iag-all-orders (onPickup)="refreshItems()"></iag-all-orders> </md-tab> <md-tab> <ng-template md-tab-label style="opacity: 1"> My Orders
{{myOrdersCount}}
 </ng-template> <iag-my-orders (onRefresh)="refreshItems($event)"></iag-my-orders> </md-tab> </md-tab-group>

Can you please use the issue template and provide a Plunker? Thanks!

I believe you are referring to the tab label's focus, which changes its opacity and background to show focus. This is useful for knowing what tab label is focused when navigating via keyboard.

@andrewseguin exactly if you look on the demo: https://material.angular.io/components/tabs/overview
you see the line blu under the first tab but if you click on the first tab again you see that the word overview became black (focused)...
My opinion is that the label should be already focused

I'm not sure it's clear, but by "focused" we are referring to the browser's focus on the element, which is very relevant to keyboard interaction and accessibility. We won't be able to support automatic focus of the first tab lab on page load.

But it's inconsistent! If the first tab is selected by default it should have the same look and feel of clicked

The focus state represents when the user has actively focused that individual component. By default, the focus state goes top to bottom so depending on where your tabs are it, it doesn't make sense for the tabs to steal the focus plus if there are multiple tabsets on the screen which tab should you auto focus?
a11y also states that there is some sort of indication that the focused item is focused thus the style difference.
@kara  - I believe given all this, it is functioning as designed.

@ruchit07 what I was looking for!

The solution provided by @ruchit07 works ok when you click on tabs. But if you go to next tab without clicking on it (swipe right) you need to add also:
 .mat-tab-link:not(.mat-tab-label-active):focus {
  background: none !important;
}

I don't like using !important if I can avoid it and I found the following works for me.
.mat-tab-group.mat-primary .mat-tab-label.cdk-focused:not(.cdk-mouse-focused):not(.cdk-tab-disabled):not(.mat-tab-label-active) {
  background: none;
}

You can just call blur on the link on click.
 (click)="onTabClick($event)"
and in your ts file
  onTabClick(event) {     event.target.blur();   }

@ruchit07 solution works but is the a permanent fix to this issue ?

This makes no sense. You have overwhelming likes on comments which most people agree is common sense, yet so maintainers disagree, with zero support by the actual people who are utilising this library.

A tab is selected, which indicates it's already focused.

No, it does not indicate that. If a tab is focused you can navigate through the tabs using the arrow keys and enter. If you have multiple tab-groups on a page you can only navigate the focused one with your keyboard. So, there is a difference in behaviour between a focused tab (group) and an active tab.

How many users percentage wise do you think would know or care to use their arrow keys to change tabs in a page? If your definition of focused implies that keyboard behaviour should be counted as such an important factor I think you’re missing my point, which is that the user does not think like the developer. We should be suiting how end users will actually use it, not how we think it should fit together based on arbitrary factors.

Disabled people care. People wo can not use a mouse. This is an accessibility feature and it's a good thing it's there. If you want to lock out disabled people from using your app; fine, do it. Edit your css and get rid of that feature. But I firmly believe that it is a good thing that accessibility features are activated by default because developers don't usually think about the needs of people who have different needs than they have.

Alright so why is this issue still open? If accessibility is the dealbreaker, instead of us going back and forth, the team should be clear about it and close it

True. I can only guess but I recon that they still see this as a ux problem. As you say, there are a lot of people who seem to misunderstand this feature. Balancing accessibility and general ux is not always easy. Especially in this case, where the impact is not very high, it's easy to postpone finding a solution indefinitely. I hope that they'll find a solution that is good for everyone.
Anyway this turned into a discussion of culture that does not have much to do with the bug anymore. I'm sorry for that and will leave it at that. :)

@andrewmnlv ,
Should we expect this issue to be fixed?
This is very trivial fix, isn't it? Please, let us know if it is low priority and somebody should do it for you

I vote keep the background fill only for cdk-keyboard-focused accessibility, and at least add a style for mat-tab-label-active to keep the label opacity at 1 after the active tab loses focus. Alternatively, think of it as setting opacity to 0.6 only if it's one of the more 'muted' tab labels. It makes it a little nicer to differentiate the "foreground tab" content from the others, apart from the big underline. Best of both worlds.

Hi there.
I understand the focus motivation but I too was missing the stronger text color on the selected tab label by default tab (while user doesn't select it) and after the user select any other element on the page.
After inspecting the HTML page, I just went with...
div[role="tab"][aria-selected="true"] {
  opacity: 1;
}

...on my main styles.css Angular project file. Now, the selected tab has the bottom border line as well as a stronger text color when selected (by default or not) and after user select any other element on the page.
I'm new to css and web page programming, so any problem found with this approach witll be more than welcome.

Thanks to @ruchit07 for the solution. like @nikitakuz I also prefer avoiding important.
I've put the following in my styles.scss (so no ng-deep is needed) and it works.
.mat-tab-label.mat-tab-label-active{
opacity: 1;
}

As you say, there are a lot of people who seem to misunderstand this feature.

(word highlighted by me).
When a feature is so often misunderstood by its users, maybe it's a sign it needs to be improved?
There might be a way to make it behave as requested by original poster + many others while still having your point respected.
Waiting for it, I went with @endzis solution (without the ::ng-deep selector):
/*
* [Tabs] Label has focused style after clicking - #5903
*  https://github.com/angular/components/issues/5903
*
* Remove this once this issue is fixed.
*
*/
mat-tab-label.mat-tab-label-active {
    opacity: 1;
}

I couldn't reproduce it with the current version and it seems like the code for showing the focus indication only targets keyboard and programmatic focus (see https://github.com/angular/components/blob/master/src/material/tabs/_tabs-theme.scss#L89). Closing.


Unable to set connections.max.reauth.ms

Hello,
I wanted to set the value of the broker connections.max.reauth.ms to force regular reauthentication of the consumer reading from my topics.
However I could not find the possibility to set this property. Did I miss something ?
Thank you

This seems like an issue with a Kafka-related Go library — this repository is for https://godoc.org and isn't related to your problem.

Indeed my mistake sorry


[Regression] Large models taking more than an hour to build

What happened?
Between f3d0369 and 967ab3b, Benchmark Large workflow started timing out. Several JAX models are taking more than an hour to build on CUDA. These models took at most 2 minutes to build.
Steps to reproduce your issue
Download any one of:

https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.10_1684396752/T5_LARGE/batch_16/stablehlo.mlirbc
https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.10_1684396752/T5_LARGE/batch_24/stablehlo.mlirbc
https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.10_1684396752/T5_LARGE/batch_32/stablehlo.mlirbc
https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.10_1684396752/T5_LARGE/batch_48/stablehlo.mlirbc

Compile:
iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --iree-hal-target-backends=cuda --iree-input-type=stablehlo --iree-hal-cuda-llvm-target-arch=sm_80 <path to mlirbc> -o /tmp/module.vmfb

What component(s) does this issue relate to?
No response
Version information
Started failing between f3d0369 and 967ab3b.
Additional context
No response

I'm going to start bisecting to find the culprit commit.

https://github.com/openxla/iree/blob/main/docs/developers/debugging/compile_time_regressions.md has a script you can run to bisect.

I was going to run the Benchmark Large workflow at different commits and see which times out :)

I'll race you :D
Just started a bisect run using the script and the commit range mentioned above. We'll see how my ccache performs.

Sounds good! I have 3 workflows running on commits that look to be the culprits.

My bisect points to https://github.com/openxla/iree/commit/b3a1ac9e8592f911195fa829ca1b13a280da4c73
Looks like compilation of this executable got much slower:
hal.executable public @main_dispatch_394 {
  hal.executable.variant public @cuda_nvptx_fb, target = <"cuda", "cuda-nvptx-fb", {target_arch = "sm_80"}> {
    hal.executable.export public @main_dispatch_394_generic_16x16x512x512_i32xi32xi32xf32 ordinal(0) layout(#hal.pipeline.layout<push_constants = 0, sets = [<0, bindings = [<0, storage_buffer, ReadOnly>, <1, storage_buffer, ReadOnly>, <2, storage_buffer>]>]>) {
    ^bb0(%arg0: !hal.device):
      %x, %y, %z = flow.dispatch.workgroup_count_from_slice
      hal.return %x, %y, %z : index, index, index
    }
    builtin.module {
      func.func @main_dispatch_394_generic_16x16x512x512_i32xi32xi32xf32() {
        %c1598324736 = arith.constant<PHONE_NUMBER> : index
        %c33554432 = arith.constant 33554432 : index
        %c167772160 = arith.constant 167772160 : index
        %c234883072 = arith.constant 234883072 : index
        %c0_i32 = arith.constant 0 : i32
        %cst = arith.constant 1.600000e+01 : f32
        %cst_0 = arith.constant 2.07944155 : f32
        %cst_1 = arith.constant 3.100000e+01 : f32
        %c16_i32 = arith.constant 16 : i32
        %cst_2 = arith.constant 0.000000e+00 : f32
        %c32_i32 = arith.constant 32 : i32
        %false = arith.constant false
        %cst_3 = arith.constant -3.40282347E+38 : f32
        %c31_i32 = arith.constant 31 : i32
        %cst_4 = arith.constant 0x7FC00000 : f32
        %0 = hal.interface.binding.subspan set(0) binding(0) type(storage_buffer) alignment(64) offset(%c1598324736) flags(ReadOnly) : !flow.dispatch.tensor<readonly:tensor<32x16xf32>>
        %1 = hal.interface.binding.subspan set(0) binding(1) type(storage_buffer) alignment(64) offset(%c33554432) flags(ReadOnly) : !flow.dispatch.tensor<readonly:tensor<512x512xi32>>
        %2 = hal.interface.binding.subspan set(0) binding(1) type(storage_buffer) alignment(64) offset(%c167772160) flags(ReadOnly) : !flow.dispatch.tensor<readonly:tensor<512xi32>>
        %3 = hal.interface.binding.subspan set(0) binding(2) type(storage_buffer) alignment(64) offset(%c234883072) : !flow.dispatch.tensor<writeonly:tensor<16x16x512x512xf32>>
        %4 = flow.dispatch.tensor.load %0, offsets = [0, 0], sizes = [32, 16], strides = [1, 1] : !flow.dispatch.tensor<readonly:tensor<32x16xf32>> -> tensor<32x16xf32>
        %5 = flow.dispatch.tensor.load %1, offsets = [0, 0], sizes = [512, 512], strides = [1, 1] : !flow.dispatch.tensor<readonly:tensor<512x512xi32>> -> tensor<512x512xi32>
        %6 = flow.dispatch.tensor.load %2, offsets = [0], sizes = [512], strides = [1] : !flow.dispatch.tensor<readonly:tensor<512xi32>> -> tensor<512xi32>
        %7 = tensor.empty() : tensor<16x16x512x512xf32>
        %8 = linalg.generic {indexing_maps = [affine_map<(d0, d1, d2, d3) -> (d2, d3)>, affine_map<(d0, d1, d2, d3) -> (d2)>, affine_map<(d0, d1, d2, d3) -> (d3)>, affine_map<(d0, d1, d2, d3) -> (d0, d1, d2, d3)>], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%5, %6, %6 : tensor<512x512xi32>, tensor<512xi32>, tensor<512xi32>) outs(%7 : tensor<16x16x512x512xf32>) {
        ^bb0(%in: i32, %in_5: i32, %in_6: i32, %out: f32):
          %9 = arith.cmpi sge, %in_5, %in_6 : i32
          %10 = arith.minsi %in, %c0_i32 : i32
          %11 = arith.subi %c0_i32, %10 : i32
          %12 = arith.sitofp %11 : i32 to f32
          %13 = arith.divf %12, %cst : f32
          %14 = math.log %13 : f32
          %15 = arith.divf %14, %cst_0 : f32
          %16 = arith.mulf %15, %cst : f32
          %17 = arith.addf %16, %cst : f32
          %18 = arith.minf %17, %cst_1 : f32
          %19 = arith.cmpi slt, %11, %c16_i32 : i32
          %20 = arith.select %19, %12, %18 : f32
          %21 = arith.addf %20, %cst_2 : f32
          %22 = arith.fptosi %21 : f32 to i32
          %23 = arith.addi %22, %c32_i32 : i32
          %24 = arith.cmpi slt, %22, %c0_i32 : i32
          %25 = arith.select %24, %23, %22 : i32
          %26 = linalg.index 1 : index
          %27 = arith.index_cast %25 : i32 to index
          %extracted = tensor.extract %4[%27, %26] : tensor<32x16xf32>
          %28 = arith.cmpi ugt, %9, %false : i1
          %29 = arith.select %28, %cst_2, %cst_3 : f32
          %30 = arith.cmpi sle, %25, %c31_i32 : i32
          %31 = arith.cmpi sge, %25, %c0_i32 : i32
          %32 = arith.andi %31, %30 : i1
          %33 = arith.select %32, %extracted, %cst_4 : f32
          %34 = arith.addf %33, %29 : f32
          linalg.yield %34 : f32
        } -> tensor<16x16x512x512xf32>
        flow.dispatch.tensor.store %8, %3, offsets = [0, 0, 0, 0], sizes = [16, 16, 512, 512], strides = [1, 1, 1, 1] : tensor<16x16x512x512xf32> -> !flow.dispatch.tensor<writeonly:tensor<16x16x512x512xf32>>
        return
      }
    }
  }
}

Slow in executable serialization (LLVM codegen for CUDA). IR just before the slowness doesn't look that strange to me: https://gist.github.com/ScottTodd/f795f62b23ba2df1d51d785b4dbbb8eb
Trace instrumentation:

Trace sampling:

Nice bisecting! I can also confirm that https://github.com/openxla/iree/commit/b3a1ac9e8592f911195fa829ca1b13a280da4c73 is taking longer than expected.

Here are a few callstacks where time is being spent (just paused in a debugger at random times):
llvm::TargetLoweringBase::getTypeConversion(llvm::LLVMContext&, llvm::EVT) const (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/TargetLoweringBase.cpp:981)
llvm::TargetLoweringBase::getTypeAction(llvm::LLVMContext&, llvm::EVT) const (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/include/llvm/CodeGen/TargetLowering.h:1019)
llvm::SelectionDAGBuilder::visitSelect(llvm::User const&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:3409)
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:1190)
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, true>, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, true>, bool&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:691)
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1700)
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:482)
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:91)
llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1435)
llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1481)
(anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1550)
llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:535)
mlir::iree_compiler::IREE::HAL::translateModuleToISA[abi:cxx11](llvm::Module&, llvm::TargetMachine&) (/usr/local/google/home/scotttodd/code/iree/compiler/plugins/target/CUDA/CUDATarget.cpp:261)
mlir::iree_compiler::IREE::HAL::CUDATargetBackend::serializeExecutable(mlir::iree_compiler::IREE::HAL::TargetBackend::SerializationOptions const&, mlir::iree_compiler::IREE::HAL::ExecutableVariantOp, mlir::OpBuilder&) (/usr/local/google/home/scotttodd/code/iree/compiler/plugins/target/CUDA/CUDATarget.cpp:584)
mlir::iree_compiler::IREE::HAL::SerializeTargetExecutablesPass::runOnOperation() (/usr/local/google/home/scotttodd/code/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/SerializeExecutables.cpp:98)
mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_7::operator()() const (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:482)
void llvm::function_ref<void ()>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_7>(long) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45)
llvm::function_ref<void ()>::operator()() const (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68)
void mlir::MLIRContext::executeAction<mlir::PassExecutionAction, mlir::Pass&>(llvm::function_ref<void ()>, llvm::ArrayRef<mlir::IRUnit>, mlir::Pass&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/mlir/include/mlir/IR/MLIRContext.h:275)
mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:476)

llvm::MVT::getVectorVT(llvm::MVT, unsigned int) (/usr/local/google/home/scotttodd/code/iree-build/llvm-project/include/llvm/CodeGen/GenVT.inc:268)
llvm::MVT::getVectorVT(llvm::MVT, llvm::ElementCount) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/include/llvm/CodeGen/MachineValueType.h:477)
llvm::EVT::getVectorVT(llvm::LLVMContext&, llvm::EVT, llvm::ElementCount) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/include/llvm/CodeGen/ValueTypes.h:84)
llvm::EVT::getHalfNumVectorElementsVT(llvm::LLVMContext&) const (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/include/llvm/CodeGen/ValueTypes.h:435)
llvm::TargetLoweringBase::getTypeConversion(llvm::LLVMContext&, llvm::EVT) const (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/TargetLoweringBase.cpp:996)
llvm::TargetLoweringBase::getTypeAction(llvm::LLVMContext&, llvm::EVT) const (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/include/llvm/CodeGen/TargetLowering.h:1019)
llvm::SelectionDAGBuilder::visitSelect(llvm::User const&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:3409)
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:1190)
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, true>, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, true>, bool&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:691)
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1700)
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:482)
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:91)
llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1435)
llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1481)
(anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1550)
llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:535)
mlir::iree_compiler::IREE::HAL::translateModuleToISA[abi:cxx11](llvm::Module&, llvm::TargetMachine&) (/usr/local/google/home/scotttodd/code/iree/compiler/plugins/target/CUDA/CUDATarget.cpp:261)
mlir::iree_compiler::IREE::HAL::CUDATargetBackend::serializeExecutable(mlir::iree_compiler::IREE::HAL::TargetBackend::SerializationOptions const&, mlir::iree_compiler::IREE::HAL::ExecutableVariantOp, mlir::OpBuilder&) (/usr/local/google/home/scotttodd/code/iree/compiler/plugins/target/CUDA/CUDATarget.cpp:584)
mlir::iree_compiler::IREE::HAL::SerializeTargetExecutablesPass::runOnOperation() (/usr/local/google/home/scotttodd/code/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/SerializeExecutables.cpp:98)
mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_7::operator()() const (/usr/local/google/home/scotttodd/code/iree/third_party/llvm-project/mlir/lib/Pass/Pass.cpp:482)

Hmmmm.... the IR being fed into iree-hal-serialize-target-executables is identical at https://github.com/openxla/iree/commit/b3a1ac9e8592f911195fa829ca1b13a280da4c73 (culprit) and it's parent https://github.com/openxla/iree/commit/1b8e95c3a707a98476e7f5cf4e6d10c91aa3cab0. Maybe this is a regression in LLVM codegen? Infinite loop / no termination condition?
The parent commit serializes in 15ms:

Bisecting within llvm-project is normally tricky, though there aren't many IREE code changes in the culprit, so it would be possible with some effort.
I scanned through the commits and found https://github.com/llvm/llvm-project/commit/2fe2a6d4b8a4647e49d69a5ff7161946aeb7cee1 as one idea to test...

Maybe we could extract a reproducer to use with llvm::legacy::PassManagerImpl::run(llvm::Module&) and test purely with upstream LLVM code (not in the IREE repo / with iree-compile).

I think I've done what I can to triage this, probably need someone more familiar with codegen (LLVM for CUDA) to dig in deeper.

(A simpler IREE repro is to take the IR from https://github.com/openxla/iree/issues/14067#issuecomment-1588133415 and compile with --compile-mode=hal-executable --iree-hal-target-backends=cuda --iree-hal-cuda-llvm-target-arch=sm_80)

Could you please verify that this is fixed after the last integrate? All the models above are taking just a few seconds to compile :)

Sure, I've started a run based on head: https://github.com/openxla/iree/actions/runs/5263690485

It's not fixed after the latest integrate. What usually takes 18 mins to build is already taking 1h 20 min and will most likely time out.

Could anybody help me repro? I must be missing something...
IREE commit:
commit 8af37c070b7a65cd324ad5e06eb4455084be28e8 (HEAD -> main, origin/main, origin/HEAD)
Author: Lei Zhang<EMAIL_ADDRESS>Date:   Wed Jun 14 13:47:06 2023 -0400

    [ci] Update Xcode command line tools path on x86_64 macOS runners (#14108)

    This fixes the breakage on x86_64 macOS runners.

> wget https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.10_1684396752/T5_LARGE/batch_48/stablehlo.mlirbc
> time iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --iree-hal-target-backends=cuda --iree-input-type=stablehlo
--iree-hal-cuda-llvm-target-arch=sm_80 stablehlo.mlirbc -o module.vmfb

real    0m13.205s
user    0m15.586s
sys     0m7.123s

I rebuilt the large benchmark set (3c7c6c28d367e5da5f982e7c930448feea976a85) and confirmed that all T5 Large models can be built now. But now the Bert Large failed to build (taking too long)...
To reproduce:
wget https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.10_1684396752/BERT_LARGE/batch_24/stablehlo.mlirbc
iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --iree-hal-target-backends=cuda --iree-input-type=stablehlo --iree-hal-cuda-llvm-target-arch=sm_80 -o module.vmfb ./stablehlo.mlirbc

These batch sizes failed to build: 16, 24, 32, 48, 64, 512, 1024, 1280

The original bug referred to both T5 Large and BERT models. If @ScottTodd can still reproduce it in a dispatch, I'm guessing that dispatch is no longer present in T5 but in BERT. @dcaballe do you mind reproducing with the BERT model that @pzread included in his last comment?

Found the culprit. We can land this in the meantime if this is issue is a blocker: https://github.com/openxla/iree/pull/14125
Sending a repro to LLVM review.

The problematic PR had been reverted already but we won't get it until it's integrated into stablehlo.
https://reviews.llvm.org/D152317

Fixed. Thanks Diego, Scott and Che-Yu!

Nice find! From that review, here's an upstream issue with the same symptoms: https://github.com/llvm/llvm-project/issues/63294


move correlation type to title and reinstate long subtitle

We recently switched the correlation app titles to be both "Correlation" and the differentiators to be in the subtitle. I didn't realize at the time but turns out on the dashboard view we only show the title (which makes sense). However since we now have two apps wiht the same name...well...

not so good.
This PR moves the "X v Y" subtitle into the title so that throughout the eda we always know which app is which.

ill approve, but do we want to wait to confirm w dan that it should be functional data vs metadata instead before merging? or even just go ahead and make that change and ask for forgiveness rather than permission should we turn out to be wrong?

I think we should just go ahead, just in case things get down to the wire. Whatever we merge will be better than what we have!
Also i think taxonomic abundance doesn't fall under the functional data umbrella, maybe i'm wrong there, but just in case i'll make that one "Correlation (Taxa, Functional Data v. Metadata)" unless i hear an outcry!


fixed typo which had Irish October Bank Holiday as august (month=8)

Coverage remained the same at 98.982% when pulling 348f214e20ab450c657755d8f588bb1f0da5b906 on razzildinho:ireland-october-fix into 988bdf89207005db273263962d8ddd0dde942c28 on ryanss:master.


Remove old (and now unused) buildNavigation

That's an old thing, left behind. You can remove this, it doesn't do anything. We might want to remove that from starter app as well.

//cc: @karelhala

Codecov Report

Merging #96 into master will increase coverage by 1.72%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
+ Coverage   16.92%   18.64%   +1.72%
==========================================
  Files          12       12
  Lines          65       59       -6
  Branches        5        5
==========================================
  Hits           11       11
+ Misses         51       45       -6
  Partials        3        3

Impacted Files
Coverage Δ

src/App.js
0% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Router resolves undefined values when building with "ng build --prod"

What is wrong?
I'm using @angular/cli and when I build a project using ng build --prod all the values that I resolve in all the states are returning undefined values.
When I build using ng serve or ng build everything works fine.
Steps to recreate
I created this repo that shows the problem.
I created a home component:
@Component({
  moduleId: module.id,
  template: `Hello: {{foo}}`
})
export class HomeComponent implements OnInit {
  @Input() foo: string;

  constructor() {
  }

  ngOnInit() {
  }
}

In the app.module I created a default home state for that component:
export function resolveFn() {
  return () => {
    return "bar";
  }
}

let state: Ng2StateDeclaration = {
  name: "home",
  url: "/home",
  component: HomeComponent,
  resolve: [{
    token: "foo",
    resolveFn: resolveFn
  }],

};

@NgModule({
  declarations: [
    AppComponent,
    HomeComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    UIRouterModule.forRoot({
      states: [state],
      otherwise: "home"
    })
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {
}

In the app.component.html I added ui-view directive:

  APP COMPONENT

How does it look using ng serve

How does it look using ng build --prod

@Humberd see #36. It's fixed in 1.0.0-beta.5 which hasn't been released yet. You'll need to use @ResolveData() instead of @Input() to decorate your input.

or just wait for angular 4 no need to use @ResolveData(), the only workaround right now is to downgrade the @ngtools/webpack version

I updated the @angular/cli to the newest version 1.0.0-rc.2 and I can inject the input to the constructor like this:
export class HomeComponent implements OnInit {
  constructor(@Inject("foo") private foo: string) {
  }

  ngOnInit() {
  }
}

This should be working in latest ui-router using @Input() foo: string;, although injecting is also fine.


docs: clarify when requestfailed event is emitted

Clarify that requestfailed is only emitted if there's no response, and not if the the server returns an error.

What you need to do is download the CA Certificates package for whatever OS you're on, under Linux (well Debian/Ubuntu) it'll probably be something like
apt-get install ca-certificates
then
git config --global http.sslVerify true
git config --global http.sslCAinfo /etc/ssl/certs/ca-certificates.crt
although your path to your certificate file might be different depending on OS version.
This should get it working.

Thanks for the PR! I think I have some better wording; closing in favor of https://github.com/GoogleChrome/puppeteer/pull/4507


Update cloudwatch, dynamodb, kinesis, s3, sns, ... to 2.17.139

Updates

software.amazon.awssdk:cloudwatch
software.amazon.awssdk:dynamodb
software.amazon.awssdk:kinesis
software.amazon.awssdk:s3
software.amazon.awssdk:sns
software.amazon.awssdk:sqs
software.amazon.awssdk:sts

from 2.17.130 to 2.17.139.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #829.


Draft: Add script to include metrics in netlify build

Closes #567
Restores our ability to display up-to-date plugin metrics in the Jekyll based site.
Intended to replace this step in the old Gitlab CI pipeline:
pages:
  <<: *jekyll_template
  stage: deploy
  script:
    - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
    - unzip awscliv2.zip
    - ./aws/install
    - aws s3 cp s3://prod-meltano-bucket-01/hub_metrics/metrics.yml ./_data/metrics.yml
    - aws s3 cp s3://prod-meltano-bucket-01/hub_metrics/audit.yml ./_data/audit.yml
    - bundle exec jekyll build -d public
    - cp _redirects ./public
  artifacts:
    paths:
    - public
  rules:
  - if: $CI_COMMIT_BRANCH == "main"
    when: always
  # scheduled and a custom env var is set in the schedule
  - if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "daily_build"
    when: always
  - when: never

As part of this I've added AWS credentials into the netlify build environment here: https://app.netlify.com/sites/meltano-hub/settings/deploys#environment
During development I looked at the IAM console and made an educated guess that the old CI pipeline was using credentials for a user called gitlab-ci-data-pipeline. That user has access to the necessary bucket. Let me know if reusing that seems sufficient or if I should create a new IAM user specifically for this build environment.

To validate that this is working compare:
https://hub.meltano.com/extractors/tap-airtable
vs
https://deploy-preview-632--meltano-hub.netlify.app/extractors/tap-airtable
And check out the super-fresh timestamps at https://deploy-preview-632--meltano-hub.netlify.app/singer/docs#meltano-usage-metrics:


Standardize Steps.Serialization.Protobuf on Steps.Serialization.Core v1.1.0

Need to work on getting AltCover working again prior to pushing the standardization


Need help about flutter bluetooth!

Hi everyone!
I was developing with flutter and the project is about taxi service providing
and need google map, api integrations and Bluetooth also.
But I don't know how can I use bluetooth device directly.
Please send me your advice or contact address to help me, please.
Thanks a lot.

Hi
Please contact me via email
I can help you.

<EMAIL_ADDRESS>


How to combine NCBI SRA with local data on samplesheet.csv?

Hello, I have some samples from the SRA that I would like to include along with the local fastqs. I have downloaded the metadata sample sheet from the SRA as directed but I am curious how to combine it with the samplesheet.csv created for the local files? I have attached a version of the sample sheet where I just included the SRA metadata that corresponds with the samplesheet columns created with your python script, so the fq1 and fq2 columns for the SRA are 'NaN'. Should this work?
test_SRA_samplesheet.csv
Thanks for the help!

Currently it's not possible. It has been on my mind to add for some time though. It should be pretty straightforward, so I'll take a crack at it today.

Awesome! That would be easier than downloading everything. Thanks.

@Erythroxylum, I added this on the branch local_and_sra.  Working on the PR #146 now, but you can checkout that branch and test it out. Let me know if you run into issues.

Hi @cademirch, the pipeline ran until sort_gatherVcfs. I ran the main branch with the same test batch of fastqs and without the sra sample and snparcher completed. The err file and log files are attached. Here is the log error:
Checking the headers and starting positions of 142 files
[E::bgzf_flush] File write failed (wrong size)
[buf_flush] Error: cannot write to /tmp/00114.bcf
Cleaning
Thanks for your help!

Hi @cademirch, the pipeline ran until sort_gatherVcfs. I ran the main branch with the same test batch of fastqs and without the sra sample and snparcher completed. The err file and log files are attached. Here is the log error:
Checking the headers and starting positions of 142 files
[E::bgzf_flush] File write failed (wrong size)
[buf_flush] Error: cannot write to /tmp/00114.bcf
Cleaning
Thanks for your help!
sratest20_log.txt
sraerr19.txt

@Erythroxylum I'm not sure about this, but I think this looks like a space issue in the tmp dir? Tagging @tsackton since he's familiar with this cluster.

@Erythroxylum is big temp set to something like "./tmp" in your config? if not that is an easy place to start.

Hello, big temp was not set to anything, so I set as above but now there is an error:
Traceback (most recent call last):
File "/n/holyscratch01/davis_lab/dwhite/snpArcher-shared-testsra-fastq/snpArcher/./profiles/slurm/slurm-submit.py", line 7, in
from snakemake.utils import read_job_properties
ModuleNotFoundError: No module named 'snakemake'
Did changing the /tmp cause this?
run_pipeline.sh and the log file are attached.
Replicating the commands in run_pipeline.sh within an interactive session, snakemake --version is 7.28.3
sraerr-nomodulesnakemake.txt
run_pipeline.sh.txt

I suspect this is an issue with conflicting Python versions somewhere. Not sure why it wasn't a problem before - can you check what version of python you have in your Snakemake environment, and also what the default Python version is (e.g. after module load python but before you activate the Snakemake environment)?

module load python
python --version
Python 3.10.12
conda activate snakemake
python --version
Python 3.11.4
On Wed, Jan 3, 2024 at 8:44 AM Tim Sackton @.***> wrote:

I suspect this is an issue with conflicting Python versions somewhere. Not
sure why it wasn't a problem before - can you check what version of python
you have in your Snakemake environment, and also what the default Python
version is (e.g. after module load python but before you activate the
Snakemake environment)?
—
Reply to this email directly, view it on GitHub
https://github.com/harvardinformatics/snpArcher/issues/145#issuecomment-1875393294,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLR5LXU3S7D2PHBVHSCNETYMVOENAVCNFSM6AAAAABAWUM7NWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGM4TGMRZGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I don't fully understand why this error is occurring for you now, only after changing the big temp line in the config. My best guess is this is related, somehow, to using the python cluster module, but I am not really sure.
I would suggest that the easiest thing to try is to start with a fresh install of mamba, using miniforge3: https://github.com/conda-forge/miniforge (use Miniforge3-Linux-x86_64). Then, you might need to delete your existing conda environments. You can recreate your snpArcher environment with mamba create -c conda-forge -c bioconda -n snparcher snakemake=7.32.4 (note snpArcher doesn't work with snakemake 8.0 yet).
Then you should ideally be able to just have the first line of your run_pipeline.sh script be mamba activate snakemake and remove the module load and the existing conda stuff.
I'm not positive that will work, because this is a strange error, but it feels like some kind of python version thing which is likely a conda issue, so this is probably the best troubleshooting place to start. Please keep us posted if you have any issues.

Fresh install of mamba seems to have worked.
@cademirch I went to clone the branch again and it said the branch has been removed. What is the status now?
git clone -b local_and_sra --single-branch https://github.com/harvardinformatics/snpArcher.git
Cloning into 'snpArcher'... warning: Could not find remote branch local_and_sra to clone. fatal: Remote branch local_and_sra not found in upstream origin

We merged that branch a few weeks ago. You should be fine just using main

OK, well you can close this then. Thanks so much for your prompt attention!