plot_dist() for many input features requires massive plot - please add limit for N most important features

Hi,
I'm currently testing out pyslise for a model with many input features (>1000).  When using plot_dist() to view the explanation for a given test case, it attempts to plot every feature, which requires making a massive figure in order resolve each feature in the plots.  It's generally unwieldy to work with, and presumably not what the devs intended.
Given that the features are already plotted in order of importance, I would suggest adding an option to this function that limits the plot to the N most important features, or better yet, pass in an array of indices that the user wants to plot.  This way, one could break up a problem with 1000 inputs into 40 groups of 25 or something more manageable.

That's not a bad idea, and pretty simple to implement as well!
(Although I'm a bit sceptical to how interpretable a linear model with >1000 variables really is, but you know your dataset better than me...)

I've created a new version (do a pip --upgrade slise) that adds a new argument to plot_dist for specifying which variables to plot. Use e.g. plot_dist(order=[4, 2, 5, 12, 24]) or plot_dist(order=range(10, 20))  to choose the order and selection of variables or plot_dist(order=10) for 10 variables with largest absolute coefficients.

Thanks for the quick update!  Works perfectly.


[Improve] influxdb exception  print

Purpose of this pull request

My influxDB version is 1.3.7. When using SeaTunnel, an error message is displayed: Get column index of query result exception. There is no error message about incorrect version. The exception of the supported version range should be returned to the customer to facilitate troubleshooting.
How was this patch tested?
Runs locally and on servers
Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

Before this PR, can we get the version error message from cause by block of InfluxdbConnectorException? I checked the code, the answer is yes if I don't miss anything.

Could you help to fix https://github.com/apache/seatunnel/blob/d928e8b11337710da82c06fb97aa135d5365fc33/seatunnel-connectors-v2/connector-cassandra/src/main/java/org/apache/seatunnel/connectors/seatunnel/cassandra/sink/CassandraSink.java#L110
and
https://github.com/apache/seatunnel/blob/d928e8b11337710da82c06fb97aa135d5365fc33/seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/source/ClickhouseSource.java#L149
too?

Could you help to fix
https://github.com/apache/seatunnel/blob/d928e8b11337710da82c06fb97aa135d5365fc33/seatunnel-connectors-v2/connector-cassandra/src/main/java/org/apache/seatunnel/connectors/seatunnel/cassandra/sink/CassandraSink.java#L110
and
https://github.com/apache/seatunnel/blob/d928e8b11337710da82c06fb97aa135d5365fc33/seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/source/ClickhouseSource.java#L149
too?

Modified. Cassandra is modified to
throw new CassandraConnectorException(
SeaTunnelAPIErrorCode.CONFIG_VALIDATION_FAILED,
String.format(
"PluginName: %s, PluginType: %s, Message: %s %s",
getPluginName(),
PluginType.SINK,
checkResult.getMsg(),
ExceptionUtils.getMessage(e)));

because checkResult is an externally spliced object.


Stuck at "Preparing to run backup"

Just started using this docker container for an account that had been windows for years. After moving HD data over, and spending a week, it's finally synchronized and appears ready to backup. It doesn't do anything at all. I can click "Run backup now" for a given backup set, but it just says stuck on "Preparing to run backup" (Restore also isn't working, but let's get upload first so CP doesn't delete my files on their server).
History doesn't have anything interesting:
01/30/22 07:17 PM	Local Drive: R not ready for backup. Reason: The backup location is not accessible
01/30/22 07:26 PM	[Marvel Comics (L)] Backup to CrashPlan Central will take priority until complete (up to 24 hours)

The container's logs don't say anything. The application just sits like this.

Can you share the docker run command you used to create the container ?

I'm using Docker compose via Portainer.
version: '3'
services:
  crashplan-pro:
    image: jlesage/crashplan-pro
    ports:
      - "5800:5800"
    environment:
      - CRASHPLAN_SRV_MAX_MEM=3072M
      - KEEP_APP_RUNNING=1
      - USER_ID=998
      - GROUP_ID=100
    volumes:
      - "/srv/dev-disk-by-uuid-b53a817a-d6e2-4e1c-892b-a5d5952cc613/voltron/crashplan:/config:rw"
      - "/srv/dev-disk-by-uuid-09e55364-b94a-4104-965a-655747f2f365/Photos:/storage/photos:ro"
      - "/srv/0260abda-c687-4bc8-af04-0c4297260d82/Backups:/storage/backups:ro"
      - "/srv/0260abda-c687-4bc8-af04-0c4297260d82/Documents:/storage/documents:ro"
    restart: unless-stopped

Update: After about 24 hours pending, it's actually running the backup. Will the backup be interrupted by the next scan? Should I turn off scanning until the backup finished, given this latency? Any ideas for what may be causing the long latency?

Oddly enough, it doesn't seem to have managed to match any of my files with those on the server, so it's re-uploading them. They're a different path, but their contents haven't changed. That's perhaps a better question for the code42 folks, but thought I'd post it here.

I think this is the expected behavior when the path changes. A better solution would be to setup each share so it looks like the same path that crashplan was using before. So each share is nestled under a “Volume1” virtual folder in the container. (I can’t remember the exact details, but hopefully you get the idea.)

Wording used by the UI is confusing.  Even though it says that a file is re-uploaded, it won't send anything if the same data is found in cloud.  To confirm, you can look at Tools->History, where you will see that the "effective rate" is very high.

It should, but that doesn't seem to be the case. Tools->History doesn't mention "effective rate" or any rate for that matter. It's uploading files at the rate I expect for non-deduplicating content. I'll have to check my router for stats next time it gets going, but it's stopped and idle again. I manually pressed "Run Backup Now", and it's still just frozen at "Preparing to run backup".

And to answer cgbale, I can't use the same path. Windows and Linux paths are incompatible. Crashplan is supposed to match data blocks and not upload them, and not rely on file path.

I reached out to Crashplan support. I tried bringing up a Linux VM with Ubuntu and the Crashplan files mapped into it. I was able to get things working in the VM (but haven't looked into bringing that back into the container). Still, Crashplan support won't support the container, but did support the Ubuntu VM. The particular issue here, sounds like it's a server-side error on the Crashplan side with matching/restoring to a device.
If the container had a docker config (Environment variable?) we could set to to allow setting of the device name, I could try the container again (because it wouldn't be "replacing" a device, but being the device).


ci(model-server-openapi): lint the specification with spectral in GHA

Encourages the well-known Zalando RESTful OpenAPI guidelines but doesn't fix all issues. Existing issues are whitelisted (or fixed where easily possible and without breaking). Only new issues would pop up.
To be verified by reviewers

[ ] Relevant public API members have been documented
[ ] Documentation related to this PR is complete

[ ] Boundary conditions are documented
[ ] Exceptions are documented
[ ] Nullability is documented if used

[ ] Touched existing code has been extended with documentation if missing
[ ] Code is readable
[ ] New features and fixed bugs are covered by tests

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


Command flutter pub get fail on Alpine Linux

Steps to Reproduce

Hi, I'm working on a new Flutter docker image, based on Alpine OS. Almost everything is ready. But, running flutter pub get this error happen:
bash-5.0$ flutter pub get
Write failed (OS Error: Broken pipe, errno = 32), port = 0
pub get failed (server unavailable) -- attempting retry 1 in 1 second...

Logs

[        ] FINE: Extracting .tar.gz stream to /home/default/development/flutter/.pub-cache/_temp/dirESGKTI.
[  +14 ms] IO  : Spawning "/bin/tar --extract --gunzip --no-same-owner --no-same-permissions --directory
/home/default/development/flutter/.pub-cache/_temp/dirESGKTI" in /home/default/development/bridi-mobile/.
[  +36 ms] ERR : Write failed (OS Error: Broken pipe, errno = 32), port = 0
[        ] FINE: Exception type: SocketException
[ +105 ms] FINE: dart:io                                      Process.start
[        ]     | package:pub/src/io.dart 809:12               _doProcess
[        ]     | package:pub/src/io.dart 676:27               _startProcess.<fn>
[        ]     | ===== asynchronous gap ===========================
[        ]     | dart:async                                   Future.then
[        ]     | package:pub/src/io.dart 675:36               _startProcess
[        ]     | package:pub/src/io.dart 884:23               extractTarGz
[        ]     | package:pub/src/source/hosted.dart 398:11    BoundHostedSource._download
[        ]     | ===== asynchronous gap ===========================
[        ]     | dart:async                                   _asyncThenWrapperHelper
[        ]     | package:pub/src/source/hosted.dart 264:13    BoundHostedSource.downloadToSystemCache
[        ]     | package:pub/src/entrypoint.dart 407:48       Entrypoint._get.<fn>
[        ]     | dart:async                                   runZoned
[        ]     | package:pub/src/http.dart 279:10             withDependencyType
[        ]     | package:pub/src/entrypoint.dart 403:12       Entrypoint._get
[        ]     | dart:async                                   Future.wait
[        ]     | package:pub/src/entrypoint.dart 252:18       Entrypoint.acquireDependencies
[        ]     | dart:async                                   _completeOnAsyncReturn
[        ]     | package:pub/src/solver/version_solver.dart   VersionSolver.solve
[        ]     | dart:async                                   _completeOnAsyncReturn
[        ]     | package:pub/src/source/hosted.dart           BoundHostedSource.withPrefetching
[        ]     | dart:async                                   _completeOnAsyncReturn
[        ]     | package:pub/src/rate_limited_scheduler.dart  RateLimitedScheduler.withPrescheduling
[        ]     | dart:async                                   _completeOnAsyncReturn
[        ]     | package:pub/src/source/hosted.dart           BoundHostedSource.withPrefetching.<fn>
[        ]     | dart:async                                   _completeOnAsyncReturn
[        ]     | package:pub/src/solver/version_solver.dart   VersionSolver.solve.<fn>
[        ]     | dart:async                                   _completeOnAsyncReturn
[        ]     | package:pub/src/solver/version_solver.dart   VersionSolver._result
[        ]     | ===== asynchronous gap ===========================
[        ]     | dart:async                                   _asyncThenWrapperHelper
[        ]     | package:pub/src/command/get.dart 46:23       GetCommand.run
[        ]     | package:args/command_runner.dart 197:27      CommandRunner.runCommand
[        ]     | package:pub/src/command_runner.dart 191:39   PubCommandRunner.runCommand.<fn>
[        ]     | dart:async                                   new Future.sync
[        ]     | package:pub/src/utils.dart 113:12            captureErrors.wrappedCallback
[        ]     | package:stack_trace                          Chain.capture
[        ]     | package:pub/src/utils.dart 126:11            captureErrors
[        ]     | package:pub/src/command_runner.dart 191:13   PubCommandRunner.runCommand
[  +25 ms] pub get failed (server unavailable) -- attempting retry 1 in 1 second...

flutter doctor -v
[✓] Flutter (Channel stable, v1.17.4, on Linux, locale en_US)
    • Flutter version 1.17.4 at /home/default/development/flutter
    • Framework revision 1ad9baa8b9 (4 days ago), 2020-06-17 14:41:16 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

This issue should be filled at https://github.com/dart-lang/sdk or https://github.com/dart-lang/pub since it is not related to flutter.

This issue should be filled at https://github.com/dart-lang/sdk or https://github.com/dart-lang/pub since it is not related to flutter.

https://github.com/dart-lang/sdk/issues/42597
https://github.com/dart-lang/pub/issues/2550


Extra character ")" in the code for Handle message event

[Enter feedback here]
The article : https://docs.microsoft.com/en-us/azure/azure-web-pubsub/tutorial-build-chat?tabs=csharp#handle-message-events
has extra character ")"  on line "        return request.CreateResponse($"[SYSTEM] ack."));
"

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

ID: 6fc0961a-70a2-32c4-0feb-934aa5356b25
Version Independent ID: eff95be1-41e1-353c-9b88-e151d8c598ed
Content: Tutorial - Create a chat app with Azure Web PubSub service
Content Source: articles/azure-web-pubsub/tutorial-build-chat.md
Service: azure-web-pubsub
GitHub Login: @vicancy
Microsoft Alias: lianwei

@MeenakshiBalekar Thanks for the feedback! We are currently investigating and will update you shortly.

Looks already fixed.

@MeenakshiBalekar Thanks again for the feedback! This is fixed now.

return request.CreateResponse($"[SYSTEM] ack.");

We will now proceed to close this thread If you feel you need more information please just let us know.


Update to Zephyr SDK 0.16.0

This series updates the CI to use Zephyr SDK 0.16.0.
Tested in https://github.com/zephyrproject-rtos/zephyr-testing/actions/runs/4426759864

Ready for review.
DNM until the CI runner node image is updated to cache the CI Docker image v0.25.0.

DNM until the CI runner node image is updated to cache the CI Docker image v0.25.0.

Done


Is it possible for Telegram to accept an edit but still return MESSAGE_NOT_MODIFIED?

I'm a little stumped, please bear with me.
I have a bot that sent a message to a group yesterday at 7 a.m. US/Pacific, then edited it successfully at 12:10 this morning, but failed at 12:20 with a MESSAGE_NOT_MODIFIED:
2024-08-08 07:00:13,533 INFO reminders.py:161] Sending reminder to -1001xxx.
⋮
2024-08-09 00:10:06,885 INFO reminders.py:185] Editing reminder -1001xxx/1991.
⋮
2024-08-09 00:20:12,006 INFO reminders.py:185] Editing reminder -1001xxx/1991.
2024-08-09 00:20:14,872 ERROR reminders.py:199] While editing 1991 in -1001xxx:
There are a bunch of events coming up:

