Attempting to record video crashes app (iOS)

Issue description
Attempting to record video crashes app on iOS. Android is unaffected
How to reproduce
Version Info

flutter_rtmppublisher : bec8781388a5fc7ab257e46684c815d49a843d6d
Xcode: 11.5 (11E608c)
Flutter: Flutter 1.17.3 • channel stable
Device: iPhone 6s (12.3.1) AND iPhone Xs Max (13.3.1)

Steps

Run example via Xcode
Select either front or rear camera
Ensure audio is enabled
Press Icons.videocam
App will crash w/ exception

Exception:
2020-06-15 11:39:40.013797-0700 Runner[17722:864140] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVAssetWriterInput appendSampleBuffer:] Media type of sample buffer must match receiver's media type ("soun")'
*** First throw call stack:
(0x229ca927c 0x228e839f8 0x22fc071a0 0x100e04770 0x100e03b48 0x22fc6f7cc 0x22fc6f478 0x22d18f34c 0x22d1ac8ec 0x10332cc74 0x10332fffc 0x103342610 0x103334a4c 0x1033358ec 0x103334a4c 0x1033358b4 0x10333f77c 0x2298c9114 0x2298cbcd4)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

update: only happens when audio is enabled
This appears to be the offending line: https://github.com/pinkfish/flutter_rtmppublisher/blob/master/ios/Classes/RtmppublisherPlugin.m#L628

I don't know if this is related, but with the same configuration when pressing the fourth streaming button and either pressing "cancel" or "ok" the app crashes with:
2020-06-17 18:04:28.754916+0300 Runner[23373:6777158] -[NSNull length]: unrecognized selector sent to instance 0x20168a1a0
2020-06-17 18:04:28.755152+0300 Runner[23373:6777158] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull length]: unrecognized selector sent to instance 0x20168a1a0'
*** First throw call stack:
(0x1bf994164 0x1bf6a8c1c 0x1bf8927e0 0x1bf99885c 0x1bf99ab60 0x1bfc774dc 0x1bfc77480 0x1054a21dc 0x1054a15cc 0x1054a5ad0 0x1054a43fc 0x10554dd10 0x10554f18c 0x105556968 0x105557580 0x1055630f0 0x1bf69b714 0x1bf6a19c8)
libc++abi.dylib: terminating with uncaught exception of type NSException
This happens with audio on or off.

Getting this issue as well. Does anyone have any updates?


Connection error: 403

Hello!
I have been getting 403 error in my environment for the last week or so, is there a solution?
Does it occur in other people's environments?
I have tried the following:

Re-login (Re-generate API key)
Reboot the router (IP address will change)
Try on a different computer
Change timeout in api.py from 20 to 200
Change User-Agent PixivIOSApp to Chrome

Log:
Start download, total illustrations  3
  0%|  | 0/3 [00:00<?, ?it/s]] Connection error: 403 => NNNNNNNNN_p0.jpg download error, retry
] Connection error: 403 => NNNNNNNNN_p0.jpg download error, retry

Environment:

Arch Linux and Debian

Thank you always and in advance.

exact same error

ditto to that too

I also have this error.


New arguments parsing for float_vector field

Proposal:
We should add parsing of the parameters to enable connection with the new library for automatic embeddings.
Currently, I suggest starting with the following specification:

fields = "field1, field2": fields we should use as the source for text to generate embeddings
model_name = "openai/..." or model_name = "sentence-transformers/..." for local models
api_key = "...": for cases where we use a remote API for embeddings (we should be able to alter and change this one)
use_gpu = 1|0: for cases where we use a local model and need to use GPU (if available), default is always CPU

Also we should consider to add new config:

embedding_cache_path = ...: path to the cache directory where we will store everything in case of local model usage
It may look like this:

CREATE TABLE test (
    title TEXT,
    image_vector FLOAT_VECTOR
    KNN_TYPE='hnsw'
    KNN_DIMS='4'
    HNSW_SIMILARITY='l2'
    MODEL_NAME = "..."
);

Checklist:
To be completed by the assignee. Check off tasks that have been completed or are not applicable.

[ ] Implementation completed
[ ] Tests developed
[ ] Documentation updated
[ ] Documentation reviewed
[ ] Changelog updated
[x] OpenAPI YAML updated and issue created to rebuild clients

We may want to hide api_key in show create table output for security reasons.

Dev call of Oct 28: ALTER should be supported for api_key

Adding new options is easy. However, it is not clear what should be done with these options

@donhardman pls advise.

We should parse it and store it somewhere to make it possible for the indexer stage to use it to generate embeddings with the lib as discussed before on call.

Here are points to consider:

We should create a model and store pointers linked to model_name. This means we need a map of pointers to use in the future when indexing, where the key in this map is model_name.
Reference examples can be found in:

Test file: https://github.com/manticoresoftware/manticoresearch-text-embeddings/blob/main/examples/test.cpp
Header file: https://github.com/manticoresoftware/manticoresearch-text-embeddings/blob/main/manticoresearch_text_embeddings.h

When model_name is specified, we should get dimensions from it by calling the get_hidden_size method and not allow users to pass their own knn_dims as it would create a conflict. Therefore, when model_name is specified, knn_dims is not required.
The API key is validated during model creation by passing the model_name parameter. If the specified model requires an API key and one is not provided when creating a pointer, an error will be thrown.

The task primarily involves parsing rather than deep integration with the library.

Correct me if I'm wrong:

Discussed on today's dev call.

fields = "field1, field2": fields we should use as the source for text to generate embeddings

As discussed, it makes sense to use from instead of fields to make it less confusing and support not only ft-fields, but:

string attrs
stored only text

As discussed on today's call, here's what's left to do within this task:

Load the lib on daemon start
There should be one more function in the lib for versioning which returns smth like 1.2.3 <date> <commit>. @donhardman pls address this
Prepare for supporting batching

There should be one more function in the lib for versioning which returns smth like 1.2.3  . @donhardman pls address this

Here's a separate task for this https://github.com/manticoresoftware/manticoresearch-text-embeddings/issues/8

I implemented support for embeddings library in MCL and daemon (branches embeddings and embeddings_generation respectively). The next step is to integrate https://github.com/manticoresoftware/manticoresearch-text-embeddings/ into MCL and CI

@donhardman ^

We should rewrite the code to work with the library as a static integration into KNN dynamic.
Here are the artifacts: https://github.com/manticoresoftware/columnar/actions/runs/12488775335
I also modified CMake, it should build locally without problems, but in case of any issues, please let me know.
Next step: make it work with the static library built into KNN.


User Profile - basic user information

t ack

t ack

@bluabaleno it's not particularly used for anything that required manual input and as we've seen in the past it's created confusion where some users think it's that users wallet key


generateJsonSchema2Pojo Runs Too Early and Can't Add Depends On

My goal is as follows:

copy files to staging area (required by company)
generate pojos from the schemas that were copied to the staging area
java updater that tweaks the generated models for my company needs
build a jar file from the updated generated files for distribution so that we can have everyone on the same page.

To achieve this I have subprojects for each above.  The issue is that even with evaluationDependsOn step 1, step 2's generatedJsonSchema2Pojo executes first and therefore fails because the files have not been staged yet.  I have tried everything I can find on the internet and everything I can think of and it still fires just after clean and before anything else.
Any help would be GREATLY appreciated.

Taking a long shot here:
This doesn't seem to be issue of jsonschema2pojo but rather issue of gradle project setup.
Maybe this could be helpful

Taking a long shot here:
This doesn't seem to be issue of jsonschema2pojo but rather issue of gradle project setup.
Maybe this could be helpful


Right click will break VirtualBox with Ubuntu 18.04 LTS

We have written the needed data into your clipboard because it was too large to send. Please paste.
I have Win10 and VirtualBox with XUbuntu 18.04 LTS. I have Code on this Ubuntu. After the last update, right click anywhere in the editor break the whole virtual computer (illegal instruction).

@meolic does this still repro if you do the following on latest stable 1.40.1 ?
* Command Palette search for "Configure Runtime Arguments"
* Set `disable-hardware-acceleration: true`
* Restart

On Mon, 18 Nov 2019 15:52:11 -0800
Robo<EMAIL_ADDRESS>wrote:

@meolic does this still repro if you do the following on latest
stable 1.40.1 ?
* Command Palette search for "Configure Runtime Arguments"
* Set `disable-hardware-acceleration: true`
* Restart

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/microsoft/vscode/issues/84470#issuecomment-555264527

Well, I looks better. I was able to produce PDF from Markdown using an extension
which was impossible without this fix.
Please note, that Code crashes even after I updated the proposed argument
and tried to close, but after the restart everything seem to be OK.
Best regards, Robert

Thanks for confirming, closing this as duplicate of https://github.com/microsoft/vscode/issues/84745
Virtualbox bugs are linked at https://github.com/microsoft/vscode/issues/84745#issuecomment-561645280


Refactor and Cleanup

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


EDITOR considered as empty if there is a space in the variable

My editor is current subl -w (option for the editor to wait and not send an exit status right away)
A call to eyaml edit results in the following:

[hiera-eyaml-core] Editor not found. Please set your EDITOR env variable

@ColinHebert Can you confirm whether this has been fixed?

I can confirm that it works. Awesome!


feat: portal 支持 attach 函数传入 triggerNode

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@b7bea93). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #616   +/-   ##
==========================================
  Coverage           ?   64.37%
==========================================
  Files              ?      726
  Lines              ?    12623
  Branches           ?     3021
==========================================
  Hits               ?     8126
  Misses             ?     4497
  Partials           ?        0

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 b7bea93...e1a8ad8. Read the comment docs.


The default remote attribute is being ignored for local only repositories

Hey!
I'm using the fd v1.1.1 and for the repositories that only have a local data when we try fetching some data it is ignoring the default remote attribute set in the model annotation. As a workaround we are manually setting the remote: false on every request made that relates to a local only repository.

ex: repo.findAll(remote: false)


Camelize the relationship name before getting the association

The default behaviour of the JSON:API serializer is to dasherize the relationship names, so having a multiple word relationship name, will result in a block like ... "post-author": { data: null }....
Without this patch the _getAttrsForRequest fails, because it cannot find the correct association (Cannot read isPolymorphic of undefined)

Looks like there is a PR that solves the same problem, but uses different approach
https://github.com/samselikoff/ember-cli-mirage/pull/1346

