speedtest.py not a accurate read out

Hey guys I don't think your speedtest.py is giving a accurate picture since its in direct conflict with the speedtest.net site results when you run a speed test. I am getting a ping ms 0 / download Mbps 102.11 / Upload Mbps 0.73 and the tool says I am getting 28.73 Mbit/s down and 2.80 Mbits Up.
This is the result:
Retrieving speedtest.net configuration...
Testing from Bel Air Internet, LLC (<IP_ADDRESS>)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Sprint (Anaheim, CA) [16.72 km]: 11.851 ms
Testing download speed................................................................................
Download: 28.72 Mbit/s
Testing upload speed....................................................................................................
Upload: 2.80 Mbit/s
So either the code is pulling from a server farther away then the main site is or the speedtest.net sight is lying on there results and in turn I wonder if its safe to even pull data from the site.

Hi there!
Apologies for the late reply and thank you for submitting this issue.
We use speedtest-cli which whilst not as accurate as dedicated bandwidth testing tools allows us to get a feel for client's bandwidth and help diagnose issues related to Shotgun connectivity. There are a number of reasons you might see inconsistent results from those on speedtest.net, including:

Other devices on your network utilising bandwidth whilst a speedtest is being performed
Intermittent connectivity issues, especially if the test is performed from a WLAN client, for example
speedtest.net uses socket connections, whereas speedtest-cli uses HTTP
As speedtest-cli is written in Python, its performance can vary depending upon hardware capacity and Python interpreter version which can often mean it reports differently to the web-based speedtest.net

We download the latest speedtest-cli on demand when our connectivity tool is run, although if for any reason it can't be downloaded then an included cached version is used instead. We've updated this cached version in case this is what you were using. Please give it a go and let us know how you get on.
Kind regards,
Reece


Consider data descriptor offset when propagating memlets

This PR adds the data descriptor's offsets to the memlet propagation.

@acalotoiu I thought we were removing/deprecating offsets?

@acalotoiu I thought we were removing/deprecating offsets?

Yes - but while we intend to do that, actually removing them is not an engineering effort planned for the short or medium term. I propose we allow the fix for the current state for now.

@lukastruemper do you know why this is failing and could you please fix that? Thanks!


Error Can't save in background: fork: Invalid argument

I installed Redis v2.8.2400 with default setting. I run a scala code that does simple get/set command, sometimes it failed with error message:
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
This is the error message in redis log:
[4356] 26 Jan 01:43:22.418 # Can't save in background: fork: Invalid argument
[4356] 26 Jan 01:43:28.019 * 10 changes in 300 seconds. Saving...
[4356] 26 Jan 01:43:28.254 # BeginForkOperation: system error caught. error code=0x000005af, message=BeginForkOperation: VirtualProtect failed for the heap: unknown error

[4356] 26 Jan 01:43:28.255 # Can't save in background: fork: Invalid argument
[4356] 26 Jan 01:43:34.056 * 10 changes in 300 seconds. Saving...
[4356] 26 Jan 01:43:34.084 * Background saving started by pid 8492
[4356] 26 Jan 01:43:34.284 # fork operation complete
[4356] 26 Jan 01:43:34.350 * Background saving terminated with success

What could that mean?
Found by googling, we can use solution:
config set stop-writes-on-bgsave-error no
But I wonder if there is alternative solution without disabling stop writes. I read something about maxheap, should I set the maxheap setting in conf file?

Hi @sdiwu
setting maxmemory and/or maxheap should help.
Please take a look at the documentation https://github.com/MSOpenTech/redis/wiki/Memory-Configuration
Thank you.

Do you have suggestion what's the best maxmemory/maxheap setting? FYI my machine have 8GB memory.

@sdiwu
it depends on the usage, the minimum ration between maxheap and maxmemory is 1.5, but you may increase the ratio if you run into memory fragmentation issues.
Also consider the size of the system paging file to be at least 3.5 times the maxheap, but if you have other programs/services that use the system paging file heavily you need to increase its size accordingly.


Removed explicit Nothing.displayName in favor of the inferred name

break tests src/packages/recompose/tests/renderNothing-test.js

Codecov Report

Merging #415 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #415      +/-   ##
==========================================
- Coverage    88.8%   88.77%   -0.03%
==========================================
  Files          50       50
  Lines         375      374       -1
==========================================
- Hits          333      332       -1
  Misses         42       42

Impacted Files
Coverage Δ

src/packages/recompose/renderNothing.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@istarkov sorry for this one, I had impression that ive ran the tests. Would u like to receive a PR with tests being configured (with husky) as prepush hook?
Ive fixed the failing test.

Yes support of lint-staged with husky will be cool, have you checked does this work if we compose withProps and renderNothing, will we have the same displayName as it was?

Gonna send husky PR in a minute.
As to testing this one more - even the changed test should be rather removed as its kinda testing JS feature (inferred names) and React internal way of assigning a component's name.
Everything should work just fine with any composition as long as displayName is correctly set up for HOCs - but that has nothing to do with Nothing itself as its just a class component like any other.


FIX: Typo on README.md

@francoispqt This pull request fixes a typo on README.md over the sample code in the Decoding section.

Codecov Report

Merging #1 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #1   +/-   ##
=======================================
  Coverage   88.07%   88.07%
=======================================
  Files          18       18
  Lines        1308     1308
=======================================
  Hits         1152     1152
  Misses        117      117
  Partials       39       39

Continue to review full report at Codecov.

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


A dictionary with language variants

We may be able to do an infinite number of translations like this. This could be applied to any program.
Below code is just an example.
if lang == "cz":
        dictionary{"hello"} = "ahoj"
        dictionary{"world"} = "svět"
else:
        dictionary{"hello"} = "hello"
        dictionary{"world"} = "world"
print (dictionary.get("hello"),dictionary.get("world"))

Also there would have to be some mechanism to support inflection (skloňování).
Example would print "ahoj svět" instead of the desired "Ahoj světe!")


[ENH] physical models

This is an off-road PR to include (astro)physical models to the library for fitting. Some models that might be included are,
Models

[ ] Sersic profile
[ ] Spherical model

Will be worked on separate repository


Bing Maps Labels Only

Description
Added a new Sandcastle example, Bing Maps Labels Only, which demonstrates using the Cesium ion imagery asset of the same name. Local link: http://localhost:8080/Apps/Sandcastle/index.html?src=Bing Maps Labels Only.html&label=New in 1.112
Issue number and link
No number.
Testing plan
Browse to http://localhost:8080/Apps/Sandcastle/index.html?src=Bing Maps Labels Only.html&label=New in 1.112, proofread it, and ensure it works as the comments specify.
Author checklist

[x] I have submitted a Contributor License Agreement
[x] I have added my name to CONTRIBUTORS.md
[x] I have updated CHANGES.md with a short summary of my change
[ ] N/A I have added or updated unit tests to ensure consistent code coverage
[ ] N/A I have update the inline documentation, and included code examples where relevant
[X] I have performed a self-review of my code

Thanks, @ggetz Addressed all comments.

Thanks @mramato!


Bug

Describe the bug
Roku Plex Player Returns Error: Failed to Call Service rest_command pmha_playmedia. Service not found.
No commands are received or executed by Roku Plex Player.
Screenshots
If applicable, add screenshots to help explain your problem.
If this is a network error, please open network tab in your browser developer tools and paste in as much information as possible about the failing request. This will make it a lot easier to help you as soon as possible.
Checks
Please check below if true:
[ x] I am running Home Assistant on HTTP protocol
[ ] I am running BOTH Home Assistant AND Plex on HTTPS protocol
[ x] My Plex server is accessible through protocol, port and ip/hostname I have specified for the card.
[ ] My Plex server is running on HTTPS and has a valid certificate.
Card Configuration
type: custom:plex-meets-homeassistant
protocol: http
sort: titleSort:asc
playTrailer: false
showExtras: true
showSearch: true
ip: 192.**************
token: Wg******************
port: '32400'
entity:

