TelegramEchoBot & InstaGramBot

added TelegramEchoBot & InstaGramBot.
TelegramEchoBot
TelegramEchoBot is a simple python script which echo the messages got from the user on telegram without any Library and Framework
InstaGramBot
InstGramBot is a simple python script to automate Instagram activities, like unfollow every user, unfollow non-followers,...
fully cli.

Please test your script and lint the errors.

Lint errors fixed and Script Updated.

@Xpykerz what is lint error and how to solve it

@Mr-Mishraji  linting is just used to make your code more syntactical and stylistic. here it's flake8. install flake8 and just run your code using flake8 filename.py it who the issues. like unwanted spaces or lines. just figure out. it's easy. for more info check flake8 documentations.

@Xpykerz thank you

Please can you create an issue for the current script? creating an issue before changing code is the right way. It helps the team to avoid duplicate scripts and unassigned and spam Pull requests.

DONE

Thanks for contributing to the repository. Looking more contribution in future.
Join Py-Contributors Community
Discord  • Telegram  • website
Please share your Hacktober Experience on Discord Channel to Encourage more member to contribute to open source.
Happy Coding


#70 Standardise icon sizes & reduce tab row min height

Not sure if you accept PRs, but here's a few changes I made locally with intentions aligned to #70, in case they are helpful:

Decrease minimum row height
Standardise margins & sizes for all icons to min row height
Avoid pin increasing line size
Move all size setting for icons to styles.css for ease of config & potential settings additions

Happy to make any changes if you have comments.
Particularly happy to revert to the existing size discrepancy between the buttons & the tab icon if you'd prefer (using --icon-l & --icon-s respectively) - on main the size of the parent div is not pulled through to the actual svg icons, so the pin is larger than expected (20x20 vs 18x18).

Thank you for your contribution! I will review the changes as soon as I have time.

Looks good. I think those are really great changes. I'm not very good with style, so I really appreciate you taking the time to work on this. Thank you.

I've released this as https://github.com/hdykokd/obsidian-vertical-tabs-view/releases/tag/2.4.6.
@naomu Thank you!


Update Ranged.ceylon

Fix multiple bugs in the examples of the span operator.

Based on testing done in Ceylon Web IDE on 2015-11-10 08:00 UTC

Eeeek. Did I really mess that up that badly. How embarrassing!
Thanks @xkr47!


Make Output and Debugger visible when using script editor in fullscreen

When using the script editor in fullscreen (Ctrl+Shift+F11) it should be possible to see the output window and the debugger. This would help a lot when doing coding heavy tasks.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Doc fx dev latest branch

This pull request contain DocFX changes.
Changes in files:
Docfx.json

pull request should raised to development branch


[NEW ICON] Pinia

Skill Name
Pinia
Why?
https://pinia.vuejs.org/
Vue3 new popular state mangement tool !
Reference Image

Added in e67133b!


Set mint tiers to appropriate fiat values using scaling factor

This should be in line with AOS tiers now, as they were off by scaling_factor (10^6).
Tests: functional testing of tiered_mint with new tiers

:pushpin: Commit e2cf760 has been approved by tzakian

@bors-libra r=tzakian

:bulb: This pull request was already approved, no need to approve it again.

There's another pull request that is currently being tested, blocking this pull request: #5097

:pushpin: Commit e2cf760 has been approved by tzakian

:hourglass: Testing commit e2cf76062f6030b944e9c21ff39be6a18ac41df4 with merge 2400dae04d1536ae95e313b23bf2415f7ac89b8b...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: tzakian
Pushing 2400dae04d1536ae95e313b23bf2415f7ac89b8b to master...


Need this support for github.ibm.com

Hello,
I am using the enterprise version of GitHub with github.ibm.com.  This extension appears to only allow me to access github.com.  Is there another extension available that will allow me to access github.ibm.com?
Thanx, David

I should note I have added Github-enterprise: Uri with github.ibm.com.  No change in results.  I have also tried specifying directly in the command palette under Open remote repositories, but nothing happens

Thank you for filing an issue. Closing as a duplicate of https://github.com/microsoft/vscode-remote-repositories-github/issues/4. This extension doesn't currently support working with private GHES instances--feel free to upvote that other issue to indicate support for this feature request.

That is strange since according to the following it does:
https://github.com/microsoft/vscode/pull/115940

https://github.com/microsoft/vscode/pull/115940 refers to the GitHub authentication extension which is built into VS Code itself. This extension is the GitHub Repositories extension, which is not built into VS Code, and which uses the GitHub authentication extension to obtain authentication sessions.


ALL MODULES LABS

Module: 00
Lab/Demo: 00
Task: 00
Step: 00
Description of issue
The issue is that some paths in the Starter and Solution files refer to DA100 in the file path and causes errors when the learner uses these files.
Repro steps:

This issue has been resolved with the latest commit.


Performance issues after upgrading to v1.9

After the upgrade, performance issues appeared. A little research was done and revealed that this is due to logging. I would like to see the ability to turn off logging.

Have you tried configuring the logging to either make it less verbose or disable it altogether, as described in the Readme? The default logging level should result in no messages being output, and I've personally seen this speed up running UnzipKit in Xcode.

@abbeycode yes changing log level speed up working. But we need any way to change this level in xcode projects.
It's really not conveniently change this on each developers machine.
Related issue: #75

In your build scheme, can you try setting the OS_ACTIVITY_MODE environment variable to disable? If that works, I'll make this ticket a documentation request to add this instruction to the readme.

Sorry it took so long did not answer, you proposed option works, but not for us as it is necessary to affix each developer. I would like to have the option of modifying or disabling logging during assembly.

Yes, end users do not have performance problems, but I would like to see the ability to disable logging by the parameter in the build settings, because we often have to run the build for development on non-developer computers (eg QA), and in addition, it completely disables system logging, which in our case is unacceptable. We will be very grateful if you make this functionality.

Sorry, I'm trying to understand exactly what your situation is to propose the best solution. Is it slowing down your unit tests or something? If so, you can update the environment variables in the scheme you use for unit testing. If you want to disable only UnzipKit's logs, you can run the command below, as mentioned in the readme:
sudo log config --mode "level:default" --subsystem com.abbey-code.UnzipKit

I'm doing this in the UnzipKit CI script, since it was blowing past the size limit on the logs. I'm able to set it to a different level as needed that way, and it doesn't affect other subsystems within your app.

We consulted and decided that the option of adding a command to a script that collects dependencies and running tests is suitable for us. Thank you for the answer. I close Issue.


Extra blank page printed after each page on IE 11

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: IE 11, 11.0.9600.18977
Operating system and its version: Windows 7 Entreprise, Service pack 1
PDF.js version: 1.9.426
Is a browser extension: no

Steps to reproduce the problem:

Open PDF file linked to the issue
Print it on a printer, or in a file with the print button of the viewer

What is the expected behavior? (add screenshot)
No blanks pages
What went wrong? (add screenshot)
Extra blank page printed after each page of the PDF document attached. Don't have this problem in Chrome  64.0.3282.167. Don't see any blank page in the viewer.
DOC_191469.PDF
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
http://mozilla.github.io/pdf.js/web/viewer.html

Closing IE11/Edge (non-Chromium-based) issues in response to #11211. Please note that, as outlined in https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support, only bugs which completely prevent the library and/or the default viewer from running will be accepted.


Updated Syrian Flag to the New Free Syria Green Flag

Syria has officially adopted the green flag after its liberation. This pull request updates the flag to reflect the current reality. For more details, see Wikipedia

Thank you @JamelSyr


wire: convert data back to binary (base64) before sending

Right now the data flow is:

grpc server sends data
grpc client receives it, deserializes to node.js object
node.js serializes that to JSON and sends over the wire
client deserializes JSON and emits the event.

This is not efficient at all because we have a deserialize-> serialize to JSON (SLOW) -> deserialize from JSON (SLOW)
Right now a solution would be:

grpc server sends data
grpc client receives it, deserializes to node.js object
grpc-bus re-serializes to binary, sends as base64 string
grpc-bus client deserializes from base64

This is OK, but still slow. I will implement this option until https://github.com/grpc/grpc/issues/8727

Another question: do we do .toRaw on the client, or leave that up to the client?

Changes for now:

[ ] Add data_b64 field, and use it for all 'data' events
[ ] Change all tests to handle this case.
[ ] Encode all requests
[ ] Encode all responses
[ ] Decode on the client

For now, the objects in the data event will be Protobuf.JS objects, and the client will call toRaw on them.


RUN doesn't start on next line after redirecting screen output with CMD

If you redirect screen output using the CMD command, and then stop redirecting with CLOSE, the RUN command no long starts running the program on the next line, but instead prints program output on the same line as RUN.  This does not happen the first time RUN is called after closing the file, but it does occur every subsequent time RUN is called.

I expect the correct behavior is for the output of a program to always start on the line after RUN.

I realized this is almost certainly a ROM issue rather than a emulator issue with hostfs, since it's clearly corrupting something to do with screen output.  I re-opened the issue on that repo: https://github.com/X16Community/x16-rom/issues/123


Update package for Julia 1.6

Changes

replace REQUIRE by Project.toml
replace Travis CI by GitHub Actions CI
add CompatHelper and TagBot
update syntax from Julia 0.6 to 1.6

type -> struct
indmin -> findmin
repmat -> repeat
Array{T}(i, j) -> Array{T}(undef, (i,j))
add imports from Standard Libraries: Statistics.jl, LinearAlgebra.jl, DelimitedFiles.jl
cholfact -> cholesky
custom eye
use dot for in-place array operations
... and more

Caveats

I didn't update bvar.jl and favar.jl since the files are not exposed to the package user. Instead I commented out the tests.
I was too lazy to track down when ::Array was binding, so I replaced it everywhere by ::AbstractArray. This is necessary because vec now returns a ReshapedArray and ' a lazy adjoint.

You can visit my fork to see that CI passes

@greimel Excellent. I think the package could be improved, but this is great. Would you mind disabling travis CI (deleting ,travis.yml) and adding this to this PR? I will merge soon after that.

done!

@greimel Thanks!


Microsoft.OneDriveSDK and Microsoft.OneDriveSDKAuthentication don't work with Project Reunion desktop running on Win32