Woah, thanks! Little embarrassed this wasn't covered by tests... might be good to go through the test cases and switch everything to multi-word examples.


[RFC]: Levenshtein distance between two strings

Description
This RFC proposes adding a function to calculate the Levenshtein (edit) distance between two strings.
Package: @stdlib/string/base/distances/levenshtein.
The function should have the following signature (a: string, b: string): number.
The Levenstein (edit) distance is a popular metric for quantifying the difference between two strings. It is used in a variety of applications, including spell checking, natural language processing, and text mining.
See:

Levenshtein distance

Related Issues
None.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

Hi @Planeshifter,
I am interested in working on this. Here is a rough snippet of the solution:
/*
Reference: https://www.baeldung.com/cs/levenshtein-distance-computation (Algo# 4)
Reference: https://leetcode.com/problems/edit-distance/solutions/25846/c-o-n-space-dp/
*/
const levenstein = ( a: string, b: string ): number => {
    const n = a.length, m = b.length;
    const row: number[] = [ ...Array( m + 1 ).keys() ];

    for ( let i = 0; i <= n - 1; i++ ) {
        let pre = row[ 0 ];
        row[ 0 ] = i + 1;
        for ( let j = 0; j <= m - 1; j++ ) {
            let temp = row[ j + 1 ];
            if (a[ i ] == b[ j ]) {
                row[ j + 1 ] = pre;
            } else {
                row[ j + 1 ] = Math.min( pre, Math.min( row[ j ], row[ j + 1 ] ) ) + 1;
            }
            pre = temp;
        }
    }

    return row[ m ];
}

console.assert( levenstein( "algorithm", "altruistic" ) == 6 )
console.assert( levenstein( "1638452297", "444488444" ) == 9 )
console.assert( levenstein( "", "" ) == 0 )
console.assert( levenstein( "", "a" ) == 1 )
console.assert( levenstein( "aaapppp", "" ) == 7 )
console.assert( levenstein( "frog", "fog" ) == 1 )
console.assert( levenstein( "fly", "ant" ) == 3 )
console.assert( levenstein( "elephant", "hippo" ) == 7 )
console.assert( levenstein( "hippo", "elephant" ) == 7 )
console.assert( levenstein( "hippo", "zzzzzzzz" ) == 8 )
console.assert( levenstein( "hello", "hallo" ) == 1 )
console.assert( levenstein( "congratulations", "conmgeautlatins" ) == 5 )

Could you also suggest some similar packages that I could build this functionality from? Any other pointers to be kept in mind during development? Thanks!

Hi @Planeshifter, I have raised a PR (https://github.com/stdlib-js/stdlib/pull/1030) for this issue. Could you please check and let me know in case of any corrections? Thanks!

Upon first look, this looks great, thanks @Infinage! Will review shortly.


TypeScript configuration folder should match ESLint configuration folders

ESLint and TypeScript configurations are both designed "by project type" and are both composed of "parts".
Therefore, both should use the same folders structure. IMO, the TypeScript should be updated to match the ESLint project.

I guess the issue is that they don't work the same and using the same structure for TS would be make the userland path longuer.
I would then advise to simply rename the "core" folder to "parts" so it matches ESLint.
Personally, I would probably even drop the "parts" folder for both and move the files at the root of their parent folder. That would be even easier to understand when browsing the files.


Installation Error

I tried to follow the instructions from the readme file, but I am receiving an error saying:
WE'RE HAVING TROUBLE RENDERING YOUR COMPONENT
Students will not be able to access this component. Re-edit your component to fix the error.
Error: Reverse for 'jupyter_nb_viewer' not found. 'jupyter_nb_viewer' is not a valid view function or pattern name.
I tried to install the Xblock on both Gingko.2 and Hawthorn.beta1 releases with the same negative results.

Hey @gpsathas,
Were you able to follow the “LMS/CMS Setup” instructions in the README as well?
The XBlock relies on a couple of API endpoints, which is why this is necessary.
Please let us know, and thanks!

Fortunately, I managed to install XBlock, but I used your AMI in Community AMIs.
Still, I didn't realize what the problem with my installation was! Missing some prerequisites maybe? If you have some advice for me to follow please tell me because I want to use my own instance.

Great to hear that the OpenIBL AMI (Ginkgo.2) installation helped you!
The fact that it's not possible for you to install this XBlock on your own installation might have to do with the stability of your Open edX instance as opposed to the XBlock's, unfortunately. We've tested the XBlock thoroughly across multiple versions of Open edX and it seems like you've followed all the right instructions!
If you have cms or lms logs — depending on where you saw this error — it may be possible to identify the problem with your installation of Open edX, but that has a pretty wide surface area.
Closing this issue but feel free to reopen it if you encounter any problem, @gpsathas !

Hi, we have the exact same issue on Hawhtorn.
Are you sure there is no missing steps in the installation ?
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/runtime.py", line 810, in render     frag = view_fn(context)   File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock_jupyter_viewer/xblock_jupyter_viewer.py", line 69, in student_view     base = reverse('jupyter_nb_viewer') + "?{}"   File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/urls/base.py", line 91, in reverse     return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))   File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/urls/resolvers.py", line 497, in _reverse_with_prefix     raise NoReverseMatch(msg) NoReverseMatch: Reverse for 'jupyter_nb_viewer' not found. 'jupyter_nb_viewer' is not a valid view function or pattern name.

exact same problem here with Hawhtorn

This has been fixed.
Feel free to re-open if you still have the same problem.


Undo/redo after saving the file

Currently the undo/redo stack is cleared when saving a file, but I think it makes sense to be able to e.g. undo after saving the file.

Yes, the undo/redo stack should not be cleared. Something to consider when reworking the undo/redo system in the future.

This got fixed while reworking the undo/redo support.


HITL - Mouse-based UI.

Motivation and Context
This adds a new UI to the rearrange_v2 app with the following features:

Mouse-based pick and place.
Mouse-based open/close of articulated object links.
Color coding of goal object-receptacle pairs.
Refactoring.

Features
Here are videos showing the overall changes. Note that the instruction text was disabled for visibility, and that highlight circle billboarding is only implemented in Unity.
Double-click to open individual articulated object links:
https://github.com/facebookresearch/habitat-lab/assets/110583667/2abf1b16-1182-432c-bcae-90ffe83f37c3
Double-click to pick objects, and release right click to place it:
https://github.com/facebookresearch/habitat-lab/assets/110583667/5c08ee09-ae9d-4b5a-9631-0ba9ac69b7d2
While holding right click, an indicator shows up communicating whether the object can be placed:
https://github.com/facebookresearch/habitat-lab/assets/110583667/1a891cb5-d43e-421b-af61-f2a19c5e2359
Experiment objects must be placed on specific receptacles. The pairs are color-coded:
https://github.com/facebookresearch/habitat-lab/assets/110583667/be07b754-7834-4f65-b890-d161ffb7b1ca
When an action is possible, the color is green. Otherwise, it is red:
https://github.com/facebookresearch/habitat-lab/assets/110583667/d4024df8-65fd-46ff-97d2-79cf423a6545
All of this works in Unity:
https://github.com/facebookresearch/habitat-lab/assets/110583667/c38b6a62-aad9-4134-a0aa-1a6276069856

How Has This Been Tested
Tested locally and with remote Unity client.
Types of changes

[Development]

Checklist

[x] My code follows the code style of this project.
[x] I have updated the documentation if required.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[x] I have added tests to cover my changes if required.

Thanks John! I applied your suggestions.


PLFM-6275

Add 'additionalFilters' to TransformSqlWithFacetsRequest object
Support transforming QueryFilters to Synapse SQL
Refactor to reuse less complex code

Draft while pending API design review

We went another route


Update workload-identity-federation-considerations.md

Add spain central to regions where FIC is not supported and order list.

@rwike77
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Incomplete protocol implementation

I have tested the code today with a WONDROM VC01-M62429[615] module and an Arduino Nano board.
The WONOM board is based on the It is based on the M62429 chip (https://store.sure-electronics.com/product/AA-AA11117). I tested with a digital scope against the rotary encoder board deliverd with the module.
After a two hour debug session I finally got the code running. It turned out that the protocol implementation in the _setVolume function is incomplete. According to the datasheet two "H" bits are required at the end of transmission (D9 and D10). The current software only sends a single high bit instead of two. The chip is also very strict about the data low phase after every bit and the latch timing.
Here's the corrected code.
I did not check if the setup and hold timing is satisfied on faster processors than the Nano board. Potentially more delay functions are needed.
void M62429::_setVolume(uint8_t channel, uint8_t attn)
{
uint16_t databits = 0xFE00;           // latch bits
databits |= (attn & 0x007C);
databits |= ((attn & 0x03) << 7);
// channel == 2 -> both 0x00 is default
if (channel == 0) databits |= 0x03;   // 11
if (channel == 1) databits |= 0x02;   // 01
for (uint16_t mask = 1; mask < 0x0200; mask <<= 1)
{
digitalWrite(_data, databits & mask);
digitalWrite(_clock, HIGH);
// Note that if clock pulses are long enough the data pulses are automatically too.
if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);
digitalWrite(_data, LOW);
digitalWrite(_clock, LOW);
if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);

}
// Send D9 high bit
digitalWrite(_data, HIGH);
digitalWrite(_clock, HIGH);
if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);
// note that the data signal must be set to low for every bit.
digitalWrite(_data, LOW);
digitalWrite(_clock, LOW);
if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);
// Send D10 high bit (Latch signal)
digitalWrite(_data, HIGH);
digitalWrite(_clock, HIGH);
if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);
// latch signal requires clock low before data
// make _data dummy write to keep timing constant
digitalWrite(_data, HIGH);
digitalWrite(_clock, LOW);
if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);
digitalWrite(_data, LOW);
if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);
}

Thanks for testing and fixing the issue.
I will dive into this asap but that might take a few days as i need to reread the datasheet details again.

Found a timeslot today. Checked my hardware but no IC's so I need to order them for testing.

