feat: localhost ansible mvp

first take to simplify deploying process.
Currently, the playbook is intended to be executed on the remote machine itself due to existing restrictions.
Main Deployment Steps:
Utilize a var.yml file for environment and other essential variables.
Clone repositories
Perform cleanup operations for any remnants of previous builds, if present.
Build UI and server
Implement necessary changes in TOML files to ensure correct dependency configurations.
Move files to the specified Nginx directory. (Nginx should already be running)
Generate a .service file using a template and initiate the service.
If deemed beneficial, subsequent increments will include remote deployment, GitHub integration, and other enhancements.

im clisong this PR - all deploy related stuff moved to https://github.com/tikitko/blog-deploy


Updated Travis to use Node 4

The goal of this PR is to satisfy requirements of PTNFLY-1866, and ensure Angular P.F. builds properly with Node 4 LTS.

@bleathem @priley86 Please review/merge? I would like to have this in place prior to starting the release.

@dlabrecq looks good - npm installed and ran grunt build just fine with node 4. let's upgrade npm later like we discussed...

Awesome!  Will merge.

Thanks, guys!


SAK-31938 Tool title text appears on top of pop-ups on a mobile sized…

… screen

Is this purposefully against Sakai 11? Or should it be against master?

Yes, this is only an 11.x issue.
On 11.x (issue):

12.x (no issue):

11.x with the PR (issue solved):

Jose is it also an issue in master?


Support gRPC healthcheck

What does this PR do?
Add gRPC support to healthcheck (using "grpc" scheme in the backend config option). It's based on GRPC Health Checking Protocol v1
Motivation
We need to deploy gRPC apps that will not be immediately ready to serve data (populating caches, ...). This will allow Traefik to not route request to a "unhealthy" container.
See also https://github.com/traefik/traefik/issues/6027
More

[x] updated healthcheck tests: added TestSetGrpcBackendsConfiguration
[x] updated routing/services documentation to reflect the changes (usage of the dedicated mode option in healthcheck)

Additional Notes
This is probably a naive implementation, any help / comment is welcome !
PS: most changes are related to tests (192+ / 2-)

Hello, just curious about when a review is planned for this PR ?
If needed, i'm ready to work on comments / improvements required to get this merged.
Thanks in advance !!

Hello @jjacque and thanks for your contribution,
As you can see in our contribution guide, needs-design-review means that we have to take a closer look at the scope of impact for that PR to see, how it would interact with the other parts of Traefik.
We will come back to you soon when we did the first design review iteration.

@kevinpollet I would like to know if supporting health checks for gRPC will be implemented in the future. Thanks 👯

Hi @juliens , thanks for your review, i've made the changes you suggested and rebased the branch.

Thanks !!!


Support Wake Up CC V3 and Supervision CC V2

This combination adds support for requesting a node to wake up.
https://github.com/zwave-js/node-zwave-js/blob/master/specs/SDS13782 Z-Wave Management Command Class Specification.pdf
Implementation is more complicated and might involve the driver and message flow

#3332 will provide the support for this at the CC level, but we need to make some decisions on when the Driver chooses to request a Wake Up from supporting nodes.
I see three basic options:

Request a wake up any time there are messages in the transaction queue that would be ran if the node were awake.
Same as 1, but check for a tighter subset of more important messages.
Require the client to specify that it wants the node to wake up early (and still do the checks from option 1).

I think I'd go with an entry in SendCommandOptions (so basically 3.). If a command with that option should be sent to a supporting node, also queue a wake up request. If that one has priority Handshake, it should automatically be queued in front of all other commands to that node.
This allows applications to use the feature on demand and makes it possible to bake the wakeup into some commands in the driver.

I'm not sure what you mean by "queue a wake up request".
When we want a node to wake up, we have to wait until they send us a SupervisionCCGet encapsulated command. When/if the node does that, we get to sneak the wake up request into the SupervisionCCReport that we send back to them.
Here's how I envision implementing option 3 (using SendCommandOptions):

Add requestWakeUp?: boolean to SendCommandOptions
Add a field (nodesToRequestWakeUp: Set<number>) to the Driver to keep a list of nodes that be asked to wake up if we get a SupervisionCCGet request for them
When the Driver receives a call to sendCommand with options.requestWakeUp set to true, if verifies that the node supports Wake Up On Demand and adds the NodeId to the nodesToRequestWakeUp Set.
When receiving a SupervisionCCGet command, check if the sending node is in nodesToRequestWakeup. If so, set requestWakeUp = true in the SupervisionCCReport that we return.
When we set a node to Awake, remove it from nodesToRequestWakeUp.

I don't think anything special at all needs to be added to the message queue.

I misread the specs yesterday and thought we could send a sleeping node a request to wake up on our turns.
Your proposal sounds good, I'd probably put the property requestWakeUp on the node instance instead of keeping track in the driver.

I updated the #3332 to be a full implementation of this feature. Let me know if you like the approach, then I'll get to testing it on real hardware.

PR reviewed. I still prefer the idea of a requestWakeUp property on the node instance.


Consuming from Invalid Topic and End of Valid Topic is Indistinguishable

Description
Subscribing to a valid or invalid topic and calling
var messageConsumed = Consumer.Consume(out kafkaMessage, pollInterval)
the consumer just returns a null value making it unclear if the consumer is just reading from the end of a valid topic and there is no more messages or if the consumer is subscribed to an invalid topic.
Observed behavior is consuming from an invalid topic silently returns a null message.
Expected behavior for the case of an invalid topic was that it would be similar to what is displayed by producer: Trying to consume from an invalid topic would result in a Message being returned with invalid offset and error code such as code 3 for Unknown Topic or Partition, or at the very least and exception being thrown for consuming from invalid topic.
Shouldn't there be a clear difference between consuming from the end of a valid topic and a topic that doesn't exist so the implementation knows that it is in an error state?
As a side note it occurred to me to check for the OnError or OnConsumeError events while checking for any similar issues and neither of these events are being triggered in the invalid topic scenario.
How to reproduce
Just consuming from a none existent topic as follows:
try
{
    var config  = new Dictionary<string, object>
    {
        {"group.id", "ConsumerId"},
        {"enable.auto.commit", false},
        {"log.connection.close", false},
        {"socket.keepalive.enable", true},
        {"statistics.interval.ms", 60000},
        {"bootstrap.servers", localhost:9092},
    };
    var consumer= new Consumer(config);
    consumer.Subscribe("Some-Invalid-Topic-Name");
    var messageConsumed = false;
    while (!messageConsumed && kafkaMessage == null)
    {
        messageConsumed = consumer.Consume(out kafkaMessage, pollInterval);
    }
    Console.WriteLine("Never Escapes the While Loop.");
}
catch (exception e)
{
    Console.WriteLine("Never Catches a Exception.");
}

Currently using Kafka Server version 2.11-<IP_ADDRESS>
Server Configured to Auto Create Topics = false
Confluent Kafka Dotnet version 11.2
Passed Consumer Configuration:

group.id was set
enable.auto.commit = false
log.connection.close = false
socket.keepalive.enable = true
statistics.interval.ms = 60000
bootstrap.servers pointed to network cluster

Currently developing Windows 7 / 10 / Server 2012 operating systems we are moving towards .net core 2.0 and supporting Linux Centos/Ubuntu distros as well.
Checklist
Please provide the following information:

[X] Confluent.Kafka nuget version:
[X] Apache Kafka version:
[X] Client configuration:
[X] Operating system:
[ ] Provide logs (with "debug" : "..." as necessary in configuration)
[ ] Provide broker log excerpts
[ ] Critical issue

This seems less than optimal to me as well. One difference between the two cases is if you Subscribe to a non-existent topic, the OnPartitionsAssigned and OnPartitionsRevoked events never get called. I thought that calling Assign would result in an error for non-existent topics, but it does not. @edenhill some commentary on the behaviour here would be good when you have a spare moment.

I agree, it should fire off an _UNKNOWN_TOPIC or .._PARTITION consumer error.
This issue should be moved to librdkafka.

I am pretty new to participating on open sourced projects...
@edenhill Do I need to do anything like open a ticket on https://github.com/edenhill/librdkafka or anything else for this?
@mhowlett Similarly anything else I should do on this ticket?

You are doing great, David V Spencer!
You can just create a new issue on librdkafka with your original input from this issue, it all applies, and then we'll reference the librdkafka issue from this one by a link.

closing, this is being tracked in https://github.com/edenhill/librdkafka/issues/1540


Are there any code for visualization？

Good work，I have run training on my own data and want to visualize the result，where can I find the code？
many thanks！

@z6491679  where u able to visualize the output @stupidZZ  can you pls share the visualization code base


GeoTIFF getProjection() is too simplistic

Describe the bug
When loading a geotiff file, openlayers determines the projection in a rather simplistic way, looking only at the ProjectedCSTypeGeoKey and GeographicTypeGeoKey keys.    In particular, when the key exists but is set to 32767 (user-defined), the result is nonsense.
Expected behavior
Openlayers doesn't necessarily need to implement a full geokeys parser - that is most likely better left to the client.  But it should expose an interface so that clients can read the geokeys, work out the correct projection, and can then somehow set the right projection on the source.  (Perhaps there is already a way to do the latter, but I could not figure it out from the documentation.)
In particular, when the ProjectedCSTypeGeoKey or GeographicTypeGeoKey key is set to 32767, it should be ignored.

Here is a specific example of a GeoTIFF file on which the current code fails:
$ listgeo geotiff.tif
Geotiff_Information:
   Version: 1
   Key_Revision: 1.0
   Tagged_Information:
      ModelTransformationTag (4,4):
         0.3167943475      0                 0<PHONE_NUMBER>39441
         0                 -0.3167683713     0<PHONE_NUMBER>46365
         0                 0                 1                 0
         0                 0                 0                 1
      End_Of_Tags.
   Keyed_Information:
      GTModelTypeGeoKey (Short,1): ModelTypeProjected
      GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
      GeogGeodeticDatumGeoKey (Short,1): Datum_WGS84
      GeogEllipsoidGeoKey (Short,1): Ellipse_WGS_84
      ProjectedCSTypeGeoKey (Short,1): User-Defined
      PCSCitationGeoKey (Ascii,34): "Transverse Mercator; WGS84; WGS84"
      ProjectionGeoKey (Short,1): User-Defined
      ProjCoordTransGeoKey (Short,1): CT_TransverseMercator
      ProjLinearUnitsGeoKey (Short,1): Linear_Meter
      ProjNatOriginLongGeoKey (Double,1): 19
      ProjNatOriginLatGeoKey (Double,1): 0
      ProjFalseEastingGeoKey (Double,1): 500000
      ProjFalseNorthingGeoKey (Double,1): -5300000
      ProjScaleAtNatOriginGeoKey (Double,1): 0.9993
      End_Of_Keys.
   End_Of_Geotiff.