⋮
Traceback (most recent call last):
  File "lib/python3.10/site-packages/metabot/modules/reminders.py", line 188, in reminder_edit
    return bot.edit_message_caption(chat_id=groupid,
  File "lib/python3.10/site-packages/ntelebot/bot.py", line 71, in __call__
    raise ntelebot.errors.Error(data)
ntelebot.errors.Error: {'ok': False, 'error_code': 400, 'description': 'Bad Request: message is not modified: specified new message content and reply markup are exactly the same as a current content and reply markup of the message'}

I don't have a record of what it [thinks it] sent at 12:10, but it includes a countdown to an event that took place at 4 p.m. today, and that message 1991 currently includes the string "¹⁵ʰ⁴⁰ᵐ", which is what it tried to send at 12:20. The only way I can think of for that to happen is if it sent the wrong countdown at 12:10 somehow but still recorded the correct one somehow:
00:10  (15h50m before the event)
  send "15h40m"
  record that it sent "15h50m"
00:20  (15h40m before the event)
  send "15h40m"
    error

I've tried to figure out where MESSAGE_NOT_MODIFIED comes from, but haven't gotten very far.
Is it possible the 12:20 edit did actually go through, but Telegram returned MESSAGE_NOT_MODIFIED anyway?
If so, is there any way to confirm that that happened in this case?

I was just preparing to push a fix for a bug in my code that's triggered by this situation, and it seems the situation just happened again; same bot, but different group:
2024-08-09 19:00:11,830 ERROR reminders.py:199] While editing 104113 in -1001xxx:
There are a bunch of events coming up:

… ¹⁵ ʰᵒᵘʳˢ Sat 10ᵗʰ, 12–2ᵖᵐ …
ntelebot.errors.Error: {'ok': False, 'error_code': 400, 'description': 'Bad Request: message is not modified: specified new message content and reply markup are exactly the same as a current content and reply markup of the message'}

The message in question does currently say "¹⁵ ʰᵒᵘʳˢ Sat 10ᵗʰ, 12–2ᵖᵐ".

The error is returned by the Telegram servers. They compare the current message content and the new content provided by the bot. If they match, then the request is aborted and edit isn't performed. But you may handle the error as if the edit succeeded, because content of the message is already exactly as you have requested to be. The likely cause of the issue is the request sent twice in parallel by the bot, one of which succeeds, and one of which fails with the error.

When Google Calendar first came out, a tool I wrote used to create duplicate events fairly often. Eventually it was determined that I would send a single "create" request to the API servers, then the API servers would send an RPC to create the event, and then a separate RPC for each attendee (I believe something to do with creating reminders). If any of the per-attendee RPCs failed, even transiently, the API server just immediately returned a 500 — it didn't roll back the event creation, but also didn't return the new event's id, so it existed (at least partially) but was completely orphaned.

my app: → create {"summary": "cool event", "attendees"<EMAIL_ADDRESS><EMAIL_ADDRESS>"start": 1234}

GC: → create {"summary": "cool event", "start": 1234}

DS: ← created {"id": "aaaaa"}

GC: → add {"id": "aaaaa"} to<EMAIL_ADDRESS>
DS: ← done!

GC: → add {"id": "aaaaa"} to<EMAIL_ADDRESS>
DS: ← no

GC: ← 500

my app: → create {"summary": "cool event", "attendees"<EMAIL_ADDRESS><EMAIL_ADDRESS>"start": 1234}

GC: → create {"summary": "cool event", "start": 1234}

DS: ← created {"id": "bbbbb"}

GC: → add {"id": "bbbbb"} to<EMAIL_ADDRESS>
DS: ←  done!

GC: → add {"id": "bbbbb"} to<EMAIL_ADDRESS>
DS: ← done!

GC: ← created {"id": "bbbbb"}

I had to run a separate job once a week that downloaded the entirety of every calendar I managed and just deleted any events that weren't in my cache. They switched data stores a few years later and the problem went away (I think the new DS allowed them to run the whole create operation inside a transaction).

Anyway, TBA has been so reliable for the past 7 years I haven't bothered to add any kind of retry logic, and I haven't been seeing any "conflict" errors (that would have suggested multiple instances of the bot were running somehow). Is it possible "api.telegram.org" is forwarding my request to something else, getting maybe a network error, and resending the request on my behalf?
I don't send edit requests unless the copy of the message in my cache is different from what the message is [now] supposed to be. So if I send an edit, and the API server tells me the content hasn't changed, that means the copy in my cache is incorrect. There's no way to retrieve a message by id, right? I suppose I could editMessageText(text='dummy') and then resend the editMessageText(text=newtext) (or maybe forwardMessage it to a dummy location) just to get a copy of the current message, or maybe even rework my bot so it doesn't need a copy of the current message in its cache, but I guess now I'm wondering if there may be situations where other API calls (including sendMessage) might mutate Telegram but return a failure to me.

Is it possible "api.telegram.org" is forwarding my request to something else, getting maybe a network error, and resending the request on my behalf?

The chance of this is extremely low, so I would say that it is impossible. It is much more likely that the request to api.telegram.org is retried because of a network error.
If you receive "message is not modified" error, then message content is already as you want it to be. You must not do anything additionally with the message.


Added 2c_mom reference implementation

Overview
Reference implementation of the statistics routine x2c_mom
These changes enable the example em_gmm_dense_batch with reference backend. This has been removed from the exclude list. The changes were tested on AWS Graviton3 with gcc+openblas build.
Notation
Data is a matrix $X\in\mathbb{R}^{p\times n}$. Each column is a $p$-dimensional vector sampled independently. The matrix  $X$ is assumed to be stored in column-major fashion.
1. x2c_mom
The variance estimator is a $p$ dimensional vector whose $i$th component is
$$v_i = \frac{1}{n-1}\sum_{j=1}^n (x_{ij} - \mu_i)^2.$$
The implementation first computes the second raw sum ($S^{(2)} := \sum_i x_i^2$) and mean ($\mu$); and then uses
$$v = \frac{S^{(2)}}{n-1} - \frac{n}{n-1}\mu^2 = \frac{S^{(2)}}{n-1}-\frac{(S^{(1)})^2}{n(n-1)}$$
to compute the variance.

/intelci: run

/intelci: run


Task - Setup CI/CD for imga-workshop (client app)

Content: In this task, I have to create 2 branches, server-release and client-release. I'll setup CI/CD with Github Action in client-release. To deploy client application to S3 and CloudFront.

Result: view more here


DialogManager OnTurnAsync does not call OnMembersAddedAsync, whereas ActivityHandler does

