Error: timeout reached while waiting for sockets response

{
    "socket.io": "^3.0.4",
    "socket.io-redis": "^6.0.1"
}

I'm try to retrive all socket with io.of(/namespace).in('room').allSockets():
import { RedisClient } from 'redis';
import { Server } from 'socket.io';
import { createAdapter } from 'socket.io-redis';

const redisClient = new RedisClient({ ... })
const io = new Server(httpServer, { path: '/api/socket.io' });
io.adapter(createAdapter({ pubClient: redisClient, subClient: redisClient.duplicate() }));
console.log( io.of(`/namespace`).in('room').allSockets() );

error
Error: timeout reached while waiting for sockets response
    at Timeout._onTimeout (...\node_modules\socket.io-redis\dist\index.js:286:28)
    at listOnTimeout (<node_internals>/internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)

After a lot of debug there are some "ignoring unknown request" https://github.com/socketio/socket.io-redis/blob/4dae265a740129b0d86f16418319b902a0648a3c/lib/index.ts#L292 with the response object:
{
   "clients": []
}

I don't know if it is an expected behaviour...
However, when the right response.requestId reach onresponse the problem seem that, request.msgCount is never equal to request.numSub and the promise is never resolved.
https://github.com/socketio/socket.io-redis/blob/4dae265a740129b0d86f16418319b902a0648a3c/lib/index.ts#L309
the difference seem always:
{
   "msgCount": 1,
   "numSub": 5
}

I'm on dev machine (with a shared redis server for the team: 3 guys) and it seems a problem with getNumSub() https://github.com/socketio/socket.io-redis/blob/4dae265a740129b0d86f16418319b902a0648a3c/lib/index.ts#L614 that return wrong number of subscriber (maybe?).
Now, I don't understand the code but the the "pubsub" command seem returns the number of subscribers for the specified channels over the single instance, but request.msgCount is a counter into the single instance. How can those two numbers become equal?
Side note 1
Googling the error, there are others users with the same error:

https://stackoverflow.com/questions/65099723/socket-io-socket-io-redis-adapter-method-calls-timeout
https://github.com/socketio/socket.io-redis/issues/367

Side note 2
However, it works with the old version.

fixed after a deep debug, is a my error.

I'm having the same error, and tried setting the key does work (for now). Though I am very curious.

I've only recently used socket.io so the versions are the same
Redis pub/sub are not like permanent channels. If you restart your redis server or restart your nodejs, all the connections will be closed isn't it? There shouldn't be a conflict causing this error...

I just figured it out, it's not because of different versions of socket-io (for me).
I was using different db (select) for my production and development and I was assuming they are separate. Turn out and "db" are different things, and they end up using the same channel.
Now i use different key base on NODE_ENV

I just figured it out, it's not because of different versions of socket-io (for me).
I was using different db (select) for my production and development and I was assuming they are separate. Turn out and "db" are different things, and they end up using the same channel.
Now i use different key base on NODE_ENV

Can you elaborate a bit? I am having the same issue and I am trying to understand the reason behind it. Thanks in advance!

As for me, I just figured out that the reason of timeout error is because one of the subscriber node has lose its pubClient connection to the redis.

fixed after a deep debug: is a my error.
The problem is: other guys into the dev team has opened another project that use the same redis but with a different version of socket.io-redis. The fix is add a unique key for each application into createAdapter:
io.adapter(createAdapter({ pubClient, subClient, key: 'uniquekey' }));

for me it was a similar issue except it was that both staging and local dev servers were using the same redis connection so to fix it I did this:
   const key = APP_NAME + process.env.NODE_ENV; server.io.adapter(createAdapter(redis, subscriber, { key }));


Enhancement: Don't prompt/confirm when deleting empty files

This is one subtle, but really nice behavior of Sublime. When creating files sometimes I get the name wrong and, for whatever reason, I'd rather delete the file and re-create than just rename it. Atom adds friction by prompting "Are you sure you want to delete the selected item?" – this gets old. There's no real consequence for deleting an empty file, so the prompt would be great to remove. Adjusting the behavior would also be great when removing files you don't end up needing after scaffolding a project.
TLDR: the prompt gets to be a bit much.

+1 would be nice

Would you mind reopening this on https://github.com/atom/tree-view? Thanks!


[Feature Request]:  I want to download images without a registry user account

🚀 Feature Request
What do you want?

I want to see the public images on the registry without login
I want to download a public image without a registry user account
Why do you want it?

Because I am not going to push images. Register an account and configure the credentials is a time waste.

At the moment I don't know how anonymous users can view and download shared resources on nextcloud.
Any help should be appreciated.
:)


Fix IMaterialSystem vtable offsets

This PR fixes the IMaterialSystem offsets, since IMaterialSystem tends to have offsets that are added by four if you count from zero. This approach works flawlessly, this should work the same on 32-bit aswell.

Couldn't really test with x86 since LuaShared doesn't work on there with the iface example, cba to edit it without it right now. Awesome


Add ability to dump snapshot to string

In the future, I would like to be able to dump snapshot to a file and then load the binary snapshot file in a different process.  In order to do that, first we need to be able to dump the snapshot so it can be saved somewhere. Snapshot#dump is the first step in making that happen.  Snapshot#dump returns an ASCII-8BIT string which can then be saved off.
My next step after this is merged will be to work on loading this snapshot binary. Let me know if you see any issues, still learning the Ruby C api :)

I dont think the CI error was caused by my changes, but can someone double check??

yeah failure does not look related. there is an internal issue that needs debugging.
Merging this in, seems fine to me.


With a plugin, is it a possible to remove a declaration ?

Hi,
I am writing a plugin to exclude some functions/classes which have a custom tag in their comments.
Is it possible to do that with a plugin ?
I do not want to hide them or considering them as external, just remove them from documentation.
Regards,
Thomas

I have just found CommentPlugin.removeReflection(context.project, reflection);, but with no success :cry:
Are there any conditions to make it work ?

Okay found it finally ^^
Solution was :

on event EVENT_CREATE_SIGNATURE, store reflections to exclude
on event EVENT_RESOLVE_BEGIN, remove them with :

            CommentPlugin.removeReflection(context.project, reflection);
            if (reflection.parent && (reflection.parent.kind & ReflectionKind.FunctionOrMethod)) {
                CommentPlugin.removeReflection(context.project, reflection.parent);
            }

I close this one !


Improve instructions link on DNS record page,  form and DNS record Id

Fixes #597
This PR changes the links in dns-records/index, dns-records/new, and dns-records/$dnsRecordId (this last one is not included in the issue, but I thought it also needed fix) to be red and underlined.

Note: I noticed that both instruction and instructions are used in links to the same page (the instructions page).

Should we make sure that we use the same word in all links? If so, I can make the change in this PR.

Should we make sure that we use the same word in all links? If so, I can make the change in this PR.

Thanks for pointing this out! Yes, I think it would be better for both of them to be instructions. I wonder if we should also move the our out of the link similar to the other two pages

Good stuff, should the suggestion on the tail end of the issue #597 also be addressed here?

Also, let's change the location of this final sentence. On the first-run page, it could be placed below the centred "Create your first DNS Record!" button

It can happen in a follow-up or here, either works for me.


Resource Deregistration - Housekeeping

Enhancement Request
Description
It is a common scenario the need to remove a resource from OpenNebula DB without affecting the infrastructure resource. This is specially true for VMs, to reimport them for instance.
This feature will implement at least a "onevm recover --unregister" command to achieve the above. Ideally, other resources like images should also have it.
The only skipped action would be the drivers, ie, hooks will be called as normal, it is the responsability of the hook to identify unregistrations.
Use case
A VM has not been correctly migrated from one OpenNebula version to a newer one, and a reimport is needed
Interface Changes
CLI onevm recover --unregister
Sunstone -> offer this operation
Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

The command onevm recover --delete-db achieve this:
     --delete-db               No recover action possible, delete the VM from
                               the DB. It does not trigger any action on the
                               hypervisor

We can think in similar operation for images.


Error(s) in loading state_dict for DoubleStreamBlockLoraProcessor:

Error(s) in loading state_dict for DoubleStreamBlockLoraProcessor:
Missing key(s) in state_dict: "qkv_lora1.down.weight", "qkv_lora1.up.weight", "proj_lora1.down.weight", "proj_lora1.up.weight", "qkv_lora2.down.weight", "qkv_lora2.up.weight", "proj_lora2.down.weight", "proj_lora2.up.weight".

File "/root/ComfyUI/execution.py", line 316, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/root/ComfyUI/execution.py", line 191, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/root/ComfyUI/execution.py", line 168, in _map_node_over_list
process_inputs(input_dict, i)
File "/root/ComfyUI/execution.py", line 157, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/root/ComfyUI/custom_nodes/x-flux-comfyui/nodes.py", line 139, in loadmodel
lora_attn_procs[name].load_state_dict(lora_state_dict)
File "/root/.conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2189, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(

Looks like you use another type of lora that we don't support yet, stay tuned for updates

same for me, any lora
Error occurred when executing FluxLoraLoader:
Error(s) in loading state_dict for DoubleStreamBlockLoraProcessor:
Missing key(s) in state_dict: "qkv_lora1.down.weight", "qkv_lora1.up.weight", "proj_lora1.down.weight", "proj_lora1.up.weight", "qkv_lora2.down.weight", "qkv_lora2.up.weight", "proj_lora2.down.weight", "proj_lora2.up.weight".

same for me, any lora
Error occurred when executing FluxLoraLoader:
Error(s) in loading state_dict for DoubleStreamBlockLoraProcessor:
Missing key(s) in state_dict: "qkv_lora1.down.weight", "qkv_lora1.up.weight", "proj_lora1.down.weight", "proj_lora1.up.weight", "qkv_lora2.down.weight", "qkv_lora2.up.weight", "proj_lora2.down.weight", "proj_lora2.up.weight".

Please send safetensors which you are loading