looked at your code and indeed a bug in the latch bits.
As I prepared the latch bits in databits the code below shifts out the D9 bit also in the loop.
This makes the code a bit shorter.
As I have no HW around can you please verify this version?
// attn = 0, 3..87
void M62429::_setVolume(uint8_t channel, uint8_t attn)
{
  uint16_t databits = 0xFE00;               //  D10 - D9  latch bits
  databits |= ((attn & 0x03) << 7);         //  D8  - D7  volume bits
  databits |= (attn & 0x007C);              //  D6  - D2  volume bits
  // channel == 2 -> both 0x00 is default
  if (channel == 0) databits |= 0x03;       //  D0  - D1  channel bits
  if (channel == 1) databits |= 0x02;       //  D0  - D1  channel bits

  // write D0 - D9
  for (uint16_t mask = 1; mask < 0x0400; mask <<= 1)
  {
    digitalWrite(_data, databits & mask);
    digitalWrite(_clock, HIGH);
    // Note that if clock pulses are long enough the data pulses are automatically too.
    if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);

    digitalWrite(_data, LOW);
    digitalWrite(_clock, LOW);
    if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);
  }

  // Send D10 HIGH bit == 2nd latch bit
  digitalWrite(_data, HIGH);
  digitalWrite(_clock, HIGH);
  if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);

  // last latch bit requires clock low before data
  // make _data dummy write to keep timing constant
  digitalWrite(_data, HIGH);
  digitalWrite(_clock, LOW);
  if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);

  digitalWrite(_data, LOW);
  if (M62429_CLOCK_DELAY > 0) delayMicroseconds(M62429_CLOCK_DELAY);
}

mmm, just noticed different edge when data is clocked. does not affect the code.

Created PR - https://github.com/RobTillaart/M62429/pull/5
Branch - https://github.com/RobTillaart/M62429/tree/Fix_4

I'll try to find a time slot next week for testing with the hardware.
Am 30.12.2021 um 11:32 schrieb Rob Tillaart:

Created PR - #5 https://github.com/RobTillaart/M62429/pull/5
Branch - https://github.com/RobTillaart/M62429/tree/Fix_4
—
Reply to this email directly, view it on GitHub
https://github.com/RobTillaart/M62429/issues/4#issuecomment-1002967583,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXCPW4G77TMU7ZVXVYW5MILUTQYKZANCNFSM5K4YEP5Q.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Found a timeslot today. Checked my hardware but no IC's so I need to order them for testing.

Ordered 2x FM62429  (next:  find a big chunk of time)

@ralfbeuschel

I'll try to find a time slot next week for testing with the hardware.

Any progress?

Sorry no progress in the past week.... too busy with everything. I'm not
in a big hurry with this project.
Ralf
Am 09.01.2022 um 12:32 schrieb Rob Tillaart:

@ralfbeuschel https://github.com/ralfbeuschel
I'll try to find a time slot next week for testing with the hardware.

Any progress?
—
Reply to this email directly, view it on GitHub
https://github.com/RobTillaart/M62429/issues/4#issuecomment-1008280248,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXCPW4F5CB3H3JKTFGIYUYDUVFW5VANCNFSM5K4YEP5Q.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


Live site 404 error

Describe the bug
The site link is broken

How do I resolve it?
You have hosted it ?


typos

Thanks for fixing! I am sure this makes the examplerawio more enjoyable to read.

I am really wondering who could wrote this with a so bad grammar.

Yes, me too :D


Added the EnviroDIY GroPoint Modbus library

Supports reading data from GroPoint soil moisture sensors.

@ArduinoBot I created a release with a tag matching the version.


Update pattern

Thanks Ivan and sorry for flooding you, should've tested this locally!

No problem at all :-) Let Travis work, it's a robot it doesn't care :-)

Merged! Thanks :-)


[ADDITION] Siteminder

Category
SaaS
Software to be added
Siteminder
Supporting Material
URL: https://www.siteminder.com/
Description: Hotel commerce solution for independents and multi-property groups: channel manager, booking engine, website design, insights and hotel apps."
Size:
HQ: Sydney
LinkedIn: https://www.linkedin.com/company/siteminder/
See Record on Airtable:
https://airtable.com/app0Ox7pXdrBUIn23/tblYbuZoILuVA0X3L/recDdPKDCSOJhJIMh

Enough info in Airtable, adding to list


METRON-110 Create lightweight packet capture script

The fast packet capture process is difficult to manage and deploy in test and development environments.  There are difficulties in integrating it with the existing deployment environments which makes it difficult to test and demo functionality that is dependent on packet capture data.  Need to create a lightweight packet capture process that replicates what the fast packet capture process does.  This would effectively be a replacement for Pycapa; one that is compatible with the Apache license.
Pycapa has two primary runtime modes.
Producer Mode
Pycapa can be configured to capture packets from a network interface and then forward those packets to a Kafka topic.  The following example will capture packets from the eth0 network interface and forward those to a Kafka topic called pcap running on localhost.
pycapa --producer --kafka localhost:9092 --topic pcap -i eth0

To output debug messages every 100 captured packets, run the following.
pycapa --producer --kafka localhost:9092 --topic pcap -i eth0 --debug 100

Consumer Mode
Pycapa can be configured to consume packets from a Kafka topic and then write those packets to a libpcap-compliant file.  To read 100 packets from a kafka topic and then write those to a libpcap-compliant file, run the following command.  The file out.pcap can then be opened with a tool such as Wireshark for further validation.
pycapa --consumer --kafka localhost:9092 --topic pcap --n 100 > out.pcap

To consume packets from Kafka continuously and print debug messages every 10 packets, run the following command.
pycapa --consumer --kafka localhost:9092 --topic pcap --debug 10

@cestella I was able to use this tool to build valid libpcap-compliant files from packet data in Kafka.  This was successful when using either pycapa or the 'fast packet capture' code as the source of packet data.  This kind of test has not been automated, but at least now I have the means to automate it.
Also, this should help show exactly what kind of headers we need added by your 'pcap extraction topology' effort.

I don't think the license for argparse is kosher. Please investigate and
remove if inappropriate or adjust the license file if that's required.
On Fri, Apr 15, 2016 at 15:23 Nick Allen<EMAIL_ADDRESS>wrote:

@cestella https://github.com/cestella I was able to use this tool to
build valid libpcap-compliant files from packet data in Kafka. This was
successful when using either pycapa or the 'fast packet capture' code as
the source of packet data. This kind of test has not been automated, but at
least now I have the means to automate it.
Also, this should help show exactly what kind of headers we need added by
your 'pcap extraction topology' effort.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-metron/pull/76#issuecomment-210481160

Argparse is part of the standard library and does not need to be separately installed.  Removed the need to install it separately via pip.  Python standard lib is license compatible with Apache.

Ahh I see I thought there was some weirdness with GPL, but as I look it's
Python licensed now. It only became part of the standard package as of 2.7
and I think ambari requires 2.6...is there any issue installing this on the
vagrant vm?
Sorry I'm on my phone since wifi on my computer is slightly busted and it's
a bit hard to investigate fully or type easily ;)
On Fri, Apr 15, 2016 at 17:48 Nick Allen<EMAIL_ADDRESS>wrote:

Argparse is part of the standard library and does not need to be
separately installed. Removed the need to install it separately via pip.
Python standard lib is license compatible with Apache.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-metron/pull/76#issuecomment-210542984

Interesting.  I manually deployed on CentOS 6 with the latest change and it worked.  But it appears argparse was already installed by something else.  This node went through a partial Metron install, but no pycapa.
[vagrant@node1 pycapa]$ ls -l /usr/lib/python2.6/site-packages/argparse*
-rw-r--r--. 1 root root 87791 Mar 31  2011 /usr/lib/python2.6/site-packages/argparse.py
-rw-r--r--. 1 root root 66661 Jul 23  2015 /usr/lib/python2.6/site-packages/argparse.pyc
-rw-r--r--. 1 root root 66491 Jul 23  2015 /usr/lib/python2.6/site-packages/argparse.pyo

/usr/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg-info:
total 16
-rw-r--r--. 1 root root    1 Jul 23  2015 dependency_links.txt
-rw-r--r--. 1 root root 2927 Jul 23  2015 PKG-INFO
-rw-r--r--. 1 root root  250 Jul 23  2015 SOURCES.txt
-rw-r--r--. 1 root root    9 Jul 23  2015 top_level.txt

Whether it is standard lib or installed via pip, the license issue is moot now right?  So I could just revert the last commit since I know the original code worked on 2.6 and 2.7?

Yeah the license is fine. We are going to have it installed in the vagrant
box as part of ansible, right?
On Fri, Apr 15, 2016 at 18:16 Nick Allen<EMAIL_ADDRESS>wrote:

Interesting. I manually deployed on CentOS 6 with the latest change and it
worked. But it appears argparse was already installed by something else.
This node went through a partial Metron install, but no pycapa.
[vagrant@node1 pycapa]$ ls -l /usr/lib/python2.6/site-packages/argparse*
-rw-r--r--. 1 root root 87791 Mar 31  2011 /usr/lib/python2.6/site-packages/argparse.py
-rw-r--r--. 1 root root 66661 Jul 23  2015 /usr/lib/python2.6/site-packages/argparse.pyc
-rw-r--r--. 1 root root 66491 Jul 23  2015 /usr/lib/python2.6/site-packages/argparse.pyo
/usr/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg-info:
total 16
-rw-r--r--. 1 root root    1 Jul 23  2015 dependency_links.txt
-rw-r--r--. 1 root root 2927 Jul 23  2015 PKG-INFO
-rw-r--r--. 1 root root  250 Jul 23  2015 SOURCES.txt
-rw-r--r--. 1 root root    9 Jul 23  2015 top_level.txt
Whether it is standard lib or installed via pip, the license issue is moot
now right? So I could just revert the last commit since I know the original
code worked on 2.6 and 2.7?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-metron/pull/76#issuecomment-210552058

Right.  Next step is to update deployment/roles/pycapa to use this instead of OpenSOC's pycapa.

Sounds good!
On Fri, Apr 15, 2016 at 18:37 Nick Allen<EMAIL_ADDRESS>wrote:

Right. Next step is to update deployment/roles/pycapa to use this instead
of OpenSOC's pycapa.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-metron/pull/76#issuecomment-210558957

Ok good - Leaving argparse in the requirements.txt.
Does "Sound good" == +1?

Yes
On Fri, Apr 15, 2016 at 18:46 Nick Allen<EMAIL_ADDRESS>wrote:

Ok good - Leaving argparse in the requirements.txt.
Does "Sound good" == +1?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-metron/pull/76#issuecomment-210561883