Version
4.10.0
Describe the bug
Coming from the Virtual assistant template, I am now trying to add composer dialogs as adaptive dialogs into the solution. Following the steps here, and looking at the way composer dialogs are implemented in this sample, I am replacing the line:
            await base.OnTurnAsync(turnContext, cancellationToken);`

to
            await _dialogManager.OnTurnAsync(turnContext, cancellationToken);

in the OnTurnAsync method of ./Bots/DefaultActivityHandler.
In the virtual assistant template, there is also a method OnMembersAddedAsync. The base.OnTurnAsync method makes sure this method is called for appropriate activities, however the OnTurnAsync that was implemented in the DialogManager class does not. The latter seems to take a completely different approach to handling BotOnTurnAsyncs (see https://github.com/microsoft/botbuilder-dotnet/blob/main/libraries/Microsoft.Bot.Builder.Dialogs/DialogManager.cs#L375)
To conclude, I'm not really sure that this is a bug then, but I don't understand why the two implementations of OnTurnAsync are incompatible. Is the DialogManager indeed the recommended way to include composer dialogs into your bot? And if so, how do you handle ConversationUpdates and other events when using the dialog manager?
To Reproduce
See above
Expected behavior
I expected OnMembersAddedAsync to run for ConversationUpdate activities, even after switching to the dialog manager in stead of the default activity handler
Edit
I have played around a little bit and found the code below to work for me. I would still like to know if this is the intended way, as I didn't find any documentation on this.
            await _dialogManager.OnTurnAsync(turnContext, cancellationToken);
            if (!turnContext.Responded)
            {
                await base.OnTurnAsync(turnContext, cancellationToken);
            }

@tomlm can you comment/ clarify?

This is by design, as it's all under under your control.
DialogManager.OnTurnAsync() will take any activity and route it to the dialog stack.  This gives every dialog in the system the ability to respond contextually to non-message activites, for example, the user typing, or a message like, or event when a person joins the conversation.  Say you are playing a game, you want the dialog for the game to say "welcome, John, you can't join the game until we start the next round. I'll add you in to the game then."  To do that you want the logic for that to be in the GameDialog that is driving the game.
The ActivityHandler class has a bunch of virtual helper methods which is designed to make it easy to work different activity types without a dialog system. Meaning, if you just want to respond to various activities you can implement the virtual method for that activity and write your code.  This is a useful paradigm because not everyone wants or needs a dialog system.
The way the ActivityHandler class is written is that OnTurnAsync(Activity) is called. The default implementation of that virtual method inspects the activity and calls the appropriate virtual method per activity type.
OnTurnAsync(activity)
   => OnMessageActivity(activity as IMessageActivity)
   => OnConversationUpdateActivity(Activity as IConversationUpdateActivity)
   => etc...

Some handlers like OnConversationUpdateActivity() will actually break the activity up into individual OnMemberAdded() or OnMemberRemoved() calls.
So...given all of this, if you override the virtual method
OnTurnAsync(activity) => dm.OnTurnAsync(activity);

You are disabling all of the virtual methods because you are routing ALL activity types to the dialog system via the dialogmanager.
But that's not the only you could do it.  If you leave OnTurnAsync() alone, it will call the other virtual methods.  In those methods you can decide to process the activity, or pass on the dialog system at your discretion.
OnMessageActivity(activity) => dm.OnTurnAsync(messageActivity)
OnMemberAdded(member) => do what you normally do,
OnTyingActivity(activity) => dm.OnTurnAsync(typingActivity)

etc.
To make the layering super clear, DialogManager is completely independent of the ActivityHandler class.  They can work together, or they can work independently. For example, it is completely normal to not use the ActivityHandler at all, you can simply do this:
        [HttpPost]
        public async Task PostAsync()
        {
			// call the dm.OnTurnAsync directly as the handler for the turn
            await adapter.ProcessAsync(..., (tc, ct) => dm.OnTurnAsync(tc, ct), ...);
        }

One more note:  the layering of libraries gives you a hint here too.
ActivityHandler is defined in Microsoft.Bot.Builder which is the library that defines everything you need to respond to activities without a dialog system.
Dialog/DialogContext/DialogManager etc is defined in Microsoft.Bot.Builder.Dialog which is a dialog library on top activities as  protocol, which defines a dialog system mechanism for organizing your responses to activities.


Add markprompt extension

Description
The Markprompt extension enables users of Markprompt to prompt their Markprompt projects through Raycast. This allows support teams to ask quick questions of the project content their Markprompt bot has been given as context.
Screencast
https://github.com/raycast/extensions/assets/2504906/c5f240bd-6640-44d6-b54b-6c49daa82e58
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks folks :)


Pulling in metrics from multiple AWS accounts

Is it possible to pull in metrics from multiple AWS accounts? I've tried running multiple copies (using different names) connecting to different AWS accounts, but the last one that starts takes over the external metrics API, so the metrics from the other account are no longer available.

It does not work that way, at any one time there can only be one external metrics provider, that's why the last one takes over the API in your case. Right now this adapter does not support pulling metrics from multiple AWS accounts. In fact this is a good suggestion.

Any progress on this? It would be extremely helpful!

+1 on this. This feature would be very valuable for us as well.

Would be good if the adapter could use federation to retrieve metrics from other accounts as well.


doesn't support property or method array Clone

Please make sure these boxes are checked before submitting your issue --- thank you!

[ ] Check Serenity Users Guide, including how-to and troubleshooting sections
[ ] Check Serenity WIKI in GitHub
[ ] Please have a look CHANGELOG.md for directions on breaking changes
[ ] Try a search for previous issues here, that might have similar case
[ ] Check your browsers's CONSOLE tab for errors, and include them here
[ ] Please report with as many details as possible to help us identify the problem

Configuration (Serenity / Serene version, OS, Browser used etc.)
Expected behavior
Actual behavior
Steps to reproduce the behavior

Seems like you read everything so carefully :)

That function is removed. Please search for Q.arrayClone(something) in your project and replace it with something.slice(). And also report the file here so i can share it in change log. I don't know how that code is left in yours.

Thank you!

On 23 May 2016, at 11:40 PM, Volkan Ceylan<EMAIL_ADDRESS>wrote:
That function is removed. Please search for Q.arrayClone(something) in your project and replace it with something.slice(). And also report the file here so i can share it in change log. I don't know how that code is left in yours.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


⚠ Roblox TextFilter Api has degraded performance

In d52594d, Roblox TextFilter Api (https://textfilter.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 7012 ms

Resolved: Roblox TextFilter Api performance has improved in 147cac2.


Add Healthy check

Hi Gitea Team,
To improve usage in Docker after Entrypoint line you could add an Health check line :
https://github.com/go-gitea/gitea/blob/d285b5d35a44bf9fde0682532aeef9550f78cf83/Dockerfile#L62
HEALTHCHECK --interval=30s --timeout=3s \   CMD /bin/s6-svok /etc/s6/gitea || exit 1
BR,
Memiks

Dupe of #12443
But also has suggested solution.


Portal support for tips

Plot is great for spark lines and what not, but tips start to get clipped or overlapped easily in smaller dimensions. Being able to have tips portal up to the body or specified location would be 👨🍳 💋 🤌

cc @derekperkins

Can you workaround using position: relative; z-index: 2; overflow: visible; on the SVG?
We intentionally didn’t do portals because it makes it much harder to keep the tip in sync with the plot (e.g., with responsive plots that resize with the window).

I got this to work :) Thanks Mike! I'll close this for now until it becomes more of a concern (possible as we continue to roll out charts across various UI sections of our app)


implement data module for hf2

implement data module for hf2 simulations. This will provide the training/testing data for NPE training.

Implemented preliminary data module for hf2 in 82ca572.
data.hf2_centrals outputs training or test data set of central subhalos for a given simulation. Below is a demo of the SHMR and color-color relation.

Interestingly, but unsurprisingly, the color color predictions are dramatically different among the different simulations.

Hm, I ran into a strange discrepancy. I previously took stellar mass and halo mass from HaloFlow_{simulation}_Subhalos.csv and the rest of the data from HaloFlow_{simulation}.csv. This was because I didn't realize HaloFlow_{simulation}.csv also has SubhaloMassType_stars and SubhaloMassType_dm.
After your comments in #8, I realized I should probably be using the masses from HaloFlow_{simulation}.csv so I updated the data module in cd99906. To my surprise, it actually changed the SHMR:

The SHMR is now significantly tighter.
@cbottrell could you confirm that SubhaloMassType_stars and SubhaloMassType_dm in HaloFlow_{simulation}.csv is what I should be using? Do you happen to know why there's a discrepancy?

@changhoonhahn, for the resolution calibrations and all plots, I've been using the Group_M_Crit200 as halo mass and SubhaloMassType_stars as stellar mass. You can find these in log units assuming h=0.6774 in the HaloFlow_{simulation}.csv tables. Lengths are in [pkpc]. Masses are in [Msun]. I've set things up so that you should be able to do everything from these tables. I've merged the group and subhalo data and morphologies for each galaxy, in each band, for all camera angles into those tables.
The HaloFlow_{simulation}_Subhalos.csv tables are all in code units taken directly from the sims. You can abandon these tables. As for the discrepancy and tighter SHMR, is it because you are using Subhalo masses rather than Group masses? The scatter will be particularly tighter if you are including satellites with SubhaloMass -- because the SubhaloMass for satellites will be closer to the dynamical masses you would infer from gas kinematics, rather than the group halo masses that would be inferred from weak lensing or group dynamics. You can restrict to centrals in my catalogues with GroupFirstSub=1. But this increase in scatter will also hold to some extent for centrals because of the difference in how SubhaloMass and Group_M_Crit200 are defined.

Thanks for the clarification @cbottrell. I've updated everything to use Group_M_Crit200 for halo mass (8fe68e2)
Here's how the SHMR looks now:


PR: Only go to line in editor when Pdb changes line

Description of Changes
Notify spyder should not move back to a position it already moved to

[ ] Wrote at least one-line docstrings (for any new functions)
[x] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #10851
Depends on spyder-ide/spyder-kernels#185
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: impact27

@impact27, I solved the conflict myself because I need to merge this right away.


Notebook #5: Example with Keras

I updated the notebook and refactored ClassifierGenerator so that it takes a generator instead of an iterator.


Wrong URL for GitHub Enterprise environments

I was reviewing a Pull Request on our local GitHub Enterprise Installation which was referencing another PR in its title. Luckily Refined GitHub adds a link around that, sadly it was pointing to github.com instead of the GitHub Enterprise URL.
I haven't had the time to check for other sources where this might happen but I'm pretty sure this isn't the only case where it has the wrong URL.

Due to: https://github.com/sindresorhus/linkify-issues/blob/f04221a/index.js#L47
To fix it, pass '' as the baseUrl option.


[Run] Allow filter out app results

Summary of the new feature/enhancement
Sometimes it might be useful to filter out some apps/search result (maybe by regex for instance, or by context menu in the search results).
For example:

For instance here I personally don't want to see "Character Map", "Weather Windows App" and "Private Character Editor" because I never used them and not going to do so, but I see them in search results. It might be the issue would be fixed in the search result will be sorted somehow (by usage and weight).

Copying from #3642 for reference:

Add support to exclude certain file or dictionary on PowerToy Run

How is this still not a thing? I get "Uninstall App" way more often than the actual apps. Hiding unwanted results and aliasing are without a doubt necessary features. Otherwise, why even have this?

What's the status of this enhancement, we are now mid 2023, no update since 2021...

I would love to see this feature implemented. I can't tell you how many times I have uninstalled Zoom.

Yes, every program inexplicably adding their own uninstaller shortcuts to start menu, which then pop up in all the searches, often as first result, when we actually just use Apps & features to find those uninstallers... Of course we can find and delete all the shortcuts, but a simple word blacklist in PT Run would be much appreciated.

+1 on this one. Maybe a specific ignorelist. For instance, when searching for 'notepad', I always get the old notepad.exe result first instead of the new store version. Same goes for teams and a bunch of other apps. Would really love to see this implemented, the last missing basic feature I think :)

+1

i also really need this, i have a vlc playlist called "all songs", i type "all" and only get uninstallation executables. i still want exact app matches to rate higher than files though, i just don't ever want to launch the uninstaller from powertoys.

Please allow us to remove the search term "uninstall" from PowerRun. Why would I want to these results and easily mis click.


Check bundle is up to date in unit-test

Signed-off-by: Tiger Kaovilai<EMAIL_ADDRESS>

/cherrypick oadp-1.2
/cherrypick oadp-1.1

/cherrypick oadp-1.1

/retest


wasm_runtime_full_init API call can cause segmentation fault

Compiler version: GNU 10.2.1
WASM version: 1.1.1
Problem Type: Segmentation Fault
Expected behaviour
WASM API call should not cause any segmentation fault even though on edge cases.
Actual behaviour
wasm_runtime_full_init API call can cause segmentation fault when its parameter set to nullptr.
Steps to reproduce the behaviour
RuntimeInitArgs * args = nullptr;
if(!wasm_runtime_full_init(args))
{
   // Cannot reach here due to seg fault...
}

Cause segmentation fault which required to check whether parameter object has valid address or not before using its members.

wasm_runtime_full_init API call can cause segmentation fault when its parameter set to nullptr.

this behavior seems perfectly fine.

IMHO, it is not. It should be explicitly declared in the API documentation, the API call parameter must be allocated before API call executed and its address must be valid and accessible. If this information was not provided, how user could know that who is responsible for the memory management? Maybe, it is allocated by itself inside the API call?
Also, API call should not cause any segmentation fault at least it should be guaranteed by "design by contract".


[T2A4][T17-A3]Chia Zhe Min

Ready for review

Remember to use spaces instead of tabs for source code indentation. This is because tabs are represented differently on different operating systems, resulting in poorly indennted code. Search online on how to convert tabs to spaces using eclipse.


Add some options we use elsewhere to these tests

@aaomidi what's the thinking with this stale PR?  Do we still want to make this change or should we close this PR?

I think we can close this out.


Potentially unhandled rejection in Internet Explorer 10 (ie10)

Hi there, I'm trying to load a css file from a js file like this:
require('./styles/main.css!');
It works fine everywhere, except on IE10, it throws this error and I cant figure out why:
Potentially unhandled rejection [7] Error: Invalid argument.
	   at Anonymous function (eval code:69:7)
	   at init (http://<IP_ADDRESS>:3000/jspm_packages/system-polyfills.src.js:382:5)
	   at Promise (http://<IP_ADDRESS>:3000/jspm_packages/system-polyfills.src.js:370:4)
	   at loadCSS (eval code:40:5)
	   at fetch (eval code:86:5)
	   at tryCatchReject (http://<IP_ADDRESS>:3000/jspm_packages/system-polyfills.src.js:1188:5)
	   at runContinuation1 (http://<IP_ADDRESS>:3000/jspm_packages/system-polyfills.src.js:1147:4)
	Error loading<EMAIL_ADDRESS>
I imported the polyfills for Promise and URL.
If you could point me on the right direction, thanks!

The error above is throwing on this line - https://github.com/systemjs/plugin-css/blob/master/css.js#L69.
I guess you could add a console.log there to see if console.log(head), console.log(link) and console.log(existingLinks[0]) are all properly defined.
Perhaps the existingLinks[0] being undefined is the issue, and we need to branch into an appendChild there, I'm not sure though without further testing.

Hi guy, thanks for the help. I understand this is not a priority whatsoever.
I added that and this is what is printing:
 head: [object HTMLHeadElement]
 link: [object HTMLLinkElement]
 existingLinks[0]: undefined

I was able to debug it a bit more, and it seems that when there is no other links added, existingLinks is empty, so when it tries to get the first one  existingLinks[0] explotes.
I seems that the solution would be to decide where to insert this new link, since there is no existing ones.
Maybe this part  head.insertBefore(link, existingLinks[0]); should change. Or maybe the part where you search for the existing links function findExistingCSS(url) , so if its empty you could search for any other link, just to insert it after the last one, or maybe just at the end. I dont know which would be better.
Let me know what you think and maybe I can try to contribute on this one.
thanks!

I'd be happy to update to the following if it works for you:
if (existingLinks.length)
  head.insertBefore(link, existingLinks[0]);
else
  head.appendChild(link);

yeah great. If you want I can do it too. Let me know
thanks

Sure, added in https://github.com/systemjs/plugin-css/commit/be718d9726c621b88c5619063adc0d36294947fe.

How soon will this be released, I need this fix in the next few days and it would be nice to just pull in the latest official version. Thanks for the work!

I've posted out a release.


November analytics

@mcharg I think these are good to go, could you take a look?
https://github.com/ONRR/blog-nrrd/wiki/Analytics

I'm not going to have time to get to this today.  Will look at it Monday.

@daniel-coleman-1 The spreadsheet on OneDrive isn't updated - the November column is blank.  Did you save the updated version locally on your computer?  Please update the one on OneDrive, so I can review.

@daniel-coleman-1 I think your page view counts are off.  I'm seeing 376 for the transition to management post and you only have 222.

@daniel-coleman-1 The numbers also appear to be off for referrers.  I'm seeing 142 for direct for the transition to management post, but you have 172.

@mcharg Dan wasn't able to pull the analytics with the instructions on the wiki so I'm moving this to next sprint. @daniel-coleman-1 since Shannon has walked through this process before,  can you please specify in the issue which steps of the instructions you're having trouble with so we can make updates to them?

https://github.com/ONRR/blog-nrrd/wiki/Analytics-Templates-&-Instructions

I think building in steps to the instruction for what we're doing in excel would help.  Cleaning data by Filter data, find and replace to remove items, changing date source in pivot table, edit terms in Referrers, manually transfer page views to referrers chart.  They're all steps I have in my notes but a more detailed list of steps would be helpful.

@daniel-coleman-1 the steps you're describing are mainly using excel and excel formatting that don't need to be detailed in the wiki.  It looks like you were able to pull the analytics before and might've had the wrong dates, if you have the data in the one drive excel file then we can meet to walk through any excel formatting issues.

@daniel-coleman-1 I'm reassigning this issue to @mcharg since it's been open for a while and we need to do Dec analytics as well. @mcharg please review the written instruction on the wiki while performing this task to evaluate if any more details are needed.

@daniel-coleman-1 For page views, you didn't copy the after 1st 4 weeks column to the formatted page views sheet, so the numbers didn't get updated.

I added a sentence to the wiki instructions to clarify that.

@daniel-coleman-1 None of the November numbers for referrers are in the spreadsheet on OneDrive, so I can't figure out what went wrong.  I know we went through it together.  Did you not save the work we did?

These are done.
@Maroyafaied Do you want to review the changes I made to the instructions?  Since I've now done them 3 times in the last few weeks (twice with Daniel, which he didn't save, and once again by myself) I think I'm too close to it to determine how useful they are.
https://github.com/ONRR/blog-nrrd/wiki/Analytics-Templates-&-Instructions

@Maroyafaied I also upped the estimate on this to account for all the time I spent showing Daniel how to do this.


Fix deadlock issue in Conpty drop implementation

Fixes #3042
I also refactored some of the differences between winpty / conpty at the same time - resulting in more uniform interfaces and less code overall. Also got rid of the lifetime on the Pty type 😄

First one is about the change to the conout and conin fields. It seems
like previously in the mod.rs we didn't have to worry much about ConPTY or
WinPTY and we could just have indepedent conout and conin fields. However
you've changed this and now we have to match over ConPTY and WinPTY
everywhere. What was the motivation behind this?

The motivation is also the answer to your second question! Moving the
conout and conin fields around like this resolves the deadlock.
To be specific, I found after a bit of playing around that if the io pipes
were dropped at the same time as the Conpty then the API call didn't
deadlock. So I moved them into the Conpty struct so the interface
expressed this constraint. I'll add comments in the code.
On Sun, 1 Dec 2019, 02:45 Christian Duerr<EMAIL_ADDRESS>wrote:

@chrisduerr requested changes on this pull request.
Thanks for the PR, there are two major questions I have regarding this PR.
First one is about the change to the conout and conin fields. It seems
like previously in the mod.rs we didn't have to worry much about ConPTY
or WinPTY and we could just have indepedent conout and conin fields.
However you've changed this and now we have to match over ConPTY and
WinPTY everywhere. What was the motivation behind this?
The other question is about which part of this exactly fixed #3042
https://github.com/jwilm/alacritty/issues/3042? There is so much stuff
just moved around that it's not immediately obvious to me which of the
changes were an attempt at refactoring code and which ones are about
actually fixing a bug.
In alacritty_terminal/src/tty/windows/winpty.rs
https://github.com/jwilm/alacritty/pull/3054#discussion_r352304246:

+impl OnResize for WinptyResizeHandle {

fn on_resize(&mut self, size: &SizeInfo) {

   let (cols, lines) = (size.cols().0, size.lines().0);

   if cols > 0 && cols <= u16::MAX as usize && lines > 0 && lines <= u16::MAX as usize {

       let winpty: &mut Winpty = unsafe {

           // This transmute is actually thread-safe since Winpty uses a mutex internally.

           std::mem::transmute(&self.winpty as *const _ as *mut Winpty)

       };

       winpty

           .set_size(cols as u16, lines as u16)

           .unwrap_or_else(|_| info!("Unable to set winpty size, did it die?"));

Why do we need two WinPTY OnResize handlers?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jwilm/alacritty/pull/3054?email_source=notifications&email_token=AAOZPIUKIRKQJB2MZ3EAN43QWLJYRA5CNFSM4JTDUEJ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCNO3LGQ#pullrequestreview-324908442,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOZPIS5VFVRBV73KCIXE4LQWLJYRANCNFSM4JTDUEJQ
.

To be specific, I found after a bit of playing around that if the io pipes
were dropped at the same time as the Conpty then the API call didn't
deadlock. So I moved them into the Conpty struct so the interface
expressed this constraint. I'll add comments in the code.

Can't we just fix this is the drop implementation?

Can't we just fix this is the drop implementation?

TLDR; not quite, the problem was that the Conpty drop implemention causing the deadlock needs the i/o pipes to be dropped at the same time. The i/o pipes were not part of the struct, so this requirement of the Conpty interface was not being enforced. The correct solution in my eyes was to move the i/o pipes into the Conpty struct so that they necessarily had to be dropped at the same time.

The problem with the original code was that the ConptyHandle, which both the Pty and resize handles used, was an Arc<Conpty>. This meant that the Conpty drop implementation (i.e. the deadlocking ClosePseudoConsole call) would only run when second of these Arc<Conpty> pointers was dropped.
On 0.3.3 and before we appear to have been lucky in that the drop order was resize handle first, then Pty. The meant the i/o pipes were dropped at the same time as the Conpty, and thus no deadlock. On master, this order has switched, and now the Pty is dropped (and with it the i/o pipes) long before the resize handle drops. When the resize handle finally drops, the Arc<Conpty> also drops, meaning the ClosePseudoConsole API call is fired, and we get the deadlock.
I could have written a one-line fix in main.rs by explicitly dropping the resize handle before the Pty. But this felt like a hackjob given that the code at fault is the original Conpty drop implementation I wrote.
So, to ensure that the i/o pipes drop at the same time as ClosePseudoConsole is called, I moved the i/o pipes from the Pty struct to the Conpty struct.
I then decided to do the same for Winpty so that the code paths looked as similar as possible. The new code has match in a bunch of places, yes, but the old code also had a lot of uses of match. The difference is that the old code had two EventedWritablePipe and EventedReadablePipe enums, inside which all the matching was occuring to select the Winpty and Conpty code paths.
In the new code, I didn't need those two types and threw them away. The match uses are now inside the Pty impl to explicitly choose between Winpty and Conpty code paths where needed. I think if we ever decide to remove the Winpty implementation, it will be easier to do so with the code now structured in the way it is in this PR. (The change would simply require using Conpty directly instead of the new PtyInner enum in the Pty type, and deleting all the Winpty match arms.)
The new refactored code is also about 50 lines shorter than the old code 😃

I think if we ever decide to remove the Winpty implementation, it will be easier to do so with the code now structured in the way it is in this PR.

I'm not sure how true this is, because we now need to modify a lot of things in the windows/mod.rs when we want to remove WinPTY, because it is used everywhere. Ideally the PTY itself would be generic and we wouldn't have to care which one it is and instead just use dynamic dispatch to let rust handle that for us at runtime. Then we could just delete the WinPTY module with basically no changes to windows/mod.rs and everything should basically still work. At least that's the architecture I'd have chosen.
I'll take another look at the PR though and get back to you with concrete feedback. I'll have to re-read it with your comments in mind.

Ideally the PTY itself would be generic and we wouldn't have to care which one it is and instead just use dynamic dispatch to let rust handle that for us at runtime.

I'd be more than happy to modify this PR to use dynamic dispatch. It uses static dispatch because when I was writing the original ConPTY implementation that's what I was instructed to do (I think zacps wanted, perhaps?).
Give me a day or two to find a moment to change this PR to dynamic dispatch :smile:

I've now pushed a commit adding dynamic dispatch to the code paths choosing between WinPTY and conpty.
It works by adding a file dynamic.rs which adds an extension trait IntoDynamicPty which can turn a statically-dispatched Pty<Winpty> or a Pty<Conpty> into a type-erased Pty<DynPty>.
This design should make it very easy in the future to strip out the WinPTY stuff and end up just using a statically-dispatched Pty<Conpty>.

No worries, that makes total sense. I'll find some time to rewrite this within the next few days.

Looks like a few refactors are up in another PR (#3054) now too.

Oops, well that is what I get for sitting on a patch too long. I certainly don't want to further complicate what is going on here, would it be better for me to pull it or simply fix it after this one merges?

@sterlingjensen given that this PR needs to be reworked anyway I wouldn't worry about your PR. It's a non-functional change so I expect we can review and merge it rather quickly (I skimmed it tonight, and it seemed pretty straightforward).
I'm mostly bringing it up here so that @davidhewitt doesn't get blindsided by a merge conflict.

I've opened a cleaned-up version of the original static dispatch design as #3074. I've left this one open as a different branch so that we can revisit this design if we decide we'd rather have dynamic dispatch after all. I can see ways to simplify/remove dynamic.rs if we want to just move over entirely to dynamic dispatch. In the current design of this PR I had wanted to keep the option for static dispatch open.

Closing this one as I think we're finally settling on a design which will be merged. (#3084)


Inject object instance for each return type.

I have a query that returns a union.   In my case I have two classes, Organization and User, which extend Account.    When I do a query I have to return the base class in my mutation and query objects when I would prefer to have returned the Organization and User objects directly.  This would then allow me to be able to use the instanceof operator.
Is it possible to inject what object instance I would like to use for each of the returned values?
If not, it would be great if there was some kind of factory function that let you return whatever object instance you want based on the incoming data.   For example, I could read the __typename and then return the corresponding instance.
Alternatively, is there another preferred way of handling this?

Could you give an example in code because I'm not sure how Apollo itself should do something about it. I don't understand how instanceof has something to do with GraphQL.


Response to #2

allows overriding mechanize parameters with optional kwargs to KindleHighlights::Client.new
use abort to fail gracefully if NoMethodError raised due to CAPTCHA page

:+1:
Works for me, thanks!  I use Chrome on a mac so using this code fixed the issue for me:
kindle =<EMAIL_ADDRESS>"topsecretpw", user_agent_alias:'Mac Safari')

You may be right, though I'd be surprised if randomization solves it. It depends on whether Amazon is trying to filter for phishing bots or another kind of bot.
In terms of the captcha logic, 2 thoughts.

right now I actually think when Amazon serves a captcha the user should manually fix it; after all, if the intention is to prove the user isn't a bot, then let the human finish the proof. If instead of a captcha Amazon says, please call this number, then the user should call that number. Maybe we can discuss how to make the error handler pluggable?
after the fix, I don't get a captcha anymore, so I can't test the captcha form, and I'm disinclined to test the boundaries of the anomaly detection.

@whacked I've taken a shot at addressing this and other concerns in https://github.com/speric/kindle-highlights/pull/7
What do you think?
@Sirupsen you mentioned:

extract the captcha image and await user input to put the value in the text field.

Any idea how to accomplish that with mechanize?

@speric looks like a superset of functionality, so let's drop this PR and continue in #7


Combine Qwickly and Qwicker into single repo/package

This will need some renaming, perhaps

Qwickly/NIOR formerly Qwickly (Mod B)
Qwickly/NIRO formerly Qwicker (Mod R)
Qwickly/NIRO (Mod H) formerly Qwicker (Mod H)

The Qwickly/Qwicker layouts have been combined into the repo Qwickly.
A new repo name, QwickSteps has transitional layouts for learning from Qwerty.


Add simple easing functions

@bryphe
Progress update:

Test in AnimationTest.re does not actually change any of the other tests, only adds the quadratic one. I went back and checked this twice myself.

oneDimBezier alone is not enough to fully recreate the variety of css easing functions, but I'm 98% certain that a true bezier cubic could be made using [x,y] as a pair of oneDimBezier, then some math, then we can copy every CSS easing function offered.

New PR to get this all off of master and on to a feature branch :)

Looks great @Bretley , thank you! Will bring it once the build completes 👍


Invalid Session ID found in SessionHeader

I am getting this error when I try to call the describeMetadata method, my salesforce instance has a custom domain.

How are you setting the session ID? From what context? Trigger, Visualforce, Lightning?

when I call the init method of the class MetadataRetrieveController

Ok have you taken a look at the trouble shooting section in the README file?

yes, I couldn't found nothing related to the issue

Ok these are known issues that effect Session Id. https://github.com/financialforcedev/apex-mdapi#known-issues-and-resolutions . Are you running in a Lightning Component or Visualforce page? What settings under Session configuration under Setup have you got. Can you also confirm that you are assigning the Session ID member.

@angellocamacho please comment further if you are still having issues here.


Storyboard support?

Hi, im trying to use the controller with storyboards, but doesnt work, i set the custom class to the cell, and set delegate protocol but nothing happens, i debug a little but the expandabletableview property on the cell is always nil.. Any suggestion?

Did you test it with storyboard?

is it supported with storyboard ?, i am doing the same but nothing happens

Don't use the prototype cell, it will work fine


allow multidelegation keys

No difference in UI treatment between keys with index 0 and more than 0, as discussed with IOG and others.

https://github.com/LedgerHQ/app-cardano/pull/53 should be processed before this.


Allow PDF page to be imported using image block macro

Allow a PDF page to be imported into the document if the target of the image block macro is a PDF document.
The limitations are that only one page can be imported (though maybe in the future we can specify a range) and that there is a page break before and after the inserted page (meaning it literally inserts a page at the current cursor position).

See #1202 for the ability to control the page being imported (and thus being able to import multiple pages from the same PDF file).


Moving all fonts in the webb-ui-kit

Summary of changes

Moving all fonts and styles in webb-ui-kit for consistency.
Adding additional variants for the marketing sites to the Typography component.
Replace Headings and SubHeadings components by Typography component in the webbsite app.

Proposed area of change
Put an x in the boxes that apply.

[ ] apps/bridge-dapp
[ ] apps/stats-dapp
[x] apps/webbsite
[x] libs/webb-ui-components

This LGTM but please address CI and conflicts.


Make site selector more visible

Site selector is hard to find, it's located at the bottom/end of the left sidebar. We should move it another place to make it more visible.

Closing as duplicate of #148.


BUG: [jax2tf] None of the tests in shape_poly_test.py are ran for enable_xla=False

Description
In shape_poly_test.py, we use the function _make_harness to create a test harness. If flag enable_and_disable_xla=True, we create two harnesses recursively, one with argument enable_xla=True and one with enable_xla=False here. This will be passed on to _make_harness in the kwargs argument **params. However, this argument is never forwarded when constructing the Harness here. As a result, we currently create two harnesses, both with enable_xla=True.
What jax/jaxlib version are you using?
No response
Which accelerator(s) are you using?
No response
Additional System Info
No response

@gnecula FYI


Rename to Palette and Pallet terms

[x] Update Github Substrate Master Links

[x] Update Reference Docs Links

[ ] Update known direct replacements (SRML -> Substrate Pallete, SRML Contracts module -> Contracts pallet)

[ ] A final hand rename of in sentence terms

Step 1 addressed with: https://github.com/substrate-developer-hub/substrate-developer-hub.github.io/pull/338

Step 2 addressed with: https://github.com/substrate-developer-hub/substrate-developer-hub.github.io/pull/340

Some thoughts about docs/conceptual/runtime/srml.md for step 4, copied from https://github.com/substrate-developer-hub/substrate-developer-hub.github.io/pull/344#discussion_r356963924

Rename the entire file
Rename all the headers eg System Module -> System Pallet
rename srml -> ?? (brought this up on riot chat)

And @joepetrowski's suggestion for the former SRML article intro
---
title: FRAME (whatever the acronym is)
---
FRAME is a set of modules (called _pallets_) and support libraries that simplify runtime development. Pallets are individual modules within FRAME that host domain-specific logic.

FRAME provides some helper modules to interact with Substrate Primitives, namely Executive, Metadata, Support, System, and Utility. Any module that uses these `frame-*` helper modules is a pallet. Parity develops and maintains
a set of these, but they can come from the community as well.

If you don't want to use the FRAME helpers, you can still write your own interfaces to interact with the Substrate client and implement your custom runtime.


Terminating app due to uncaught exception 'NSInternalInconsistencyException'

Hello, I got this issue when reading video and its sub:
"Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSDictionaryOfVariableBindings failed because either one of the values is nil, or there's something wrong with the way the macro is being invoked.  Cannot assign value nil for key "weakSubtitleLabel". Keys:(
weakSubtitleLabel
)'"
I created this subtitle by following:
[self.item.srtSubtitle writeToFile:srtSubPath atomically:YES encoding:NSUTF8StringEncoding error:&error];
The video and its sub can be downloaded here: https://www.dropbox.com/sh/zgmxujxerydhz9q/AAAlQp7sAMW2_ISJwZ9NO47Xa?dl=0#
I've been trying to create the sub with different encoding like: NSUTF8StringEncoding, NSISOLatin1StringEncoding but no luck.
Please help me. Thank you.

@tuanbs I tried and works correctly. Please, download last version from Github an try again.


Travis failures due to SDK mismatch

In PR #34 the line buildToolsVersion '27.0.3' was removed from https://github.com/blockchain-certificates/wallet-android/blob/1ac0820d5b198b22501b9f3ec0898f9e629e62b7/LearningMachine/app/build.gradle#L4-L5 without updating the Android SDK tools in .travis.yml. This is causing at least some of the travis failures.

Fixed for Travis runs. Tests still fail, possibly from https://github.com/blockchain-certificates/wallet-android/commit/f6c231bc7b0f4ec582beead367d12ce0d8ee33cb#diff-629dc101a7fa1b03174c1fe63986bf4eL122


Add APIs (GET/PUT) to decommission awareness attribute

Description
As part of #3917 to decommission a zone, this PR adds API layer to decommission an awareness attribute. This PR adds hook to the service layer changes introduced as part of this #4084
Issues Resolved
#3639
#3953
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Please fix the build.

Changes look good. Build is failing. Please fix it.

Thanks @imRishN . Changes looks good .

Codecov Report

Merging #4261 (4aa3790) into main (2fe6f9a) will increase coverage by 0.01%.
The diff coverage is 49.69%.

:exclamation: Current head 4aa3790 differs from pull request most recent head 534a3de. Consider uploading reports for the commit 534a3de to get more accurate results

@@             Coverage Diff              @@
##               main    #4261      +/-   ##
============================================
+ Coverage     70.64%   70.65%   +0.01%
- Complexity    57532    57594      +62
============================================
  Files          4642     4654      +12
  Lines        276785   276948     +163
  Branches      40501    40521      +20
============================================
+ Hits         195533   195690     +157
+ Misses        64867    64865       -2
- Partials      16385    16393       +8

Impacted Files
Coverage Δ

...ion/awareness/get/GetDecommissionStateRequest.java
0.00% <0.00%> (ø)

...reness/get/GetDecommissionStateRequestBuilder.java
0.00% <0.00%> (ø)

...sion/awareness/put/DecommissionRequestBuilder.java
0.00% <0.00%> (ø)

.../org/opensearch/client/support/AbstractClient.java
33.49% <0.00%> (-0.67%)
:arrow_down:

...nsearch/cluster/coordination/JoinTaskExecutor.java
77.77% <0.00%> (+3.70%)
:arrow_up:

...arch/cluster/decommission/DecommissionService.java
23.40% <0.00%> (+0.94%)
:arrow_up:

...eness/get/TransportGetDecommissionStateAction.java
25.00% <25.00%> (ø)

...on/awareness/get/GetDecommissionStateResponse.java
44.77% <44.77%> (ø)

...ion/awareness/put/TransportDecommissionAction.java
50.00% <50.00%> (ø)

.../src/main/java/org/opensearch/client/Requests.java
46.15% <50.00%> (+0.15%)
:arrow_up:

... and 489 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Compare instruction can't be compiled when meeting inf

Hi, I noticed that fast-jit will throw compilation failed when meeting inf in compare instruction like f64.le.
Test Case
(module
  (type (;0;) (func (param i32)))
  (type (;1;) (func))
  (type (;2;) (func (result i32)))
  (type (;3;) (func (param i32) (result i32)))
  (import "wasi_snapshot_preview1" "proc_exit" (func (;0;) (type 0)))
  (func (;1;) (type 1)
    i32.const 0
    call 2
    drop
    nop)
  (func (;2;) (type 3) (param i32) (result i32)
    (local f64)
    f64.const inf (;=inf;)
    f64.const 1.05 (;=inf;)
    f64.le)
  (table (;0;) 2 2 funcref)
  (memory (;0;) 256 256)
  (global (;0;) (mut i32) (i32.const 66576))
  (global (;1;) (mut i32) (i32.const 66576))
  (export "memory" (memory 0))
  (export "__indirect_function_table" (table 0))
  (export "_start" (func 1))
  (elem (;0;) (i32.const 1) func 1)
  (data (;0;) (i32.const 1024) "5\89v"))

case.zip
Result

By the way, I think maybe wamr should not return code 0 when meeting compilation failed exception.

@unicornt thanks for reporting the issue! Please try #2718.

Yes, it really works. Thank you for the reply!


Spectra Enhancing

Refactoring and improving quality of plots.
There's now a slider which allows the user to normalise the plot wherever (accounting for off-edge effects).
Also added the feature labels, courtesy of the original splat codes.

I like the normalization functionality. The features labels not that much, particularly since some of the code looks like it can break.


[KEYCLOAK-13691] Replace string concatination with MergeUri, using url.Parse()

I'm currently looking at the difference between --base-uri and --redirection-url, and this makes me think that "we're doing it wrong" - and so am going to close this pr for now..


Beam Enrich: split EnrichWithLocalFileSpec test into two

This test currently tests two things at the same time:

that we can successfully download and use the latest version of the Maxmind DB for IP lookups from the hosted-assets bucket;
that the enrichment produces the expected output.

However, when a new version of the DB is uploaded to hosted-assets, this test can start failing because the data points associated with the hardcoded IP address in it might have changed.
It will be better to split this into two tests. One will test the download works as expected. The other one will use the same DB file every time, eliminating the need to re-write the test every so often.

https://github.com/snowplow/snowplow/issues/4129#issuecomment-527397799

Moved: https://github.com/snowplow/beam-enrich/issues/23


use unittest2 instead of unittest

The unit tests for sample_application2 use just 'unittest' which doesn't support 'discover'

What do you mean by doesn't support 'discover'? These changes require adding unittest2 to requirements.txt (see the build failure); what are some advantages that justify adding that as a dependency?

I meant
suite = unittest.TestLoader().discover('unittests')
will fail, but
suite = unittest2.TestLoader().discover('unittests')
works, at least that was my experience.

Could this be related to your local python version? The tests (including the snippet you pasted above) pass on 2.7.

I thought we developed under 2.6 still. Python 2.7 is news to me :-)

Nope, there no need to support 2.6 AFAIK. Closing.


Improve the content of default-config.cfg

Overview
Try to improve the documentation and the content of default-config.cfg to help users.
Related Issue / Discussion
Additional Information
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[x] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[x] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

coverage: 84.061%. remained the same
when pulling 7f339187adc05ab0af6a7d69fffc8d47965d134f on gschwind:pr-improve-default-config
into 31bf4121730a25d1ecb1cc1a620e9828bdae487f on geopython:main.


🎉💥 Refactor credentials handling and directory creation! 💥🎉

Changed import statement in generate_credentials.py to import config from app instead of the current directory. This aligns with our app structure! 🏗
Updated os.makedirs calls in main.py to correctly create the parent directory instead of using the full path, ensuring our file structure is clean and organized! 📂✨
This refactor allows for better code organization and clarity, making it easier to manage settings across modules. It's all about that modular goodness, baby! 🥳

Summary by Sourcery
Refactor credentials handling by updating import statements and directory creation logic to enhance code organization and clarity.
Enhancements:

Refactor directory creation in main.py to use the parent directory path, improving file structure organization.

Summary by CodeRabbit

Chores

Improved the organization of module imports in the credential generation process.
Enhanced directory creation logic to ensure robustness and prevent errors related to existing paths.

Thanks!  I merged these in here
https://github.com/KristopherKubicki/glimpser/commit/f712967320e6c8a250958ac44b9754bd6f565be1


1.7

Anyone noticing that in 1.7 HomeBridge hangs when viewing a Dyson-Link accessory?

Same here. Intermittent “no response” from my dyson fans. Other devices on the same homebridge setup not experiencing the same.
I suspect this is something happening on the dyson link server end. Not sure of course, but my iOS dyson link app has been updated quite a few times in the passed month or so.

Its weird because I see the responses in the Homebridge CLI, but when actually using the app.  Crash city and "no responses"

Could just be a problem in the Home.app itself.
What iOS version are you on?
I’m on 11.3 beta 4, so can’t really be sure it’s not my version of Home.app

I've tested a few versions... This problem specifically happened when I updated to 1.7 and updated NPM.


Error trying to call function .fetchSockets(): timeout reached: only 4 responses received out of 5

I am facing an error when fetching sockets with the .fetchSockets function. I'm using cluster-adapter + sticky + pm2 to manage workers.
Code snippet that calls the fetchSockets() function:
const sockets= await io
          .in(`${plataform}-${client}`)
          .fetchSockets();

//In other line
const sockets = (
          await io
            .in(`${plataform}-${client}-${userId}`)
            .fetchSockets()
        )[0];
```
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: timeout reached: only 4 responses received out of 5
at Timeout._onTimeout (/opt/server/node_modules/@socket.io/cluster-adapter/dist/index.js:358:28)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)