plexPlayer | 75" Hisense Roku TV | 192.******** |
5b62e75**********************
libraryName: Movies
maxCount: ''
maxRows: ''
useHorizontalScroll: 'No'
useShuffle: 'No'
displayTitleMain: 'Yes'
displaySubtitleMain: 'Yes'
minWidth: ''
minEpisodeWidth: ''
minExpandedWidth: ''
fontSize1: ''
fontSize2: ''
fontSize3: ''
fontSize4: ''
minExpandedHeight: ''
title: ''
runBefore: ''
runAfter: ''

Card Version
3.6.5
Plex Version
Roku Plex Player 7.0.30
Device information
Android and IOS HA App
Chrome

Duplicate https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/82 .


Unit random quaternion

I separated this change to make unit random quaternions work because UnitRandom() doesn't seem to work on every platform once it was specifically added in 4165a39. I was able to test and verify it works on my local machine. Perhaps this is an eigen version difference?
Merge https://github.com/jrl-umi3218/Eigen3ToPython/pull/15 before this.

closing in favor of https://github.com/jrl-umi3218/Eigen3ToPython/pull/15


Incompatibility with background fetch

We cleared the issue in our fork. Please update.
https://github.com/mohamedameer020/flutter_barcode_reader/commit/59cf3623623fadd0e420bd6c92bea58b6de8cf69

@mohamedameer020 Thanks, works like a charm

Should be solved in the latest release


Honor macOS "Show scrollbars only when scrolling" setting

Fixes https://github.com/atom/atom/issues/15442
Previously, we were hiding scrollbars when their height/width was 0. On macOS, however, users can decide to only show scrollbars while scrolling, which causes Atom to detect scrollbars as being invisible during measurements. As a result, we were mistakenly setting the visibility property to hidden when this setting was on, thus preventing users from seeing the scrollbar on scroll.
With this pull-request we are:

Changing the dummy scrollbar components to only become invisible when the content is not scrollable rather than when the scrollbars have zero width or height.
Moving DummyScrollbarComponent back into its own GPU layer. This was a workaround that got added back in bac9922 and it's needed in order for scrollbars to be shown properly when the "Show scrollbars only when scrolling" setting is on.
Renaming the is{Horizontal,Vertical}ScrollbarVisible functions to canScroll{Horizontally,Vertically}, to better express their intent. In fact, if the content is scrollable it doesn't necessarily mean that the scrollbar is also visible.

/cc: @nathansobo @Ben3eeE @ungb @lee-dohm

:zap:

Confirmed working using Atom v1.22.0-dev-50088b16c on Mac OS X 10.12.6.

HOLY DAMN, THANK YOU!!!


Correct flush delay for 5 wiegand instances

Hello Paulo... i love your wiegand library!
I've checked it with different brands and devices and works pretty well
I'm here to ask if you could recommend a flush delay for managing 5 wiegand instances, i'm working with pin change interrupts
my loop code is as follow:
void loop()
{
   noInterrupts();
  wg0.flush();
  wg1.flush();
  wg2.flush();
  wg3.flush();
  wg4.flush();
  interrupts();
  delay(100);
}

Glad you like it!
The delay is just a placeholder for "other stuff" in your sketch -- feel free to skip it.
In fact, I have a WIP change (which I had completely forgot about) where setPinState tells you if/when to call flush, so that you could use some sort of scheduler instead of a fixed loop. I'll try to get that working soon :)

that would be great! and also would free a lot of code, but when I omit that delay the library will truncate the data and/or output errors. Also I don't run any other code in my loop


Install mothur

We want to get mothur for aligning sequences and perhaps other fucntions throughout the project. Should install into code/mothur/. Also, we don't want to track with version control, so we should have the repository ignore the directory. Because of this, we should leave instructions in code/README.md and we should indicate the version of mothur in a list of dependencies in README.md. The latest version of mothur is v.1.48.0..

Closed in 4f881c1


[embeddingapi] Add usecase to check onCreateInputConnection method in…

… XWalkView
-Add usecase to check onCreateInputConnection method in XWalkView
-cover the XWalkViewActivity and XWalkInitializer two ways
Impacted tests(approved): new 1, update 0, delete 0
Unit test platform: [Android]
Unit test result summary: pass 1, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/XWALK-4375

@jennycao please help to review it.
Thanks.


Make it activate when having an item in the offhand if possible

The bedrock technical resource pack already does this. I dont know how hard it is to implement, but it would be nice to have it for servers that dont allow armor stands
https://github.com/RavinMaddHatter/Bedrock-Technical-Resource-Pack

This wouldn't work for structura I don't think...
On Sun, Jun 16, 2024, 12:17 AM notndricim @.***> wrote:

The bedrock technical resource pack already does this. I dont know how
hard it is to implement, but it would be nice to have it for servers that
dont allow armor stands
—
Reply to this email directly, view it on GitHub
https://github.com/RavinMaddHatter/Structura/issues/220, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUC5BACKZF6JIK3HTF6B3ZHU3ZZAVCNFSM6AAAAABJMLPV7WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2TKNBZGM2DMNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add proxy support for files.download()

This should resolve the most basic version of https://github.com/Fizzadar/pyinfra/issues/888 - it'll support using a basic http proxy with files.download()  via the download parameter. It should work with curl and wget
In terms of tests, I need some guidance as I'm not understanding the dynamic nature of them in this project.

I just noticed that there's an ability to set global environment variables https://github.com/Fizzadar/pyinfra/issues/646#issuecomment-903298143

I just pushed a quick couple of tests up to get this out here: https://github.com/pyinfra-dev/pyinfra/pull/998/commits/b239dfd338b0f97ed286c2569c21202f0687c76b. Will be making sure the contributing guide is properly updated to document the test generation!


Changed mentions of Sherpa to Atlas, left filenames intact

What Changed

Fixed #197 and part of #52

What's Needed
nuthin'.
Screencaps

:+1:


CI (CircleCI) not working

Current setup is not working. There are no tasks for running specs and building dummy apps.

I would use travis, it's better when you need custom config.

let's use travis then.

Implemented in https://github.com/netguru/react_webpack_rails/pull/36


vinkla/pusher requires php 7

An update in the docs may be in order, as it looks like the vinkla/pusher package is not supporting 5.6.

i noticed this to, and i have phpv7 installed, but it still dont work.
php -v gives:
PHP 7.0.15 (cli) (built: Jan 23 2017 15:06:38) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
and running the composer require amranidev/scaffold-interface command gives this:
`Using version ^1.7 for amranidev/scaffold-interface
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laravel/framework (locked at v5.4.15, required as 5.4.*) -> satisfiable by laravel/framework[v5.4.15].
- vinkla/pusher 2.5.0 requires php ^7.0 -> your PHP version (5.6.28) does not satisfy that requirement.
- amranidev/scaffold-interface v1.7.0 requires vinkla/pusher ^2.4 -> satisfiable by vinkla/pusher[2.4.0, 2.5.0].
- amranidev/scaffold-interface v1.7.1 requires vinkla/pusher ^2.4 -> satisfiable by vinkla/pusher[2.4.0, 2.5.0].
- Conclusion: don't install vinkla/pusher 2.4.0
- Installation request for amranidev/scaffold-interface ^1.7 -> satisfiable by amranidev/scaffold-interface[v1.7.0, v1.7.1].
Installation failed, reverting ./composer.json to its original content.`