Fix toggle high contrast action

This PR fixes https://github.com/microsoft/monaco-editor/issues/3086
This PR remove the previous theme stored in the ToggleHighContrast action and limit the high contrast management in the theme service

I'm not sure what this tries to fix. What are the problems of the current way?

It's related to the issue: https://github.com/microsoft/monaco-editor/issues/3086
There is currently 2 way to enable the high contrast mode:

Via the autodetect using matchMedia
Via the ToggleHighContrast action

The first one is done entirely in the standalone theme service, via a flag, and doesn't overwrite the current theme, it just overrides it
The second one is overwriting the user theme, and it leads to some issues:

if the app calls setTheme, it disables the high contrast theme
When the high contrast mode is autodetected, or when an high contrast theme is configured, the ToggleHighContrast action does nothing
After a recent fix, the bug is different: When the high contrast mode is autodetected, or when an high contrast theme is configured, the ToggleHighContrast switch to the vs light theme even if the configured theme was dark

My main use case is:

monaco-editor is used in an app containing a dark/light setting
the user is visually impaired and they toggle the high contrast mode
The user switch from light mode to dark mode
The high contrast mode is disabled

My second use case is:

monaco-editor is used in an app that detects that the user needs the high contrast mode and set a high contrast dark theme
The user triggers the ToggleHighContrast action:

with monaco 0.33: nothing happens
with the next version: there is now a white editor in the middle of a dark page

I came up with https://github.com/microsoft/vscode/pull/154357 that fixes some of the oddities around high contrast detection.
Closing this in favor of it


Better boot.S and link script

/cc @TheLortex may be a nicer boot.S and link script.
However, a bug persists. I think this layout solve the issue about bss nicely.
The remaining bug is about the Sys.argv.(0) and its usage. Indeed, a main.ml such as:
let () = Format.printf "Hello %s!" Sys.argv.(0)

But this code does not show anything:
let () = Format.printf "Hello %S!" Sys.argv.(0)

To go further, this code only shows Hello :
let () =
  Format.printf "Hello %!" ;
  Format.printf "%S%!" Sys.argv.(0) ;
  Format.printf "!\n%!"

The problem is definitely about the usage of Sys.argv.(0).

It seems that string_to_caml_string does something wrong.

I bisected where the Raspberry Pi 4 fails and it seems that:
String.unsafe_blit str 0 res 1 len ;

fails (only on Raspberry Pi 4). I'm not sure why but I will try to continue to introspect what is going on - note that I tried this code:
let string_to_caml_string str =
  let str = String.escaped str in
  let l = String.length str in
  let res = Bytes.make (l + 2) '\"' in
  Bytes.blit_string str 0 res 1 l;
  Bytes.unsafe_to_string res

let fn0 str =
  let _str = String.escaped str in
  Format.printf "[+][+] 000\n%!" ;
;;

let fn1 str =
  let str = String.escaped str in
  Format.printf "[+][+] 000\n%!" ;
  let len = String.length str in
  Format.printf "[+][+] 001\n%!" ;
  let _res = Bytes.make (len + 2) '\"' in
  Format.printf "[+][+] 002\n%!" ;
;;

let fn2 str =
  let str = String.escaped str in
  Format.printf "[+][+] 000\n%!" ;
  let len = String.length str in
  Format.printf "[+][+] 001\n%!" ;
  let res = Bytes.make (len + 2) '\"' in
  Format.printf "[+][+] 002\n%!" ;
  Bytes.blit_string str 0 res 1 len ;
  Format.printf "[+][+] 003\n%!" ;
;;

let () =
  Format.printf "[+] 001\n%!" ;
  let _res = Bytes.create 0x100 in
  Format.printf "[+] 002\n%!" ;
  let _str = String.escaped "\000\001\000" in
  Format.printf "[+] 003\n%!" ;
  let _str = String.length _str in
  Format.printf "[+] 004\n%!" ;
  let _str = "Hello World!" in
  Format.printf "[+] 005\n%!" ;
  let _len = String.length _str in
  Format.printf "[+] 006\n%!" ;
  Bytes.blit_string _str 0 (Bytes.create 0x100) 0 _len ;
  Format.printf "[+] 007\n%!" ;
  fn0 "gi(l)braltar" ;
  Format.printf "[+] 008\n%!" ;
  let _res = Bytes.make (_len + 2) '\"' in
  Format.printf "[+] 009\n%!" ;
  Bytes.blit Bytes.empty 0 _res 0 0 ;
  Format.printf "[+] 010\n%!" ;
  fn1 "gi(l)braltar" ;
  Format.printf "[+] 011\n%!" ;
  fn2 "gi(l)braltar" ;
  Format.printf "[+] 012\n%!" ;
  Format.printf ">>> %s.\n%!" (string_to_caml_string "gi(l)braltar") ;
;;

And the output is:
 _____ _ _ _           _ _
|   __|_| | |_ ___ ___| | |_ ___ ___
|  |  | | | . |  _| .'| |  _| .'|  _|
|_____|_|_|___|_| |__,|_|_| |__,|_|
RPi4: Memory map: 768 MB addressable:
RPi4:   reserved @ (0x0 - 0x7ffff)
RPi4:       text @ (0x80000 - 0xe91ef)
RPi4:     rodata @ (0xe91f0 - 0xf091f)
RPi4:       data @ (0xf0920 - 0x13970f)
RPi4:       heap >= 0x13a000 < stack < 0x30000000
[+] 001
[+] 002
[+] 003
[+] 004
[+] 005
[+] 006
[+] 007
[+][+] 000
[+] 008
[+] 009
[+] 010
[+][+] 000
[+][+] 001
[+][+] 002
[+] 011
[+][+] 000
[+][+] 001
[+][+] 002

The bug is about the implementation of memcpy, see mirage/ocaml-freestanding#100 for more details. I will propose on this PR a simpler implementation of memcpy/memmove (so we will start to diverge from ocaml-freestanding/nolibc).

And btw, there may be some patch that has corrected the pb after this merge because I am currently able to run the example code completely with the original memcpy and memmove functions.
 _____ _ _ _           _ _
|   __|_| | |_ ___ ___| | |_ ___ ___
|  |  | | | . |  _| .'| |  _| .'|  _|
|_____|_|_|___|_| |__,|_|_| |__,|_|
EL:1
Interrupts: up
MMU: ON
RPi4: Memory map: 752 MB addressable:
RPi4:   reserved @ (0x0 - 0xffffffffffffffff)
RPi4:       text @ (0x0 - 0x6518f)
RPi4:     rodata @ (0x65190 - 0x6b6bf)
RPi4:       data @ (0x6b6c0 - 0x1030c3f)
RPi4:       heap >= 0x1031000 < stack < 0x2f000000
[+] 001
[+] 002
[+] 003
[+] 004
[+] 005
[+] 006
[+] 007
[+][+] 000
[+] 008
[+] 009
[+] 010
[+][+] 000
[+][+] 001
[+][+] 002
[+] 011
[+][+] 000
[+][+] 001
[+][+] 002
[+][+] 003
[+] 012
>>> "gi(l)braltar".

Maybe it is better to keep the same code here as the nolibc in ocaml-freestanding? The memcpy seems to really take care of 32b alignement and permit to copy 4B at a time which can be faster than 1B copy for longs arrays.

Hmhmm can you open a new issue for that to keep our experiments 👍


Update to provide updated CSS instructions

Updated language server references based on #965
Also added basic rules override example.
Apologies if this is still not correct, unfamiliar with Lua!

Do you not also need to update cmd with the new binary name? I don't use this language server.

@benfrain if you want, you can also do html and json language servers since these are also available from the same repo :) no pressure though. Thanks for the PR!

Sure, should have a better idea what I'm doing now!


show terminal, debug console in a seperate tab or in the activity bar

Issue Type: Feature Request
Hello Team,
Terminal taks a lot of space and is a distraction for viewing and working on code editor. Could you please show the output, terminal,debug console in a seperate tab or show an icon in the activity bar similar to search, extensions, etc,. when clicked opens a tab that shows the terminal, debug console, problems etc,.
Thanks,
Arun
VS Code version: Code 1.69.1 (b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a, 2022-07-12T08:28:29.328Z)
OS version: Linux x64 5.13.0-52-generic
Restricted Mode: No

/duplicate https://github.com/microsoft/vscode/issues/155161

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Use persistent storage