Describe the bug

Although Microsoft.OneDriveSDK and Microsoft.OneDriveSDKAuthentication nuget packages ca be used successfully with Project Reunion 0.5 apps running on UWP, the same code fails running on Win32 with a strange error message on compile: Type universe cannot resolve assembly: System.Windows.Forms, Version=<IP_ADDRESS>,
Steps to reproduce the bug

Steps to reproduce the behavior:

Create new project using Blank Project Reunion desktop template
Add nuget references to Microsoft.OneDriveSDK and Microsoft.OneDriveSDKAuthentication
Add any code that references MsaAuthenticationProvider
Attempt to compile app. Compiler error references Windows.Forms for some reason!

Expected behavior

App should compile.
Screenshots

Version Info

NuGet package version:

Microsoft.ProjectReunion 0.5.0-prerelease

Windows 10 version
Saw the problem?

Insider Build (21332)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

Additional context

This code works fine on Project Reunion 0.5 app running on UWP. It is only an issue for Project Reunion desktop app when running on Win32.

Is there anything I should try to pin this down? It seems so odd it's only an issue running Project Reunion 0.5 desktop on Win32 and not running Project Reunion 0.5 on UWP.

tl;dr: Don't think this is a supported scenario in WinUI 3 for desktop.
Warnings and errors after following repro steps:
warning NU1701: Package 'Microsoft.Graph.Core 1.3.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.6.1' instead of the project target framework 'net5.0-windows10.0.19041'. This package may not be fully compatible with your project.
warning NU1701: Package 'Microsoft.OneDriveSDK 2.0.7' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.6.1' instead of the project target framework 'net5.0-windows10.0.19041'. This package may not be fully compatible with your project.
warning NU1701: Package 'Microsoft.OneDriveSDK.Authentication 1.0.10' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.6.1' instead of the project target framework 'net5.0-windows10.0.19041'. This package may not be fully compatible with your project.
XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'Type universe cannot resolve assembly: System.Windows.Forms, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089.'

My initial analysis:
Microsoft.OneDriveSdk.Authentication ships separate libraries for UWP and Desktop scenarios. So in your UWP project, Microsoft strips away some incompatible desktop capabilities and Things Work Great™. In the desktop scenario, some dialog capabilities remain.
So to support System.Windows.Forms usage, normally you'd start by adding <UseWindowsForms>true</UseWindowsForms> and <UseWpf>true</UseWpf> to your project. But this isn't supported in WinUI 3 for desktop. (I believe this creates xaml ambiguities that haven't been resolved yet.)

Makes sense. I'll kick the ball along to the OneDrive folks. Thanks.

Here's the matching issue on OneDrive issues: https://github.com/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/71

@gcaughey Not sure what you're using to compose replies but both of your links are pointing to a black hole :smile:

@gcaughey Not sure what you're using to compose replies but both of your links are pointing to a black hole 😄

Probably
https://github.com/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/70
https://github.com/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/71

Closing stale external bug. If you are still seeing this issue, please open a new issue and include updated repro steps and related logs/diagnostics.


⚠ Bofrost.de has degraded performance

In 2a67319, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1394 ms

Resolved: Bofrost.de performance has improved in 068ed65.


:sparkles: Sentence-level content detection

Modules

Sentence splitting (via stanza) - no task as this is meant to be intermediary module
Sequence classification - task here most aligned with text classification
Sentence-level content detection - task here attempted to align with token classification/NER

TODOS:

Tests!

Draft for #35 - I anticipate breaking this down after discussion

Replaced by PRs #43 , #52 , and #55


Patched multipart upload to support mimeTypes

Just the version I currently have. Guess I should update and recommit


Latest unityscript changes

They require and are required by latest boo (with a pull request pending).

These look ok to me. Staging area is green.


Reduce output

There is a load of output, such as a complete list of generated files, which i only expect when the verbose flag is on.
Would it be possible to only output a simple "done" (and perhaps the coverage), and use grunt.verbose.writeln for the list of files?

Thanks - this is definitely a good idea! Will get right on it

It seems that ESDoc itself has issues (104, 83, 208) with logging and the developer is thankfully aware, however this means that unless there's a patch to ESDoc I can't really do anything to the output. This appears to also be an issue for gulp-esdoc too.
That said, I've come up with a solution that does accomplish what is needed, even if it probably is bad practice.
If I temporarily override console.log to capture and parse the output from the call to esdoc.generate (and then obviously return it to its original state) then it works as desired. Normally overriding a global, especially one like console.log, is unequivocally bad behaviour but I think we're safe in Grunt because:

Any failure kills the entire grunt process and therefore it won't matter.
Grunt runs tasks in order so as long as the task reverts the override (finally clause in try/catch) it shouldn't matter for the next task and will only affect the esdoc task.
Without looking at the grunt source code, when I was testing exceptions, it correctly reverted the override anyways when calling grunt.fail.fatal

The output will now be determined by the following:

--verbose will show the output of esdoc.generate as before.
--verbose and --debug will show the verbose output as well as the debug values from esdoc
Coverage percentage and number of files covered vs the total number of files will be shown for all modes, if coverage is 100% then grunt.log.ok is used, if coverage is not complete then grunt.log.warn is used.

<EMAIL_ADDRESS>includes the requested changes, note that this version also requires version 4 or greater of Node

Works like charm!
one tiny issue, my coverage is currently reported as
Coverage: 17.89% (158/883)
and the current regex doesn't account for non-integer coverage,
I've made a pull-request with the fix.


Generated launch files from setup assistant not working

Description
I tried to run the move group launch file generated from the setup assistant, and i get only an error instead of working.
ros2 launch ur_cell_moveit_config move_group.launch.py --debug
[DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.IncludeLaunchDescription'
[INFO] [launch]: All log files can be found below /home/valerio/.ros/log/2024-12-16-12-28-55-613277-Hades-6998
[INFO] [launch]: Default logging verbosity is set to DEBUG
[DEBUG] [launch]: processing event: '<launch.events.include_launch_description.IncludeLaunchDescription object at 0x7d169b32c4a0>'
[DEBUG] [launch]: processing event: '<launch.events.include_launch_description.IncludeLaunchDescription object at 0x7d169b32c4a0>' ✓ '<launch.event_handlers.on_include_launch_description.OnIncludeLaunchDescription object at 0x7d169a1c2180>'
Executing <Task finished name='Task-2' coro=<LaunchService._process_one_event() done, defined at /opt/ros/jazzy/lib/python3.12/site-packages/launch/launch_service.py:228> exception=TypeError("Expected 'value' to be one of [<class 'float'>, <class 'int'>, <class 'str'>, <class 'bool'>, <class 'bytes'>], but got '()' of type '<class 'tuple'>'") created at /opt/ros/jazzy/lib/python3.12/site-packages/launch/launch_service.py:319> took 0.102 seconds
[DEBUG] [launch]: An exception was raised in an async action/event
[DEBUG] [launch]: Traceback (most recent call last):
  File "/opt/ros/jazzy/lib/python3.12/site-packages/launch/launch_service.py", line 343, in run_async
    raise exception_to_raise
  File "/opt/ros/jazzy/lib/python3.12/site-packages/launch/launch_service.py", line 230, in _process_one_event
    await self.__process_event(next_event)
  File "/opt/ros/jazzy/lib/python3.12/site-packages/launch/launch_service.py", line 250, in __process_event
    visit_all_entities_and_collect_futures(entity, self.__context))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/ros/jazzy/lib/python3.12/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/jazzy/lib/python3.12/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/jazzy/lib/python3.12/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/jazzy/lib/python3.12/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/jazzy/lib/python3.12/site-packages/launch/action.py", line 109, in visit
    return self.execute(context)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/ros/jazzy/lib/python3.12/site-packages/launch_ros/actions/node.py", line 490, in execute
    self._perform_substitutions(context)
  File "/opt/ros/jazzy/lib/python3.12/site-packages/launch_ros/actions/node.py", line 445, in _perform_substitutions
    evaluated_parameters = evaluate_parameters(context, self.__parameters)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/ros/jazzy/lib/python3.12/site-packages/launch_ros/utilities/evaluate_parameters.py", line 169, in evaluate_parameters
    output_params.append(evaluate_parameter_dict(context, param))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/ros/jazzy/lib/python3.12/site-packages/launch_ros/utilities/evaluate_parameters.py", line 141, in evaluate_parameter_dict
    ensure_argument_type(value, (float, int, str, bool, bytes), 'value')
  File "/opt/ros/jazzy/lib/python3.12/site-packages/launch/utilities/ensure_argument_type_impl.py", line 73, in ensure_argument_type
    raise TypeError(error_msg_template.format(
TypeError: Expected 'value' to be one of [<class 'float'>, <class 'int'>, <class 'str'>, <class 'bool'>, <class 'bytes'>], but got '()' of type '<class 'tuple'>'

[ERROR] [launch]: Caught exception in launch (see debug for traceback): Expected 'value' to be one of [<class 'float'>, <class 'int'>, <class 'str'>, <class 'bool'>, <class 'bytes'>], but got '()' of type '<class 'tuple'>'
[DEBUG] [launch.launch_context]: emitting event: 'launch.events.Shutdown'
[DEBUG] [launch]: processing event: '<launch.events.shutdown.Shutdown object at 0x7d169a8c9430>'
[DEBUG] [launch]: processing event: '<launch.events.shutdown.Shutdown object at 0x7d169a8c9430>' ✓ '<launch.event_handlers.on_shutdown.OnShutdown object at 0x7d169a02a690>'

ROS Distro
Jazzy
OS and version
Ubuntu 24.04
Source or binary build?
Source
If binary, which release version?
No response
If source, which branch?
main
Which RMW are you using?
None
Steps to Reproduce
run the generated launch file
Expected behavior
should work
Actual behavior
Error as shown in description
Backtrace or Console output
No response

What if you remove the --debug? I think that argument doesn't quite work like that for launch files.

What if you remove the --debug? I think that argument doesn't quite work like that for launch files.

if i remove that argument I get only this error
`TypeError: Expected 'value' to be one of [<class 'float'>, <class 'int'>, <class 'str'>, <class 'bool'>, <class 'bytes'>], but got '()' of type '<class 'tuple'>'
[ERROR] [launch]: Caught exception in launch (see debug for traceback): Expected 'value' to be one of [<class 'float'>, <class 'int'>, <class 'str'>, <class 'bool'>, <class 'bytes'>], but got '()' of type '<class 'tuple'>'`

Hmm... I might start commenting out different components in the launch file to see where the bad parameter definition is, then.
Quite likely there's a bug, but we'll need to find exactly where. Thanks!

From what I've seen, the two areas that are kinda brittle with regards the to the move_group launch file are the moveit_controllers and sensors_3d configurations - if you can post the related generated YAML files, we might notice something that is off

I don't use 3d sensors, so no config file,the moveit_controllers yaml is
moveit_controller_manager: moveit_simple_controller_manager/MoveItSimpleControllerManager

moveit_simple_controller_manager:
  controller_names:
    - scaled_joint_trajectory_controller
    - ur_hand_controller

  scaled_joint_trajectory_controller:
    type: FollowJointTrajectory
    joints:
      - ur10e_shoulder_pan_joint
      - ur10e_shoulder_lift_joint
      - ur10e_elbow_joint
      - ur10e_wrist_1_joint
      - ur10e_wrist_2_joint
      - ur10e_wrist_3_joint
    action_ns: follow_joint_trajectory
    default: true
  ur_hand_controller:
    type: GripperCommand
    joints:
      - gripper_finger_joint
    action_ns: gripper_cmd
    default: true

If you need more info let me know!

I would think the motion planning ones, like ompl_planning.yaml are also susceptible to having outdated generated structure. What do those look like?

So it seems https://github.com/moveit/moveit2/issues/2837 highlights the same error, but points to an empty list of hand controller joints.
Do you by any chance also have another copy of this file with empty values? Or did your file start that way and maybe haven't rebuilt the package since?


How to detect intensity of a measurement from lidar lite

I have a project using the lidar lite as a scanner and i want to be able to detect a reflective target i set up. I was wondering if there were any commands or functions i could use to determine the intensity of a measurement.
The end goal is to be able to perform a scan with 3 stationary reflective targets, setup at a different position, scan again near those targets, and be able to stitch these scans together with a 3D transformation using a survey technique called a resection
any help would be greatly appreciated

Have not tried it, but have a look at the contents of the SIGNAL_STRENGTH register 0x0E, this should give you the return intensity (which of course depends on reflectivity, distance, angle, etc.).
You might try to use corner cubes for this application like surveyors do.

I had a look at the contents of the register 0x0E. I used the short range high speed example the lidar lite library includes and modified it to receive the intensity instead of the distance.
I could not really analyze and understand the values i was getting.
I will do more testing in the next few days pointing the lidar at a reflective target to observe the intensity values.
My code so far: I modified one of the example codes
/*------------------------------------------------------------------------------
LIDARLite Arduino Library
v3/ShortRangeHighSpeed
This example shows a method for running the LIDAR-Lite at high speeds for
short range operation. It uses an different approach than the default
LIDAR-Lite library, showing how to read and write to the device using
Wire directly, as well as various custom settings. See GetDistancePWM and
GetDistanceI2C for simpler demonstrations of the device.
Connections:
LIDAR-Lite 5 Vdc (red) to Arduino 5v
LIDAR-Lite I2C SCL (green) to Arduino SCL
LIDAR-Lite I2C SDA (blue) to Arduino SDA
LIDAR-Lite Ground (black) to Arduino GND
(Capacitor recommended to mitigate inrush current when device is enabled)
680uF capacitor (+) to Arduino 5v
680uF capacitor (-) to Arduino GND
See the Operation Manual for wiring diagrams and more information:
http://static.garmin.com/pumac/LIDAR_Lite_v3_Operation_Manual_and_Technical_Specifications.pdf
------------------------------------------------------------------------------*/
#include <Wire.h>
#include <LIDARLite.h>
LIDARLite myLidarLite;
void setup()
{
Serial.begin(115200); // Initialize serial connection to display distance readings
/*
begin(int configuration, bool fasti2c, char lidarliteAddress)
Starts the sensor and I2C.

Parameters
----------------------------------------------------------------------------
configuration: Default 0. Selects one of several preset configurations.
fasti2c: Default 100 kHz. I2C base frequency.
  If true I2C frequency is set to 400kHz.
lidarliteAddress: Default 0x62. Fill in new address here if changed. See
  operating manual for instructions.

*/
myLidarLite.begin(0, true); // Set configuration to default and I2C to 400 kHz
/*
Write
Perform I2C write to device.

Parameters
----------------------------------------------------------------------------
myAddress: register address to write to.
myValue: value to write.
lidarliteAddress: Default 0x62. Fill in new address here if changed. See
  operating manual for instructions.

*/
// myLidarLite.write(0x02, 0x0d); // Maximum acquisition count of 0x0d. (default is 0x80)
// myLidarLite.write(0x04, 0b00000100); // Use non-default reference acquisition count
// myLidarLite.write(0x12, 0x03); // Reference acquisition count of 3 (default is 5)
}
void loop()
{
// Take a measurement with receiver bias correction and print to serial terminal
Serial.println(distanceFast(true));
// Take 99 measurements without receiver bias correction and print to serial terminal
for(int i = 0; i < 99; i++)
{
Serial.println(distanceFast(false));
}
}
// Read distance. The approach is to poll the status register until the device goes
// idle after finishing a measurement, send a new measurement command, then read the
// previous distance data while it is performing the new command.
int distanceFast(bool biasCorrection)
{
byte isBusy = 1;
int distance;
int loopCount;
int intensity;
// Poll busy bit in status register until device is idle
while(isBusy)
{
// Read status register
Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0x01);
Wire.endTransmission();
Wire.requestFrom(LIDARLITE_ADDR_DEFAULT, 1);
isBusy = Wire.read();
isBusy = bitRead(isBusy,0); // Take LSB of status register, busy bit
loopCount++; // Increment loop counter
// Stop status register polling if stuck in loop
if(loopCount > 9999)
{
  break;
}

}
// Send measurement command
Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0X00); // Prepare write to register 0x00
if(biasCorrection == true)
{
Wire.write(0X04); // Perform measurement with receiver bias correction
}
else
{
Wire.write(0X03); // Perform measurement without receiver bias correction
}
Wire.endTransmission();
//Begin reading the signal strength value
Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0x0e);
Wire.endTransmission();
// Read the value
Wire.requestFrom(LIDARLITE_ADDR_DEFAULT, 1);
intensity = Wire.read();
// Immediately read previous distance measurement data. This is valid until the next measurement finishes.
// The I2C transaction finishes before new distance measurement data is acquired.
// Prepare 2 byte read from registers 0x0f and 0x10
Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0x8f);
Wire.endTransmission();
// Perform the read and repack the 2 bytes into 16-bit word
Wire.requestFrom(LIDARLITE_ADDR_DEFAULT, 2);
distance = Wire.read();
distance <<= 8;
distance |= Wire.read();
// Return the measured distance
// return distance;
return intensity;
}