It looks like composer is using 5.6...that also happened to me.  I'm using wtserver on windows, and the composer.bat file that it creates was hard coded to using the 5.6 version.  Probably a similar issue for you.

ah, thanks, did not think of that.
Fixed it now by adding correct php version in my /.bash_profile

Hi Guys :smile:
vinkla/pusher is not longer supporting php 5.6
@jwjcmw feel free to submit any issue or pull request at scaffold-interface-docs
Thanks for opening this issue
cheers!!

Updated!!
check scaffold-interface docs #1
cheers !!


🐛 [firebase_database] Listener does not fire in emulator.

Bug report
I have a realtime database listener that will fire when I use it will the production database, but it does not fire with a local emulator.
Steps to reproduce
Here is my service class:
import 'package:firebase_database/firebase_database.dart';

class RealtimeDbService {
  FirebaseDatabase db = FirebaseDatabase.instance;

  RealtimeDbService() {
    // Comment this line out to run on the production database:
    db.useDatabaseEmulator("localhost", 9000);
  }

  void loadUser() {
    db.ref('foo').child('bar').onValue.listen((event) async {
      // In the production database, this listener will execute on a blank database.
      // However, in an emulator this listener does not fire.
      print(event);
    });
  }
}

Expected behavior
I would expect that with blank databases on production and the local emulator, my code would behave the same.  In this case, I would expect the listener to fire in both cases.  However, using the local emulator the listener does not fire.

Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1.1 23B81 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.84.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Flutter dependencies
Click To Expand
Dart SDK 3.2.0
Flutter SDK 3.16.0
health_challenge 1.0.0+1

dependencies:
- app_links 3.4.5 [flutter plugin_platform_interface flutter_web_plugins]
- cloud_firestore 4.12.2 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 4.5.3 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- collection 1.18.0
- firebase_auth 4.12.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.23.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_database 10.3.5 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- firebase_messaging 14.7.3 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine]
- flutter_signin_button 2.0.0 [flutter font_awesome_flutter]
- get 4.6.6 [flutter]
- google_sign_in 6.1.5 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- intl 0.18.1 [clock meta path]
- share_plus 7.2.1 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi win32]
- timeago 3.6.0 [intl]

dev dependencies:
- flutter_lints 3.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web]

transitive dependencies:
- _fe_analyzer_shared 61.0.0 [meta]
- _flutterfire_internals 1.3.13 [collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 5.13.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 2.4.2
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- clock 1.1.1
- cloud_firestore_platform_interface 6.0.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.8.3 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.5.6 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.6.6 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- convert 3.1.1 [typed_data]
- cross_file 0.3.3+6 [js meta]
- crypto 3.0.3 [typed_data]
- fake_async 1.3.1 [clock collection]
- ffi 2.1.0
- file 7.0.0 [meta path]
- firebase_auth_platform_interface 7.0.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.8.6 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.8.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_database_platform_interface 0.2.5+13 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.3+13 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- firebase_messaging_platform_interface 4.5.12 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.5.12 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web]
- font_awesome_flutter 9.2.0 [flutter]
- glob 2.1.2 [async collection file path string_scanner]
- google_identity_services_web 0.2.2 [js meta]
- google_sign_in_android 6.1.20 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.6.4 [flutter google_sign_in_platform_interface pigeon]
- google_sign_in_platform_interface 2.4.2 [flutter plugin_platform_interface quiver]
- google_sign_in_web 0.12.0+5 [flutter flutter_web_plugins google_identity_services_web google_sign_in_platform_interface http js]
- http 1.1.0 [async http_parser meta]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- js 0.6.7 [meta]
- lints 3.0.0
- matcher 0.12.16 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.5.0 [collection]
- meta 1.10.0
- mime 1.0.4
- package_config 2.1.0 [path]
- path 1.8.3
- path_provider 2.1.1 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- path_provider_android 2.2.1 [flutter path_provider_platform_interface]
- path_provider_foundation 2.3.1 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.1 [flutter platform plugin_platform_interface]
- path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32]
- pigeon 11.0.1 [analyzer args collection meta path yaml]
- platform 3.1.3
- plugin_platform_interface 2.1.6 [meta]
- pub_semver 2.1.4 [collection meta]
- quiver 3.2.1 [matcher]
- share_plus_platform_interface 3.3.1 [cross_file flutter meta mime plugin_platform_interface path_provider uuid]
- sky_engine 0.0.99
- source_span 1.10.0 [collection path term_glyph]
- sprintf 7.0.0
- stack_trace 1.11.1 [path]
- stream_channel 2.1.2 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- typed_data 1.3.2 [collection]
- url_launcher_linux 3.1.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.2.0 [flutter plugin_platform_interface]
- url_launcher_web 2.2.0 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.1.0 [flutter url_launcher_platform_interface]
- uuid 4.1.0 [crypto sprintf]
- vector_math 2.1.4
- watcher 1.1.0 [async path]
- web 0.3.0
- win32 5.0.9 [ffi]
- xdg_directories 1.0.3 [meta path]
- yaml 3.1.2 [collection source_span string_scanner]

Thanks for the report @jonbhanson
Can you take a look at the plugin example's usage and implementation of the local emulator and check if using it, you get same behavior or not ?

I think I figured it out.  in both Firebase Function's useFunctionsEmulator and Firebase Firestore's useFirestoreEmulator it is possible to pass localhost while using an Android emulator as those methods map localhost to <IP_ADDRESS>.  However, Firebase Database's useDatabaseEmulator does not remap localhost, so my app was not connecting to the database.

Good to know the issue is resolved. Closing as such.

but it would be nice if the remap feature could be added to the Realtime Database.

You may file a new feature request so that we can address it properly.


Can I convert this into ONNX and then to Tensor RT ?

Please help me in getting the model file

no idea about onnx or tensor rt


Update jquery.balloon.js

Tip Position:
tipPosition: 2,
// 2 - center | 7 - more left | 1.2 - more right

It's very nice enahancement. Thanks.


what is missing for std.serialization?

From the review document I can see that your todo list was:
  My todo list looks like this:
       - write an overview documentation
       - improve the documentation for std.serialization.serializable to
         indicate it's not required
       - implement a convenience function for serializing
       - implement a convenience function for serializing to a file
       - remove Serializeable
       - check only for "toData" when serializing
       - check only for "fromData" when deserializing
       - split Serializer in to two parts
       - make the parts structs
       - possibly provide class wrappers
       - split Archive in two parts
       - add range interface to Serializer and Archive
       - rename all archives to archivers
       - replace ddoc comments with regular comments for all package protected
         symbols

is this still up-to-date and how can we best help you to improve this, s.t. it will eventually find its way to Phobos?

What's been done is:

split Serializer in to two parts
split Archive in two parts
rename all archives to archivers
add range interface to Serializer and Archive (I think this is done)
make the parts structs (partially, the serializer is a struct the rest are still classes)

Currently I'm in the process of updating the tests to use the serializer as a struct. I'm not sure how easy it is to work multiple developers on this at the current stage. The biggest issues is time, I've been mostly working on other projects. Later it will be very helpful with code review and implementing additional archivers.


Ignore architecture when adding or subtracting NodeResources

Need to solve this long-term, but ignore for now as provisoning will
not work as this is now.

Code which does arithmetic on NodeResources where compatibility doesn't matter should call justNumbers() on the NodeResource instances first.

Retry in https://github.com/vespa-engine/vespa/pull/21736


feat(tikv/raft-engine): enable trigger and common plugins

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
What's Changed:
How it Works:

/approve

/approve


DateFormat Format and Parse should be reversible

Originally opened as dart-lang/sdk#10173
This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Using the DataFormat class, format a date to a String without any delimiters. Like so, new DateFormat("yyyyMMddHHmm")
Using the same DateFormat, parse the output string from the first step.
3.

