Non-android wallets

Quick question, can we also add non-android wallets to this list? If so, we will add MyCrypto (a web wallet/desktop app) :)

I would love this actually. But it should be in a different directory split by platform. I think every platform will need separate fields. But there could at some point also be some visualizer that visualizes across different platforms.

@ligi I get your idea. Keep in mind though, that some apps are both iOS and Android, with identical features on both platforms.
Issue: So you would now need to update the exact same information in two directories.
Couldn't we add a field that defines the platforms the app is available on?

the problem is that there are some version specific fields - like package_name or version_code
perhaps we could do some kind of inheritance.
Also I was thinking some apps might support feature X on android but not on iOS - or the other way around. But I am open to suggestions.


tests: remove kubectl dependency for namespace info

Description:
Removes the dependency on kubectl to dump the namespace
info. Previously this was done to unblock debugging
of CI failures in a timely manner.

Affected area:

Functional Area

Tests
[X]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? no

Did you notify the maintainers and provide attribution?

Is this a breaking change? no

Codecov Report

Merging #4485 (0eba3c3) into main (d95ebc9) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #4485   +/-   ##
=======================================
  Coverage   69.17%   69.18%
=======================================
  Files         212      213    +1
  Lines       14568    14559    -9
=======================================
- Hits        10078    10072    -6
+ Misses       4438     4435    -3
  Partials       52       52

Flag
Coverage Δ

unittests
69.18% <ø> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/injector/patch.go
88.46% <0.00%> (-1.37%)
:arrow_down:

pkg/injector/webhook.go
88.26% <0.00%> (-0.87%)
:arrow_down:

pkg/injector/exclusions.go
100.00% <0.00%> (ø)

pkg/messaging/workqueue.go
100.00% <0.00%> (+10.71%)
: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 d95ebc9...0eba3c3. Read the comment docs.


[Event Request] Codeunit::"Whse.-Post Shipment" - Function PostUpdateWhseDocuments - OnPostUpdateWhseDocumentsBeforeValidateQty

We like to request the following Event:
Object: Codeunit::"Whse.-Post Shipment"
Function: PostUpdateWhseDocuments
Publisher Event: OnPostUpdateWhseDocumentsBeforeValidateQty
Reason: To implement custom business logic
Where is the event placed:
OnBeforeDeleteUpdateWhseShptLine(WhseShptLine2, DeleteWhseShptLine);
if DeleteWhseShptLine then begin
ItemTrackingMgt.SetDeleteReservationEntries(true);
ItemTrackingMgt.DeleteWhseItemTrkgLines(
DATABASE::"Warehouse Shipment Line", 0, "No.", '', 0, "Line No.", "Location Code", true);
WhseShptLine2.Delete();
end else begin
OnBeforePostUpdateWhseShptLine(WhseShptLine2);
IsHandled := false;
OnPostUpdateWhseDocumentsBeforeValidateQty(WhseShptLine2, WhseShptLineBuf, WhseShptHeaderParam, IsHandled);
if not IsHandled then begin
WhseShptLine2."Qty. Shipped" := "Qty. Shipped" + "Qty. to Ship";
WhseShptLine2.Validate("Qty. Outstanding", "Qty. Outstanding" - "Qty. to Ship");
WhseShptLine2."Qty. Shipped (Base)" := "Qty. Shipped (Base)" + "Qty. to Ship (Base)";
WhseShptLine2."Qty. Outstanding (Base)" := "Qty. Outstanding (Base)" - "Qty. to Ship (Base)";
WhseShptLine2.Status := WhseShptLine2.CalcStatusShptLine;
OnBeforePostUpdateWhseShptLineModify(WhseShptLine2, WhseShptLineBuf);
WhseShptLine2.Modify();
OnAfterPostUpdateWhseShptLine(WhseShptLine2);
end;
end;
Event Code:
[IntegrationEvent(false,   false)]         local procedure   OnPostUpdateWhseDocumentsBeforeValidateQty(var WarehouseShipmentLine: Record   "Warehouse Shipment Line"; var WarehouseShipmentLineBuf: Record "Warehouse   Shipment Line"; var WhseShptHeader: Record "Warehouse Shipment   Header"; var IsHandled: Boolean)         begin         end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


On release 4.1 branch a lot more code is pulled in from libcoexist (IDFGH-4102)

Environment

Development Kit: Custom
Kit version: Custom
Module or chip used:  [ESP32-WROOM-32|ESP32-WROOM-32D|ESP32-WROOM-32U|ESP32-WROVER|ESP32-WROVER-I|ESP32-WROVER-B|ESP32-WROVER-IB|ESP32-SOLO-1|ESP32-PICO-D4|ESP32]
IDF version (run git describe --tags to find it):
// v4.1-357-gc249ed646 - based off 7b7c641076ef4c5dff7b994170d445bbb46f81ab
Build System:  CMake
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
Operating System: Linux
Using an IDE?: No

Problem Description
As I understand it, libcoexist is used used to control the hardware
that the Wifi and the Bluetooth implementation have in common.
I am using Wifi, but not Bluetooth.  On moving to the 4.1 branch
I have a lot of new symbols in my executable, which is causing
and increase in binary size:
I get this list with objdump -t on the elf file.
+coex_schm_all_default
+coex_schm_ble_default_bt_a2dp_wifi_conn
+coex_schm_ble_default_bt_a2dp_wifi_connecting
+coex_schm_ble_default_bt_a2dp_wifi_scan
+coex_schm_ble_default_bt_default_wifi_conn
+coex_schm_ble_default_bt_default_wifi_connecting
+coex_schm_ble_default_bt_default_wifi_scan
+coex_schm_ble_default_bt_idle_wifi_conn
+coex_schm_ble_default_bt_idle_wifi_connecting
+coex_schm_ble_default_bt_idle_wifi_scan
+coex_schm_ble_mesh_config_bt_a2dp_paused_wifi_conn
+coex_schm_ble_mesh_config_bt_a2dp_paused_wifi_connecting
+coex_schm_ble_mesh_config_bt_a2dp_paused_wifi_scan
+coex_schm_ble_mesh_config_bt_a2dp_wifi_conn
+coex_schm_ble_mesh_config_bt_a2dp_wifi_connecting
+coex_schm_ble_mesh_config_bt_a2dp_wifi_scan
+coex_schm_ble_mesh_config_bt_conn_wifi_conn
+coex_schm_ble_mesh_config_bt_conn_wifi_connecting
+coex_schm_ble_mesh_config_bt_conn_wifi_scan
+coex_schm_ble_mesh_config_bt_default_wifi_conn
+coex_schm_ble_mesh_config_bt_default_wifi_connecting
+coex_schm_ble_mesh_config_bt_default_wifi_scan
+coex_schm_ble_mesh_config_bt_iscan_wifi_conn
+coex_schm_ble_mesh_config_bt_iscan_wifi_connecting
+coex_schm_ble_mesh_config_bt_iscan_wifi_scan
+coex_schm_ble_mesh_config_bt_sniff_wifi_conn
+coex_schm_ble_mesh_config_bt_sniff_wifi_connecting
+coex_schm_ble_mesh_config_bt_sniff_wifi_scan
+coex_schm_ble_mesh_config_wifi_conn
+coex_schm_ble_mesh_config_wifi_connecting
+coex_schm_ble_mesh_config_wifi_scan
+coex_schm_ble_mesh_standby_bt_a2dp_paused_wifi_conn
+coex_schm_ble_mesh_standby_bt_a2dp_paused_wifi_connecting
+coex_schm_ble_mesh_standby_bt_a2dp_paused_wifi_scan
+coex_schm_ble_mesh_standby_bt_a2dp_wifi_conn
+coex_schm_ble_mesh_standby_bt_a2dp_wifi_connecting
+coex_schm_ble_mesh_standby_bt_a2dp_wifi_scan
+coex_schm_ble_mesh_standby_bt_conn_wifi_conn
+coex_schm_ble_mesh_standby_bt_conn_wifi_connecting
+coex_schm_ble_mesh_standby_bt_conn_wifi_scan
+coex_schm_ble_mesh_standby_bt_default_wifi_conn
+coex_schm_ble_mesh_standby_bt_default_wifi_connecting
+coex_schm_ble_mesh_standby_bt_default_wifi_scan
+coex_schm_ble_mesh_standby_bt_iscan_wifi_conn
+coex_schm_ble_mesh_standby_bt_iscan_wifi_connecting
+coex_schm_ble_mesh_standby_bt_iscan_wifi_scan
+coex_schm_ble_mesh_standby_bt_sniff_wifi_conn
+coex_schm_ble_mesh_standby_bt_sniff_wifi_connecting
+coex_schm_ble_mesh_standby_bt_sniff_wifi_scan
+coex_schm_ble_mesh_standby_wifi_conn
+coex_schm_ble_mesh_standby_wifi_connecting
+coex_schm_ble_mesh_standby_wifi_scan
+coex_schm_ble_mesh_traffic_bt_a2dp_paused_wifi_conn
+coex_schm_ble_mesh_traffic_bt_a2dp_paused_wifi_connecting
+coex_schm_ble_mesh_traffic_bt_a2dp_paused_wifi_scan
+coex_schm_ble_mesh_traffic_bt_a2dp_wifi_conn
+coex_schm_ble_mesh_traffic_bt_a2dp_wifi_connecting
+coex_schm_ble_mesh_traffic_bt_a2dp_wifi_scan
+coex_schm_ble_mesh_traffic_bt_conn_wifi_conn
+coex_schm_ble_mesh_traffic_bt_conn_wifi_connecting
+coex_schm_ble_mesh_traffic_bt_conn_wifi_scan
+coex_schm_ble_mesh_traffic_bt_default_wifi_conn
+coex_schm_ble_mesh_traffic_bt_default_wifi_connecting
+coex_schm_ble_mesh_traffic_bt_default_wifi_scan
+coex_schm_ble_mesh_traffic_bt_iscan_wifi_conn
+coex_schm_ble_mesh_traffic_bt_iscan_wifi_connecting
+coex_schm_ble_mesh_traffic_bt_iscan_wifi_scan
+coex_schm_ble_mesh_traffic_bt_sniff_wifi_conn
+coex_schm_ble_mesh_traffic_bt_sniff_wifi_connecting
+coex_schm_ble_mesh_traffic_bt_sniff_wifi_scan
+coex_schm_ble_mesh_traffic_wifi_conn
+coex_schm_ble_mesh_traffic_wifi_connecting
+coex_schm_ble_mesh_traffic_wifi_scan
+coex_schm_bt_a2dp_paused_wifi_conn
+coex_schm_bt_a2dp_paused_wifi_connecting
+coex_schm_bt_a2dp_paused_wifi_scan
+coex_schm_bt_a2dp_wifi_conn
+coex_schm_bt_a2dp_wifi_connecting
+coex_schm_bt_a2dp_wifi_scan
+coex_schm_bt_conn_wifi_conn
+coex_schm_bt_conn_wifi_connecting
+coex_schm_bt_conn_wifi_scan
+coex_schm_bt_default_wifi_conn
+coex_schm_bt_default_wifi_connecting
+coex_schm_bt_default_wifi_scan
+coex_schm_bt_idle_wifi_conn
+coex_schm_bt_idle_wifi_connecting
+coex_schm_bt_idle_wifi_scan
+coex_schm_bt_iscan_wifi_conn
+coex_schm_bt_iscan_wifi_connecting
Other items if possible