Hi, I also got the same issue, I use LiDAR Lite V3 and  I2C connection to read signal strength from register 0x0e, however, the value can not be analysed. From V2 doc, it mentions that the signal strength should be 10 - 128, which is a 7 level digital signal, however, the values I can get are 98, 112, 126, 140, etc, which are all 14 apart and all are multiple of 7. My code is attached below, is there anything I did wrong?
code.zip

Hello, thanks for your question. I couldnt get a good look at your code as the signal strength function was missing, but i have included my intensity function and am pretty sure it is working. My numbers were not in multiples of 7. I hope this helps
int intensity()
{
byte isBusy = 1;
int intensity;
int loopCount;
// Poll busy bit in status register until device is idle
while(isBusy)
{
// Read status register
Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0x01);
Wire.endTransmission();
Wire.requestFrom(LIDARLITE_ADDR_DEFAULT, 1);
isBusy = Wire.read();
isBusy = bitRead(isBusy,0); // Take LSB of status register, busy bit
loopCount++; // Increment loop counter
// Stop status register polling if stuck in loop
if(loopCount > 9999)
{
  break;
}

}
// Send measurement command
/* Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0X00); // Prepare write to register 0x00
if(biasCorrection == true)
{
Wire.write(0X04); // Perform measurement with receiver bias correction
}
else
{
Wire.write(0X03); // Perform measurement without receiver bias correction
}
Wire.endTransmission();
*/
// read register 0x0e which is signal strength
Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0x0e);
Wire.endTransmission();
Wire.requestFrom(LIDARLITE_ADDR_DEFAULT, 1);
intensity = Wire.read();
// Return the measured intensity
return intensity;
}

Hi, Thank you for your reply. I put your intensity function into my code, however, it still shows me the signal strength are multiple of 7. (like 112, 126). If possible, could you send me ur file? Thank you

Hi, here is my ino file with your intensity function, and I also print my original signal strength function(in cpp file) as well. Is that the computer problem which cause me get multiple of 7? Cuz I am using macbook. And BTW, could you tell me what is the signal strength value? like what unit? what range? I could not analyse it. Thank you
#include <LIDARLite.h>
#include <Wire.h>
LIDARLite myLidarLite;
void setup()
{
Serial.begin(9600); // Initialize serial connection to display distance readings
myLidarLite.begin(0, true); // Set configuration to default and I2C to 400 kHz
myLidarLite.configure(0); // Change this number to try out alternate configurations
}
int intensity()
{
byte isBusy = 1;
int intensity;
int loopCount;
// Poll busy bit in status register until device is idle
while(isBusy)
{
// Read status register
Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0x01);
Wire.endTransmission();
Wire.requestFrom(LIDARLITE_ADDR_DEFAULT, 1);
isBusy = Wire.read();
isBusy = bitRead(isBusy,0); // Take LSB of status register, busy bit
}
// Send measurement command
/* Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0X00); // Prepare write to register 0x00
if(biasCorrection == true)
{
Wire.write(0X04); // Perform measurement with receiver bias correction
}
else
{
Wire.write(0X03); // Perform measurement without receiver bias correction
}
Wire.endTransmission();
*/
// read register 0x0e which is signal strength
Wire.beginTransmission(LIDARLITE_ADDR_DEFAULT);
Wire.write(0x0e);
Wire.endTransmission();
Wire.requestFrom(LIDARLITE_ADDR_DEFAULT, 1);
intensity = Wire.read();
// Return the measured intensity
return intensity;
}
void loop()
{
// Take a measurement with receiver bias correction and print to serial terminal
Serial.print(myLidarLite.distance());
Serial.print(" ");
Serial.print(intensity());
Serial.print(" ");
Serial.println(myLidarLite.signalStrength());
// Take 99 measurements without receiver bias correction and print to serial terminal
}


