text:
ros_realtime: 1.0.25-0 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros_realtime to 1.0.25-0:

upstream repository: https://github.com/ros/ros_realtime.git
release repository: https://github.com/ros-gbp/ros_realtime-release.git
distro file: melodic/distribution.yaml
bloom version: 0.7.2
previous version for package: null

ros_realtime

No changes

done

squashing after fixing whitespace.

authors: davefeilseifer tfoote


text:
Add do-mpc pip package to python.yaml for debian and ubuntu

Please add the following dependency to the rosdep database.
Package name:
python3-do-mpc-pip
Package Upstream Source:
https://github.com/do-mpc/do-mpc
Purpose of using this:
This dependency is useful for quick development of the Model Predictive Control algorithm in the ros environment.
Links to Distribution Packages

Debian: https://pypi.org/project/do-mpc/
Ubuntu: https://pypi.org/project/do-mpc/

Standard pip disclaimer: ROS packages that depend on pip keys cannot be released into a ROS distribution. They can only be depended on by from-source builds. Because of this, system packages are highly preferred to pip packages.

source: gharchive/pull-request

authors: KozAAAAA mjcarroll

repo: ros/rosdistro

license_type: permissive

license_source: github-api


text:
geometry2: 0.36.7-1 in 'jazzy/distribution.yaml' [bloom]

Increasing version of package(s) in repository geometry2 to 0.36.7-1:

upstream repository: https://github.com/ros2/geometry2.git
release repository: https://github.com/ros2-gbp/geometry2-release.git
distro file: jazzy/distribution.yaml
bloom version: 0.12.0
previous version for package: 0.36.6-1

examples_tf2_py

No changes

geometry2

No changes

tf2
* Jazzy "Backport" of #720 <https://github.com/ros2/geometry2/issues/720> (#723 <https://github.com/ros2/geometry2/issues/723>)
* Contributors: Lucas Wendland

tf2_bullet
* Jazzy "Backport" of #720 <https://github.com/ros2/geometry2/issues/720> (#723 <https://github.com/ros2/geometry2/issues/723>)
* Contributors: Lucas Wendland

tf2_eigen
* Jazzy "Backport" of #720 <https://github.com/ros2/geometry2/issues/720> (#723 <https://github.com/ros2/geometry2/issues/723>)
* Contributors: Lucas Wendland

tf2_eigen_kdl
* Jazzy "Backport" of #720 <https://github.com/ros2/geometry2/issues/720> (#723 <https://github.com/ros2/geometry2/issues/723>)
* Contributors: Lucas Wendland

tf2_geometry_msgs
* Jazzy "Backport" of #720 <https://github.com/ros2/geometry2/issues/720> (#723 <https://github.com/ros2/geometry2/issues/723>)
* Contributors: Lucas Wendland

tf2_kdl
* Jazzy "Backport" of #720 <https://github.com/ros2/geometry2/issues/720> (#723 <https://github.com/ros2/geometry2/issues/723>)
* Contributors: Lucas Wendland

tf2_msgs

No changes

tf2_py
* Jazzy "Backport" of #720 <https://github.com/ros2/geometry2/issues/720> (#723 <https://github.com/ros2/geometry2/issues/723>)
* Contributors: Lucas Wendland

tf2_ros
* Jazzy "Backport" of #720 <https://github.com/ros2/geometry2/issues/720> (#723 <https://github.com/ros2/geometry2/issues/723>)
* Contributors: Lucas Wendland

tf2_ros_py

No changes

tf2_sensor_msgs
* Jazzy "Backport" of #720 <https://github.com/ros2/geometry2/issues/720> (#723 <https://github.com/ros2/geometry2/issues/723>)
* Contributors: Lucas Wendland

tf2_tools

No changes

Holding for Jazzy sync

authors: ahcorde clalancette


text:
Updated Gentoo dependencies for Jade.

I have added some new dependencies for the Gentoo install. This satisfies all desktop_full requirements for building from source. Instructions will come soon!

I'll reopen when I learn alphabetical order... Sorry about that.


text:
Launch tutorial leads to Error on execution

I was following the "Using substitutions" tutorial and everything was going ok until the "Launching example" line: ros2 launch launch_tutorial example_main.launch.py
For some reason, this gives me the Errno 2 on the console:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/dev_ws/install/launch_tutorial/share/launch_tutorial/launch/example_substitutions.launch.py'

I tried to follow the error towards the source files but couldn't undestand why this is happening.
I also like to point out that in this tutorial when the prerequisites says: "This tutorial also assumes that you have created a new package of ament_python build type called launch_tutorial", it's not really clear to the user if changing setup.py is actually necessary in order to find all the launch files, and if changing package.xml to define its dependencies is needed as well. It's something that I noticed is quite different from the previous tutorials where each step is clear and well defined, regardless of whether this means repeating information and/or commands.
This is the whole console log (just in case is needed too):
[INFO] [launch]: All log files can be found below /home/user/.ros/log/2022-08-06-21-42-32-567336-pc-91925
[INFO] [launch]: Default logging verbosity is set to INFO
Task exception was never retrieved
future: <Task finished name='Task-2' coro=<LaunchService._process_one_event() done, defined at /opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py:226> exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py", line 228, in _process_one_event
    await self.__process_event(next_event)
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py", line 248, in __process_event
    visit_all_entities_and_collect_futures(entity, self.__context))
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures
    futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures
    futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures
    futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)
  [Previous line repeated 1 more time]
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 38, in visit_all_entities_and_collect_futures
    sub_entities = entity.visit(context)
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/action.py", line 108, in visit
    return self.execute(context)
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/actions/include_launch_description.py", line 130, in execute
    launch_description = self.__launch_description_source.get_launch_description(context)
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_source.py", line 84, in get_launch_description
    self._get_launch_description(self.__expanded_location)
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/python_launch_description_source.py", line 51, in _get_launch_description
    return get_launch_description_from_python_launch_file(location)
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/python_launch_file_utilities.py", line 62, in get_launch_description_from_python_launch_file
    launch_file_module = load_python_launch_file_as_module(python_launch_file_path)
  File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/python_launch_file_utilities.py", line 37, in load_python_launch_file_as_module
    loader.exec_module(mod)
  File "<frozen importlib._bootstrap_external>", line 844, in exec_module
  File "<frozen importlib._bootstrap_external>", line 980, in get_code
  File "<frozen importlib._bootstrap_external>", line 1037, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/dev_ws/install/launch_tutorial/share/launch_tutorial/launch/example_substitutions.launch.py'

Hope this helps :)

I think your package doesn't install its launch files (i.e., it doesn't copy them to the right directory under install/...), so that's why the launch file is not found. Adding this to the data_files list in your setup.py file should fix it:
('share/' + package_name + '/launch', glob.glob('launch/*.launch.*')),

See the full example here: https://github.com/ros2/ros2_tracing/blob/25142e8cbc58a6317c63014d461d985593ae5c1a/tracetools_launch/setup.py#L14

I also like to point out that in this tutorial when the prerequisites says: "This tutorial also assumes that you have created a new package of ament_python build type called launch_tutorial", it's not really clear to the user if changing setup.py is actually necessary in order to find all the launch files, and if changing package.xml to define its dependencies is needed as well. It's something that I noticed is quite different from the previous tutorials where each step is clear and well defined, regardless of whether this means repeating information and/or commands.

I agree, it's skipping over important details. The "Creating a package" tutorial does not mention launch files, and the "Using substitutions" tutorial doesn't mention needing the above change to the setup.py file. At the very least, this should be mentioned at the end of the "2 Substitutions example launch file" section or at the beginning of the "Launching example" section.
The "Creating a launch file" tutorial does mention ros2 launch <package_name> <launch_file_name>, but then simply links to the "Creating a package" tutorial, which again doesn't mention the important bit about launch files. Not sure where it should go.

Hmm... weird. I actually deleted and created again the package several times but the same error was found always. Maybe it's an error on the tutorial then? I mean, it's not clear as I already said.
About the extra line in setup.py, I can see how that can solve the problem, but adding (os.path.join("share", package_name), glob("launch/*.launch.py")) to data_files, as "Launching and monitoring multiple nodes tutorial" actually mentions, shouldn't work as well? I mean, from what I understand, this should search in the share/package-name directory for a launch/ directory and then for all the .launch.py files in it, doesn't it?
In fact, now that I give a closer look to the directories in my system, and using the other packages created in the other tutorials with launch files as examples (like this one or this one which uses this previously created package), neither of them creates dependencies at package.xml (at least, related to the launch part) or have a launch/ directory at install/package-name/share/package-name/ and worked well. In fact, the only difference with the substitution tutorial is that they creates their own node located at src/package-name/package-name/, and thus, have a reference in entry_points in setup.py.
It's that the problem then? It's necessary to create a node for ros2 launch to find the launch files? Maybe the path share/package-name/launch it's actually wrong? Why it works for the other tutorials then? I'm not sure and I'm kinda confused now. This just sound pretty weird to me.