What is the expected output? What do you see instead?
I should have the same DateTime that I just formatted. DateFormat Format and Parse should be reversible.
What version of the product are you using? On what operating system?
Dart Editor version 0.5.0_r21823
Dart SDK version <IP_ADDRESS>_r21823
Please provide any additional information below.
Link to Code on GitHub Gist, https://gist.github.com/amscotti/5451406

 Comment by alan-knight

It can't in general be reversible, because information may be lost, particularly if you don't use delimiters. For example, consider
import "package:intl/intl.dart";
main() {
  var jan = new DateTime(2013, 1, 1, 11, 11);
  var nov = new DateTime(2013, 11, 11, 1, 1);
  var f = new DateFormat("yyyMdHm");
  print(jan);
  print(f.format(jan));
  print(nov);
  print(f.format(nov));
}
The current implementation is pretty simple in that it assumes there will be delimiters and it can just read the next integer, regardless of the field width. However, the rules regarding field width are complicated, so you can't just use the width. e.g. "yyy" prints 2013, and "m" prints 11. I think about the best we could do would be that if the width is known to be as wide as the maximum, we could parse that many characters.

 Comment by kasperl

Looks like an issue with the intl package?

cc @alan-knight.
Added Area-Pkg, Triaged labels.

 Comment by sethladd

Removed Type-Defect, Priority-Medium labels.
Added Type-Enhancement, Priority-Low, Pkg-Intl labels.

 Comment by alan-knight

I think I would go further and call this not planned, given that it's a lossy transformation.

Added NotPlanned label.


Older API Level Compatibility

There's a reference to org.json.JSONArray which doesn't exist until API Level 19.
I was experiencing strange issues with an unrelated but identical GCM implementation where things wouldn't fire on older API levels (14, 15), this probably was the source of all these problems.

@vbresults In the latest version 0.1.0 we aimed for removing such dependencies. Do not hesitate to report such feedback again. Thank you.


Header of each adoc file can't show in the right side

I translate the adoc text to HTML in scripts/index.js with some options (translate_options variable). The translate option is based on freebsd-doc/documentation/tools/asciidoctor.sh. But the header is gone.

It seems it is because "skip-front-matter" attribute while asciidoctor converts the .adoc file. So this is a normal condition. But the HTML freebsd-doc generated has a h1 tag about this. I think freebsd-doc has some action about this but I don't know what it does.
Overall we may have an additional action to add a h1 tag manually to the right HTML window.

The HTML generated by freebsd-doc make html has an h1 tag. I take a little time to look at the makefile it uses Hugo to generate HTML but I a not familiar with that.
Finally, I find asciidcotor.js has a function to get the title, so I rewrite index.js to get the tile and ad the h1 tag manually.


Intellisense inside code snippet fields

When a code snippet is inserted, for instance, in python:

No autocompletion is provided in the field (the shaded part). I think it would be better to show the autocompletion drop-down menu even inside the code snippets (or at least, an option to turn that feature on).

When a snippet is active, IntelliSense as you type (aka quick suggestions) is disabled. That is because there is a conflict between the Tab-key which moves to the next placeholder but also accepts a completion. You wouldn't be able to type in a placeholder and then move to the next placeholder as you would accept a suggestion then. You have the following options

change the default via the editor.suggest.snippetsPreventQuickSuggestions-setting
in snippets trigger suggestions manually (via Ctrl+Space, Alt+ESC (macOS), or ctrl/cmd+i)

Thank you for such a fast feedback. I didn't knew that there was already a setting related to this!

I think snippetsPreventQuickSuggestions should be false by default. I hardly use snippet tab switching. Can' t it just prioritize completion over move to next placeholder by default?


Fix package dependency urls that have been changed

This package fails to build due to the dependencies which are renamed.
This PR fixes this problem.

not working in latest xcode
use this: https://github.com/Sling-Inc/Sliders-SwiftUI.git
target xcode14 branch


control_test_suite.nim compilation error

Hi,
Specs:

Windows 10: x64
Nim: a little behind devel
naygui: fresh nimble install

Compiling with nim c control_test_suite throws:
E:\Nim\naylib\test\controls_test_suite.nim(146, 41) Error: type mismatch
Expression: guiGetStyle(Default, int32(BackgroundColor))
  [1] Default: GuiControl
  [2] int32(BackgroundColor): int32

Expected one of (first mismatch at [position]):
[2] proc guiGetStyle[P: GuiStyleProperty](control: GuiControl; property: P): int32

Also tried the examples/scroll_panel.nim and that one works.

Remove the int32 type conversion. Your file must be outdated.


vm not getting ip from br0

Hi, I have followed the instructions as per https://github.com/rancher/vm/blob/master/docs/networking.md to setup my own ip. It does work with the following manual steps after the VM have been created.

my DHCP could not set the IP due to VN name is localhost, so i need to change the hostname
I have to run dhclient before get the IP

Any workaround without manually doing the above 2 steps?

Seems the same as #89


Castle Windsor Examples Bugfix

Writing exception types in exception handlers is not needed because LogExceptionAction should be logging the exception type before executing the exception handlers. This is actually a bug created in examples by one of my merge requests, so please include this fix also.
If some examples do not work so well anymore it is only because they never worked so well before because LogExceptionAction is not running or not running in proper order (only if  LogExceptionAction is handled first before other exception handlers it logs anything, because in the wrong order the exception is already handled and it never runs LogExceptionAction code).
The files having the bug that affect all examples:

samples/MediatR.Examples/ExceptionHandler/ExceptionsHandlers.cs
samples/MediatR.Examples/ExceptionHandler/ExceptionsHandlersOverrides.cs
samples/MediatR.Examples/Runner.cs

Fix to Castle Windsor implementation only is in the following file:

samples/MediatR.Examples.Windsor/Program.cs

Merge request with the fix: https://github.com/jbogard/MediatR/pull/744

@jbogard, I've seen you approved the #744 pull request.
There are a few bigger differences but they're only method extraction that isn't compared properly.
Could you please look into it more and either comment what is missing from the development or merge it?
Thank you!


Rubocop 0.52.0

Updated docs are included.

@chrishulton I also intend to promote it to stable. This is a rather safe upgrade from 0.51. 0.51 was tested for a while now.
Would you like to reevaluate your decision? 😄

@pointlessone Ah, ok.  I think that's reasonable.  I'd suggest trying a few runs of the channel before promoting just as a sanity check, you should be able to do that via CLI.  If that looks good, LGTM.


package idea: @node-rs/symphonia

Symphonia is a pure Rust audio decoding and media demuxing library supporting AAC, ALAC, FLAC, MKV, MP3, MP4, OGG, Vorbis, WAV, and WebM.

https://github.com/pdeljanov/Symphonia

https://www.npmjs.com/package/@tropicbliss/symphonia


[Keywords Request ] Adding some keywords which are mentioned below in our FLauiLIbrary will help.

ValuePattern-IsSelected.
Get Current Window
Wait Until my Entire window loads
Switch Between UIA2 and UIA3
Find All Elements(This should find all elements those are having similar xpath and this should return as a list. Based on requirement we can perform action in any element in that list)
Close Application using Application name as of now we can only close with Application Process ID

Hi, @vamsivarma94 . As i have used FlauiLIbrary a few months (i am user too, not author), I have some ideas for your questions