[ ] sdkconfig file (attach the sdkconfig file from your project folder)
[ ] elf file in the build folder (note this may contain all the code details and symbols of your project.)
[ ] coredump (This provides stacks of tasks.)

sdkconfig.zip

hi @erikcorry thanks for reporting this issue.
We have already optimize our ld script in master branch to only link used symbols, and will backport this optimization to release/v4.1 lately.
Thanks.

Have an MR for this in IDFv4.1 in internal gitlab, just need to wait the CI push it to GitHub.

Reopen until the fix is available on GitHub.

Closed in 649d834


Added News Website

🛠 Fixes Issue #429
✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

@NOiR-07 This is my new PR please review it.

@Astrodevil  Done changes please check.


Replace Classifier None If statements with NotImplemented Warning pytests reports

Is your feature request related to a problem? Please describe.

Currently whenever a test requires a classifier which has not been implemented for a given framework, the tests for that framework are ignored silently.
Also some tests are too long to run on Travis and make the whole ART test pass the Travis test time limit

Describe the solution you'd like

What we want is to get a detailed report of when such tests are ignored and for what framework specifically.
Create a new marker to make a test not run on travis

addressed with last PR dealing with #459


Package managers for c++

We should have a deep look into
Ryppl
Nugets++
https://github.com/iauns/cpm
And other c++ dev package managers, as the goal of wkcmake is not far from it.

More on that topic. Nowadays we mainly have :

hunter
conan

Others seems to lag behind...
hunter seems interesting for our use-case, but we should be aware of pitfalls when integrating with existing cmake code. see http://0.readthedocs.io/en/latest/cmake.html
We likely will have to change a lot of things in wkcmake to integrate with it.
conan seems to be more targeted at binary packages and it might not be what we want given the resources needed to maintain packages built for different architectures... I could be wrong though.


Cargo update

coverage: 73.249%. remained the same
when pulling b1fa66b61efb2d4c92148d169463925cb85f6f65 on cargo-update
into e1b7673ed8e16934a19e15228526dfc542aa640a on master.


Dashboard position_json truncates if dashboard gets too large

If a v2 dashboard gets too large, the position_json data will get truncated because the text field in mysql only allows up to 65kb of data. This will cause an internal server error as the position_json is invalid, and the data truncated will likely be unrecoverable unless you make frequent backups. More metadata is being stored in position_json in v2 (nested tabs, rows, columns), causing this issue.
Solutions
Simple changes to do soon:

Removing unnecessary text from position_json (like DASHBOARD_* being used in type descriptions)[#5543]
Stop pretty printing json that goes into the db[#5543]

Options to consider doing:

Changing the type for position_json so it can store more data
Gzip results or otherwise compressing the data
Prevent the user from adding to dashboards over the size limit[#5543]

Option 4 is an easy change that can reduce the size from 65kb to ~45kb, so we should do this soon. I think we also want to do option 2 to reduce space. We still need to look into whether option 3 is viable.

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Steps to reproduce
Create a dashboard where the position_json is larger than 65kb.
Load the dashboard and see internal server error because of invalid json
@graceguo-supercat @mistercrunch @john-bodley

In mysql, MEDIUMTEXT allows for 16mb:
      Type | Maximum length
-----------+-------------------------------------
  TINYTEXT |           255 (2 8−1) bytes
      TEXT |        65,535 (216−1) bytes = 64 KiB
MEDIUMTEXT |    16,777,215 (224−1) bytes = 16 MiB
  LONGTEXT | 4,294,967,295 (232−1) bytes =  4 GiB

https://stackoverflow.com/questions/13932750/tinytext-text-mediumtext-and-longtext-maximum-storage-sizes
Though while you could just go ALTER TABLE and call it a day in your env, we should find a way for SQLAlchemy to work regardless of the engine used.

@mistercrunch what do you think of using JSON data type:
https://dev.mysql.com/doc/refman/8.0/en/json.html

Problema ainda continua, o que pode ser feito para driblar isso ?


Allow users to specify HTTP Headers through job configurations

Allow users to specify HTTP Headers through use of a special property name prefix in a job's configuration. By creating a property with a key in the format of es.net.http.header.Header-Name, a user may insert an HTTP Header into every request made to Elasticsearch.
Example:
es.net.http.header.Max-Forwards=10

would create the following header on each request:
Max-Forwards: 10

Some headers will need to be reserved by the connector. Since the connector expects only JSON data to be sent or received, users will not be able to set the Content-Type or Accept settings, as setting these to anything other than application/json is not likely to align with the data the connector is transmitting or expecting to receive. Facilities will be added in the source to allow adding other HTTP Headers as "reserved" in the future if needed.

Relates (vaguely) to #626, though, at this time this feature does not include any mechanics for executing any user code for intercepting and modifying requests.


[Feature] Call Hierarchy Navigation

LSP supports Call Hierarchy, to see the called function, or the functions they call. See from here:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_prepareCallHierarchy
It would be great to add a function to the AerialNav panel so that, instead of the symbol hierarchy, it is possible to navigate the call hierarchy.
So:

Left window: functions which call function_xxx
Middle window: function_xxx
Right window: functions called by function_xxx

This could be implemented in three ways:

Using a different command, e.g. AerialNavCallHierarchy.
Using the same AerialNav window, switching to the call hierarchy and symbols mode with a keybinding.
Showing both the symbols and the calls in the same AerialNav window.

This sounds pretty divergent with the previous functions of aerial. If this feature was built as a standalone plugin, would there be any overlap with aerial other than the miller column UI?


s/clean_ami_name/clean_resource_name/

Fixes: #170
clean_ami_name1 has been replaced by clean_resource_namein  packer v1.4. Updatedconsul.json` to reflect this.
Ref: https://github.com/hashicorp/packer/pull/7456

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.

@punkrokk thanks, would you mind bumping the min Packer version as well? https://github.com/hashicorp/terraform-aws-consul/blob/5515d60f7c4a4096651749a8158e4b9f5d045886/examples/consul-ami/consul.json#L2
Something like 1.5.4 should work.

@robmorgan Done.

@punkrokk thanks 👍

I'll wait for the nightly build to pass, before releasing this.


[ts] Property 'get' does not exist on type 'AngularFirestoreCollection<{}>'.

Hi @mihirkadve! We have a required issue template and it's typically hard to debug issues that are just screenshots of your code.
In your case though .get() is not a method we wrap since it would just incur extra bytes. Use the underlying reference.
this.afs.collection('cities').ref.get();
``


Fix the how to contribute link

Forget to change the link? :)
Fix the nit.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


String Interpolation missing in .hcl files

Prerequisites

[x] Ensure you have latest version of plugin installed
[x] Search for possible issue duplicates

Installation details

[x] IDE version (Help->About->Copy to Clipboard)
[x] intellij-hcl plugin version (Settings->Plugins)
[x] Terraform version (terraform -v)

IntelliJ IDEA 2019.2 EAP (Ultimate Edition)
Build #IU-192.5118.30, built on June 13, 2019
HCL Plugin: 0.7.3
Terraform v0.12.1
Terraform Configuration Files
block {
  test = "${functioncall("")}"
}

Expected Behavior
String interpolations are hilighted in .hcl files
Actual Behavior

Steps to Reproduce
Use string interpolation anywhere in a .hcl file
Interpolation works if file is renamed to .tf:

It looks like per #2 this is intentional behavior, however interpolations are part of the HCL spec: https://github.com/hashicorp/hcl2/blob/master/hcl/hclsyntax/spec.md#template-interpolations
It seems like interpolation should be added to strings in .hcl files, along with any relevant inspections.

Yep, that was done intentionally in times of HCL1, with HCL2 that seems no longer needed, will fix

Enabled interpolations for all hcl files. Will be available in next release.

Thanks!

Hey, just tested this out in the latest release (0.7.4).  It looks like there's no longer a syntax error at the end of the line, but the hilighting and inspections are still missing:


rename this repo openstreetcam.org

This repo is still called openstreetview.org  I guess you'll be renaming it openstreetcam.org ?  + fix the repo description

Scanned through issues for something else and saw this which looks to resolved. Suggest self closing.

ah yes. Someone's fixed that


Twoears new format

id+loc+nSrcs, in addition to new features

Coverage remained the same at 96.054% when pulling 660a9781c0eb705e85beee35a80ba24845a9fec6 on kashefy:twoears_new_format into a143e50711ef52de5520587af671473fc8d2ae0d on nigroup:master.

Coverage remained the same at 96.054% when pulling 05220af7ad44081a1273b245be1a2a471eeb5104 on kashefy:twoears_new_format into a143e50711ef52de5520587af671473fc8d2ae0d on nigroup:master.


Ask for password before disabling 2FA

Makes sense 👍

What about those forums using SSO such google?

Theoretically, it would be up to the SSO plugins themselves to expose a re-auth flow, but none do, so in this case, if there's no password set, I won't do the challenge at all.


[Mobile] Null check operator used on a null value

My issue is about [Mobile]
Step to reproduce:
Create a QuillController
Tap on it
Also when writting.
Stacktrace:
Null check operator used on a null value
======== Exception caught by foundation library ====================================================
The following _TypeError was thrown while dispatching notifications for QuillController:
Null check operator used on a null value
When the exception was thrown, this was the stack:
0      RawEditorState.renderEditor (package:flutter_quill/src/widgets/raw_editor.dart:1366:32)
1      RawEditorStateTextInputClientMixin._updateSizeAndTransform (package:flutter_quill/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart:340:20)
2      RawEditorStateTextInputClientMixin.openConnectionIfNeeded (package:flutter_quill/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart:68:7)
3      RawEditorState.requestKeyboard (package:flutter_quill/src/widgets/raw_editor.dart:1383:7)
4      RawEditorState._didChangeTextEditingValue (package:flutter_quill/src/widgets/raw_editor.dart:1209:7)
5      RawEditorState.initState. (package:flutter_quill/src/widgets/raw_editor.dart:1031:7)
6      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:403:24)
7      QuillController.replaceText (package:flutter_quill/src/widgets/controller.dart:286:5)
8      RawEditorStateTextInputClientMixin.updateEditingValue (package:flutter_quill/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart:192:25)
9      TextInput._updateEditingValue (package:flutter/src/services/text_input.dart:2019:43)
10     TextInput._handleTextInputInvocation (package:flutter/src/services/text_input.dart:1852:29)
11     TextInput._loudlyHandleTextInputInvocation (package:flutter/src/services/text_input.dart:1753:20)
12     MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:547:55)
13     MethodChannel.setMethodCallHandler. (package:flutter/src/services/platform_channel.dart:540:34)
14     _DefaultBinaryMessenger.setMessageHandler. (package:flutter/src/services/binding.dart:567:35)
15     _invoke2 (dart:ui/hooks.dart:202:13)
16     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:45:5)
17     _Channel.push (dart:ui/channel_buffers.dart:135:31)
18     ChannelBuffers.push (dart:ui/channel_buffers.dart:331:17)
19     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:736:22)
20     _dispatchPlatformMessage (dart:ui/hooks.dart:114:31)
The QuillController sending notification was: Instance of 'QuillController'
IMAGES

Hi, can you explain in a little more detail?? what do you mean by tap on the controller?? do you mean the editor??

Yes, I mean that in an example project with simple QuillEditor instantiated (QuillController), by tapping on it, throws that exception.

Yes, I mean that in an example project with simple QuillEditor instantiated (QuillController), by tapping on it, throws that exception.

Thank you for the report, I will try to address that in the next pull request, but I might ask you more info if you don't mind so we can fix it as soon as possible

Yes, I mean that in an example project with simple QuillEditor instantiated (QuillController), by tapping on it, throws that exception.

Hi again, can you provide us a details steps to encounter this issue step by step??

My issue is about [Mobile]
Step to reproduce: Create a QuillController Tap on it Also when writting.
Stacktrace:
Null check operator used on a null value
======== Exception caught by foundation library ==================================================== The following _TypeError was thrown while dispatching notifications for QuillController: Null check operator used on a null value
When the exception was thrown, this was the stack: 0 RawEditorState.renderEditor (package:flutter_quill/src/widgets/raw_editor.dart:1366:32) 1 RawEditorStateTextInputClientMixin._updateSizeAndTransform (package:flutter_quill/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart:340:20) 2 RawEditorStateTextInputClientMixin.openConnectionIfNeeded (package:flutter_quill/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart:68:7) 3 RawEditorState.requestKeyboard (package:flutter_quill/src/widgets/raw_editor.dart:1383:7) 4 RawEditorState._didChangeTextEditingValue (package:flutter_quill/src/widgets/raw_editor.dart:1209:7) 5 RawEditorState.initState. (package:flutter_quill/src/widgets/raw_editor.dart:1031:7) 6 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:403:24) 7 QuillController.replaceText (package:flutter_quill/src/widgets/controller.dart:286:5) 8 RawEditorStateTextInputClientMixin.updateEditingValue (package:flutter_quill/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart:192:25) 9 TextInput._updateEditingValue (package:flutter/src/services/text_input.dart:2019:43) 10 TextInput._handleTextInputInvocation (package:flutter/src/services/text_input.dart:1852:29) 11 TextInput._loudlyHandleTextInputInvocation (package:flutter/src/services/text_input.dart:1753:20) 12 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:547:55) 13 MethodChannel.setMethodCallHandler. (package:flutter/src/services/platform_channel.dart:540:34) 14 _DefaultBinaryMessenger.setMessageHandler. (package:flutter/src/services/binding.dart:567:35) 15 _invoke2 (dart:ui/hooks.dart:202:13) 16 _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:45:5) 17 _Channel.push (dart:ui/channel_buffers.dart:135:31) 18 ChannelBuffers.push (dart:ui/channel_buffers.dart:331:17) 19 PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:736:22) 20 _dispatchPlatformMessage (dart:ui/hooks.dart:114:31) The QuillController sending notification was: Instance of 'QuillController'
IMAGES

Please let me know if you still facing the issue or if any others

Hello @freshtechtips aparently everything is working now, when I upgraded the dependencies. I rhink it may be some cached thing. Sorry for the inconvenience. :smile:

I couldn't reproduce it, but still happens. I found a simpler way not to call the ! operator so that an exception is not raised. Also less code and improved readability, please check it out.


docs: Improve spaced readability

Fix https://github.com/uiua-lang/uiua/issues/146

I am going to keep it how it it.


Updating to v1.2.1

@tommyvn, thanks again for the wonderful work, open to updating to v1.2.1?

Looks good, merging.
If you or anyone reading this PR is feeling adventurous it would be nice to make the version a config variable in app.json.


Getting Microsoft.AspNetCore.OData.Versioning to work with Microsoft.AspNetCore.OData v8.0.11?

Discussed in https://github.com/dotnet/aspnet-api-versioning/discussions/881

Originally posted by jwstemper September 29, 2022
The latest version of Microsoft.AspNetCore.OData.Versioning (5.0.0) specifics that it works with  Microsoft.AspNetCore.OData less than v8.  Is there something in the works to work with versions newer? i.e. 8.0.11?
Is there a preferred way to do versioning other than the Microsoft.AspNetCore.OData.Versioning library?

Per the discussion and README.md, the Asp.Versioning.OData.* packages support OData 8.x.

This issue/question has been answered and there doesn't appear to be any follow-up. I'm happy to discuss further if there are more questions. The referenced discussion is still open. 😉


The changelog command ignores the configuration file.

A quick look at the source code shows that a new ChangelogConfiguration is created instead of using _config.Changelog.
Is this the intended behaviour?

I haven't checked, but the changelog command was likely not updated after the completion of the work, so yep, it might be broken.


Failed to load group update data (v2) for message 10: init() missing 1 required positional argument: 'change'

Hey,
I was trying out your tool but i got an error of which i hope you can help me with!
The first two conversations goes perfect, but then a group chat comes up and it generates the following error:
Found untested Signal database version: 117.
Failed to load group update data (v2) for message 10: init() missing 1 required positional argument: 'change'
Thanks in advance!

Thanks for reporting this @atatat123! Can you try installing the version in #53 and see if that fixes things? You can install it as follows:
$ pip uninstall signal2html
$ pip install -U git+https://github.com/GjjvdBurg/signal2html.git@bugfix/group_update_v2

Thanks for the fast response! Unfortunate it did not solve the issue.

That's too bad! Can you send me the entire error message that you see?

I've made some further changes in #53 that might help debugging the error. If you can try installing that version again (uninstall and reinstall as above) and let me know the full error message that you get, that might help me understand what goes wrong. Thanks!
(unfortunately I can't seem to reproduce the error using my own backups)

I've updated the package to version 0.2.7 and included a fix that I think will solve this issue. Please try it and let me know if it does! :)


Build steps

Resolves #7, resolves #25, resolves #13
I haven't had time to properly self-review any of this, but feel free to check it out and add comments/commits in the meantime. I'll try to get back online later today so we can talk about publishing v0.1.0 once this is pushed to main.
Here is my description of the new functionality, copied verbatim from the new glasscat.md.

Julia module for importing and using AGF glass specifications.
The entire AGF glass catalog is specified in AGFGlassCat.jl. This Julia source file is generated automatically when ] build OpticSim is called. The build script downloads AGF files to deps/downloads/glasscat/ and then uses these to generate corresponding Julia source files at src/GlassCat/data/. These steps are run automatically on setup when the package is first installed using ] add OpticSim, creating a sufficient working environment for our example/test code.
Adding new AGF sources is done by editing deps/sources.txt. Minimally, you must provide a name (e.g. SCHOTT) and sha256sum for the AGF file, which can then be placed manually into deps/downloads/glasscat/[NAME].agf. Instead of manually sourcing the AGF file, you can also provide a download link for the build script. deps/sources.txt already contains examples of all possible use cases. After updating the file, execute ] build OpticSim to rebuild AGFGlassCat.jl.
Source names will be used as module names, so follow the standard convections: alphanumeric, no leading numbers, begin with an uppercase letter. Furthermore, optical systems in the examples file expect glass catalogs to have specific names. The default setup includes HOYA, NIKON, OHARA, SCHOTT and SUMITA; changing these names could break some examples.
Glass types are accessed like so: OpticSim.GlassCat.CATALOG_NAME.GLASS_NAME, e.g.
OpticSim.GlassCat.Sumita.LAK7
OpticSim.GlassCat.SCHOTT.PK3

All glasses and catalogs are exported in their respective modules, so it is possible to invoke using calls for convenience, e.g.
using OpticSim
GlassCat.Sumita.LAK7
using OpticSim.GlassCat
SCHOTT.PK3
using OpticsSim.GlassCat.SCHOTT
N_BK7

@alfredclwong
checks are failing.

@BrianGun if/when you approve this I'll make a new PR changing the version number to 0.1.0, from which I can trigger the Registrator bot. Hopefully then the registration can happen automatically over the weekend.
I figure starting out clean again will avoid any conflicts with the bot, which doesn't like skipped versions. Pre-alpha (0.x.y) versions don't matter that much anyway.
Any objections?


Example of HTTPoison wrapping does not work

I defined the XMLRPC module like specified, and tried the example in iex:
iex(1)> request = %XMLRPC.MethodCall{method_name: "test.sumprod", params: [2,3]}
%XMLRPC.MethodCall{method_name: "test.sumprod", params: [2, 3]}
iex(2)> response = HTTPoison.post!("http://www.advogato.org/XMLRPC", request_body).body
** (RuntimeError) undefined function: request_body/0

iex(2)> response = HTTPoison.post!("http://www.advogato.org/XMLRPC", request).body
** (CaseClauseError) no case clause matching: %XMLRPC.MethodCall{method_name: "test.sumprod", params: [2, 3]}
      (hackney) src/hackney_client/hackney_request.erl:309: :hackney_request.handle_body/4
      (hackney) src/hackney_client/hackney_request.erl:79: :hackney_request.perform/2
      (hackney) src/hackney_client/hackney.erl:357: :hackney.send_request/2
    (httpoison) lib/httpoison.ex:60: HTTPoison.request/5
    (httpoison) lib/httpoison.ex:60: HTTPoison.request!/5
iex(2)>

I think your error is just the typo "request_body", where it should be "request".  I have corrected this in the README, but the point is that the first line assigns a variable, and the second processes it. Sorry for the typo.
Note, remember this project doesn't import HTTPoison, so be sure to setup some new project and add it to your dependencies for testing the above. Otherwise you will start to get errors about HTTPoison not being found.  I'm using this wrapper syntax in anger for a real project - you can have HTTPoison do quite a lot of fixup for you!


Ansible Host Bootstrap

As a system administrator, I would like there to be a bootstrap script for the Ansible Host, so that I can minimize the manual steps that are required to use kazoo-ansible.
Acceptance Criteria

All configuration steps are complete on the Ansible Host that do not require customization by the system administrator
The bootstrap script only requires BASH

Implemented


Edit task to remove deadline

Context
Users can remove a deadline to change a deadline task to floating task

Using 'rm' flag to remove deadline field via edit command

Links
Solves #88
Reviewers
@CS2103AUG2016-F09-C4/developers

Ready for review and merge


Fix bug in reading PerfView.xml files

There is an issue where doubles are written in one local and read in another.  This was already fixed in the data, but there was a lingering problem in the FilterState (e.g. the values in the Start and End TextBoxes are also persisted in the XML).   This fix only makes the reader robust (that is it will ignore bad data.

Codecov Report

Merging #700 into master will increase coverage by 0.12%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #700      +/-   ##
==========================================
+ Coverage    17.4%   17.52%   +0.12%
==========================================
  Files         221      221
  Lines      126166   126161       -5
  Branches    12170    12168       -2
==========================================
+ Hits        21957    22116     +159
+ Misses     103182   103175       -7
+ Partials     1027      870     -157

Flag
Coverage Δ

#2017
17.52% <0%> (+0.12%)
:arrow_up:

#Debug
17.52% <0%> (+0.12%)
:arrow_up:

#Release
100% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

src/PerfView/Extensibility.cs
0% <0%> (ø)
:arrow_up:

src/PerfView/StackViewer/StackWindow.xaml.cs
25.84% <0%> (-0.08%)
:arrow_down:

src/PerfView/StackViewer/PerfDataGrid.xaml.cs
34.02% <0%> (ø)
:arrow_up:

...c/TraceEvent/Parsers/ClrPrivateTraceEventParser.cs
19.34% <0%> (+0.03%)
:arrow_up:

src/TraceEvent/DynamicTraceEventParser.cs
67.78% <0%> (+0.14%)
:arrow_up:

src/TraceEvent/TraceEvent.cs
64.21% <0%> (+0.16%)
:arrow_up:

src/TraceEvent/TraceLog.cs
61.37% <0%> (+0.2%)
:arrow_up:

src/TraceEvent/ETWTraceEventSource.cs
47.6% <0%> (+0.22%)
:arrow_up:

src/TraceEvent/Parsers/TplTraceEventParser.cs
49.65% <0%> (+0.22%)
:arrow_up:

src/PerfView/StackViewer/CallTreeView.cs
47.71% <0%> (+0.25%)
:arrow_up:

... and 4 more

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 9e1ea08...602e9cc. Read the comment docs.


feat: The createSetter method supports obtaining more parameters, which has improved the flexibility of widget development

The createSetter method supports obtaining more parameters, which has improved the flexibility of widget development
Description

[!TIP]
Call the setter method of parts in JS Function to support more parameter reception and improve the flexibility of parts development
detailed description references：#34381

Fixes #34381
Automation
/ok-to-test tags=""
:mag: Cypress test results

[!CAUTION]
If you modify the content in this section, you are likely to disrupt the CI result for your PR.

Communication
Should the DevRel and Marketing teams inform users about this change?

[x] Yes
[ ] No

Summary by CodeRabbit

New Features

Enhanced setter methods to support additional arguments. This provides more flexibility when updating values using setter methods.

Replied with why we won't be able to accept this here #34381


Update go version to 1.17

this PR should fix #153
I have updated the go.mod file with 1.17 and removed the vendor directory to make sure it will use the new version.
running go mod tidy and go mod vendor updates the go.mod file with some new packages and edits other packages which mad some updates in the vendor directory, and running make install gives some warning about the deprecation of go get command but it works.
Now I tested the edits with make install and make uninstall commands but I am not sure if this upgrade may cause another issue because I am new to the flotta-operator and the project, So, How to test this upgrade and make sure it's not breaking something?

Thank you for the PR, @ahmadateya
Please go over https://tip.golang.org/doc/go1.17 and see recommendation that we'd like to apply (e.g. switch from go get to go install, run gofmt over the project, verify go vet)

Thank you for your PR,
Please update the go version here and here too :)

Great thank you @masayag and @arielireni for your comments I will work on them as soon as possible

I am sorry I can't work on this PR until the end of April due to some exams.
I am mentioning this to not interrupt your workflow, I will come back in May and continue work on the PR if the issue isn't fixed then

I am sorry I can't work on this PR until the end of April due to some exams. I am mentioning this to not interrupt your workflow, I will come back in May and continue work on the PR if the issue isn't fixed then

Thanks for the heads up. I'm closing the PR and we'll work on it.


ContactSerializer: lookup consent from consent service [4 of 4]

Description of change
Update ContactSerializer so that ContactViewSet.detail calls the consent service to determine if a contact accepts_dit_email_marketing. This lookup will only happen if the feature flag Contact.accepts_dit_email_marketing is active, otherwise this will not change the existing behaviour
depends on: https://github.com/uktrade/data-hub-api/pull/2657
Checklist

[x] If this is a releasable change, has a news fragment been added?

Explanation
A news fragment is required for any releasable change (i.e. code that runs in or affects production) so that a corresponding changelog entry is added when releasing.
Check changelog/README.md for instructions.

[ ] Has this branch been rebased on top of the current develop branch?

Explanation
The branch should not be stale or have conflicts at the time reviews are requested.

[x] Is the CircleCI build passing?

General points

Other things to check

Make sure fixtures/test_data.yaml is maintained when updating models
Consider the admin site when making changes to models
Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

:warning: Merge https://github.com/uktrade/data-hub-api/pull/2657/files first, before merging this PR

It looks like we will be closing this and rasing two tickets.
Ticket 1.
Add error handling around the API calls to the consent service. I believe there is a conversation around how API status and connection errors are handled in the frontend.
Ticket 2.
Remove accepts_dit_email_marketing field in the listing view only.
class ContactSerializer(PermittedFieldsModelSerializer):
   """
   Used by
   POST /v3/contact
    GET /v3/contact
    PATCH /v3/contact
    and CompanySerializer

   remove accepts_dit_email_marketing from the listing serializer
   """
    def to_representation(self, instance):
        """
        Optionally lookup from consent service if feature flag
        is enabled.
        """
        representation = super().to_representation(instance)
        if is_feature_flag_active(GET_CONSENT_FROM_CONSENT_SERVICE) and 'accepts_dit_email_marketing' in representation:
            representation['accepts_dit_email_marketing'] = consent.get_one(representation['email'])
        return representation

class ContactListSerializer(ContactSerializer):
   """
   Used by
    GET /v3/contact/
   """
   class Meta(ContactSerializer.Meta)
      exclude = ['accepts_dit_email_marketing']

class ContactViewSet:
   #....
   serializer_class = ContactSerializer
   def get_serializer_class(self):
       if self.action == 'retrieve' and is_feature_flag_active(GET_CONSENT_FROM_CONSENT_SERVICE):
           return ContactListSerializer

        return super(ContactViewSet, self).get_serializer_class(


Please invite me to the community

Name
Jyoti prakash Rout
Additional Context
Looking forward to learning, collaborating, and growing as a community.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for the development solutions and enhance creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn development, DevOps, tech, and contribute together and with us 👉💜👈


Revert "feat(component): Updated Button Components"

Reverts OpenCerts/admin-website#69

Please dont forget to add a description for the reason of the revert


can internal controller for nucleo f412zg

Re opened because previous one closed without commits

@FRASTM If you want the second CAN, can you tell me where to find it in the documentation ?
https://www.st.com/resource/en/user_manual/dm00244518-stm32-nucleo144-boards-mb1137-stmicroelectronics.pdf


[Feature] Filtering for IIR and FIR

This feature accepts a signal with a rational expression for the filter coefficients used to filter the signal where b is the numerator and a is the denominator or 'characteristic polynomial' of the digital filter being applied. Filtering is often accomplished using cascading second order sections to reduce numeral sensitivity.
https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.lfilter.html

https://en.wikipedia.org/wiki/Digital_biquad_filter This is a good theoretical basis on the implemention.


npm_install task inputs and outputs

Why are inputs and outputs for npm_install task configured after project is evaluated? I mean this line exactly.
Please have a look at the following log extract:

:frontend:npm_install (Thread[Daemon worker,5,main]) started.
:frontend:npm_install
Executing task ':frontend:npm_install' (up-to-date check took 0.001 secs) due to:
Task has not declared any outputs.
Starting process 'command '/project/frontend/.gradle/nodejs/node-v5.10.1-darwin-x64/bin/node''. Working directory: /project/frontend Command: /project/frontend/.gradle/nodejs/node-v5.10.1-darwin-x64/bin/node /project/frontend/node_modules/npm/bin/npm-cli.js install
Successfully started process 'command '/project/frontend/.gradle/nodejs/node-v5.10.1-darwin-x64/bin/node''
:frontend:npm_install (Thread[Daemon worker,5,main]) completed. Took 3.835 secs.

With the following piece of code:
project.afterEvaluate {
    tasks.npm_install.outputs.dir(file('node_modules'))
}

it finally was marked as up-to-date.

It seams path changed. And why such input and output declared not related to workingDir?
With @Opalo suggested approach I have:
ext.reactAppDir = file("$projectDir/reactapp")
npm_install{
    workingDir = reactAppDir
}
project.afterEvaluate { // Bug workaround: @issue https://github.com/srs/gradle-node-plugin/issues/131
    tasks.npm_install.inputs.file "${reactAppDir}/package.json"
    tasks.npm_install.outputs.dir "${reactAppDir}/node_modules"
    tasks.npm_install.outputs.file "${reactAppDir}/package-lock.json"
}

And gradle complains:
> Task :open-area:npmInstall UP-TO-DATE
A problem was found with the configuration of task ':open-area:npmInstall'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.
 - File '/home/pasha/<EMAIL_ADDRESS>specified for property '$1' does not exist.


[feature] Enable dumping all DB tables

For debugging, we want to be able to dump any db table
We currently have this for validator and gateway dbs, but want it for others

Depends on https://github.com/MystenLabs/mysten-infra/pull/103

We have closed this for Sui
Now working on Narwhal


Language support

Still in progress, just opening PR

I'm going to merge this if its alright with you. From my end everything seems fine, but I'm taking it that you tested all the commands (all the default msgs of each) and all the msg responses in the message event

Yeah I tested everything (I think). I had no issues with it, not publishing to NPM till more is done so anything I missed I'll find when testing the languages. Merge whenever 👍


Choosing the datapoints that need to be annotated?

Hello,
I have a large set of unlabelled data on which I need to do text classification. Since few-shot text classification uses only a handful of datapoints per class, is there a systematic way to choose which datapoints should be chosen for annotation?
Thank you!

Hello!
I'm not aware of any systematic approaches that can help out by any of the data labeling tools. I'm not quite sure how that would work, considering the tool would likely required some prior knowledge about the text in order to show you a varied distribution of texts for you to label.
I think I would recommend to use a data labelling tool, try to label as much as you feel like, and then experiment with these two approaches:

Using e.g. 80% of all labeled data as the train_dataset in the SetFitTrainer, with the remaining 20% as data in the eval_dataset. Note that the datasets will be unbalanced, i.e. some classes have more texts.
Using the 80-20 split again, but now on a dataset that is preprocessed such that all classes have the same number of labeled samples (e.g. with 3 classes with 9, 12 and 14 labeled samples respectively, sample 9 labeled samples from each class).

I'm unsure which of the two approaches would lead to better results, as I've only experimented with the second approach, i.e. balanced datasets.

I did not mean to close this! I hit the "Close with comment" button accidentally while typing out my response.
I'd love to hear about your findings about the two approaches.

Tom Aarsen

Thank you Tom! I will give it a try. Meanwhile, I came across small-text, an active learning library, and they have shown an example of how to use a querying strategy for text classification. Have you tried anything like that with success?

Although I am familiar with small-text, I have not tried their querying strategy. I'm looking at what I presume is the example now, and it looks quite interesting.

Hi, Please also see in the following notebook how Argila implements active learning based SetFit + Small-text.
Small-Text allows you to activate different strategies for selecting new queries (select samples) from the un-labeled data based on SetFit prediction
https://colab.research.google.com/github/webis-de/small-text/blob/main/examples/notebooks/03-active-learning-with-setfit.ipynb#scrollTo=2184e4b7

Argilla has a small-text + SetFit tutorial on their docs site, too: https://docs.argilla.io/en/latest/tutorials/notebooks/training-textclassification-smalltext-activelearning.html

I would go with a method that maximizes diversity of samples, start annotating, and seeing performance from there. I've had good results with "discriminative active learning" and it is simple to implement it and use it with SetFit.

@chschroeder is quite an authority on the topic of active learning (in context of SetFit, among others). Perhaps he has a moment of time to recommend a querying strategy.

Thanks for the ping, Tom!
Depends on the problem. Do you know how many classes your dataset will have @vahuja4? How many samples does your dataset contain?
Without having that information: the advice of diversity-based strategies sounds reasonable here. While I have evaluated and even documented uncertainty-based and coreset strategies in combination with setfit, I did not try discriminative active learning, so I cannot add anything here. I have used discriminative active learning in other contexts though and it is also implemented in small-text.

@kgourgou  - thank you! I will give it a shot. @chschroeder - thank you for your reply! The number of classes is 74 and the size of the corpus is around a million. The corpus isn't labelled yet. Any advice would be much appreciated!

@kgourgou @chschroeder - while the topic of AL is very fascinating, there seem to be a lot of unknowns. For example, do we keep changing the querying strategy for every AL loop? And, how do we decide the number of datapoints to be labelled per loop - is it fixed or variable? It seems that the selection step itself could be framed as an ML problem where we can have various querying strategies acting like features and an ML model can be used to optimize the weights of the features..what do you think?

small-text looks amazing and fits a use-case I have!
@vahuja4 I expect that @chschroeder  can give more precise answers than me, but in general it depends on how easy it is to annotate your data, what is the label quality, and how many labels you already have.
Typically you would start with a diversity strategy, get some labels to start with, then, if you know what kind of model you want to use, it usually doesn't hurt to go with an uncertainty-based method to pick the next samples; they are competitive on most benchmarks.
Something that I have found useful is to combine active learning with weak labelling, e.g., getting some heuristics for the labels down as functions and using Snorkel to construct initial weak labels that you can refine once you get a few more strong labels.

@kgourgou - thank you! I will give it a shot. @chschroeder - thank you for your reply! The number of classes is 74 and the size of the corpus is around a million. The corpus isn't labelled yet. Any advice would be much appreciated!

With 74 classes it might still be possible to provide 2-3 samples per class as a starting point (depending how long your documents are / how costly the annotation is). Are the classes mutually exclusive? Do some classes occur much more frequently than the others?

@kgourgou @chschroeder - while the topic of AL is very fascinating, there seem to be a lot of unknowns. For example, do we keep changing the querying strategy for every AL loop?

You are completely right here, and since this spans a really large hyperparameter space (even without your dataset), there is currently no one-size-fits-all approach, but there are things you can do wrong (i.e. not considering skewed class distributions). Changing query strategies in between loops is possible, but I don't think I have not seen any evaluations on this recently.
What is your goal with this? 1) Maximum performance, i.e. even the last 0,5% in accuracy are important or 2) maximum efficiency, i.e. as long as the resulting model is "good enough" you just want to minimize the labeling efforts. Unless it is 1), you can opt for any strategy that is expected to do well.
A practical thing to keep in mind is turnaround time. If you choose a rather expensive query strategy the waiting time in between two iterations might nullify any gains in reduced labeling costs.

And, how do we decide the number of datapoints to be labelled per loop - is it fixed or variable? It seems that the selection step itself could be framed as an ML problem where we can have various querying strategies acting like features and an ML model can be used to optimize the weights of the features..what do you think?

The query size is variable. In theory it would be best to update after each sample. Since model training can be time consuming this is most often done in batches instead, and the number of samples you choose is a tradeoff between classification performance (or rather maximum information obtained from the model) and runtime. In your case, I would pick something between 20 and 74. If you pick a computationally cheap model and query strategy or if you don't mind the waiting times, you might also go lower than that.

small-text looks amazing and fits a use-case I have!
@vahuja4 I expect that @chschroeder can give more precise answers than me, but in general it depends on how easy it is to annotate your data, what is the label quality, and how many labels you already have.
Typically you would start with a diversity strategy, get some labels to start with, then, if you know what kind of model you want to use, it usually doesn't hurt to go with an uncertainty-based method to pick the next samples; they are competitive on most benchmarks.
Something that I have found useful is to combine active learning with weak labelling, e.g., getting some heuristics for the labels down as functions and using Snorkel to construct initial weak labels that you can refine once you get a few more strong labels.

Thank you! Happy to hear that.
Totally agree with your advice, except that I can give more precise answers ;). In the end these pointwise evaluations from the benchmarks is all we have right now and there is no "best" strategy.
Starting with diversity and switching to uncertainty can be a good way to control exploration versus exploitation. If there is any scientific interest behind it, I would be afraid to that since you would need to argue at which point you switched strategies, but if the goal is just a viable dataset in the end, this is a good solution.

Thank you, @MosheWasserb! I am honored you already noticed. SetFit has been working great for me, thanks for that as well. Such a metric seems reasonable but then how do you set x? Moreover, there is always the decision of maximum performance vs. maximum efficiency for active learning. This is an interesting thought though, the active learning evaluation procedure is far from perfect (but also difficult to improve).

@chschroeder Is there are a few simple rules of thumb to choose the best strategy for a given data set, or should I try all of them? For example, I would like to apply an emotion dataset (6 classes).

For active learning? I am somewhat biased on keeping the runtime manageable for the experimental scenario since I have many queries and repetitions that quickly increase the runtime. For this, uncertainty-based strategies have worked remarkably well. This was before SetFit, however, and in my SetFit experiments embedding-based strategies seemed viable again. I suspect that the trained embedding space is more favorable.
If you are thinking about few-shot learning here though, I would probably also go for an embedding-based strategy and try to cover the vector space intelligently (i.e., with a few representative points over all the classes that lie not too close to each other).

Also, @MosheWasserb, in case the mention of the 6-class emotion dataset is not just a toy example: I have recently been informed that this dataset is not ideal for various reasons. See for example this article. It's a bit sensationalistic, but it gets the point across.


Rename TokenProxy to EternalStorageProxy

fix #21

LGTM, @facuspagnuolo please review and merge if it looks good to you

@rstormsf please let's keep the conversation in a single thread, otherwise it's a little bit complicated to follow up. See #28


[Animated Buttons] should animate in Chrome

I used dragonfire1119's solution for card shuffling found here: https://github.com/Semantic-Org/Semantic-UI/issues/3353#issuecomment-206677270. Originally it worked fine but when I added animated buttons to the cards the text and animations completely disappeared in Chrome/Opera. Works fine in FF.
I noticed that when I removed the 'display: block' property the animations were back however that defeats the whole purpose of creating a masonry like layout. The only solution for this bug that I found is to add this to my CSS:
.ui.animated.button {
will-change: contents;
z-index: initial;
}
I'm not 100% certain why this works and why the original doesn't. Is this perhaps a Chrome bug? It does after all work in FF just fine.  Also is there a reason for why the z-index is set to 1 initially? Will setting it to 'initial' break something else down the line?
Steps

Set up the layout in the same way as the layout in the above link.
Open in Chrome
Hover over any button with the animated class.

Expected Result
The hover animation should show up in Chrome like it does in FF.
Actual Result
No text or animation is displayed in Chrome upon hover.
Version
2.4
Testcase
https://jsfiddle.net/LaPalida/cr4qwm29/5/

I can't seem to reproduce this, the animations work for me.

@hammy2899 I can reproduce this using the above fiddle.
For me, the only needed fix was the z-index setting.

@lubber-de I just checked again and I see it now 🤔

z-index: auto also works and would be the preferred solution, because initial is not supported in IE11 (even if this does not matter for the target-browser of course)

Ah I forgot one more thing - the reason for the 'will-change'. If the animated buttons are disabled and that property is not set to 'contents' then the text in the disabled animated buttons disappears. Also the animation still doesn't show up in the disabled buttons if tabbed to even with that setting on. I added that example to the jfiddle so this is a new link (and changed the z-index to auto):
https://jsfiddle.net/LaPalida/cr4qwm29/15/


Issue 31: Allow DeployStage to be decorated by Plugins

Issue #31
Merge Checklist

[x] Have you linked this Pull Request to an Issue?
[ ] Have you updated any relevant README files, to explain how this new feature works (with examples)?
[ ] Have you added relevant test cases for your change?
[ ] Do all tests and code style checks pass with ./gradlew check --info?
[ ] Have you successfully run your change in a pipeline in a Jenkins instance?
[x] Have you updated the CHANGELOG?

Codecov Report

Merging #33 (f67d545) into master (0a84ebc) will increase coverage by 2.18%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
+ Coverage   88.88%   91.07%   +2.18%
==========================================
  Files           4        5       +1
  Lines          45       56      +11
  Branches        5        7       +2
==========================================
+ Hits           40       51      +11
  Partials        5        5

Impacted Files
Coverage Δ

src/BuildStage.groovy
85.71% <ø> (ø)

src/CredentialsPlugin.groovy
66.66% <0.00%> (ø)

src/DeployStage.groovy
100.00% <ø> (ø)

src/StageDecorations.groovy
100.00% <100.00%> (ø)

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 0a84ebc...f67d545. Read the comment docs.


fix(test-utils): fix cancelable attribute in dom events

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch.
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue-test-utils/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
It's my first PR (big hello to everyone!) with a small fix to correctly assign cancelable attribute for events created via trigger(event_name) API in modern browsers.
I've tried to come with some tests for this bug:
// test/specs/create-dom-event.spec.js
import createDOMEvent from '../../packages/test-utils/src/create-dom-event'

describe('createDOMEvent', () => {
  it('returns event', () => {
    const event = createDOMEvent('click', {})
    expect(event.bubbles).to.equal(true)
    expect(event.cancelable).to.equal(true)
  })
})

But it turns out that tests are run in PhantomJS and I believe it uses createOldEvent instead of createEvent which is not affected by this bug.
PS. How could I import create-dom-event file in such test to avoid all those ../../ in the beginning of the file's path?

Hi! Good work.
The tests are run in a jsdom environment and karma (using phantomjs, I think?). You can see we have a function that will conditionally run a test depending whether it is phantomjs or not here. Does this bug not manifest in a jsdom env? What happens when you add the test?
You should be able to write import createDOMEvent from 'test-utils/src/create-dom-event' and it will figure out what the import means. Anything in "packages" can basically be imported from using an absolute path.

Thank you for feedback!

The tests are run in both a jsdom environment and karma (using phantomjs). You can see we have a function that will conditionally run a test depending whether it is phantomjs or not here. Does this bug not manifest in a jsdom env? What happens when you add the test?

Thanks for pointing in the right direction! Using itDoNotRunIf does work and I'm able to reproduce the bug in tests. I've added such test to the PR.

You should be able to write import createDOMEvent from 'test-utils/src/create-dom-event' and it will figure out what the import means. Anything in "packages" can basically be imported from using an absolute path.

Unfortunately it doesn't work. I'm getting a following error: Module not found: 'test-utils/src/create-dom-event' in '/Users/lucas/Workspace/Personal/github.com/lowski/vue-test-utils/test/specs'. Any idea how to solve it?

Hm, how are you running the tests? Are you using yarn test:unit:only:dev?

Hm, how are you running the tests? Are you using yarn test:unit:only:dev?

Actually I was using npm run test or npm run test:unit but now I've just tried yarn test:unit:only:dev and import createDOMEvent from 'test-utils/src/create-dom-event' doesn't work either.

Weird. I will pull your branch down this weekend and try it out and see if I can figure out what is going on.

try import createDOMEvent from '@vue/test-utils/src/create-dom-event. It looks like we do that in other tests. You might need to run yarn build if you made changes in packages. Then yarn test:unit:only. You can also use --watch with that.

Thanks, unfortunately it still doesn't work for me.
I ran: yarn build, then: yarn test:unit:only and  now I'm get a following error:
/vue-test-utils/packages/test-utils/src/create-dom-event.js:1
import eventTypes from 'dom-event-types'
       ^^^^^^^^^^

SyntaxError: Unexpected identifier

Weird. I will pull your branch down this weekend and try it out and see if I can figure out what is going on.

@lmiller1990 by any chance have you been able to look into?

@lowski not yet, on the weekend (around 24-48h time).

@lowski I see why you can't use the absolute imports now - createDOMEvent is not a public API, so it is not exported from test-utils/index.js, so @vue/test-utils will not worked. I had a look an realize none of our other tests use internal APIs.
I think it's probably okay to use the relative import for now, in this case. The other alternative would be creating the event manually instead of using the createDOMEvent helper, but this will do.

@lmiller1990 thank you!


NIFI-4172: renamed ClusteSummaryEntity to ClusterSummaryEntity

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Thanks for the PR @m-hogue. I almost made this fix myself awhile back and held off. Technically, this class is part of a domain model for the REST API. Folks should be able to use this model in conjunction with frameworks like Jersey or RestEasy to interact with the REST API. Because of this, we treat this as another public API and we don't introduce breaking changes outside of major releases.
Fortunately, the typo is not visible to folks consuming the REST API without our DTO domain model (through curl for instance).

Ah, okay. I'd thought the potential for this to be a breaking API change prior to making the fix, but I was thinking from a REST API perspective since the response type isn't part of a json response.
Feel free to close this. It's fairly trivial, so it's easy to do again prior to a major release. Thanks!

I've updated the fix version on the JIRA so we'll catch it for 2.0.0. Unfortunately, I cannot close the PR without a commit. Only the person that created the PR can do so. Do you mind closing? Thanks!

Closing, to be merged for 2.0.0.


Add Bitgear Australia to the list of merchants

What's the name of your business?
Bitgear Australia
What's the URL of the website?
https://www.bitgear.com.au/
Write a brief description of your business/service (max 50 characters)
Australian hardware wallet retailer
Enter the URL where a Monero mention can be found
https://www.bitgear.com.au/ (footer accepted payment methods)
How do you accept Monero? (choose only one option)

[ ] Monero integrations (github.com/monero-integrations)
[ ] Globee
[ ] Native wallet
[x] Other payment gateaway (Coinpayments, Morphtoken, etc. Please specify) Cryptowoo

How would you categorize your business? (choose only one option)

[ ] Exchange
[ ] Block Explorer
[ ] Payment Gateway
[ ] Web Hosting
[ ] Tool
[ ] Service
[x] Goods
[ ] Entertainment

Comment

Looks ok.


Add unit tests for data / models.

The unit tests for the models should be in a file called ./tests/test_data.py. The tests should assert that the predictions are between 0 and 1. Write tests in the pytest idiom. There are more things we can test down the line as it pertains to models and data, but this is a good starting place.

I can work on this this week :)

hey I can write tests for test_data.py, it seems this issue hasn't been closed

UPDATE: We have some tests done, but they're only testing for one very specific behavior of the data, which is that the live data is current as of the last 60 minutes. Check out the dev2 branch as a baseline to build off of for the tests. We still need to test:

that the combined USGS + Hobolink data is recent as of the last 2 hours.
that the models themselves output a value between 0 to 1 for the probability.

I think we have some pretty good unit-tests. Not totally comprehensive but I think we'll revisit when our code is tidier.


Oblivious attribution protocol [part 1 - attribution]

Overview
This diff implements the first part (out of two - "attribution" and "aggregation") of the last touch oblivious attribution in a secure multiparty computation. Currently it supports "Last Touch" attribution only. Produced result will be used in the second part - "aggregation", which requires sorting of the list.
Details
Last touch attribution algorithm is described in details here:
https://github.com/patcg-individual-drafts/ipa/blob/main/IPA-End-to-End.md#oblivious-last-touch-attribution
First part of the protocol accesses and accumulates data of each node in a sorted list, and produces an intermediate result that has accumulated credits for each breakdown key. The document also describes how the logic can be optimized as follows:
flag = current.stop_bit * successor.helper_bit * successor.trigger_bit
current.credit = current.credit + flag * successor.credit
current.stop_bit = flag * successor.stop_bit

This is what's implemented in last_touch_attribution() with multiplications done on a MPC. I believe there could be more optimizations if we put more constrains on the input, but for this round this basic/general implementation should be enough for us to measure baseline benchmarks.

Rust check workflow failing because of a clippy error in a code comment. I'll fix this in the next commit when I address feedbacks.

Rebase onto @martinthomson's renewed Step scheme. The most recent commit to be reviewed: https://github.com/martinthomson/raw-ipa/pull/108/commits/9e4d5378e13bd9424340876804e8dbe1b0603580


chore(main): release 0.8.5

:robot: I have created a release beep boop
0.8.5 (2024-11-08)
Bug Fixes

bump marked from 14.1.3 to 14.1.4 (#596) (8524dc2)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.8.5
:sunflower:


TemplateAssertionError: no test named 'False'

I am trying to save SetFit in my directory (which is databricks), but  both commands of :
trainer.model.save_pretrained(save directory)
OR  trainer.save_pretrained(save directory)
gives me the error of TemplateAssertionError: no test named 'False',
can you help me how can I save my model.

Sample problem, any solution?

The following fixed the issue from my side when I use cpu for testing.
!pip install jinja2 --upgrade
import os
os.environ["TOKENIZERS_PARALLELISM"] = "false"


Remove safe-contracts npm references

Context / issue
Currently we are referencing safe-contracts npm package to get the smart contracts code to create types. The problem is that the protocol-kit needs to support several versions of the smart contracts at the same time, and fetching this npm packages produce dependencies inconsistencies that affect dependency management of the protocol-kit.
As these contracts are suposed not to be changed once compatible with the protocol kit, and also that they are only needed to generate types and execute tests, it's better that we reference or copy the necessary files directly.
Proposed solution
Copy the contract code to the protocol-kit repository of those versions that are final and stablished.
Alternatives
Sync with the protocol team if it could be possible to add types to safe-deployments or other helpers to enable the types and testing case on external projects.

Sync with the protocol team if it could be possible to add types to safe-deployments or other helpers to enable the types and testing case on external projects.

Release 1.5.0 will include types for ethers v6


Add Block/Unblock Contact Function

as the title said

Let me know what you think 😄

i really suggest something like that:
func (wac *Conn) BlockContact(jid string) (<-chan string, error) {
   return wac.handleBlockContact("add", jid)
}

func (wac *Conn) UnblockContact(jid string) (<-chan string, error) {
   return wac.handleBlockContact("remove", jid)
}

func (wac *Conn) handleBlockContact(action, jid string) (<-chan string, error) {
	ts := time.Now().Unix()
	tag := fmt.Sprintf("%d.--%d", ts, wac.msgCount)

	netsplit := strings.Split(jid, "@")
	cusjid := netsplit[0] +<EMAIL_ADDRESS>
	n := binary.Node{
		Description: "action",
		Attributes: map[string]string{
			"type":  "set",
			"epoch": strconv.Itoa(wac.msgCount),
		},
		Content: []interface{}{
			binary.Node{
				Description: "block",
				Attributes: map[string]string{
					"type": action,
				},
				Content: []binary.Node{
					{
						Description: "user",
						Attributes: map[string]string{
							"jid": cusjid,
						},
						Content: nil,
					},
				},
			},
		},
	}

	return wac.writeBinary(n, contact, ignore, tag)
}

Hi there, thanks for your suggestion , I will refactor my code.
Pada tanggal Jum, 18 Des 2020 pukul 00.53 Rafael Henrique <
<EMAIL_ADDRESS>menulis:

i really suggest something like that:
func (wac *Conn) BlockContact(jid string) (<-chan string, error) {
return wac.handleBlockContact("add", jid)
}
func (wac *Conn) UnblockContact(jid string) (<-chan string, error) {
return wac.handleBlockContact("remove", jid)
}
func (wac *Conn) handleBlockContact(action, jid string) (<-chan string, error) {
ts := time.Now().Unix()
tag := fmt.Sprintf("%d.--%d", ts, wac.msgCount)
netsplit := strings.Split(jid, "@")
cusjid := netsplit[0] +<EMAIL_ADDRESS>n := binary.Node{
Description: "action",
Attributes: map[string]string{
"type":  "set",
"epoch": strconv.Itoa(wac.msgCount),
},
Content: []interface{}{
binary.Node{
Description: "block",
Attributes: map[string]string{
"type": action,
},
Content: []binary.Node{
{
Description: "user",
Attributes: map[string]string{
"jid": cusjid,
},
Content: nil,
},
},
},
},
}
return wac.writeBinary(n, contact, ignore, tag)
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Rhymen/go-whatsapp/pull/497#issuecomment-747598099,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJQBE7KDQBEGW2IHY54OH23SVJAQNANCNFSM4UZFI2YA
.

Done 😃

I like this PL, but we need to get more approval from the community, I don't have time to test it, but it seems fine for me.
Let's wait and see who thumps up will be.
Happy Christmases

Ok, thanks 😊
Merry Christmas
On Sun, Dec 27, 2020, 12:12 AM beshoo<EMAIL_ADDRESS>wrote:

I like this PL, but we need to get more approval from the community, I
don't have time to test it, but it seems fine for me.
Let's wait and see who thumps up will be.
Happy Christmases
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Rhymen/go-whatsapp/pull/497#issuecomment-751370426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJQBE7KOF4HK4Q3K57VT23LSWYDQBANCNFSM4UZFI2YA
.

I think this is great!

I think this is great!

I still have no time to test this PL. @DonovanDiamond @Diden05 did you test it?

I still have no time to test this PL. @DonovanDiamond @Diden05 did you test it?

I have test it several times and it's working

I have test it several times and it's working


Unclear error when using BAM from Nanopore data

Hi,
I am trying to use bamsnap with long read data from Nanopore aligned reads using minimap. I do not manage to get any output and the exit error is a number that I cannot debug (when I Google "KeyError: 28747748"  it does not return any meaningful results). Here is the code that I am using and the output:
bamsnap -bam ../aln_bam/dRNA_aln.sorted.bam -pos chr16:28932034 -out ./test.png
2021-01-26 23:07:53,894 : [INFO] Total running time: 0.0 sec Process proc 1: Traceback (most recent call last):   File "/home/mcortesl/.conda/envs/myenv/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap     self.run()   File "/home/mcortesl/.conda/envs/myenv/lib/python3.7/multiprocessing/process.py", line 99, in run     self._target(*self._args, **self._kwargs)   File "/home/mcortesl/.conda/envs/myenv/lib/python3.7/site-packages/bamsnap/bamsnap.py", line 229, in run_process_drawplot_bamlist     imagefname = bsplot.drawplot_bamlist(pos1, image_w, bamlist, xscale, refseq)   File "/home/mcortesl/.conda/envs/myenv/lib/python3.7/site-packages/bamsnap/bamsnap.py", line 467, in drawplot_bamlist     ia_sub = self.get_bamplot_image(bam, pos1, image_w, xscale, refseq)   File "/home/mcortesl/.conda/envs/myenv/lib/python3.7/site-packages/bamsnap/bamsnap.py", line 351, in get_bamplot_image     rset.calculate_readmap(is_strand_group=True)   File "/home/mcortesl/.conda/envs/myenv/lib/python3.7/site-packages/bamsnap/drawreadset.py", line 305, in calculate_readmap     r = DrawRead(a, self.refseq)   File "/home/mcortesl/.conda/envs/myenv/lib/python3.7/site-packages/bamsnap/drawread.py", line 66, in __init__     self.set_read_variant()   File "/home/mcortesl/.conda/envs/myenv/lib/python3.7/site-packages/bamsnap/drawread.py", line 126, in set_read_variant     refbase = self.refseq[gp].upper() KeyError: 28747748
Could this be a problem because of the formatting of the minimap2 aligned file?

Has anyone solved this issue?

Has anyone solved this issue?

This may be helpful for you. see Issue#26

Thanks @comery !!! I don't know if other long-read folks are facing the same problem, but it would be great if this improvement could be integrated into the master repo.


Support Scala Native 0.5.x changes in publishing artifacts

Upcoming Scala Native 0.5.x changes how some artifacts are published:

Scala Standard Library (scalalib) is now published for each Scala version, instead of being published once for Scala binary version. It is required to properly handle possible changes in sources between versions (mostly in Scala3) and to prepare for SIP-51 and potential unfreezing of Scala 2.13 stdlib.
scalalib does no longer contain transitive dependency on Java Standard Library (javalib) re-implementation. This dependency is now handled explicitly.

Change was tested locally based on published 0.5.0-SNAPSHOT versions. I don't think it's good idea to add dependency on snapshots in tests

@WojciechMazur I wonder if we can't wait for a stable 0.5.0 release, so that we can test for it?


Add ability to skip PHP installation

Hi,
I think we should add an option to skip PHP installation. In my personal case I want to use PHP 7, so it would be great if I could manually install PHP 7 (fpm) and then run this Caddy installer without worrying about it installing PHP 5.
For the time being I can edit the script to remove the PHP install commands, but it would be better to add an option or something :)

Thanks, will work on that :)

Done :)

Thanks :)
What's the fix you perform on the PHP configuration files? You change PHP to run on Caddy's user/group?


Dependency: Bump path-to-regexp in v4 to fix security vulnerability.

Bump dep path-to-regexp to fix https://github.com/advisories/GHSA-9wv6-86v2-598j
https://github.com/expressjs/express/blob/4.x/package.json#L50

This was released in<EMAIL_ADDRESS>

@wesleytodd I don't believe it has been fixed. The version is still set to 0.1.10

0.1.10 is the version that fixes the vulnerability.
See the advisory for more details: https://github.com/advisories/GHSA-9wv6-86v2-598j

Indeed, apologies. Seems like the scanner I'm using doesn't know this.

Is the scanner Snyk? Because we have asked them to change theirs here

Is the scanner Snyk? Because we have asked them to change theirs here

Snyk has already updated their advisory, listing 0.1.10 as not vulnerable.

How to fix?
Upgrade path-to-regexp to version 0.1.10, 1.9.0, 3.3.0, 6.3.0, 8.0.0 or higher.

With the added note recommending 8.0.0 if possible and warning of custom regular expressions:

Note: While the 8.0.0 release has completely eliminated the vulnerable functionality, prior versions that have received the patch to mitigate backtracking may still be vulnerable if custom regular expressions are used. So it is strongly recommended for regular expression input to be controlled to avoid malicious performance degradation in those versions. This behavior is enforced as of version 7.1.0 via the strict option, which returns an error if a dangerous regular expression is detected.

Is the scanner Snyk? Because we have asked them to change theirs here

We're using Aikido, they seem to have fixed it after I notified them.


Print error if invalid subcommand supplied

Observed behaviour:
$ tw foo --help

Usage: tw [OPTIONS] [COMMAND]

Nextflow Tower CLI.

Options:
  -t, --access-token=<token>   Tower personal access token (TOWER_ACCESS_TOKEN).
  -u, --url=<url>              Tower server API endpoint URL (TOWER_API_ENDPOINT) [default: 'tower.nf'].
  -o, --output=<output>        Show output in defined format (only the 'json' option is available at the moment).
  -v, --verbose                Show HTTP request/response logs at stderr.
      --insecure               Explicitly allow to connect to a non-SSL secured Tower server (this is not recommended).
  -h, --help                   Show this help message and exit.
  -V, --version                Print version information and exit.

Commands:
  actions              Manage actions.
  collaborators        Manage organization collaborators.
  compute-envs         Manage workspace compute environments.
  credentials          Manage workspace credentials.
  generate-completion  Generate bash/zsh completion script for tw.
  info                 System info and health status.
  launch               Launch a Nextflow pipeline execution.
  members              Manage organization members.
  organizations        Manage organizations.
  participants         Manage workspace participants.
  pipelines            Manage workspace pipeline launchpad.
  runs                 Manage workspace pipeline runs.
  teams                Manage organization teams.
  workspaces           Manage workspaces.

Expected behaviour:
$ tw foo --help

Invalid command: foo

Discovered accidentally when I just did a typo with tw lauch --help

duplicated #111 ?

Yes, sorry 👍🏻


Adding 'requires' and 'import' to the list of keywords.

Fixing issue #1397.
@dwightguth please review.

lgtm. merge if tests pass.


bugfix: IPAM block affinity leaks after upgrade

Description

fixes https://github.com/projectcalico/calico/issues/1956
Todos

[x] Tests
[ ] Documentation
[x] Release note

Release Note

bugfix: IPAM doesn't use old IP blocks after upgrade to Calico 3.1

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[No QA] Create expensify-api.md

Explanation of Change
New help doc of API FAQs
Fixed Issues
https://github.com/Expensify/Expensify/issues/414951
Tests
None
Offline tests
None
QA Steps
None
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes

[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)

[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videosundefined

A preview of your ExpensifyHelp changes have been deployed to https://a80ad00b.helpdot.pages.dev ⚡

I'm not 100% sure why the page total and menu item are lower case. I have changed the filename, but I'm taking a stab in the dark. If you know what controls this @puneetlath please let me know!

The code definitely looks a little funky, but we can maybe work on improving the style for that.

I'm not 100% sure why the page total and menu item are lower case. I have changed the filename, but I'm taking a stab in the dark. If you know what controls this @puneetlath please let me know!

I don't see what you're seeing @RachCHopkins. It shows up with proper caps for me.

The code definitely looks a little funky, but we can maybe work on improving the style for that.

I'm not sure what this is in reference to. Is this something you're doing?

@puneetlath Stylistically, I think that this looks kinda weird. Like, it's not obvious enough what it's doing:

But that's probably a question for the design team.

@puneetlath I can (and I will), but I don't think the styles for the whole help site should hold up this one doc! If the style is later changed it will still apply!

@puneetlath yes there are other pages that use this styling, but not to this extent. It's the style for the whole help site, I don't think we should hold up this one help page, as we're unlikely to change the style in the nery near term.

Ok gotcha. And where is that being tracked? I want to make sure it's not going to fall through the cracks if I merge this.

Have added it here per design team!

proposals to fix this are happening here - https://github.com/Expensify/App/issues/54227

Ok, thanks for creating that. I'm going to go ahead and merge this then.


[chore][python] upgrade python to latest LTS

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Use case
At the moment, DevLake needs python 3.9 which doesn't have active support since almost 2 years (only security fixes).
It would be nice to upgrade the base image and dependencies to run against a newer version.
side thought: I believe adding dependabot or renovate will benefit DevLake, I am not currently sure how dependency management is handled
Description
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

IIRC the dbt plugin requires pinning it to v3.9. We tried upgrading a few months ago and that plugin broke. cc @klesh

Yes, that is correct.
@abeizn any update on the DBT side?

@wanisfahmyDE Thanks for the input, seems like we have to wait 😂.


How to stop the file watcher?

I want to stop watching a directory, for example i am watching C:\test\someFolder, and i want to stop watching it and start watching C:\another\test
so how could I do it?

Just delete the FileWatcher object, and create a new one?

yes @ZaWarudo111, @robiwano is right, the library follow cpp raii pattern, construction of the class start, destruction ends, if you want fined grained control over this, create the object with an smart pointer.
of course I would probably accept a pr to allow changing a watched dir during object life time.


server： deregister should be call if stream revc error after inject net error

Signed-off-by: bufferflies<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #11341
Problem Summary:
What is changed and how it works?
deregister should run even if receiving error
Proposal: xxx
Related changes
Check List
Tests
Side effects
Release note
None

Which PR introduced this?

Which PR introduced this?

refer #11341

/merge

/merge

/test

/test

This PR introduces an unstable case test_sending_fail_with_net_error.


Update README.md

Add references to azdev extension update-index command.

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/Azure/azure-cli-extensions.git@ReadmeUpdate#subdirectory=src/$EXT&egg=$EXT"


Upgrade requirements (YARA => 3.8.0)

to: @ryandeivert
cc: @airbnb/binaryalert-maintainers
Background
YARA v3.8.0 was recently released! Time to upgrade all of the BinaryAlert libraries
Changes

Add cryptography to the pre-built dependencies for the BinaryAlert YARA analyzer. This is a prerequisite for #19
Upgrade YARA and yara-python to v3.8.0
Upgrade all other requirements
Fix new pylint violations (apparently, the explicit (object) subclassing is no longer necessary in Python3)

Testing

Deployed to a test account and ./manage.py live_test

Coverage remained the same at 92.042% when pulling bc8b5b0b8e0961e97d9d658451329f65ac88473f on austin-requirements into 50aaea92cb1bbc0a71c800db9570c83fa9d135ed on master.


[FEATURE REQUEST] Split config file

Expected Behavior

modular bot's feature, so we can split config file to several separate files.

Actual Behavior

The config file is now very long, and I do not know the specific role of each part.

Your FULL config.json (remove your username, password, gmapkey and any other private info)

config.json.pokemon.example

Output when issue occurred

empty

Steps to Reproduce

empty

Other Information
OS: macOS beta

Branch: dev

Git Commit:

Python Version: Python 2.7.10

Any other relevant files/configs (eg: path files)

Short Description

Possible solution

How it would help others

#3506


[Android][HorizontalScrollView] last item removal scroll position restore

Summary
Fixes https://github.com/facebook/react-native/issues/27504
Which is: Whenever a last list item in a horizontal scroll view in android is removed, the position is not reset and shows an empty/blank space in the end (gif attached in the issue).
Changelog
Similar to ReactScrollView(https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java#L774):
We add a listener which triggers whenever a list item is removed/added, and it checks if we have a scroll position that is more than the max possible scrollposition, it will reset it to max possible scroll position.
[Android] [Fixed] - last item removal scroll position restore in ReactHorizontalScrollView
Test Plan
Code should not be a problem since there is already a similar solution in ReactScrollView.
Attaching gif for the fixed version.

Hey, great you are tackling this issue which has been bugging me for a couple of days now! Unfortunately, I wasn't able to get this to work @0.61.5... Is there any way I can help debugging this?

that can be possible , all deppends how tou want fix it
Sent from my iPhone
On Dec 31, 2019, at 5:48 PM, Alexander Kurnikowski <notifications<EMAIL_ADDRESS>wrote:
Hey, great you are tackling this issue which has been bugging me for a couple of days now! Unfortunately, I wasn't able to get this to work @0.61.5... Is there any way I can help debugging this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/facebook/react-native/pull/27514?email_source=notifications&email_token=AMM5L3F7H6KEKBKKYXKFMK3Q3PD3VA5CNFSM4J26Z7RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH4YOUY#issuecomment-570001235, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMM5L3H7CXZ2L2MTK4D652DQ3PD3VANCNFSM4J26Z7RA.

Even with fillViewPort set to true, the issue does not go away.

hence the original solution

having some merging issues. will cleanup and raise