Update: I 'think' I just fix it.
The problem was here, line 19 of the example_main.launch.py. Using that line makes ros2 launch go and search for .launch.py (in this case, example_substitutions.launch.py) files in a directory that doesn't exist! The 'fix' consist in just delete the 'launch', argument.

It's that the problem then? It's necessary to create a node for ros2 launch to find the launch files? Maybe the path share/package-name/launch it's actually wrong? Why it works for the other tutorials then? I'm not sure and I'm kinda confused now. This just sound pretty weird to me.

To answer my previous questions, it is not necessary to create a new node, the path in setup.py (even tho I couldn't manually found it) is fine and, therefore, that's why it works for the other tutorials. In the other hand, yes, adding (os.path.join("share", package_name), glob("launch/*.launch.py")) to the data_files list in setup.py works and is needed too in order to make the tutorial fully work.
So, the answer to the 'mystery' is that the "Using substitutions tutorial", apart from not being entirely user friendly as the other tutorials, it's actually wrong. Should I publish a commit or something then? Let me know.
Thanks for the time btw.

I ran into the same issue. Under 2 Parent launch file the tutorial shows this line:
PathJoinSubstitution([
    FindPackageShare('launch_tutorial'),
    'launch',
    'example_substitutions.launch.py'
])

Everything worked for me when I removed the 'launch' line:
PathJoinSubstitution([
    FindPackageShare('launch_tutorial'),
    'example_substitutions.launch.py'
])

FWIW, this is also what is reflected in the full example_main.launch.py.

I see what you mean.  That particular problem is solved in https://github.com/ros2/ros2_documentation/pull/3044

It's questionable how 'the fixes' are located at the last tutorial of the whole Launch section. It doesn't seems right.

So it is not really that putting the launch files in a launch subdirectory is a "fix", so much as it is using a different convention.  Both will work, it is just a matter of what the best practice is.  I'll bring this up with the rest of the ROS 2 team and see what we want to do here.

This was fixed in #3044, so closing this out.  Feel free to reopen if you are still having a problem.

source: gharchive/issue

authors: GeoRCode christophebedard clalancette krislamont


text:
Add fallback logic in case AMENT_CURRENT_PREFIX is not set

This is more of a temporary fix, since it would be better to not rely on colcon.
Fixes ros2/rmw_opensplice#283.

Worked for me!

Full CI with Opensplice:

Linux
Linux-aarch64
macOS
Windows

authors: jacobperron mkhansen-intel


text:
unification

https://rosebud-iot.atlassian.net/browse/SWEEPR-6450

@anthowm - please notice I converted this project from .jar into .aar and also renamed the artifact-id. One question that is still open is - could we get rid of those all unused packages that are now spread across other repos and the rosebud-iot organization??

repo: rosebud-iot/speed-test-lib

license: MIT


text:
'teleop' example pkg name too generic

I feel the teleop and teleop_msgs package names are too generic and have a high chance of clashing with other existing packages.
it's unclear to me whether we want to release these packages through the ROS buildfarm, but if/when we do, we need to make the names more specific to the context these packages are used in.
Suggestion: prefix everything with rxros_.

@henrik7264: what do you think?

Similar question / doubt about the brickpi package(s).
If they are really examples, we should probably prefix them with rxros_ to avoid any potential clashes with official and/or other brickpi packages.

Hi Gijs
I think it is a good idea. I will rename the examples directory to ros_examples and update the configuration/setup files accordingly.
/Henrik
On 27 Aug 2019, at 16.57, G.A. vd. Hoorn <notifications@github.commailto:notifications@github.com> wrote:
@henrik7264https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhenrik7264&data=02|01||232196941bf6402444b708d72afedcf6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637025146418178691&sdata=ml99Dm2iiOgnCefm49FSQYkC3JsTn7pjDJ17OPrBhWE%3D&reserved=0: what do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frosin-project%2Frx_ros%2Fissues%2F4%3Femail_source%3Dnotifications%26email_token%3DAJYMVX7AQEMA5S3GNJ43TGTQGU6FBA5CNFSM4IQFQNE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IA4MY%23issuecomment-525340211&data=02|01||232196941bf6402444b708d72afedcf6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637025146418188690&sdata=NWgixEX%2FHybCud39AO658ckm9DBs6XPtw%2FWziyJPVrs%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJYMVX7NYUFSIT3ZYCIAC6DQGU6FBANCNFSM4IQFQNEQ&data=02|01||232196941bf6402444b708d72afedcf6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637025146418198708&sdata=eAN%2FxlZ8mI37uHjgdSpklpeK0%2F10Y%2F72FjMVSpLaOnw%3D&reserved=0.

I think it is a good idea. I will rename the examples directory to ros_examples and update the configuration/setup files accordingly.

Just making sure: I was suggesting to rename teleop to rxros_teleop, and teleop_msgs to rxros_teleop_msgs.
That way it's immediately clear that those packages are related to rxros, and we avoid potential clashes with existing "teleop" packages.

Yes I see. OK that is fine with me :-)
/Henrik
On 27 Aug 2019, at 18.37, G.A. vd. Hoorn <notifications@github.commailto:notifications@github.com> wrote:
I think it is a good idea. I will rename the examples directory to ros_examples and update the configuration/setup files accordingly.
Just making sure: I was suggesting to rename teleop to rxros_teleop, and teleop_msgs to rxros_teleop_msgs.
That way it's immediately clear that those packages are related to rxros, and we avoid potential clashes with existing "teleop" packages.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frosin-project%2Frx_ros%2Fissues%2F4%3Femail_source%3Dnotifications%26email_token%3DAJYMVXZCQCLZIE577ET6JA3QGVJ4TA5CNFSM4IQFQNE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ILNCI%23issuecomment-525383305&data=02|01||26dc8ac9fa1e4505534108d72b0cda58|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637025206505330708&sdata=eGqWw1PKrYF2THRf%2Blomn6rT%2FSw%2B3PmLTMCKCmbRtjE%3D&reserved=0, or mute the threadhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJYMVXZPBS34UFC436D2L23QGVJ4TANCNFSM4IQFQNEQ&data=02|01||26dc8ac9fa1e4505534108d72b0cda58|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637025206505340719&sdata=Y%2F8%2BO%2FE6DtQmUXIBacxlCZG8BU%2BuPChRgFUzEuJSkEw%3D&reserved=0.


text:
Sometimes extensions show incorrect page icon

Sometimes extensions show an incorrect icon for blocked resources and ORI.

Fixed in develop

repo: roskomsvoboda/censortracker


text:
Не получается включить расширение.

При попытке включить расширение в chrome://extensions/ , то переключатель становится синим и сразу пропадает. Такое же происходит, если загрузить расширение, как распакованное

Здравствуйте!
А у вас есть сторонние расширения для обхода блокировок?

Здравствуйте! А у вас есть сторонние расширения для обхода блокировок?

да, оказывается одно расширение мешало

Здравствуйте! А у вас есть сторонние расширения для обхода блокировок?

да, оказывается одно расширение мешало

Тогда, если все решилось, закройте пожалуйста этот issue!

authors: Erghel MIPOHBOPOHIH


text:
chore(main): release 1.3.0

:robot: I have created a release beep boop
1.3.0 (2022-10-22)
Features