ValuePattern-IsSelected. Do you mean add "IS_SELECTED" into keyword "Get Property From Element"
Get Current Window is hard to achieve. Because there has no correct property of a window can explain that the window is on top. So you should know which window is on top when it runs in which testcase step.
Wait Until Entire Window Loads. I suggest you can use keyword "Wait Until Element Is Enabled" , when the last element of Window is Enabled, Window is loaded over.
I did not know anything about  Switch Between UIA2 and UIA3.
Find All Elements. If your elements are belong to a same father element, you can use keyword "Get Childs From Element" to see does it can achieve your requirement. In current design, robotframe-flaui always returns the first one element of when all elements have similar xpath.
Close Application you can use element xpath like /Window[@Name="your application name"]

Hi,
@JimRevolutionist  thanks to help.
I will analyze the requested keywords which can help you and give a feedback about it. However, Jim did a good job of describing some approaches.
I would try to implement most of the keyword for the next release as much as possible.

@JimRevolutionist and @Nepitwin Thanks a lot for your quick update on this. I think we can still include few keywords in that library which will help us in utilizing this library completely.

[ ] ValuePattern-IsSelected.

[ ] Switch Between UIA2 and UIA3

[ ] Get Current Window

[ ] Wait Until my Entire window loads

[ ] Find All Elements(This should find all elements those are having similar xpath and this should return as a list. Based on requirement we can perform action in any element in that list)

[ ] Close Application using Application name as of now we can only close with Application Process ID

Implemented keywords from this issue

[x]  ValuePattern-IsSelected.
[x]  Switch Between UIA2 and UIA3 : #124
[x ]  Close Application using Application name as of now we can only close with Application Process ID : #125

ToDos

[ ]  Get Current Window
[ ]  Wait Until my Entire window loads
[ ]  Find All Elements(This should find all elements those are having similar xpath and this should return as a list. Based on requirement we can perform action in any element in that list)

Find All Elements will be implemented to return an AutomationEntity class whcih contains AutomationId, Name, ClassName, and Xpath which contains a list from all founded elements.
But be carefully https://github.com/FlaUI/FlaUI/blob/2eb0f7cd0ec7896f5eeddd6263ffbc42f9168df9/src/FlaUI.Core/Debug.cs#L19
will be used which is an heavy Tree Walker Operation to get full Xpath from elements.

Wait Until my Entire window loads keyword can not be identified if window is fully loaded.
But probably the WindowsInteractionState Property from Window can help.
This contains a ReadyForUserInteraction this could be used to idendity that the window is ready to use.
See documentation in https://gdatasoftwareag.github.io/robotframework-flaui/keywords/2.0.13.html#Window Interaction State Should Be
So keyword will not be implemented here.

Implemented keywords from this issue

[x] ValuePattern-IsSelected.
[x] Switch Between UIA2 and UIA3
[ x] Close Application using Application name as of now we can only close with Application Process ID
[x] Find All Elements(This should find all elements those are having similar xpath and this should return as a list. Based on requirement we can perform action in any element in that list)

Not implemented

[ ] Wait Until my Entire window loads

ToDos

[ ] Get Current Window

Implemented keywords from this issue

[x]  ValuePattern-IsSelected ：should be corectly defined as SelectionItem.Pattern.IsSelected #128
[x]  Switch Between UIA2 and UIA3 : #124
[x]  Close Application using Application name as of now we can only close with Application Process ID : #125
[x]  Find All Elements : #126

Not implemented

[x]  Wait Until my Entire window loads

ToDos

[ ]  Get Current Window

Implemented keywords from this issue

[x] ValuePattern-IsSelected.
[x] Switch Between UIA2 and UIA3
[x] Close Application using Application name as of now we can only close with Application Process ID
[x] Find All Elements(This should find all elements those are having similar xpath and this should return as a list. Based on requirement we can perform action in any element in that list)

Not implemented

[x] Wait Until my Entire window loads
[x] Get Current Window

Get current window can not be implemented because we do not have any indicator here which modal window is at front. So developers has to know which desktop ui currently is at front. On possibility to force it is to use Focus Keyword.
If advices exists for the two keywords pls reopen an new issue here. All other keywords are implemeted and can be used in future release.


[FEATURE REQUEST] Download peoples journeys

A HTML site, which will display all the journey's by coders, that if tapped, you can view the persons journey in the browser, choose to download a txt file of it.
It's a little of the concepts from Linkfree but not really.

-- that's a great idea man!
Loved it!
Let's do this 😃😃
But I don't know web development, so we have to bring out some open source web developers 🙂
Who can contribute to this project

I you know anyone, kindly refer them to contribute 😃

-- that's a great idea man! Loved it! Let's do this 😃😃
But I don't know web development, so you can work on that or we have to bring out some open source web developers 🙂 Who can contribute to this project

I can code the HTML, CSS part of it, the suggestion only needs that much, I'm not that good at JS, I'll get to work on this during the week, but for now I suggest you learn some Web Dev, in your free time!

-- okay , i am gonna try to manage to learn it !
-- wait a minute,  i have to  find someone who knows javascript well and can work with us on this project :)

-- okay , i am gonna try to manage to learn it !
-- wait a minute, i have to find someone who knows javascript well and can work with us on this project :)

ok cool!

@Adarsh-jaiss Please refer to https://github.com/Adarsh-jaiss/journey-book/discussions/19

@Adarsh-jaiss Okay, I need you to decide on the following:
Options
a) Web Dev to individually add a page for every persons journey, to download the stuff
b) Web Dev to code a bot to automatically, link the stuff from .json/.md files into the website (this will take much more work)
I can work on a for now, the issue with a is I need to be available anytime a user adds a journey, with b it takes time in the beginning but the end result is great, but idk how to do b, I can do a as that is basic.

we should go for the 2nd one because it will save a lot of time in future

we should go for the 2nd option (b) because it will save a lot of time in future

True, I can't do that tho , as I said.. I can work on the basic design of the site though.

tell me one thing, is there any way that in future if we want to migrate from option (A) to(B) . so is that possible or not?

we should go for the 2nd option (b) because it will save a lot of time in future

True, I can't do that tho , as I said.. I can work on the basic design of the site though.

tell me one thing, is there any way that in future if we want to migrate from option (A) to(B) . so is that possible or not?

Idrk, but yeah ig.

I would still suggest we do b first, but that will need other help, as I know how to do a, you don't know web dev

then let's do "B". I have messaged a web developer. waiting for her reply.
here's is here id: https://github.com/riti2409

I would still suggest we do b first, but that will need other help, as I know how to do a, you don't know web dev

then let's do "B". I have messaged a web developer. waiting for her reply.
here's is her id: https://github.com/riti2409

Ok cool! You can message @TechStudent10 too on their README.md repo in discussions tab, they may be down to help, but their a little busy these days!

I would still suggest we do b first, but that will need other help, as I know how to do a, you don't know web dev

then let's do "B". I have messaged a web developer. waiting for her reply.
here's is her id: https://github.com/riti2409

Ok cool! You can message @TechStudent11 too on their README.md repo in discussions tab, they may be down to help, but their a little busy these days with school, etc!

You can also contact @aliraza944 for JS help.

-- thanks for sharing
-- I am going to approach them tomorrow 🙂

-- thanks for sharing -- I am going to approach them tomorrow 🙂

Ok! You can tell them, I recommended them to you!

I have approached @Techstudent11 for help, waiting for his reply🙂

I have approached @TechStudent11 for help, waiting for his reply🙂

Yup, got a email notific on that.

Created the "website" branch in this repo to work on this. @Adarsh-jaiss Please host that branch on Netlify, or I think I may be able to do so.

Created the "website" branch in this repo to work on this. @Adarsh-jaiss Please host that branch on Netlify, or I think I may be able to do so.

No, I can't.. Please host that branch on netlify, if you need any help you can reach out.

Can you tell me how can I do that?

Tell me the steps or processes

Can you tell me how can I do that?

Sure, but I've already setup my account so it may be wrong

