Runtime error with Firebase-UI 4.3.1/4.3.1

Step 2: Describe your environment

Android device:
Android OS version: _____
Google Play Services version: 4.0.1
Firebase/Play Services SDK version: core 16.0.7
FirebaseUI version: 4.3.0/4.3.1

Step 3: Describe the problem:
Hello. I googled and read probably everything about similiar issues but did not find anything. My
app crashes when trying to use email logon while facebook and google login methods are working.
Observed Results:
When I click on "Login with email" option in generated UI of Firebase-UI module app just crashes with following errors.
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.godotengine.bacterio/com.firebase.ui.auth.ui.email.EmailActivity}: android.view.InflateException: Binary XML file line #34: Binary XML file line #34: Error inflating class android.support.design.widget.TextInputLayout
Caused by: android.view.InflateException: Binary XML file line #34: Binary XML file line #34: Error inflating class android.support.design.widget.TextInputLayout
Caused by: android.view.InflateException: Binary XML file line #34: Error inflating class android.support.design.widget.TextInputLayout
Caused by: android.content.res.Resources$NotFoundException: Drawable org.godotengine.godot:drawable/design_password_eye with resource ID #0x7f07008f
Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/design_password_eye.xml from drawable resource ID #0x7f07008f

Relevant Code:
My project build.gradle
build.gradle.txt
My project manifest
AndroidManifest.xml.txt
I have checked the APK and I can see resources mentioned in error in RES folder.

Any help/advice would be appricieted.

AS you noticed these lines are very suspicious:
Caused by: android.content.res.Resources$NotFoundException: Drawable org.godotengine.godot:drawable/design_password_eye with resource ID #0x7f07008f
Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/design_password_eye.xml from drawable resource ID #0x7f07008f

What is design_password_eye, any idea where it comes from?  I don't think it's part of FirebaseUI or used in FirebaseUI.
Also are you passing a custom theme to FirebaseUI?  If so what is the specification?

AS you noticed these lines are very suspicious:
Caused by: android.content.res.Resources$NotFoundException: Drawable org.godotengine.godot:drawable/design_password_eye with resource ID #0x7f07008f
Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/design_password_eye.xml from drawable resource ID #0x7f07008f

What is design_password_eye, any idea where it comes from? I don't think it's part of FirebaseUI or used in FirebaseUI.
Also are you passing a custom theme to FirebaseUI? If so what is the specification?

Hi Sam, first thank you very much for quick replay.
I think lines are coming from FirebaseUI or at least indirectly.  From what I have found design_password_eye or design_password_eye.xml are drawable resources of com.android.support:design:28.0.0 that is used by FirebaseUI.
I have found this issue https://stackoverflow.com/questions/42789175/textinputlayout-crashing-in-android-lollipop-and-above/47342372 but I am using newer support library and newer gradle version then mentioned there.
For custom theme I tried to call AuthUI.getInstance() with and also without  part .setTheme(R.style.LoginTheme) while my style is simple:
<style name="LoginTheme" parent="FirebaseUI">     <item name="windowNoTitle">true</item> </style>
I am not sure if I could somhow change FirebaseUI layout so I could try answer from link I posted higher:
So, we can avoid Resources$NotFoundException by setting app:passwordToggleDrawable="@null"
Thank you very much.

Ok I want to determine if this is actually an issue with FirebaseUI or just an issue with your app that is becoming visible through FirebaseUI.  Could you try adding some views like this to a layout XML file if your own and see if it crashes?
            <android.support.design.widget.TextInputLayout
                android:id="@+id/password_layout"
                android:labelFor="@+id/password"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:errorEnabled="true"
                tools:ignore="UnusedAttribute">

                <android.support.design.widget.TextInputEditText
                    android:id="@+id/password"
                    android:inputType="textPassword"
<EMAIL_ADDRESS>/>

            </android.support.design.widget.TextInputLayout>

The result should be a password box.

Ok I want to determine if this is actually an issue with FirebaseUI or just an issue with your app that is becoming visible through FirebaseUI. Could you try adding some views like this to a layout XML file if your own and see if it crashes?
            <android.support.design.widget.TextInputLayout
                android:id="@+id/password_layout"
                android:labelFor="@+id/password"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:errorEnabled="true"
                tools:ignore="UnusedAttribute">

                <android.support.design.widget.TextInputEditText
                    android:id="@+id/password"
                    android:inputType="textPassword"
<EMAIL_ADDRESS>/>

            </android.support.design.widget.TextInputLayout>

The result should be a password box.

Hi Sam,
thank you for your answer and suggestion. I have added simple new activity in my app with following layout:
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

<android.support.design.widget.TextInputLayout
    android:id="@+id/password_layout"
    android:labelFor="@+id/password"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:errorEnabled="true"
    tools:ignore="UnusedAttribute">
    <android.support.design.widget.TextInputEditText
        android:id="@+id/password"
        android:inputType="textPassword"