I've already tried everything. Furthermore, I already put a try catch around this promise

This might happen if one worker gets killed. In that case, you can simply retry:
const MAX_CALLS = 3

async function fetchSockets() {
  for (let i = 0; i < MAX_CALLS; i++) {
    try {
      return await io.fetchSockets();
    } catch (e) {
      // let's retry
    }
  }
  throw "too many errors";
}

Could implementing this help with the error?

Yes, it should handle the case when a worker suddenly dies.

Also, before this error I was facing connection timeout problem and 100% CPU
however, in scenarios with many simultaneous connections the application starts to trigger "timeout" errors to the client

How many simultaneous connections?
See also: https://socket.io/docs/v4/performance-tuning/#at-the-os-level

I implemented these things you gave me in this link, however, not much changed. According to the surveys I carried out, I had more than 2000 connections on socket.io, with several rooms and events, because application is multitenant.

Can you help me?
I went back and made a simple script to test Socket.io with load testing with Artillery and get same error. When calling fetchSockets function.
const cluster = require("cluster");
const http = require("http");
const { Server } = require("socket.io");
const numCPUs = require("os").cpus().length;
const { setupMaster, setupWorker } = require("@socket.io/sticky");
const { createAdapter } = require("@socket.io/mongo-adapter");
const { MongoClient } = require("mongodb");