External Deployments Module

Module to provide an IAM role and permissions for the model deployment operator service account to assume the role.

will move toward a simpler approach that adds resources to irsa module (with a flag to turn on and off)


Possibility to specify custom reporter via CLI and by .jsinspectrc

Hi,
Currently it's only possible to select one of the build in reporters.
It would be great if custom reporter could be specified via CLI or .jsinspectrc config file. It would enable the creation of custom reporters (in separate npm packages)... like it is possible e.g. in JSCPD or ESLint.
In this context, it would probably also make sense to expose the base reporter in the lib/reporters/index.js file to simplify writing custom reporters...

It would be pretty straightforward to implement. Curious, what sort of custom reporter are you interested in using with the tool?

In my context (we use the tool for projects at work) I can think of two reporters 😄

A TeamCity reporter: This can be done quite easy via Build Script Interaction. Obviously it would make sense to publish this one to the public.
And then we have some custom internal reporting platform which provides a central place for all kinds of our services/projects health (unit tests, code quality/analysis, E2E tests, open issues, etc.) with dashboards et al. I would like to report the results to this platform. This reporter probably cannot be made public since it would expose some internal information of ours.

Again... would be great if I could be done. I'm happy to assist, e.g. by testing a prerelease version...

According to https://confluence.jetbrains.com/display/TCD65/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingFxCop
it could be possible to run jsinspect with:
jsinspect -r pmd src/ > coverage.xml
echo "##teamcity[importData type='pmdCpd' path='duplicate.xml']"

But I got:
PMD CPD report watcher
[13:03:53]1 report found for paths:
[13:03:53]/opt/jetbrains/teamcity/buildAgent/work/6f1b9cb1d6dde47d/duplicate.xml
[13:03:53]Parsing errors
[13:03:53]Failed to parse 1 report
[13:03:53]duplicate.xml: Report is incomplete or has unexpected structure
[13:03:58]Failed to parse xml report


Environment version always docker?

This looks a bit fishy:

Every 0.5.0 taker connects via docker and we have 0 on umbrel ?
{container="maker",setup="mainnet"} |~"Docker"   | json

assigning @da-kami: I think you are about to fix this on umbrel.

ping @da-kami : was this resolved?

ping @da-kami : was this resolved?

@da-kami Did we fix this?

ping @da-kami : was this resolved?

Sorry for missing the pings, must have accidentally clicked this away in the notifications.
Yes this was fixed with https://github.com/getumbrel/umbrel-apps/pull/85


Fix for validate_guides.sh on Mac OS

Resolves #529. I have included some cleanup so that it is immediately testable on a vanilla Mac.

merged: 274cad8654a66634cbb10b895b36fb514eefc6e4


Converted RenderList to RenderGraph

This PR is meant to convert the existing rendering NodeList into a full fledged DAG, as outlined in #3035.
Specifically, this PR tackles the first stage, ie, just adding the ability to make connections between Nodes, where each connection represents processing order.

Hooray Jenkins reported success with all tests good!

Uh oh, something went wrong with the build. Need to check on that

Uh oh, something went wrong with the build. Need to check on that

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Allright @Cervator, this PR, after a modest 5 months of waiting.. seems to be ready for merge! Will you do us the honours?

The water should be blue again :D

Hooray Jenkins reported success with all tests good!

Oh so that weird Twitter bot randomly echoing Manu's comment did relate to a recent PR I just didn't spot at it first because it was on page two .. :D

I am not entirely sure what you are referring to Cervator. But I look forward this being merged-in. And I also look forward not only to bluER water but to unquestionably, unbelievably better, awesome water. Including turbidity and tint on a per-biome basis.

Just wanted to confirm this PR is still good to go after the latest commit fixing a water color problem.

Alrighty, first PR merged for v2.0.0 woooooo! Tested out OK in my shiny new mega-workspace :-)
Checked out the water a bit, nice and blue, I guess fixed up to where it was before the PR, not more blue than before. Also tried to enable global reflections just to see and re-confirmed the fun issue with dark floaty blobs from that. So nothing sticks out and this appears all set :-)
Thanks guys! Don't mind the weird Twitter comment I spotted, just some bot that randomly decided to highlight a comment from this PR to me ;-)

Yay!!! Congrats everybody!!!


DOC: links in hacking.rst go back to hacking.rst instead of their intended destinations.

Issue with current documentation:
Edit: I think the links in the contributing guidelines should go to the SciPy website rather than .rst files.
I followed the link for new contributors which then took me to SciPy pull request guidelines. From SciPy pull request guidelines I clicked the link to the Ways to Contribute called hacking.rst. I tried to follow some of the links in this file, but all of them go back to hacking.rst which confused me. I kind of got the impression that maybe the links weren't supposed to work and they only work in a version of the file that might exist on the scipy website. If this is the case, then the popup for new contributors should have brought me to that page.
For example, :ref:numpy:howto-document should go to this page I believe: https://numpy.org/doc/1.19/docs/howto_document.html.
Idea or request for content:
It should be easy for new contributors to read about how to make contributions.
Additional context (e.g. screenshots, GIFs)
First I clicked "contributing guidelines"

Then I clicked https://github.com/scipy/scipy/blob/main/doc/source/dev/hacking.rst.

Finally I clicked: :ref:numpy:howto-document which took me to the same page I was on.

I found a link that seems to have suffered from link rot:

See John Hunter's BSD pitch

Would you like to make a PR to change the link?

Sure. Working on it.


"Duplicated Classes" check includes media query CSS rules

I don't know if this is a bug or a feature, but I notice that the "Duplicate Classes" check will report content that is included in media queries. Below is an example of an instance where css-checker flagged duplicate class content.
.classroom-callout__courses {
  margin-left: 15px;
}
@media only screen and (min-width: 576px) {
    .mr-sm-3, .mx-sm-3 {
        margin-left: 15px;
    }
}
@media only screen and (min-width: 768px) {
    .mr-md-3, .mx-md-3 {
        margin-left: 15px;
    }
}

I'm not sure if there's a way to resolve this where the compiled CSS code both passes the duplicate class check and is also valid CSS. As far as I know there's no way to combine a media query with a regular CSS selector to make one rule.
/* Not valid CSS */
@media screen and (max-width: 768px), .classroom-callout__courses {
    margin-left: 15px;
}

Am I missing something obvious here?

This will be a new feature in the following versions of css-checker. Thanks for reporting.


Carthage having issues with Pods-DemoTests-Moya

It seems it still builds Moya.framework with this podfile:
github "Alamofire/Alamofire" ~> 1.3.0
github "ReactiveCocoa/ReactiveCocoa" ~> 3.0
github "ashfurrow/Moya"

But it is spitting out this error:
xcodebuild: error: Scheme Pods-DemoTests-Moya is not currently configured for the build action.

+1

+1


Create data modeling materials for charting

We receive frequent requests to map a common chart to FHIR data model.

Let's start by using this image as a sample
Annotate with the data model
Add to the charting section of the documentation.

This should be an Explanation style document

precursor to this is #1342

@reshmakh is this issue completed by #1371 ?

Linking PR and closing this one out.


Windows Support

I just learned about this RDP URI format today because of the iOS app support. Is Windows support planned? It is just a protocol handler, it can't be that hard to implement. I'm tempted to write a third party tool that would install a protocol handler, grab the parameters, create a .RDP file and launch mstsc.exe with it. However, this is really something that should come with Windows :/ there would be a lot of really nice use cases for this

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

ID: 9effefa0-ac98-1fdd-6174-f06d524622f5
Version Independent ID: 5d405e1c-d2eb-9c72-3cf6-817930cad4f6
Content: Remote Desktop clients URI scheme
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/remote-desktop-uri.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @lizap
Microsoft Alias: elizapo

Sorry for taking so long to respond, but then again, I only use GitHub in my spare time.
Please note that this repository is for documentation improvement purposes only. Questions and suggestions to the Microsoft developers should be sent via the Feedback Hub app.
Wish I could help, but this repository is not intended for regular support issues, support requests or support questions.
You may want to look elsewhere for answers, unless you have suggestions for improving one or more specific pages in the MS Docs repository.
Disclaimer: I am not affiliated with Microsoft or the Microsoft Docs teams here on GitHub.
The intention of this repository is to improve on the existing documentation by providing the users a way to report factual errors, improvement suggestions and request updates for new versions.
The MS Docs team members might not have time to answer your question, both due to the small size of the team and the big workload.
Try the following resources to get in touch with users who may be able to help you:

TechNet forums: https://social.technet.microsoft.com/Forums/en-US/home
MSDN: https://social.msdn.microsoft.com/Forums/en-US/home
Microsoft Community: https://answers.microsoft.com/


npm start error

An error is generated by executing the instruction below.
I want to know how to solve this problem.
$ npm start

<EMAIL_ADDRESS>start /data/htdocs/redoc
webpack-dev-server --config build/webpack.dev.js --content-base demo

Error: listen EADDRINUSE <IP_ADDRESS>:9000
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1258:14)
at listen (net.js:1294:10)
at net.js:1404:9
at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:62:16)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:81:10)
npm ERR! Linux 4.10.0-33-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v6.11.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: webpack-dev-server --config build/webpack.dev.js --content-base demo
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'webpack-dev-server --config build/webpack.dev.js --content-base demo'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the redoc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack-dev-server --config build/webpack.dev.js --content-base demo
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs redoc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls redoc
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /data/htdocs/redoc/npm-debug.log

solved it.
The port number has been modified from 9000 to another and normal operation has been normal.


[BUG]: Isilon CSI driver repots: Error: Authorization required # DISCONNECTED SITE