Add Excel Export for event attendees (#118) (4f41d42)

Bug Fixes

Use explicit role names to avoid accidental unique constraint violations (#115) (a7270d4)

Miscellaneous Chores

deps: bump lucassabreu/comment-coverage-clover (7fda0bb)
deps: bump lucassabreu/comment-coverage-clover from 0.6.0 to 0.7.0 (#120) (44513d1)
deps: bump tailwindcss from 3.2.0 to 3.2.1 (ed45165)
deps: bump tailwindcss from 3.2.0 to 3.2.1 (#119) (ef18be6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/rotex1800/registration/releases/tag/v1.3.0 :sunflower:


text:
refactor to use redis & improved configs

main changes:

config.rs:

added matrixconfig, redisconfig, nodeconfig, websocketconfig structs
centralized config management

redis:

new redisconnection struct for managing keys/status
handles challenge tokens, account status, wallet links

websocket:

new websocketlistener for socket handling
manages status changes and verification tokens

matrix bot:

handles room invites, challenges, registration
manages challenge token flow

node listener:

subscribes to chain events
processes registrations via redis
updates chain state

main.rs:

integrated new config and services
removed old watcher code

key improvements:

automatic device verification
better error handling
modular account management

closing for https://github.com/rotkonetworks/w3registrar/pull/14


text:
update samples to support all of the latest OSGi R6 features

Maven

org.apache.felix:maven-bundle-plugin:3.0.1
OR
biz.aQute.bnd:bnd-maven-plugin:3.1.0

Gradle

biz.aQute.bnd:biz.aQute.bnd.gradle:3.1.0
OR
org.dm.gradle:gradle-bundle-plugin:0.8.1 (edited)

[12:32]
all of those support all the OSGi R6 released features

Part of this is addressed in https://github.com/rotty3000/blade/pull/222

I think this is done as of the last cleanup commit https://github.com/rotty3000/blade/commit/b5c743a1f2232e06de316b32be5403ec36761703

license_source: bigquery


text:
Facebook login with shared_preferences package error

Hello:
I am using shared_preferences lib from here and everything works fine until I have added flutter_facebook_login I always get this error and shared_preferences stopped working.
E/flutter (16302): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)
when trying to run the app without shared_preferences I always got this error
E/flutter (16302): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method logIn on channel com.roughike/flutter_facebook_login)
I tried flutter clean and still exists, try to delete every package in /flutter_sdk_path/.pub-cache/hosted/pub.dartlang.org/ and install them again but still exists and  I even try to delete the flutter SDK itself and download it again and still same error.

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

same issues

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

I already write the properties from the documentation and nothing happened

same issue

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

I already write the properties from the documentation and nothing happened

Post your AndroidManifest.xml just remove your API keys

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

I already write the properties from the documentation and nothing happened

Post your AndroidManifest.xml just remove your API keys

`
<!— io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. —>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
    android:name="io.flutter.app.FlutterApplication"
    android:label="Afandim"
    android:hardwareAccelerated="true"
    android:icon="@mipmap/ic_launcher">

    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="GOOGLE_MAPS_KEY"/>

    <activity
        android:name=".MainActivity"
        android:launchMode="singleTop"
        android:theme="@style/LaunchTheme"
        android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
        android:hardwareAccelerated="true"
        android:windowSoftInputMode="adjustResize">
        <!— Specifies an Android theme to apply to this Activity as soon as
             the Android process has started. This theme is visible to the user
             while the Flutter UI initializes. After that, this theme continues
             to determine the Window background behind the Flutter UI. —>
        <meta-data
          android:name="io.flutter.embedding.android.NormalTheme"
          android:resource="@style/NormalTheme"
          />
        <!— Displays an Android View that continues showing the launch screen
             Drawable until Flutter paints its first frame, then this splash
             screen fades out. A splash screen is useful to avoid any visual
             gap between the end of Android's launch screen and the painting of
             Flutter's first frame. —>
        <meta-data
          android:name="io.flutter.embedding.android.SplashScreenDrawable"
          android:resource="@drawable/launch_background"
          />
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>

    <!— Don't delete the meta-data below.
         This is used by the Flutter tool to generate GeneratedPluginRegistrant.java —>
    <meta-data
        android:name="flutterEmbedding"
        android:value="2" />

    <meta-data android:name="com.facebook.sdk.ApplicationId"
        android:value="FACEBOOK_KEY"/>

    <activity android:name="com.facebook.FacebookActivity"
        android:configChanges=
            "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="APP_NAME" />

    <activity
        android:name="com.facebook.CustomTabActivity"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="FACEBOOK_SCHEME" />
        </intent-filter>
    </activity>

</application>

`

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

I already write the properties from the documentation and nothing happened

Post your AndroidManifest.xml just remove your API keys

Here is my file
`
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
    android:name="io.flutter.app.FlutterApplication"
    android:label="Afandim"
    android:hardwareAccelerated="true"
    android:icon="@mipmap/ic_launcher">

    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="GOOGLE_MAPS_KEY"/>

    <activity
        android:name=".MainActivity"
        android:launchMode="singleTop"
        android:theme="@style/LaunchTheme"
        android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
        android:hardwareAccelerated="true"
        android:windowSoftInputMode="adjustResize">

        <meta-data
          android:name="io.flutter.embedding.android.NormalTheme"
          android:resource="@style/NormalTheme"
          />

        <meta-data
          android:name="io.flutter.embedding.android.SplashScreenDrawable"
          android:resource="@drawable/launch_background"
          />
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>

    <!— Don't delete the meta-data below.
         This is used by the Flutter tool to generate GeneratedPluginRegistrant.java —>
    <meta-data
        android:name="flutterEmbedding"
        android:value="2" />

    <meta-data android:name="com.facebook.sdk.ApplicationId"
        android:value="FACEBOOK_KEY"/>

    <activity android:name="com.facebook.FacebookActivity"
        android:configChanges=
            "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="APP_NAME" />

    <activity
        android:name="com.facebook.CustomTabActivity"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="FACEBOOK_SCHEME" />
        </intent-filter>
    </activity>

</application>

`

Seems good to me. Try this solution https://github.com/flutter/flutter/issues/38873#issuecomment-619355098

Still not solved 😣

I'm seeing the same error trying to run our app on Windows desktop
We're using shared_preferences but we aren't using flutter_facebook_login

same issue:(

https://programmingproalpha.blogspot.com/2020/08/how-to-make-facebook-log-in.html
Visit this site , it will help you alot in flutter facebook login

Any fix for this?

authors: KlemenAndrasic MohammadUzair1 Mustafa-Elsir gumenza01 hillelcoren ly95 madz mustafa-code sanekyy


text:
displayed pullrequest count

Hi @rowhitswami ,Please check my PR and waiting for your feedback.

@Thilagavathi1  Can you make it more attractive using css?
A progress bar would do the things well.

ok, i will do @rowhitswami

Hi @rowhitswami ,I have added the progress bar .i will paste main .js code below
function checkPR() {     var xmlhttp = new XMLHttpRequest();     xmlhttp.onreadystatechange = function() {         if (this.readyState == 4 && this.status == 200) {             var myObj = JSON.parse(this.responseText);             var count = (myObj.total_count <= 4) ? myObj.total_count : '4';             var progressWidth = (count/4)*100;                     if (myObj.total_count == 0) {                 document.getElementById("result").innerHTML =                        Oops..!! It looks like you haven't made any Pull Request in Hacktoberfest 2017Want to contribute to Open Source? Find projects with your interest here: Hacktoberfest 2017 Projects`
} else {
            document.getElementById("result").innerHTML = `<div class="text-center"><img class="img-responsive" src=` + myObj.items[0].user.avatar_url + `width=130 height=130 style="border-radius:500px; margin: 0 auto;">

<a href=` + myObj.items[0].user.html_url + `>` +
                myObj.items[0].user.login + `</storng>

`+myObj.total_count+`/4

             `

            for (var i = 0; i < myObj.items.length; i++) {
                var stateCheck;

                //url of origin repo
                var full_url = myObj.items[i].html_url;
                var final_url = full_url.substring(0, full_url.length-7);

                //title of origin repo
                var shorted_title = full_url.substring(18, full_url.length-7);

                //uppercasing the first letter of repo title
                var uppercaseFirstLetter = myObj.items[i].title.charAt(0).toUpperCase();
                var stringWithoutFirstLetter = myObj.items[i].title.slice(1)
                var pr_title = uppercaseFirstLetter + stringWithoutFirstLetter;

                myObj.items[i].state == "closed" ? stateCheck = "MERGED" : stateCheck = "PR";
                document.getElementById("result").innerHTML += `

                 <div class="pr-card ` + stateCheck + ` col-sm-10 col-lg-8">

<a target="_blank" href="` + myObj.items[i].html_url + `">` + pr_title + `

to <a target="_blank" href="`+final_url+`">`+shorted_title+`

                          <button>` + myObj.items[i].state + `</button>

                          <img class="pr-image img-responsive" src="img/git` + stateCheck + `.png">

           `

            }
        }
    }
}
var text = $('#login').val();
var url = 'https://api.github.com/search/issues?q=-label:invalid+created:2017-09-30T00:00:00-12:00..2017-10-31T23:59:59-12:00+type:pr+is:public+author:' + text + '&per_page=300'
console.log(url)

xmlhttp.open("GET", url, true);
xmlhttp.send();

};
`

@Thilagavathi1 Please create a PR with your changes.


text:
Beko washer with dryer

Awesome plugin and everything went fine until dryer phase - I have Beko HTE 7616 X0 and after washing sub-state stay  REMOVE_LAUNDRY even if state RUNNING.
I checked your code and can see only 20 sub-state defined. How I can help improve code and sniff washing related sub-states.?

Actually plugin got stuck at this state and helped only HA restart.
But still when  washer turned off show some strange info.

Instead of sniffing, you could also try to log the data of your dryer within homeassistant.
E.g., by adding a logging command here https://github.com/rowysock/home-assistant-HomeWhiz/blob/main/custom_components/HomeWhiz/homewhiz.py#L82 .
_LOGGER = logging.getLogger(__name__)
_LOGGER.warning(message)

@TechHummel for now I have bigger problem - after drying session addon get stuck every time on REMOVE LAUNDRY and I must remove and add it again to get it working.

Same here with my washing machine. When a wash has finished Home Assistant crashes and restarts after a couple of minutes.

@rowysock any thoughts why homewiz addon stops responding to HA, or as for some even crash HA?

Nothing in the logs?

ok, I think I found why homewhiz crash whole HA
This error originated from a custom integration.
Logger: custom_components.HomeWhiz
Source: custom_components/HomeWhiz/__init__.py:50
Integration: HomeWhiz (documentation, issues)
First occurred: 17 November 2022 at 21:36:15 (3462 occurrences)
Last logged: 08:12:06

and if I understand right homewhiz trying connect to washer non stop at that line:
https://github.com/rowysock/home-assistant-HomeWhiz/blob/5e3bf925bce84b50f8d825e2c25c6cba8b2da54f/custom_components/HomeWhiz/__init__.py#L50
but my washer dont have power most the time, so cant respond and after awhile homewhizh crash whole HA.
Anybody familiar with python and HA could improve that part of the code?

Maybe using this https://github.com/Bluetooth-Devices/bleak-retry-connector might help too.

@TechHummel tnx for help - I managed to find DRYING value are 21 and made pull request:
https://github.com/rowysock/home-assistant-HomeWhiz/pull/19
As for crashing issue I just increased sleep time to 60 seconds so HomeWhiz wont drop 86400 warnings every day if your washing machine outside rage for whatever reason. That only temporally solution till @rowysokc respond what he things about bleak retry or any other solution, but 80 thousand warnings everyday really bad idea. So far second day without crashing with sleep increase.

That makes sense to me, one second seems to be too much — Home Assistant does recommend a timer of 10 seconds.
Considering that @rowysock hasn't been active for two months and there are some open pull requests, maybe we should take this project over for now 🤔? We can always merge changes back later 👍
What do you think?

Hi guys, sorry for being unresponsive for 2 months, had a lot on my head lately.
I think it would be best for the users not to create multiple repositories. I've added @TechHummel as a collaborator.
As for drying value. The original app works as follows:

Based on the appliance, it chooses one of the mapping files (I'm not sure how the decision is made)
It uses the mapping file to decode the raw bytes from the appliance

I've recreated one of the mappings in this integration (the generic washing machine)
Adding value 21 as Drying to the current code differs from the original logic, but I cannot imagine it breaking anything, so we can add it temporarily. In the long run. I would like to recreate the logic from the app.

Also, bleak-retry-connector sounds like a great idea. I didn't know about it, or HA Bluetooth best practices. Thank you. I will try to use it

Thanks for coming back, very appreciated! 👋
I do agree about the multiple repositories for sure, I'll open a pull request with my changes—and thanks for the honour of collaborating with me! 😄

Welcome back @rowysock!

Based on the appliance, it chooses one of the mapping files

these mapping files can be found in .apk?

Adding value 21 as Drying to the current code differs from the original logic, but I cannot imagine it breaking anything

then maybe worth add 1 more:  IDLE = 0
And for last, not releated, but why sudenly after awhile your addon lose mind and restore connection with washer only after HA restart?
2022-11-22 10:50:06.326 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/HomeWhiz/__init__.py", line 78, in reconnect
    await self.client.stop_notify("0000ac02-0000-1000-8000-00805f9b34fb")
  File "/usr/local/lib/python3.10/site-packages/bleak/__init__.py", line 667, in stop_notify
    await self._backend.stop_notify(char_specifier)
  File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 917, in stop_notify
    assert_reply(reply)
  File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/utils.py", line 20, in assert_reply
    raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.Failed] No notify session started

I still blame that line 89 , because while it was at 60 seconds homewhiz never crashed for a week. When I decreased value to 10 it started crash once a day.

Can you share how you modified your code?

Can you share how you modified your code?
I just removed warning and increased time to 10 seconds.

            except Exception as e:
                _LOGGER.warning(e)
                await asyncio.sleep(1)

            except Exception as e:
                await asyncio.sleep(10)

Can you share how you modified your code?

I just removed warning and increased time to 10 seconds in init.py

            except Exception as e:
                _LOGGER.warning(e)
                await asyncio.sleep(1)

            except Exception as e:
                await asyncio.sleep(10)

and add 2 line to homewhiz.py: IDLE = 0 and DRYING = 21.
P.S. digging trough com.homewhiz.global_2022-11-16.apk\resources\assets found these mapping files.

If you found those two entries within the apk, I personally think it makes sense to add them +1

No, these values I found awhile ago by following your advice.
In mapping files I can see devices send much more info current integration version do not decode at all. So I just catch these 2 values in logs and that is enough info for me.
Also saw developing active moving on when you joined, so let me know if you need test something.

That makes sense! And thank you for your offer 👍

closing this issue since it got solved. tnx everyone who helped.

authors: StarvingDeveloper TechHummel mf1x rowysock

repo: rowysock/home-assistant-HomeWhiz


text:
Nuclear segmentation mask for the original resolution images

Hi!
Thanks for sharing the preprocessed data. I was wondering if you also have the segmentation for the images at their original resolution instead of these downsampled ones. That would be very helpful.
Alternatively, would it be possible to know where in the original images these 100x100 crops locate, e.g. the location of the top left corner in the raw images?
Thanks!

Hi, the data provided at the end of README contains segmentation, but they are not in the original resolution. There's no way to retrieve the original location of each crop. If you already have the original data, you could use cellpose pre-trained model to easily get the same (or nearly same) segmentation.

repo: royerlab/cytoself


text:
Trailing parentheses indented

input and expected output:
class Hello extends React.Component {
    render() {
        return (

Hello

        );
    }
}

current output (esformatter v0.9.1, esformatter-jsx v4.0.6):
class Hello extends React.Component {
    render() {
        return (

Hello

            );
    }
}

Notice the trailing parentheses is indented, it only seems to happen when JSX is inside the expression, hence why I'm posting here.
The trailing parentheses is not indented when JSX is not involved
class Hello extends React.Component {
    render() {
        return (
            "Hello"
        );
    }
}

{
  "indent" : {
    "ReturnStatement": "1",
    "value": "    ",
    ....
},
...
  "jsx": {
    "formatJSX": true,
    "attrsOnSameLineAsTag": false,
    "maxAttrsOnTag": 1,
    "firstAttributeOnSameLine": true,
    "alignWithFirstAttribute": true,
    "spaceInJSXExpressionContainers": "",
    "htmlOptions": {
      "brace_style": "collapse",
      "indent_char": " ",
      "indent_size": 4,
      "max_preserve_newlines": 2,
      "preserve_newlines": true
    }
  },

You can try to change your settings to "ReturnStatement":">=1", I think I had the same problem but don't tested my settings with your code example.

@millermedeiros told me that >=1 is not a valid option for ReturnStatement.
https://github.com/millermedeiros/esformatter/issues/412#issuecomment-187417342

=1 turns off indent since it's an invalid option. This issue occurs when indent ReturnStatement is enabled.

@DaleJefferson Hi, you're right this is an issue on the way the formatting is done currently, I'm planning on taking some time this weekend to fix this and other issues, thanks for your patient.

@royriojas , @DaleJefferson
I am having the same issue, has this been solved?

Before I saw this thread I opened an issue here - https://github.com/royriojas/esformatter-jsx/issues/96
Feel free to remove it.

hi @royriojas ,
How is the issue going? I installed the latest esformatter-jsx@7.4.1, however, it doesn't work.

+1

Hi @sparkmorry, yes, sadly this is still an issue. I'm currently out of time to fix these issues, but there might a be a couple of other options out there like https://github.com/prettier/prettier, that might be doing a better job on this kind of issues.
In any case I would happily review/accept and merge PRs for this issue if anyone has the time to make one.
Regards

I solve this by extending jsx plugin https://github.com/wenjunxiao/esformatter-jsx-indent

authors: DaleJefferson hoschi royriojas sbussetti sparkmorry swinston1000 wenjunxiao

repo: royriojas/esformatter-jsx

license: mit


text:
fixes readme link to ConnectStats repo

thanks for building this!

Thank you for fixing!

authors: douglase roznet

repo: roznet/FitFileParser


text:
RP235x new rx fifo modes support

The primary purpose of this pr is to support the new rx fifo modes on the rp235x, it also includes the new JMP_PIN source for WAIT and PINDIRS destination for MOV.
I'm not happy that I had to make a second lalrpop file, but I couldn't figure out how to make conditional compilation work.
Also open to bike shedding on the feature name.

I'm not happy that I had to make a second lalrpop file, but I couldn't figure out how to make conditional compilation work.

Would it be possible to use a single lalrpop file if it always understood the additions of RP235x? If every valid RP2040 pio program is also valid on the RP235x, that should work, and as I understand it this is how the additions were designed.

That's certainly possible, but then there wouldn't be compile time errors when trying to use a program with the new instructions on the 2040. Or at least there wouldn't be compile time errors originating in the lalrpop generated code like it would for any other invalid instruction.

That's certainly possible, but then there wouldn't be compile time errors when trying to use a program with the new instructions on the 2040. Or at least there wouldn't be compile time errors originating in the lalrpop generated code like it would for any other invalid instruction.

That's another advantage to do the parsing with rp235x support: There may be .pio files containing multiple programs, some rp2040 compatible and some with rp235x extensions. Such files should be usable on rp2040 as long as one only installs compatible programs. But with the current approach, the whole file would fail to parse.
Of course, now the question becomes at which point rp2040 compatibility should be checked. I did not yet think about it enough to have a clear picture.
One  possibility would be that parse_file / parse_program only return programs compatible with the current microcontroller. That way, when using pio_proc, one would still get a compile error, albeit with a more generic and maybe a bit misleading error message like "program name not found in the provided file".
We could also somehow note the PIO version inside the program and then check it in the macro (which could then provide a better error message). Not sure if that can be sensibly done without a breaking change, which would in turn necessitate a new version of rp2040-hal.

Here is another attempt. I removed the rp2350 feature and added a version to the program struct, so pio-rs should be able to parse any program. I have mixed feelings about delegating handling the version to the HALs as I don't know how to make using an invalid program a compile time error there. This approach does make pio-rs much cleaner.
I also added support for the new Irq index modes. I think that was the only new feature (that belongs here in pio-rs) that was missing.

authors: CBJamo jannic

repo: rp-rs/pio-rs


text:
🛑 Evon Ceramics is down

In 5f0c788, Evon Ceramics (http://evonceramics.com/) was down:

HTTP code: 403
Response time: 1299 ms

Resolved: Evon Ceramics is back up in cec4fb5 after 12 minutes.

repo: rpharaniya/websites-uptime-monitor


text:
Installation help with Drupal 9

Hi, I'm trying to install this on Drupal 9.1.10 and getting the following. Can you think of a way around this? Thanks.
$ composer require rpkamp/mailhog-mink-behat-context -W

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/core-recommended is locked to version 9.1.10 and an update of this package was not requested.
    - drupal/core-recommended 9.1.10 requires symfony/http-client-contracts v2.3.1 -> found symfony/http-client-contracts[v2.3.1] but it conflicts with another require.

Is this the full output of the error?
It seems to be complaining about symfony/http-client-contracts but AFAIK this package doesn't depend on that (certainly not directly). So it feels like there is more going on and there should be more output.
If not, could you create a minimal reproducible example?

I'm still working on this when I have time. I updated my composer and I can install this using
$ composer require rpkamp/mailhog-mink-behat-context -W
However, on the same site,
$ lando composer require rpkamp/mailhog-mink-behat-context -W fails with the error above. That is the complete output.
I'll ask the Lando people.

For future reference, did you ever figure this out?

I didn't figure it out. I may come back to it when I have more time.

authors: aaron-capellic rpkamp

repo: rpkamp/mailhog-mink-behat-context


text:
Info request

Hello everybody, I'm new to Pico world, that project looks like the one for me but for a thing, I need to send midi messages on a guitar pedalboard that uses usb type c but only works as a device. Would I be able to interact with it just sending midi signals with this code? I don't need to translate from din pins on UART, but just be able to send CCs and PCs over usb but without setting up a midi software on Pc. As I know already all the messages I need to sent, would be possible to just setup a midi host over the native usb of the Pico?

@Alefrasca90 Welcome to the Pico world. I assume you are a C programmer. I encourage you to read the Getting Started Guide and follow the tutorial. Once you have the example code in the tutorial running, have a go at this. Once you have done that, I can say...
Yes, this code could be a good starting point for a project like that. You can copy this project to a new directory and hack it.
Find the routine poll_midi_uart()_rx around line 87 in the file midi2usbhost.c. Near Line 92 reads
uint8_t nread = midi_uart_poll_rx_buffer(midi_uart_instance, rx, sizeof(rx));

That line will fill the byte buffer rx[] with up to 48 bytes of MIDI message. Comment out or delete that line. What you need to do to send data is to use your own code to fill that rx buffer with your own Control Change, Program Change, etc. messages and set nread to the number of bytes of MIDI messages in the buffer. The if block that follows will write the message out as long as there is a device connected and the message contains at least one byte.
If your pedal has a MIDI out but you don't care what it is sending, around line 166 is the function void tuh_midi_rx_cb(uint8_t dev_addr, uint32_t num_packets). You need to keep this so the USB MIDI receive buffer does not overflow. However, you do not have to do anything with the receive bytes. To discard the bytes, simply delete or comment out the if block that starts if (cable_num ==0) {.
Around line 115 you can delete or comment out midi_uart_instance = midi_uart_configure(MIDI_UART_NUM, MIDI_UART_TX_GPIO, MIDI_UART_RX_GPIO);
I hope that is helpful.

One more thing, that Rx array that contains up to 48 bytes, why can contains that amount and if I have to send multiple signals can I parse them one after the other inside Rx or is better to call the method more times? That's for understanding how to build my method, thanks.

@Alefrasca90 The longest USB bulk transfer in USB Full Speed mode is 64 bytes, so the buffer that composes USB packets is for transmission is 64 bytes long (CFG_TUH_MIDI_TX_BUFSIZE). All USB MIDI messages are exactly 4 bytes long even though the serial port MIDI stream messages can be 1, 2 or 3 bytes (or sysex, which can be any length and which in USB MIDI is broken down into a collection of 4-byte packets). You should look at the USB MIDI 1.0 Class Specification for details on how the data is packaged.
So you can send at most 64 bytes/4bytes/message =16 messages at once before you overflow the driver's transmitter FIFO. You need 16x3=48 bytes to store 16 3-byte messages, so the size is 48 bytes. In practice, the USB is much faster than the serial port UART, so the 48 bytes is enough.
The call to tuh_midi_stream_write() writes to the USB transmitter buffer. It returns the number of bytes successfully written. If it writes fewer bytes than you wanted to, you can write the rest of them the next time around the main loop. The sequence of calls that sends the data is tuh_midi_stream_write(), tuh_stream_flush() (in the main loop), and then tuh_task() (also in the main loop).
How many Control Change (3-byte) and Program Change (2-byte) messages are required to configure your guitar pedalboard? Do you need SysEx? If it is more than 16 messages at once, put them in a big buffer and change poll_midi_uart_rx() to pull bytes from your buffer instead of the uart receive buffer. Make sure your routine can recover if it could not send all 48 bytes, which can happen if more than 16 messages fits in 48 bytes (e.g., 24 channel pressure messages or program change messages fit in 48 bytes).
I hope this helps and didn't confuse you. When you are done, please publish your project on GitHub. Sounds cool.

You're very kind, I'm going to send a CC message per time every time I need to change some parameters so no problems at all, mine was just curiosity about the complicated (for me) usb protocol, thanks so much!


text:
Check that the frontend and backend versions match

The frontend and backend have to be upgraded in lock-step. They are always packaged together, so this seems like a reasonable requirement. If someone upgrades only one of the binaries, though, the program can fail in subtle ways.
Version mismatch could become a hard error:

In the frontend, pass the version string on the backend command-line.
In the backend, if the version argument isn't the expected value, abort.

See https://github.com/rprichard/wslbridge/issues/18#issuecomment-350643153

This "version-checking-string" seems to be like the "key" exchange in the bash.exe command. What option should be added with that version argument? Like wslbridge --version X.X?

repo: rprichard/wslbridge


text:
Create "flag" argument creation and handler

The method used on avatar.ts::12 is very bad, only supporting boolean arguments, and also needing every possible combination of every flag in it.

@FlorianStrobl you know a lot about how the actual Pylon argument system works, maybe you could help

@FlorianStrobl :3

authors: arcy-at insyri

repo: rqft/NotSoPylon


text:
ProxyProviders in RiverPod

I just recently migrated to Riverpod and I must say I'm liking it so far.
One thing i kind of miss from Provider is the following:
ChangeNotifierProxyProvider<MyModel, MyChangeNotifier>(
  create: (_) => MyChangeNotifier(),
  update: (_, myModel, myNotifier) => myNotifier
    ..update(myModel),
  child: ...
);

This creates a ChangeNotifier that has a reference of an other ChangeNotifier that gets updated through the update()  method on the new ChangeNotifier. This means that the ChangeNotifier to be created, won't recompute when the referenced ChangeNotifier changes.
Atm i'm using this workaround for Riverpod:
Consumer(
        builder: (context, watch, child) {
          final firstProvider = watch(FirstModel.provider);
          final secondProvider = watch(SecondModel.provider);
          secondProvider.updateFirstModel(firstProvider)

          return ...

In this example the secondProvider would have an instance field called firstModel that gets updated through the method updateFirstModel().

There's a WIP to allow something similar:
final myNotifier = ChangeNotifierProvider<MyModel>((ref) {
  final model = MyModel();

  ref.listen<Value>(provider, (Value value) {
    model.update(value);
  });

  return model;
});

Is this feature going to be released in the near future?

Is this feature going to be released in the near future?

Maybe after March
At the moment I'm full time working on a devtool for Provider/Riverpod
You don't "need" this new feature. You can do it with slightly more code yourself:
final anotherModel = ChangeNotifierProvider<Another>(...);

// obtains "Another" but will not cause dependent providers to "rebuild" when notifyListeners is called
final _anotherSelector = Provider((ref) => ref.watch(anotherModel));

final myNotifier = ChangeNotifierProvider<MyModel>((ref) {
  final model = MyModel();

  Another another = ref.watch(_anotherSelector);
  void listener() {
    model.update(another.value);
  }
  another.addListener(listener);
  ref.onDispose(() => another.removeListener(listener));

  return model;
});

That does the same thing as shown before and works with nearly all use-cases.  It's just less convenient.

Maybe after March
At the moment I'm full time working on a devtool for Provider/Riverpod
You don't "need" this new feature. You can do it with slightly more code yourself:
final anotherModel = ChangeNotifierProvider<Another>(...);

// obtains "Another" but will not cause dependent providers to "rebuild" when notifyListeners is called
final _anotherSelector = Provider((ref) => ref.watch(anotherModel));

final myNotifier = ChangeNotifierProvider<MyModel>((ref) {
  final model = MyModel();

  Another another = ref.watch(_anotherSelector);
  void listener() {
    model.update(another.value);
  }
  another.addListener(listener);
  ref.onDispose(() => another.removeListener(listener));

  return model;
});

That does the same thing as shown before and works with nearly all use-cases.  It's just less convenient.

@rrousselGit would you also "recommend" that workaround for StateNotifier? Facing the same issue where I don't want to hard-reset Model B when Model A changes, just update it

Yes, this is fine.

@rrousselGit Why would you use watch and not read in the last example?

Closing in favor of #335 for the ref.listen

authors: Lootwig NoahVersace janoschpelzer jlepocher rrousselGit


text:
MPICH ignores input buffer size in MPI_Unpack

MPICH completely ignores the input buffer size in MPI_Unpack, which is a soundness problem. https://github.com/rsmpi/rsmpi/pull/79#discussion_r528225979
We need to consider the broader implications of this. Does this effect receive routines, too?
To address this, we need to add checks to Communicator::unpack_into. However, this only needs to be done for MPICH. Requires #102

Replicating the test code here because it was buried in a long thread.
use mpi::traits::*;

fn main() {
    let universe = mpi::initialize().unwrap();

    let comm = universe.world();

    #[derive(Equivalence, EquivalenceFromAnyBytes)]
    struct MySend {
        a: u32,
    }

    #[derive(Equivalence, EquivalenceFromAnyBytes, Debug)]
    struct MyRecv {
        a: u32,
        b: u32,
        nums: [u32; 256],
    }

    let mut recv = MyRecv {
        a: 0x0,
        b: 0x10,
        nums: [0xFFFFFFFF; 256],
    };
    comm.unpack_into(comm.pack(&MySend { a: 0x5 }).as_slice(), &mut recv, 0);

    dbg!(recv);
}

The issue was

Getting a bunch of garbage in the nums field.

I would consider this an input validation lapse in MPICH, not something rsmpi needs to be responsible for (since it's mildly involved to obtain the information to do the check). However, it seems to be fixed in mpich-4.0 (in a sense), where I get output like
MyRecv { a: 5, b: 16, nums: [4294967295, 4294967295, 4294967295, 4294967295
[...]

Note that 0xffffffff == 4294967295. In contrast, Open MPI 4.1 gives an error because the sizes are insufficient. I prefer error over silent truncation, but the at least it isn't memory corruption.

I'll close, but feel free to reopen if you think rsmpi needs to address this case explicitly.

authors: AndrewGaspar jedbrown

repo: rsmpi/rsmpi


text:
App freezes on launch

I installed the app on my Mac Book running OS X 10.11. Upon launching the app asked for my username and password. On entering the credentials(Keep me logged in option was left unchecked) and clicking the button, the application gets frozen with a white screen. Retried couple of times with the same result.
Is there any other details needed to report such issues?

I'm getting the same thing, on 10.9 and now on 10.11.14.  I love this app - I hope FB didn't lock them out.

Seconded.

thirded

Fixed for me. Not sure what I did. Try opening up your browser and then heading to Facbeook.com. I had to allow the recent login (which was me logging into the messenger app).

authors: ansonlouis ganesshkumar shahzeb1 usnavi

repo: rsms/fb-mac-messenger


text:
Delete Refcounted::objects()

We already have LSAN as a means for detecting memory leaks automatically when
running tests.  Keeping around the conditional compilation around NDEBUG isn't
worth it. Many optimized build environments define NDEBUG and this makes them
incapable of compiling the test code.

Did you validate that when we remove this line
EXPECT_EQ(std::size_t{0}, Refcounted::objects());
if we have a leak that this line was catching, it is also caught by just running the unit tests?

Yes, running with LSAN will catch any leaks that checking Refcounted::objects() == 0 at the end of a test will find.  I didn't validate this here on this diff directly, but I've seen it on previous diffs plenty of times.

I don't feel super strongly about this change. I liked the fact that we could have explicit assumptions expressed in the test code. Also knowing that not everyone is running LSAN with their diffs. I would accept the PR if we make LSAN part of Travis.

LSAN is part of Travis.  All ASAN runs done on Linux include LSAN.

authors: alexmalyshev lehecka phoad

repo: rsocket/rsocket-cpp


text:
Core::Helper

Hi!
When there are a lot of helpers all of them need to be repeated in rails_helper.rb/spec_helper.rb:
config.include SpecHelper::One
config.include SpecHelper::Other type: :smth
config.extend SpecHelper::Another
# ...

I think it would be great if we could define this actions right inside helper and don't modify spec_helper all the time. Like this:
module SpecHelper::One
  extend RSpec::Core::Helper
  register_helper :include, type: :smth
  # ...
end

Here is working implementation, but there are no test. I'll add them, if you like an idea. wdyt?

Thanks for the idea, however Ruby already has a mechanism to define that other modules are included/extended when a module is included. e.g.
module MySpecHelpers
  def self.included other
    other.include One
    other.include Other
  end
end

Whilst this doesn't do anything based on filters we already have a mechanism for that in config as you've demonstrated, adding another mechanism to do this makes no sense, it's the same amount of work to add a register SomeModule, some: :filters as it is to do config.include SomeModule, some: :filters.
Thanks anyway though :)

@JonRowe this is not exactly what included does. With your suggestion all helpers still need to be included somewhere else (in MySpecHelpers in your example).
I've suggested the other approach: helper defines all the cases when it is supposed to be used within itself. When you add new helper, you just create one more file, and don't need to edit anything else (spec_helper or MySpecHelpers in your example). Please take a look more carefully. Thanks!

@JonRowe this is not exactly what included does. With your suggestion all helpers still need to be included somewhere else (in MySpecHelpers in your example).

Not true, just MySpecHelpers has to be included once.

I've suggested the other approach: helper defines all the cases when it is supposed to be used within itself. When you add new helper, you just create one more file, and don't need to edit anything else (spec_helper or MySpecHelpers in your example). Please take a look more closely. Thanks!

If that's your concern try this:
module Support
  module MyHelper
    RSpec.configuration.include self, type: :whatever
  end
end

Yeah, this is what i wanted. Thanks!

authors: JonRowe printercu

repo: rspec/rspec-core


text:
Remove old fixture_path support

An alternative to #2349 which removes the old work around, this seems to no longer apply given our supported levels of Rails.

@koenpunt can you try this branch out?

I just wanted to note I tried this out after having issues on Rails edge and confirmed it's happy for me, in tandem with #2385

Thanks @sudara

authors: JonRowe sudara

repo: rspec/rspec-rails


text:
Add code of conduct.

Adding our CoC to the top level of the repo. Even though this is the meta-gem it falls under our main "RSpec" umbrella. It should display our CoC as the other repos do.
/cc @myronmarston

:+1:

authors: cupakromer myronmarston

repo: rspec/rspec


text:
tp time add

Needs finishing / testing
How it works
Request:
POST {{ baseUrl }}/api/v1/Times?access_token={{ token }}
Content Type: application/xml
Body:
<Time ResourceType="Time" Id="71804">
  <Spent>2</Spent>
  <Remain>6</Remain>
  <Date>2021-03-31T00:00:00</Date>
  <Assignable ResourceType="Assignable" Id="28528"/>
</Time>

Response:
<Time ResourceType="Time" Id="71804">
  <Description nil="true" />
  <Spent>2.0000</Spent>
  <Remain>6.0000</Remain>
  <IsEstimation>false</IsEstimation>
  <Date>2021-03-30T00:00:00</Date>
  <CreateDate>2021-03-31T09:38:22</CreateDate>
  <Project ResourceType="Project" Id="6" Name="...">
    <Process ResourceType="Process" Id="3" />
  </Project>
  <Assignable ResourceType="Assignable" Id="28528" Name="..." />
  <UserStory nil="true" />
  <Task nil="true" />
  <Bug ResourceType="Bug" Id="28528" Name="..." />
  <Request nil="true" />
  <TestPlan nil="true" />
  <TestPlanRun nil="true" />
  <CustomActivity nil="true" />
  <User ResourceType="User" Id="369">
    <Kind>User</Kind>
    ...
  </User>
  <Role ResourceType="Role" Id="15" Name="Developer" />
</Time>

Done

repo: rsvanda/tp-client


text:
Add GITHUB_URL

Many companies are using github enterprices, so github.com url won't work for them

Closing as duplicate of https://github.com/rtCamp/action-slack-notify/issues/85
Thanks for the PR https://github.com/rtCamp/action-slack-notify/pull/87, we will be reviewing it and testing it soon.

Thanks, I didn’t pay attention on 85, lol

repo: rtCamp/action-slack-notify


text:
Access denied.

I've set up a few servers in a load balanced environment. My two backend servers use ee to make setup easier on me. I ran into curious thing after updating ee.
I set up the following thing:
<?php

// Function to get the client ip address
function get_client_ip_env() {
    $ipaddress = '';
    if (getenv('HTTP_CLIENT_IP'))
        $ipaddress = getenv('HTTP_CLIENT_IP');
    else if(getenv('HTTP_X_FORWARDED_FOR'))
        $ipaddress = getenv('HTTP_X_FORWARDED_FOR');
    else if(getenv('HTTP_X_FORWARDED'))
        $ipaddress = getenv('HTTP_X_FORWARDED');
    else if(getenv('HTTP_FORWARDED_FOR'))
        $ipaddress = getenv('HTTP_FORWARDED_FOR');
    else if(getenv('HTTP_FORWARDED'))
        $ipaddress = getenv('HTTP_FORWARDED');
    else if(getenv('REMOTE_ADDR'))
        $ipaddress = getenv('REMOTE_ADDR');
    else
        $ipaddress = 'UNKNOWN';

    return $ipaddress;
}

// Function to get the client ip address
function get_client_ip_server() {
    $ipaddress = '';
    if ($_SERVER['HTTP_CLIENT_IP'])
        $ipaddress = $_SERVER['HTTP_CLIENT_IP'];
    else if($_SERVER['HTTP_X_FORWARDED_FOR'])
        $ipaddress = $_SERVER['HTTP_X_FORWARDED_FOR'];
    else if($_SERVER['HTTP_X_FORWARDED'])
        $ipaddress = $_SERVER['HTTP_X_FORWARDED'];
    else if($_SERVER['HTTP_FORWARDED_FOR'])
        $ipaddress = $_SERVER['HTTP_FORWARDED_FOR'];
    else if($_SERVER['HTTP_FORWARDED'])
        $ipaddress = $_SERVER['HTTP_FORWARDED'];
    else if($_SERVER['REMOTE_ADDR'])
        $ipaddress = $_SERVER['REMOTE_ADDR'];
    else
        $ipaddress = 'UNKNOWN';

    return $ipaddress;
}

// Get the client ip address
$ipaddress = $_SERVER['REMOTE_ADDR'];

echo 'Your IP address (using $_SERVER[\'REMOTE_ADDR\']) is ' . $ipaddress . '
';
echo 'Your IP address (using get_client_ip_env function) is ' . get_client_ip_env() . '
';
echo 'Your IP address (using get_client_ip_server function) is ' . get_client_ip_server() . '
';
?>

And now it simply returns:
Access denied.
Normal html works fine, I've not yet tested other php stuff.

What are you using for load-balancer?
You may need to add to your nginx.conf
real_ip_header X-Forwarded-For;
set_real_ip_from 0.0.0.0/0;

Ref: https://rtcamp.com/tutorials/nginx/amazon-elastic-load-balancer-forward-real-ip/
Also, please do not use issue tracker for support request. Please use http://community.rtcamp.com/c/easyengine instead.

repo: rtCamp/easyengine


text:
Build of "cyphon" project timing out

Details
I'm having trouble getting my build to pass due to timeout errors. The project has a ton of reST substitutions in the rst_epilog that are taking a long time to process (sorry about that!). The farthest any build has gotten is the localmedia step.
Would it be possible to increase the timeout setting for the project?

Project Name: cyphon
Project URL: https://github.com/dunbarcyber/cyphon
Build URL: https://readthedocs.org/projects/cyphon/builds/5181218/
Read the Docs username: lhadjchikh

Expected Result
Build completed
Actual Result
Build exited due to time out
Thanks for your time!

@agjohnson the build process is taking 895 seconds and it's killed but I don't understand why the try/except we added the other day didn't worked here: https://github.com/rtfd/readthedocs.org/blob/rel/readthedocs/projects/tasks.py#L182

This looks to be instead Docker terminating the container due to memory consumption. We try to catch this on container failure -- Docker's API should return with OOM as the reason for termination. We should be backing down to detect exit code 137 as docker killing the process due to memory comsumption, I'm not sure why this isn't caught though.

FYI, all my other builds timed out at the about the same time (~890 seconds, e.g., https://readthedocs.org/projects/cyphon/builds/5191073/), but #5181218 is the only build that didn't return the time out error message. It was also the only build that generated output for the localmedia stage. Not sure if that helps at all, but thought I'd mention it. I only used #5181218 as an example because it looked like it had progressed the farthest, but the absence of an error message has so far been a one-time occurrence.

As an aside, I noticed that search results are returning URLs containing ".txt.html" instead of just ".html". E.g.:
http://cyphon.readthedocs.io/en/latest/modules/aggregator.filters.admin.txt.html?highlight=filters
Is that because the build isn't making it to the index stage, or do I have something wrong with my configuration?
Would it be possible to increase the timeout setting for the project to see if that resolves the problem with the build timing out (and possibly the issue with search results)? It's still not making it past the JSON build: https://readthedocs.org/projects/cyphon/builds/5229620/
If there's anything I can do on my end to help resolve this, please let me know. Thanks again for your time!

@agjohnson Search results are now working after the bug fix you mentioned in #2814. Thank you!! Unfortunately, our builds are still timing out  due to all reST substitutions in the rst_epilog. Would it be possible to increase the timeout for cyphon to give the builds longer to complete? Local builds are working fine, it's just the ones on RTD that are failing due to the 15 min timeout. Thanks for your help!

hi @lhadjchikh! I just triggered a new build for your project using latest and I found that the problem of the memory is when building readthedocssinglehtmllocalmedia. I recommend you to disable these formats using https://docs.readthedocs.io/en/latest/guides/build-using-too-many-resources.html#reduce-formats-you-re-building
Please, let me know if doing that solves your problem of memory/

Closing this as the user hasn't responded or given more information, feel free to reopen with more information if you are still having this problem :).
Also, I also believe that https://github.com/rtfd/readthedocs.org/issues/2740#issuecomment-413361659 should fix this.

@lhadjchikh hey! I added your project to a special build queue that will have more resources available. Let me know if you find that it did or did not work.

After building this again in a dedicated queue after increasing its building time and it failed again. Build took 2392 seconds, which it's a lot of time!
I'd like to make this project to build under Read the Docs. Would you mind following what I said in my previous comment? That seems to be the proper solution, since the HTML build step succeed in my tests.

Hi @humitos, thanks for your persistence! And sorry to not get back to this sooner! @chasebrewsky is maintaining this project now, but I submitted a PR (#679) to try to get it to build without additional formats. I'll let you know if we have any luck. Thanks again for your help!

@lhadjchikh thanks!
I want this project to build in our platform ;)

authors: agjohnson humitos lhadjchikh stsewd


text:
Do not show Build button when user is not project admin

Closes #3303

I believe staff user should have permission to trigger any build. Sometime its necessary to trigger build for other projects for debugging purpose. But current pull request will stop doing it.

Well, if we want to change the permissions we also will have to change the view that I wrote the other day: Anthony told me to use the for_admin_users query at https://github.com/rtfd/readthedocs.org/blob/f93e509f1a1c33fe8040b4db06735fdb1a4876c3/readthedocs/builds/views.py#L43-L46
Otherwise, without the current PR, #3303 happens.

We can tweak this later. For now it should match the logic that we're already checking against in the API endpoint.

I'll open up another issue that will be low priority. It would be nice to have "build latest project version" and "build version" admin functions. I find myself wanting these very often.

authors: agjohnson humitos safwanrahman


text:
Update README.md

Updated the link that goes to node-elm-compiler to show the available options that can be passed directly to node-elm-compiler.

Nice, thanks @searsaw!

authors: rtfeldman searsaw

repo: rtfeldman/elm-webpack-loader


text:
Stale Repo

This repo is stale; no recent pushes.

@Mitchell-Str thank you for blessing this repo with your eagle eyes. Rest assured that swift action will be taken to rectify this situation.
Please refer to this branch to keep track of the action. A PR will soon be opened to address this issue.

authors: Mitchell-Str ruankie


text:
PointCloudSample issue: Connection to VIPER OK, but no data acquired on necessary topic

My setup is as follows:

Visual Studio Community 2019 on Windows 10.
Thinkpad T480s on Wifi, VIPER on Ethernet via network switch.
CVM 1.0.0.2153, Active license for CVM-Stereo.

While I have no problems running several example programs (e.g Wpf3DPointCloud, ImageStreamWpf, others) I am having an issue running the PointCloudSample program: Connection is fine, and the topics are acquired correctly ($prefix/points2) among them, but the actual Lambda doing the data processing (line 34 and on) is not being entered: it is skipped (as seen from running debug) and the program outputs nothing until disconnect. I have not modified anything aside from the address to my specific VIPER, what might be the issue?
Thanks!

Hello Konstantin,
I can forecast following reasons why data does not arrive:
a) No data published.  Usually not the case, but a quick check would help - ssh into VIPER using ubuntu/ubuntu user, then run the command "rostopic hz //points2" to see if topic data arrives.
b) somehow prefix is not resolved correctly. Please replace "${TopicPrefix}" with the exact VIPER prefix on line 34, e.g.
handle.subscribe<Ros.Net.Messages.sensor_msgs.PointCloud2>("/MyViper/points2", 1, (msg) => ...
to see if it helps.
Let me know your progress so that I can figure out what might be the problem.

Hi Henrikas, thank you for replying quickly.
I have done the ssh login and checked a few topics via the given method, and you are right: rostopic hz /VIPER/points2 returns no new messages . Something like /VIPER/image_raw instead does yield results.
Before raising this issue I have tried manually entering my TopicPrefix, which would be just too easy, don't you think? :)
Thanks again.

Yes of course Konstantin, I just want to leave no room for error and get into the known state before proceeding :)
I've consulted with the team and they immediately suggested that one setting may be affecting the topic. Please open dynamic configuration "//cvm_v4l2_camera" setting group and change "read_framerate" to something 30 or below.

I have done as suggested, here are the exact commands that I used ( I am new to ROS, so I wanted to be thorough ):
rosrun dynamic_reconfigure dynparam list to get the nodes.
rosrun dynamic_reconfigure dynparam get /VIPER/cvm_v4l2_camera to get camera parameters (+verify existing framerate, which was 60). Below is the original output (read_framerate is 15, as you can see):
{'auto_gain': True, 'gamma': 220, 'auto_exposure': True, 'groups': {'auto_gain':                                                                                True, 'gamma': 220, 'auto_exposure': True, 'parent': 0, 'sharpness': 1, 'satura                                                                                tion': 20, 'read_framerate': 15, 'gain': 3.0, 'groups': {}, 'id': 0, 'exposure':                                                                                156.0, 'name': 'Default', 'parameters': {}, 'brightness': 0, 'type': '', 'state                                                                                ': True, 'white_balance': 4600, 'camera_framerate': 30, 'auto_wb': True, 'resolu                                                                                tion': '2560x720', 'contrast': 10}, 'brightness': 0, 'sharpness': 1, 'saturation                                                                                ': 20, 'read_framerate': 15, 'white_balance': 4600, 'camera_framerate': 60, 'gai                                                                                n': 3.0, 'auto_wb': True, 'resolution': '2560x720', 'contrast': 10, 'exposure':                                                                                156.0}
rosrun dynamic_reconfigure dynparam set /VIPER/cvm_v4l2_camera read_framerate 30 .
I have subsequently ran the PointsCloudSample, to no results. Another run of  rostopic hz /VIPER/points2 still says there are no new messages.
Note: I doubt there is any connection, but I get the following message:  the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update' . Device packages are also not updated.

Hi, it is a known issue regarding the combination of read_framerate and resolution.
For HD resolution (2560x720) read_framerate should be 8 or less, for nHD (1280x360) - 15 or less. Otherwise, points2 will not be published, since the synchronization of topics is lost. The current VIPER SW version has optimal queue sizes, which reduces latency, but on the other hand, one has to face such issues.
I hope it helps.

Also regards dynamic configuration, may I suggest to use RosTools (http://apt2.rubedos.com/viper/1.0.0.2153/Rubedos.CVM.ROSTools_1.0.0.2148.zip) - just launch any of them, then connect to VIPER and then you can configure device via UI dialog (the cog icon).

@ArnasRS : Thanks! That solves the problem. We get data now. Will try to utilize it now.
@HenrikasRS : Thanks for noting the GUI, I come from a Linux background so CLI is no issue, but of course, this is 500x faster :)

authors: ArnasRS HenrikasRS xen20


text:
gettext function with context

Why in case of gettext context is set as comment?
angular.module("myApp").controller("helloController", function (gettext) {
    /// Verb
    var myString = gettext("File");
});

This is usually an inconvenient when comments are set to be removed by typescript.
Is the following not considered good practice?
angular.module("myApp").controller("helloController", function (gettext) {
    var myString = gettext("File","Verb");
                       or
    var myString = gettext("File",{context:"Verb"});
});

angular.module("myApp").controller("helloController", function (gettext) {
    /// Verb
    var myString = gettext("File");
});

With this, Verb is not considered as context but really as comment.
As far as I know there is no way to add context using the gettext function in javascript.
It turns out I seem to be needing it in my project as I translate dynamic text in a directive view template so I have to declare all the possible texts in javascript controller for extraction and one of these texts needs context for french translation.
I found your first proposal appealing
angular.module("myApp").controller("helloController", function (gettext) {
    var myString = gettext("File","Verb");
});

GNU gettext implements it in pgettext function https://www.gnu.org/software/gettext/manual/gettext.html#Contexts
Could this be added ?

I found solution
angular.module("myApp").controller("helloController", function (gettext) {
    /// just comment
    var myString = gettext("File", null, "Verb");
});

Parser uses 3 arguments:
1- string for translation
2 - scope, but for gettext function it never uses
3 - context
You may figure out it at angular-gettext-tools
https://github.com/rubenv/angular-gettext-tools
This is how parser works
https://github.com/rubenv/angular-gettext-tools/blob/master/lib/extract.js#L264

authors: MigFerreira tpenne vorant

repo: rubenv/angular-gettext


text:
Fix ConstNode#absolute? raising NoMethodError when the constant is not namespaced

Came up in https://github.com/rubocop-hq/rubocop/pull/8738.
When there is no namespace, each_path.first is nil, which caused
NoMethodError: undefined method `cbase_type?' for nil:NilClass

Oops, good catch, thanks!

Released in v0.4.1

authors: dvandersluis marcandre

repo: rubocop-hq/rubocop-ast