const DB = "mydb";
const COLLECTION = "socket.io-adapter-events";

async function main() {
  if (cluster.isMaster) {
    console.log(`Master ${process.pid} is running on port 3000`);

    const httpServer = http.createServer();

    setupMaster(httpServer, {
      loadBalancingMethod: "least-connection",
    });

    httpServer.listen(3000);

    for (let i = 0; i < numCPUs; i++) {
      cluster.fork();
    }

    cluster.on("exit", (worker) => {
      console.log(`Worker ${worker.process.pid} died`);
      cluster.fork();
    });
  } else {

    console.log(`Worker ${process.pid} started`);
    // const mongoClient = new MongoClient("mongodb://localhost:27017/?replicaSet=rs0");
    const mongoClient = new MongoClient("mongodb://localhost:27017/?directConnection=true");
    await mongoClient.connect();
    try {
      await mongoClient.db(DB).createCollection(COLLECTION, {
        capped: true,
        size: 1e6
      });
    } catch (e) {
      console.log("COLLECTION ALREADY EXISTS")
    }
    const mongoCollection = mongoClient.db(DB).collection(COLLECTION);

    const httpServer = http.createServer();
    const io = new Server(httpServer);

    io.adapter(createAdapter(mongoCollection));
    setupWorker(io)

    io.engine.on("connection", (rawSocket) => {
      rawSocket.request = null;
    });

    io.on('connection', async (socket) => {

      console.log('Novo cliente conectado:', socket.id);

      socket.join(`-tenant-${socket.id}`)
      socket.emit(`-tenant-${socket.id}`, "ola")
      socket.join(`-electron-${socket.id}`)
      socket.join(`-teams-${socket.id}`)
      try {
        const electronSockets = await io.in(`-tenant-${socket.id}`).fetchSockets();
        socket.emit(electronSockets.toString());
      } catch (error) {
        console.log("==============================> JA ERA CAIU")
      }

      io.in(`${socket.id}-teste`).emit("hello")

      socket.on('chat message', (msg) => {
        console.log('Mensagem recebida:', msg);
        io.emit('chat message', msg);
        io.emit('teste', msg)
      });

      socket.on('disconnect', () => {
        console.log('Cliente desconectado:', socket.id);
      });
    });

    io.engine.on("connection_error", (error) => {
      console.log("=========================> ERRO ", error.message)
    });
  }
}