Describe the bug
Following Operator and CSI driver upgrade we notice the following errors on the Isilon controller:
"Error in response Method DELETE URI:platform/2/protocols/nfs/exports Error: Authorization required JSON Error: Authorization required"
Old operator version 1.2
Old CSI driver version: 1.4
New Operator version 1.5
New CSI driver version 2.0.0
Following this error message
the CSI driver send an authentication request with the user and password, authentication succeed and the delete operation proceeding with no issue.
Next request will trigger another authentication error and the process follow.
The error will spawn for any type of request not only delete so basically the entire log is loaded with authentication issues and success
The time it takes for the operation to complete results in pods to timeout due to pvc access issues.
Expected behavior
A  bearer token to be saved once and sent with each new request so the driver wont need to authenticate for any new request.
Screenshots
Disconnected site
Logs
Disconnected site
System Information (please complete the following information):
OpenShift: 4.6.5
K8s: 1.19
Dell Operator 1.5
CSI driver 2.0.0
Isilon version <IP_ADDRESS>
Isilon RUP 01-2021

Thank you @Idan-Maimon, we will investigate. This may be related to #71.
Could you supply the controller logs of the driver?

Hi thanks for the comment,
I also noticed the errors mentioned at #71 but it seems like a different issue.
in any case, once we changed the endpoint from a SmartConnect end point to a static node FQDN  the error disappear so it seems the driver is not working well with the Isilon SmartConnect mechanism.

@Idan-Maimon could you please provide the driver logs, we need it to proceed on investigation.

Hi,
Sorry for the late reply,
We are not able to send any logs out.
The error I gave was written by hand
On Mon, Nov 8, 2021, 13:16 randeepsharma @.***> wrote:

@Idan-Maimon https://github.com/Idan-Maimon could you please provide
the driver logs, we need it to proceed on investigation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dell/csm/issues/88#issuecomment-963050289, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKS5TSPDUNB6BLFYREGOVTUK6WSXANCNFSM5HLI2FJQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi @Idan-Maimon ,
We need to driver logs to proceed further on investigating this issue.
If you need any guidance on how to collect the logs, you could follow https://www.dell.com/support/kbdoc/en-us/000188057/container-storage-interface-csi-drivers-family-how-to-collect-driver-logs?lang=en
Also we might need PVC, Pod and Storage Class, isilon controller and node yaml files. So please share that as well for quicker resolution of this.

this is a disconnected site please work with FSS Israel T at +972-546757282

Thank you for the info. We reached out  and have the csi-isilon team get on a call early Monday morning.

No of worker nodes that are used
How the load balancer is installed (how many master and worker nodes)
In the controller logs , grep for session based authentication logs
What are the steps customer performed while getting the timeout error in the log (only timeout error)
after re-authentication successful message how many requests are successful before getting timeout error

Note: Session based authentication is by default OneFS 9.1

@Idan-Maimon looking for updates on this request, so that we can help customer.

@Idan-Maimon we need to move forward in this case, help us with information so that we can provide necessary help.

@Idan-Maimon any information on this issue will help us move forward, feel free to connect in SLACK channel.

@Idan-Maimon, closing the issue for now.  Please feel free to reopen the issue when the necessary information is provided.


docs: mdbook fix book.toml

output.katex doesn't work anymore and needs to be removed from book.toml
https://github.com/lzanini/mdbook-katex/issues/68

Let's use the following line for katex pre-processor (similar to how it is done here):
[preprocessor.katex]
after = ["links"]

Let's use the following line for katex pre-processor (similar to how it is done here):
[preprocessor.katex]
after = ["links"]

Jup, but we also need to remove [output.katex] right? According to https://github.com/lzanini/mdbook-katex/issues/68


Azure Communication Services - Chat : Change log for preview 3

Change log from Preview 3 release of ACS Chat.

@danielgerlag this is out of date, right? Should we close it?


Build on Ubuntu 22.04 (beta)

A beta version of Ubuntu 22.04 environment is available. Are there any objections on building there as well?

I think it's a good idea to include a check for that as well, but I'm not sure if #165 will change related checks in any way - @as3810t, what do you think?

I agree, #165 should include this change. I also think, that Ubuntu 18.04 should be abandoned (unless the BME cloud machines require it).

Will fix together with other CI issues, closing for now.


Upgrade to Ruby 2.4

To be merged on Wednesday, October 4th
Updates our stuff to use Ruby 2.4.2
Part of https://github.com/ManageIQ/manageiq/issues/14446
I don't know if I'm missing anything else, please let me know if I am.

cc/ @jrafanie

Since we are so close to the release, we may want to wait until we branch for gaprindashvili, and put this on master only.  @chessbyte Thoughts?

IMO The Oct 4 date is more about removing 2.2 support, than moving all the things to 2.4.  We can still keep the appliances at 2.3 for support sanity, but drop Ruby 2.2 support on Oct 4.

? I asked about this from the beginning and the consent was that I wouldn't have to wait for the G-release branch as this is long overdue. I'm confused about the upstream/downstream split, but will ask offline. 👍

Fyi, this is the reason we can't upgrade to 2.4 in rpmland:
https://bugzilla.redhat.com/show_bug.cgi?id=1438736
There isn't a rpm for 2.4.2.  2.4.0 has serious bugs so we can't use it.

I asked about this from the beginning and the consent was that I wouldn't have to wait for the G-release branch as this is long overdue

Just to clarify, we can support Ruby 2.3 and 2.4 Oct 4 just fine.  I just think we should stick with Ruby 2.3 for the G build.  So this PR should wait, but the rest can move forward, IMO.

Clarified all sorts of things and ultimately, from this PR's view, 2.3.1 should remain for now as @Fryguy says. 🏃


flutter issue "type(httpexception=>null is not a subtype of type dynamic => dynamic"

I want to ask "can you give me something when I experience errors like the following? thank you
type(httpexception=>null is not a subtype of type dynamic => dynamic

Hi @kardotinambunan12
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow. Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


Duration-control support for automatically dismissed methods.

Thanks @honkmaster
I just followed the current existing method definitions, but good catch :-)

Any update?

... final call

@honkmaster Thanks for the reminder, here you go! 🍻


Suggest rephrase some words in README.md

In the README.md file of this repo, it says: Node.js versions 8+ are supported.
But what's the requirement?
Does that mean: versions below 8 are not supported, if that's so, I suggest rephrase that requirement to:
Node.js version below 8 are not supported

or
To use knex, make sure your node.js version is 8+

Sorry, my mother language is not English. That sentence really confused me.
-------------------------------  the problem  --------------------------------
some code in the file knex/lib/client.js are not supported in node.js v7.x:
const tarnPoolConfig = {
      ...this.getPoolSettings(config.pool),
};

the code above will cause an error in node.js 7.x:
SyntaxError: Unexpected token ...

Currently node versions 8,10 and 12 are supported. IIRC 8 will be deprecated after few months.

Node.js versions 8+ are supported.sounds clear enough to me.  If you want to send PR to make it more clear I will merge it though.


docker-build-test-ethermint / test is failing

One of CI tests related to ethermint is failing. This needs to be diagnosed. Example logs from failing run:
=== RUN   TestEth_Pending_GetTransactionByHash
    utils.go:94:
        	Error Trace:	utils.go:94
        	            				utils.go:100
        	            				utils.go:277
        	            				rpc_pending_test.go:339
        	            				rpc_pending_test.go:285
        	Error:      	Expected nil, but got: &rpc.Error{Code:-32000, Message:"method handler crashed", Data:interface {}(nil)}
        	Test:       	TestEth_Pending_GetTransactionByHash
--- FAIL: TestEth_Pending_GetTransactionByHash (1.00s)
=== RUN   TestEth_Pending_SendTransaction_PendingNonce
    utils.go:94:
        	Error Trace:	utils.go:94
        	            				utils.go:100
        	            				utils.go:277
        	            				rpc_pending_test.go:339
        	            				rpc_pending_test.go:313
        	Error:      	Expected nil, but got: &rpc.Error{Code:-32000, Message:"method handler crashed", Data:interface {}(nil)}
        	Test:       	TestEth_Pending_SendTransaction_PendingNonce
--- FAIL: TestEth_Pending_SendTransaction_PendingNonce (3.01s)
=== RUN   TestEth_protocolVersion
    rpc_test.go:147: Got protocol version: 0x41
--- PASS: TestEth_protocolVersion (1.00s)
=== RUN   TestEth_coinbase
    rpc_test.go:101:
        	Error Trace:	rpc_test.go:101
        	            				rpc_test.go:153
        	Error:      	Expected nil, but got: &rpc.Error{Code:-32000, Message:"failed to find latest block: failed to load hash from index: failed to load block hash for height 0: key not found", Data:interface {}(nil)}
        	Test:       	TestEth_coinbase
--- FAIL: TestEth_coinbase (1.00s)
=== RUN   TestEth_GetProof
    rpc_test.go:165:
--- SKIP: TestEth_GetProof (0.00s)
=== RUN   TestEth_NewFilter
--- PASS: TestEth_NewFilter (1.00s)
=== RUN   TestEth_NewBlockFilter
--- PASS: TestEth_NewBlockFilter (1.00s)
=== RUN   TestEth_GetFilterChanges_BlockFilter
    rpc_test.go:213:
--- SKIP: TestEth_GetFilterChanges_BlockFilter (0.00s)
=== RUN   TestEth_GetFilterChanges_NoLogs
--- PASS: TestEth_GetFilterChanges_NoLogs (2.00s)
=== RUN   TestEth_GetFilterChanges_WrongID
--- PASS: TestEth_GetFilterChanges_WrongID (0.00s)
=== RUN   TestEth_GetFilterChanges_NoTopics
    rpc_test.go:338:
--- SKIP: TestEth_GetFilterChanges_NoTopics (0.00s)
=== RUN   TestEth_GetFilterChanges_Topics_AB
    rpc_test.go:420:
--- SKIP: TestEth_GetFilterChanges_Topics_AB (0.00s)
=== RUN   TestEth_GetFilterChanges_Topics_XB
    rpc_test.go:452:
--- SKIP: TestEth_GetFilterChanges_Topics_XB (0.00s)
=== RUN   TestEth_PendingTransactionFilter
    rpc_test.go:484:
--- SKIP: TestEth_PendingTransactionFilter (0.00s)
=== RUN   TestEth_ExportAccount_WithStorage
    rpc_test.go:507: skipping TestEth_ExportAccount_WithStorage due to the server haven't implmented yet
--- SKIP: TestEth_ExportAccount_WithStorage (0.00s)
=== RUN   TestEth_EthResend
    rpc_test.go:574:
        	Error Trace:	rpc_test.go:574
        	Error:      	Not equal:
        	            	expected: "transaction 0x3bf28b46ee1bb3925e50ec6003f899f95913db4b0f579c4e7e887efebf9ecd1b not found"
        	            	actual  : "latest header is nil"

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-transaction 0x3bf28b46ee1bb3925e50ec6003f899f95913db4b0f579c4e7e887efebf9ecd1b not found
        	            	+latest header is nil
        	Test:       	TestEth_EthResend
--- FAIL: TestEth_EthResend (1.00s)

@jbowen93 could you also please take a look at this?

Actually, the most probable cause is some breaking change in node:
2a350eeb0299   ghcr.io/celestiaorg/celestia-node:sha-5106182    "/entrypoint.sh cele…"   15 seconds ago   Exited (1) 1 second ago                                                                  dalc0
4d7f8a599996   ghcr.io/celestiaorg/celestia-app:latest          "/bin/bash /opt/entr…"   26 seconds ago   Exited (1) 25 seconds ago                                                                core0