Projection Method: CT_TransverseMercator
   ProjNatOriginLatGeoKey: 0.000000 (  0d 0' 0.00"N)
   ProjNatOriginLongGeoKey: 19.000000 ( 19d 0' 0.00"E)
   ProjScaleAtNatOriginGeoKey: 0.999300
   ProjFalseEastingGeoKey:<PHONE_NUMBER>00 m
   ProjFalseNorthingGeoKey: -5300000.000000 m
Datum: 6326/World Geodetic System 1984
Ellipsoid: 7030/WGS 84 (6378137.00,6356752.31)
Projection Linear Units: 9001/metre (1.000000m)

In particular, there is no EPSG code. However, I have no problem parsing the keys and building up a projection using proj4, which I then want to use.


Can we make a new git tag?

Cloning from a specific commit is not that easy (sure it is, it just needs 2 git commands but i need to update all ci scripts for this), having a git tag would be easier.

git tags happen with cargo publishes. why do you need two commands? for checking out a commit?

Yup. We can't clone a git repo from a specific commit, this only works for a branch/tag.

@dignifiedquire what's blocking on making a new version?

that I don’t have anything on master to publish to crates.io and tags should match released versions
On 7. Jun 2019, 14:57 +0200, Jikstra<EMAIL_ADDRESS>wrote:

@dignifiedquire what's blocking on making a new version?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

i think things are released by now ... and will be released afresh soon ;)


⚠ Thumbnails API Endpoint has degraded performance

In 2c3d1d4, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=1427869852&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 4052 ms

Resolved: Thumbnails API Endpoint performance has improved in 4a35cb9 after 10 minutes.


Add simple HTML documentation generation

Generates documentation in HTML format under each "system", e.g.:

Closing and will make a new one with additional updates


[Config] Add an argument out_emb_size.

Issue #, if available:
Description of changes:
Added an argument out_emb_size, which supports the customized dimension for embeddings output from the last GNN layer.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

It seems the PR is incomplete.

Completed the remaining part.

Can you also add some test in test_gnn.py? For example, in test_link_prediction, you can also test the case you set the out_emb_size. You may also update test_edge_classification, test_edge_regression, test_node_classification and test_node_regression.

Added.


G-Transformer+BERT setting

Hi author, can you share more details of the G-Transformer+BERT experimental settings? e.g., which version of the pre-trained BERT model (base or large, cased or uncased) was used, as well as the BERT decoding during inference to compute the s-BLEU scores. Thanks.

We use pretrained bert-base-multilingual-uncased model as the encoder to replace the encoder of a normal G-Transformer with following settings. The decoding is done by G-Transformer. Hope it can help. Thanks.
@register_model_architecture("transformer", "transformer_doc_bert")
def transformer_doc_bert(args):
args.encoder_layers = getattr(args, "encoder_layers", 12)
args.encoder_attention_heads = getattr(args, "encoder_attention_heads", 12)
args.encoder_embed_dim = getattr(args, "encoder_embed_dim", 768)
args.encoder_ffn_embed_dim = getattr(args, "encoder_ffn_embed_dim", 4768)
args.decoder_layers = getattr(args, "decoder_layers", 12)
args.decoder_attention_heads = getattr(args, "decoder_attention_heads", 12)
args.decoder_embed_dim = getattr(args, "decoder_embed_dim", 768)
args.decoder_ffn_embed_dim = getattr(args, "decoder_ffn_embed_dim", 4768)
args.dropout = getattr(args, "dropout", 0.3)
base_architecture(args)


systemctl error

When exectue the systemctl command on container, always got below error:
09fd2fe788a7:/ # systemctl status mysql.service
Failed to get D-Bus connection: Unknown error -1

images vesion: 13.2
09fd2fe788a7:/ # cat /etc/os-release
NAME=openSUSE
VERSION="13.2 (Harlequin)"
VERSION_ID="13.2"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"

That happens because right now systemd cannot run inside of Docker. That happens despite of the container OS/docker version being used.
You have to start mysql by hand, take a look at what is written inside of systemd's unit file for mysql.
Closing as invalid.

@flavio Got it, thank you very much!


feat: added DeviceKitDynamic for dynamic linking

DeviceKitDynamic for dynamic linking

hey, @Zandor300 sorry for directly asking but would it be possible to also provide a dynamic version? thx


[Navigation Refactor] - Web - Chat - Focus is not automatically set to input field when user selects chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open https://19263.pr-testing.expensify.com/
Open any chat in chat list
Press CMD+K
Open any chat in chat switcher by clicking on it / pressing Enter / CMD+Enter

Expected Result:
At step 2,4 when user opens new chat - the chat input field is automatically focused and highlighted
Actual Result:
At step 2,4 when user opens new chat - the chat input field is NOT focused
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Version Number: special build <IP_ADDRESS>
Reproducible in staging?: No
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://platform.applause.com/services/links/v1/external/c018c73de4eeff73bbf185dd4c28883bc20b2089cf2ac7146b815310c49ee652
https://platform.applause.com/services/links/v1/external/2f32a90c59bde6b9240681d6c3cf1fc984746ce992308844ac9559ec71e7c7e5
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Fixed


gzip compression on serving

If you are interested, made a quick and dirty fork to add support for gzip compression on wasmgo serve without adding any external deps.  Just straight go code.
Is basically adding this file here :
https://github.com/steveoc64/wasmgo/blob/master/cmd/server/compressor.go
and changing 1 line in cmd/server/server.go to :
s := &http.Server{Addr: fmt.Sprintf(":%d", cfg.Port), Handler: compressor(svr.ServeHTTP)}
Id put in a PR, but it gets messy because of all the re-named include statements :(

Thanks for this, but I'm not entirely convinced it's needed... wasmgo serve is for local testing so you don't really need to compress anything... Is there any use case where this would be useful?

Yeah, after playing with it for a while and trying to get the whole code-compile-test cycle iterating as fast as possible ... the benefits to gzipping are barely measurable on local, or there are other factors at play which take up way more machine cycles.
Of course, it might be nice if you are doing experimental webasm dev on a remote machine over ssh maybe - but who is going to do that ?
Feel free to close.


add api reference and update limits

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.58%.  Consider uploading reports for the commit ca65e3c to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   89.58%   89.58%
=======================================
  Files           4        4
  Lines          96       96
=======================================
  Hits           86       86
  Misses         10       10

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Create Tests for pokeys_py Component

Issue: Create Tests for pokeys_py Component
Summary
This issue aims to develop a comprehensive test suite for the pokeys_py component. The tests should cover all functionalities provided by pokeys_py to ensure reliability, correctness, and performance. Implementing these tests will help maintain code quality and facilitate future development and debugging.
Task Details
1. Define Test Scope

Functionalities to Cover:

Digital I/O

Reading digital inputs
Writing digital outputs
Handling inversion parameters

Analog I/O

Reading analog inputs
Writing analog outputs

Pulse Engine v2 (PEv2)

Motion control commands
Position feedback (pos-fb)
Velocity commands (vel-cmd)
Homing procedures

Counters

Incrementing and resetting counters
Reading counter values

PWM Outputs

Configuring PWM channels
Setting duty cycles and frequencies

Peripheral Devices

Interaction with PoNETkbd48CNC
Control of PoExtBusOC16 and PoRelay8
CAN bus communication (if applicable)

2. Unit Tests

Objective: Test individual functions and methods within pokeys_py.
Actions:

Write tests for each class and method.
Use mocking to simulate PoKeys device responses where hardware interaction is required.
Ensure edge cases and error conditions are tested.

3. Integration Tests

Objective: Verify that pokeys_py interacts correctly with the PoKeys hardware and LinuxCNC.
Actions:

Test the initialization and connection process with a PoKeys device.
Verify data exchange between pokeys_py and the device.
Ensure correct registration and communication with LinuxCNC's HAL.

4. Functional Tests

Objective: Simulate real-world usage scenarios.
Actions:

Perform sequences of operations that a typical user might execute.
Test motion control sequences, including starting, stopping, and emergency stops.
Verify homing procedures using the custom homing component interface.

5. Performance Tests

Objective: Ensure that pokeys_py meets performance requirements for real-time operations.
Actions:

Measure latency in command execution and response times.
Stress test the system with high-frequency I/O operations.
Evaluate the component's behavior under heavy load conditions.

6. Automated Testing Framework

Objective: Integrate tests into an automated testing pipeline.
Actions:

Use a testing framework like pytest for Python.
Set up continuous integration (CI) to run tests on every commit or pull request.
Generate coverage reports to identify untested code.

7. Documentation

Objective: Document the testing procedures and how to run the tests.
Actions:

Provide clear instructions in a README.md file within the pokeys_py directory.
Include any necessary setup steps for hardware-dependent tests.
Document how to interpret test results and coverage reports.

Expected Outcome

A robust test suite covering all aspects of pokeys_py.
Automated tests integrated into the development workflow.
Improved reliability and easier maintenance of the pokeys_py component.

Reference Files and Directories

pokeys_py/ (Python component directory)
tests/ (New directory to contain test scripts)
Existing documentation and code within pokeys_py.

Notes

Hardware Dependency:

Where possible, design tests that do not require physical hardware by using mocking.
For tests that require hardware, clearly document the setup and prerequisites.

Error Reporting:

Any bugs or issues discovered during testing should be logged as separate issues.

Collaboration:

Coordinate with team members familiar with pokeys_py for insights on complex functionalities.

Timeline:

Aim to have the initial test suite completed within [insert timeframe], with ongoing additions as new features are implemented.

Reading state information...
E: Unable to locate package libxenomai-dev
E: Unable to locate package python-gtk2
Error: Process completed with exit code 100.

Fetched 13.6 MB in 2s (8353 kB/s)
Reading package lists...
Installing dependencies...
Reading package lists...
Building dependency tree...
Reading state information...
Package libreadline-gplv2-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python2-dev python2 python-dev-is-python3
E: Unable to locate package python3-gtk2
E: Unable to locate package libxenomai-dev
E: Package 'libreadline-gplv2-dev' has no installation candidate
E: Unable to locate package python-lxml
E: Package 'python-dev' has no installation candidate
E: Unable to locate package python-gtk2
Error: Process completed with exit code 100.


Add URL parameters for field and type DocExplorer links

Hey folks,
Thanks for the guidance in Discord. I ended up not going for a full overhaul of the DocExplorer state and instead figured out how to implement this as a fairly isolated change.
This change adds permalinks for field and type docs in the DocExplorer. In this example, they look like http://localhost:62087/?initialTypeName=MutationType&initialFieldName=setString.

Add new props to GraphiQL and DocExplorer: initialTypeName and initialFieldName, which can be used to set which type/field to render when the component loads a new schema
Add new callback prop for GraphiQL and DocExplorer: onShowDoc, which is called when a new doc is shown. Used to update URL parameters as the user browses the documentation.
Update the test/index.html page accordingly

I've tested this locally, but let me know if there are other validation steps I should take care of. Thanks!

I've tested this locally, but let me know if there are other validation steps I should take care of. Thanks!

Hi @bonniee; please click through to the CI results ("Details" above) and address the linting issues :+1:

Thanks for the quick review.

I like the idea behind this PR and it definitely seems useful, but my biggest concern is over tying it to the lifecycle methods without breaking future functionality. I think it might be better to hold off and add it once we're on React v16 with our improved state management.

Just out of curiosity, around when do you think the v16 refactor would be done?
If I can rework this to be less coupled to the lifecycle methods, do you think it's something that would be worth merging before the v16 state management changes?

React v16 is basically the top priority, but it needs volunteers to actually do the work so it's hard to put a timeline on it. But then at the rate @acao is getting things done, who knows? :rocket:

its more like a rewrite at this point, but it is very much in progress as RFC work!

@bonniee closing for now, but we will be sure to use this as reference, and I'll be sure to call you in when we're starting to build out these plugins! this is a fantastic idea and should be an MVP feature for any documentation, imo


feat: add onLinkOpen component prop

/cc @zsviczian @martolini

So for my Obsidian Excalidraw fork I implemented onLinkHover yesterday. This is my simple implementation. I am ok to keep this in my fork only, but if there is interest, it would be even better to have it in the core product.
This is how it looks: https://twitter.com/zsviczian/status/1489358863837106180?s=20&t=KeJ4Qz7SsUQN0auTllxL0g
https://github.com/zsviczian/excalidraw/blob/cc37fe97e7b1e2a813df5fa425e932ae4975ac1d/src/components/App.tsx#L2795-L2803
https://github.com/zsviczian/excalidraw/blob/cc37fe97e7b1e2a813df5fa425e932ae4975ac1d/src/types.ts#L263-L266

So for my Obsidian Excalidraw fork I implemented onLinkHover yesterday. This is my simple implementation. I am ok to keep this in my fork only, but if there is interest, it would be even better to have it in the core product.
This is how it looks: https://twitter.com/zsviczian/status/1489358863837106180?s=20&t=KeJ4Qz7SsUQN0auTllxL0g
https://github.com/zsviczian/excalidraw/blob/cc37fe97e7b1e2a813df5fa425e932ae4975ac1d/src/components/App.tsx#L2795-L2803
https://github.com/zsviczian/excalidraw/blob/cc37fe97e7b1e2a813df5fa425e932ae4975ac1d/src/types.ts#L263-L266

Sure could you raise a PR for this ?

Sure could you raise a PR for this ?
Absolutely. Just wanted to check if there is interest from your side to include this.

I've rewritten the onLinkOpen flow to use the standard behavior of doing event.preventDefault() if you wish to handle the redirecting yourself. This has two benefits: 1) clarity 2) you don't have to reimplement excalidraw's behavior for external redirects.
We've also stopped passing link since it can be retrieved from element.link /cc @ad1992

Can't figure out the typecheck error. Happens only in the CI, and doesn't make sense:
https://github.com/excalidraw/excalidraw/pull/4694/commits/d0eb5ab7222643fbd58938028570b4c2a07d2a8c#file-src-components-app-tsx-L1529
Also started happening on a commit that updated readmes.

Finally all requirements passed, lets merge!

Finally all requirements passed, lets merge!

Nice. I've fixed not passing the nativeEvent.


prometheus: remote_read config - support read_recent and required_matchers; and rename proxy_url in CRD

Adds two new configurations for the RemoteReadSpec (readRecent & requiredMatchers)
and renames proxy_url to proxyURL in the spec to be consistent with the field naming convention

I can revert this if it isn't desired, it seemed to be the only instance where the underscore naming was used over camel casing.

lgtm, thanks! :+1:


Is it necessary to trim Hi-C data before using the Arima mapping pipeline and SALSA2?

Hi,
I got my Hi-C library through Arima-HiC kit. I would like to use the Arima mapping pipeline (http://github.com/ArimaGenomics/mapping_pipeline) and SALSA2 exactly as described in the paper of Ghurye et al. (https://doi.org/10.1371/journal.pcbi.1007273).
I was wondering if before starting this pipeline it is necessary to perform a quality trimming/cutting of the Hi-C data or not, for example by using Trimmomatic, since in the aforementioned pipeline and paper no reference is made to these kind of programs.
Thank You!

Hi,
It's not mandatory to run data through that specific mapping pipeline. You
can use any alignment method as long as final bam/bed is read-name sorted.
On Tue, Jan 7, 2020 at 11:43 AM uceleste<EMAIL_ADDRESS>wrote:

Hi,
I got my Hi-C library through Arima-HiC kit. I would like to use the Arima
mapping pipeline (http://github.com/ArimaGenomics/mapping_pipeline
https://github.com/ArimaGenomics/mapping_pipeline) and SALSA2 exactly
as described in the paper of Ghurye et al. (
https://doi.org/10.1371/journal.pcbi.1007273).
I was wondering if before starting this pipeline it is necessary to
perform a quality trimming/cutting of the Hi-C data or not, for example by
using Trimmomatic, since in the aforementioned pipeline and paper no
reference is made to these kind of programs.
Thank You!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/marbl/SALSA/issues/93?email_source=notifications&email_token=AAHQ4KBFNBX6RJAWPBS574TQ4TLP5A5CNFSM4KD6D2KKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IESP2SA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHQ4KEYH6SSPJO3VEVOPI3Q4TLP5ANCNFSM4KD6D2KA
.

--
Best,
Jay


Error: Call to a member function where() on bool in line94, ApiRequest.php, when I logined into dashboard as the admin.(the badaso has been installed in the docker)

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '{host}/badaso-dashboard/login'
Click on 'login'
See error

Expected behavior
Error: Call to a member function where() on bool in line94, ApiRequest.php, when I logined into dashboard as the admin.
Screenshots

Badaso (please complete the following information):

Version 2.5.2

Desktop (please complete the following information):

OS:  MACOSX 13.3.1
Browser safari
Version 16.4

php artisan jwt:secret -f


add ability to set entry file for doc generation

example:
- path: player-public-methods.md
  title: Player public methods
  entry: src/default-modules/index.ts
  glob: src/**/*.ts
  visitor: scripts/documentation/playerApiVisitor.js

if I will use entry, do I need glob?


Issue #73 Replace avocado based tests with shell script based

Fix #73

cc @LalatenduMohanty

@budhrg I tested it with the modified location of the minishift binary. The minishift status output has to be updated with the latest changes. The checks fail there.

retest this please

@LalatenduMohanty , Updated the PR after fix of 'Issue #70 move the minishift binary to $(BIN_DIR) after extracting'

When I tested the PR it failed for me
$ minishift delete
You are deleting the Minishift VM: 'minishift'. Do you want to continue [y/N]?: y
Deleting the Minishift VM...
Minishift VM deleted.
[lmohanty@LalatenduM-laptop minishift-b2d-iso]$ make test
sh tests/test.sh
-- Checking if KVM driver is installed ...
   Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
   Checking driver binary is executable ... OK
-- Checking if Libvirt is installed ... OK
-- Checking if Libvirt default network is present and active ... OK
-- Starting local OpenShift cluster using 'kvm' hypervisor ...
-- Minishift VM will be configured with ...
   Memory:    2 GB
   vCPUs :    2
   Disk size: 20 GB
-- Starting Minishift VM ....(minishift) Trying to access option swarm-master which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to bool for key swarm-master
(minishift) Trying to access option swarm-host which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to string for key swarm-host
(minishift) Trying to access option swarm-discovery which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to string for key swarm-discovery
Running pre-create checks...
Creating machine...
(minishift) Downloading /home/lmohanty/.minishift/cache/boot2docker.iso from file:///home/lmohanty/GoCode/src/github.com/minishift/minishift-b2d-iso/build/minishift-b2d.iso...
...............Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
...Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
.Checking connection to Docker...
Docker is up and running!
 OK
-- Checking for IP address ... OK
-- Checking if external host is reachable from the Minishift VM ...
   Pinging <IP_ADDRESS> ... OK
-- Checking HTTP connectivity from the VM ...
   Retrieving http://minishift.io/index.html ... OK
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 0% used OK
-- OpenShift cluster will be configured with ...
   Version: v3.6.0
-- Checking `oc` support for startup flags ...
   host-data-dir ... OK
   host-pv-dir ... OK
   host-volumes-dir ... OK
   routing-suffix ... OK
   host-config-dir ... OK
Starting OpenShift using openshift/origin:v3.6.0 ...

The server is accessible via web console at:
    https://<IP_ADDRESS>:8443

You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin

 ------------ [ Starting VM - Passed ]

 ------------ [ SSH Connection - Passed ]

 ------------ [ Getting VM IP - Passed ]

 ------------ [ CIFS installation - Passed ]

FUSE library version: 2.9.3
using FUSE kernel interface version 7.19

 ------------ [ SSHFS installation - Passed ]

 ------------ [ NFS installation - Passed ]

Expected '2' equal to '5'
Makefile:52: recipe for target 'test' failed
make: *** [test] Error 1

In the VM I am seeing
$ mount | grep /dev/sda1 | grep /var/lib/
/dev/sda1 on /mnt/sda1/var/lib/docker/aufs type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /mnt/sda1/var/lib/minishift/openshift.local.volumes type ext4 (rw,relatime,data=ordered)

Expected ' ' but got ' '

This PR can not be tested on macOS as  we only download minishift Linux binary
#!/usr/bin/env python
  2
  3 import requests
  4 import re
  5 import os
  6
  7 OS = os.getenv('OS', 'linux')
  8
  9 def main():
 10     pattern = re.compile(".*%s-amd64.(tgz|zip)$" % OS)
 11     r = requests.get('https://api.github.com/repos/minishift/minishift/releases/latest')
 12     for asset in r.json()['assets']:
 13         if pattern.match(asset['name']):
 14             print asset['browser_download_url']
 15
 16 if __name__ == "__main__":
 17     main()

This PR can not be tested on macOS as we only download minishift Linux binary

@LalatenduMohanty  Created issue https://github.com/minishift/minishift-b2d-iso/issues/77 to fix it as it is not related to this PR.

I ran this PR with the help of #78. But it still failed with same error.
$ make test
sh tests/test.sh
-- Checking if requested hypervisor 'xhyve' is supported on this platform ... OK
-- Checking if xhyve driver is installed ...
   Driver is available at /usr/local/bin/docker-machine-driver-xhyve
   Checking for setuid bit ... OK
-- Checking the ISO URL ...
   Checking if /Users/lmohanty/code/gocode/src/github.com/minishift/minishift-b2d-iso/build/minishift-b2d.iso exists ... OK
-- Starting local OpenShift cluster using 'xhyve' hypervisor ...
-- Minishift VM will be configured with ...
   Memory:    2 GB
   vCPUs :    2
   Disk size: 20 GB
-- Starting Minishift VM ....(minishift) Type assertion did not go smoothly to bool for key xhyve-experimental-nfs-share
(minishift) Type assertion did not go smoothly to bool for key xhyve-qcow2
(minishift) Trying to access option swarm-discovery which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to string for key swarm-discovery
(minishift) Trying to access option swarm-host which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to string for key swarm-host
(minishift) Trying to access option swarm-master which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to bool for key swarm-master
(minishift) Type assertion did not go smoothly to bool for key xhyve-virtio-9p
Running pre-create checks...
Creating machine...
(minishift) Downloading /Users/lmohanty/.minishift/cache/boot2docker.iso from file:///Users/lmohanty/code/gocode/src/github.com/minishift/minishift-b2d-iso/build/minishift-b2d.iso...
(minishift) Creating VM...
(minishift) /dev/disk34         	                               	/Users/lmohanty/.minishift/machines/minishift/b2d-image
(minishift) "disk34" unmounted.
(minishift) "disk34" ejected.
(minishift) Generating 20000MB disk image...
.(minishift) created: /Users/lmohanty/.minishift/machines/minishift/root-volume.sparsebundle
.(minishift) Creating SSH key...
(minishift) Fix file permission...
(minishift) Generate UUID...
(minishift) Convert UUID to MAC address...
(minishift) Starting minishift...
.(minishift) Waiting for VM to come online...
(minishift) Waiting on a pseudo-terminal to be ready... done
(minishift) Hook up your terminal emulator to /dev/ttys007 in order to connect to your VM
...........Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
..Copying certs to the local machine directory...
.Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
 OK
-- Checking for IP address ... OK
-- Checking if external host is reachable from the Minishift VM ...
   Pinging <IP_ADDRESS> ... OK
-- Checking HTTP connectivity from the VM ...
   Retrieving http://minishift.io/index.html ... OK
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 0% used OK
-- OpenShift cluster will be configured with ...
   Version: v3.6.0
-- Checking `oc` support for startup flags ...
   host-data-dir ... OK
   host-pv-dir ... OK
   host-volumes-dir ... OK
   routing-suffix ... OK
   host-config-dir ... OK
Starting OpenShift using openshift/origin:v3.6.0 ...

The server is accessible via web console at:
    https://<IP_ADDRESS>:8443

You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin

 ------------ [ Starting VM - Passed ]

 ------------ [ SSH Connection - Passed ]

 ------------ [ Getting VM IP - Passed ]

 ------------ [ CIFS installation - Passed ]

FUSE library version: 2.9.3
using FUSE kernel interface version 7.19

 ------------ [ SSHFS installation - Passed ]

 ------------ [ NFS installation - Passed ]

Expected '5' but got '2'
make: *** [test] Error 1

Expected '5' but got '2'
make: *** [test] Error 1

Not sure why you are getting it. We usually get 5.
/cc @gbraad

@LalatenduMohanty , What are you getting here https://github.com/minishift/minishift-b2d-iso/blob/7f9222e0ee997d38e495006d0826a0ab2c3f099f/tests/test.py#L81-L83 while testing #78

All tests passed for me 👍
➜  minishift-b2d-iso git:(pr-74) ✗ make test
Downloading latest minishift binary at /home/anath/RH/minishift-b2d-iso/build/bin/minishift...
######################################################################## 100.0%
Done.
sh tests/test.sh
-- Checking if requested hypervisor 'kvm' is supported on this platform ... OK
.....

The server is accessible via web console at:
    https://<IP_ADDRESS>:8443

 ------------ [ Starting VM - Passed ]

 ------------ [ SSH Connection - Passed ]

 ------------ [ Getting VM IP - Passed ]

 ------------ [ CIFS installation - Passed ]

FUSE library version: 2.9.3
using FUSE kernel interface version 7.19

 ------------ [ SSHFS installation - Passed ]

 ------------ [ NFS installation - Passed ]

 ------------ [ Bind mount check - Passed ]

Stopping local OpenShift cluster...
Cluster stopped.

 ------------ [ Stopping VM - Passed ]

Deleting the Minishift VM...
Minishift VM deleted.

@praveenkumar @gbraad Can you guys confirm that it works for you?

@LalatenduMohanty @budhrg tested on fedora and works as expected.
$ make test
[...]
You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin

 ------------ [ Starting VM - Passed ]

 ------------ [ SSH Connection - Passed ]

 ------------ [ Getting VM IP - Passed ]

 ------------ [ CIFS installation - Passed ]

FUSE library version: 2.9.3
using FUSE kernel interface version 7.19

 ------------ [ SSHFS installation - Passed ]

 ------------ [ NFS installation - Passed ]

 ------------ [ Bind mount check - Passed ]

Stopping local OpenShift cluster...
Cluster stopped.

 ------------ [ Stopping VM - Passed ]

Deleting the Minishift VM...
Minishift VM deleted.


Improve test suite and fix tests

@kkdai Do you have any idea why the tests in the current master (and this branch) are failing?


Update contact info

Bug Report
Please update the mailing address to
707 SW Washington St.
Suite 1100
Portland, OR 97205

Address is here: https://operationcode.org/contact (apologies, I'm on my phone and I have fat thumb syndrome)

@kurumkan Thank you for your PR! We will review it this weekend and let you know if we need anything else. Thanks again!


Switch from SentEmailHarness to QueuedEmailHarness in notify_participant test

Closes #4544.

Thanks for jumping in, @Misara! Do you have the test suite running locally? Are you able to reproduce the test failure we're seeing at Travis?

Yes, I can see the test failure. This assert is passing:
assert emails.spt_name == 'charge_'+status
but these three are failing:
assert self.get_last_email()['to'] == 'kalel<EMAIL_ADDRESS>assert 'Gratiteam' in self.get_last_email()['body_text'] assert 'Gratiteam' in self.get_last_email()['body_html']
I've tried to identify the issue, but I'm afraid I don't understand the test suite well enough to fix it. Sorry for messing around with it.

@Misara - I think the issue here is with the call to flush(). flush() deletes items from the email queue in our DB, and tries to invoke the mailer. We shouldn't need that if using the QueuedEmailHarness - since our tests should pick values directly from the DB. In fact, calling flush() could be the reason that get_last_email() ends up as None - coz it doesn't exist in the DB anymore. Can you try removing the flush() call and see what happens? :)
If you'd like to run that specific test locally, you can use this command: PYTEST="test_billing_payday.py -k notify -vvv"make pytest.

I actually tried that, the tests still failed. The self.get_last_email() call does not seem to return anything.
Thanks for the command to run the specific test, that sure saves a lot of time

Note: This was done in https://github.com/gratipay/gratipay.com/pull/4576, closing.


Read Only Fields Text Wrap Based on Bytes

What version of Unfold are you using?
main
What version of Django are you using?
5.0
What browser are you using?
Chome
Did you checked changelog/commit history, if the bug is not already fixed?
Yes
Did you searched other issues, if the bug is not already fixed?
Yes
Repository with reproduced bug
Currently the read-only fields wraps text based on words which will not work for long lines of text
Describe your issue

JsonFields has the same problem


Should this crate allow reading

LCD controller such as ili9341 allows for reading pixel data (and other useful things) from it.
This crate, while great great for simply sending data to display, makes it impossible to read data from it
Should it allow also for reading data

this would have to be a separate trait that the drivers would implement somehow since it's only available for some displays. What else besides pixels data itself would you consider to be useful for reading?

Pixel data would be super useful to read back from a display internal framebuffer. There's still #12 which attempts to provide the ability to read back. I do think it would be feasible to add traits to allow reading back pixel or control data but the big question would be how a display driver or in extension the application via the display driver could use the data. I can see a few caveats for a truly generic and useful API so if you happen to have a specific usecase or even a complete application reading back from the display I'd really love to see and discuss it.

I'm not trying to be smart and perhaps i'm missing some nuances of driver design but if a chip offers a set of data to be read there has to be a way to get them.
@almindor I'm interested mainly in getting the pixel data. However this approach is weird to me a bit. Every register that is exposed for reading in this driver chip could be useful to someone at some stage. Driver should not "kindly" allow me to read some and not the other.
In my more specific case i'm using  https://github.com/yuri91/ili9341-rs and https://github.com/VersBinarii/xpt2046.
I was thinking of experimenting with the touch driver along with getting the pixel data to build an interactive GUI. So i could read the pixel data at the touch location to handle specific action. This could potentially save me complexity of juggling all GUI elements in memory, dealing with collision detection, etc
I have read through the discussion in https://github.com/therealprof/display-interface/pull/12 but admit i dont fully understand @therealprof reasons for rejecting it.
Anyway thanks for your work in this area and if this crate is not usefull in this particular case its still applicable to 99% of other cases

@VersBinarii I'm the author of the generic MIPIDSI rust driver. I conflated things a bit here, my main aim was to find out "generic use cases" for reading so I could implement it in the overall driver if the display-interface gets support for it in a trait.
I agree 100% that reading is paramount and that the DI should just provide a generic read function same the write on right now.

In my more specific case i'm using https://github.com/yuri91/ili9341-rs and https://github.com/VersBinarii/xpt2046. I was thinking of experimenting with the touch driver along with getting the pixel data to build an interactive GUI. So i could read the pixel data at the touch location to handle specific action. This could potentially save me complexity of juggling all GUI elements in memory, dealing with collision detection, etc

Not sure how this would work. How can you reverse engineer which GUI element the user clicked on by reading back the pixel color?

I have read through the discussion in #12 but admit i dont fully understand @therealprof reasons for rejecting it.

The problem is we need a universal trait that works with different peripheral interfaces in a useful way without complicating lives for everyone not requiring this ability.
The reason why I'm asking how you intend to use the ability to read back pixel data is because most of our users are using embedded-graphics to render graphics primitives (or even whole user interfaces) onto the display; as far as I'm aware there's no way to use an external in-display framebuffer with that.
I know a few people who would be very excited (including me) to add the ability to use a in-display framebuffer but I don't think anyone has invested the required brainpower to come up with a real use case and a high level concept to implement such a use case. This would help immensly to identify the stumble blocks.
Reading a single value might be an easy addition, but once you enter the world of iterators or sized arrays things get complicated very quickly and that's what we need.

Reading a single value might be an easy addition, but once you enter the world of iterators or sized arrays things get complicated very quickly and that's what we need.

Then maybe this could be the start which will  get people to use it and see where this leads ;)
Anyway, i see your point.
@almindor I see. I misunderstood your question then.

Then maybe this could be the start which will get people to use it and see where this leads ;)

It's super inefficient, I doubt people would even care about that enough to start using it.

I'm wondering if we should leave this issue open as a discussion place for this. I think reading will become required, might be a good idea to have a dedicated place to put in ideas on how to best handle it.

I agree. Let's keep it open.


Youtube not autoplay next video

I notice that the extension on Chrome replaces the player, and I can't find the toggle button to enable autoplay. Any workaround?

bump, it seems like the autoplay button of the extension is not working.
I'm using Safari Version 18.1.1.


[Doc] Graph Construction PR Refactor - PR2: GPartition Doc

Issue #, if available:
Description of changes:
Preview version: https://jalencato-graphstorm-doc.readthedocs.io/en/gsprocessing-gpartition-doc/graph-construction/index.html
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Suggest to use the same GS prefix for both Processing and Partition.

Suggest to use the same GS prefix for both Processing and Partition.

What about let us use the GPartition name here? Our command now is graphstorm.gpartition.dist_partition_graph and already in the lib for v0.3 and v0.2.2. Not want to have different name as the command in the lib.

Suggest to use the same GS prefix for both Processing and Partition.

What about let us use the GPartition name here? Our command now is graphstorm.gpartition.dist_partition_graph and already in the lib for v0.3 and v0.2.2. Not want to have different name as the command in the lib.

After offline discussion, let us change the name of the GPartition in the doc to GSPartition, but leave the name in the lib to be gpartition to avoid any break change.


Update custom-create.md

Per resource documentation at https://docs.microsoft.com/en-us/azure/active-directory/roles/custom-assign-graph, resourceScope is being deprecated and replaced with directoryScopeId.

@slbishop : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Walpurgis extension stops working

Walpurgis add a login method to access to their manga. In other app is sufficient to login through the internal browser (as currently it is possibile with mangadex in Aidoku for example). Unfortunately it is doesn’t solve the issues.
Is it possible to fix?

Aidoku has some login api support, but I'm not sure if it's sufficient. Source needs to be updated regardless.


Merge Dev to Master 12.18.17 - SMTP consolidation

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Update truffle and truffle boxes

What

Create pages:

tutorials/ethereum-devs/truffle-regtest
tutorials/truffle-boxes/rsk-token-box
tutorials/truffle-boxes/rsk-plant-box

Update other truffle and truffle box related pages

Why

Preparing for TruffleCon
Add new tutorials and new truffle boxes

Refs

rsk-token-box
rsk-plant-box

Notes

In a second step (and not now) the truffle boxes pages located in tools/truffle will be updated using git-cached-copy

Thanks, @owans !

@bguiz , @owans
I would like to say that I give up on including material in devPortal.
I am completely against making the tutorials without the images,
because they make the difference in my tutorials.
I always miss images like these when I'm doing tutorials from elsewhere.
Other people have said that my tutorials are excellent.
So this goes against my quality principles.
In the past Brendan has blocked me for this before, but @alebanzas supported me.
Now there is no more AleB.
I have already published 13 tutorials in DevPortal, all with my quality standard.
But I don't want to publish something I'm not proud.
In this PR there were 3 more tutorials, but I will close it.
Owanate, thanks so much for you review.
I will find other alternatives to have this stuff published.


Spelling Errors

For next update consideration:
(name of JSON file and all references within the file itself)
Packs > Ancestries > _source > Gigantborn_ = "Giantborn_"...
Packs > Inventory >_source > Frail_ = "Flail_"...

Thank you for your feedback. Those json names were generated automatically by foundry provided tool.


[Snyk] Upgrade prettier from 2.2.1 to 2.7.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade prettier from 2.2.1 to 2.7.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 12 versions ahead of your current version.
The recommended version was released 2 months ago, on 2022-06-16.

Release notes

Package name: prettier

2.7.1 - 2022-06-16🔗 Changelog

2.7.0 - 2022-06-14diff
🔗 Release note

2.6.2 - 2022-04-02🔗 Changelog

2.6.1 - 2022-03-25🔗 Changelog

2.6.0 - 2022-03-16🔗 Release note

2.5.1 - 2021-12-04🔗 Changelog

2.5.0 - 2021-11-25diff
🔗 Release note

2.4.1 - 2021-09-16🔗 Changelog

2.4.0 - 2021-09-09diff
Release note

2.3.2 - 2021-06-26changelog

2.3.1 - 2021-06-05

2.3.0 - 2021-05-09

2.2.1 - 2020-11-28

    from prettier GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Coverage remained the same at 47.814% when pulling cb7f302aaa99a94e6d15298747bb02937460dde6 on snyk-upgrade-8b99063b44a781512935888129153c00 into 91232ab3b575309b2c06fc63a363347da5713739 on master.


Desired Behavior

Make icon size reasonable.
Screenshots/Logs

Environment

Browser: Chrome Safari Firefox
Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

would like to fix it up first. Can I @MUzairS15

Hey @MUzairS15, I would like to work on it. Could you please assign it to me?

@neeraj-2 since you are already working on the tooltip recently , lets let @tinniaru3005 proceed with this one.
@tinniaru3005 go ahead 👍 .

@neeraj-2 Since you already have https://github.com/meshery/meshery/issues/6410 on your plate, let's @tinniaru3005 take on this.

oh @MUzairS15 😆

Hey @MUzairS15 and @legendarykamal, Can you please point me to the page on the website where the icon is present?

In the left hand side you will find Configuration menu Select Patterns from there.

In the left hand side you will find Configuration menu Select Patterns from there.

In the landing page I couldn't find any configuration menu. So could you please link the page where the change is required?

Hey @MUzairS15, can you please tell me how can I reach this page from the home page

@tinniaru3005 meshery and meshery.io are different.
With this in place I doubt if you have meshery setup 🤔. If not then please unassign yourself and let someone else take it by then. Get the project setup running and then ask for assignments for the related issues.
meshery/meshery is the one for running meshery ui. This repo is for this project only and meshery.io repo is different.

@tinniaru3005 meshery and meshery.io are different. With this in place I doubt if you have meshery setup thinking. If not then please unassign yourself and let someone else take it by then. Get the project setup running and then ask for assignments for the related issues.
meshery/meshery is the one for running meshery ui. This repo is for this project only and meshery.io repo is different.

Yes I did that. :)

@legendarykamal Wanna take this up? 👀

While my advice was solely in the favour of the assignee , some basic steps before taking on any issue as one might face challenges while setting up, the history proves.
Yes @adithyaakrishna I was waiting for someone to show up in the meantime , but no1 did till now , so I would be happilly proceeding with this 😅 .

Awesome Awesome  @legendarykamal 🎉

@legendarykamal, sir, if you don't mind, can I give it a try as my first issue for meshery?
Thanks.

@AbhishekTiwari23 I wish you were a little earlier I would have passed it to you,but the issue is no more (is Fixed ) .
Nevertheless, there are others to try your hands in. I will help you find one if you don't get :)
here's the glimpse

@AbhishekTiwari23 I wish you were a little earlier I would have passed it to you,but the issue is no more (is Fixed ) . Nevertheless, there are others to try your hands in. I will help you find one if you don't get :)
here's the glimpse

Thanks, sir. I will look for others. I need a little help. I am looking for documentation on how I can install service mesh and run an adapter.

And if there is any video or tutorial, then it will be best. Please help if there is any such resource.


Can add text as well in the number tab.

Describe the bug
Can type into the number tab as well.
To Reproduce
Steps to reproduce the behavior:

Go to 'website
Click on 'contact us
Scroll down to  type your name
See error

Expected behavior
The contacts tab should incorporate only numbers not text
Screenshots

Additional context
provides the user with a better UI

Can you please assign me this task  I can do it well with better UI and responsive website?

@Mansii8224 the task is assigned to you, kindly complete it.

Yes  , I am working on it as I know this task is assigned to me . Thank you

That's fine @ritankarsaha


Invert quote-style when generating code within f-strings

Summary
When we generate source code from an AST (via Generator), we have a preferred quote style, based on the inferred quote style in the file. Unfortunately, when we try to generate autofixes within f-strings, the Generator is unaware of the fact that we're "inside" an f-string, and so continues to use that preferred quote style, which often leads to syntax errors.
This PR modifies our logic to detect when we're inside a single-quoted f-string, and then pass in the "inverted" quote style based on whatever was used to quote that f-string. This in turn requires that we track all f-strings, and are able to map from the current expression to the surrounding f-strings.
Two considerations here:

The quote style that we provide to Generator is really a "preferred" quote style. The Generator will "ignore" that preference if, e.g., it lets us avoid escaping a quote within a string, similar to Black's preferences. This would be problematic within f-strings. However, f-strings can't contain backslashes (it's a syntax error?), so... it might be fine?
This doesn't really deal with nested f-strings. I'm not sure what we want to do in those cases. The grammar is so limiting and complicated. We may want to avoid fixing issues within nested f-strings altogether?

Closes #4322.
Closes #4324.
Closes #4323.
Closes #4321.

As part of this effort... we may want to consider Generator to be deprecated, or an anti-pattern. In addition to this problem (it's context-independent), it also removes trivia, like comments. It is very useful, and we don't have a great replacement for it, but...

Edit: Your implementation handles this correctly, I think.

👍 Yeah, sorry, the implementation does do this correctly, but I'll improve the summary.

How difficult do you think would it be to add source map support to the Generator? We could then generate the code for the enclosing expression or statement and then extract the fstring range. They way this could work is that the generator writes a source map entry at the start and end of every node, mapping the node's start/end offset to the offset in the generated source (similar to the Printer in the formatter)

Can you elaborate on this a bit more? What does this buy us? (Genuinely asking, not objecting.)

Can you elaborate on this a bit more? What does this buy us? (Genuinely asking, not objecting.)

I wrote this before I understood that your fix solves the problem. The main benefit would be that it would make the Generator context aware. You won't need any special handling because you generate on a statement level.


x/website: Fuzzing documentation image has transparent background, works poorly with dark mode

The fuzzing page, https://tip.golang.org/security/fuzz/, has an image describing different components involved. It however has a transparent background, and with the page supporting dark mode, the image gets very tricky to read:

I'm not sure if having a opaque white background would be problematic, but that seems to be the easiest solution.

An alternative might be a white background with 50% opacity, then at least you don't get a block of solid white light on dark mode.

CC @dmitshur

Hey would like to pick this up if possible :)

Cameron's fix is one fine way to solve this. It makes the code readable again, at the cost of having block with white background inside a dark page.
I can think of 2 other approaches that would "save" the ambiant dark background:

edit the original picture to apply a shadow (bright or half-bright) to all the text
server a different picture when in dark mode, as illustrated here https://chrisruppel.com/blog/picture-prefers-color-scheme-dark/

I experimented 2 ways of adding a light-tone shadow:

With the CSS style filter: drop-shadow(0.5px 0.5px 0.3px #CCC);

By editing the original image

While these have the advantage of having a single transparent PNG that works in both light them and dark theme, I'm still not satisfied with the readability of the dark version.
See my next comment instead.

We can achieve much better results by serving a different image for light theme (default) and dark theme.
Something like
<picture>
	<source srcset="/security/fuzz/example_dark.png" media="(prefers-color-scheme: dark)" type="image/svg+xml">
	<img alt="Example code showing [...]" src="/security/fuzz/example.png" style="display: block; width: 600px; height:
auto;">
</picture>

I could make a CL for this.


Remove hard coded parts in porter key

Resolves 3079
What is being addressed
Remove hard coded parts in porter key.
How is this addressed

Use the value name from parameters

/test

/test-force-approve


Update helm chart for furiosa-metrics-exporter

One line PR Description

resolve: furiosa-ai/furiosa-metrics-exporter#27

What type of PR is this?
/kind devops
Special notes for reviewer

Related PR: furiosa-ai/furiosa-metrics-exporter#28

conditional approval:

fix appVersion to "0.1.0"

appVersion rollbacked to 0.1.0.


Ability to export drawings to a .txt file

I just think it would be a useful feature to have, because sometimes (at least in my use cases) I just need the flow chart and don't necessarily need to paste it into a code file, so being able to immediately download it as a .txt file would be much more convenient then getting the raw text, making a new .txt myself, and then pasting the chart into the file.
Otherwise, this is a great web application that I love to use! Keep up the great work.

Sorry I think this is unlikely to happen, I'm not sure how this could be accomplished with asciiflow as a purely client side web app


Disappearing graphics as you zoom in

Describe the bug
Linear elements disappear as you zoom in closer in this imodel.
Please reach out to get an invitation to the project.
To Reproduce
Open this imodel
Notice as you zoom in that some linear geometry disappears
Screenshots
Initial state, linear element is visible

Zoom in twice using mousewheel and the linear element is no longer visible

infrastructurecloud.bentley.com in PROD
iTwin.js Version [4.1.0]

Additional context
Add any other context about the problem here.

Please supply the .bim file. After 10 minutes of blank white screens, spinners, etc I finally can see a 3d view in ProjectWise, with no useful debugging tools.

I have invited you to the project while I try to figure out a way to get the bim file from infrastructurecloud. I don't see a way exposed to do that

download link to bim file

Root tile for model 0x20000000018 produces content, but its child tile produces no content.
Probably has something to do with the geometry in the model lying in a single plane - the low and high Z values of the tile range are identical. Enormous translation in X and Y (4000km from origin) may also contribute to floating point fuzz causing us to decide the geometry doesn't intersect the tile volume.
I thought we chunked up the tile volumes specifically to avoid this kind of problem. Need to debug the tile generation code for the child tile.

The lines in the "Default" model have a custom line style. We don't stroke the style when zoomed all the way out. When you zoom in, we attempt to stroke the style and produce no graphics from it.
If at all possible, please supply the DGN file from which the Default model originated.

Link to the dgn files
The disappearing lines are in "143402005-FM1977-TRF-STRIPING.dgn"
thanks

Link to the dgn files

That's a link to a .bim file.

Here are the DGN files.

@bbastings for the lowest-resolution tile, my GraphicBuilder's _WantStrokeLineStyle returns false, and we just output the unstyled curve vector.
For the next-higher-resolution tile, _WantStrokeLineStyle returns true. We invoke NullContext::_DrawStyledCurveVector. As far as I can tell, it outputs no geometry to my GraphicBuilder.
As far as I can tell from looking at it in MicroStation, the line style is pretty simple - it just makes the curves a specific width in world units.
Any suggestions?

Surprisingly, this is not just a continuous style with width, it's drawing symbols. The symbols are being excluded in z range.
TileContext:

  m_range

  low	{x=712609.43252710858 y=4216966.8690504190 z=-1.5485450325739357e-05 }

  high	{x=713015.63774212461 y=4217100.3169883303 z=1.5485450325739357e-05 }

Symbol:

  range

  low	{x=712610.67174229992 y=4216976.7053834554 z=0.0038100076200152403 }

  high	{x=712611.28192926373 y=4216976.8105593603 z=0.0038100076200152403 }

The original dgn models were 2d, so MicroStation was likely flattening to z=0.
I naively tried padding GeometryLoader.GetDgnRange just to see if anything would draw...that gets past the symbol range check, but didn't affect the lack of display...

This is a connector issue and not a display issue. These "2d" line styles aren't drawing their symbols at z=0 and the double yellow centerline even has 3d symbol geometry. This would display correctly if the geometric element's bounding box was being correctly expanded for the symbols, but it's unfortunately computing a value that is too small. I'm attempting to fix the width calculation but I am not having much luck understanding this ridiculous code.


Allow to pass ENS address

As a developer, I would like to pass ENS address which was deployed locally or on a private chain for dev/testing purpose. Already did chat with @tetratorus but will leave it as an issue for recording purpose.

You can pass it to the constructor of the ENS object as an optional argument already. Is that not what you had in mind?


Benchmarker Callback Returns Negative Wall Clock Time

In some cases (specifically when the training is fast), the Benchmarker callback returns a negative wall clock time. Specifically, the wall clock time seems to be the negative of the step number in these cases.
** To reproduce
Run python examples/run_mosaic_trainer.py -f composer/yamls/models/classify_mnist.yaml with the default benchmarker callback hparams.
The yaml file should look like this:
train_dataset:
  mnist:
    is_train: true
    datadir: /datasets/mnist
    download: true
    shuffle: true
    drop_last: true
val_dataset:
  mnist:
    is_train: false
    datadir: /datasets/mnist
    download: true
    shuffle: false
    drop_last: false
optimizer:
  sgd:
    lr: 0.1
    momentum: 0.9
    weight_decay: 1.0e-4
schedulers:
  - cosine_decay:
      T_max: "10ep"
model:
  mnist_classifier:
    initializers:
      - kaiming_normal
      - bn_uniform
    num_classes: 10
loggers:
  - file: {}
max_epochs: 5
total_batch_size: 2048
eval_batch_size: 1000
seed: 17
device:
  gpu: {}
dataloader:
  pin_memory: true
  timeout: 0
  prefetch_factor: 2
  persistent_workers: true
  num_workers: 8
validate_every_n_epochs: 1
grad_accum: 1
precision: amp
callbacks:
  benchmarker: {}

The output will be as follows:
[EPOCH][step=29]: { "wall_clock_train": -29.0000, }
[EPOCH][step=29]: { "accuracy/val": 0.9089, }
[EPOCH][step=29]: { "crossentropyloss/val": 0.5204, }
[EPOCH][step=29]: { "epoch": 1, }
[EPOCH][step=145]: { "wall_clock_train": -145.0000, }
[EPOCH][step=145]: { "accuracy/val": 0.9538, }
[EPOCH][step=145]: { "crossentropyloss/val": 0.1432, }

Expected behavior
Wall clock time should be positive.

Closing this issue as the benchmarker has been removed from composer. It will likely need to be re-written to support the new timing abstraction.


Any plan to extend it for ACM200 device ?

Hi
Do you plan to update the lib to manage also the ACM200 used for the HDMI Av Over IP matrixes ?
Thanks
Vincèn

I don't have one of those devices so I don't have anything to test against.

I don't have one of those devices so I don't have anything to test against.

I understand, thanks for answer ;)


NotchedOutline receives 0 width from FloatingLabel if TextField appears in Dialog

Not sure this is a bug per say, but wanted to share an issue I ran into.
I have a <TextField outlined label={this.state.label}/> in a <Dialog/>. Since the TextField is mounted while the dialog is not visible the handleWidthChange method of FloatingLabel reports a zero width. Therefore NotchedOutline carves out a zero-width notch. And lays atop the label.  [0]
For my purposes I can avoid this issue via:
<Dialog onOpen={() => this.setState({isMounted: true})} onClose={() => this.setState({isMounted: false})/>

and
<TextField outlined label={this.state.isMounted ? 'Title' : undefined}/>

I believe this is likely a bug, but I cannot proffer a solution to it just yet. Maybe I will later, but I don't know that I will have time to return to this issue in the near future. Additionally, I would imagine this is not limited to the Dialog, but this is where I ran into my issue.
[0] https://i.imgur.com/xU8vzYL.png

Yes definitely sounds like a bug without investigating this. Let's leave this open until someone can take a look. For now its good to have your workaround recorded. Thank you!

From the MDC Web end, this is expected behavior if you initialize a text field inside a closed dialog, because notched outline needs the elements to be in flow to measure correctly. This can be remedied by calling layout on the text field component when the MDCDialog:opened event is fired.
See also https://github.com/material-components/material-components-web/issues/4328#issuecomment-459473464

Ah thanks for the insight @kfranqueiro - I think then the React version should have something to trigger the foundation.layout method.


Update asm to 9.2

Updates org.ow2.asm:asm from 9.1 to 9.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.ow2.asm", artifactId = "asm" } ]

labels: library-update

See https://github.com/scala-steward-org/repos/commit/74ea5d48f57295e11653d7f8794b78188df16ad8


Add select and include to identity template handler

Add select and include to identity template handler

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


Add or_insert_with_key to Entry of HashMap

Going along with or_insert_with, or_insert_with_key provides the Entry's key to the lambda, avoiding the need to either clone the key or the need to reimplement this body of this method from scratch each time.
This is useful when the initial value for a map entry is derived from the key. For example, the introductory Rust book has an example Cacher struct that takes an expensive-to-compute lambda and then can, given an argument to the lambda, produce either the cached result or execute the lambda.

This is modified from https://github.com/rust-lang/rust/pull/70996 and intended to sync the APIs of std and hashbrown.

@bors r+

:pushpin: Commit fa0a4dbf1bbd9465a973de699da68fdb826fa9e9 has been approved by Amanieu

:hourglass: Testing commit fa0a4dbf1bbd9465a973de699da68fdb826fa9e9 with merge c16c44a92fe97daca5346ecb1bd74e94aff75409...

:boom: Test timed out

@bors retry

:hourglass: Testing commit fa0a4dbf1bbd9465a973de699da68fdb826fa9e9 with merge 7f72e0cc938f2b8c364f5d178aa2b5da75718987...

:boom: Test timed out

@bors retry

:hourglass: Testing commit fa0a4dbf1bbd9465a973de699da68fdb826fa9e9 with merge d2414e4ef4f74ab79b3d8710da0ac9ad8521449e...

:sunny: Test successful - checks-travis
Approved by: Amanieu
Pushing d2414e4ef4f74ab79b3d8710da0ac9ad8521449e to master...


helmChartDir should be relative to werf.yaml path rather than project dir

Suppose following mydir/werf.yaml:
# werf.yaml
deploy:
  helmChartDir: .helm

helmChartDir should be calculated relatively to mydir/werf.yaml which is mydir/.helm in our case.
helmChartDir default value is .helm calculated relatively to werf.yaml as well

Fixed by


CLI downloader

I'd like to make a standalone cli utility, but I have very few experiences in network and js development.
Is the source code in the utils dir enough for the functioning of the extension?
In what order are they executed?

@timmykill I think this might be more helpful for you: https://github.com/jlobos/instagram-stories

Thanks


FLEX-4806 ~ Logs all data attributes of schedule entries.

I changed the HashMap to a TreeMap to help sort on key
I moved the log calls out of the body of the if-statements, thereby logging all schedule entry data attributes

SonarQube analysis reported 5 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 Iec61850SetScheduleCommand.java#L82: Reduce this anonymous class number of lines from 137 to at most 20, or make it a named class.
 Iec61850SetScheduleCommand.java#L156: The Cyclomatic Complexity of this method "writeScheduleEntryForRelay" is 11 which is greater than 10 authorized.
 Iec61850SetScheduleCommand.java#L273: The Cyclomatic Complexity of this method "createScheduleEntries" is 11 which is greater than 10 authorized.
 Iec61850SetScheduleCommand.java#L299: Refactor this code to not nest more than 3 if/for/while/switch/try statements.
 Iec61850SetScheduleCommand.java#L317: Refactor this code to not nest more than 3 if/for/while/switch/try statements.


fix(tests): improve sasjs-request tests stability

Issue
Fixes https://github.com/sasjs/cli/issues/224
Intent
Improve the stability of SASjs request command tests to avoid random failures.
Implementation

Added timestamp to appLoc.
Remove folder at the end of the test run.

Checks

[x] Code is formatted correctly (npm run lint:fix).
[x] Any new functionality has been unit tested.
[x] All unit tests are passing (npm test).
[x] All CI checks are green.
[ ] JSDoc comments have been added or updated. - no actual code changed.

:tada: This PR is included in version 1.18.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


WebGl2RenderingContext cast to WebGlRenderingContext

A WebGL 2.0 rendering context cannot be cast to a 1.0 context using dyn_ref, but unchecked_ref succeeds and appears to produce the expected result, at least in my test application.  From an API standpoint, the available methods in 2.0 appear to be a superset of calls in 1.0.  There's a few differences in terms of behavior of a 2.0 context vs a 1.0 context, but I'm not sure if these differences are really significant from a practical standpoint (one would assume if you're casting between these types you're aware of what that implies).  MDN docs even suggest that WebGl2RenderingContext "inherits" from WebGlRenderingContext, though I'm not sure if that's actually part of the spec.
So my questions are:

Is the omission of a dyn_ref cast by design or simply something that was overlooked?
Is an unchecked_ref cast to a 1.0 context a well-defined operation, or is it possible I might encounter trouble in the future?  (assuming I'm writing my code with either possible version in mind)

Being able to cast from 2.0 to 1.0 would really be an advantage for cross-browser support in the case where you want to use a few 2.0 features, when available.  The alternative (if such a cast is not meant to be supported) seems like it would require a lot of code duplication and indirection.

According to the spec (which is currently in draft and isn't final), WebGL2RenderingContext does not inherit from WebGLRenderingContext.
I don't know why they decided to make it not inherit. But in any case, web-sys is auto-generated from the official WebIDL, so web-sys's behavior is correct (at least according to the spec).
And after running some tests, it seems that in the browsers it doesn't inherit either:
var canvas = document.createElement('canvas');
var gl = canvas.getContext('webgl2');
gl instanceof WebGL2RenderingContext // true
gl instanceof WebGLRenderingContext // false

So the browsers are following the spec, and therefore have the same behavior as web-sys.

Is an unchecked_ref cast to a 1.0 context a well-defined operation, or is it possible I might encounter trouble in the future?

Right now it will work, but in the future when we switch to host bindings then it will probably break.
And even if it doesn't break, it will perform slower than it should. So I recommend not using unchecked_ref in this situation.

The alternative (if such a cast is not meant to be supported) seems like it would require a lot of code duplication and indirection.

That's rather tricky. You basically have two options: an enum...
enum WebGlContext {
    V1(WebGlRenderingContext),
    V2(WebGl2RenderingContext),
}

...or a trait:
trait WebGlContext {
    // methods which are in common between WebGlRenderingContext and WebGl2RenderingContext
}

In either case I would highly suggest using a macro to generate the code, so that way you avoid code duplication.

Thanks for the clarification.  It sounds like a trait and a macro is the way to go.

This is what I ended up with: gl_context.rs
It only forwards the methods I'm using, but it's trivial to add others (just write out method name + type signature).  It also doesn't forward numeric constants, but the spec draft (linked above) shows they're identical between 1.0/2.0 so you can use them from WebGlRenderingContext directly:

WebGL2RenderingContext includes WebGLRenderingContextBase;


Compiler-crash when using generics with child class but not present in parent

I am getting a compiler crash with the following class structure using generics:
class A
  def initialize(@a : Float64)
  end
end

class B(T) < A
  def initialize(@a : Float64, @b : Array(T))
  end
end

testarr = ["a", "b", "c"]
myb = B.new 4.5, testarr

This causes an invalid memory access error from the compiler:
Invalid memory access (signal 11) at address 0x0
[0x5635e45353ef] __crystal_sigfault_handler +63
[0x7f5e30cc77e0] ???
[0x7f5e322899c4] _ZN4llvm11PointerType3getEPNS_4TypeEj +20
[0x7f5e321d1ab2] LLVMBuildInBoundsGEP +210
[0x5635e4c4fcb9] ???
[0x5635e4c86bfe] ???
[0x5635e4c6df84] ???
[0x5635e4c6da39] ???
[0x5635e4c80833] ???
[0x5635e4c8453c] ???
[0x5635e4c8dc04] ???
[0x5635e4c71302] ???
[0x5635e4c6da39] ???
[0x5635e4c80833] ???
[0x5635e4c8453c] ???
[0x5635e4c8dc04] ???
[0x5635e4c71302] ???
[0x5635e4c867c4] ???
[0x5635e4c6df84] ???
[0x5635e4c6da39] ???
[0x5635e4c2ad5b] ???
[0x5635e4f836b5] ???
[0x5635e45649e0] ???
[0x5635e4534b9c] main +13628
[0x7f5e300b74ca] __libc_start_main +234
[0x5635e450dc7a] _start +42
[0x0] ???

However, if you take out the initialization in the parent class A there is no issue, as below:
class A
end

class B(T) < A
  def initialize(@a : Float64, @b : Array(T))
  end
end

testarr = ["a", "b", "c"]
myb = B.new 4.5, testarr

Note that whether or not you have implicit or explicit initialization in the parent class, you get the compiler crash.
This appears to be at least somewhat related to https://github.com/crystal-lang/crystal/issues/4753 but I am not sure they are the exact same problem.
Thanks!

Reduced:
class A
  def initialize
    @a = 1
  end
end

class B(T) < A
  def initialize
    @a = 1
    @b = 1
  end
end

B(Int32).new

None of these examples seem to crash on 1.0.0.


Running multiple instances of ncclimo fails

This is probably more of an acme1 issue rather than acme_workflow.
Running multiple instances of ncclimo concurrently (either multiple year sets from one simulation, or year sets from multiple simulations) causes ncclimo to systematically fail.
Exact cause of failure varies, but error log include:

OpenBLAS blas_thread_init: pthread_create: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 1024 current, 4134224 max

or

libgomp: Thread creation failed: Resource temporarily unavailable

Wondering if @czender or @sterlingbaldwin have seen errors like this before?

@doutriaux1 encountered a similar problem on 7/7/17. He closed the issue after saying
"By playing with “ulimit –u ” we were able to bypass this.". Please try something along those lines. I am happy to add a line like that to ncclimo if necessary. Not sure if this issue is due to ncclimo though, or to the way NCO or other packages were put together in acme_workflow or something else... @sterlingbaldwin any suggestions?

@sterlingbaldwin I think by default conda install an numpy that comes with openblas which is limited to 2 threads or something like that. try to remove the openblas package
conda remove openblas

I think its the openblas package, Ive had problems with it before.

@cdoutriaux1 @golaz and @sterlingbaldwin To be clear, ncclimo is designed to run in multiple instances. The only exception is when it is run on the same input years but on different variables in different instances and the outputs are all stored in the same directory with the same names. That fails because the outputs overwrite eachother. The use-cases Chris mentions should work (presuming, of course, that the node has enough memory). The problems encountered with openblas seem to be due conda packaging, e.g., how conda packages openblas, and when NCO is installed through conda it can trigger this issue. When NCO is installed without conda it happily runs multiple instances (counterexamples welcome, I am unaware of any). Note that NCO depends on GSL and GSL is often built with gslcblas (e.g., RedHat, Debian) not openblas (Conda-forge). Pinging NCO conda-forge maintainer @ocefpaf to see if he is aware of any relevant openblas issues or solutions. Filipo, why does conda-forge GSL use openblas instead of gslcblas?

@golaz I would welcome a minimal example that replicates the error messages you receive when running multiple instances of ncclimo

@czender I concur this packaging of openblas with numpy by conda-forge is rather annoying, i wished it was off by default. Please feel free to include me in the conversation with @ocefpaf if needed.

@sterlingbaldwin : have you been able to reproduce the problem?

@golaz and @sterlingbaldwin I am unsure what the exact use-case is here. Nevertheless, I've tested ncclimo with simultaneous runs and am unable to break it as long as I don't naively attempt to write to the same output file in multiple runs, or run out-of-memory (OOM). Memory usage and how to diagnose/avoid OOM conditions are described on the Confluence ncclimo page. An easy way to test simultaneous usage is to submit multiple invocations simultaneously and have them write to separate output files with the "-f fml_nm" option, using different family names for each invocation, e.g.,
ncclimo -p nil -f ncclimo1 -d 1 -c famipc5_ne30_v0.3_00003 -s 1980 -e 1983 -i ${DATA}/ne30/raw -o ${DATA}/ne30/clm -r ~zender/data/maps/map_ne30np4_to_fv129x256_aave.20150901.nc > ~/ncclimo.out1 2>&1 &
ncclimo -p nil -f ncclimo2 -d 1 -c famipc5_ne30_v0.3_00003 -s 1980 -e 1983 -i ${DATA}/ne30/raw -o ${DATA}/ne30/clm -r ~zender/data/maps/map_ne30np4_to_fv129x256_aave.20150901.nc > ~/ncclimo.out2 2>&1 &
If it is as fragile as Chris says then I suspect that is an unintended consequence of running in a different  environment (Python?) than I typically do. In that case, it should still be straightforward to isolate a series of commands that replicates the problem, capture their output, and send it all to me. Turning off the "oversubscribe" flag is, IMHO, at best a temporary solution until the root cause is diagnosed and fixed.

I think the issue is caused by the environment and isnt an ncclimo issue. My guess right now is that its hitting the default max process cap of 1024 and then failing to create new threads. I'll do a reboot tonight and the cap should be raised. Tomorrow I'll do a stress test.


Skip e2e tests on forks

Skipping e2e tests if secrets are unavailable.
why?
github.repository_owner seems to resolve to redhatcloudx even on forks
if: ${{ github.repository_owner == 'redhatcloudx' }} will always succeed even if owner is not redhatcloudx:
https://github.com/actions/runner/issues/1173

Looks good to me :) But one question - is it intented that the dummy-change file is in the commit?

Ha, good catch! Nope that's not needed anymore ;)


Make QueryTypes independend of HTTP and provide it in a reusable way

Problem description
I was copying some very early sources of the spring/sparql stuff. One of the things that are somehow redundant in my code is QueryTypes. But the QueryTypes in rdf4j version 4.0.2 is not usable for me, because it's not a seperate class and it depends on the servlet api.
Preferred solution
Provide a seperate class file for QueryTypes and make it independent of the servlet api.
Are you interested in contributing a solution yourself?
Yes
Alternatives you've considered
No response
Anything else?
No response

Is there anything to do by me ?


State management

There are a bunch of cases, e.g.:

Token update screen
tokens/[name] screen

Where although users cannot do something harmful (because of contract doing validation and/or state changing under the hood), they can end up e.g. submitting an update for a token not owned by their current wallet.
In addition, there's a couple of cases, like:

wallet has no names
wallet mints first name
wallet is redirected to new token page

Where state will get out of sync - the nav only syncs alias on connect, and mint doesn't automatically either:

fire an alias lookup
reset alias in state

A lot of these issues are basically about handling state at component level, so the solution is probably to retrofit in a better state management library.

https://github.com/pmndrs/jotai <-- this looks good

Ooh actually I think this is the one https://github.com/pmndrs/zustand


Fix new notebook metadata API to update metadata

This PR fixes #151376

@rchiodo Good find! Does this need to go into the 1.68 since python has adopted the new API?

@rchiodo Good find! Does this need to go into 1.68 too since python has adopted the new API?

Yes it's required for 1.68. I'll port it there after I submit.


Allow smaller window-size

Description
Allow small window size, probably with mobile-like interface when under specific size.
Motivation
With current version, on small screen with low resolution (1366x768) the wallet minimum size is almost full display width and because of taskbar and title-bar a bit more than the available height (On Devuan Linux with MATE Desktop). Also nice when using parallel to other applications.
Requirements

Allow smaller windows
Optimize displayed content for very small sizes

Are you planning to do it yourself in a pull request?
No

Duplicate of #248


Passthrough service hangs under high load

Description:
$Subject under load test.
Strand dump - https://gist.github.com/xlight05/af107fdd097dd6825fbe6bd6e13efa1e
Simpler sample -
import ballerina/http;
import ballerina/log;
type Location record {|
    string name;
    string id;
    string address;
|};

type Locations record {|
    *http:Links;
    Location[] locations;
|};

final http:Client snowpeakEP = check new("http://localhost:9090");

service /passthrough on new http:Listener(9091) {
    resource function get .() returns Locations|http:InternalServerError|error {
        log:printInfo("Request received at passthrough service");
        Locations locations = check snowpeakEP->get("/snowpeak/locations");
        return locations;
    }
}

Steps to reproduce:

Checkout to HTTP branch with latest u9 changes
build a pack using ./gradlew clean build -x check -x test
open a new terminal and run the dependant service - docker run -p 9090:9090 ktharmi176/snowpeak:latest
run the snowpeak sample with the created pack <http_path>/target/ballerina-runtime/bin/bal run
execute the service once - curl http://localhost:9091/passthrough
Run a load test against the service - wrk -t12 -c400 -d10s http://localhost:9091/passthrough
once the load test is over, execute the service again -  curl http://localhost:9091/passthrough

Service should be hanging at this point.
Affected Versions:
2201.9.0-20240418-164300-a37919c4
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

This is wrong. We cannot block the strand thread using countdown latch or any other concurrency mechanism. We need to use markasync and future.complete methods to block the strand without blocking underlying thread.
Refer [1] for more info.
[1] https://github.com/ballerina-platform/ballerina-lang/tree/master/bvm/ballerina-runtime#calling-a-ballerina-object-method

Ack

The logic used here which uses countdown latch can be replaced with markasync and Ballerina future. The post processing logics can be moved to the notifySuccess() method of the callback.

Ack. Since we have found a workaround in this PR: https://github.com/ballerina-platform/module-ballerina-http/pull/1954, we will use this approach for the moment

Closing this issue since the original implementation is not valid according to the Ballerina runtime implementation


Enable HTTP/2

fix #3081

Not sure if it actually fixes the issue tho, just made the pr as it was too easy


Google Analytics

I notice there is below source codes for Google Analytics in js.html.
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  ga('create', '{{ site.owner.google.analytics }}', 'auto');
  ga('send', 'pageview');
</script>

However, it does not seem to link to my google analytics.
All i did was to put my google analytics id starting with UA- in the _config.yml.
Is there something else I need to do?

I believe #38 is the same issue, which was posted while back ago. But as it is still opened and is not answered by anyone, I would like to bring up this issue one more time.

I just pushed a commit de0a79 that changed the protocol to explicit https.
I hope that will solve your problem as well.

@renyuanz
Thank you very much!


Update ranch to 1.3.1 in rebar.config

Update to match the Makefile change in 3a240eb49b6322ec88985aa21014ca84a81157bb. Fixes #1088.

Thanks, merging/releasing tomorrow!

Done, thanks!


nexus plugin works only for maven repositories

Nexus supports multiple repository types
Maven, Nuget, OBR, NPM, RubyGems and Site (as of Nexus version 2.12)
Currently this plugin only supports Maven repository uploads.
Can the plugin be altered to allow the build to select a valid upload repository for technologies other than maven?

Thanks for the good suggestion, @scotgeeknerd.  We've got plans to expand support for repository types.  We'd also like to provide a Nexus task for downloading.  In the mean time, can you use the built-in NPM, NuGet, etc. tasks?  I realize they won't provide things that are Nexus-specific.  We'll get the Nexus extension improved as soon as we can.

I am closing this issue because support for different repository types (Maven, npm, NuGet, Docker, etc.) will be tracked individually.  Also, in the meantime, repository specific tasks can be used (i.e. the npm task).


Split nerdtree window by percentage rather than fixed width

When I resize my terminal with a nerdtree pane open, the window splits stick in a way that doesn't look right. Is there a way to configure the nerdtree split pane to layout in terms of a percentage of the whole window, rather than a fixed width?

Currently, there is not a convenient way to do what you're talking about without writing some custom code. You will want to review the g:NERDTreeWinSize setting (see the documentation).
This variable lets you set the width of any new NERDTree you create automatically. Note that it applies only to new NERDTree windows... not to ones that have been opened and then toggled closed. You could use the VimResized autocommand event to make the appropriate adjustments.
I also think you might be expecting too much of the plugin here... Are you using your mouse to resize windows? That's the easiest way to make adjustments.

It would be nice if you could do the lesser of some fixed width/percentage OR the length needed to display the longest string in the tree.

After reviewing this request again, I would argue that this is not a critical feature request.  Users should solve these kinds of problems with their own autocmd definitions. Now closing...


Can't add event handler code in AdvancedDataGridItemRenderer In-line Components

While checking out the mx example I stumbled upon various runtime errors. Particularly, it looks like you can't add event handler code in AdvancedDataGridItemRenderer in-line components.
Originally posted by @yishayw in https://github.com/apache/royale-asjs/issues/501#issuecomment-542834329

fyi I've seen a bunch of issues with porting inline components in the past with bindings. In Carlos' app we worked around it by refactoring and making external renderer classes. It does need attention for sure, but I'd suggest if it is holding you up that you might want to consider that for now also.

What is the source of:
org.apache.royale.utils.Language.trace('hello')
Should that really be there?

It's from
										<mx:ComboBox labelField="label" id="footerLocationDD" top="0" left="0" right="0" bottom="0" width="100"  														change="trace('hello')"					 														/>

It isn't that code is being run before Language is loaded, it is that the generated code is wrong.  I will look into fixing the compiler.