main();

This is my file of Artillery:

`yaml
config:
  target: "http://ipaddress:3000"
  phases:
    - duration: 5
      arrivalRate: 10000
  socketio:
    transports: ["websocket"]

scenarios:
  - name: "Simular conexões e eventos"
    engine: socketio
    flow:
        - think: "2"
        - emit:
            channel: "chat message"
            data: "Henrriky"
        - think: 10
        - emit:
            channel: "join"
            data: "test"

Artillery faces several timeout errors and most of the time the fetchSockets problem occurs
The machine has 16 CPU cores and 16 GB of RAM. I have already changed the operating system limits in the performance guide

I'm facing the same issue. I'm able to reproduce it with this script. I set the number of clients to 5000.
Is there any fix for this?

I'm facing the same issue. I'm able to reproduce it with this script. I set the number of clients to 5000.
Is there any fix for this?

I solve this migrating the source code to Socketioxide of RUST

I solve this migrating the source code to Socketioxide of RUST
Are there APIs like fetchSockets to handle clustering or are you running it as a single instance?

I solve this migrating the source code to Socketioxide of RUST

Are there APIs like fetchSockets to handle clustering or are you running it as a single instance?

Single instance

aa


get installation id fails with ERR_OSSL_PEM_NO_START_LINE

Hi
I'm trying to run node getinstallationid.js and get the following error
Error: error:0909006C:PEM routines:get_name:no start line
    at Sign.sign (internal/crypto/sig.js:110:29)
    at Object.sign (/github-action-dashboard/node_modules/jwa/index.js:152:45)
    at Object.jwsSign [as sign] (/github-action-dashboard/node_modules/jws/lib/sign-stream.js:32:24)
    at Object.module.exports [as sign] (/github-action-dashboard/node_modules/jsonwebtoken/sign.js:204:16)
    at getToken (/github-action-dashboard/node_modules/universal-github-app-jwt/dist-node/index.js:13:23)
    at Object.githubAppJwt (/github-action-dashboard/node_modules/universal-github-app-jwt/dist-node/index.js:35:23)
    at getAppAuthentication (/github-action-dashboard/node_modules/@octokit/auth-app/dist-node/index.js:19:57)
    at hook (/github-action-dashboard/node_modules/@octokit/auth-app/dist-node/index.js:395:15)
    at /github-action-dashboard/node_modules/@octokit/plugin-request-log/dist-node/index.js:18:12
    at /github-action-dashboard/node_modules/before-after-hook/lib/register.js:25:15 {
  library: 'PEM routines',
  function: 'get_name',
  reason: 'no start line',
  code: 'ERR_OSSL_PEM_NO_START_LINE'
}

I did base64 encode the private key with base64 -w0 (i.e. one line).
Any ideas on what I might be doing wrong?

Actually it seems you can get the Installation ID from GitHub UI.
Just go to Settings -> Installed GitHub Apps -> Configure (the action dasboard). Then in the URL, the digits after last slash is your Installation ID.

That is a great tip!  Thanks!

getinstallationid.js still doesn't work which was the main reason I opened this issue. The tip is just a different way to get the installation id.

have you figured out why its not working?

i have the same problem too

Actually it seems you can get the Installation ID from GitHub UI.
Just go to Settings -> Installed GitHub Apps -> Configure (the action dasboard). Then in the URL, the digits after last slash is your Installation ID.

this works

Fixed and added your tip...


Flutter Web: google map custom marker error: [NoSuchMethodError: invalid member on null: 'buffer']

Hi, i am experiencing the same issue when running flutter run web --web-renderer html but if i am using flutter run web it's working fine. So i am reoponing the issue #73130
So here you go:
Flutter Doctor -v:
Flutter Doctor

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.3, on Linux, locale en_US.UTF-8)
    • Flutter version 2.0.3 at /home/idelub/Development/flutter
    • Framework revision 4d7946a68d (7 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /home/idelub/Android/Sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/google-chrome-stable

[✓] Android Studio (version 4.0)
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2)
    • IntelliJ at /opt/idea-IU-202.6397.94
    • Flutter plugin version 49.0.4
    • Dart plugin version 202.6397.47

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.150

• No issues found!

Error log

Error: Unhandled error NoSuchMethodError: invalid member on null: 'buffer' occurred in Instance of 'AnnouncementMarkersBloc'.
packages/hero/application/marker/announcement_markers_bloc.dart 200:66  getBytesFromAsset
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50      <fn>
dart-sdk/lib/async/zone.dart 1612:54                                    runUnary
dart-sdk/lib/async/future_impl.dart 152:18                              handleValue
dart-sdk/lib/async/future_impl.dart 704:44                              handleValueCallback
dart-sdk/lib/async/future_impl.dart 733:13                              _propagateToListeners
dart-sdk/lib/async/future_impl.dart 539:5                               [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 577:7                               callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                        _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                         _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 166:15     <fn>

    at Object.throw_ [as throw] (http://localhost:46739/dart_sdk.js:5334:11)
    at http://localhost:46739/packages/bloc/src/cubit.dart.lib.js:122:21
    at announcement_markers_bloc.AnnouncementMarkersBloc.new.onError (http://localhost:46739/packages/bloc/src/cubit.dart.lib.js:123:27)
    at announcement_markers_bloc.AnnouncementMarkersBloc.new.onError (http://localhost:46739/packages/bloc/src/cubit.dart.lib.js:261:15)
    at _RootZone.runBinaryGuarded (http://localhost:46739/dart_sdk.js:38832:11)
    at sendError (http://localhost:46739/dart_sdk.js:32448:26)
    at _ControllerSubscription.new.[_sendError] (http://localhost:46739/dart_sdk.js:32465:11)
    at _ControllerSubscription.new.[_addError] (http://localhost:46739/dart_sdk.js:32388:27)
    at _SyncStreamController.new.[_sendError] (http://localhost:46739/dart_sdk.js:35345:39)
    at _SyncStreamController.new.[_sendError] (http://localhost:46739/dart_sdk.js:35455:33)
    at _SyncStreamController.new.[_addError] (http://localhost:46739/dart_sdk.js:35157:27)
    at _RootZone.runBinaryGuarded (http://localhost:46739/dart_sdk.js:38832:11)
    at sendError (http://localhost:46739/dart_sdk.js:32448:26)
    at _ForwardingStreamSubscription.new.[_sendError] (http://localhost:46739/dart_sdk.js:32465:11)
    at _ForwardingStreamSubscription.new.[_addError] (http://localhost:46739/dart_sdk.js:32388:27)
    at _ForwardingStreamSubscription.new.[_addError] (http://localhost:46739/dart_sdk.js:36613:25)
    at _MapStream.new.[_handleError] (http://localhost:46739/dart_sdk.js:36567:24)
    at _ForwardingStreamSubscription.new.[_handleError] (http://localhost:46739/dart_sdk.js:36639:38)
    at _RootZone.runBinaryGuarded (http://localhost:46739/dart_sdk.js:38832:11)
    at sendError (http://localhost:46739/dart_sdk.js:32448:26)
    at _ControllerSubscription.new.[_sendError] (http://localhost:46739/dart_sdk.js:32465:11)
    at async._DelayedError.new.perform (http://localhost:46739/dart_sdk.js:35875:27)
    at _StreamImplEvents.new.handleNext (http://localhost:46739/dart_sdk.js:35957:15)
    at async._AsyncCallbackEntry.new.callback (http://localhost:46739/dart_sdk.js:35709:16)
    at Object._microtaskLoop (http://localhost:46739/dart_sdk.js:39176:13)
    at _startMicrotaskLoop (http://localhost:46739/dart_sdk.js:39182:13)
    at http://localhost:46739/dart_sdk.js:34689:9

Code Responsible for the Error:
CODE
if (getIt<CategoriesInjectable>().categories.isNotEmpty) {
               final Uint8List markerIcon = await getBytesFromAsset(
                   'assets/marker/${announce.icon}.png', 100);
               final sourceIcon = BitmapDescriptor.fromBytes(markerIcon);
               final pinInfo = AnnouncePinInformation(
                  pinPath: "assets/pin/${announce.icon}.png",
                   locationName: Categories.get(announce.type).title,
                   location:
                       LatLng(announce.point.latitude, announce.point.longitude),
                   announce: announce); // AnnouncePinInformation
               _markers.add(
                 Marker(
                   icon: sourceIcon,
                   markerId: MarkerId(announce.id.getOrCrash()),
                   position:
                      LatLng(announce.point.latitude, announce.point.longitude),
                  onTap: kIsWeb
                      ? null
                      : () => state.context
                       .bloc<MarkerSelectorBloc>()
                          .add(MarkerSelectorEvent.markerTapped(pinInfo)),
                ), // Marker
              );
    }

As mentionned earlier, when using the command line:
flutter run web

There is no error but i am using firebase storage, so to render the pictures from the storage i need the flag
--web-renderer html

p.s: Settings the cors with gsutil doesn't fix the error when trying to render the image stored in cloud storage

Hi @arnaudelub
Thanks for filing the issue
Can you please provide a minimal complete reproducible code sample?
Here I created a minimal runnable code sample to test the issue with the custom market on the web using the HTML renderer, there are no errors in the logs or chrome console
flutter run --web-renderer html -d chrome -v

code sample
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Google Maps Demo',
      home: MapSample(),
    );
  }
}

class MapSample extends StatefulWidget {
  @override
  State<MapSample> createState() => MapSampleState();
}

class MapSampleState extends State<MapSample> {
  Completer<GoogleMapController> _controller = Completer();
  List<Marker> _markers = <Marker>[];

  @override
  void initState() {
    super.initState();
    _markers.add(Marker(
        markerId: MarkerId('SomeId'),
        position: LatLng(38.123, 35.123),
        infoWindow: InfoWindow(title: 'The title of the marker')));
  }

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      body: GoogleMap(
        initialCameraPosition: CameraPosition(
          target: LatLng(38.9647, 35.2233),
          zoom: 9.0,
        ),
        mapType: MapType.normal,
        markers: Set<Marker>.of(_markers),
        onMapCreated: (GoogleMapController controller) {
          _controller.complete(controller);
        },
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.3, on macOS 11.2.3 20D91 darwin-x64, locale
    en-GB)
    • Flutter version 2.0.3 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 4d7946a68d (2 weeks ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.55.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E            • ios
      • iOS 14.4.2
    • iPhone 12 (mobile)     • 83060656-28E7-44CD-801E-B11EC3EC89BA • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64
      • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 89.0.4389.114

• No issues found!

Thank you

Thank you @TahaTesser for the answer, i just saw that i were using google_map_flutter_web: ^0.1.0 i will try again with the updated version of the plugin.
Thank you for your time!

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


[Feature Request] Support for fd.

fd  is cross platform and claims to be faster than find. In windows, powershell gci is too much slow in comparison to fd.

Thanks for your suggestion. The latest commit has added support for fd. Now fd will be used by default when it is installed.


chore(deps): update test site dependencies

Codecov Report

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

@@          Coverage Diff          @@
##           master     #7   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines          45     45
  Branches        8      8
=====================================
  Hits           45     45

Continue to review full report at Codecov.

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


Abstract remove

Current coverage is 94.89%

Merging #1146 into master will decrease coverage by -0.01% as of f6aa867

@@            master   #1146   diff @@
======================================
  Files           79      79
  Stmts         9178    9161    -17
  Branches      1707    1700     -7
  Methods          0       0
======================================
- Hit           8710    8693    -17
  Partial         91      91
  Missed         377     377

Review entire Coverage Diff as of f6aa867

Powered by Codecov. Updated on successful CI builds.


What type of support i will get once LTS period gets over for AngularJS 1.7.x

Hi Team,
Currently my application is running in AngularJS 1.7.x. What type of supports i will get once LTS period gets over (after June 30th 2021) for AngularJS 1.7.x. Do i really need to upgrade to Angular 7 and above.
Already LTS period got over for other versions like Angular 2 and Angular 4. So shall i expect some support for that versions too.

I'm not aware of what's gonna happen once LTS is over.
However, It's encouraged to not wait until then to move to Angular. It's a good idea to already take steps towards migration so you can use the latest and greates, which will eventualy benefit your application.

Hi @Kaliyani
When the AngularJS LTS period runs out there will be no more official support for AngularJS. That means that there will be no more releases of AngularJS: so no more features or bug fixes.
This does not mean that you must stop using AngularJS: it will continue to work for you as it does now. AngularJS has not received many new features in the last year or so. It is a very mature and stable product. As a consequence of that and the many many projects using it in production, the vast majority of bugs have been identified and fixed. Therefore it is unlikely that new bugs will be discovered during and after the LTS period.
Nor does it mean that you must upgrade to Angular: indeed many projects will never upgrade, they simply work as they are and do not need to be modified to use Angular. If you are actively developing your application, and you determine that AngularJS will not support your current or future requirements then that would be a good time to consider upgrading to Angular. If you do upgrade then there is no benefit in going through each of the Angular versions (2, 4, 5, 6, ...) - instead you would go straight to the current version (e.g. 7.2).


Call to undefined method PhpCsFixer\Config::create() in .php_cs.dist:8 - under Symfony and phpStorm

Support question
I use fixer (3.0.x-dev 7e343ed) in Symfony project using that file to run it under phpStorm: php-cs-fixer-symfony.bat
Lately I started to get following error:
Fatal error: Uncaught Error: Call to undefined method PhpCsFixer\Config::create() in .php_cs.dist:8
			Stack trace:
			#0 vendor\friendsofphp\php-cs-fixer\src\Console\ConfigurationResolver.php(936): include()
			#1 vendor\friendsofphp\php-cs-fixer\src\Console\ConfigurationResolver.php(229): PhpCsFixer\Console\ConfigurationResolver::separatedContextLessInclude('...')
			#2 vendor\friendsofphp\php-cs-fixer\src\Console\ConfigurationResolver.php(256): PhpCsFixer\Console\ConfigurationResolver->getConfig()
			#3 vendor\friendsofphp\php-cs-fixer\src\Console\Command\FixCommand.php(162): PhpCsFixer\Console\ConfigurationResolver->getConfigFile()
			#4 vendor\symfony\console\Command\Command.php(258): PhpCsFixer\Console\Command\FixCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

I upgraded Symfony from 4.4.x to 5.1.6, but I'm not sure if it's relevant. However I haven't changed anything else.
My .php_cs.dist file looks like presented below:
<?php

$finder = PhpCsFixer\Finder::create()
    ->in(__DIR__)
    ->exclude('var')
;

return PhpCsFixer\Config::create()
    ->setRules([
        '@Symfony' => true,
        'array_syntax' => ['syntax' => 'short'],
    ])
    ->setFinder($finder)
;

What should I change to get it work?

Ehh, as always I found a solution after writing down the problem somewhere.
I didn't see that the Config class has changed. So it should be called in that way right now return (new PhpCsFixer\Config())->setRules(...)


ameythst dart are missing from the loot tracker

can you guys add the new dart type?

Fixed in 3.0.0


Seg fault when connecting from Win10

I built current master branch of FreeRDP server (the shadow thing) with the following options:
         "-DWITH_PULSE=ON"
         "-DWITH_OPENH264=ON"
         "-DWITH_SERVER=ON"
         "-DWITH_CUPS=ON"

When connecting from the windows 10 remote desktop client to the freerdp server, it briefly connects.
The backtrace shows:
#0  0x00007ffff7227450 in __memmove_avx_unaligned_erms () from /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/lib/libc.so.6
#1  0x00007ffff602422b in rdpgfx_write_surface_command () from /home/jelle/Documents/hack/FreeRDP/build/server/common/libfreerdp-server2.so.2
#2  0x00007ffff602476b in rdpgfx_send_surface_frame_command () from /home/jelle/Documents/hack/FreeRDP/build/server/common/libfreerdp-server2.so.2
#3  0x00007ffff79c45be in shadow_client_thread () from /home/jelle/Documents/hack/FreeRDP/build/server/shadow/libfreerdp-shadow2.so.2
#4  0x00007ffff772e756 in thread_launcher () from /home/jelle/Documents/hack/FreeRDP/build/winpr/libwinpr/libwinpr2.so.2
#5  0x00007ffff5019404 in start_thread () from /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/lib/libpthread.so.0
#6  0x00007ffff71e752f in clone () from /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/lib/libc.so.6

Some initial exploration makes it seem that the avc420->data pointer consistently points to an invalid address (0x30 for me). Any ideas on what this could be?

@wordempire Looks like a preference issue, the H264 component ranks FFMPEG over OpenH264 but FFMPEG is missing the encoder implementation. Try with -DWITH_FFMPGE=OFF

@wordempire Did this solve your issue?

Yes, it was indeed what you suggested. Thanks again!
On Mar 17, 2017 1:04 PM, "akallabeth"<EMAIL_ADDRESS>wrote:
@wordempire https://github.com/wordempire Did this solve your issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FreeRDP/FreeRDP/issues/3817#issuecomment-287337354,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPV9pywPSu_amcHtEgCjEmCMbWE-MZNks5rmnbngaJpZM4ML1cL
.