<EMAIL_ADDRESS>/>
</android.support.design.widget.TextInputLayout>
</android.support.constraint.ConstraintLayout>```

and set<EMAIL_ADDRESS>in manifest for that activity.

I tried to call it with `.startActivity(intent) ` method and I got the same error as when using FirebaseUI email login.

>  Caused by: android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class android.support.design.widget.TextInputLayout

Based on this [(similiar issue)](https://stackoverflow.com/questions/55170605/firebaseui-inflating-exception) i have added `app:passwordToggleDrawable="@null"` into the `android.support.design.widget.TextInputLayout` element and I was able to call that activity and display password field. I am really not sure where the error is than but maybe if I could add this property to FirebaseUI layout it could help? Do you by any chance have idea how to achieve this?

Thank you very much.

Hmmm I don't think we actually want to add this change into FirebaseUI.  The visibility toggle is important in making the password field usable.
I think this probably has something to do with how your app is using vector drawables.  Unfortunately now that we've determined this is not a problem in FirebaseUI (since it occurs any time you try to use TextInputEditLayout in your app) I can't really dive into this and debug.  I hope you understand!
You may have better luck posting on StackOverflow.  I'd remove any mention of FirebaseUI and just show how your app crashes when you use the XML from your previous comment.

Hmmm I don't think we actually want to add this change into FirebaseUI. The visibility toggle is important in making the password field usable.
I think this probably has something to do with how your app is using vector drawables. Unfortunately now that we've determined this is not a problem in FirebaseUI (since it occurs any time you try to use TextInputEditLayout in your app) I can't really dive into this and debug. I hope you understand!
You may have better luck posting on StackOverflow. I'd remove any mention of FirebaseUI and just show how your app crashes when you use the XML from your previous comment.

Sure I understand. Thanks for help and time anyway.

Hi Sam,
just for others who might have similiar issue I was able to fix it and use also email sign in method with FirebaseUI. It is funny as actually your answer on other topic from 3 years ago helped me to solve it link.
So for anyone out there having this issue what I did: was in my application I have created res/layout folder. I have created copies of 4 layouts that FirebaseUI 4.3.1 uses when working with email signin (this is version dependent so they can differ for you). In my case these were:
fui_forgot_password_layout.xml, fui_check_email_layout.xml, fui_register_email_layout.xml, fui_register_email_layout.xml
In each of these files wherever there was <android.support.design.widget.TextInputLayout> used I have added this property app:passwordToggleDrawable="@null" and for password fields I have also removed app:passwordToggleEnabled="true". This is example of TextInputLayout after changes:
                android:id="@+id/password_layout"
<EMAIL_ADDRESS>                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/fui_field_padding_vert"
                app:layout_constraintTop_toBottomOf="@+id/welcome_back_password_body"
				app:passwordToggleDrawable="@null">

                <android.support.design.widget.TextInputEditText
                    android:id="@+id/password"
<EMAIL_ADDRESS>/>

            </android.support.design.widget.TextInputLayout>

I know I have lost possibilty to show password but I am willing to omit the functionality for sake of using FirebaseUI as it is as I like it.
Cheers

Thanks for sharing your solution!


Using variable in ST_Intersects causes InvalidShapeException

OrientDB Version: 3.2.17 & 3.0.8 running in container
Java Version:  1.8 from container base image
OS: RHEL 8.6 Host
Expected behavior
Should return line records that intersect
Actual behavior
Error: com.orientechnologies.orient.core.exception.OStorageException: Error on executing command: select from line let $geom = (SELECT geom from #14:0) where $geom <> null AND ST_Intersects(aline, $geom) = true
DB name="trick"
Error: org.locationtech.spatial4j.exception.InvalidShapeException: can't make Geometry from: null
Steps to reproduce
I'm trying to find all the "lines" that intersect a specific polygon.  My database structure is:
poly {
  geom: OPolygon
}

line {
 aline: OLineString
}

create class poly
create property poly.geom embedded OPolygon
create index poly.geom on poly(geom) spatial engine lucene
create class line
create property line.aline embedded OLineString
create index line.aline on line(aline) spatial engine lucene
insert into poly set name = 'Poly1', geom = ST_GeomFromText('POLYGON((0 0, 10 0, 10 5, 0 5, 0 0))')
insert into line set name = 'Line1', aline = St_GeomFromText('LINESTRING(2 10, 2 -5)')

select from line let $geom = (SELECT geom from #14:0) where $geom <> null AND ST_Intersects(aline, $geom) = true

The last select statement throws the error mentioned above (in 3.0.8 it's a nullpointer exception).  I am expecting it to return the line since they intersect.
Replacing the $geom in the ST_Intersects with 'POLYGON((0 0, 10 0, 10 5, 0 5, 0 0))' works.  I'm not sure why I can't use a variable there.

Hi @tglman  ,
I would like to start contributing to orientdb , I have significant amount of experience in working with geospatial tools(postgis + psql , qgis etc) . So I was thinking I will start with this issue.
Is this  still a valid issue? and any tips and suggestions for  starting contributing to orientdb?


What is the performance overhead caused by using this agent?

Do we have any testing data to let me know the performance overhead caused by using this agent?

The performance benchmark report has not yet been made available in the repository. However, the current performance test results indicate no significant changes in CPU usage, memory consumption, or API latency under moderate traffic conditions when tested on medium size of EC2 instances. It is worth noting that application startup time may increase by a few seconds.


Broken husky hooks

I experienced 2 issues with the lint staged:

when committing changes to multiple packages, lint-staged with lerna exploded :boom: I had to skip the hooks to commit. I'll post the console output in a follow up comment.
husky v5 is not backwards compatible with v4 which was merged in #640 . See the husky docs. Seems the hooks and lint-staged are now disabled :cry:

Here is the output from the faling lint-staged:
$ git commit -m "feat: todos list"
husky > pre-commit (node v12.19.0)
><EMAIL_ADDRESS>lint:staged /home/cody/dev/nearform/titus-cody
> lerna run lint:staged
lerna notice cli v3.22.1
lerna info Executing command in 3 packages: "npm run lint:staged"
lerna info run Ran npm script 'lint:staged' in 'titus-db-manager' in 0.4s:
><EMAIL_ADDRESS>lint:staged /home/cody/dev/nearform/titus-cody/packages/titus-db-manager
> lint-staged
ℹ No staged files match any configured task.
lerna info run Ran npm script 'lint:staged' in 'titus-backend' in 1.5s:
><EMAIL_ADDRESS>lint:staged /home/cody/dev/nearform/titus-cody/packages/titus-backend
> lint-staged
[STARTED] Preparing...
[SUCCESS] Preparing...
[STARTED] Running tasks...
[STARTED] Running tasks for *.js
[STARTED] eslint --fix
[SUCCESS] eslint --fix
[STARTED] prettier --write
[SUCCESS] prettier --write
[SUCCESS] Running tasks for *.js
[SUCCESS] Running tasks...
[STARTED] Applying modifications...
[SUCCESS] Applying modifications...
[STARTED] Cleaning up...
[SUCCESS] Cleaning up...
lerna ERR! npm run lint:staged exited 1 in 'titus-frontend'
lerna ERR! npm run lint:staged stdout:
><EMAIL_ADDRESS>lint:staged /home/cody/dev/nearform/titus-cody/packages/titus-frontend
> lint-staged
[STARTED] Preparing...
[SUCCESS] Preparing...
[STARTED] Running tasks...
[STARTED] Running tasks for *.{js,css,md}
[STARTED] eslint --fix
[SUCCESS] eslint --fix
[STARTED] prettier --write
[SUCCESS] prettier --write
[SUCCESS] Running tasks for *.{js,css,md}
[SUCCESS] Running tasks...
[STARTED] Applying modifications...
[SUCCESS] Applying modifications...
[STARTED] Cleaning up...
lerna ERR! npm run lint:staged stderr:
[FAILED] lint-staged automatic backup is missing!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>lint:staged: `lint-staged`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>lint:staged script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>lint:staged script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/cody/.npm/_logs/2020-12-09T16_28_27_780Z-debug.log
husky > pre-commit hook failed (add --no-verify to bypass)


Fortresscraft Evolved

have fun

i hope its good

Have you tested this template? It seems there are some glaring issues. For instance there is JSON at the top of the kvp file. The Steam download app ID is not the dedicated server one.

no I wanted to create a template for the first time to see if it works
Am Samstag, 23. Juli 2022 um 21:17:41 MESZ hat IceOfWraith @.***> Folgendes geschrieben:
Have you tested this template? It seems there are some glaring issues. For instance there is JSON at the top of the kvp file. The Steam download app ID is not the dedicated server one.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

While it is fantastic that you are learning how templates work, creating a pull request like this generally means you have a working template that you are ready to submit and testing has been done.
You can test a template without doing a pull request simply by loading it in to your own local amp instance. Good luck with your testing and tinkering!

how i can download the finished template for my amp?
Am Samstag, 23. Juli 2022 um 22:42:43 MESZ hat Electrofried @.***> Folgendes geschrieben:
While it is fantastic that you are learning how templates work, creating a pull request like this generally means you have a working template that you are ready to submit and testing has been done.
You can test a template without doing a pull request simply by loading it in to your own local amp instance. Good luck with your testing and tinkering!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I recommend you join the Discord. It is filled with knowledge around this.
You can place the files in this folder and restart ADS:
ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates
The first folder might be a variation of ADS rather than that exact name.


Benchmarking component + simple simulators.

#50 made a start on this but we should put the components into a separate benchmarking module

Closing as benchmarking bit done. We have a few test functions as "simple simulators" and there are a few examples in notebooks


python311Packages.bellows: 0.36.6 -> 0.36.7

Diff: https://github.com/zigpy/bellows/compare/refs/tags/0.36.6...0.36.7
Changelog: https://github.com/zigpy/bellows/releases/tag/0.36.7
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 262216 run on x86_64-linux 1

15 packages built:

home-assistant-component-tests.hassio
home-assistant-component-tests.homeassistant_green
home-assistant-component-tests.homeassistant_hardware
home-assistant-component-tests.homeassistant_sky_connect
home-assistant-component-tests.homeassistant_yellow
home-assistant-component-tests.otbr
home-assistant-component-tests.zha
python310Packages.bellows
python310Packages.bellows.dist
python310Packages.universal-silabs-flasher
python310Packages.universal-silabs-flasher.dist
python311Packages.bellows
python311Packages.bellows.dist
python311Packages.universal-silabs-flasher
python311Packages.universal-silabs-flasher.dist


keep container running after all processes are started

Add infinite loop as the last command to the docker container so it's not terminating when all services are started.
Watch command was failing because it needs TTY which is not available when running headless.

Alright, that sounds like a good workaround for now. Looks good to me 👍


Do url check before create connection

avoid creating error connection when multi-drivers were registered

Class.forName("com.github.housepower.jdbc.ClickHouseDriver");
Class.forName("org.apache.phoenix.jdbc.PhoenixDriver");
Connection conn = DriverManager.getConnection("jdbc:phoenix:quorums")
println(conn.getClass() == com.github.housepower.jdbc.ClickHouseConnection.class);
// true

Can you write a test for it?

@zhang2014  I've written a test in the last commit

@xiao0yy  test case is failed

@zhang2014 I fixed the error in java9/10 and mockito caused this error: https://github.com/mockito/mockito/issues/1295 . Update mockito may fix it too(I do not test yet).


Crashing on prediction from peptide list

Describe the bug
Hi, GUI interface outputs an error when submitting a job from sequence_table:
2023-08-24 09:41:14> Downloading pretrained_models.zip ...
2023-08-24 09:41:16> The pretrained models had been downloaded in C:\Users\slavat.WISMAIN/peptdeep\pretrained_models\pretrained_models.zip
Starting PeptDeep Web Server on port 10077 ...

  You can now view your Streamlit app in your browser.

  Local URL: http://localhost:10077
  Network URL: http://<IP_ADDRESS>:10077

*********************************
[PeptDeep] Waiting for tasks ...
*********************************
[PeptDeep] Starting a new job 'C:\Users\slavat.WISMAIN/peptdeep/tasks/queue\peptdeep_library_2023-08-24--11-03-00.912749.yaml'...
[PeptDeep] Predicting library ...
2023-08-24 11:03:01> Platform information:
2023-08-24 11:03:01> system        - Windows
2023-08-24 11:03:01> release       - 10
2023-08-24 11:03:01> version       - 10.0.19044
2023-08-24 11:03:01> machine       - AMD64
2023-08-24 11:03:01> processor     - AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD
2023-08-24 11:03:01> cpu count     - 16
2023-08-24 11:03:01> ram           - 23.5/31.4 Gb (available/total)
2023-08-24 11:03:01>
2023-08-24 11:03:01> Python information:
2023-08-24 11:03:01> alphabase        - 1.0.2
2023-08-24 11:03:01> biopython        - 1.81
2023-08-24 11:03:01> click            - 8.1.3
2023-08-24 11:03:01> lxml             - 4.9.2
2023-08-24 11:03:01> numba            - 0.56.4
2023-08-24 11:03:01> numpy            - 1.23.5
2023-08-24 11:03:01> pandas           - 1.5.3
2023-08-24 11:03:01> peptdeep         - 1.0.2
2023-08-24 11:03:01> psutil           - 5.9.4
2023-08-24 11:03:01> python           - 3.9.16
2023-08-24 11:03:01> scikit-learn     - 1.2.1
2023-08-24 11:03:01> streamlit        - 1.19.0
2023-08-24 11:03:01> streamlit-aggrid - 0.3.3
2023-08-24 11:03:01> torch            - 1.13.1
2023-08-24 11:03:01> tqdm             - 4.64.1
2023-08-24 11:03:01> transformers     - 4.26.1
2023-08-24 11:03:01>
2023-08-24 11:03:05> Generating the spectral library ...
2023-08-24 11:03:05> Traceback (most recent call last):
  File "peptdeep\pipeline_api.py", line 308, in generate_library
    lib_maker.make_library(df)
  File "peptdeep\spec_lib\library_factory.py", line 101, in make_library
    self._input(_input)
  File "peptdeep\spec_lib\library_factory.py", line 210, in _input
    self.spec_lib.append_decoy_sequence()
  File "alphabase\spectral_library\base.py", line 166, in append_decoy_sequence
    decoy_lib.decoy_sequence()
  File "alphabase\spectral_library\decoy.py", line 65, in decoy_sequence
    self._decoy_seq()
  File "alphabase\spectral_library\decoy.py", line 74, in _decoy_seq
    ) = self._precursor_df.sequence.apply(
  File "pandas\core\generic.py", line 5902, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'sequence'

'DataFrame' object has no attribute 'sequence'

To Reproduce
Steps to reproduce the behavior:

Start GUI
Put a sequence_table (attached) in the library
Keep everything else default and submit

[peptide_list.txt](https://github.com/MannLabs/alphapeptdee
peptide_list.zip
p/files/12427127/peptide_list.txt)

solved, the input file needs to have a header


multicolor: output linear-gradient(90deg, color1, color2) in customizer and frontend

Issue description:
I needed to create an option for a style like this
background: linear-gradient(90deg, color1, color2);
I think value_pattern might be the answer but how to write it with multiple values?
'value_pattern' => 'linear-gradient(90deg, $1, $2)',
I tried above but not working
Version used:
2.3.7
Using theme_mods or options?
theme_mods

I'm afraid that won't work... There's currently no mechanism implemented to make css outputs properly work on multicolor fields using a value patter so you'll have to custom-code it.
Something like this should work:
add_action( 'wp_enqueue_scripts', function() {
	$colors = get_theme_mod( 'my-setting' );
	$custom_css = '
		body .my-element {
			linear-gradient(90deg, ' . $colors['start'] . ', ' . $colors['end'] . ');
		}';
	wp_add_inline_style( "kirki-styles-{$config_id}", $custom_css );
}, 1000 );

Thanks for the code, will try it later, does it work for live preview?

It works for live-previews too, provided of course that you don't use postMessage.


[core modules/doc] Update CONTRIBUTING.md for Move

Update the CONTRIBUTING doc for Move to include the new naming conventions, and also update comments and indentation within script and address blocks.

@bors-libra r=sblackshear

:pushpin: Commit 12e9f16 has been approved by sblackshear

:hourglass: Testing commit 12e9f161579daab2f99922cf2675d9abcef02a49 with merge e40d79539cb96eb816a3196dceb8ad5cec133e54...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: sblackshear
Pushing e40d79539cb96eb816a3196dceb8ad5cec133e54 to master...


Bullets and Indention Guides are Not Aligned

Describe the bug
The alignment of ordered and unordered lists is a bit off both in reading mode and editing mode.
In editing mode, unordered lists (bullets) are slightly shifted to the right; in reading mode, the relationship lines (indention guides) are shifted to the right.
Expected behavior and Screenshots

mode
default theme
minimal theme

editing mode

reading mode

* Please ignore the red underlines
Debug info (required):
SYSTEM INFO:
	Obsidian version: v0.14.2
	Installer version: v0.14.2
	Operating system: Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 21.4.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: off
	Legacy editor: off
	Base theme: light
	Community theme: Minimal
	Snippets enabled: 1
	Safe mode: off
	Plugins installed: 15
	Plugins enabled: 14
		1: Dynamic Table of Contents
		2: Advanced Tables
		3: Style Settings
		4: Code Editor Shortcuts
		5: Tag Wrangler
		6: Ozan's Image in Editor Plugin
		7: LanguageTool Integration
		8: Linter
		9: Typewriter Scroll
		10: Paste URL into selection
		11: Folder Note
		12: Advanced Cursors
		13: Excalidraw
		14: Minimal Theme Settings

RECOMMENDATIONS:
	Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the help vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the help vault or disable community plugins.

Have you reviewed any reports of this in the Obsidian Forum? Now that this feature has been brought into the core it seems that there are issues across fonts with keeping this consistent in all modes. It seems like a functionality that Obsidian will need to advise on.

I've been experimenting the usage with other themes, it seems like some themes (e.g. California Coast) aren't affected by this.

Also, I wonder if the followings are intent designs:

When adding a list item, the spacing between the item and the left border is quite noticeable.
When adding a block quote within a list item, the alignments for other sub-items are way off

Function
Minimal
Atom
Default

List editing

Blockquote within list item

Thanks for the theme anyway! Besides the little things mentioned, the design is still my go-to.


Iscala kernel

Hello!
I use nixOS a lot and it would be nice to have a Scala kernel for Jupyter.
Thank you very much!

why not BeakerX instead? http://beakerx.com/ have all those kernels:

Groovy, Scala, Clojure, Kotlin, Java, and SQL, including many magics;

I would also love a scala kernel to be available.  I have looked at the kernel examples but dont immediately see how I would create a derivation to get https://almond.sh/ working on jupyterWith
I have tried to install beakerx as an extension but it fails and says beakerx is not compatible with this version of jupyterlab

We've added iscala to our roadmap (soon to be commited to main branch).


[HOLD 22709] Handle distance requests on the confirmation page

Please follow the plan in the design doc: Handle distance requests on the confirmation page

On HOLD, changing to a weekly while I wait.

On hold

Still holding

Holding

assigning myself per this discussion

this doesn't need payment.

@hayata-suenaga I am eligible for internal PR review.

@situchan completely forgot so sorry
opening for the payment

@situchan can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~01d72c2733166be375

and.. another comment to remove Overdue

waiting for payment

Contributor+: @situchan paid $1000 via Upwork.


Webpack preload only loads js assets.

Bug report

What is the current behavior?
The magic comment Webpack preload only loads js assets when (/* webpackPreload: true */ is added. CSS and other assets that are required by js assets are delayed until preloaded javascript is executed.
If the current behavior is a bug, please provide the steps to reproduce.
await-import-by-initial-chunk.js
export async function awaitImportByInitialChunk() {
    const { awaitImportByAsyncChunk } = await import(/* webpackPreload: true */'./await-imported-by-async-chunk');
    awaitImportByAsyncChunk();
}

await-imported-by-async-chunk.js
import './await-imported-by-async-chunk.css';
export async function awaitImportByAsyncChunk() {
    console.log('awaitImportByAsyncChunk');
}

await-imported-by-async-chunk.css
@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  src: url('../../../../Roboto-Regular.woff2') format('woff2'),
  url('../../../..//Roboto-Regular.woff') format('woff');
}

What is the expected behavior?
Every type of asset that link preload support can be preloaded, not being held until javascript execution.
So await-imported-by-async-chunk.css and the corresponding font file should be preloaded as well.
(I don't know if this is a bug or an intentional behavior)

Other relevant information:
webpack version:  5.24.4
Node.js version: v19.7.0
Operating System:
Additional tools:

Sorry but no, because it will create an incredible load on the client, just imagine how many nested modules there can be and how much they will be deep and how many assets they can have, you must specify yourself what to want to preload (note - webpack magic comments work only for only for import(...) modules, as you can see CSS  module is not this, it can't be preloaded), also if you want to preload assets, you can hint it by using html-webpack-plugin
Feel free to feedback


New install via Docker, there is no "Dungeon Master link" anywhere

I'm brand new to using this tool, and trying it out to see if it could be good for my online games. I hit a snag almost immediately. The README says to "click on the Dungeon Master link" on the main page, but there is no such link. I can only access the DM page my manually going to address:port/dm in my browser. I am not sure if the doc is outdated, or if there is instead a problem with the "latest" docker image as dated from about 15 minutes ago.

You are right the docs are outdated. Sorry for the inconvenience! We should fix the docs!

Configuration:
- HOST: <IP_ADDRESS>
- PORT: 3000
- PUBLIC_URL: <none>

dungeon-revealer is reachable via the following addresses:

- http://<IP_ADDRESS>:3000
- http://<IP_ADDRESS>:3000

Player Section: http://<IP_ADDRESS>:3000
DM Section: http://<IP_ADDRESS>:3000/dm

-------------------

Okay I see what happened. The docker run command from the docs uses the -d flag. When pasted into the terminal and modified for local password and data dir, by default it doesn't show any of that information.

Also: thanks for the clarification!

You should also prefer using the version tagged docker images v1.9.0 instead of latest in order you are using a stable version. @maxb2 Maybe we should have a stable tag which is an alias for the latest release?

If PC_PASSWORD is set, then there is a DM link on the page. Otherwise it just says "Ready". I'll update the docs.

As far as the docker tags go; stable, latest, and release are all synonyms for the latest vX.X.X tag. dev is the only tag that points to the master branch. You can compare the hashes here.


upgrade to micro v3

We should plan the upgrade to micro v3
See https://micro.mu/v2-to-v3-upgrade-guide

Has been done. :muscle:


Test scripts

To test the functionality of the DAC
This replaces the current test script; my thought being that the demo script replaces what that was doing. This splits the tests out into individual files and only outputs errors.

Hmm, I need to work out why your changes are not getting tested here, I am assuming its because its in your own repo, and that doesn't have the circle ci system enabled on it, but there should be a better way.


ldots in text and mathmode differ (order.tex)

\avm{
[ dom      & $\delta_0 \bigcirc \delta_1 \bigcirc \ldots \bigcirc \delta_n$\\
  head-dtr & [ dom &  $\delta_0$ ]\\
  non-head-dtrs & <  [ dom &  $\delta_1$ ], \ldots, [ dom &  $\delta_n$ ] > ]
}

Not sure this should/can be fied in langsci-avm.sty. The math font seems to use different \ldots than the normal font. I guess the ones with more space are preferable.

Probably due to an outdated version of Libertinus.  In current Libertinus, the ellipsis glyph (U 2026) … is equal in Libertinus-Math and Libertinus-Serif.
Please obtain the newest Libertinus release from https://github.com/alerque/libertinus/releases

Probably due to an outdated version of Libertinus. In current Libertinus, the ellipsis glyph (U 2026) … is equal in Libertinus-Math and Libertinus-Serif.
Please obtain the newest Libertinus release from https://github.com/alerque/libertinus/releases

Thanks! Do I have to put this in a subdirectory and add somthing to langscibook.cls so that tex finds it?


Installation not working on ubuntu 14.04.3 on digital ocean

I get all of these errors:

Installing CakePHP
mv: cannot stat ‘/tmp/radiusdesk/cakephp’: No such file or directory

=============================================================
11. Installing RADIUSdesk
cp: cannot create directory ‘/usr/share/nginx/html/cake2/’: File exists
cp: cannot stat ‘/usr/share/nginx/html/cake2/rd_cake/Setup/Node.js/nodejs-socket-io’: No such file or directory
=============================================================
12. Installing Sencha ExtJS
=============================================================
13. Installing Cron Script for RADIUSdesk
cp: cannot stat ‘/usr/share/nginx/html/cake2/rd_cake/Setup/Cron/rd’: No such file or directory
grep: /usr/share/nginx/html/cake2: No such file or directory
sed: no input files
sed: can't read /etc/cron.d/rd: No such file or directory
=============================================================
14. Updating RADIUSdesk Paths for Ubuntu/Debian compatibility
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/RadiusDesk.php: No such file or directory
=============================================================
15. Installing FreeRADIUS
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Setup/Scripts/radscenario.pl: No such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Setup/Db/rd.sql: No such file or directory
tar (child): freeradius-server-2.2.0.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
includes/functions.sh: line 327: cd: freeradius-server*/: No such file or directory
includes/functions.sh: line 328: /usr/share/nginx/html/cake2/rd_cake/Setup/Radius/rlm_raw_patch: No such file or directory
includes/functions.sh: line 329: src/modules/stable: No such file or directory
cp: cannot stat ‘/usr/local/sbin/rc.radiusd’: No such file or directory
cp: cannot stat ‘/usr/share/nginx/html/cake2/rd_cake/Setup/Radius/checkrad’: No such file or directory
mv: cannot stat ‘/usr/local/etc/raddb/’: No such file or directory
tar (child): /usr/share/nginx/html/cake2/rd_cake/Setup/Radius/raddb_rd.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
sed: can't read /usr/local/etc/raddb/radiusd.conf: No such file or directory
sed: can't read /usr/local/etc/raddb/clients.conf: No such file or directory
sed: can't read /usr/local/etc/raddb/clients.conf: No such file or directory
ln: failed to create symbolic link ‘/usr/local/etc/raddb/sites-enabled/dynamic-clients’: No such file or directory
cp: cannot create regular file ‘/usr/local/etc/raddb/sites-enabled/dynamic-clients’: No such file or directory
includes/functions.sh: line 352: /usr/local/etc/raddb/modules/raw: No such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Setup/Node.js/Logfile.node.js: No such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Setup/Node.js/Logfile.node.js: No such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Setup/Node.js/Logfile.node.js: No such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Setup/Node.js/Logfile.node.js: No such file or directory
sed: can't read /usr/local/etc/raddb/sql.conf: No such file or directory
sed: can't read /usr/local/etc/raddb/sql.conf: No such file or directory
sed: can't read /usr/local/etc/raddb/sql.conf: No such file or directory
sed: can't read /usr/local/etc/raddb/sql.conf: No such file or directory
sed: can't read /usr/local/etc/raddb/rlm_perl_modules/SQLConnector.pm: No such file or directory
sed: can't read /usr/local/etc/raddb/rlm_perl_modules/SQLConnector.pm: No such file or directory
sed: can't read /usr/local/etc/raddb/rlm_perl_modules/SQLConnector.pm: No such file or directory
sed: can't read /usr/local/etc/raddb/rlm_perl_modules/SQLConnector.pm: No such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/database.php: No such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/database.php: No such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/database.php: No such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/database.php: No such file or directory
=============================================================
16. Installing Database Schema for RADIUSdesk
includes/functions.sh: line 280: /usr/share/nginx/html/cake2/rd_cake/Setup/Db/rd.sql: No such file or directory
chmod: cannot access ‘/usr/local/sbin/checkrad’: No such file or directory
chmod: cannot access ‘/usr/local/etc/raddb/dictionary’: No such file or directory
chmod: cannot access ‘/usr/share/nginx/html/cake2/rd_cake/Setup/Scripts/*.pl’: No such file or directory
chmod: cannot access ‘/etc/init.d/nodejs-socket-io’: No such file or directory
=============================================================
17. Installing NodeJS
sed: can't read /etc/init.d/nodejs-socket-io: No such file or directory
sed: can't read /etc/init.d/nodejs-socket-io: No such file or directory
sed: can't read /etc/init.d/nodejs-socket-io: No such file or directory
=============================================================
18. Checking if services are fully Operational
===========================================================================
INSTALLATION COMPLETED SUCCESSFULLY!!!
Is the script broken??
Thanks

Hello, I am working on a more updated script as this one is broken with the
recent changes in Radiusdesk code base.
On Jan 15, 2016 6:54 PM, "willmkt"<EMAIL_ADDRESS>wrote:

I get all of these errors:
10 Installing CakePHP
mv: cannot stat ‘/tmp/radiusdesk/cakephp’: No such file or directory
11 Installing RADIUSdesk
cp: cannot create directory ‘/usr/share/nginx/html/cake2/’: File exists
cp: cannot stat
‘/usr/share/nginx/html/cake2/rd_cake/Setup/Nodejs/nodejs-socket-io’: No
such file or directory
12 Installing Sencha ExtJS
13 Installing Cron Script for RADIUSdesk
cp: cannot stat ‘/usr/share/nginx/html/cake2/rd_cake/Setup/Cron/rd’: No
such file or directory
grep: /usr/share/nginx/html/cake2: No such file or directory
sed: no input files
sed: can't read /etc/crond/rd: No such file or directory
14 Updating RADIUSdesk Paths for Ubuntu/Debian compatibility
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/RadiusDeskphp:
No such file or directory
15 Installing FreeRADIUS
sed: can't read
/usr/share/nginx/html/cake2/rd_cake/Setup/Scripts/radscenariopl: No such
file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Setup/Db/rdsql: No
such file or directory
tar (child): freeradius-server-220targz: Cannot open: No such file or
directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
includes/functionssh: line 327: cd: freeradius-server*/: No such file or
directory
includes/functionssh: line 328:
/usr/share/nginx/html/cake2/rd_cake/Setup/Radius/rlm_raw_patch: No such
file or directory
includes/functionssh: line 329: src/modules/stable: No such file or
directory
cp: cannot stat ‘/usr/local/sbin/rcradiusd’: No such file or directory
cp: cannot stat
‘/usr/share/nginx/html/cake2/rd_cake/Setup/Radius/checkrad’: No such file
or directory
mv: cannot stat ‘/usr/local/etc/raddb/’: No such file or directory
tar (child):
/usr/share/nginx/html/cake2/rd_cake/Setup/Radius/raddb_rdtargz: Cannot
open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
sed: can't read /usr/local/etc/raddb/radiusdconf: No such file or directory
sed: can't read /usr/local/etc/raddb/clientsconf: No such file or directory
sed: can't read /usr/local/etc/raddb/clientsconf: No such file or directory
ln: failed to create symbolic link
‘/usr/local/etc/raddb/sites-enabled/dynamic-clients’: No such file or
directory
cp: cannot create regular file
‘/usr/local/etc/raddb/sites-enabled/dynamic-clients’: No such file or
directory
includes/functionssh: line 352: /usr/local/etc/raddb/modules/raw: No such
file or directory
sed: can't read
/usr/share/nginx/html/cake2/rd_cake/Setup/Nodejs/Logfilenodejs: No such
file or directory
sed: can't read
/usr/share/nginx/html/cake2/rd_cake/Setup/Nodejs/Logfilenodejs: No such
file or directory
sed: can't read
/usr/share/nginx/html/cake2/rd_cake/Setup/Nodejs/Logfilenodejs: No such
file or directory
sed: can't read
/usr/share/nginx/html/cake2/rd_cake/Setup/Nodejs/Logfilenodejs: No such
file or directory
sed: can't read /usr/local/etc/raddb/sqlconf: No such file or directory
sed: can't read /usr/local/etc/raddb/sqlconf: No such file or directory
sed: can't read /usr/local/etc/raddb/sqlconf: No such file or directory
sed: can't read /usr/local/etc/raddb/sqlconf: No such file or directory
sed: can't read /usr/local/etc/raddb/rlm_perl_modules/SQLConnectorpm: No
such file or directory
sed: can't read /usr/local/etc/raddb/rlm_perl_modules/SQLConnectorpm: No
such file or directory
sed: can't read /usr/local/etc/raddb/rlm_perl_modules/SQLConnectorpm: No
such file or directory
sed: can't read /usr/local/etc/raddb/rlm_perl_modules/SQLConnectorpm: No
such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/databasephp: No
such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/databasephp: No
such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/databasephp: No
such file or directory
sed: can't read /usr/share/nginx/html/cake2/rd_cake/Config/databasephp: No
such file or directory
16 Installing Database Schema for RADIUSdesk
includes/functionssh: line 280:
/usr/share/nginx/html/cake2/rd_cake/Setup/Db/rdsql: No such file or
directory
chmod: cannot access ‘/usr/local/sbin/checkrad’: No such file or directory
chmod: cannot access ‘/usr/local/etc/raddb/dictionary’: No such file or
directory
chmod: cannot access
‘/usr/share/nginx/html/cake2/rd_cake/Setup/Scripts/*pl’: No such file or
directory
chmod: cannot access ‘/etc/initd/nodejs-socket-io’: No such file or
directory
17 Installing NodeJS
sed: can't read /etc/initd/nodejs-socket-io: No such file or directory
sed: can't read /etc/initd/nodejs-socket-io: No such file or directory
sed: can't read /etc/initd/nodejs-socket-io: No such file or directory
18 Checking if services are fully Operational
INSTALLATION COMPLETED SUCCESSFULLY!!!
Is the script broken??
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/muffycompo/radiusdesk-installer/issues/16.

Any upadate when it will be ready?
Thanks.

I have just push another version of the installer this time using Ansible, try it and kindly leave your feedback as it is still beta code.


chore: removed migrated plugins from janus

Remove bulk-import, ocm, and rbac  plugins as they have been migrated to community-plugins.

Closing this and creating separate PRs for each plugin


some params is missing when use localePath

My reload params is missing to nuxt-link like this
<nuxt-link :to="localePath({ name: 'foo', params: { foo: 'nice', reload: true } })">
this.$router.push(localePath({ name: 'foo', params: { foo: 'nice', reload: true } }))
It's working fine below. No params are lost.
<nuxt-link :to="{ name: 'foo', params: { foo: 'nice', reload: true } }">
this.$router.push({ name: 'foo', params: { foo: 'nice', reload: true } })

This question is available on Nuxt.js community (#c27)

Hi @Azeranex
Could you share your pages directory structure as well as the content of .nuxt/router.js please? Might help to find out what's going on there :)

Here it is.
Directory structure
/pages
 |--/_list.vue
 |--/view/_id.vue

router.js
export function createRouter () {
  return new Router({
    mode: 'history',
    base: '/',
    linkActiveClass: 'is-active',
    linkExactActiveClass: 'nuxt-link-exact-active',
    scrollBehavior,
    routes: [
		{
			path: "/en/view/:id?",
			component: _81e2ec36,
			name: "view-id-en"
		},
		{
			path: "/view/:id?",
			component: _81e2ec36,
			name: "view-id-th"
		},
		{
		{
			path: "/en/:list",
			component: _37bcb236,
			name: "list-en"
		},
		{
			path: "/:list",
			component: _37bcb236,
			name: "list-th"
		}
    ],

    fallback: false
  })
}

The params key is used to replace dynamic URL fragments like :id or :list. If your route doesn't contain a :reload fragment, passing reload in the params won't do anything. However, you could pass the reload in the query string:
<nuxt-link :to="localePath({
  name: 'foo',
  params: { foo: 'nice' },
  query: { reload: true }
})">

But I might be missing the point because the code in your comment does not seem to reflect your original question (no route named foo and no :foo param), so if my answer doesn't help, can you please provide a sample project where I can reproduce the issue?

I use reload param to check whether I need to fetch api data and fill vuex store or not.
You can use query to track too but when you use ajax to fill more data (e.g. infinite scroll) your page will be reload to first data if you view item on other page and click back. You ajax content got wiped. Your scroll position lost.
If you store reload var in param you data still intact.
I can solve my problem by using (it's work fine)
<nuxt-link :to="{ name: `listing-${$i18n.locale}`, params: { listing: 'rent', reload: true } }" class="navbar-item">{{ $t('navbar.rent') }}</nuxt-link>
async asyncData({ app, store, route, params, query, error }) {
    try {
      if (query.ref !== 'undefined' || params.reload || store.state.property.items.length === 0) {
        let path = route.fullPath || `/${params.listing}`
        let data = await app.$axios.$get(`/api/property${path}`)

        store.commit('property/destroy')
        store.commit('property/set', data)

        return {
          loadProgress: data.data.length === 0 ? PROGRESS_LOADED_NO_RESULT : PROGRESS_LOADED,
        }
      }

      return { loadProgress: PROGRESS_LOADED }
    } catch (e) {
      // my error exception
    }
  }

I use a similar strategy to link to a child url (for SEO purposes), but also passing an id that I use to fetch data from.
Without i18n, you can do
<nuxt-link :to="{name: 'thepage-url', params: {id: '123', url: 'abced' }"} />
which will give you access to both parameters in $routes.params object on the child page.
However, with i18n, when you write:
<nuxt-link :to="localePath({ name: 'thepage-url', params: {id: '123', url:  'abced'} })
you only access the parameter used for the 'slug' definition (this case, 'url').
Have to use the alternative presented by @azeranex to make it work (thanks!), but feels like a hack.
IMO localePath() should deal only with the 'name', like
<nuxt-link :to="{ name: localePath('thepage-url'), params: { [ all we need here ]} }) />
What's the benefit of passing the full params object into the function?

@azeranex @urbgimtam
<nuxt-link :to="{ name: localePath('thepage-url'), params: { [ all we need here ]} }) />
Really work???


Add Registration logic for Pod Info Custom Resource Definition.

Currently tetragon uses cilium Endoints to get Pod Labels. Pod Info CRD is a mapping between Pod IPs and Pod metadata therefore, instead of using cilium endpoints, it can use the pod info CRs, hence removing the dependency on cilium.
This PR:

Defines the Custom Resource Definition.
Operator is being used to register the Tracing Polify CRDs with API server, hence integrated the logic to register Pod Info CRD as well.
Added flag to skip PodInfo CRD in the operator, tetragon will use endpoints in this case.

Contributor

sure let me do that. I am quite sure I did it though.

i'll look into what's causing these failure today. moving it to draft for now

ok this should be good to go. @prateek041 could you update the commit message to explain why we need this CRD, also linking to this github issue? https://github.com/cilium/tetragon/issues/794
then mark it ready for review 🚀

I think I am understanding one very basic thing about coding in Go. Why do I get these vendoring issues out of nowhere ? What are the practices I should use to avoid these ?

I think I am not understanding one very basic thing about coding in Go. Why do I get these vendoring issues out of nowhere ? What are the practices I should use to avoid these ?

I'm not sure what the underlying reason is, but one thing that you can do is:

run make vendor
adding all the new files (e.g., under the vendor dir in your patch
Before submitting the PR.


Raspiraw for imx477 sensor

In the raspiraw docuementation the list of supported sensors include: adv7282m, imx219, and ov5647.
I have a HQ camera and it seems like I have the imx477 sensor. Is there any way I can write the command for this sensor to create a video with approx. 600 fps?

If others wish to work out the relevant register changes to achieve this then PRs are welcome.
Raspberry Pi have information from Sony under NDA, and are therefore are limited to what can be published without additional clearances from them.

I noticed imx477 files in the codebase along with others noting success. Is the imx477 sensor currently supported? Will file some tickets regarding my use of it (haven't had much success), but if still unsupported/doesn't work, don't want to fill the issue tracker with logs.


Animation

hello brent
can i have animation for text like it appear 1 by 1 so that during demo all the text are shown on click 1 after another it appears on screen
regards
Anwar

Hi @vanekar,
There are currently no plans to support animations.
Unsupported Features


Binary Artifacts: tar gz ?

Should we add tar and gz to the binary artifacts check?
ref: https://github.com/ossf/scorecard/blob/main/checks/binary_artifact.go#L50

Is there a reason we care what kind of binary it is? Could it just be text (or ascii or whatever) vs non-text

Is there a reason we care what kind of binary it is? Could it just be text (or ascii or whatever) vs non-text

BinaryArtifacts specifically looks for executables since that represents a potential threat vector like remote code execution. Files like JPG etc., which are non-ASCII, can be present in a repository and we shouldn't flag that IMO.

Should we add tar and gz to the binary artifacts check?

I think this would trigger lot of false positives. Is having tar/gz files in a repo enough of a threat to warrant the false positives?

I think this would trigger lot of false positives. Is having tar/gz files in a repo enough of a threat to warrant the false positives?

cc: @dlorenc
Maybe a good candidate for the score based result, only having tar/gz could be a 6 or something. =)

I think this would trigger lot of false positives. Is having tar/gz files in a repo enough of a threat to warrant the false positives?

cc: @dlorenc
Maybe a good candidate for the score based result, only having tar/gz could be a 6 or something. =)

can you try running this on a few important repos, we would like to minimize false positives.

IMO it's more about whether something can be accurately reviewed by a human or not. A tar can't be reviewed without downloading it (and might even contain binaries!). Same for the gz representation.

I imagine binary-artifacts is the kind of check that would have a lot of exceptions though.
for example, jib which build java containers tests against many (~100) jar and tars, not sure we would want that test infrastructure to be building those (and could they even build what we want reproducibly?)

Yep, something used only in tests seems like a valid exception.

I have plans to also flag curl downloads that download zip, tar, etc because there are many cases where users download entire Linux trees within their Dockerfile.
I think it's fine to make the check more granular and remove some points from the score when zip, tar are in the repo. Of course, to be more accurate, we could try to unzip/untar recursively and see if there are binaries inside. We with, we'd have to be careful with DoS (large, recursive zip files) and directory traversal (if we unpack to disk)


TileMap doesn't update in the editor when self_modulate is changed

Godot version:
master  (532f6d4)
Issue description:
The editor doesn't re-draw TileMaps when the self_modulate property is changed in the inspector.

I'm not sure if modifying self_modulate or modulate should call update on the affected nodes, since it would make them a few orders of magnitude slower.
Maybe we can have some internal VisualServer::canvas_item_inherit_modulate(), which we would apply on the children items of the TileMap, instead of having to reinvent the wheel there?

This is not a bug. Tilemap creates sub-canvas items so the only way to do changes to it is via modulate.

Note: this issue is now tracked in #31413. Originally, it was mentioned in #7954, but never linked directly.


Extra height is added below Carousel.

Is this a bug report, a feature request, or a question?
Question.

[x] I have read the guidelines regarding bug report.
[x] I have reviewed the documentation in its entirety, including the dedicated documentations :books:.
[x] I have searched for existing issues and made sure that the problem hasn't already been reported.
[x] I am using the latest plugin version.
[x] I am following the issue template closely in order to produce a useful bug report.

Have you made sure that it wasn't a React Native bug?
Yes
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Both platforms.
Is the bug reproductible in a production environment (not a debug one)?
Yes
Environment
Expo: 32 (latest)
React: 16.5
React native: 0.58
react-native-snap-carousel: 3.3.4 (latest)

Target Platform:
Android (6.0)
iOS (10.3)
Expected Behavior
I use a vertical Flatlist to show some users. Each list item has a Carousel component. The images in itshould be at the appropriate height, like this:

Actual Behavior
Instead, extra height (from padding/margin maybe?) are added:

Notice that the below user's photo is visible, which clearly shouldn't be, giving me the impression that the images are placed in an absolute way or something (not sure if this matter)
I thought this has something to with the Pagination component (which I don't use) but then again extra height is added on top of it, so it should be a problem with the Carousel itself.
My code:
<Carousel
              ref={(c) => { this._carousel = c; }}
              data={this.props.item.images}
              renderItem={this._renderItem}
              inactiveSlideScale={1}
              inactiveSlideOpacity={1}
              layoutCardOffset={0}
              callbackOffsetMargin={6} // default is 5
              sliderWidth={windowWidth*0.9}
              // sliderHeight={windowWidth*0.9}
              itemWidth={windowWidth*0.9}
              // itemHeight={windowWidth*0.9}
              showsHorizontalScrollIndicator={false}
              // style={{ width: windowWidth*0.9,  borderRadius: 10, overflow: 'hidden'}}
              onBeforeSnapToItem={(index) => {
                console.log('got called')
              }}
            />

_renderItem ({item, index}) {
      return (
        <Image source={{ uri: "http://res.cloudinary.com/blabla/image/upload/" + item }} style={{ width: windowWidth*0.9, height: windowWidth*0.9 }} />
      );
    }

PS: Let me know if a Snack is needed here, although there is pretty nothing other relevant to show I think.

same issue :( can't set height for carousel

the same problem =(

Hi @spyshower,
I haven't used vertical carousels in a while so yes, it would really help if you could provide a Snack example in which the issue can be reproduced :-)

@spyshower I'd still appreciate a Snack though, because I never had this kind of issue with the carousel.

https://snack.expo.io/ByBzfMnIV
Try playing with a combination of commenting line 39 and 54-56. I don't even get this behavior, and while it's not 100% identical with my local build, I can say it's not exactly predictable :P

The issue is a result of implementation of the  element. This element defines a style for paddingVertical: 30. This style can be overridden by the received prop containerStyle. So to solve:
<Pagination
  containerStyle={{paddingVertical: 0}}
/>

@spyshower Try setting the Carousel prop containerCustomStyle.flexGrow to 0:
<Carousel
  {/* ... */}
   containerCustomStyle={{
    flexGrow: 0,
  }}
  {/* ... */}
/>

I had a similar issue when rendering a Pagination component below the carousel, where there was lots of excess space between the two components.

Thank you @spyshower, @ryanostrom and @gi for your valuable contributions. The issue can now be closed.
As a side note, the Carousel is basically a ScrollView which has a built-in style that includes { flexGrow: 1 }. There's a note about it in the doc ;-)


Sensor error recovery

Is your feature request related to a problem? Please describe.
After some time the ds18b module fails to read the sensor data. From that point in time the sensor is gone and only a restart helps.
This is the error:
2021-03-29 01:05:20 mqtt_io.server [ERROR] Exception in task: <Task finished coro=<MqttIo._init_sensor_inputs.<locals>.poll_sensor() done, defined at /home/pi/rainpi/mqtt-io/mqtt-io/mqtt_io/server.py:528> exception=SensorNotReadyError('Sensor<PHONE_NUMBER>dd is not yet ready to read temperature')>:
Traceback (most recent call last):
  File "/home/pi/rainpi/mqtt-io/mqtt-io/mqtt_io/server.py", line 1041, in _remove_finished_transient_tasks
    raise exception
  File "/home/pi/rainpi/mqtt-io/mqtt-io/mqtt_io/server.py", line 533, in poll_sensor
    value = await sensor_module.async_get_value(sens_conf)
  File "/home/pi/rainpi/mqtt-io/mqtt-io/mqtt_io/modules/sensor/__init__.py", line 57, in async_get_value
    return await loop.run_in_executor(ThreadPoolExecutor(), self.get_value, sens_conf)
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/pi/rainpi/mqtt-io/mqtt-io/mqtt_io/modules/sensor/ds18b.py", line 41, in get_value
    return cast(float, self.sensor.get_temperature())
  File "/home/pi/.local/lib/python3.7/site-packages/w1thermsensor/core.py", line 267, in get_temperature
    raw_temperature_line = self.get_raw_sensor_strings()[1]
  File "/home/pi/.local/lib/python3.7/site-packages/w1thermsensor/core.py", line 250, in get_raw_sensor_strings
    raise SensorNotReadyError(self)
w1thermsensor.errors.SensorNotReadyError: Sensor<PHONE_NUMBER>dd is not yet ready to read temperature

Describe the solution you'd like
If a sensor can't be read, there should be an exponential backoff retrying the read on the sensor.
Describe alternatives you've considered
I've implemented a simple ds18b replacement based on the w1_therm kernel module and the 1wire sys files:
"""
DS18S20/DS1822/DS18B20/DS1825/DS28EA00/MAX31850K temperature sensors
make sure w1_therm and w1_gpio modules are loaded to use this sensor
"""
import os
import os.path

from ...types import ConfigType, SensorValueType
from . import GenericSensor

REQUIREMENTS = ()
ALLOWED_TYPES = ["DS18S20", "DS1822", "DS18B20", "DS1825", "DS28EA00", "MAX31850K"]
CONFIG_SCHEMA = {
    "file": dict(type="string", required=True, empty=False),
}

class Sensor(GenericSensor):
    """
    Implementation of Sensor class for the one wire temperature sensors. DS18B etc.
    """

    def setup_module(self) -> None:
        self.file_path = f"/sys/bus/w1/devices/{self.config['file']}/temperature"
        if not os.path.isfile(self.file_path):
            raise FileNotFoundError(
                (f"unable to locate 1wire temperature file under {self.file_path}. "
                 f"Make sure the w1_therm and w1_gpio kernel modules are loaded"))

    def get_value(self, sens_conf: ConfigType) -> SensorValueType:
        """
        Get the temperature value from the sensor
        """
        with open(self.file_path, 'r') as raw_file:
            raw_value = raw_file.read()
        return float(raw_value) / 1000

Additional context
This is my config.yaml:
sensor_modules:
  - name: ds18b20
    module: ds18b
    type: DS18B20
    address:<PHONE_NUMBER>dd
sensor_inputs:
  - name: rainpi_temp2
    module: ds18b20
    interval: 60
    digits: 2
    ha_discovery:
      name: Rainpi temperature 1wire
      device_class: temperature
      unit_of_measurement: "°C"

Yep, sensor read errors should not cause the sensor read loop to stop.
I've committed a change including a backoff to the develop branch. Would you mind testing it out and seeing if it solves your issue?

Sure, I'll deploy it in the evening and let you know, if this solves the issue!
Thanks a lot!

Hi @flyte, it seems like backoff did solve my sensor issue and I do not see any errors in the log any more.
Thanks for your quick response and fix!


Annotations API

Implement:
Implement (order of importance):

GET /api/annotations

traits: filterable, facetable

GET /api/annotations/{annotation}
GET /api/annotations/{annotation}/values

traits: filterable, facetable

GET /api/annotations/{annotation}/values/{value}

Update RAML spec
Notes

Initial stubs and then fill with RDF data.

@ncatlett Do we have RDF data for annotations concept schemes and their values?

not yet

Refer to notes on wiki: http://wiki.openbel.org/display/BEL2RDF/Annotations


update runv vendor

runv has been refactored to meet requirements from latest containerd.
Update runv vendor to adopt these changes.

need to wait iptables works assigned to @gnawux, otherwise there is no nat support for hyperd, container can not reach outside.

ok, I will try my best to update my PR today

@bergwolf  @gnawux  any update? kvmtool and xenpv support are included in this pr.

The two qemu case on travis are always failed even if I close/re-open the PR, however, the failed point looks nothing related with qemu (often be pulling image failed). And the hykins test could complete successfully

I've bisected the failure to runv commit https://github.com/hyperhq/runv/pull/575/commits/36881991a0ccb0cd3ab9747ee749ce80dcafaeea. And the following change would fix it (https://travis-ci.org/bergwolf/hyperd/builds/287128848):
diff --git a/hypervisor/qemu/qemu.go b/hypervisor/qemu/qemu.go
index 2f8ad01..b18191c 100644
--- a/hypervisor/qemu/qemu.go
+++ b/hypervisor/qemu/qemu.go
@@ -283,7 +283,7 @@ func (qc *QemuContext) AddNic(ctx *hypervisor.VmContext, host *hypervisor.HostNi
        go func() {
                // close tap file if necessary
                ev, ok := <-waitChan
-               syscall.Close(fd)
+               glog.Infof("AddNic result %v %+v", ok, ev)
                if !ok {
                        close(result)
                } else {

However, runv has been changed again to stop passing fd around. Yet the new runv code (after https://github.com/hyperhq/runv/pull/613) requires qemu (>2.7) to work and thus cannot run with travis ci yet.
@gnawux @gao-feng shall we require newer qemu binary or continue supporting old ones?

FYI, travis only comes with trusty and xenial. And xenial stock qemu is v2.5. We'll need to provide newer version of qemu deb package to pass CI if we want to move pass v2.7.

@gnawux ci passed and this is based on hyperhq/runv#616 now.


Loading resources from user://

( Win7, 1.1stable )
At the moment you can't load resources from user:// path. Saving using ResourceSaver works fine.
ResourceLoader seem to always add "res://" before given path:
load("user://test.png") # existing resource

ERROR:  Failed loading image: res://user://test.png
At:  scene/io/resource_format_image.cpp:114
ERROR:  Failed loading image for BitMap: res://user://test.png
At:  scene/resources/bit_mask.cpp:219
ERROR:  Failed loading resource: user://test.png
At:  core/io/resource_loader.cpp:209

Are there some reasons for it to not work, or it's a bug?

:+1:

:+1:

:+1:  (Linux  1.1 stable )

ok, ok, the problem is that this is fixed in okam's repository and merging
it is not that easy. Will fix it eventually, I promise :)
On Tue, Aug 25, 2015 at 2:17 PM, Andi-K<EMAIL_ADDRESS>wrote:

[image: :+1:] (Linux 1.1 stable )
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/2319#issuecomment-134674800.

--
OkamStudio

I think this is fixed, give it a try when you can
On Tue, Aug 25, 2015 at 2:31 PM, Okam Studio<EMAIL_ADDRESS>wrote:

ok, ok, the problem is that this is fixed in okam's repository and merging
it is not that easy. Will fix it eventually, I promise :)
On Tue, Aug 25, 2015 at 2:17 PM, Andi-K<EMAIL_ADDRESS>wrote:

[image: :+1:] (Linux 1.1 stable )
—
Reply to this email directly or view it on GitHub
<https://github.com/okamstudio/godot/issues/2319#issuecomment-134674800
.

--
OkamStudio
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/2319#issuecomment-134678682.

It's now working for me.


Convert Caffe --> ONNX

@dusty-nv - Do you have any recommendations for cleanly converting a Caffe file? Is it easier to convert from Caffe to Caffe2? We really like ONNX. We have had issues converting our file. We know it is not corrupted can can run it on a Jetson as a caffe file. We just wanted to know what you personally use if you've ever had to do a clean conversion for a Caffe file after using DIGITS, for example? Thank you.

Hmm I have not done this myself @eanmikale - basically I've moved all my training to PyTorch (no longer using DIGITS), and I export the ONNX directly from PyTorch checkpoints.
The models that I had trained in DIGITS were all of older/inferior DNN architectures anyways, so it was just better to move on to more updated stuff in PyTorch.  YMMV, but it does appear there are a variety of Caffe-to-ONNX converter tools on GitHub and PyPi.


Generate quantum circuit object for alice to send to bob

Quantum circuit that randomly flips bits and the encodes in orthogonal bases.

[ ] encodes random bitstring in random bases
[ ] sends quantum circuit to bob
[ ] compares bases with bob
[ ] compares bit string with bob removing non-matching bits
[ ] uses portion of bit string to verify no eavesdropper
[ ] saves final key

Here is that python file in case you might need it.
alice.txt


Add containerProps to BaseChart

As discussed here I add containerProps to BaseChart in order to add style to HighchartsReact and make it responsive relative to parent container.
I tested it and seems is working (with the example reporeted on issue linked before).
Let me know if I need to add more.

P.s. thanks for the contribution @lezan!

Happy to merge regardless, any thoughts to add @anajavi?

I am happy. The test would serve as api stability guarantee so maybe a really simple test would suffice. But happy to merge regardless too.

It would be good to add a test for this if possible, although it looks like we don't have a test for the className prop either.
Happy to merge regardless, any thoughts to add @anajavi?

I was thinking so (add test for containerProps), but before I checked if you did the same for other props (like className) but having only found this.
I will try to look into jest (are you using it, right? I never) and then try to make a PR with a test case for containerProps.
Thanks for this library, so much good stuff.

I will try to look into jest (are you using it, right? I never) and then try to make a PR with a test case for containerProps.

Jest and Enzyme, yes.

I will try to look into jest (are you using it, right? I never) and then try to make a PR with a test case for containerProps.

Cool, merging. Look forward to your next PR!


[Pay on Wed 24th Nov] Improve IOU flow with step navigation animations

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
The IOUModal and step PR introduces a multi-step navigation within a single Modal (see video at bottom of this issue).
Expected Result:
We should improve the current navigation with the use of animations when navigating between steps.
Our plan was to take advantage of the imminent react-native-navigation implementation  (using Tab.Screen, hiding the TabBar, and disabling swipe), which gives us page animations and allows us to refresh each step without losing the current state. This change was never made, so it might instead be simpler to use a custom animation.
Actual Result:
Multi-step navigation within a single modal
Workaround:
E.cash is still functional with or without this improvement.
Platform:
All platforms.
Web
iOS
Android
Desktop App
Mobile Web
Version Number: 1.0.75
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/1127863/124861455-7952e280-df68-11eb-9001-d17b74cf5d62.mov
Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/156712
View all open jobs on Upwork

Triggered auto assignment to @conorpendergrast (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

If you're coming from the Upwork posting (https://www.upwork.com/jobs/~01e8cb25843621f42d), please make sure to share your proposal here and a member from our team will evaluate. Thank you!

Triggered auto assignment to @chiragsalian (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

What type of animation are you looking here?

cc @Julesssss since you're online soon and this is coming from your issue in E.com.

Really liked this idea!
We already have react-native-animatable as a dependency (from react-native-modal), it's a pretty good library for built-in animations. Might make sense to use it here too? It's performant and works on the web.
I added a few animations to our Request money flow so we can see how it might look:
https://user-images.githubusercontent.com/53711423/124874670-5fcc8d80-df9e-11eb-8639-debf2bbb81b8.mp4

I'm not sure where we stand on this. @JmillsExpensify is there something else we need more for this issue or does any sort of animation work fine for the IOU pages? Does the video that @rdjuric shows above suffices for us?

CC @shawnborton, as we talked about multi-step navigation.
In my opinion, we should only use left-to-right and right-to-left animations, depending on which way the user is navigating through the tabs. Vertical animations might give the impression of hierarchy between the pages, which we should avoid.

@chiragsalian I think we're close to approving the proposal. Let's just see if any issues are raised with the side-to-side animations before giving the go-ahead.

@rdjuric that makes sense to me. What do you think about the above comment?

Agree! I think we should use slide right-to-left to indicate that we're going forward, and slide left-to-right to indicate that we're going back - in both cases without the fadeIn effect from the video.
Just in case you and @shawnborton want to take a look, react-native-animatable has some examples of predefined animations (the ones we use in our Modals) in the README.

That sounds good. slideInLeft & slideInRight seem to be the best candidates.

Works for me too!

Cool looks like we're mostly in agreement about using react-native-animatable and slide left/right animations. @rdjuric mind posting a more detailed proposal of how to plan to solve this so that we can go ahead and hire you if you're still interested 🙂

@chiragsalian Sure!

Wrap each of the the steps (IOUAmount, IOUParticipants, IOUConfirm) of our IOUModal in an Animatable.View, and pass to the Animatable.View the animation config that we agreed upon.
(It might be better to wrap some components of the Step instead of the whole View, I'll test it during the PR)
Pass slideInLeft if we got to that step by calling our navigateToNextStep method, and slideInRight if we got to that step by calling our navigateToPreviousStep method.

Cool, LGTM, @JmillsExpensify feel free to hire @rdjuric on upwork.
@rdjuric, feel free to create the PR.

@rdjuric Would you mind retracting and re-submitting your proposal in Upwork. We've been having issues where the proposal isn't available for hire, and the re-submission fixes the issue. Thanks!

@JmillsExpensify I'm receiving a "This job is private. Only freelancers invited by client can view this job." message when trying to open the job link you posted here. So I haven't sent a proposal/was invited yet.

@rdjuric Made public and ready for you! Thanks

@JmillsExpensify I can open the link now, but when I try to submit the proposal I get a "Only invited users can find, view and apply to the job" message 😅

Done@ Thanks so much and sorry again for the trouble!

@JmillsExpensify, @chiragsalian, @rdjuric Whoops! This issue is 2 days overdue. Let's get this updated quick!

@MelvinBot I'm working on some improvements requested in the PR!

@JmillsExpensify, @chiragsalian, @rdjuric Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@JmillsExpensify, @chiragsalian, @rdjuric Eep! 4 days overdue now. Issues have feelings too...

Hi @rdjuric, have you been able to work on the mentioned improvements?

@JmillsExpensify, @chiragsalian, @rdjuric Eep! 4 days overdue now. Issues have feelings too...

Yes, please let us know how it's going!

Sorry! I replied on the PR 😅 Should be ready for review today

@JmillsExpensify, @chiragsalian, @rdjuric Whoops! This issue is 2 days overdue. Let's get this updated quick!

@JmillsExpensify, @chiragsalian, @rdjuric Still overdue 6 days?! Let's take care of this!

The PR was updated again today and is looking better. After testing I noticed a few remaining issues which are shown here in the PR.

@JmillsExpensify, @chiragsalian, @rdjuric Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Hi @rdjuric, have you had the chance to review the feedback yet?

@Julesssss Sorry, looking into it now! Thanks.

@JmillsExpensify, @chiragsalian, @rdjuric Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Requested changed updated in the linked PR.

Holding per the N6 hold label.

@JmillsExpensify, @chiragsalian, @rdjuric Whoops! This issue is 2 days overdue. Let's get this updated quick!

Holding due to N6 still

@JmillsExpensify, @chiragsalian, @rdjuric Eep! 4 days overdue now. Issues have feelings too...

@JmillsExpensify, @chiragsalian, @rdjuric 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

Please refer to this post for updated information on the n6 hold, we've raised the bonus to $250 for all issues where a PR is created before the N6 hold is lifted.

This issue has not been updated in over 15 days. @JmillsExpensify, @chiragsalian, @rdjuric eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@chiragsalian resolved the conflicts and we've retested and merged the PR. Holding for payment.

This issue has not been updated in over 15 days. @JmillsExpensify, @chiragsalian, @rdjuric eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

Well the code for this is done. The only thing that remained was the payment to @rdjuric.
@JmillsExpensify will you be handling that? You can close the issue right after.

Ah I must have missed this one right before heading on for the holidays. Closing out and providing a bonus for the delay on my part.


Issue using javascript utilities

Hey,
I ran into a problem trying to implement a sticky nav using foundation's sticky component, after several tries with no success I went to try using any of the javascript utility scripts and non worked for me.
The sticky javascript ads all relevant tags and html, but won't update the top position on the sticky element.
And when I tries to use box on multiple items I got this error:
foundation.util.box.js:49 Uncaught TypeError: elem.getBoundingClientRect is not a function
Any help would be appreciated

Can you post the HTML you wrote?

For an example of a sticky nav, take a look at this pen: http://codepen.io/zurbchris/pen/rxMaoX

I finally got the sticky to work after finding @zurbchris pen this morning. But I can't figure out what I was doing wrong. Trying to get multiple sticky elements on one page and running into issues there, I like the  new sticky plugin. Is it better to initialize everything in js? Or would it make no difference?
this is what I was playing with.
http://codepen.io/jxtposed/pen/mVWpoy
and here's the forked version of @zurbchris pen.
http://codepen.io/jxtposed/pen/wMJEXM
But no luck with Box yet.
Thanks guys!

So, Foundation.Box.GetDimensions only works for a single element at one time, so if you're passing a jQuery collection or something from querySelector that has a length property, only the first element will have a value returned. If you want an array of sizes, you'd have to map over a collection, like so:
    var foo = Array.prototype.map.call(document.getElementsByClassName('bar'), Foundation.Box.GetDimensions);

Other than that, I have no earthly idea what would be causing that error, assuming you're passing in a valid DOM element.

Still no luck with Box.
http://codepen.io/jxtposed/pen/XXMvrp
Sorry if I am missing something obvious.
Appreciate the help

You need to pass in a DOM Object, not a selector string. This could be fixed by adding a jQuery call, or using document.getElementById('some-element').

awesome, thank you @zurbchris


Suggestion for docs on how to import css

Hi - I have a short suggestion for adding to the docs! This was something I struggled with a bunch.
For the main usage documentation, add one line:
import { FormeoEditor, FormeoRenderer } from 'formeo' // you have this
import "formeo/dist/formeo.min.css" // this is missing

(I'm adding this as an issue because I'm not super familiar with different packaging systems in javascript. This was required in webpacker with Rails <IP_ADDRESS>.)

I can vouch for this. Form editor renders wonky in rails without importing the css. Def needs to be part of the documentation.

+1 to this


[X] WSL 2
[ ] WSL 1

Kernel Version
it doesn't open
Distro Version
Kali Linux
Other Software
No response
Repro Steps
opening kali linux from windows search by searching for kali linux and opening it
or by typing wsl in the terminal it doesn't open also and keeps loading with no output.
Expected Behavior
The linux terminal opens.
Actual Behavior
It's stuck like that forever on Kali Linux (Rolling) and doesn't open

Diagnostic Logs
No response
### Tasks

### Tasks

### Tasks

https://github.com/microsoft/WSL/issues/5836#issuecomment-2077163597 this worked form
idk why this is an issue


Removed numpy block for CI jobs - [merged]

In GitLab by @cmastalli on Dec 6, 2018, 20:56
Merges topic/unittest -> devel
As discussed in this thread #38, our team policy doesn't allow us to use Numpy block routines for CI jobs, yet. So I substituted all these routines by conventional Numpy management.
FYI @nim65s

In GitLab by @cmastalli on Dec 6, 2018, 20:56
merged

In GitLab by @cmastalli on Dec 6, 2018, 20:56
mentioned in commit f31be8fd2f0cfebeef38cc58a3593632253c099f


Scope no longer works on Rancher 1.2 (uses CNI networking)

With Rancher 1.2, Rancher has moved to CNI for networking, so the container IP is no longer available via docker inspect. This causes the graph to lose connection edges.
I'm curious what the solution for this is. I'm not familiar with the weave scope code, so would it require a custom Rancher plugin for probe to discover that information?
I'd be willing to take a shot at implementing this.

Thanks for reporting this @johnrengelman !

the container IP is no longer available via docker inspect

Do you happen to know the reason for this?  (I have never personally used Rancher)
I am asking because Scope works with Kubernetes (and CNI plugins), and the containers still show their IP with docker inspect
More importantly, do you know how could we obtain the IP of the containers?

would it require a custom Rancher plugin for probe

This is a core piece of the Scope functionality, so I wouldn't put it in a plugin, but directly in Scope.
I am happy to guide you once we figure out how to obtain the IPs (for normal containers is done here and the networks from Docker plugins are obtained here

Rancher is launching the containers with --net=none, so there's no networking information in docker inspect.
I'm gonna end up quickly out of my realm so I'll tag some Rancher folks at the end and perhaps they can offer insight.
In Rancher:

Inspecting that container:
$ docker inspect 41e077596904
[
    {
        "Id": "41e077596904c536724058bbd50ebd087e2acdfef343ee151d3eb3c08ef36a12",
        "Created": "2017-01-27T18:27:16.093204072Z",
        "Path": "/.r/r",
        "Args": [
            "/rancher-entrypoint.sh",
            "/tini",
            "--",
            "healthcheck"
        ],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 8694,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2017-01-27T18:27:16.523591188Z",
            "FinishedAt": "0001-01-01T00:00:00Z"
        },
        "Image": "sha256:491349141109e422c7ff9c1c568d3f6d6563e2f5e3667d9171c4407ff9713fd1",
        "ResolvConfPath": "/var/lib/docker/containers/41e077596904c536724058bbd50ebd087e2acdfef343ee151d3eb3c08ef36a12/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/41e077596904c536724058bbd50ebd087e2acdfef343ee151d3eb3c08ef36a12/hostname",
        "HostsPath": "/var/lib/docker/containers/41e077596904c536724058bbd50ebd087e2acdfef343ee151d3eb3c08ef36a12/hosts",
        "LogPath": "/var/lib/docker/containers/41e077596904c536724058bbd50ebd087e2acdfef343ee151d3eb3c08ef36a12/41e077596904c536724058bbd50ebd087e2acdfef343ee151d3eb3c08ef36a12-json.log",
        "Name": "/r-healthcheck-healthcheck-1-25d1232c",
        "RestartCount": 0,
        "Driver": "overlay2",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/var/lib/rancher/etc:/var/lib/rancher/etc:ro",
                "rancher-cni:/.r:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {
                    "max-file": "2",
                    "max-size": "25m"
                }
            },
            "NetworkMode": "none",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [
                "<IP_ADDRESS>"
            ],
            "DnsOptions": null,
            "DnsSearch": [
                "healthcheck.rancher.internal",
                "healthcheck.healthcheck.rancher.internal",
                "rancher.internal"
            ],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 2,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DiskQuota": 0,
            "KernelMemory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0
        },
        "GraphDriver": {
            "Name": "overlay2",
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/001433bf0ae48aef5d006ebdaa9bf658ee6ed68c2ef70b01b7c9a8fded7c3b84-init/diff:/var/lib/docker/overlay2/68ba11bc79f38b76cb02d62b0748514a39b171bc001b8390a03b936b0fd35d89/diff:/var/lib/docker/overlay2/71a8e59b6ebb3f33e729521765762acd23896ea89ce36a2fe3713fa860183d51/diff:/var/lib/docker/overlay2/d9e4dc65209eaa82ce5b308c82b730c89743e092bbc5a001ec8645964c66cc6f/diff:/var/lib/docker/overlay2/20c32fea6882243aff1617710f592a213c2690f6dba5448491f49922dd7ed6bc/diff:/var/lib/docker/overlay2/a93e47f26a3348f8da1929a405b709f5384a1e6f686a8b6b495bdc9601b73b55/diff:/var/lib/docker/overlay2/bfd693279421982eaae386ba9d29e52d3d67e9adef97560f444b91407e64185f/diff:/var/lib/docker/overlay2/384811119a03eef3a34bf9e67a966bb98386e6c809a5fba3a1094d7be6258f7c/diff:/var/lib/docker/overlay2/1b841b62b96b96155c675bfcd4f4b403029ee101d2d7cb888bebdd04405cbe2f/diff:/var/lib/docker/overlay2/74a98d8e859e4d56acef79d2c3decbb1128e74968e9cd219dcd18c1535513018/diff:/var/lib/docker/overlay2/edf955cad19a5368b293583d965abcc87ade88c15a560f3af9793e8ecaab3836/diff:/var/lib/docker/overlay2/ff7b93537e7531e6a5dbc31b75a7d2e0e1f8366ebcca974072b4f9e02e7df1c9/diff:/var/lib/docker/overlay2/b9b4caa59c1a2904d7967c70bdf322940991960a57db83209e5a9b081e5db64f/diff:/var/lib/docker/overlay2/d112ece2cb05755aaaeb434d359797ffb5ccdd9b76bf800ae03dbae7439a0e3e/diff",
                "MergedDir": "/var/lib/docker/overlay2/001433bf0ae48aef5d006ebdaa9bf658ee6ed68c2ef70b01b7c9a8fded7c3b84/merged",
                "UpperDir": "/var/lib/docker/overlay2/001433bf0ae48aef5d006ebdaa9bf658ee6ed68c2ef70b01b7c9a8fded7c3b84/diff",
                "WorkDir": "/var/lib/docker/overlay2/001433bf0ae48aef5d006ebdaa9bf658ee6ed68c2ef70b01b7c9a8fded7c3b84/work"
            }
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/var/lib/rancher/etc",
                "Destination": "/var/lib/rancher/etc",
                "Mode": "ro",
                "RW": false,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "rancher-cni",
                "Source": "/var/lib/docker/volumes/rancher-cni/_data",
                "Destination": "/.r",
                "Driver": "local",
                "Mode": "ro",
                "RW": false,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "41e077596904",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "CATTLE_AGENT_INSTANCE_AUTH=Basic OTI3REJCRjMyQUZCRTFGRUY5NEI6bTVyTFo0RmNudjMyN1lIcWFvWVNWZVRvUjNaNFZ6WlNueTc4TUhYTQ==",
                "CATTLE_SECRET_KEY=m5rLZ4Fcnv327YHqaoYSVeToR3Z4VzZSny78MHXM",
                "CATTLE_ACCESS_KEY=927DBBF32AFBE1FEF94B",
                "no_proxy=*.local, 169.254/16",
                "CATTLE_CONFIG_URL=http://<IP_ADDRESS>:8080/v1",
                "CATTLE_URL=http://<IP_ADDRESS>:8080/v1",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "SSL_SCRIPT_COMMIT=98660ada3d800f653fc1f105771b5173f9d1a019",
                "TINI_VERSION=v0.10.0"
            ],
            "Cmd": [
                "healthcheck"
            ],
            "Healthcheck": {},
            "Image": "rancher/healthcheck:v0.2.3",
            "Volumes": {
                "/var/lib/rancher/etc": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "/.r/r",
                "/rancher-entrypoint.sh",
                "/tini",
                "--"
            ],
            "OnBuild": null,
            "Labels": {
                "io.rancher.cni.network": "ipsec",
                "io.rancher.cni.wait": "true",
                "io.rancher.container.agent_id": "3",
                "io.rancher.container.create_agent": "true",
                "io.rancher.container.ip": "<IP_ADDRESS>/16",
                "io.rancher.container.mac_address": "02:60:71:03:ca:3b",
                "io.rancher.container.name": "healthcheck-healthcheck-1",
                "io.rancher.container.uuid": "25d1232c-6876-41ff-ba02-9a929793382a",
                "io.rancher.project.name": "healthcheck",
                "io.rancher.project_service.name": "healthcheck/healthcheck",
                "io.rancher.scheduler.global": "true",
                "io.rancher.service.deployment.unit": "40c8fd57-3125-4ef1-8d97-b5d443021af5",
                "io.rancher.service.hash": "d0a8fd4061d3b2a8c5782f5563db6df0b25655cb",
                "io.rancher.service.launch.config": "io.rancher.service.primary.launch.config",
                "io.rancher.service.requested.host.id": "1",
                "io.rancher.stack.name": "healthcheck",
                "io.rancher.stack_service.name": "healthcheck/healthcheck"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "904b79ee06edde2a7f07c5a36b202c4349f4d61f55331f6290979e12dd620150",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/904b79ee06ed",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "none": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "c6c6b466dc11b6ddd2c85fd9224128f27e2d1208e50e47b0d4decd8d3db197e7",
                    "EndpointID": "1ac346f1b5dcbab62069157cecd6e48374bdfccccfd134f7095521c92468a145",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": ""
                }
            }
        }
    }
]

Checking Docker Networks:
$ docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
2d56e3eb6a6d        bridge              bridge              local
52aba9e00221        host                host                local
c6c6b466dc11        none                null                local

Notice the last one corresponds to the NetworkID from docker inspect.
$ docker network inspect c6c6b466dc11
[
    {
        "Name": "none",
        "Id": "c6c6b466dc11b6ddd2c85fd9224128f27e2d1208e50e47b0d4decd8d3db197e7",
        "Created": "2017-01-26T15:17:22.370980701Z",
        "Scope": "local",
        "Driver": "null",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": []
        },
        "Internal": false,
        "Attachable": false,
        "Containers": {
            "41e077596904c536724058bbd50ebd087e2acdfef343ee151d3eb3c08ef36a12": {
                "Name": "r-healthcheck-healthcheck-1-25d1232c",
                "EndpointID": "1ac346f1b5dcbab62069157cecd6e48374bdfccccfd134f7095521c92468a145",
                "MacAddress": "",
                "IPv4Address": "",
                "IPv6Address": ""
            },
            "4325ee9993ff277188a29d560aa43074814fcf1f23eed33da1a987db8c9bfb4f": {
                "Name": "r-scheduler-scheduler-1-789b7587",
                "EndpointID": "db40a6e645d28c6890b1c286e9de746945b6fdd586d0cb94dfcb554741370d72",
                "MacAddress": "",
                "IPv4Address": "",
                "IPv6Address": ""
            },
            "857a424c2332930858c75df8c39cdd3dc061d5ad886c370906dd30926ee3876a": {
                "Name": "r-ipsec-ipsec-1-5d4973c7",
                "EndpointID": "1b383dfd02e8601e375d066f2204f922a6e5c1e263bd2e844262cd6ea49ea307",
                "MacAddress": "",
                "IPv4Address": "",
                "IPv6Address": ""
            }
        },
        "Options": {},
        "Labels": {}
    }
]

So, not sure what else I can do from that point. There's a ipsec-cni-driver container (from Rancher) that is running, that I'm guessing does something here.
/cc @vincent99 @ibuildthecloud

Actually, we already have a ticket for this https://github.com/weaveworks/scope/issues/1550
Also, answering myself:

I am asking because Scope works with Kubernetes (and CNI plugins), and the containers still show their IP with docker inspect

I think we've only only tested the weave CNI plugin and we use other means to obtain the IPs in that case.

Aha! Lacking a generic way to obtain the container IPs and Networks from CNI, this should be good enough:
$ docker inspect 41e077596904
[...]
                "io.rancher.container.ip": "<IP_ADDRESS>/16",

@johnrengelman If you want to give it a try, in order to add the rancher IPs and Networks you would have to:

Extend NetworkingInfo to add the IP from io.rancher.container.ip (<IP_ADDRESS> in the example above)
Extend overlayTopology() to incorporate the networks found in all containers the rancher containers (transforming <IP_ADDRESS>/16 from CIDR notation leads to a canonical network IP <IP_ADDRESS> with netmask <IP_ADDRESS>)

An alternative approach (suggested by @bboreham ) which could more-generically cover CNI plugins in all platforms would be to exec into all the networking namespaces. Quoting him:

No, there is no 'GET' function for CNI
[...]
We could extract roughly the code that does that; it just walks through every namespace.
You could write code for the common cases - Flannel, calico, whatever - to look for their characteristics.
In 95% of cases what you're looking for is a veth called eth0.

@johnrengelman  Want to give it a try?

@2opremio Yeah, I'm going to put it on my list for taking a crack at this week.

Fantastic! Let me know if you need any help.
On Mon, Jan 30, 2017 at 7:42 PM, John Engelman<EMAIL_ADDRESS>wrote:

@2opremio https://github.com/2opremio Yeah, I'm going to put it on my
list for taking a crack at this week.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/scope/issues/2164#issuecomment-276151384,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACQOJMIlg6jqMKFJplJ3Kr4bNBX5UUumks5rXi8hgaJpZM4Lv59f
.


Could not install from ... as it does not contain a package.json file.

Could not install from "@thisissoon{angular-scrollspy,angular-inviewport}" as it does not contain a package.json file.
Is something wrong with repo?
Regards!!!

I successfully downloaded it yesterday by running the command npm i @thisissoon/{angular-scrollspy,angular-inviewport} --save. I am using NPM version 6.4.1and Node version 10.13.0.

@mateuszbem running npm i @thisissoon/{angular-scrollspy,angular-inviewport} appears to work for me. Closing as I am unable to reproduce this.

same with me! It shows below error.
npm ERR! code ENOLOCAL
npm ERR! Could not install from "@thisissoon\{angular-scrollspy,angular-inviewport}" as it does not contain a package.json file.

@neon98 the command should be npm i @thisissoon/{angular-scrollspy,angular-inviewport}
Note the forward slash / instead of a backslash


Products Page: When the Product is Provisioned it's status is not updated on the page automatically. User has to refresh the page

The team has decided that this is a huge effort ticket with a low priority and since it's an edge case, this ticket will be closed/cancelled.