Please send safetensors which you are loading
Here is the Lora I can't use, I trained this Lora model based on Flux.dev
https://huggingface.co/datasets/ACCC1380/private-model/resolve/main/rurudo_lora_v1_trigger_word_rurudo_000003400.safetensors

same error here too, after training my Lora over at ostris

Same error, Flux Lora trained on replicate.com

Hey guys I found a fix for it. This lora by mint, seems to work. But you will need to put the loras inside of the lora directory of model instead of the lora directory inside x-flux as mentioned by the x-flux team. (also, I reduced the size of the image and steps and that helped. Even though I am running this on a 4090)
linea_lora_workflow.json

一样的错误 我使用 https://github.com/ostris/ai-toolkit 来训练的 lora @goyalpramod  不放在 x-flux 团队约定的目录下，节点下拉框找不到该选项了呀，你具体是怎么做的呢？

@tolerance-go Sorry could you please write that in English.

@tolerance-go Sorry could you please write that in English.

The same mistake. I used https://github.com/ostris/ai-toolkit to train the lora. @goyalpramod It wasn't placed in the directory agreed upon by the x-flux team. The option couldn't be found in the node dropdown box. How exactly did you do it?

Hey guys I found a fix for it. This lora by mint, seems to work. But you will need to put the loras inside of the lora directory of model instead of the lora directory inside x-flux as mentioned by the x-flux team. (also, I reduced the size of the image and steps and that helped. Even though I am running this on a 4090)
linea_lora_workflow.json
Thank you very much,it works for me

@tolerance-go Sorry could you please write that in English.

The same mistake. I used https://github.com/ostris/ai-toolkit to train the lora. @goyalpramod It wasn't placed in the directory agreed upon by the x-flux team. The option couldn't be found in the node dropdown box. How exactly did you do it?

I apologies I missed your text, could you elaborate your issue. Have  I not been clear about the path of the lora.
If that is the case, it is located in
ComfyUI_windows_portable\ComfyUI\models\loras

I think it would be great if the loaders are written so that all LoRAs are interchangeable regardless of the loader.


Ci/setup

Merging has diverged by too much to continue with this PR or branch. Manually bringing over changes to main.


Support for Postgres 13?

Does this work with Postgres 13, or is a PR needed?
Getting this error on a Cloud SQL instance on Google Cloud.
exit: unknown major PG version: PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1)

TimescaleDB has not yet released support for PG13 (we expect in TimescaleDB 2.1).    But I'm slightly confused given that I don't think Google Cloud SQL has any support for TimescaleDB?

Running into the same issue when trying to tune https://github.com/timescale/timescaledb/releases/tag/2.1.0 which should support Postgres 13. Is there a PR planned for this or should I give it a try?

https://github.com/timescale/timescaledb-tune/pull/77

Verified that the updates work, thanks!


Always use an ErrorList instance when validating a block on edit

Fixes #7379
An other fix for this issue would have been to return an ErrorList instance in the validate() method in concrete/src/Block/BlockController.php but if other functions use it and expect true they might break too.
@aembler What do you think ?

Can you tell me what kind of block was causing this to fail? The only way this would fail is if a block is incorrectly returning some object from validate() that is not an ErrorList object.

I was using the content block in a stack as a test.

@aembler The BlockController class returns true in the validate() method (here), which is used when the block doesn't have a custom validate() method.

@marvinde – yeah, but wouldn't that be caught by the is_object() check?

@aembler You were right, the fix I did wasn't correct.
The error was coming from here, this code was adding true as an error and that was displayed in front when updating a block - which caused the error.
I added a is_object() check to fix this.

I believe this should be fixed by a later subsequent pull request. Thanks! Please let me know if the recent pull request from @deek87 doesn't address this properly.


"readonly" field pops up date picker (unexpected)

Some logic in the UI requires fields to dynamically become "readonly" or not based on certain selections made in the form. Date picker binds to all date fields on page load but after making certain fields readonly due to prior form selections, the date picker still pops up when clicked on the "readonly" field which is not expected behavior.
I suspect this is a bug.
As a work around I am manually destroying all event listeners on the date fields that are being made readonly by calling $(this).unbind();
Is this the advisable workaround for now or is there a better approach?

I'm not sure we should disable the calendar when the input is readonly. For example, I use readonly inputs on mobile devices, but I still want the calendar to popup. This ensures the date is still pickable, but the keyboard doesn't show up and get in the way.
You could possibly use pointer-events: none; to disable clicking on the input, or return false from the onShow callback to disable the calendar when the input is readonly.

@mdehoog noted. Yes agree what you say is legitimate.
Thanks for the tips.


Broken login on magazineluiza.com.br

The domain d.mlcdn.com.br seems to be used in some way for authentication when logging in to the application and the website. When it is blocked, you cannot access your account. After adding it to the whitelist, everything works again.

Hello. The AdGuard cname-trackers repository is not a blocklist, and not all lists provided in the repository can be used as blocklists as it is written in the readme. online-metrix.net disguised trackers are not included in the AdGuard Tracking Protection Filter as they cause a lot of breakage.

@fabianski7 It'd better to complain to whoever's including this list in your adblocker, & to the login site admin themselves.  You're logging in —  why's a tracker needed, anyway?!


The materialized view is not created for a data source produced by Kafka Indexing Service

Hi,
I'm trying to create a materialized view for a data source created by an ingestion from Kafka (using Kafka Indexing Service).
The used spec:
{
  "baseDataSource": "the-kafka-data-source",
  "dataSource": "the-kafka-data-source-view",
  "dimensionsSpec": {
    "dimensions": [
      "dimA",
      "dimB"
    ]
  },
  "metricsSpec": [
    {
      "fieldName": "metricA",
      "name": "metricASum",
      "type": "longSum"
    }
  ],
  "hadoopDependencyCoordinates": [
    "org.apache.hadoop:hadoop-client:2.7.3"
  ],
  "tuningConfig": {
    "jobProperties": {
      "fs.s3.impl": "org.apache.hadoop.fs.s3native.NativeS3FileSystem",
      "fs.s3n.impl": "org.apache.hadoop.fs.s3native.NativeS3FileSystem",
      "io.compression.codecs": "org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.BZip2Codec,org.apache.hadoop.io.compress.SnappyCodec",
      "mapreduce.job.classloader": "true"
    },
    "type": "hadoop"
  },
  "type": "derivativeDataSource"
}

Once the spec is used, the Supervisor is successfully created but there is no task for creating the view.
The Supervisor's payload:
{
  "type": "derivativeDataSource",
  "baseDataSource": "the-kafka-data-source",
  "dimensionsSpec": {
    "dimensions": [
      {
        "type": "string",
        "name": "dimA",
        "multiValueHandling": "SORTED_ARRAY",
        "createBitmapIndex": true
      },
      {
        "type": "string",
        "name": "dimB",
        "multiValueHandling": "SORTED_ARRAY",
        "createBitmapIndex": true
      }
    ],
    "dimensionExclusions": []
  },
  "metricsSpec": [
    {
      "type": "longSum",
      "name": "metricASum",
      "fieldName": "metricA",
      "expression": null
    }
  ],
  "tuningConfig": {
    "type": "hadoop",
    "workingPath": null,
    "version": "2019-01-29T12:42:15.475Z",
    "partitionsSpec": {
      "type": "hashed",
      "targetPartitionSize": -1,
      "maxPartitionSize": -1,
      "assumeGrouped": false,
      "numShards": -1,
      "partitionDimensions": []
    },
    "shardSpecs": {},
    "indexSpec": {
      "bitmap": {
        "type": "concise"
      },
      "dimensionCompression": "lz4",
      "metricCompression": "lz4",
      "longEncoding": "longs"
    },
    "maxRowsInMemory": 1000000,
    "maxBytesInMemory": 0,
    "leaveIntermediate": false,
    "cleanupOnFailure": true,
    "overwriteFiles": false,
    "ignoreInvalidRows": false,
    "jobProperties": {
      "fs.s3.impl": "org.apache.hadoop.fs.s3native.NativeS3FileSystem",
      "fs.s3n.impl": "org.apache.hadoop.fs.s3native.NativeS3FileSystem",
      "io.compression.codecs": "org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.BZip2Codec,org.apache.hadoop.io.compress.SnappyCodec",
      "mapreduce.job.classloader": "true"
    },
    "combineText": false,
    "useCombiner": false,
    "buildV9Directly": true,
    "numBackgroundPersistThreads": 0,
    "forceExtendableShardSpecs": false,
    "useExplicitVersion": false,
    "allowedHadoopPrefix": [],
    "logParseExceptions": false,
    "maxParseExceptions": 0
  },
  "dataSource": "the-kafka-data-source-view",
  "hadoopCoordinates": null,
  "hadoopDependencyCoordinates": [
    "org.apache.hadoop:hadoop-client:2.7.3"
  ],
  "classpathPrefix": null,
  "context": {},
  "suspended": false
}

and its status:
{
  "id": "the-kafka-data-source-view",
  "generationTime": "2019-01-29T13:21:17.721Z",
  "payload": "{dataSource='the-kafka-data-source-view', baseDataSource='the-kafka-data-source', suspended='false', dimensions=[dimA, dimB], metrics=[metricASum], missTimeline[]}"
}

I've tried to use the same specification for another data source which was created by an ingestion task from S3 and it worked as expected.
@zhangxinyu1: Is this a special case for Materalized View that requires a different approach?

Once the spec is used, the Supervisor is successfully created but there is no task for creating the view

When you submited the derivativeDataSource task, were there any segments of base dataSource you can see from coordinator web UI?
The timeline of derivativeDataSource is expected to be the same with baseDataSource's. Your can get the timeline of a dataSource from coordinator UI.

The timeline of derivativeDataSource is expected to be the same with baseDataSource's. Your can get the timeline of a dataSource from coordinator UI.

Inspecting the timeline, the derivative base data source has one day missing (the last day of the month).
The base data source:

and the derivative one:


feat(theme): add the ability to add (even partial) background and foreground to color object