Sign Up to https://app.netlify.com/
Go to https://app.netlify.com/start
Tap GitHub
Autorize Netlify to access your github
It will take you to Netlify, tap this repo name
Set branch to deploy as "website
Go down to the page and say deploy site

Then, the site will deploy and any commits made to "website" will auto be deployed, although to change the domain name there are further instructions, for now you do the above.

Okay -- link me the branch

Okay -- link me the branch

Netlify already knows the branches, you just need to tap where it says "main" under Branch and set it to website.

Okay

What should I fill in the my first project section

What should I fill in the my first project section

Please send ss,

Documentation & knowledge base
Or blog

Or something else

Documentation & knowledge base Or blog

Send screenshot, can't understand.

@Adarsh-jaiss Please come here: https://github.com/Adarsh-jaiss/journey-book/discussions/24

Uploading IMG_20220310_121449.jpg…

Think you need to wait for it to upload then comment xD

So you want to be able to do is to download whatever "journey" a user has created.
So a couple of things

Are you willing to

build a server?
deal with the client/server model?
build an entire database?

If so, I would be willing to help.

Yeah, that is all we want 😃

So you want to be able to do is to download whatever "journey" a user has created.
So a couple of things

Are you willing to

build a server?
deal with the client/server model?
build an entire database?

If so, I would be willing to help.

Let's do this guies 😃😃😃😃

So you want to be able to do is to download whatever "journey" a user has created.
So a couple of things

Are you willing to

build a server?
deal with the client/server model?
build an entire database?

If so, I would be willing to help.

Let's do this guies 😃😃😃😃

I'm a noob, can only do basic HTML, CSS, can't do any of this, sadly :(

@KendallDoesCoding  it's okay bro 🤜 :)

let's divide the work according to our skill sets, so it will be easy to work on🙂

Ok then here's what you need to do (I am not going to code the entire thing for you).

Learn how to create a server in your preferred language (JavaScript, Python, Ruby on Rails, etc.)
Connect a database (i.e MongoDB, Postgres, SQLite, etc.) to your server
Connect the frontend (in this case, your website) to the backend (your server).

You can then download the journeys by sending the user to a link on your server to download the journey in the database. You would also need to update your code to store and retrieve user's journeys using your server/database. You also need to handle differentiating different users (e.g creating users, session ID's, etc.).

Now some recommendations;
As for the server, you might want to get started using JavaScript, more specifically NodeJS. If you don't know what that is, here's my video on NodeJS and a more detailed one by Fireship:
My video: https://www.youtube.com/watch?v=ykvbkhZ6et0
Fireship's video: https://www.youtube.com/watch?v=ENrzD9HAZK4
You should use the Express library for the server.

For the database, you have two options. Number 1, an SQL database. SQL (if you don't know) stands for Structured Query Language and is used in a lot of server and database application. Your second option is a NoSQL or JSON (JavaScript Object Notation) database. Two example of a NoSQL database are MongoDB and Firebase. They both use JSON and are much easier to work with because they require little work on the server side.

Some resources to get you started
Server software
Express - https://expressjs.com/
NodeJS - https://nodejs.org/
Databases
MongoDB - https://www.mongodb.com/
Fireship - https://console.firebase.google.com
Hosting (you'll need it for the server, you could also use Firebase Hosting)
Heroku - https://heroku.com
Netlify - https://netlify.com

Happy Coding.

Ok then here's what you need to do (I am not going to code the entire thing for you).

Learn how to create a server in your preferred language (JavaScript, Python, Ruby on Rails, etc.)
Connect a database (i.e MongoDB, Postgres, SQLite, etc.) to your server
Connect the frontend (in this case, your website) to the backend (your server).

You can then download the journeys by sending the user to a link on your server to download the journey in the database. You would also need to update your code to store and retrieve user's journeys using your server/database. You also need to handle differentiating different users (e.g creating users, session ID's, etc.).
Now some recommendations;
As for the server, you might want to get started using JavaScript, more specifically NodeJS. If you don't know what that is, here's my video on NodeJS and a more detailed one by Fireship:
My video: https://www.youtube.com/watch?v=ykvbkhZ6et0 Fireship's video: https://www.youtube.com/watch?v=ENrzD9HAZK4
You should use the Express library for the server.
For the database, you have two options. Number 1, an SQL database. SQL (if you don't know) stands for Structured Query Language and is used in a lot of server and database application. Your second option is a NoSQL or JSON (JavaScript Object Notation) database. Two example of a NoSQL database are MongoDB and Firebase. They both use JSON and are much easier to work with because they require little work on the server side.
Some resources to get you started
Server software Express - https://expressjs.com/ NodeJS - https://nodejs.org/
Databases MongoDB - https://www.mongodb.com/ Fireship - https://console.firebase.google.com
Hosting (you'll need it for the server, you could also use Firebase Hosting) Heroku - https://heroku.com Netlify - https://netlify.com
Happy Coding.

This seems like a lot of work.

Hosting (you'll need it for the server, you could also use Firebase Hosting)
Heroku - https://heroku.com/
Netlify - https://netlify.com/

It's already hosted on netlify, we just need to update the domain.
@Adarsh-jaiss You can invite more people to work on this based on their skill set, if you don't want to do every thing, but for now, I can help you with the HTML, CSS, @TechStudent11 can help you when you do the listed by him for the JS.

Okay great :)
Now here's the roadmap and i am going to find someone who can do this with us :)

Any update on this @Adarsh-jaiss ?

Some are interested but they are busy because of their semester exams. After exams they will work on this.
-- i have found someone who can create database And code javascript for the website :)
-- i am going to remind them about this :)
@KendallDoesCoding

Ok cool!
Even I'm busy with my final exams, will be free on the 9th April!

If you really just get stuck, I could provide some help.

-- sounds great :)

Hi, guys! I am currently studying the React. I didn't work with the database. Is it possible to learn this in a short time? And I have a question, what exactly am I need to do? I'll try

Can you write some javascript code for the website since @KendallDoesCoding will take care of html and css. And for the rest @TechStudent11  can help us Or guide us🙂

@Gbeka Are you free to begin work now?

@vikasganiga05 can you code javascript for this project 😃 ?

@vikasganiga05 can you code javascript for this project smiley ?

Hi, I love to work on the JavaScript part. I will read this thread very soon. Vanilla JS or any framework?
Thank You :pray:

@vikasganiga05 can you code javascript for this project smiley ?

Hi, I love to work on the JavaScript part. I will read this thread very soon. Vanilla JS or any framework? Thank You 🙏

vanilla JS

Hi, Sorry for the late reply. I like to work on this project. Let's start a new discussion on this topic.

-- @KendallDoesCoding  will help you with that 😃

Hi, Sorry for the late reply. I like to work on this project. Let's start a new discussion on this topic. Where we can discuss what features to be implemented and other stuff.

Yup ofc, should I make the discussion or will you?

Hi, Sorry for the late reply. I like to work on this project. Let's start a new discussion on this topic. Where we can discuss what features to be implemented and other stuff.

Yup ofc, should I make the discussion or will you?

Please can you create a discussion?

Hi, Sorry for the late reply. I like to work on this project. Let's start a new discussion on this topic. Where we can discuss what features to be implemented and other stuff.

Yup ofc, should I make the discussion or will you?

Please can you create a discussion?

Sure! I made #32, hope that works!

Hi, Sorry for the late reply. I like to work on this project. Let's start a new discussion on this topic. Where we can discuss what features to be implemented and other stuff.

Yup ofc, should I make the discussion or will you?

Please can you create a discussion?

Sure! I made #32, hope that works!

Thanks You :pray:

@shourgamer2 - do you know web dev/JS, can you help me or @vikasganiga05 with this website?