Making use of the persisted fee storage. For testing purposes I turned the store/load functions into a trade which can be implemented in memory (like today) or via going to disk. For the unit tests, we are using the in-memory components.
Test Plan
Load frontend pointed to local orderbook. Swap tokens until you see the metamask signature popup (don't sign yet). Restart orderbook. Sign order and see that it doesn't get rejected.

How does one load the front end pointed at local instance? Sounds fancy and useful.

@bh2smith by using http://localhost:8080/api/v1 here. Maybe we should add those instructions to their README.


Implement Binning

The current implementation makes a label for each pixel. This may generate unnecessarily huge tables, which may hamper performance for large data.
Implementing a binning option could reduce these tables.

The current implementation makes a label for each pixel. This may generate unnecessarily huge tables, which may hamper performance for large data.
Implementing a binning option could reduce these tables.

Yes, binning is routinely done. Good idea!

Closed via #27


Relax omniauth-oauth2 version requirement.

Relaxing version requirement to allow this library to play nicely with other omniauth-oauth2 libraries.

👍 on relaxing this, I would recommend either '~> 1' or '>= 1.1.1' in order to also support the latest 1.x release (1.4) and later minor-release versions.


[Accessibility] consider adding default keybinding to accept completion in inline accessible view

Type: Feature Request
In Accessible View (Alt+F2) for inline suggestion, users can activate some action buttons via keybindings, such as Alt+F6, Alt+[, Alt+]. However, "Accept Completion" does not have its default keybinding so users have to press Shift+Tab and hit Enter. Please add default keybinding for this, such as Ctrl+/ or Ctrl+Enter to accept the current suggestion.
VS Code version: Code - Insiders 1.82.0-insider (ccb95fd921349023027a0df25ed291b0992b9a18, 2023-08-17T05:33:29.141Z)
OS version: Windows_NT x64 10.0.22621
Modes:

I'm going to see if Tab will work here cc @rperez030, though I will go with your suggestions if not.

Personally, I think “tab” key is not a conceptually good option here because this is a separate and distinct view from the general suggestion widget so pressing tab key is more suitable for moving focus just like pressing Shift+Tab moves your focus to the action buttons. That’s why I suggest other keys, such as Ctrl+/ or Ctrl+Enter. Ctrl+/ is, for example, used in accepting copilot suggestion in a sidebar widget so this aligns with the existing key maps.

Thanks for your perspective here and I agree with it.

To verify, with screen reader mode enabled, trigger an inline completion. Use alt+f2 to open the accessible view. Use ctrl+/ to accept the completion.


fix(OverwriteType): change from number to string

Please describe the changes this PR makes and why it should be merged:
The API returns the overwrite type as strings, not numbers, already since v8.
https://discord.com/developers/docs/change-log#api-and-gateway-v8

it uses string in the audit log object but number in the channel object


#minor Enum type

TL;DR
Supports new EnumType in Flyte type system
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[x] Code documentation added
[x] Any pending items have an associated Issue

Complete description
Only string enum types are supported. this is purely a type system update, the underlying transport is still a stringvalue
Tracking Issue
https://github.com/flyteorg/flyte/issues/590

@EngHabu / @katrogan +1 again please


New view byte formats: Commodore PETSCII and C64 Screen code for Byte viewer

Commodore PETSCII and C64 Screen code views for Ghidra Byte Viewer extension.
PETSCII symbols are mapped as Unicode 13 compatible symbols for legacy computing. There arent many fonts supporting that yet, but it made sense to implement this in a future-proof way.
There are no inverted symbols in Unicode, so some of the glyphs are mapped to the "C64 Pro Mono" font.

My guess is that this PR won't be accepted (due to the niche format and the hackery with the non-standard unicode chars and specific font requirement), but you should be able to distribute it as an independent bundle that could easily be added to an install.  (it could be as simple as bundling the 4 classes into a jar and instructing your users to drop it in the ghidra_install/Ghidra/patch directory.)

After discussion, we won't be accepting this PR.
It is related to a missing feature of the ByteViewer (see issue #1585), which hopefully will be addressed at some point.  A java Charset implementation for the petsci encoding scheme would then be the way to go forward.


Celo common utils

Depends on: https://github.com/keep-network/keep-common/pull/64
Here we introduce Celo common tools which are intended to be used by keep-core and keep-ecdsa clients.
As a first step, a new pkg/chain/celo package has been created. This package mirrors the structure of the original pkg/chain/ethereum package. Because Celo requires the same set of tools and types as Ethereum, this pull request also fulfills that need. Specific tools for Celo have been created either by duplicating code from pkg/chain/ethereum or by making them common by moving them to the ethlike package whenever possible. Here is a short summary about what has been done:

celo.Config struct has been created by extracting core parts of ethereum.Config to a common ethlike.CommonConfig struct. Both configs look almost identical and they differ only in parts related to chain addresses and value units. Having a common core and specific chain wrappers allows avoiding duplication and opens a possibility to introduce chain-specific customizations in future. By the way, a specific ethereum.Wei type used by Ethereum config has been converted to a generic ethlike.Value and now can be used by all ETH-like chains which are basing on wei unit.
celoutil.ErrorResolver struct has been duplicated. It originates from the ethutil.ErrorResolver. The duplication had to be made as there is no simple way to make it common and move it to the ethlike package. There are several specific go-ethereum types that are in use and trying to hide them behind interfaces is hard. The amount of required work to make it common doesn't justify potential benefits.
celoutil.CallAtBlock and celoutil.EstimateGas have been also duplicated. Their original Ethereum versions are tightly coupled with the specific go-ethereum package so there is no reasonable way to make them friendly for all ETH-like chains. Hiding go-ethereum specific types behind interfaces doesn't seem to be an option here. It will require copying multiple types from go-ethereum on our side and handle conversions between them. Also, the aforementioned functions are operating on a very low level (ABI) and their implementation may be forced to handle possible differences between chains.
celoutil.TransactionOptions is also a copy of the original ethutil.TransactionOptions. Making it a common ethlike type, although possible, seems to be a bad option as Celo's bind.TransactOpts differs from their Ethereum's counterpart. It contains additional options like FeeCurrency, GatewayFeeRecipient and GatewayFee. We may want to leverage them in future.
celoutil.WithResubscription is also a duplicate of an ethutil type. It strongly depends on go-ethereum module and it's short. This weakens the reasons for making it an ethlike component. Making it common seems to be overkill as it would also require dedicated chain adapters which will make this simple code cumbersome. Regarding the auxiliary SubscribeOpts type, it also makes sense to duplicate them instead of making it common. Subscription params may differ between chains as well as their default values.
celoutil.CeloSigner type has been created similar to the EthereumSigner type. Nothing has been extracted to the common ethlike package as signing is very specific for each chain. Because of that, it seems safer to keep two distinct signers, even if their code is almost the same.
Some minor helper functions (like celoutil.AddressFromHex or celoutil.DecryptKeyFile have been also created as direct Celo counterparts of the originals written for Ethereum. They are short enough and depend too much on specific chain modules. Trying to make them common is not an option here as well.

At a first sight, multiple code duplications may look like a bad choice. However, the overall cost of trying to make it common is much higher than the future maintenance of several duplicates. In general, components which have been duplicated are simple and don't contain any complex logic. Also, all of them contain chain-specific logic, and keeping them as separated duplicates opens the possibility for easy per chain customizations if needed. Last but not least, we're still at an early stage with multi-chain support and we can always revisit this code in the future and modify it according to gained knowledge.
As a next step, this pull request also adds a celoutil.ethlikeAdapter which allows tools from ethlike package to be used with the Celo chain. This is a continuation of the approach presented in previous PR #64 where we did the same for Ethereum.
Finally, this PR also introduces major changes to the former tools/generators/ethereum package, now renamed to tools/generators/ethlike. Contract templates have been parametrized in order to support multiple chains. This has been done by adding two flags:

-backend-module which allows swapping between go-ethereum and celo-blockchain modules
-chain-util-package which allows choosing between ethutil or celoutil packages
Both flags allows to decouple contract generators from go-ethereum and use them with celo-blockchain to create dedicated contract bindings.

Actually, it's ready for review but keeping it draft until I finish testing those changes together with https://github.com/keep-network/keep-ecdsa/pull/686. There is still a risk of major changes if something goes wrong.

I would be really interested to see if we can turn the following files into a generated code somewhere in ethlike:
* `resubscribe.go`,

* `error_resolver.go`,

* `logging_wrapper.go`,

* `rate_limiter.go`.

I do agree trying to force them to work against a single interface is not feasible. Still, the only difference between celoutil and ethutil for the first two files are imports. For the last two files those are imports and the referenced client interface. However, if we rename CeloClient and EthereumClient interfaces to just Client or HostChainClient we can reduce differences to just imports.
I would still want to keep tests and have them working on the generated code. FWIW, some of the unit tests, for example rate_limiter_test.go works against a mocked interface so there probably can be just one rate limiter test file for ethutil if it makes sense.
Realistically, I do not expect those files to diverge between Celo and Ethereum Go chain implementations. Even if they one day diverge, we can simply copy-paste and commit the generated code or find a way to overwrite some parts of it. Short-term maintaining them as a generated code is IMO cleaner than maintaining identical copies.
It does not have to be in this PR, we can try it out separately, leaving the decision to you but I definitely think it's worth giving a shot.

Agree, that's a good idea. I will try to address that and open a dedicated PR. This one is already big enough.


Firefox Doesn't allow passwords over HTTP

Terrastories logins will work in Firefox (85.0/Linux)
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'terrastories login page'
Enter the username and password.
Firefox will not allow you to login and show you insecure password login

Desktop (please complete the following information):

OS: gnu/Linux
Browser Firefox
Version 85

Additional context
See https://support.mozilla.org/en-US/kb/insecure-password-warning-firefox
https://blog.mozilla.org/tanvi/2016/01/28/no-more-passwords-over-http-please/

Hi @arky,
We just added SSL to the Terrastories server you have access to. It should be resolved now. Can you check it out from your end and see?

Great @rudokemper  this works for online deployments.
But SSL will not work for offline-only deployments of Terrastories


Update ci.yaml

Welcome to the great wall of yaml 😢
This is one of the steps taken to ameliorate https://github.com/fastai/fastpages/issues/39
The Page build is prevented from occurring immediately upon repo creation, which was previously triggered by GitHub's initial commit to the user's repository copying all the content in.
cc: @jph00 this is on the journey to completely automate the setup.

FYI it works

Going to now do the opposite, and trigger the setup to happen automatically when this condition is detected.  I am going to have this trigger automatically without having to create an issue or anything to begin with.


Optimize backfill snapshot read

Our backfill executor has two input streams. One is called snapshot read and the other one is called upstream read. Backfill executors always prefer the upstream read side. Whenever a barrier arrives, it will start a new snapshot read. There is an assumption right now which is the snapshot read side could read chunk_size data between two barriers. If this assumption is broken, no progress can proceed for the backfill. Our users have encountered this issue. A solution is to increase the barrier interval as a workaround, but the ideal solution is to refine the snapshot read. Even if the rows read between barriers are less than chunk_size, we should still send them downstream.

Add some explanations for the problem (credit from @kwannoel)

There is an assumption right now which is the snapshot read side could read chunk_size data between two barriers.

Suppose there’s 1024 rows in object store ready to be read, but there’s some latency from object store.
Then the stream will not end yet, but it will wait for the store to return the rows.
The result is that snapshot chunk will not be returned yet.
Concurrently, suppose there’s a barrier received.
Now the stream will re-compute snapshot, losing any progress.


iOS build failed with 'exception' file not found

SDK version:
Customerio-reactnative: v2.1.0
React Native: 0.64.4
Environment: Development
Describe the bug
When I try to build the app using Xcode after installing package and doing pod install. I see this error in Xcode.

Expected behavior
Apps should build successfully
Additional context
Podfile:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '13.0'

target 'HybridApp' do
    use_unimodules!({
    modules_paths: ['../../../node_modules'],
    exclude: ['expo-web-browser', 'expo-crypto', 'expo-font']
  })
  config = use_native_modules!

  use_react_native!(
      :path => config["reactNativePath"],
      :hermes_enabled => true
  )

  if !ENV['CI']
    use_flipper!({ 'Flipper' => '0.140.0', 'Flipper-Folly' => '2.6.10' })
    post_install do |installer|
      react_native_post_install(installer)
    end
  end
end

Hey @uragirii, thank you for reaching out. It's a bit hard to know what might be going wrong with the given information and the error point to setup/podfile issues.
Can you please look into our reference app and documentation to make sure the setup is correct?

Hi @Shahroz16, yes followed all the steps as per your documentation.
I tried to scaffold a new RN app with cli also (npx<EMAIL_ADDRESS>init CioTest --version=0.64.4) and then followed all the steps as per your documentation but i still got the same error. This makes me to believe that there is something wrong with this version of react native.
I also find this comment regarding same problem but with lottie-react-native for the same react native version (0.64). I'm not familiar with iOS development, can you look at this and see if anything makes sense?
FWIW, i tried to run app with cli (instead of xcode) and got this error :
The following build commands failed:
        SwiftEmitModule normal x86_64 Emitting\ module\ for\ customerio_reactnative (in target 'customerio-reactnative' from project 'Pods')
(1 failure)```

<img width="1408" alt="Screenshot 2023-03-02 at 1 10 59 AM" src="https://user-images.githubusercontent.com/19703138/222246984-0c6992be-5c55-45ae-a5ba-44033e1832f4.png">

Hey @uragirii, apologies that this one slipped through the notifications. Can you please share the test app your created with CIO integrated? We can probably look into that and see what might be the problem.
Meanwhile, can you try following, follow the pod file present in your sample app?
After that, you can also try the following :
cd ios
rm -rf Pods
rm -rf Podfile.lock
pod install
cd ..
react-native run-ios

No worries! Thanks for the reply. I tried using your Pod file but i get weird errors. Maybe its not compatible. I created the repo for your reference https://github.com/uragirii/ciotest

Hi @uragirii
Jumping in for Shahroz here. First of all, I appreciate your patience.
I checked the Github sample project and was able to reproduce the errors you mentioned. This appears to be related to react native version 0.64.4 and there is a similar open ticket with react native.
I was able to resolve the problem by updating the react native version to 0.65.3, which includes the default Hermes engine version of 0.8.1. Use this react native upgrade helper to upgrade to a version that has the fix for this.
After upgrading the version, I recommend uninstalling node_modules and pods and reinstalling them. To accomplish the same thing, use the commands listed below.

rm -rf node_modules && rm -rf ios/Pods
yarn install
cd ios && pod install && cd ..

Replace yarn with npm if required.
Let me know if this fixed the error for you.

Closing due to inactivity. Feel free to re-open if issue still persist.


null check operator used on a null value flutter

macOs 14.2.1 (23C71) |  2.6 GHz 六核Intel Core i7  | 16 GB 2667 MHz DDR4
use New version available: 1.9.1
flutter sdk 3.24.0
pubspec.yaml config
environment:
sdk: '>=3.2.0 <4.0.0'
dependencies:
cupertino_icons: ^1.0.2
get: 4.6.6
flutter_screenutil: ^5.9.1
shared_preferences: ^2.2.2
cached_network_image: ^3.3.1
flutter_svg: ^2.0.10+1
intl: ^0.19.0
dio: ^5.4.3+1
flutter_tts: ^4.0.2
flutter_al: ^0.2.0
json_annotation: ^4.9.0
flutter:
sdk: flutter
dev_dependencies:
flutter_lints: ^2.0.0
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
assets:
- assets/
- assets/images/
- assets/images/login/
- assets/sounds/object/
run get generate model on home with lib/app/modules/user/json/user.json
throw exception
null check operator used on a null value flutter
when i use flutter sdk 3.16.0 and get_cli 1.8.4 is ok

Same issue

I am also facing same issue
`
get generate model with /Users/sanjayrb/projects/mtracker/json/account.json
Unhandled exception:
Null check operator used on a null value
#0      PubspecUtils.nullSafeSupport (package:get_cli/common/utils/pubspec/pubspec_utils.dart:146:76)
#1      new TypeDefinition (package:get_cli/common/utils/json_serialize/sintaxe.dart:81:22)
#2      new TypeDefinition.fromDynamic (package:get_cli/common/utils/json_serialize/sintaxe.dart:68:12)
#3      ModelGenerator._generateClassDefinition (package:get_cli/common/utils/json_serialize/model_generator.dart:68:36)
#4      ModelGenerator._generateClassDefinition (package:get_cli/common/utils/json_serialize/model_generator.dart:54:7)
#5      ModelGenerator.generateUnsafeDart (package:get_cli/common/utils/json_serialize/model_generator.dart:148:9)
#6      ModelGenerator.generateDartClasses (package:get_cli/common/utils/json_serialize/model_generator.dart:181:28)
#7      GenerateModelCommand.execute (package:get_cli/commands/impl/generate/model/model.dart:41:35)
<asynchronous suspension>
#8      main. (file:///Users/sanjayrb/.pub-cache/hosted/pub.dev/get_cli-1.9.1/bin/get.dart:18:38)
<asynchronous suspension>
#9      main (file:///Users/sanjayrb/.pub-cache/hosted/pub.dev/get_cli-1.9.1/bin/get.dart:18:9)
<asynchronous suspension>
`

Same here.

Same here.

get generate model on home with /Users/locoo/Desktop/get_cli/x/assets/models/user.json                                                        [16:18:33]
Unhandled exception:
Null check operator used on a null value
#0      PubspecUtils.nullSafeSupport (package:get_cli/common/utils/pubspec/pubspec_utils.dart:146:76)
#1      new TypeDefinition (package:get_cli/common/utils/json_serialize/sintaxe.dart:81:22)
#2      new TypeDefinition.fromDynamic (package:get_cli/common/utils/json_serialize/sintaxe.dart:68:12)
#3      ModelGenerator._generateClassDefinition (package:get_cli/common/utils/json_serialize/model_generator.dart:68:36)
#4      ModelGenerator.generateUnsafeDart (package:get_cli/common/utils/json_serialize/model_generator.dart:148:9)
#5      ModelGenerator.generateDartClasses (package:get_cli/common/utils/json_serialize/model_generator.dart:181:28)
#6      GenerateModelCommand.execute (package:get_cli/commands/impl/generate/model/model.dart:41:35)

#7      main. (file:///Users/locoo/.pub-cache/hosted/pub.dev/get_cli-1.9.1/bin/get.dart:18:38)

#8      main (file:///Users/locoo/.pub-cache/hosted/pub.dev/get_cli-1.9.1/bin/get.dart:18:9)

I also had the same problem, so for now I downgraded the version to 1.8.1 because I don't know why I can't install version 1.8.4.

See this #283

You can try this CLI tools for generating models
https://github.com/whitecodel/jsontodart


Add back request based urls to the canonical url resolver

See discussion in #4564
Before I forget to do this, I am adding back request based urls to the canonical url resolver so that we don't set an example of returning just paths from the url resolver stack.
I want to go on the record here and say that I don't really think we should actually merge this since the release candidate has been released now but I think it's important enough that we can make the decision in this pull request.
I'd like to revisit this stuff in 8.1 and make it so that we have actually stacked resolver stack. Today the Page and Path url resolvers require references to other url resolvers which is cool and all but it's super confusing. Instead they should be stacked so that the path url resolver only handles passed paths while the page url resolver only handles passed pages. They should be applying changes to the resolved value instead of simply returning it if passed.

Somethings busted with this PR, reopening

Oh wait, I see why

@aembler this should be good to merge.

understood about the reservation of doing this in a release candidate, but I think since it's regressing back to 5.7 behavior that should be fine. I'm sure we'll hear about it if we screwed it up somehow ;)
I agree that addressing this in 8.1 for security concerns is a priority.


Fail to run Spring

After configuring "spring-boot-mustache-email" as per docs, spring boot fail to start crashing with this error:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'priorityQueueSchedulerService' defined in URL [jar:file:/Users/Fraccaman/.m2/repository/it/ozimov/spring-boot-email-core/0.4.0/spring-boot-email-core-0.4.0.jar!/it/ozimov/springboot/templating/mail/service/defaultimpl/PriorityQueueSchedulerService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerProperties': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
Spring boot version: 1.5.1 RELEASE

@Fraccaman can you please provide more context?

@robertotru yes, I'm sorry I have accidentally sent the issue empty.

Yeah, if you need the scheduler add the following properties
spring.mail.scheduler.enabled=true
spring.mail.scheduler.priorityLevels=5

(5 is just an example).
If you do not, just add
spring.mail.scheduler.enabled=false
spring.mail.scheduler.priorityLevels=1

In the following days I'm gonna release a minor fix version that defaults to false.

`spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=MAIL
spring.mail.password=PASSWORD
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
spring.mail.scheduler.persistence.enabled=false
spring.mail.scheduler.persistence.redis.embedded=false
spring.mail.scheduler.persistence.redis.enabled=false
spring.mail.scheduler.enabled=false
spring.mail.scheduler.priorityLevels=1`
with this configuration I'm still getting the same error.
Do you have any other idea?

No, without having more info on the project structure, pom, etc. I cannot. Everything looks fine!
Actually in pull request #26 I added an example project in which I send an email with attachment, and inline pictures using Mustache. Just have a look at the PR or clone from that branch.

I watched your pull request but I still can't find what I'm doing wrong.
These are my pom dependecies:
<dependencies>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-data-jpa</artifactId>
		</dependency>

		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-core</artifactId>
		</dependency>

		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-security</artifactId>
		</dependency>

		<dependency>
			<groupId>com.auth0</groupId>
			<artifactId>auth0-spring-security-api</artifactId>
			<version>0.3.3</version>
		</dependency>

        <dependency>
            <groupId>com.auth0</groupId>
            <artifactId>auth0</artifactId>
            <version>0.3.0</version>
        </dependency>

		<dependency>
			<groupId>org.apache.tika</groupId>
			<artifactId>tika-core</artifactId>
			<version>1.14</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>

		<dependency>
			<groupId>io.springfox</groupId>
			<artifactId>springfox-swagger2</artifactId>
			<version>2.5.0</version>
		</dependency>

		<dependency>
			<groupId>io.springfox</groupId>
			<artifactId>springfox-swagger-ui</artifactId>
			<version>2.5.0</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
			<version>1.16.12</version>
		</dependency>

        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-core</artifactId>
            <version>2.8.6</version>
        </dependency>

		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-test</artifactId>
			<version>4.1.3.RELEASE</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-cache</artifactId>
		</dependency>

		<dependency>
				<groupId>net.sf.ehcache</groupId>
			 <artifactId>ehcache</artifactId>
			 <version>2.10.3</version>
		</dependency>

		<dependency>
			<groupId>com.h2database</groupId>
			<artifactId>h2</artifactId>
			<version>1.4.193</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-test</artifactId>
			<version>1.4.3.RELEASE</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>it.ozimov</groupId>
			<artifactId>spring-boot-mustache-email</artifactId>
			<version>0.4.0</version>
		</dependency>

	</dependencies>

and here is my implementation:
@Service
@Async
public class EmailSenderService {

    public final EmailService emailService;

    @Autowired
    public EmailSenderService(EmailService emailService) {
        this.emailService = emailService;
    }

    public void sendEmailWithTemplating(){
        Stream.of(new<EMAIL_ADDRESS>"Gaius Cassius Longinus")).forEach(tyrannicida -> {
            Email email = null;
            try {
                email = DefaultEmail.builder()
                        .from(new<EMAIL_ADDRESS>"Gaius Iulius Caesar"))
                        .to(Lists.newArrayList(new InternetAddress(tyrannicida.email, tyrannicida.name)))
                        .subject("Idus Martii")
                        .body("")//Empty body
                        .encoding(String.valueOf(Charset.forName("UTF-8"))).build();
            } catch (UnsupportedEncodingException e) {
                e.printStackTrace();
            }
            //Defining the model object for the given Freemarker template
            final Map<String, Object> modelObject = new HashMap<>();
            modelObject.put("tyrannicida", tyrannicida.name);

            try {
                emailService.send(email, "email.mustache", modelObject);
            } catch (CannotSendEmailException e) {
                e.printStackTrace();
            }
        });
    }

    private static class Cospirator {
        private String email;
        private String name;
        public Cospirator(final String email, final String name){
            this.email = email;
            this.name = name;
        }
    }
}

the file 'email.mustache' is inside the folder templates in resources.
Do you see anything wrong here? Thank again for your time.

I see... The problem is just in some application.properties, as reported in the exception.
Just try to replace:
spring.mail.scheduler.persistence.enabled=false
spring.mail.scheduler.persistence.redis.embedded=false
spring.mail.scheduler.persistence.redis.enabled=false
spring.mail.scheduler.enabled=false
spring.mail.scheduler.priorityLevels=1

with
spring.mail.scheduler.priorityLevels: 10
spring.mail.persistence.enabled: false
spring.mail.persistence.redis.embedded: false
spring.mail.persistence.redis.enabled: false
spring.mail.scheduler.persistenceLayer.desiredBatchSize: 200
spring.mail.scheduler.persistenceLayer.minKeptInMemory: 100
spring.mail.scheduler.persistenceLayer.maxKeptInMemory: 1000

The problem with this version is that the email scheduler creates a thread periodically waiting for something to be sent. In version 0.4.1 the scheduler becomes disabled by default and some properties will be refactored. I was supposed to create the release today, but I have an issue with the Pebble template engine.
I hope that config solves.

Thank for you time, but that config unfortunately is not solving the problem.
If you say that within the next days you will release the fixed version I can wait.
Thank again!

I'm creating a minor release, will be available in a few hours (it really depends on the Maven Staging Environment). Use the properties you find in the README to get it work.

@Fraccaman did release 0.4.1 fixed your issue?

Closing due to inactivity.

I'm sorry but I couldn't answer during the past few days. Tomorrow I'm gonna test the new version and I'll give you a feedback. Thanks.

The new version is working perfectly. Thank you again for your support! 👍

Super!


(bug): Controller error during pv discovery

When attempting PV discovery, I am seeing the UI hang. Looked at the pod list & the controller was entering into a crash loop. Other useful info that may help in debugging: I am running the UI on my 4 cluster, but I am attempting to create a migplan to migrate a 3 cluster to a separate 4 cluster (not the host cluster I am running the UI from).
/go/src/github.com/konveyor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88
/usr/local/go/src/runtime/asm_amd64.s:2361
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x108 pc=0x13717fe]

goroutine 265 [running]:
github.com/konveyor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/src/github.com/konveyor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x107
panic(0x18edfa0, 0x2b24940)
	/usr/local/go/src/runtime/panic.go:502 +0x229
github.com/konveyor/mig-controller/pkg/apis/migration/v1alpha1.(*MigCluster).BuildRestConfig(0xc42359cea0, 0x1d50a60, 0xc42487c000, 0x1d50a60, 0xc42487c000, 0x0)
	/go/src/github.com/konveyor/mig-controller/pkg/apis/migration/v1alpha1/migcluster_types.go:164 +0x12e

Looking into the underlying issue here, there are two intersecting problems:

BuildRestConfig doesn't check for a nil secret return (GetSecret returns nil, nil if the secret isn't found but there are no other errors), which is the immediate cause of the nil pointer dereference
Sometimes the cached (local) client fails to find secrets. It's not a race condition -- when this occurs, in a given environment, it will consistently fail to find secrets no matter how much time has passed. As a temporary workaround I was able to get past this by modifying GetSecret to create its own non-cached client when the normal client failed. This confirmed that the cached client was the source of the problem. A more appropriate short-term fix would be to disable the cached client completely for the local cluster (as we're already doing for remote clusters). Longer-term, we should probably figure out why the cached client is failing to find secrets (but no issues with other resources).

Steps to reproduce:
via ui:

add 3 cluster (insecure)
add additional 4 cluster (non-host) (insecure)
create migplan, select namespace with RWX PV
initiate PV discovery


Thread commissioner

Does the border router (with Thread activated) automatically create a thread network and is able to accept joiners (when using a thread configuration)?
What do I have to do to connect devices that want to join?
Thanks!

ARM Internal Ref: IOTTHD-2804

Hello @vervaekejonathan ,
The Thread border router is able to create its own network and it is able to accept new devices to the network when they are commissioned using commissioning application (currently running on Android) You can use mesh-minimal application as a joiner (by default mesh-minimal application is able to connect to nanostack-border-router as they both share the same network configuration).
Here you can find more detailed documentation about Thread networking: https://os.mbed.com/docs/v5.9/reference/mesh-tech.html#introduction-to-thread-networking-stack. Also Thread commissioning is explained there.
Best regards,
Arto

Closing, new issue with Thread commissioning created to: https://github.com/ARMmbed/nanostack-border-router/issues/137


Use common public key for signing artifacts

This PR changes the bundle generation script to use a common public key for signing artifacts.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


feature: allow to customize code generation to not include a constructor with all arguments

Please read our contributor guide before
creating an issue. Also consider discussing your idea on
the discussion forum first.
Describe the Feature Request
Currently, when types are generated from the schema, the following is created:

empty constructor
all arguments constructor
getters and setters
builder that uses the empty constructor

I have a use case where a type has a few hundred properties. This means that the code generation will create a constructor with a few hundred parameters, which goes beyond the supported limit (at least for Java 8, which is what I am using)
I would like a setting to exist that would allow to disable this constructor, since I don not need it anyway, I only use the getters and setters.
I don't know if there is a better alternative to avoid these kind of problems. Thank you!

Hi everybody. I would like to contribute on this. Can someone of the dev team mentor me about where to start and how the feature would look like?


Get started installation steps not working

I try the steps on https://doc-detective.com/docs/get-started/installation on a MacBook M3
When I run npx doc-detective runTests --input https://doc-detective.com/sample.spec.json
I get errors which suggest that I need to install the doc-detective-core module. (Shouldn't it be included when I npm i -g doc-detective?) So I try installing that as an NPM module separately, rerun the previous command, and get no change in the result.
node:internal/modules/cjs/loader:1148
  throw err;
  ^

Error: Cannot find module 'doc-detective-core'
Require stack:
- /Users/mi.jang/Repos/doc-detective/src/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
    at Module._load (node:internal/modules/cjs/loader:986:27)
    at Module.require (node:internal/modules/cjs/loader:1233:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/Users/mi.jang/Repos/doc-detective/src/index.js:3:35)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/Users/mi.jang/Repos/doc-detective/src/index.js' ]
}

@mjang Did you clone the repo before running the commands? If so, you need to run npm i inside the repo (but without the -g) before it'll work.
This is a quirk of how npx operates. If you're in a repo with the command defined, it'll try to run it locally. It'll only search the global installs and the npx cache if you're outside the defining repo.

That helped, thank you @hawkeyexl . Your response suggests a need to update https://doc-detective.com/docs/get-started/installation

Most definitely @mjang. On my docket for this morning.

I updated both the linked Get started guide and the README in the main repo.

I also opened #97 to add a programmatic warning for just this situation.


Makefile: add SOURCES to build

While working on operator-sdk, I lost a lot of time running make build/operator-sdk thinking it was rebuilding my changes only to find out it was only looking at the executable and never taking into account the changed sources. By making build/% dependent on the sources anytime you changed the source.

So we clean things up first to get a good base.
[jesusr@speed3 operator-sdk{makefile}]$ make clean

First run will build the executable
[jesusr@speed3 operator-sdk{makefile}]$ make build/operator-sdk

But the second run will complain.
[jesusr@speed3 operator-sdk{makefile}]$ make build/operator-sdk
make: 'build/operator-sdk' is up to date.

Now BEFORE my PR, changing the sources results in a no-op build
[jesusr@speed3 operator-sdk{master}]$ make build/operator-sdk
make: 'build/operator-sdk' is up to date.

AFTER adding $(SOURCES) allows make build/operator-sdk to rebuild if sources changed.
[jesusr@speed3 operator-sdk{makefile}]$ touch pkg/ansible/operator/operator.go
[jesusr@speed3 operator-sdk{makefile}]$ make build/operator-sdk


Can we have a description about whether this error fixed automatically during compiling or is actually casting while running

[Enter feedback here]

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

ID: fa8d2380-8186-331a-80ef-ff6b5bc568d7
Version Independent ID: 2a0359dd-0b12-232a-de8f-aecfc6f0a6db
Content: IDE0004: Remove unnecessary cast - .NET
Content Source: docs/fundamentals/code-analysis/style-rules/ide0004.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

@mavasani Does the compiler remove the cast?

I think that will vary from case to case. Tagging @jcouv from the compiler team if there is a spec around this.

to add to this, I was wondering if this warning means, I am having a cast that's unnecessary that's actually happening when my program is running, or the compile saw this as unnecessary and fixed it for me. this would affect my decision to whether use unnecessary cast, and I don't care whether it's a good coding style / practice according to who I am writing my program and I do get to write in whatever style I want and it does serve a purpose for me because I am trying to build a prototype application and a lot of things is not designed to work together because of the lack of the foresight (some component is using UInt64 some is using int) and that's fine by me, and rather than having exceptions throwing I want it to work before I figure out how to rewrite everything when I done building the application and start doing some refactors, I like these warnings don't get me want they are telling me where I am doing unnecessary cast which I probably know why and I am using it in order to later get back to these places

Thanks for paying attention to this issues, I understand that it's part of your job and I do not intend to inject myself in your process, just wanted to add a bit information and you can remove me from the owner of this issue if you want

Thanks for paying attention to this issues, I understand that it's part of your job and I do not intend to inject myself in your process


Allow 'Enter' key to complete the Button form for new buttons

Having to scroll down to the 'Done' button and click it when creating entries is painstaking when setting up dozens and dozens of buttons.

I was looking into modifying trapFocus.ts to fix this for my own purposes, but then realized that you can just click anywhere outside of the form and it auto-saves your changes instead of 'escaping' -- so that's my solution for this. Hope you find this helpful.
But, I do think it would be helpful if 'Enter' was trapped to end the form, or if another key could fast-forward to the Done Button. Clicking out of a form to save changes typically is similar to an escape, so the current procedure seems non-standard.

In an input field hit enter to modify and esc to exit modal


feat: osnap execution warning message snapshot

Summary
We want to let the user know if their transaction will auto execute by UMA infrastructure

Closes: #
How to test

go to an osnap supported space
make a proposal
check transaction builder to see if transaction is configured to be auto executed by bot. it should be true if osnap is configured using WETH and 2.0 bond size.

@gsteenkamp89 can you resolve the conflicts please?

@gsteenkamp89 can you resolve the conflicts please?

Resolved on our end 👍
Dave will update the branch today

@samuveth conflicts resolved


Traceback when trying to get a stock price

Hi,
I just cloned maubot-ticker, added the API keys, and the crypto part works fine, but the stock part does not and trying to retrieve a stock prices produces this traceback:
'quoteResponse'
20:19:28ERRORinstance.ticket_moneroduxTraceback (most recent call last):
  File "/xxxxxxxxxx/plugins/org.jobmachine.tickerbot-v0.0.5.mbp/tickerbot.py", line 55, in stock_handler
    pruned_json = resp_json['quoteResponse']['result'][0]
KeyError: 'quoteResponse'

Never mind, it was bad api, maybe check for that?


🐞 Audio, Video and some files are not received by webhook

What happened?
When I receive one of the following, I get an error: [Client ERROR] Event handler panicked while handling a *events.Message: runtime error: index out of range [0] with length 0

GIF as image
Audio
Video
All files other than JSON, PDF, GIF, JPG and PNG as document

Reproduction Steps
1. Connect webhook to the application
2. Login to your WhatsApp using application
3. Send yourself one of the following:
- GIF as image
- Audio
- Video
- All files other than JSON and PDF

Relevant log output
2024-06-06 14:44:23 whatsapp_go-1  | 09:44:23.306 [Client ERROR] Event handler panicked while handling a *events.Message: runtime error: index out of range [0] with length 0
2024-06-06 14:44:23 whatsapp_go-1  | goroutine 16999 [running]:
2024-06-06 14:44:23 whatsapp_go-1  | runtime/debug.Stack()
2024-06-06 14:44:23 whatsapp_go-1  |    /usr/local/go/src/runtime/debug/stack.go:24 +0x5e
2024-06-06 14:44:23 whatsapp_go-1  | go.mau.fi/whatsmeow.(*Client).dispatchEvent.func1()
2024-06-06 14:44:23 whatsapp_go-1  |    /go/pkg/mod/go.mau.fi/whatsmeow@v0.0.0-20240523075404-7f13c31d2cb1/client.go:758 +0x7d
2024-06-06 14:44:23 whatsapp_go-1  | panic({0xe1c520?, 0xc000d90198?})
2024-06-06 14:44:23 whatsapp_go-1  |    /usr/local/go/src/runtime/panic.go:914 +0x21f
2024-06-06 14:44:23 whatsapp_go-1  | github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/whatsapp.ExtractMedia({0xe914ff, 0xd}, {0xfdc720, 0xc000390140?})
2024-06-06 14:44:23 whatsapp_go-1  |    /whatsapp/pkg/whatsapp/whatsapp.go:462 +0x4c5
2024-06-06 14:44:23 whatsapp_go-1  | github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/whatsapp.forwardToWebhook(0xc00115e000)
2024-06-06 14:44:23 whatsapp_go-1  |    /whatsapp/pkg/whatsapp/whatsapp.go:387 +0x1029
2024-06-06 14:44:23 whatsapp_go-1  | github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/whatsapp.handler({0xd4d860?, 0xc00115e000?})
2024-06-06 14:44:23 whatsapp_go-1  |    /whatsapp/pkg/whatsapp/whatsapp.go:260 +0x19dd
2024-06-06 14:44:23 whatsapp_go-1  | go.mau.fi/whatsmeow.(*Client).dispatchEvent(0xc00115e000?, {0xd4d860?, 0xc00115e000})
2024-06-06 14:44:23 whatsapp_go-1  |    /go/pkg/mod/go.mau.fi/whatsmeow@v0.0.0-20240523075404-7f13c31d2cb1/client.go:762 +0xd5
2024-06-06 14:44:23 whatsapp_go-1  | go.mau.fi/whatsmeow.(*Client).handleDecryptedMessage(0xc0001226c0?, 0xc00027c480, 0xc000296a00, 0x0)
2024-06-06 14:44:23 whatsapp_go-1  |    /go/pkg/mod/go.mau.fi/whatsmeow@v0.0.0-20240523075404-7f13c31d2cb1/message.go:576 +0xe5
2024-06-06 14:44:23 whatsapp_go-1  | go.mau.fi/whatsmeow.(*Client).decryptMessages(0xc000490000, 0xc00027c480, 0xc0006663f0)
2024-06-06 14:44:23 whatsapp_go-1  |    /go/pkg/mod/go.mau.fi/whatsmeow@v0.0.0-20240523075404-7f13c31d2cb1/message.go:231 +0xc25
2024-06-06 14:44:23 whatsapp_go-1  | go.mau.fi/whatsmeow.(*Client).handleEncryptedMessage(0xc000490000, 0xc0006663f0)
2024-06-06 14:44:23 whatsapp_go-1  |    /go/pkg/mod/go.mau.fi/whatsmeow@v0.0.0-20240523075404-7f13c31d2cb1/message.go:51 +0x39a
2024-06-06 14:44:23 whatsapp_go-1  | go.mau.fi/whatsmeow.(*Client).handlerQueueLoop.func1()
2024-06-06 14:44:23 whatsapp_go-1  |    /go/pkg/mod/go.mau.fi/whatsmeow@v0.0.0-20240523075404-7f13c31d2cb1/client.go:709 +0x83
2024-06-06 14:44:23 whatsapp_go-1  | created by go.mau.fi/whatsmeow.(*Client).handlerQueueLoop in goroutine 16004
2024-06-06 14:44:23 whatsapp_go-1  |    /go/pkg/mod/go.mau.fi/whatsmeow@v0.0.0-20240523075404-7f13c31d2cb1/client.go:707 +0x195

Screenshots or Additional Context
No response
Application Version
4.14.0
Verification

[X] I have checked for existing closed issues and discussions.

Sending Docx file

Sending GIF

Sending Audio

seems working fine from my end @abdbbdii


Helmfile hangs when decrypting secret with a passphrase-protect key

If passphrase cache is cleared using:
echo RELOADAGENT | gpg-connect-agent
helmfile stalls and eventually times out when decrypting secret file.
Also, helm secrets is also sometimes stalling when decrypting; passphrase prompt does not always appear.

https://github.com/mozilla/sops/issues/429

@michaelgeorgeattard Hey! Thanks for the report. Just confirming, but did your workaround solved this?

Hi @mumoshu, yes the workaround solved the issue.
I assume the problem is a glitch from sops end, closing this issue for now.


verify istio installation status

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: nmittler
If they are not already assigned, you can assign the PR to them by writing /assign @nmittler in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

istioctl/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM as well, modulo the comments already made.

@irisdingbj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@irisdingbj: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/istio-pilot-multicluster-e2e.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/test e2e-bookInfoTests-envoyv2-v1alpha3

/test istio-pilot-multicluster-e2e

@irisdingbj: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/istio-pilot-multicluster-e2e.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test istio-pilot-multicluster-e2e

prow/e2e-mixer-no_auth-mcp.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test e2e-mixer-no_auth-mcp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@irisdingbj: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/e2e-mixer-no_auth-mcp.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test e2e-mixer-no_auth-mcp

prow/istio-pilot-multicluster-e2e.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-mixer-no_auth-mcp

/test istio-pilot-multicluster-e2e

@irisdingbj: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test e2e-mixer-no_auth-mcp

prow/istio-pilot-multicluster-e2e.sh
9d541276e504295eb5fd58ac5a25f5d05890de95
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

could we also have this in 1.1 @irisdingbj ?

@linsun PR for 1.1: https://github.com/istio/istio/pull/9628

@ozevren @ayj @linsun can you add 'lgtm' to it if no other comments?

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ayj
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

istioctl/OWNERS [ayj]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Total Occupancy bed Tooltip in the facility card is clipping in mobile view

Describe the bug
The tooltip displaying the total bed occupancy on the facility card is clipping in mobile view.
To Reproduce
Steps to reproduce the behavior:

Go to https://care-staging.ohc.network/facility
Switch to the mobile view.
Click on the "Total Occupancy" tooltip.
See error

Expected behavior

[ ] The tooltip text should be fully visible and properly displayed in mobile view.

Screenshots

@nihal467 I would like to work on this issue

I want to work on this. Please assign this to me.

I would like to work on this.Please assign this to me.

Hey @nihal467  I am not able to reproduce it on localhost (synced) and on staging url it is showing 0 Facility

@nihal467 Can I work on this issue?