feat(theme): add the ability to add (even partial) background and foreground to color object
While declaring the primary, accent and warn via the color object is easy and straight-forward, the configuration of foreground and background proves rather tedious. This commit adds the ability to declare foreground and background in the color object when defining a theme, even partially, meaning that missing values are taken from the default light or dark theme respectively.
Fixes #11390, #6244

Example:
$main-theme: mat.define-dark-theme((
  color: (
    primary: $theme-primary,
    accent: $theme-accent,
    warn: $theme-warn,
    foreground: $mat-dark-theme-foreground,
    background: $mat-dark-theme-background,
  ),
  typography: mat.define-typography-config(),
  density: 0,
));

whereas the background configuration looks i.e. like this
$mat-dark-theme-background: (
  background: $dark-background,
  status-bar: $dark-bg-lighter-20,
  app-bar: $dark-bg-lighter-5,
  hover: $light-bg-alpha-4,
  card: $dark-bg-lighter-5,
  dialog: $dark-bg-lighter-5,
  tooltip: $dark-bg-lighter-20,
  disabled-button: $light-bg-alpha-12,
  raised-button: $dark-bg-lighter-5,
  focused-button: $light-focused,
  selected-button: $dark-bg-lighter-20,
  selected-disabled-button: $dark-bg-lighter-30,
  disabled-button-toggle: $dark-bg-lighter-10,
  unselected-chip: $dark-bg-lighter-20,
  disabled-list-option: $dark-bg-lighter-10,
);

Thanks for this contribution! We are actually in the works of redoing our whole theming setup to start bringing in Material 3 styles. We agree that it's not easy to customize specific parts of components and we want to make it easier. However, we do not expect to use the current setup, so this PR will already be out of sync with our plans. We appreciate the work

Oh okay, well thanks for the quick reply :)


Fix an error for mixed and/or in begin node for Style/SafeNavigation

Small followup to #13267. Such a node doesn't have a receiver (it's a Parser::Source::Range:
(or
  (send nil :x?)
  (and
    (send nil :z?)
    (send nil :w?)))

foo? && (bar? || baz? && bat?)
# undefined method `receiver' for an instance of Parser::Source::Range
# lib/rubocop/cop/style/safe_navigation.rb:295:in `find_matching_receiver_invocation'

cc @dvandersluis. Hope you don't mind me picking this up. The PR got merged a bit early.
No changelog, not released yet.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


Let users define automatic checks in the recorder

Following issue 399, it could be useful to have a kind of plugin (or profile, or filter) on the Recorder, so it could directly generate in a recorded script, operations that have to be repeatly modified by hand. It would be very useful for technical POST params that are dynamically generated by a technical framework (like JSF), and that can change during the life of an application (so it is better that they are not hard coded in scenarios).
If think to the following scenario for the recorder "plugin" :
if response contains input "javax.faces.ViewState"
then capture it
if post param is  "javax.faces.ViewState"
then inject captured value
More simple than a plugin system : maybe it should be possible to simply make a list of String patterns to capture and reinject in the next request as described.
DynamicTechicalParamPatterns or ParamsToInterceptAndReinjectPatterns could be the name of the field in the recorder UI.
It could be a huge time saver !

Hi,
This is a very interesting idea.
This will be part of a big recorder rework task.
For example, I've been wondering for a few days how we might provide a
solution for making regex and xpath easier. I was for example thinking of
dumping response bodies and letting the user test regex and xpath on them
directly in the recorder.
Any idea on the topic appreciated! [?]
Steph
2012/2/8 fabienbancharel <
<EMAIL_ADDRESS>

Following issue 399, it could be useful to have a kind of plugin (or
profile, or filter) on the Recorder, so it could directly generate in a
recorded script, operations that have to be repeatly modified by hand. It
would be very useful for technical POST params that are dynamically
generated by a technical framework (like JSF), and that can change during
the life of an application (so it is better that they are not hard coded in
scenarios).
If think to the following scenario for the recorder "plugin" :
if response contains input "javax.faces.ViewState"
then capture it
if post param is  "javax.faces.ViewState"
then inject captured value
More simple than a plugin system : maybe it should be possible to simply
make a list of String patterns to capture and reinject in the next request
as described.
DynamicTechicalParamPatterns or ParamsToInterceptAndReinjectPatterns could
be the name of the field in the recorder UI.
It could be a huge time saver !

Reply to this email directly or view it on GitHub:
https://github.com/excilys/gatling/issues/401

Hi Stephane,
As the Recorder is invoked by the navigator, I think you should let users rely on what is available on their navigator : Firebug, XPather ... and don't reinvent the tools for capturing input on the Recorder side.
But if you want to be closer to what the navigator can offer for the Recorder, maybe the Recorder could be "a la Selenium IDE" (a Firefox plugin that records user navigation for functional tests).
For my first idea, if it seems too complicated to integrate this kind of behavior at the recorder level, some post processing task could be acceptable. You could provide some sample scripts, command line and config file for this need, it would be much appreciated.
Just few ideas :)
Fabien.

2012/2/8 fabienbancharel <
<EMAIL_ADDRESS>

Hi Stephane,
As the Recorder is invoked by the navigator, I think you should let users
rely on what is available on their navigator : Firebug, XPather ... and
don't reinvent the tools for capturing input on the Recorder side.
But if you want to be closer to what the navigator can offer for the
Recorder, maybe the Recorder could be "a la Selenium IDE" (a Firefox plugin
that records user navigation for functional tests).

It still might be interesting for working after the scenario was recorded.
Still thinking about it...

For my first idea, if it seems too complicated to integrate this kind of
behavior at the recorder level, some post processing task could be
acceptable. You could provide some sample scripts, command line and config
file for this need, it would be much appreciated.

No, no, your idea is completely feasible,  it's just a matter of time and
priorities. [?]
I know Romain is currently working on migrating the recorder to Scala (so
we can get rid of Velocity), and this might be something that could be done
along the way.
We'll discuss about it and let you know soon.
Thanks,
Steph

Not that I've actually used Gatling .. just reading about it ... recorders are all well and good, but my experience with any decent sized test is that they fall apart, and they can't generally keep up with the changing technology. And a big plus for gatling to me at least seems to be the fact it exposes a full JVM programming language to the user.
What the original comment sounds like the person is trying to do is reduce the maintenance of scripts, and to me that sounds like needing is using "Page Object" type pattern a la selenium/webdriver ... just that usual decoupling of what you want the test to do from how you do it.
We have always had that pain when maintaining jMeter scripts, and as I've been reading the Gatling documentation I've been thinking about how a page object pattern could be implemented ... might have to try it.
My 2c ...

Sadly, this is impossible with the current technology.
Having a client that emulates a browser and that would for example process
your javascript and automatically perform your ajax calls is something way
too expensive (CPU and RAM). This strategy is incompatible with stress
tests. For exemple SeleniumGrid is only to be used for functional tests,
not load tests.
I agree that maintaining the scenario scripts can be a piece of work, but
you'll have to cope with it. [?]
IMHO, Gatling scripts are much much easier to maintain than JMeter ones.
The reasons is that we use an expressive DSL instead of a GUI, so you don't
have to search into a mess of menus and boxes for what to change, you just
read your scenario file. And as scenarios are code, you can (and should)
store them into your version control system so you can perform diffs,
rollback, etc.
Sincerely,
Stphane
2012/2/11 Steve Mosley <
<EMAIL_ADDRESS>

Not that I've actually used Gatling .. just reading about it ... recorders
are all well and good, but my experience with any decent sized test is that
they fall apart, and they can't generally keep up with the changing
technology. And a big plus for gatling to me at least seems to be the fact
it exposes a full JVM programming language to the user.
What the original comment sounds like the person is trying to do is reduce
the maintenance of scripts, and to me that sounds like needing is using
"Page Object" type pattern a la selenium/webdriver ... just that usual
decoupling of what you want the test to do from how you do it.
We have always had that pain when maintaining jMeter scripts, and as I've
been reading the Gatling documentation I've been thinking about how a page
object pattern could be implemented ... might have to try it.
My 2c ...

Reply to this email directly or view it on GitHub:
https://github.com/excilys/gatling/issues/401#issuecomment-3916552

Sorry if I was mis-understood. I wasn't meaning emulating the browser.
I was just meaning that instead of using scripts straight out of the recorder, after a certain point you need more structure al la like the Page Object fashion ... to make them more maintainable ... so overall I think im in agreement with you Stphane.