I would be able to help out. If you have discord I respond fastest on discord add me cojored#2177.

I would be able to help out. If you have discord I respond fastest on discord add me cojored#2177.

Hi. We have made a discussion (#32 ) do discuss on this. While discord works, I and others ig prefer to talk via GitHub Discussions, as it keeps everyone up to date, including new contributors, who may not have discord, and have just found the project, if you get what I mean :)


Toast: Shows null for title and caption in IE11

Detailed description

Describe in detail the issue you're having.

Running the following code works fine in all browsers but IE11 shows additional content
    const bannerContent = {
      title: message.message,
      type: message.type === MessageType.Error ? "error" : "info",
      target: "#toast-root",
      duration: message.duration,
    };

    this.bannerService.showToast(bannerContent);

[ ] Fix null showing in the notification body
[ ] Fix notification context doesn't wrap

Is this a feature request (new component, new icon), a bug, or a general issue?

Bug

Is this issue related to a specific component?

Toast

What browser are you working in?

IE11

What version of the Carbon Design System are you using?

2.0.3 with 9.46.0 of carbon-components

There are a couple of issues in the Toast documentation

'type' does not support danger
Toast does not support message

@cal-smith we have also run into this issue. Can this be fixed soon as we are planning our first public release in the next month.

Yep, let me look into it

Testing locally, I'm not seeing the null issue, so that appears to be resolved.
The line wrapping issue is a bit more complex, and something that should be dealt with in CSS ... either at the carbon-components level or your apps level. I don't want to hardcode something, because the word-break behavior is going to be different for each application.
for example:
default (correct if there are normal sized "words", but obviously broken here):

word-break: break-all; (correct if you don't mind words wrapping in the middle, possible fix for Stan's issue):

word-break: break-word; (correct if you're words aren't super long, and you don't want them to break in the middle):

you can target .bx--toast-notification__title to apply the word-break style ... and it's supported in IE11 :+1:

I'll still make a PR for the docs issue


Sticking to specific dogapi version is breaking existing setups

The following changes https://github.com/DataDog/chef-handler-datadog/blob/88b36fa5702f4f258beb9758b888c91e695ef6f0/chef-handler-datadog.gemspec#L18 is breaking existing setup.
Unable to activate chef-handler-datadog-0.12.3, because dogapi-1.38.0 conflicts with dogapi (= 1.36.0)

Closed for inactivity.


Inconsistent naming related to RenderTarget/RenderTargetLayer between SFML and SDL binding

Needs to be analyzed and named consistently. SDL and SFML work very differently under the hood, so this might cause some ripples throughout the jamtemplate

One starting point might be the GfxImpl class.

SFML calls m_window.createRenderTarget() (which returns a RenderTargetLayer, which is a sf::RenderTexture) in GfxImpl::createZLayer()
SDL calls m_window.createRenderTarget() (which returns a RenderTargetLayer, which is a SDLRenderer) in the constructor.

Basically RenderTargetLayer means different things in SDL and SFML binding. This is inconsistent and should be reworked.


chore: allow empty query for find()

This patch lets you do a find query with collection.find(), without the need to pass an empty object (find({})).

@deanpress if we want to do this, we'll have to do the same for findOne. Also, feel free to update the API.md file, or else I can do that too
@vaultec81 you ok with this?

@vasa-develop

we'll have to do the same for findOne

I was considering this, but with many ORMs findOne always needs an argument (although I'm not sure how it works with MongoDB) as where findAll() does not. So I think it first needs to be decided what's expected in terms of args with findOne.

I am totally fine with this. We did fix a problem before with empty {}. This should be no different in principal.

@deanpress this example shows that findOne does support no-argument queries

I'll close this PR since AvionDB is getting a TS release and will make a new one once it's out.


Add unit test for BasicAuth

Coverage increased (+0.3%) to 86.455% when pulling add9acd0725d7b4bfe329c4eac2f85aab5a3daf9 on rifung:auth_test into bc5d4ac17be7f9af33683fe4ee3cb44ee89ac667 on pmorie:master.


myjenkins: Configure Global Security

Right now service myjenkins instantiates a default, unsecured Jenkins instance.
Study Jenkins Security mechanisms, then configure access control in myjenkins.
Example: Implement user authentication via GitHub

Fix via 5da9e91ee7416068c90581760256318f81579d52


Clarification (issues) with starting using V2

Hello there!
Today I started to configure and use postee v2.0.3 and I have some questions for you:

I saw that configuration of rego files are a bit different as was in version 1. For example: In my use case I had several rego files, which were checking response from Aquasec image scan. Based on image name (repository) I was sending response to concrete MS teams channel.
Example:

cfg.yaml
- name: msteam-teamA
  type: teams
  enable: true
  url: <url to concrete channel>
  Policy-Non-Compliant: true
  Policy-OPA: ["../rego/teamA-policy.rego"]

../rego/teamA-policy.rego
package postee
default allow = false
allow {
    regex.match("teamA/*", input.image)
}
allow {
    regex.match("teamAa-*", input.image)
}

Right now configuration is in a bit different way.
cfg.yaml
- name: msteam-naf
  input: |
    contains(input.image, "teamA/")
    contains(input.image, "teamAa-")
  outputs: [ msteam-teamA ]
  template: legacy

...
- name: msteam-teamA
  type: teams
  enable: true
  url: <url to concrete MS teams channel>

So, could you confirm if this "conversion" to v2 is good? Or how could I check if concrete scanned image name is teamA/... OR teamAa- ?

There was default format of message in V1 , which could be sent to MS Teams and looks like this output:

There is a red square in bottom of the screenshot. When I clicked on that link, I was redirected to Aquasec scan result of this concrete scan. But in V2 this link points me to https:///#/images/ , so to the list of all scans. Is this a bug, or did I misconfigure something?

Many thanks for your answers!
I wish you a nice day.
Best regards,
Jan Blahovec

@janblahovec

The conversion looks OK. As for the "OR" statement - it's a bit challenging in REGO. You can either create two separate route entries, each one with one matching rule, or you can create a more complex "regex.match" rule that has a logical "OR" as part of the regexp. I think it will be simpler (and more readable) to create two routing rules.

@AndreyLevchenko is this a bug (where the Teams scan results are not filling the Aqua URL)?

@janblahovec @jerbia
I suspect it may be linked with property name change. In v2 all properties follow similar name convention so AquaServer  becomes aqua-server

That's right - the property names have changed to -.
@janblahovec can you please check and let us know if it works?

Hello @jerbia @AndreyLevchenko !
regarding the 1. point - ok I will do probably more routes, but I think ( my personal opinion) this was done nicely in V1. We have teams which are responsible for many projects. So, when it was configured in previous version, I had one rego file per team and there were many rules in each rego file. Then I configured only path to that rego file in cfg.yaml.

I have aqua-server property in my cfg.yaml file

Thanks.
BR,
Jan Blahovec

Hello @jerbia @AndreyLevchenko
regarding the wrong url

I have url https://<URL_TO_MY_AQUASEC>/#/images/ n Teams notification.
Url is good, but it is pointing to all images, not to concrete scan. E.g. I had url in V1 like this https://<URL_TO_MY_AQUASEC>/#/images/Converge%20DEV%20ECR/b360%2Fb360-uaa:fd28c097d456d0cbe26f91dda71e2f8d3313c1ed
BR,
Jan

@janblahovec
I added my fixes to main branch. Can you check if issue is resolved?

@AndreyLevchenko
So, shall I build an image from main branch?

@janblahovec
We would appreciate if you could test the changes before release.
Please use Dockerfile to build Postee image.
Also after discussion with @jerbia we decided to add support for opa files. I will create separate issue for that

@AndreyLevchenko
Hello. I tried this.. and it is working as it should be.
Please release an official version and then let me know.
Thanks.
BR,
Jan

@AndreyLevchenko @jerbia Any updates here?


Add tcm screenshot to vrm thumbnail

This pr will embed the thumbnail image to vrm file, so external apps can place icons instead of blank spaces

it also include mint pr from yendor and screenshot system from tcm, used it as a starting point

Looks great! Before merging, this will need to be rebased on stable after the other PRs are merged in order. This PR is too big as is, so we'll wait.


Problem in your code

There is some problem in your code
No chat save when deploy on heroku or you cant blacklisted any one
Please solve it ..we all love you ❤

[ ]

And chatlist embuty


newline character not passing through to slack

sending a chat message payload with \n in it should convert it to a newline within slack. Instead, the \n is coming across in the message as literal characters.

passing "\n" within the message does properly insert the newline within the message, so it may be a problem with the slack documentation saying differently.

@Zxurian Sorry for the late reply, did you find out if this is an issue on our end? I'm happy to contact the Slack staff and ask them about it.
If it's just a matter of wrapping every \n with double quotes ("\n"), we could make some regex that automatically does this for our users.

yes, it was a case of wrapping it within double quotes. Not sure if you want to put a regex is your own message parser, or just make it clear in the documentation that if you want to add a new line to a message, needs to be wrapped in double quotes. Personally, I just wrap it in double quotes as it's more clear at the time your sending the message.

Ok thanks will have a look at it asap

did this actually get fixed?  When using slack module on Ansible my code looks like
bash```
- name: Send header message via Slack
slack:
token: 1234/1234/1234
msg: '"\n"Connections reporting problems in network fabric'
channel: #autoatuo
username: "Sean's Auto-BGP Ansible Bot"
delegate_to: localhost
tags:
- slack
with_items:  "{{ipv6check}}"
when: '"fe80" not in ipv6check[item][0]'
tags:

and the output does this
"\n"Connections reporting problems in network fabric

This issue is still not fixed.  Very frustrating when we are trying to automate messages.
How can we push to get this bug fixed?

Same here.
Im using "\n" and PHP_EOL to insert the newline but seems like only 1 or 2 newlines is parsed !?!
Passing 5 newlines, get a message with 2 (middle 2)

In PHP, I was using single-quotes to wrap my message. When switching to double-quotes, the new line worked properly. Hope this helps.

Still doesn't work 👎

i got it working on PowerShell by adding 0x0A:
$message += (0x0A -as [char])   # a line feed...
...terrible but it works.

doesnt work for me either. any updates here?

I'm also experiencing this issue. I have my message as follows and still get a literal output via slack:

msg: 'This is the first line."\n" This is the second line."\n" This is the third line'

The output still comes back as

This is the first line."\n" This is the second line."\n" This is the third line

as i said, just cast the value 10 (or 0x0A in hexadecimal) as a character instead of \n and it should work

@ramlongcat can you provide an example of how you are doing this in the playbook? This isn't working for me

Just found this thread after experiencing something similar. Although I'm not actually using this library, this thread helped me solve my Slack formatting issue when posting with their API... Thought I'd pay it forward in case this is your issue too!
It appears that Slack is precious about whether you use single or double quotes:
Example 1: single quotes, no newline quotes
$string = 'Line 1\nLine 2';

Line 1\nLine 2

Example 2: single quotes with double for the newline
$string = 'Line 1"\n"Line 2';

Line 1"\n"Line 2

Example 3: double quotes with single for the newline
$string = "Line 1'\n'Line 2";

Line 1'
'Line 2

Example 4: double quotes, no newline quotes
$string = "Line 1\nLine 2";

Line 1
Line 2

@unix4linux See @jasontrask message that is well explained.  If you outer wrap in double quotes and exclude quotes where you have the new line char (\n), you should be good to go.

@jasontrask - that helped! Thank you!
I specifically used Example 4 like this:
msg: "A new computer is online with IP *{{ ipout.stdout }}*.\nSSH as the user *test* and run the command below\nansible-playbook -i "localhost," -c local ~/dothis.yml"
Which provides the following output in my slack room:

A new computer is online with IP <IP_ADDRESS>.
SSH as the user test and run the command below
ansible-playbook -i "localhost," -c local ~/dothis.yml

The issue here does not seem to be a problem with the API, but a confusion between single and double quoted strings in PHP. A single quoted string will not interpret any special characters. '\n' will be printed out literally. A double quoted string on the other hand will interpret a number of special characters and also expand variables.

In case this helps others: I couldn't get this to work until I realized I needed to be toggling into the direct JSON editor mode in Huginn, as opposed to using the UI json tree UX. Then \n\r worked like a charm.

For what it's worth after a few hours of pulling my hair out, I gave PHP_EOL a shot in a web app I'm working on, and it worked great. Assume there are equivalents in other languages.
$message =  '*Error:* ' . $errorMessage . PHP_EOL .                  '*Name:* ' . $detailArray['toname'] . PHP_EOL .                  '*Email:* ' . $detailArray['to'] . PHP_EOL .                 '*Asset:* ' . $assetName . PHP_EOL .                 '*Asset URL:* ' . $assetURL;

Hi,
I've got the same issue with curl :
curl -X POST -d channel=#chan -d 'text=test1 "\n" test2' -d token=key -d icon_emoji=:slack: https://slack.com/api/chat.postMessage
the ouput looks like :
test1 "\n" test2
any idea ?

same he :(
PostMessage="Line 1\nLine 2"
resolved as
"message": {
    "text": "Line 1\\nLine 2"

"There’s no bug anywhere, this is how newline char interpretation works in Bash + Slack API."
more info: https://discuss.bitrise.io/t/slack-step-does-not-treat-n-as-a-newline-when-message-generated-by-a-bash-script-step/1776/5


Fix broken Encoder::with_prepared_dictionary

Follow-up from #54
The current method imposes no lifetime constraints; but zstd specifies that the dictionary must outlive the context in this situation (since the context merely references the dictionary without copying it).
We will need to:

Update zstd-safe to add a lifetime to CStream.
In the zstd crate, update the Encoder to include something like an Option<Arc<EncoderDictionary>> (so it can be shared) and have the context borrow from it. This means Encoder will be a kind of self-referential struct, and we'll likely need something like owning_ref: a OwningHandle<Option<Arc<EncoderDictionary>>, zstd_safe::CStream>.

Note that zstd_safe::CDict itself needs a lifetime, as it may be only reference the dictionary data.
For the zstd crate, the easy solution is probably to always use CDict<'static> and never reference data, at least for now. This lets us avoid adding a lifetime to EncoderDictionary.
Otherwise, an alternative could be to embed a Arc<[u8]> in EncoderDictionary along with the CDict, using owning_ref::OwningHandle much like the solution described above for Encoder.

I think I just encountered this issue because I was getting segfaults.. took me a while to find  the cause. Would be great if this could be fixed or at least the API marked unsafe. In the code I'm using, I'm using this:
pub fn wrap_encoder_dict(dict_raw: Vec<u8>, level: i32) -> OwnedEncoderDict<'static> {
    owning_ref::OwningHandle::new_with_fn(dict_raw, |d| {
        Box::new(EncoderDictionary::new(
            unsafe { d.as_ref() }.unwrap(),
            level,
        ))
    })
}

let dict = Arc::new(wrap_encoder_dict(vec, 10));

encoder = zstd::stream::write::Encoder::with_prepared_dictionary(out, &dict);

encoder.write(...)

It segfaults in the write function because of a free call when the block containing the with_prepared_dictionary ends.

Indeed! I finally rewrote some of the lifetime bounds here and it should be more reasonable.