Resolved by changes in ephemeral-cluster  (see https://github.com/celestiaorg/ephemeral-cluster/issues/27).


Add Zenodo DOI to README.md

This should also be added to Citation.cff, right?

This should also be added to Citation.cff, right?

Yes, the citation file should also be updated, I'll add that to this PR as well.

The DOI I added to README.md is the umbrella DOI (10.5281/zenodo.3370873, it always resolves to the latest version). The DOI I added to CITATION.cff is for the specific release (10.5281/zenodo.3370874). I did this because the Citation File Format requires a version and release date, so it made more sense to use the specific DOI for it in the citation file.
Anyone have any input on what DOIs to put where? Should README.md have the umbrella DOI or should we update it for every release?

The DOI I added to README.md is the umbrella DOI (10.5281/zenodo.3370873, it always resolves to the latest version). The DOI I added to CITATION.cff is for the specific release (10.5281/zenodo.3370874). I did this because the Citation File Format requires a version and release date, so it made more sense to use the specific DOI for it in the citation file.
Anyone have any input on what DOIs to put where? Should README.md have the umbrella DOI or should we update it for every release?

I think what you proposed makes sense, although having to update the citation file for each release seems unfortunate.
Looking at Github code search for other citation files (https://github.com/search?q=extension%3Acff+zenodo&type=Code), it seems that at least some other projects use the Zenodo DOI without version/release date (e.g. https://github.com/amusecode/amuse/blob/master/CITATION.cff) , so we might want to consider doing that as well.

The DOI I added to README.md is the umbrella DOI (10.5281/zenodo.3370873, it always resolves to the latest version). The DOI I added to CITATION.cff is for the specific release (10.5281/zenodo.3370874). I did this because the Citation File Format requires a version and release date, so it made more sense to use the specific DOI for it in the citation file.
Anyone have any input on what DOIs to put where? Should README.md have the umbrella DOI or should we update it for every release?

I think what you proposed makes sense, although having to update the citation file for each release seems unfortunate.
Looking at Github code search for other citation files (https://github.com/search?q=extension%3Acff+zenodo&type=Code), it seems that at least some other projects use the Zenodo DOI without version/release date (e.g. https://github.com/amusecode/amuse/blob/master/CITATION.cff) , so we might want to consider doing that as well.

Yeah, I think I prefer using the umbrella DOI everywhere, but I'm hesitant to buck the standard.


aarch64 support?

hello its working fine with othr containers but only 1 doesnt support arm. anyway this can be fixed?
e6ddbad1cd89   gcr.io/evmchain/katla-proverd:latest   "/bin/sh -c /script/…"   2 hours ago   Restarting (1) 14 seconds ago                                                                                simple-taiko-node-zkevm_chain_prover_rpcd-1

closing as duplicate of https://github.com/taikoxyz/simple-taiko-node/issues/81
cc @RogerLamTd


[Documentation] Add a rate limit example

Awesome library, it's simple and doesn't need a ton of dependencies like others.
I was just hoping to have an example on how to add request rate limiting example to the documentation.
I believe the most straightforward way would be to modify the fetch instance somehow, but not sure how to do that.

Feels out of scope to me, sorry.


Move model instantiation to Lightning module

Description
(A clear and concise description of what the feature is.)
Model instantiation should be moved to the Lightning module instead. This is because LightningModule saves all the input arguments to __init__ when save_hyperparameters() , into a property self.hparams. This includes the whole model when the model is fed as an input. Furthermore, these are stored into hparams.yaml, and we are essentially saving the model weights into this file. When model size grows larger, this is takes up quite a bit of additional space.
def create_lightning_module(self) -> DeepARLightningModule:
    return DeepARLightningModule(
        freq, context, ...
     )

class DeepARLightningModule(pl.LightningModule)
    def __init__(
        self,
        freq,
        context,
        ...
    )
    super().__init__()
    self.save_hyperparameters()
    self.model = DeepARModel(...)

References

list reference and related literature
list known implementations

I’m wondering if *args, **kwargs can be used here, since otherwise there will be a lot of annoying duplication between the LightningModule and the Module?

I guess the Estimator does not need to know about the Model, only about the LightningModule.
What's a bit annoying is that we would track the model parameters on all three classes.

Fixed in #2688


Signature verification failed, but clients should not try to inspect access tokens

Version
4.5.8
Context
I'm trying to authenticate against Graph API using client credentials flow.
        OpenIDConnectAuth
            .discover(
                vertx,
                OAuth2Options()
                    .setSite("https://login.microsoftonline.com/${b2cOption.tenant()}/v2.0/.well-known/openid-configuration")
                    .setClientId(b2cOption.clientId())
                    .setClientSecret(b2cOption.clientSecret())
                    .setValidateIssuer(false)
                    .setFlow(OAuth2FlowType.CLIENT)
            )
            .coAwait()
            .run {
                this.authenticate(JsonObject().put("scopes", JsonArray(listOf("https://graph.microsoft.com/.default"))))
                    .coAwait()
                    .run { log.info { "Authenticated with B2C: $this" } }

Unfortunately it fails on:
java.lang.RuntimeException: Signature verification failed
         at io.vertx.ext.auth.impl.jose.JWT.decode(JWT.java:312)
         at io.vertx.ext.auth.impl.jose.JWT.decode(JWT.java:177)
         at io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl.createUser(OAuth2AuthProviderImpl.java:579)
         at io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl.lambda$authenticate$4(OAuth2AuthProviderImpl.java:457)

Clients should not try to inspect access tokens at all. MSFT is right in stating:

If you're a client getting a token for Graph, assume that it's an encrypted string that you should never look a

I think the offending code is this:
    // attempt to decode tokens if jwt keys are available
    if (!jwt.isUnsecure()) {
      if (json.containsKey("access_token")) {
        try {
          final JsonObject token = jwt.decode(json.getString("access_token"));

In fact requiring the access token to be a JWT already breaks the specification

Access tokens do not have to be of any particular format, although there are different considerations for different options which will be discussed later in this chapter.

https://www.oauth.com/oauth2-servers/access-tokens/

This is the workaround I'm using for now
        val config = OAuth2Options()
            .setSite("https://login.microsoftonline.com/${b2cOption.tenant()}/v2.0/.well-known/openid-configuration")
            .setClientId(b2cOption.clientId())
            .setClientSecret(b2cOption.clientSecret())
            .setValidateIssuer(false)
        OpenIDConnectAuth
            .discover(
                vertx,
                config
            )
            .coAwait()
            .run { // https://github.com/eclipse-vertx/vertx-auth/issues/688
                close()
                config.setJwkPath(null);
                OAuth2Auth.create(vertx, config);
            }
            .run {
                this.authenticate(JsonObject().put("scopes", JsonArray(listOf("https://graph.microsoft.com/.default"))))
                    .coAwait()
                    .run { log.info { "Authenticated with B2C: $this" } }
           }


Getting started with Visual Basic .NET

Article checklist
Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes
This closes #2924

Plagiarism check done.

Plagiarism check done.

@Dyrstiu Can you navigate me to your author's folder? I am unable to find it.

This is a very well written article with easy to understand explanations and steps. Well done :).

Thank you for the review @lalith1403

@lalith1403 https://github.com/lalith1403
Here is the path to my author's page
engineering-education/authors/felix-vaati/
On Mon, 6 Sep 2021, 17:06 Lalithnarayan C, @.***> wrote:

@Dyrstiu https://github.com/Dyrstiu Can you navigate me to your
author's folder? I am unable to find it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/pull/3503#issuecomment-913676028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALD6XVBNO4YBNMAKCOB6PWDUATDEVANCNFSM5CUX3UXQ
.

Hi @Dyrstiu
This article is really amazing and easy to follow through. Absolutely awesome. Keep up the good work.
cc: @lalith1403


Extract jolokia.js in a dedicated repository

This would make the build process more modular and we could integration for build tools like bower

Mmm, bower... ;)
I think we can close as superseded by #567.


Image uploads

Image uploads have different (old style?) nick format

image with text-attached

Did you configure the urlAttachment property? It's working on my end as expected.
  "format": {
    "commandPrelude": "{$nickname} said:",
    "ircText": "<{$displayUsername} [@{$discordUsername}]> {$text}",
    "urlAttachment": "<{$displayUsername} [@{$discordUsername}]> {$attachmentURL}",
    "discord": "<@**{$author}**> {$withMentions}"
  },

Default behavior and README have been updated to reflect the desired behavior


Fix continuous reconcilation in ako-operator

What this PR does / why we need it
Remove empty status fields on AKODeploymentConfig CRD so that kapp-controller doesn't continuously try to reconcile them.

Details for the Release Notes (PLEASE PROVIDE)

Fixes continuous reconciliation of ako-operator

Which issue(s) this PR fixes

Fixes: #
Describe testing done for PR

Special notes for your reviewer

could you remove the field for other versions as well? for example https://github.com/vmware-tanzu/community-edition/blob/118b99c5c1b8a831259e40652c2a82835ebe504e/addons/packages/ako-operator/1.5.0/bundle/config/upstream/akooperator/static.yaml#L391

could you remove the field for other versions as well? for example
https://github.com/vmware-tanzu/community-edition/blob/118b99c5c1b8a831259e40652c2a82835ebe504e/addons/packages/ako-operator/1.5.0/bundle/config/upstream/akooperator/static.yaml#L391

Done


Update the bullets fired by the ship

By making it smooth and keep firing even if the ship moves,

i can update it for you and make necessary changes to it

I really like your app and want to work on your project ,please assign this issue to me under gssoc-ext 2024

Hey, @iamparas0 I am interested in this issue can you assign this issue too me.
To update the bullets fired by the ship in the game, consider the following enhancements:
Bullet Design: Create new visual designs for the bullets to make them more appealing and thematic.
Bullet Speed and Damage: Adjust the speed and damage of the bullets to balance gameplay, making them either faster or slower based on game dynamics.
Bullet Types: Introduce different types of bullets (e.g., explosive, piercing) that offer varied effects and strategies.
Sound Effects: Update the sound effects for firing bullets to enhance immersion and feedback.
Particle Effects: Add particle effects upon firing and impact to make the action feel more dynamic.
I believe these changes will significantly enhance the overall user experience.

@Shalinis19137 any update??


Changing ollama base url

When you set any base url, the app adds "/api/chat" after the base URL, which will make it impossible to use something like lmstudio or any fixed LLM provider.
Is there a solution for this?

ollama base url its meant to use with ollama, for lm-studio you can use LLM_PROVIDER="openai" and EMBEDDING_PROVIDER="custom"
docs
.env example:
LLM_PROVIDER="openai"
EMBEDDING_PROVIDER="custom"
OPENAI_BASE_URL="http://localhost:1234/v1"
OPENAI_API_KEY="Local"


WE-555 fix dropdown visibility

Fixes
This pull request fixes WE-555
Description
upgrade eds-core to 0.25.0
Further comments
Tested in local docker container

dropdown visibility fixed in 0.22 upgrade from Snyk so closing this to prefer alignment with Snyk


Question: Is there a way to subscribe to multiple markets in the same call?

I am subscribing to trades for 9-coins on each exchange, and some of the exchanges allow for subscribing to multiple markets on the same call, so I'm wondering if there is a way to do this in ccxws?

Hi @drsavant-pub did you find any way to do this?

No!  I never did find a way to subscribe to multiple markets on the same call.

I think this is handled internally when you make a loop across multiple markets it batches them as a single subscription - not 100% sure but that's what I thought I saw!


Updated ImportPath mapping stylelint-scss 2.0 rule

The 'at-import-no-partial-extension' rule has been deprecated, and will be removed in stylelint-scss '2.0'.
Instead, use 'at-import-partial-extension-blacklist' or 'at-import-partial-extension-whitelist' rules.

And you even update your contributions. These are the best contributors. Thank you and sorry that it took so long to merge it. 😊

It's all good, thanks @PhilippBaschke 👍 , it's a great reference 😄


Inline styles

Firstly, looks like you released 1.0! Congrats! :D
Unfortunately, it seems that you have introduced inline styles with this update. As someone enforcing a strict Content Security Policy, the reason I was using CodeFlask is precisely because it didn't do this. Please consider changing this new update to remove the inline styles and be more CSP-friendly!

:+1: There are far too many JS libraries which do this and negatively impact oberall security

Is it possible to replace this with a Sass workflow? One base theme that can be customized by variables?
@import 'variables';

$token: red;

@import 'base';

Not every user uses SASS. CodeFlask must be as much technology "agnostic" as possible. So that's out of question.
About the CSP concern, I honestly cannot see where could lie the issue with inline CSS, since:

It only runs only on modern browsers (which have no more issues executing crazy HTC stuff like IE had);
The CSS is not user-based. It is (and always will be) the exact snippet you're seeing in source-code;
Most (if not all) major reactive frameworks/libs use inline styles and/or CSS injection via JavaScript, and that doesn't seem like a big deal.

And of course, the main goal by injecting CSS directly via JavaScript is to make it even easier to get CodeFlask up and running. Just import it, run on some element, and you have an editor with basic highlight support.
I'm honestly interested in the threats such approach could lead to. If that's a big concern, what could be done is adding an option to prevent any CSS injection, so its up to users if they want to add all the CSS by themselves or let CodeFlask handle it.

What I meant is that you use Sass to generate the static CSS.
I'm sure @lol768 could explain more in depth about why inline CSS is unsafe (the CSP keyword is literally unsafe-inline), but OWASP has some good examples of how to use injected CSS to facilitate XSS attacks.
Having to make an exception and allow all unsafe inline styles to use CodeFlask means that I won't be using it. There's no reason to inject CSS when the link tag exists.

Hey @kazzkiq,
I personally don't care too much how the CSS is generated, I'm guessing @jkcclemens saw the interpolation and figured SASS was a good fit at built time. This is an implementation detail though, so do it however you like.
All I ask is that you please allow site owners to include the styles themselves in an external file instead of injecting it like you are now which isn't a great practice from a security perspective.
I'm not sure I understand your comments concerning modern browsers. The inline CSS (which is effectively what your style injection is) is an issue in all browsers which support CSP.
If it's static then there should be no problem with it being hosted in a separate file and having the user include it with a <link>.
Yeah, a lot of libraries do it and it's a major headache for someone who works in infosec. We try and recommend the strictest possible CSP but can't when the client relies on libraries which do this because it'd cause breakage.
I can totally see why you do it. It's easier for the end user, but I mean it's only an extra <link> or adding some CSS to your existing stylesheet..
https://github.com/ChALkeR/notes/blob/master/Improper-markup-sanitization.md is an interesting write-up. The Vanilla issue on particular is a good example of why disallowing unsafe-inline is a good idea. Some of the other reports use classes which already exist (and a restrictive CSP wouldn't help here) but nonetheless you can see it's useful to have.
Take a look at this one, too: http://scarybeastsecurity.blogspot.com/2009/12/generic-cross-browser-cross-domain.html

@lol768 Thanks for your time for a more detailed explanation. I do agree with most of your points, and those articles clarify a lot, too.
I still think the best approach here would be to give user the choice of trading ease of use for CSP comply. In this case, I believe the change could go as follows:

Adding csp: true|false option (defaults to false);
Explaining in the docs the impact of either value chosen (how it affects security if false, and how to adapt CodeFlask styles in case of true);
Generate CSS files do /build in case the choice was true.
Explaining why it is a thing and why exactly the option was added to the lib (perhaps with a tiny intro to CSP and its importance).

This way I think we can satisfy both worlds. Those who want to use CodeFlask "just for that simple weekend project" can stick with the way it works out-of-the-box now. And those who are building serious stuff and care about security can also easily adapt the library to their concerns.

Sounds good to me :slightly_smiling:

Great. I will implement it as soon as possible.

Thanks for not removing inline, it's good for #68.
Note for everyone: you don't have to use unsafe-inline. CSP level 2 allows allowing (heh) specific inline styles/scripts via SHA hashes or nonces!

Note for everyone: you don't have to use unsafe-inline. CSP level 2 allows allowing (heh) specific inline styles/scripts via SHA hashes or nonces!

Yeah, and it's undesirable. Should only be used for transitioning legacy code, will leave the page broken in CSPv1 browsers and it's painful to maintain. Better to ask the library maintainers to do things properly.
Nonces wouldn't be suitable here in any case given the current implementation since the JS doesn't introduce any nonce attributes and presumably wouldn't know what the nonce was either.

Did this already get implemented? I would love to make use of it, just because injecting CSS with JS is messy business


Include debootstrap in crouton bundle

Hi,
From #1256 , I think of that crouton is using debian ftp as a secondary choice.
But why not as the primary? So that we can add a parameter for users to assign the mirror they want to improve speed.
I understand that it is not a very big improvement on speed normally since the file is not large. But some people who have very bad international internet connection or some limitation on connection might want to use that.

Please re-open if this issue is still a concern.


THRIFT-4075: better support for headers-only boost with mingw

Also fixed a warning from gcc where an alignment pragma was in the wrong place.

Kicking another build by pushing an empty commit amend.  Appveyor croaked early with:
Build started
Fetching repository commit (979c781)...Cannot download GitHub repository contents: NotFound
See: https://ci.appveyor.com/project/ApacheSoftwareFoundation/thrift/build/960

Build job #2 failed in a weird way, in c_glib.  Doesn't appear related.
See: https://travis-ci.org/apache/thrift/jobs/200237365


LP-204 Introduced user authentication and token permissions

JIRA link
https://companieshouse.atlassian.net/browse/LP-204
Change description
This is based on:
https://companieshouse.atlassian.net/wiki/spaces/IDV/pages/4422828096/Integrating+Eric+into+a+Spring+Boot+Microservice
The routes.yaml url is based on what we have for the overseas-entites-api as we will require transactions here as well.
In the interceptor config, using the java security library classes rather than adding new classes into the module, for:

TokenPermissionsInterceptor
UserAuthenticationInterceptor

Work checklist

[ ] Bug fix
[ ] New feature
[ ] Breaking change
[x] Infrastructure change

Pull request checklist

[x] I have added unit tests for new code that I have added
[ ] I have added/updated functional tests where appropriate
[ ] The code follows our coding standards

An exhaustive list of peer review checks can be read here
Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!

CI: No security warnings found

CI: Security warnings found!

CI: No security warnings found

CI: Security warnings found!


Camera Plugin  crashes the APP on android 9

Bug Report
Log cat snippet
07-12 17:14:04.884 1312-1483/in.test.app D/SERVER: Handling local request: http://localhost/svg/md-camera.svg
07-12 17:14:06.114 1312-1585/in.test.app I/Timeline: Timeline: Activity_launch_request time:1083912826 intent:Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 clip={text/uri-list U:content://in.test.app.provider/external_files/Android/data/in.test.app/cache/.Pic.jpg} (has extras) }
07-12 17:14:06.126 1312-1312/in.test.app D/CordovaActivity: Paused the activity.
07-12 17:14:06.127 1312-1585/in.test.app W/PluginManager: THREAD WARNING: exec() call to Camera.takePicture blocked the main thread for 42ms. Plugin should use CordovaInterface.getThreadPool().
07-12 17:14:06.128 1312-1312/in.test.app I/com.tenforwardconsulting.bgloc.cordova.BackgroundGeolocationPlugin: App will be paused multitasking=true
07-12 17:14:06.215 1312-1312/in.test.app I/com.marianhello.bgloc.service.LocationServiceImpl: Creating LocationServiceImpl
07-12 17:14:06.254 1312-1312/in.test.app I/com.marianhello.bgloc.PostLocationTask: Creating PostLocationTask
07-12 17:14:06.262 1312-1895/in.test.app I/com.marianhello.bgloc.service.LocationServiceImpl: Network condition changed has connectivity: true
07-12 17:14:06.273 1312-1312/in.test.app D/com.marianhello.bgloc.service.LocationServiceImpl: Service in [NOT STARTED] state. cmdId: [3]. startId: [1]
07-12 17:14:07.228 1312-1312/in.test.app D/CordovaActivity: Stopped the activity.
07-12 17:14:07.229 1312-1312/in.test.app I/com.tenforwardconsulting.bgloc.cordova.BackgroundGeolocationPlugin: App is no longer visible
Problem
Camera plugin crashes the App on getPicture
What is expected to happen?
we should get the image back
What does actually happen?
app crashes
Information

ionic 4
Android 9
Xiomi Mi 6 Pro device
Command or Code

Environment, Platform, Device

ionic 4
Android 9
Xiomi Mi 6 Pro device
Version information

[ x] I searched for existing GitHub issues
[x ] I updated all Cordova tooling to most recent version
[ x] I included all the necessary information above

I have the same problem, can anyone help?

Is this reproducible in a new, plain Cordova app? A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one: https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md

@timbru31 yes this is reproducible, the app launches the black camera view with the crash pop up on invoking the getPicture() function. My test device is Samsung Galaxy s9 running Android 9.

@abhinavkumar-utsa can you zip up an android project where this bug occurs and put it up

did this get solved?

Any updates?

Not exactly clear based on the provided log, but one reason an activity could be stopped is due to this android quirk

Android uses intents to launch the camera activity on the device to capture images, and on phones with low memory, the Cordova activity may be killed. In this scenario, the result from the plugin call will be delivered via the resume event. See the Android Lifecycle guide for more information. The pendingResult.result value will contain the value that would be passed to the callbacks (either the URI/URL or an error message). Check the pendingResult.pluginStatus to determine whether or not the call was successful.

This isn't a crash, however the webview will lose it's state and therefore likely load up your default view. It's up to the developer to handle this case and save the application state somewhere where it can be restored.

@breautek We are a bit puzzled this is still the case in 2020 with Android phones more powerful than a laptop.
We understand having a lot of RAM does not mean the app never gets killed, but there might be something introduced in Android 9 which is causing it. There were just a few to no issues at all going from Android 4 to android 8.1 using the same exact code, but now there are more and more reports of this happening.

Having lots of ram doesn't mean an individual app can allocate all of said ram. Many phones only allows limited quota to the ram.
Additionally, the camera app is also ram heavy (relatively speaking), due to its processing of a very large resolution image/video.

There were just a few to no issues at all going from Android 4 to android 8.1

Again different phones have different specs, and different screen resolutions, and different vendors, all with different ram requirements and probably different ram management. These older devices while they may of had less RAM, they also had much less screen resolution and image resolution images and thus also required less ram to process and overall may actually be less stressful on the ram on the phones.
To be clear, I'm not claiming that this issue is due to the android quirk, but I am saying it is a possibility. The given log information shows no crash stacktrace, but it does show the app went into a paused state, then later was killed, so this behaviour does match the android quirk. One quick and easy way to test this is to actually listen to the resume event of the app, and test to see if there is a pendingResult. You can see the documentation here
If there is a pendingResult, then you are hitting the android quirk, and unfortunately there isn't a way around that when using the camera intent. If you don't want to deal with the android quirk, one potential workaround is to find a plugin that uses the camera APIs directly (rather than going through the intent), but the drawbacks of that method is your app will require privacy-sensitive permissions that the user has to accept.

I had an issue with the camera on any snapdragon device.  I found replacing the default camera app with just about any other one from the playstore fixed it.  I have tested Open Camera.  So I suspect there is an issue in the camera app itself caused somehow by qualcomm.

Again different phones have different specs, and different screen resolutions, and different vendors, all with different ram requirements and probably different ram management. These older devices while they may of had less RAM, they also had much less screen resolution and image resolution images and thus also required less ram to process and overall may actually be less stressful on the ram on the phones.

Allocated ram increases with screen resolution on Android https://drive.google.com/file/d/0B7Vx1OvzrLa3Y0R0X1BZbUpicGc/view
We are facing the issue also on old devices after upgrading to Android 9.

Closing as stale.
Logs indicate activity stop which is expected behaviour. Use resume event to get the camera activity results, if any are present.


BUG: Spatial object testing

PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)
[X] Added test (or behavior not changed)

The DTITubeSpatialObject test code was not run due to a bug in the CMakeLists.txt file.

@aylward  Stephen,  previously the test for DTITubeSpatialObject was not run.  The code looks like a copy-n-paste from the TubeSpatialObject.  I don't know if the test should have identical values.
NOTE: When I build with -march=native -mtune=native these two tests fail on my computer.


bad cudnn version (4004) ?

Hello,
I'm face with the following error
➜  neural-style-master  th neural_style.lua -gpu 0 -backend cudnn /Users/olivier/torch/install/bin/luajit: /Users/olivier/torch/install/share/lua/5.1/trepl/init.lua:383: /Users/olivier/torch/install/share/lua/5.1/trepl/init.lua:383: /Users/olivier/torch/install/share/lua/5.1/cudnn/ffi.lua:1287: These bindings are for version 4005 or above, while the loaded CuDNN is version: 4004   Are you using an older version of CuDNN? stack traceback: 	[C]: in function 'error' 	/Users/olivier/torch/install/share/lua/5.1/trepl/init.lua:383: in function 'require' 	neural_style.lua:64: in function 'main' 	neural_style.lua:500: in main chunk 	[C]: in function 'dofile' 	...vier/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk 	[C]: at 0x010be0ebd0
cuddn has been installed by 'luarocks install cuddn', so I think this is the latest version. Cuda is 7.5.19
I am trying to make it run on a mac (3,4 GHz Intel Core i5, 16 Go 1600 MHz DDR3, NVIDIA GeForce GTX 775M 2048 Mo), but it also looks like it is nos sufficient, as I also have 'out of memory' errors, even with --image=256 setup
'th neural_style.lua -gpu 0 -print_iter 1' gives an 'out of memory' also
Has anybody succeeded in making it run on any similar computer ? And may the cudnn version error explain it ?
Thanks

It looks like it comes from a recent cudnn update...
https://github.com/soumith/cudnn.torch/commit/3f7c066fae27e202925a9f7c74eaec70130e6e2f

olivier nerot<EMAIL_ADDRESS>kirjoitti 15.2.2016 kello 16.51:

I am trying to make it run on a mac (3,4 GHz Intel Core i5, 16 Go 1600 MHz DDR3, NVIDIA GeForce GTX 775M 2048 Mo), but it also looks like it is nos sufficient, as I also have 'out of memory' errors, even with --image=256 setup
'th neural_style.lua -gpu 0 -print_iter 1' gives an 'out of memory' also
Has anybody succeeded in making it run on any similar computer ? And may the cudnn version error explain it ?

About memory usage, I have found that using nin-imagenet-conv instead of the VGG19 reduces results in much lower memory usage. The images generated will not, however, be exactly similar, and some people would say that they are of lower quality. They are different, and probably less sharp. One also needs to experiment with the weights and other parameters.
Running on CPU with 8 GB memory, with nin-imagenet-conv I can easily get 1280px and higher. Setting image size to 256 pixels shows memory usage as low as 4%.
I have recently done most of my experiments with nin-imagenet-conv for original work. More on this at http://liipetti.net/erratic/2016/02/14/switching-to-a-smaller-net/ .
So if nothing else works, it is certainly worth giving a try.
Hannu


Autoreload and opening of a dedicated console sometimes fails with modules in subfolder

Problem Description
Autoreload of modules and opening a dedicated console sometimes fails when I have a program that imports modules from a subfolder in the same directory. I enabled "execute in a dedicated console" and UMR in the preferences. I also did a complete reinstall of Anaconda and Spyder.
What steps reproduce the problem?

I created a program "run_foo.py" and a folder "foo_folder" with a program "foo.py". The "run_foo.py" contains
from foo_folder import foo
if __name__ == '__main__':  print(foo.bar())
and the foo.py contains just
def bar():
     return 'Hello World'
I opened a new console and run the run_foo.py. I then changed the string in foo.py to something else, ran the run_foo.py again, then changed it back and ran it a third time.

What is the expected output? What do you see instead?
The first output was "Hello World" as expected. I changed the string to "Goodbye World", it showed in the console that it reloaded the "foo.py" and gave the correct output. But when I changed it a third time, it still printed "Goodbye World" and did not reload the module or open a new dedicated console.
Is this somehow expected behaviour? Because I don't see the consistency here.
Also, this never happened when I imported modules from the same directory.
Paste Traceback/Error Below (if applicable)
no traceback or other errors
Versions
Versions:
Windows 10 Pro v 1803
Python 3.7.3
Spyder 3.3.6
IPython 7.6.1

@dalthviz, are you able to reproduce this one?

@ccordoba12 I was able to reproduce this:

Great, thank you.


Resolve #1 -- Add Apache 2 license

@aleezaarc that is fine, this is the correct version of the APL2


Detailed website parsing

For SumUp and the training of our AI model it is beneficial, if we can aggregate information from a multitude of different data sources.
For an overview of current data sources see here: Data Source Table
Done?

Required fields (orange) in Data Sources table have been filled out
Implementation is able to retrieve supported features that are not marked as unimplemented

Except for common parsing, there is also the option of letting GPT do the work (compare #85)