Sorry for misunderstanding.
Actually, once you have a better understanding of the DSL structure (or
even better, if you can develop in Scala, but we don't force this on you),
you can organize your scenario elements however you want.
For exemple, you can have :
object MyPage {
val url = http("Authentication page before login").get(
"/excilys-bank-web/public/login.html").headers(headers_2)
val myPageCheck = url.check(status.is(200), regexp("something"))
}
import MyPage._
class Simulation extends GatlingSimulation {
val scn = scenario("myScenario").exec(myPageCheck)
}
Note that the way you can mutualize parts is something that we will
probably refactor for the 1.1.0 release.
Stephane
2012/2/12 Steve Mosley <
<EMAIL_ADDRESS>

Sorry if I was mis-understood. I wasn't meaning emulating the browser.
I was just meaning that instead of using scripts straight out of the
recorder, after a certain point you need more structure al la like the Page
Object fashion ... to make them more maintainable ... so overall I think im
in agreement with you Stphane.

Reply to this email directly or view it on GitHub:
https://github.com/excilys/gatling/issues/401#issuecomment-3925868

Nice, thats exactly what I was thinking.


[Feature] Add support for OpenStreetMaps

Summary
Add additional support for OpenStreetMaps instead on only Google Maps
Additional Context
https://www.openstreetmap.org/about

I think leaflet (leafletjs.com, github.com/Leaflet) is an easy target and it adds a bunch of map styles like github.com/simsieg/awesome-maps.
By the way, I see the number of issues and feature requests on maps is high and some of the issues are already solved in Leaflet.
OpenLayers is more flexible but the implementation may be more cumbersome.
I have no experience at all on Cesium except for usage, but I did not dig in the code.


Testing the UI with bulk api

Kruize is going to support bulk apis and we need to test how UI performs with it.
A detailed information on what happens and the lag observed in Kruize UI is expected recorded in a loom video for reference.

Bulk API UI Workflow
Overview
The Bulk API UI allows users to configure and initiate bulk requests for resource optimization recommendations. The UI also provides tracking and status updates for jobs, as well as detailed information on individual experiments.
Step-by-Step UI Workflow

Landing Page
Description: The landing page displays an overview of the Bulk API functionality.
Actions:
View brief descriptions of filters (e.g., namespaces, workloads, containers, labels).
View descriptions of experiment types (e.g., "container", "namespace").
Button: "Create New Bulk Job" to start a new job.
Create New Bulk Job
Form Layout:
Datasource: Dropdown menu to select the configured datasource (e.g., Prometheus, Thanos).
Experiment Types: Multi-select for "container," "namespace," or both.
Time Range: Optional date and time selectors to specify the time range.
Filter Section:
Include Filters:
Text fields to add namespaces, workloads, containers, and label key-value pairs.
Exclude Filters:
Text fields to add namespaces, workloads, containers, and label key-value pairs.
Button: "Submit Job" to initiate the Bulk API request.
Job Submission Confirmation
Modal: Display a confirmation dialog showing the selected filters and datasource details.
Confirmation Action:
Display the job_id upon confirmation.
Display message: "Job successfully submitted. Track progress using job_id: [job_id]".
Buttons:
"Track Job Status" to navigate to the job tracking page.
"Start New Job" to return to the job creation form.
Job Status and Tracking Page
Search Field: Input field for users to enter or paste a job_id to view job details.
Button: "Search Job" to retrieve job status.
Job Status Display
Summary View:
Status: Display current job status (e.g., IN_PROGRESS, COMPLETED, FAILED).
Total Experiments: Display total number of experiments.
Processed Experiments: Display the number of processed experiments.
Job Start Time: Display start timestamp.
Job End Time: Display end timestamp if completed.
Buttons:
"View Details" to switch to a verbose view.
Detailed Job View (Verbose Mode)
Experiment Details:
New Experiments: List of newly created experiments.
Updated Experiments: List of updated experiments.
Failed Experiments: List of failed experiments, if any.
Recommendation Processing Details:
Processed Recommendations: List of experiments with completed recommendations.
In-Progress Recommendations: List of experiments currently being processed.
Unprocessed Recommendations: List of experiments awaiting processing.
Back Button: To navigate back to the summary view.
Configuration Management
Settings Page:
Datasource Configuration:
View and edit details for configured datasources (e.g., Prometheus, Thanos).
Limits:
Option to view or set the bulk experiment limit.
Thread Pool Size:
Input to modify bulkThreadPoolSize.
Additional Considerations
Error Handling: UI displays error messages if job creation fails due to exceeding experiment limits or any other configuration issues.
Notifications: Job completion and error alerts can appear as in-app notifications.
Accessibility: The workflow should be keyboard-navigable with screen reader support.

API documentation
https://github.com/kruize/autotune/blob/master/design/BulkAPI.md


Error in SlideNavigationController.m

i have xcode 5.1 and write for iOS 7
in build proccess i get this error in SlideNavigationController.m
No visible @interface for 'UINavigationController' declares the selector 'viewWillTransitionToSize:withTransitionCoordinator:'

In the prepareMenuForReveal function I always get this error
[removingMenuViewController.view removeFromSuperview]  // Thread 1 : EXC_BAD_ACCESS(code=1,address=0x18)
What is this?

This bug is open from more than a year. Any solutions or workarounds ??

how do you reproduce this? does it happen on the demo project?

Yes, I tried on both 1.4.5 and the master branch and both gave the same error.
Xcode 5.0.2 on OS X 10.9.
Deployment Target 7.0

I think problem happens because I am targeting 7.0 not 8.0 as this function was introduced on 8.0 I believe. And since xcode doesn't have any knowledge with 8.0, it doesn't have compilation replacement for it.


Fix 404 on null

The qualifyURL script was setting the img.src to null, causing a 404 error.
A better approach is to use the window.location.href to get the base url and concat it with the relative one.
If you prefer to maintain the same approach, take a look to the PR #13 instead.

Could you please commit the corresponding update also to the master branch?


Fixed the Plot Issue

When using the Scatter() function, the plot would fail because of a wrong function call. Fixed that in the plot.py

Thanks! (wasn't aware of their interface modifications)


Write version check warning message to stderr

Quick fix for #683

The only potential problem with this is that older versions of PowerShell would consider a command execution to have failed if anything showed up on stderr, regardless of exit code. But maybe newer PowerShell Core does not suffer from this--can you double-check, @weikanglim ?

The only potential problem with this is that older versions of PowerShell would consider a command execution to have failed if anything showed up on stderr, regardless of exit code. But maybe newer PowerShell Core does not suffer from this--can you double-check, @weikanglim ?

I'll double check on the behavior.

@karolz-ms Can confirm the behavior documented in https://stackoverflow.com/questions/66726049/how-can-i-redirect-stdout-and-stderr-without-polluting-powershell-error-output. On Windows PowerShell 5.X or before PowerShell 7.2, the act of redirecting the error stream in PowerShell causes a terminating error to be detected. This no longer happens in the PowerShell version 7.2 or greater.
Test script test.ps1:
param(
    [switch]$RedirectError
)
$ErrorActionPreference = 'Stop'

if ($RedirectError) {
    .\azd.exe version 2>&1
} else {
    .\azd.exe version
}

Write-Host 'SUCCESS'

On 7.2.6:
PS D:\repos\azd-sources\demo-todo-python> $PSVersionTable.PSVersion.ToString()
7.2.6
PS D:\repos\azd-sources\demo-todo-python> .\test.ps1
azd version 0.1.0-dev.0 (commit<PHONE_NUMBER>000000000000000000000000000000)
warning: your version of azd is out of date, you have 0.1.0-dev.0 and the latest version is 0.2.0-beta.1

To update to the latest version, run:
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"
SUCCESS
PS D:\repos\azd-sources\demo-todo-python> .\test.ps1 -RedirectError
azd version 0.1.0-dev.0 (commit<PHONE_NUMBER>000000000000000000000000000000)
warning: your version of azd is out of date, you have 0.1.0-dev.0 and the latest version is 0.2.0-beta.1

To update to the latest version, run:
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"
SUCCESS

On 5.X:
PS D:\repos\azd-sources\demo-todo-python>  $PSVersionTable.PSVersion.ToString()
5.1.19041.1682
PS D:\repos\azd-sources\demo-todo-python> .\test.ps1
azd version 0.1.0-dev.0 (commit<PHONE_NUMBER>000000000000000000000000000000)
warning: your version of azd is out of date, you have 0.1.0-dev.0 and the latest version is 0.2.0-beta.1

To update to the latest version, run:
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"
SUCCESS
PS D:\repos\azd-sources\demo-todo-python> .\test.ps1 -RedirectError
azd version 0.1.0-dev.0 (commit<PHONE_NUMBER>000000000000000000000000000000)
.\azd.exe : warning: your version of azd is out of date, you have 0.1.0-dev.0 and the latest version is 0.2.0-beta.1
At D:\repos\azd-sources\demo-todo-python\test.ps1:7 char:5
+     .\azd.exe version 2>&1
+     ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (warning: y....2.0-beta.1:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

@weikanglim glad to her, thanks for confirming!!

Azure Dev CLI Install Instructions
Install scripts
MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685 --version '' --verbose

pwsh:
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685' -Version '' -Verbose

Windows
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685' -Version '' -Verbose;"

Standalone Binary

Linux - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685/azd-linux-amd64.tar.gz
MacOS - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685/azd-darwin-amd64.zip
Windows - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/685/azd-windows-amd64.zip

Container
docker run -it azdevcliextacr.azurecr.io/azure-dev:pr-685


uadk: drv/hisi - fix failed to init drv after fork

The drivers initialization function use 'drv.priv' to forbid reinit. But if the child process is forked after the parent process has initialized, it can't work due to the drivers go to wrong branch on initialization.
And the algorithms initialization function is already protected against re-entry. So it is unnecessary to check 'drv.priv' in driver.

And the algorithms initialization function is already protected against re-entry
这个是指这个是吧
ret = wd_alg_try_init(&wd_cipher_setting.status);
if (ret)
return ret;
这个fork的时候会清0
pthread_atfork(NULL, NULL, wd_cipher_clear_status);
有道理

And the algorithms initialization function is already protected against re-entry 这个是指这个是吧 ret = wd_alg_try_init(&wd_cipher_setting.status); if (ret) return ret;
这个fork的时候会清0 pthread_atfork(NULL, NULL, wd_cipher_clear_status);
有道理

是的，当前算法层init函数已经能防重入，驱动的init是在算法层init中调用，因为可以不用判断。就不在驱动中做同样的清理动作了。

  ret = hpre_init_qm_priv(config, drv->priv, &qm_priv);

  ret = hpre_init_qm_priv(config, priv, &qm_priv);

test_hisi_hpre --trd_mode=sync --dev_path=/dev/hisi_hpre-0 会挂

+1


docs: update how to create asyncapi document tutorial

Description

Re-add the docs/tutorials/create-asyncapi-document.md file.
Adapt the AsyncAPI document snippet
Adapt the text to match v3 descriptions

Related issue(s)
Resolves issue  #1861

Hey @functionguyy, any update here? 🙂

Hey @functionguyy, any update here? 🙂

Can you confirm the review comments are in order? I slowed because I wanted a second eye from someone working directly on the project to look at the reviews before I began implementing them.

@functionguyy review comments are normally never an order unless directly stated by codeowners for whatever reason.
However, each review, regardless of whom does it, you as the PR provider have to individually review and think about whether it's an improvement to the current proposal or something you do not wish to apply.
You do not need a code owner to verify the review from someone else unless you and the other reviewer are disagreeing.

closing as there was no followup from review
new PR that will fix the related issue https://github.com/asyncapi/website/pull/2304


Improved README.md

Improved the readability of the document

Won't merge this as I cannot tell if you're a bot. Sorry.

@Huanshere sir I am human 🥲

I apologize, but we do not accept pull requests for minor improvements to the documentation, as the project is still in rapid development and there will be significant updates to the documentation.


e2e/syncer: make the test app sleep, not restart with AlreadyExists

Before this the first run of the container created the configmap, the second and following failed with AlreadyExists and panic'ed, leading to unavailable deployment under bad timing.

@jmprusi

/lgtm

Stop the bleeding.Merging.


VMSS Upgrade Policy Command Improvements

Preconditions

[x] No need to upgrade Python SDK or the Python SDK is ready.

Related command
az vmss create --resource-group myResourceGroup --name myScaleSet --upgrade-policy-mode
az vmss update --resource-group myResourceGroup --name myScaleSet -- (No Upgrade Policy Mode)
Resource Provider
Microsoft.Compute
Description of Feature or Work Requested
I am the PM for Upgrade Policies on Virtual Machine Scale Sets. We are working towards Public Preview of Upgrade Policies on VMSS Flex and I am finding a lot of inconsistencies between Portal, REST, PowerShell and CLI. Mostly, the CLI seems to be limited to being able to adjust the upgrade policy settings for VMSS deployments.
I would like to start the work to get better consistency between these 4 CLI tools.

Scenario
Portal
CLI
PowerShell
REST

Set   Upgrade policy to Rolling and configure the rolling upgrade policy during   VMSS creation
Yes
No      Rolling Upgrade Policy   requires App health extension and extensions cannot be set during VM creation using CLI
Yes
Yes

Set   upgrade policy to Manual during VMSS creation
Yes
Yes
Yes
Yes

Set   upgrade policy to Automatic during VMSS creation
Yes
Yes
Yes
Yes

Update   the upgrade policy to Rolling post VMSS creation
Yes
No       The az   vmss update command does not have any parameters to change upgrade policy.   Using –set upgradepolicy=Rolling does not work
Yes       Cannot   enable MaxSurge using update-azVMSS command. Need to use   Set-AzVmssRollingUpgradePolicy first then apply update-azvmss
Yes

Update   the rolling upgrade policy settings
Yes
Yes        You can use az vmss update –set upgradePolicy.RollingUpgradePolicySettings.SETTING       This   is only allows you to change the upgrade policy settings, not the upgrade   policy itself.
Yes       Cannot enable MaxSurge using update-azVMSS command. Need to use   Set-AzVmssRollingUpgradePolicy first then apply update-azvmss
Yes

Update   the Upgrade policy to Manual post VMSS creation
Yes
No       The az   vmss update command does not have any parameters to change upgrade policy.   Using –set upgradepolicy=manual does not work
Yes
Yes

Update   the upgrade policy to Automatic post VMSS creation
Yes
No       The az   vmss update command does not have any parameters to change upgrade policy.   Using –set upgradepolicy=automatic does not work
Yes
Yes

Trigger   a rolling upgrade       (no   way to directly start a rolling upgrade. Need to trigger a generic model   update)
No
No
No
No

Stop   a Rolling Upgrade
Yes
Yes
Yes
Yes

Get   rolling upgrade status
Yes
Yes
Yes
Yes

Minimum API Version Required
latest
Swagger PR link / SDK link
https://learn.microsoft.com/en-us/rest/api/compute/virtual-machine-scale-sets/create-or-update?view=rest-compute-2023-10-02&tabs=HTTP
Request Example
No response
Target Date
5/1/2024
PM Contact
mimckitt
Engineer Contact
jwa
Additional context
You cannot submit an issue here without clicking the box for SDK required. Not sure if that is needed here or not.

Thank you for opening this issue, we will look into it.

@mimckitt I would like to confirm with you that there are four areas where you would like the CLI end to support the same as other ends, right?

Set Upgrade policy to Rolling and configure the rolling upgrade policy during VMSS creation
Update the upgrade policy to Rolling post VMSS creation
Update the Upgrade policy to Manual post VMSS creation
Update the upgrade policy to Automatic post VMSS creation

If so, could you help break down these feature requests into smaller and more specific Github issues as this feature request appear to be quite large?

@zhoxing-ms can do! Thanks!

https://github.com/Azure/azure-cli/issues/28440
https://github.com/Azure/azure-cli/issues/28439
Created separate items for setting upgrade policy during VMSS create and updating upgrade policy post VMSS create

Thanks @mimckitt for cooperation. We could use the separated items to track this feature. Let's close this page.


authorizer: fix config watcher reload

The watcher logic doesn't actually reload the config.
This change loads the config before we enter the watch loop (usually after an error) with a conditional to avoid doing this on the first iteration (since we do the first config load before we enter the retry loop).

tested and working in dev: https://pb.infra.corp.arista.io/q_wc

Annoyingly I can't comment on code I haven't changed, but I wonder if I should simply change
			// do nothing on Chmod
			if ev.Op == fsnotify.Chmod {
				continue
			}
			if ev.Op&fsnotify.Remove == fsnotify.Remove {
				return errors.New("watcher path removed")
			}
			log.Infof("try to reload %s", path)
			if err := do(); err != nil {
				return fmt.Errorf("failed to reload: %w", err)
			}

to something like
			// do nothing on Chmod
			if ev.Op == fsnotify.Chmod {
				continue
			}
			if ev.Op&fsnotify.Remove == fsnotify.Remove {
				return errors.New("watcher path removed")
			}

                         return errors.New("unhandled event %v", ev.Op)

This will cause watcherLoop to exit if its not CHMOD (while giving a nicer error if its REMOVE (an event we expect), which will then follow the same config reload and watcher re-init


Amended spotenant, set-pnptenant and get-pnptenant to include property SiteOwnerManageLegacyServicePrincipalEnabled

Before creating a pull request, make sure that you have read the contribution file located at
https://github.com/pnp/powerShell/blob/dev/CONTRIBUTING.md
Type

[ ] Bug Fix
[ ] New Feature
[ ] Sample

Related Issues?
Fixes #X, partially fixes #Y, mentioned in #Z, etc.
What is in this Pull Request ?
Please describe the changes in the PR.
Guidance

You can delete this section when you are submitting the pull request.*
Please update this PR information accordingly. We use this as part of our release notes in monthly communications.
Please target your PR to Dev branch. If you do not target the Dev branch we will not accept this PR.

Summary

copilot:summary
Details

copilot:walkthrough

Thanks @reshmee011 , great stuff.
Have merged it 😊


[intern] QuickRes - connected frontend and backend

Summary of the Pull Request
Added backend functionality for resolution to the application. Some of the marshalling needs to be fixed. Until then there are a number of place holder values.

References

PR Checklist

[] Applies to #xxx
[] CLA signed. If not, go over here and sign the CLA
[] Tests added/passed
[] Requires documentation to be updated
[] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

any chance to get this in?


Apalache.tla: the standard module for Apalache

Following #183, this PR introduces the standard module Apalache.tla that gives the user access to (almost all of) internal operators introduced by Apalache. Most importantly, it introduces the assignment operator x := e. This opens the way to deal with #181.

Thanks for the comments, @shonfeder!

Thanks for the replies!

I will merge this pull request


Give more detailed test result comments

Mentioned in #84, it would be better if Buildasaur gave more detail about the devices that ran tests, e.g.
Result of integration 1
Integration took 25 minutes and 46 seconds.
All 0 tests passed, but please fix 567 warnings on iPhone 6 Plus iOS 8.4
1800 tests passed and 2 failed, but please fix 567 warnings on iPhone 4s iOS 7.1
1800 tests passed and 2 failed, but please fix 567 warnings on iPhone 4s iOS 8.4

Thanks, @valeriomazzeo!

Duplicate of #49.


STEP 4: IMPLEMENTATION

Transforming structural and functional designs into a viable product, according to the planning of tasks.

Completed successfully.
@N-Elmer


Chart.js

Nothing is started for this and since its a library no one is familiar with it would be good to get going on this asap.

I did it team!!


Katalon HTML Reports Combiner

I run tests on KRE. I run a test suit collection and reports generated for every test suit. I have almost 10 html report for a test suit collection. Can you add a plugin to combine that html reports inside a html report file?
I cant use junit file. I need to share that reports on html format.
Or is there any otherway to do that?
I tried to convert junit file to html with junit2html python package but file is broken on formating.

I parsed all html files. It is well formetted xml so dont worry about it. I changed my job so didnt interested a bit about that topic.. But as i can remember. There was a file that all html reports file path was inside that file at XML format. So first parse that file to find report files path. You can find test suit cases name by looking report file name. (I dont remember its extension). After finding the path and name of the report, parse the report file one by one. Looking for all the html reports on a path with find *.html probably will not work. So you need to find overall report file.  Then combine them :).


Assignment 1

Here are the first assignments :)

Careful on code formatting, don't forget: ctrl+shift+f


Line-numbers should be mentioned in the error.

Hello,
I was working with the validator plugin and as a beginner, it's taking me quite a lot of time just to find out in which line are the following errors:
[ERROR] SemanticError at Enrolment.id: Description missing for property
[ERROR] SemanticError at paths./enrolments/{id}.delete.id: Description missing for parameter
[ERROR] SemanticError at paths./enrolments/{id}.delete: Summary missing
[ERROR] SemanticError at paths./enrolments/{id}.get: Summary missing
I have many "Enrolment", "Enrolments" in my swagger file. I will eventually find out the errors (I hope!) but it would save quite a lot of time, in case the line numbers were mentioned.
Thank you!

Hi @prasannjeet, that's indeed something interesting, but I think that swagger-parser library (used to convert input file into object model) doesn't provide this feature: https://github.com/swagger-api/swagger-parser/issues/377

Hello @giuliopulina, thanks for the information.


.addAdditionalInfo("XXX", "XXX") not adding meta data to transaction

SumUpPayment payment = SumUpPayment.builder()
                        //mandatory parameters
                        .total(new BigDecimal("1.00"))
                        .currency(SumUpPayment.Currency.GBP)
                        // optional: add details
                        .title("XXX")
                        // optional: Add metadata
                        .addAdditionalInfo("first_name", "XXX")
                        .addAdditionalInfo("last_name", "XXX")
                        .addAdditionalInfo("house_no", "XXX")
                        .addAdditionalInfo("post_code", "XXX")
                        //optional: foreign transaction ID, must be unique!
                        .foreignTransactionId(UUID.randomUUID().toString())  // can not exceed 128 chars
                        // optional: skip the success screen
                        .skipSuccessScreen()
                        .build();
                SumUpAPI.checkout(MainActivity.this, payment, 1);

The above code does not add any metadata to the transaction.
Am I doing something wrong above?

Hey @usmankhan94, I've asked SumUp directly about this before and the answer was it's no longer supported. Not sure why they haven't removed the methods in the latest SDK though.
The approach they suggest is to use foreignTransactionId and store metadata for the transaction in your own system associated with that ID.

foreignTransactionId

This value es uniq?


⚠ Bofrost.de has degraded performance

In a15c841, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1507 ms

Resolved: Bofrost.de performance has improved in 426b8af.


Support 16-Bit HDR textures

Makes creation of HDR textures with 16-Bit half floats possible. This needs some minor compatibility changes because in OpenGL ES half float textures are in a separate extension, but it won't change platform support in any major way (the two even have a single entry in Khronos' extension registry).
The image manipulation functions are a bit more complicated, because there is no native half float support in C so I've used two new util functions HalfToFloat and FloatToHalf there.
This doesn't change the API apart from 3 (6 if you count rlgl) new enum variants.

@Not-Nik Thanks for the improvement! Actually it was on the raylib future plans but it was discarded... I can reconsider it, it looks good. Just added a couple of review comments.

Just added a couple of review comments.
Updated accordingly

@Not-Nik Thank you very much! This is a really nice addition! 😄


mina-archive:1.2.0beta1-c856692-mainnet - container fails to start with "[dumb-init] run: No such file or directory"

Hello,
The archive container fails to start, with the following error in the log
[dumb-init] run: No such file or directory
Output of docker ps --no-trunc
4254c5.....5   gcr.io/o1labs-192920/mina-archive:1.2.0beta1-c856692-mainnet   "/usr/bin/dumb-init /entrypoint.sh run --postgres-uri postgres://postgres:SOME_RANDOM_PASSWORD_BUT_YOU_CAN_LEAVE_THIS_UNCHANGED@db:5432/mina_archive_mainnet --server-port 3086 --metrics-port 3085 --log-level Info"
My config

Docker version 20.10.7, build f0df350
Linux cs3 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

This is due to a small change in the entrypoint script for that container, now you just have to specify the name of the tool before run, so mina-archive run ...


Fix lang pack names and versions

Update lang packs to target 1.9.0 and remove "zz" prefix (which was an unsuccessful attempt to get the lang packs to sort together in the Extension Manager).

Cleaning up a couple details in previous lang pack initial merge.


Installation Issue -- XSPEC version?

Hello!
I am trying to install cosipy following docs. When I try pip install cosipy I run into an error (see output log file attached).
install-log.txt
It shows that something goes wrong during the astromodels installation step and then starts to flag XSPEC versions. I recently updated my HEASOFT and XSPEC, so I have XSPEC version 12.13.1, which is not one of the listed "assumed" XSPEC versions in the warning message. I'm not sure if that has anything do to with it.
I apologize in advance if this is an obvious fix I didn't see!

Hi @mikemoss3. Cosipy doesn't require heasoft. It's only used by astromodels when you want to use some of the heasoft models, which we're not currently using for the data challenge. The easiest solution is to deactivate it before installing cosipy (iirc, I think you need to unset HEADAS). If you do need the heasoft models, then I think that the only solution is to install another version.

Hi @israelmcmc. Following your advice I tried unsetting HEADAS and I believe that worked.
However, I then had another installation issue since I was missing hdf5 library.
Specifically, I had to install the library via conda (i.e., conda install h5py) and the installation looks to have completed fine.
Installing via pip (i.e., pip install h5py) didn't  work, but I think it would have worked if I also properly set HDF5_DIR environment variable to point to where the hdf5 header file would be. I'm not sure if it is mentioned anywhere that hdf5 is required for cosipy (or maybe everyone has it and I just didn't for some reason).
(Also, sorry if this is the wrong thread to attach this to!)

@mikemoss3 Glad to hear that you managed to make it work! I opened a separate issue to follow up on the h5py installation


Conan server to Artifactory migration script

Hi guys, here Luis from Conan team.
This python script is used to migrate from a conan server to Artifactory.
I will need this merged asap to link it in the blog post of the Artifactory release (today).

@lasote can you change the path to conan/ConanServerToArtifactory/migrate.py
and if possible add a README.  If necessary we can take the README in a later PR.

Check now.

LGTM merged.


pyproject.toml: configuration error: project.dynamic must be array

The following error occurred during installation：
$ pip install git+https://github.com/luyiyun/NormAE.git
Looking in indexes: https://mirrors.ustc.edu.cn/pypi/simple
Collecting git+https://github.com/luyiyun/NormAE.git
  Cloning https://github.com/luyiyun/NormAE.git to /tmp/pip-req-build-btii8wj5
  Running command git clone --filter=blob:none --quiet https://github.com/luyiyun/NormAE.git /tmp/pip-req-build-btii8wj5
  Resolved https://github.com/luyiyun/NormAE.git to commit e32d706f3d2a3602d3cbe0d886a90fd871bc423f
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [61 lines of output]
      configuration error: `project.dynamic` must be array
      DESCRIPTION:
          Specifies which fields are intentionally unspecified and expected to be
          dynamically provided by build tools

      GIVEN VALUE:
          "1.2.0"

      OFFENDING RULE: 'type'

      DEFINITION:
          {
              "type": "array",
              "items": {
                  "enum": [
                      "version",
                      "description",
                      "readme",
                      "requires-python",
                      "license",
                      "authors",
                      "maintainers",
                      "keywords",
                      "classifiers",
                      "urls",
                      "scripts",
                      "gui-scripts",
                      "entry-points",
                      "dependencies",
                      "optional-dependencies"
                  ]
              }
          }

Awesome!


LOD support

Awesome work!
Do you have any idea about how to enable Level of Detail control of point cloud rendering using your shaders?
One way I can think of is to discard some vertices in geometry shader, simply based on their vertexID.
You are very knowledgeable with Unity rendering, what would be your suggestion to integrate the LOD of this shader with Unity?

Before thinking about it, I'd like to define the premise.

Why do you need LOD? I guess that you're experiencing slow down on your environment, but I'd like to make sure what the motive is.
If you're experiencing slow down, how many points are there in the point cloud? Also I'd like to know the runtime environment (OS, CPU/GPU specs).

Defining the premise is important because it's not always effective to apply LOD to this kind of issues. If you're using low spec environment, LOD might work. If you're trying to render tons of point with an expensive PC, culling would be more important than LOD.

First, yes. My application is to render pointcloud on HoloLens. It is not super good computing device. With your point shader, it is able to render about 300k points. With disk shader, less than 100k points. Of course, under the condition that it renders at 60 fps (for good AR experience).
The point cloud can be always facing the user, will culling help in this case?

Okay. In that case, tweaking the per-point LOD is possibly an effective approach. What happens when changing this line:
https://github.com/keijiro/Pcx/blob/master/Assets/Pcx/Runtime/Shaders/Disk.cginc#L83
as follows:
int slices = 2;

If this change improves the performance, tweaks to the per-point LOD might work. If there is no performance gain, another approach (culling/decimating) should be taken.

Hi @keijiro ,
I actually tried doing that. But because the point shader is much faster than disk shader. Reducing the number of slices for disk shader is still slower than point shader (at least 3 vertex generated for each input vertex in disk shader). That's why I came to the solution of "discarding" vertex of point shader. Especially when the point cloud is like an RGBD dense cloud, where the "discarding" of vertex does not cause visual artifacts.

I'm closing this issue. Please feel free to reopen for further questions.


Updating dependencies: num-traits

 num v0.4.1 depends on  num-traits v0.2.15, but num-traits v0.2.18 is published and contains
num_traits::identities::ConstOne
and
num_traits::identities::ConstZero
Could we update the dependency?
Use case
This relates to dnsl48/fraction#104, where we want to implement these traits for the crate fraction.
Updating the dependencies of num avoids adding num-traits as a direct dependency.
Related issues
#406

Published num v0.4.2!


Add Achievements Models and API For Frontend

Summary
This Pull Request Adds Models and API with respect to the Achievement Feature for Source Academy Summer Programme 2020
Models Added

Achievements: Main Achievement to award students exp
AchievementGoals: Goals associated with each Achievement .

NOTE: An Achievement has_many AchievementGoals
NOTE: A User has_many AchievementGoals
APIs Added

GET achievements/: Get all achievements with respect to a user
POST achievements/: Update achievements given a json of achievements
POST achievements/update: Update a single achievement
DELETE achievements/: Delete a single achievement
DELETE achievements/goals: Delete a single goal

NOTE: Goals will be updated or added together through  POST achievements/
Todos:

[ ]  Add Tests for Controller and View
[ ] Get Approval for PR

Pull Request Test Coverage Report for Build 3011

6 of 106 (5.66%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-7.6%) to 87.369%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/cadet/achievements/achievement_goal.ex
0
2
0.0%

lib/cadet_web/router.ex
0
5
0.0%

lib/cadet_web/views/achievements_view.ex
0
6
0.0%

lib/cadet_web/controllers/achievements_controller.ex
0
29
0.0%

lib/cadet/achievements/achievements.ex
0
58
0.0%

Totals

Change from base Build 3005:
-7.6%

Covered Lines:
1086

Relevant Lines:
1243

💛  - Coveralls

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/cadet_web/router.ex
0
5
0.0%

lib/cadet_web/views/achievements_view.ex
0
6
0.0%

lib/cadet_web/controllers/achievements_controller.ex
0
25
0.0%

lib/cadet/achievements/achievements.ex
0
64
0.0%

By the way, would be good if you could write tests for these too.


Add hacs.json for easier install in home assistant using the community store.

You can already install this using custom repositories. but adding a hacs.json file helps with the integration a bit
an example hacs.json is as follows
{
  "domains": ["climate"],
  "name": "Home Assistant Frigidaire Integration",
  "render_readme": true,
  "homeassistant": "0.96.0"
}

@cpyarger I think I did this properly, but I don't have hacs to test it. Let me know if this works!

I made a change and sent a pull request
Warmest Regards,
Christopher P. Yarger
Phone:<PHONE_NUMBER>
Skype: cpyarger
/************************************
Based upon email reliability concerns,
please send an acknowledgment in response to this note.
On Thu, Jul 8, 2021 at 10:28 PM Brian Marks @.***>
wrote:

@cpyarger https://github.com/cpyarger I think I did this properly, but
I don't have hacs to test it. Let me know if this works!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bm1549/home-assistant-frigidaire/issues/2#issuecomment-876866285,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANSE6X5RRXK32PWO7EAKG3TWZNE5ANCNFSM5AB2JOLA
.


Minor bug: blueprint saves None for the first index

Somewhere frontend/backend
questions are saved as [,first question,second question]
there seems to be "empty" in the first index

when using database dummy, first index is placed in the edit-box


Migrate ::FeatureFlag and ::FeatureFlagsUser to ActiveRecord

Story details: https://app.clubhouse.io/cartoteam/story/104742
What does this PR do?

Migrates the ::FeatureFlag and ::FeatureFlagsUsere Sequel models to the ActiveRecord equivalents: Carto::FeatureFlag and Carto::FeatureFlagsUser
Unifies the API for reading user feature flags. Before the behavior was not coherent between ::User and Carto::User, and some method names were misleading.
Writes more specs for the modified methods

The acceptance in staging looked ✅ 👍

I tested updated feature flags from superadmin and if the flag was restricted it was preserved in CartoDB and if it was not restricted it was removed (in production it works like that)
Tested creating new feature flags from superadmin (both restricted and unrestricted) and the sync with CartoDB was ok


fix: Dropdown item icon size

Screenshot?

The solid icons (which should be used in this case, so that's correct) are designed to be rendered at 20px size.
Before

After


Episode download feature

Closes #131
Missing integration tests. Another issue is that after clicking "Download all", the download indicator of individual episodes doesn't change.

Codecov Report

Merging #158 (2be0d71) into main (40784cc) will decrease coverage by 4.20%.
The diff coverage is 31.25%.

@@            Coverage Diff             @@
##             main     #158      +/-   ##
==========================================
- Coverage   73.74%   69.54%   -4.21%
==========================================
  Files          50       52       +2
  Lines         419      463      +44
  Branches      108      121      +13
==========================================
+ Hits          309      322      +13
- Misses        102      130      +28
- Partials        8       11       +3

Impacted Files
Coverage Δ

src/lib/features/download-episode/lib/download.ts
0.00% <0.00%> (ø)

src/lib/features/listening-history/model/store.ts
0.00% <ø> (ø)

src/service-worker.ts
0.00% <0.00%> (ø)

src/lib/widgets/episode/ui/episode-card.svelte
50.00% <50.00%> (-4.55%)
:arrow_down:

...load-episode/ui/download-link-with-progress.svelte
75.00% <75.00%> (ø)

...s/podcast-episodes/ui/podcast-episodes-page.svelte
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

That's the main reason it's a draft

The CloudFlare build failure should be fixed once https://github.com/illright/worker-request-response/pull/1 is merged and released. As for the test failure, I have no idea what's going on there.


Is it time to deprecate Object.prototype extension?

There's more and more changes like this: https://github.com/nodejs/node/pull/6055
where objects no longer inherit from Object.prototype
Is it time to deprecate this feature in favor of a global variable or something like that?
Feel free to close this if you're tired of discussing Object.prototype, I understand.
Node.js version?
6
Should.js version?
any
How to reproduce it?
try asserting on the result of querystring.parse()

Hi, i am good with this disscussion. But Object.prototype method is not required at all, just call require('should/as-function') it you will have should without Object.prototype extension.
I do not see any reason for doing this now, users should just stop using it eventually after such changes and after this i can remove object.prototype extension safe and easy.


improve ValidateResult type

apply https://github.com/react-hook-form/react-hook-form/pull/2247 for yup string.matches
ref: https://github.com/react-hook-form/resolvers/issues/26

Thanks @kotarella1110


Update powered-by.md

添加使用公司

Ref #443

Coverage increased (+0.004%) to 12.298% when pulling db8318d26d58994439a16c0c11859fd35b34cb99 on landonzeng:patch-1 into 13f8825904d78bbae959cd38e4f555a99abe553d on apache:master.


updates

composer.json update
update on icon selector #331
tabs admin is now saving content when opened
bigfix in menu editing
bootstrap update
translate bug #316
fix in forms send
checkout moved to class
other updates

tabs admin is now saving content when opened
tabs admin should be saving page content(editable fields) BEFORE saving its own stuff in admin.
The reason being that whenever you change something in the modal, the html gets updated and you potentially lose "editable fields" text.
In my template i'm working on, this will be almost every single one.


Expand test_macros_evaluate_args_once to test more

In particular, add tests for transmute_mut! and try_transmute!.

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

Project coverage is 87.79%. Comparing base (b39c772) to head (174fd5f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1287      +/-   ##
==========================================
+ Coverage   87.76%   87.79%   +0.03%
==========================================
  Files          14       14
  Lines        5158     5171      +13
==========================================
+ Hits         4527     4540      +13
  Misses        631      631

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


Observatory server failed to start after 1 tries

#!/usr/bin/env bash
pub global run coverage:collect_coverage --port=8111 --out=coverage/coverage.json --resume-isolates --wait-paused &
dart --observe=8111 test/all.dart
pub global run coverage:format_coverage --packages=.packages --in=coverage/coverage.json --lcov --report-on=lib --out=coverage/lcov.info

With Dart 1.24.2, 1.25.0-dev.16.4 and
Dart VM version: 2.0.0-dev.8.0 (Fri Nov 17 13:56:30 2017) on "macos_x64"
 (add_tests) $ tool/codecov.sh
Observatory server failed to start after 1 tries
00:00 +0:  onInitializedChange should emit true when initialized
00:00 +1:  onInitializationCompleted should complete when initialized
00:00 +2:   change theme should update state and emit onThemeChange
00:00 +3:   change active screen should update state
00:00 +4:   change active tab should update state
00:00 +5:   changing active screen should clear active tab
00:00 +6:   invoking changeActiveScreen action with the name of the current screen, should not clear active tab
00:00 +7:   changing database should update state
00:00 +8:   onStateChange should emit an event when state changes
00:00 +9:   getUserProfile should cause the user profile to get loaded
00:00 +10:  actions.group.groupsChanged action should change group
00:00 +11:  actions.group.groupsChanged with group of owner should auto-select the group
00:00 +12:  GroupMessageComposeController initial state should be defined
00:00 +13:  GroupMessageComposeController createNewMessage action should update state
00:00 +14:  GroupMessageComposeController loaded message should update messages and messageEvent
00:00 +15:  GroupMessageListController timeago should format seconds ago
00:00 +16:  GroupMessageController (2) should create controllers for subsequently added messages
00:00 +17: JSON (de)serialization serialize - deserialize should result in the original value
00:00 +18: JSON (de)serialization deserialization should handle string dates correctly
00:00 +19: JSON (de)serialization deserialization should handle Uri correctly
00:00 +20: JSON (de)serialization serialize and deserialize should succeed for BabyProfile
00:00 +21: JSON (de)serialization serialize and deserialize should succeed for Group
00:00 +22: JSON (de)serialization serialize and deserialize should succeed for GroupBookEntry
00:00 +23: app reducer wasInitialized
00:00 +24: app reducer databaseChanged
00:00 +25: app reducer popupMessageAdded
00:00 +26: app reducer popupMessageCleared
00:00 +27: app reducer popupMessageRemoved
00:00 +28: app reducer themeChanged
00:00 +29: app reducer userProfileChanged
00:00 +30: app reducer ticked
00:00 +31: authentication reducer authenticatedUserChanged
00:00 +32: authentication reducer loggedInWithGoogle
00:00 +33: authentication reducer loggedOut
00:00 +34: database simple request should succeed
00:00 +35: database request should fail
00:00 +36:  should generate log record
00:00 +37:  log record should not print security sensitive information
00:00 +38: All tests passed!
vm-service: isolate(737052896)  'all.dart:main()' has no debugger attached and is paused at exit.  Connect to Observatory to debug.
Observatory server failed to start after 2 tries
Observatory server failed to start after 3 tries
Observatory server failed to start after 4 tries
Observatory server failed to start after 5 tries
Observatory server failed to start after 6 tries
Observatory server failed to start after 7 tries
Observatory server failed to start after 8 tries
Observatory server failed to start after 9 tries
Observatory server failed to start after 10 tries
Observatory server failed to start after 11 tries
Could not start Observatory HTTP server:
SocketException: Failed to create server socket (OS Error: Address already in use, errno = 48), address = localhost, port = 8111
#0      _NativeSocket.bind (dart:io-patch/socket_patch.dart:542)
<asynchronous suspension>
#1      _RawServerSocket.bind (dart:io-patch/socket_patch.dart:1124)
#2      _ServerSocket.bind (dart:io-patch/socket_patch.dart:1371)
#3      ServerSocket.bind (dart:io-patch/socket_patch.dart:1361)
#4      _HttpServer.bind (dart:_http/http_impl.dart:2500)
#5      HttpServer.bind (dart:_http:276)
#6      Server.startup.poll (server.dart:348:36)
<asynchronous suspension>
#7      Server.startup (server.dart:360:23)
<asynchronous suspension>
#8      main (dart:vmservice_io:239:12)

^C

This worked until a few hours ago, therfore looks like an issue on my site,
but I first saw it fail on Travis. Also reverting code changes doesn't make it work again.
Any idea?

That seems to be working again.
No idea what caused it to fail and what made it work again.

It started again recently

With
#!/usr/bin/env bash
pub global run coverage:collect_coverage --out=coverage/coverage.json --resume-isolates --wait-paused &
dart --observe test/all.dart
pub global run coverage:format_coverage --packages=.packages --in=coverage/coverage.json --lcov --report-on=lib --out=coverage/lcov.info

the error goes away but coverage doesn't seem to wait for all async code to complete.
This way the 2nd last (of ~200 tests) fails but it works fine when I run the tests without coverage.

same with
dart --pause-isolates-on-exit --enable-vm-service=8111 test/all.dart
pub global run coverage:collect_coverage --uri=http://localhost:8111 -o coverage/coverage.json --resume-isolates

which is more aligned with the docs (https://github.com/dart-lang/coverage/blob/master/README.md)

The error "Observatory server failed to start after" is gone again, but coverage still doesn't seem to wait for async code to complete :-/
It somehow looks like "Observatory server failed to start after" occurs when there is still a previous runs listening, but I checked several times that the port is not used.
Now I only get the error if a previous run still hangs in the background.

So is there a known fix? I always get this error when running pure dart projects.
/usr/local/opt/dart/libexec/bin/dart --enable-asserts --enable-vm-service:63603 /Users/thinkdigital/IdeaProjects/isolates_example/bin/main.dart
Could not start Observatory HTTP server:
SocketException: Failed host lookup: 'localhost' (OS Error: nodename nor servname provided, or not known, errno = 8)
#0      _NativeSocket.lookup.<anonymous closure> (dart:io-patch/socket_patch.dart:356)
#1      _RootZone.runUnary (dart:async/zone.dart:1381)
#2      _FutureListener.handleValue (dart:async/future_impl.dart:129)
#3      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:638)
#4      Future._propagateToListeners (dart:async/future_impl.dart:667)
#5      Future._completeWithValue (dart:async/future_impl.dart:482)
#6      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:512)
#7      _microtaskLoop (dart:async/schedule_microtask.dart:41)
#8      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#9      _runPendingImmediateCallback (dart:isolate-patch/dart:isolate/isolate_patch.dart:113)
#10     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:166)

I wasn't able to make this reliably reproducible.
Restarting your computer will probably fix it until you run into it again eventually.

I've gotten this since I started in March

Update. Still getting it. Trying to run unit tests in my flutter app.
pubspec.yaml:
dev_dependencies:
  flutter_test:
    sdk: flutter

student_test.dart

import 'package:test/test.dart';
import 'package:teddycare/src/shared/models/models.dart';
import 'package:teddycare/src/firebase_utils.dart';

void main(List<String> arguments) {
  group("Student data test", () async {
    var studentDocumentReference =
        firestore.collection("students").document("-LXtlghYpPyJwHn9QVfx");
    var studentDocument = await studentDocumentReference.get();
    Student testStudent = Student.fromDocument(studentDocument);
    var testStudentJson = testStudent.toJson();
    test("Name should be present", () {
      print(mapEquality(testStudentJson, studentDocument.data));
      expect(testStudentJson, studentDocument.data);
    });
  });
}

I'm fully up-to-date with Flutter and Dart SDK versions. I get this all the time from both VS Code and Android Studio, trying to debug tests. No amount of reboots are helping. I have based my Flutter app on the inKino project and I'm trying it in the pure Dart core folder of this project.
I'm not sure if I'm just making some noob mistake or it is related to this thread.
Observatory server failed to start after 11 tries Could not start Observatory HTTP server: SocketException: Failed host lookup: 'localhost' (OS Error: nodename nor servname provided, or not known, errno = 8) #0      _NativeSocket.lookup.<anonymous closure> (dart:io-patch/socket_patch.dart:386:9) #1      _RootZone.runUnary (dart:async/zone.dart:1379:54) #2      _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #3      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #4      Future._propagateToListeners (dart:async/future_impl.dart:668:32) #5      Future._completeWithValue (dart:async/future_impl.dart:483:5) #6      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #7      _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #8      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #9      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13) #10     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)

@jadusty , I put this to AndroidManifest.xml and it works fine for me. <uses-permission android:name="android.permission.INTERNET"/>

@jadusty Your dart:ui issue might be related to this: https://github.com/flutter/flutter/issues/27826

I get this all the time with pure Dart projects in the IDE tests or no
tests. And debugging simply doesn't work at all
On Tue, Jun 11, 2019, 6:27 AM Steven Spiel<EMAIL_ADDRESS>wrote:

@jadusty https://github.com/jadusty Your dart:ui issue might be related
to this: flutter/flutter#27826
https://github.com/flutter/flutter/issues/27826
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/31532?email_source=notifications&email_token=AFPYO7INS3PHIMZK5S5HJWLPZ6R4HA5CNFSM4EGVAXU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXNDPPA#issuecomment-500840380,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFPYO7NJWYPLTLSROYLPX5DPZ6R4HANCNFSM4EGVAXUQ
.

A fluke happened! I got it to work for a few hours today! I left the debugger paused while I did some other stuff and when I finally went back to restart the tests, I started getting this error again. (-_-) fun over. Any way I can help get to the root of this?

I have this problem too:

Observatory server failed to start after 1 tries
Observatory server failed to start after 2 tries
Observatory server failed to start after 3 tries
Observatory server failed to start after 4 tries
00:00 +0: AllLocales Tests returns AllLocales from json string
00:00 +1: Asset Tests returns Asset from json string
00:00 +2: Locale Tests returns Locale from json string
00:00 +3: Space Tests returns Space from json string
00:00 +4: SystemFields returns SystemFields from json string
00:00 +5: All tests passed!
Observatory server failed to start after 5 tries
Observatory server failed to start after 6 tries
Observatory server failed to start after 7 tries
Observatory server failed to start after 8 tries
Observatory server failed to start after 9 tries
Observatory server failed to start after 10 tries
Observatory server failed to start after 11 tries
Could not start Observatory HTTP server:
SocketException: Failed to create server socket (OS Error: Address already in use, errno = 48), address = localhost, port = 8111
#0      _NativeSocket.bind (dart:io-patch/socket_patch.dart:603:7)
<asynchronous suspension>
#1      _RawServerSocket.bind (dart:io-patch/socket_patch.dart:1218:26)
#2      _ServerSocket.bind (dart:io-patch/socket_patch.dart:1478:29)
#3      ServerSocket.bind (dart:io-patch/socket_patch.dart:1469:26)
#4      _HttpServer.bind (dart:_http/http_impl.dart:2534:25)
#5      HttpServer.bind (dart:_http:227:19)
#6      Server.startup.poll (dart:vmservice_io/server.dart:385:36)
<asynchronous suspension>
#7      Server.startup (dart:vmservice_io/server.dart:397:23)
<asynchronous suspension>
#8      main (dart:vmservice_io:257:12)

How to kill server on a port?

@jadusty , I put this to AndroidManifest.xml and it works fine for me. <uses-permission android:name="android.permission.INTERNET"/>

That's work for me

I solved the same problem after a long time. It is not just the INTERNET permission in AndroidManifest.xml. In my case, I received the same error, but I noticed that my project did not have the debug folder inside app> src.
I needed to create this folder manually and insert the file AndroidManifest.xml. With the code below:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="your_app_package_name">
    <uses-permission android:name="android.permission.INTERNET"/>
</manifest>

@jadusty , I put this to AndroidManifest.xml and it works fine for me. <uses-permission android:name="android.permission.INTERNET"/>

the code should be below the
 ?
or
outside of  ?

Solved issue with removing  from AndroidManifest.xml

@ShadowDeveloper Thanks for this reply man, that worked for me!
@BuddhaNag12 The code have to be inside the manifest tag exclusively.

have you fix this problem？ i got this error recently，and don't know how to fix


No link to main Collective page from workspace/settings

Who is your user?
Admin
What are they trying to achieve?
Jump from settings/workspace to the main page of the Collective/org. Often you want to see the main page after changing a setting, or see some info or take an action on the main page. The only link is to the main Open Collective homepage, which seems like a less likely place the user would want to go from here.
How are they currently doing this?
It used to be that the logo/name of the Collective you were in the settings section for was shown on the top left corner. But now that's been changed to a dropdown menu of all your Collectives. This menu is useful, but it means the link back to the page is gone and there doesn't seem to be another option to get there.

How well understood is this problem?

[ ] Surfacing: if you feel this is a seed of an idea that needs to be researched.
[ ] Understanding: if you've done some research and feel it is already well understood and ready for shaping.
[x] Shaping:  if you feel a solution is clearly defined and can be made into a pitch (read more about shaping)
[ ] Pitching: if you feel that it is ready to be presented for prioritisation (read more about pitching)

Also shared in https://github.com/opencollective/opencollective/issues/6646#issuecomment-1523312258
Note that this "Workspace" view is not released publicly yet, only for the core team.

Resolved in https://github.com/opencollective/opencollective-frontend/pull/9169


Pin sqlalchemy<2.0

The cosima-cookbook doesn't work with sqlalchemy 2 - see #320. This PR pins sqlalchemy to < 2.0.

@dougiesquire Will we try to support v2 at some point? Or we assume intake is the future? Just asking because the corresponding issue should be left open if the answer to the first question is yes. In any case, fine with me pinning the version, either temporarily or permanently.

Hmmm I don't know. I have no intention to update to v2, but someone else might want to? You're right that the issue should probably be left open. I've changed that now.


[bug/improvement] Backlinks list shouldn't include the current file

Great plugin! I have one issue with it though:
Steps to reproduce:

Create any file.
Put a link that points to the file itself.
Backlinks have a link to the same file, clicking on it does nothing.

There should either be an option to hide it (ideally), or this non-working link can be removed from the backlinks list, as putting links to note itself in H1 is a pattern that people use, as this allows to sync in-file H1 title with note title automatically.

Thanks for the suggestion.
This has been fixed in version 1.2.0