ui-sortable with 2 firebaseArray models

Hey there, so as mentioned in https://github.com/firebase/angularfire/issues/200 and https://github.com/angular-ui/ui-sortable/issues/421 using ui.sortable with firebaseArray currently is a bit messy, since the latter relies on .splice to move an array value from one ng-model to another ng-model, which doesn't get synced when used with a firebaseArray.
The use case is using multiple ui.sortable lists and to be able to move one item from one list, to another list. E.g. to easily create similar functionality to Trello, or other PM boards. Currently if I drag & drop an item from ng-model1 to ng-model2, then firebase gets out of sync, since the arrays have been spliced in that operation.
The current work-around that works for me is an ui-sortable.js override, which isn't so pretty. See the 2nd revision of this gist https://gist.github.com/mastef/0ae8ba7595cafad2c85f/revisions?diff=unified ( the first revision is the sortable.js itself, the 2nd revision are the $firebaseArray necessary changes )
2 reasons why this is not a nice work-around : It overrides ui-sortable to solely work with $firebaseArrays, so it won't work with normal arrays any longer, and secondly it hacks the core script.
Explanation of the edit :
https://gist.github.com/mastef/0ae8ba7595cafad2c85f/revisions?diff=unified#diff-639d008ea3358a52bf08d13ea75bbd58L280
We pick up an item in a list and drop it on another ng-model.
What happens in the code : Locate the item in the old model through $getRecord, save it in a temporary internal var and remove it from the old list.
https://gist.github.com/mastef/0ae8ba7595cafad2c85f/revisions?diff=unified#diff-639d008ea3358a52bf08d13ea75bbd58L228
We drop the item on another list, so we a) find out if there's an item located at the drop offset of the new list. If yes, we drop the current item with a smaller priority than the item we dropped it over.
If not, we assume that we dropped at the end of the list. Dropping temporary item with a maximum priority of 99999.
And b) finally we add the item with the new priority to the new ng-model.
https://gist.github.com/mastef/0ae8ba7595cafad2c85f/revisions?diff=unified#diff-639d008ea3358a52bf08d13ea75bbd58R277
Last but not least we recalculate priorities on each list change based on current index offset.
So this works very specifically with $firebaseArray and ui.sortable + multiple lists. Another way to achieve this would be to override the .splice, etc functions for $firebaseArray. But @katowulf I suppose you would know more about the issues this approach would come with.

Okay, so the following factory will essentially give you what you want. It's a checkpoint/save strategy, which will allow splice to be used freely on the synchronized array, and then, when saveChanges() is called, it determines what has changed in the array and makes appropriate updates.
app.factory('CheckpointArray', function($firebaseArray) {
  return $firebaseArray.$extend({
    checkpoint: function() {
      this._checkpointIds = this._buildIds();
    },

    saveChanges: function() {
      if (!this._checkpointIds) {
        throw new Error('No checkpoint declared. Can\'t save yet. You may need to wait until $loaded() completes.');
      }
      var oldIds = this._checkpointIds;
      var currentIds = this._buildIds();
      var recs = this.$list;
      var ref = this.$ref();

      this._checkpointIds = null;

      //console.log('oldIds', oldIds);
      //console.log('currentIds', currentIds);

      // look for removed records
      angular.forEach(oldIds, function(pos, key) {
        if (!currentIds.hasOwnProperty(key)) {
          //console.log('removed', key);
          ref.child(key).remove();
          delete this._indexCache[key];
        }
      }, this);

      // look for moved or added records
      angular.forEach(currentIds, function(pos, key) {
        var rec = this.$list[pos];
        if (pos !== oldIds[key] || pos !== rec.$priority) {
          //console.log('saving', rec.$id, oldIds[key], pos, rec.$priority);
          rec.$priority = pos;
          this._indexCache[key] = pos;
          this.$save(rec);
        }
      }, this);
    },

    _buildIds: function() {
      var ids = {};
      var ref = this.$ref();
      angular.forEach(this.$list, function(rec, i) {
        // to simplify prioritizing and moving things around
        // assign all records an id right away, even if they
        // have not been saved to the server before
        // they will be added when calling saveChanges()
        if (!rec.$id) {
          rec.$id = ref.push().key();
        }
        ids[rec.$id] = i;
      });
      return ids;
    }
  });
});

Here's a working proof of the factory. This should work fine with any sortable or drag drop tool which uses splice to modify the contents. The process for using the factory is:

call checkpoint() when you are going to hand off the array to ui-sortable or another service using splice()
let the service make its updates
when they are completed, call saveChanges() (and probably checkpoint() again) to apply the differences

There are a couple non-intuitive but critical things here that wouldn't be easy to figure out without knowing the internal workings of AngularFire--things I'll keep in mind while we work on the Angular 2 design.

Use Firebase.remove() instead of $remove, since the element doesn't exist in the array and therefore $remove would ignore the request.

Give every record added to the array a push id, rather than calling $add for similar reasons.

Update all the priorities to match the array ordering, so drag and drop and reordering work as expected.

Update this._indexCache any time we do the manual add/removes described in 1) and 2). This keeps the cached list of ids > array positions up to date.

Oh @katowulf this is amazing! This factory would still require to call saveChanges() everytime after a splice, pop, shift, unshift and split operation right?
Any thoughts on extending the prototype methods instead to call saveChanges() after the original method has run? ( I suppose you fiddled with this for a few more years than I did to see if such an approach would be actually sane :D )
This could even turn into a semi-official implementation of how to handle $firebaseArray's with all the array functionalities in place. Any huge limitations that you can see with this approach?

I fiddled with a few different ideas. This is really the best approach. Trying to save after each individual splice or op gets a bit schizophrenic (keep in mind we're getting changes from the server, too, so you're essentially trying to send data two directions through the same pipe).
It's also hard to tell when to actually perform the save without knowing all the details of the implementation. For example, when you splice a record out, should it be immediately removed? To move a record, you first splice it out and then put it in a different location (ideally that would trigger child_moved rather than child_removed and child_added).
Thus, a checkpoint/save is the most sane, as you suspected. If you want to automate this in some way, I'd try a debounce on saveChanges() that has a liberal pause.

Again, thank you @katowulf for your time on this - this is very valuable in working with Sortable Javascript Arrays in Angular and Firebase!

Absolutely fantastic! Have been working around this issue for months. Thanks!


eThaler

Signed-off-by: Vipin Bharathan<EMAIL_ADDRESS>Model a sample CBDC  in TTF and implement in Besu

LGTM.   This is a useful goal.


internal/pwru: Match entire string for --filter-func

Hi all,
Currently --filter-func=kfree_skb matches all functions whose name
contains the "kfree_skb" string, including __kfree_skb(), kfree_skbmem()
etc.  To match kfree_skb() only, one has to do something like
--filter-func="^kfree_skb$".
This is counterintuitive.  Match the entire string instead in
GetFuncs(), so that --filter-func=kfree_skb only matches kfree_skb().
To match all function names containing "kfree_skb", one should do
something like --filter-func=".*kfree_skb.*" instead.
Thanks,
Signed-off-by: Peilin Ye<EMAIL_ADDRESS>

Hey, thanks for the PR and sorry for the delay.

Thanks for the review.

I'm fine with the change. Could you update the flag description and README.md to mention the exact match and how wildcarded match can be set?

Sure of course, I just did a force-push.


translate.py only return one translation while k=5

I'm trying to translate using a trained model using translate.py. The problem is that translate.py writes only one translation in the output file while I set k=5.
After checking the source code, it seems that _translate function only returns the best translation among different available translations.

Hi, the translate.py script returns the best translated results using the beam search. So if you want all the other results along with the best one, you can copy/modify the script and make your own version.

Ahaa, k is the Beam Size not the number of possible outputs!
Thanks for your quick answer.


Wrong name

That's Ed Codd not Ted Codd.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 215182d0-24ae-dfb6-86dd-49e85fbf7f3c
Version Independent ID: 787cca3d-b87e-0a60-ded7-70fb8a0fcf0f
Content: Understanding the differences between Azure Cosmos DB NoSQL and relational databases
Content Source: articles/cosmos-db/relational-nosql.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @TheovanKraay
Microsoft Alias: thvankra

@jrbirdmanFA We are check this and make the change if required.

"Ted" was frequently attributed as a nickname for Mr Codd, and this is commonly known. I have no opinion on whether this should be expanded to his full name "Edgar F. Codd", or left as "Ted Codd". I think either are fine. But it should not be "Ed".

Then I’d make it Edgar.
From: Theo van Kraay @.>
Sent: Monday, April 12, 2021 7:11 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Diehl, Dave @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Wrong name (#73537)
"Ted" was frequently attributed as a nickname for Mr Codd, and this is commonly known. I have no opinion on whether this should be expanded to his full name "Edgar F. Codd", or left as "Ted Codd". I think either are fine. But it should not be "Ed".
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/73537#issuecomment-817721843, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGFHJNZAVN6DUVG4JOPAO7DTILIMZANCNFSM42VMDM3Q.

@jrbirdmanFA As mentioned by @TheovanKraay and other documents, we will keep this as "Ted". Please get back to us for any questions.

Yes "Ted Codd" is right per this wiki article: https://en.wikipedia.org/wiki/Edgar_F._Codd. We will leave it as is.
#please-close


Made minor changes to get_started_with_bq_tfdv_pipeline_components

Made minor changes to get_started_with_bq_tfdv_pipeline_components.

[x] This notebook has been added to the CODEOWNERS file under the # Community Notebooks section, pointing to the author or the author's team.
[x] Passes all the required formatting and linting checks. You can locally test with these instructions.

Notebook is working fine in colab and Workbench


How to make use of the API (start, waitStop) when using the Vue wrapper?

Issue
I'm using the Vue wrapper and there doesn't seem to be a way to start the fireworks in "stopped" mode, there is a "autostart" option that seems to be missing.
I'd like to use waitStop in order to have a graceful finish after a few seconds of fireworks.
Would really appreciate an example that makes use of Vue that showcases a start/waitStop flow.
Many thanks! Love your plugin!

@fireworks-js/vue is not completed, but you can use the vanilla fireworks-js package.
check out the current implementation under Vue.


Remove border radius on .disabled and .active

Fix #15830

This fix doesn't address the real problem—just the problem for active and disabled items. It should be properly disabled for all items. Thanks though!


Public ldap realm example

https://github.com/airbnb/airpal/issues/105
@andykram I've published an example realm on our own public repo that is something similar to what we use internally. Let me know if you would like me to change anything or if I could help in any way.

This looks great, thanks @J314Y


Missing include files in CMakeLists for install

Several files were missing in the CMakeLists in the include folder for installation:
--- a/include/CMakeLists.txt
+++ b/include/CMakeLists.txt
@@ -8,6 +8,8 @@ set(RAYLIB_CPP_HEADERS
   Camera2D.hpp
   Camera3D.hpp
   Color.hpp
+  FileData.hpp
+  FileText.hpp
   Font.hpp
   Functions.hpp
   Gamepad.hpp
@@ -16,6 +18,7 @@ set(RAYLIB_CPP_HEADERS
   Material.hpp
   Matrix.hpp
   Mesh.hpp
+  MeshUnmanaged.hpp
   Model.hpp
   ModelAnimation.hpp
   Mouse.hpp

Thanks for the mention. If you send up a Pull Request with the change, I'd be happy to merge them in.


Fix deployment

There seems to be a problem with the fixed(?) Java version in build.gradle

I received an Error: "org.gradle.jvm.toolchain.internal.ToolchainDownloadFailedException: No locally installed toolchains match and toolchain download repositories have not been configured."
It could be fixed by commenting out line 47-53.
However, after that the Error: "> Could not get unknown property 'javadocJar' for object of type org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler." occured
Which then was fixed by commenting out line 125-127.
I also tried changing the JDK version to a more recent one but it did not change anything.

@ZeynepDagtekin are you still able to reproduce the error? If so, could you please switch to branch https://github.com/JonasSchaub/ART2a-Clustering-for-Java/tree/issues-11-13-build and see whether it is fixed there? If you cannot reproduce the error anymore in your local environment (as I think you said yesterday), we can ask Max to test it, maybe.

So, yesterday I changed the JDK version back to what I originally had it set to and the errors went away, that's why I thought it works again. However, after I reloaded the build, I got the same issues.

I seem to have the same issue on that branch as well.

With what JDK version are you getting the error? Java 17 should make no issues here.

I have tried something else on the same branch, could you test again?

I got the error with Java 21, I changed it to Java 17 and it worked this time.
I tested again and switched back to Java 21 and it seems to work now?

I tested again and switched back to Java 21 and it seems to work now?

Does it work or does it not work? :D
I've added a plugin that automatically downloads the required Java toolchain if there is none locally available.


Database keeps loading after initial add

SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

Add Multiple Databases

I have been adding multiple databases from my azure SQL. One after another until I added a specific one that just kept loading and wouldn't let me open it.
I saw an error in the console that said:
[main 2:06:55 PM] Cannot find node status for session: objectexplorer://mydb.database.windows.net;databaseName=mydbname…upId=ed11069f-09e5-4a4b-92d4-fe60016f2c27;displayName=mydbnameand node path: mydb.database.windows.net/mydbname
warn @ workbench.main.js:146

After removing and adding again this issue resolved itself.

Closing older issues that we haven't been able to repro and haven't been upvoted.  Please reactive if this is still occurring on current builds.  Thanks!


⚠ Bofrost.hr has degraded performance

In db1e097, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 1141 ms

Resolved: Bofrost.hr performance has improved in 63dc877 after 6 minutes.


Remove leftover console logs

Description
Fixes this comment
Checklist

[x] I have tested this on a device/simulator for each compatible OS
[x] I updated the documentation with running yarn generate in the root folder
[x] I updated the typings files - if js interface was changed (index.d.ts)
[x] I added/ updated a sample - if a new feature was implemented (/example)

@mfazekas Should I ignore the failing checks?


Make sure dependency error reporting always works

In some cases, the logging from console.error is swallowed (e.g. when
using create-react-app and having multiple test files). By placing the
message in the error instead, it is shown.
Before this change and without having react-test-renderer as a dependency, this message would be shown:
    Cannot find module 'react-addons-test-utils' from 'react-compat.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:151:17)
      at node_modules/enzyme/build/react-compat.js:143:21
      at Object.<anonymous> (node_modules/enzyme/build/react-compat.js:214:5)

After this change, this is shown instead:
<EMAIL_ADDRESS>and react-test-renderer are implicit dependencies when using<EMAIL_ADDRESS>with enzyme. Please add the appropriate version to your devDependencies. See https://github.com/airbnb/enzyme#installation

      at Object.<anonymous> (node_modules/enzyme/build/react-compat.js:143:13)
      at Object.<anonymous> (node_modules/enzyme/build/Utils.js:65:20)
      at Object.<anonymous> (node_modules/enzyme/build/MountedTraversal.js:36:14)
      at Object.<anonymous> (node_modules/enzyme/build/ReactWrapper.js:35:25)
      at Object.<anonymous> (node_modules/enzyme/build/index.js:6:21)
      at Object.<anonymous> (src/App.test.js:2:41)
      at handle (node_modules/worker-farm/lib/child/index.js:41:8)
      at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:47:3)
      at emitTwo (events.js:106:13)
      at process.emit (events.js:194:7)
      at process.nextTick (internal/child_process.js:766:12)
      at _combinedTickCallback (internal/process/next_tick.js:73:7)
      at process._tickCallback (internal/process/next_tick.js:104:9)

Is there any specific reason console.error was used in the first place?

(separately, if console.error is swallowed in create-react-app, that's a bug in that tool - please do file it)

LGTM, merging


add the 6.s198 doc on genymotion to the app inventor site.

remember to edit out part about changing adb

#367

#367 was merged


BEGIN blocks in quasi blocks run too early

Hey, this is a funny one:
$ bin/007 -e='macro moo(x) { return quasi { BEGIN { say({{{x}}}) } } }'
Should never hit an unquote at runtime
[...]

The error message is of the "this situation is impossible and should never happen" variety. BEGIN blocks should by their nature run ASAP, which is usually just as we parse the } of the BEGIN block.
But not in this case, because of the unquote inside of it. It needs to wait until it's expanded in real code somewhere. (I asked #perl6 whether we expect the BEGIN block to fire only at the first expansion, or at each one.)
Just to be clear, here's the expected semantics:

BEGIN blocks without unquotes in them: fire immediately, just like today.
BEGIN blocks with unquotes: fire at expansion, which is the earliest point at which they contain "complete" code.

Actually, after some further discussion on #perl6, TimToady surprisingly (and arnsholt and vendethiel champion) the approach of letting all BEGIN blocks defer until expansion time. (Even ones that don't have unquotes.)
As I pointed out, it's all about which type of consistency we prefer. So I'm fine with always deferring the BEGIN blocks. On reflection, that might be easier both to implement and to explain than the alternative.

sorry I hadn't replied earlier. I'm indeed in the camp of "always defer until expansion time". I don't see BEGIN as very different from a macro that evals its ast, tbh.

That's an interesting interpretation of BEGIN. Hadn't thought of it that way.
Unfortunately, there's no way to express that in pure 007. The closest I get is "hand the AST to an ambient runtime", which sort of comes down to the same thing:
macro statement:<BEGIN>(block_ast) is parsed /"BEGIN" <block> <.eat_terminator>/ {
    runtime.run(block);
}

That <.eat_terminator> shouldn't be there; that's handled on the statementlist level.

Coming back to this issue done two years later, I'm happy to report that my brain has now been so warped by macro thinking that I'm also fully in the "always defer until expansion time" camp. (Ping @vendethiel.) I think what swayed me was the realization (covered at length here and then elaborated in #334) that quasis are not code and unquotes are not Qnodes.

Also, shout-out to #467.

(Ping @vendethiel.)

I think I once said defmacro BEGIN(x) { melt(x); } ;-).


Company Order

As a visitor, I'd like the companies to be ordered.
AC:

Companies on the index page are automatically ordered alphabetically
Optional: User can sort companies

This might work too: https://stackoverflow.com/questions/14668553/how-to-sort-table-columns-in-rails

Now on Master


[BUG] Some timestamps in druid query are missing timezone

Notice: this issue has been closed because it has been inactive for 549 days. Feel free to comment and request for this issue to be reopened.


feat: add support for LLamaMLP in extract_sub_network

Reference Issues/PRs
https://github.com/whittle-org/whittle/issues/139
What does this implement/fix? Explain your changes.
Extract sub-network worked only for GPTNeoxMLP, but not for LLamaMLP. I added a function that check for both cases and raises a ValueError if a different MLP class is used.
Minimal Example / How should this PR be tested?
We should include a test to test_extract.py - similar to extracting a smaller pythia, but with LLamaMLP
Any other comments?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.

LGTM! Could you extend the unit test to test these cases? Could be also a separate PR, but we might want to open an issue to not forget it.

@aaronkl  I added the test for a supernet that uses a LlamaMLP


[Minor issue] Path characters issue

Setup: Win7x86 and x64
Steps:

Add DOCX file from C:\Temp2 to the program

Defect: Displays " \ " characters as " ¥ "

This symbol  represent a path in the Japanese environment.
I will try to correct.


Option to share a set of files

Do it in tar-ish way?

Can be done by implementing custom http.FileSystem

There is a tar archive fs, that may work for this.
Awsome project btw

tar does not work for random access (that's why zip is here). By tar way I mean arguments -
something like
onionize file1 file2 file3 ... .
Thanks.

Implemented in 5a20e104dc21230777623d6965f0d629f0fc8cd6,


Example decode-tiff don't work

When I drop a tiif file, console output:
decode-tiff.min.js:1 Uncaught Error: Compression is not implemented.
at i (decode-tiff.min.js:1)
at decode-tiff.min.js:1
at Array.map ()
at decode (decode-tiff.min.js:1)
at FileReader.reader.addEventListener.e ((index):48)

I'm gonna guess that you are trying to decode a compressed .TIFF. This is explicitly not supported in the README

It doesn't work with uncompressed .tiff, etiher. Specifcally, none of these seem to work.


Update encode/transcode input files with SC params metadata

Test case updates to cover the fix for https://github.com/KhronosGroup/KTX-Software/issues/851

I am using our test file generator tool I shared with you a while ago.
It does manual construction of the KTX2 files, and hence can be modified to include new metadata, and while it does involve some coding, after that's done the re-generation is fast (although I still have to manually verify those with the info tool to be sure).


Add option to install OpenBSD snapshots

Add option to install OpenBSD snapshots

https://github.com/antonym/netboot.xyz/pull/52

This has been merged.


IndexError: index 3678 is out of bounds for dimension 1 with size 3024

I keep getting IndexError: index 3678 is out of bounds for dimension 1 with size 3024 when training my models. May I know what I am doing wrong?

Hello Wooden
Load data: Begin
Load data: End
0%|                                                                                | 0/300000 [00:00<?, ?it/s]
Traceback (most recent call last):
File "exp_runner.py", line 392, in
runner.train()
File "exp_runner.py", line 105, in train
data = self.dataset.gen_random_rays_at(image_perm[self.iter_step % len(image_perm)], self.batch_size)
File "/home/user/NeuS/models/dataset.py", line 119, in gen_random_rays_at
mask = self.masks[img_idx][(pixels_y, pixels_x)]      # batch_size, 3
IndexError: index 3678 is out of bounds for dimension 1 with size 3024

May I ask if you have solved this problem? Is there any corresponding solution recommended？


counters miscounting

As discussed on Slack with @camallen  and @marten, there are subjects that are being retired before they have the necessary number of classifications. For wildebeest, the threshold is 15 classifications but there are several subjects that are being retired before they reach that. For example, for workflow 6 (and 6 for project_id of wildebeest), subject 493554 has 9 classifications according to SELECT workflow_id from classifications where project_id=6 and subject_ids = ARRAY[493554].

The above is the result from Marten doing a different search for that same subject and finding 17 classifications.

@marten did you find 15 or 9?

This subject has a single set_member_subject.
The subject_workflow_counts table has a counter saying 17 classifications.
Looking at the classifications table I find 9 rows referencing this subject in the subject_ids array.

Something else that catches my eye:
The last classification made was created_at 2015-08-26 18:50:08 and updated_at 2015-08-26 20:24:32.
The counter was updated and retired_at: 2015-08-26 19:18:47.230958
For one, this was before the Tate/Wildcam performance issues. But there was still quite the (queue-related I presume) delay between receiving the classification and performing the count worker?

Are you sure it's the counters miscounting and not classifications being misplaced?

Pretty sure. We found a way in which the retirement counter might be incremented multiple times for a single classification. And the timestamps of retirement match the timestamps of the last classification we have in the DB well enough; up to 30 minutes delay can be explained by queue delay much better than that we had 2 classifications spread across days and then suddenly 8 lost classifications within 30 minutes.

Well that's reassuring, at least. Good that we're not losing classifications!

I'm noticing this issue with fossilfinder - retirement age set at 10 - some retiring at 1, others at 14 (the vast majority are at 10 though) - I can understand the overcount but I don't understand what would cause subjects to be retired early.

@AdrianEvans we're possibly counting the same classification multiple times, so you may see 1 classification but we're counting that possibly over the retirement threshold.

we should probably recount for all launched projects like we did for GZ bars.

this should be fixed but we may need to recount for certain projects


Hyperparameter request for reproducibility

I'm training the segmentation EfficientViT B1 on Cityscapes, and achieving ~0.6 mIoU, however the reported results are around 0.8 mIoU.
Would you be able to offer some guidance or share more details around the hyperparameters?
My setup is:

1024 x 2048 resolution
Backbone starts from the ImageNet checkpoints you have provided
Num Epochs: 100
LR: 0.005 with cosine annealing to 0
Batch Size: 2 (I'm limited by hardware at this resolution)
AdamW optimizer
Focal Loss w/ equal class weights

Any augmentations? Anything else that can help?

I'm training the segmentation EfficientViT B1 on Cityscapes, and achieving ~0.6 mIoU, however the reported results are around 0.8 mIoU.
Would you be able to offer some guidance or share more details around the hyperparameters?
My setup is:

1024 x 2048 resolution
Backbone starts from the ImageNet checkpoints you have provided
Num Epochs: 100
LR: 0.005 with cosine annealing to 0
Batch Size: 2 (I'm limited by hardware at this resolution)
AdamW optimizer
Focal Loss w/ equal class weights

Any augmentations? Anything else that can help?

Hi @ovunctuzel-bc , this seems good hyperparameters for training. First of all one thing to ask, there is no official release of training code for segmentation EfficientViT except for SAM variant right? How did u get the code reference. If you just guide then it would be very useful for me as well.

A fairly standard pytorch training loop seems to work fine. The results are satisfactory but not quite at the level of the pretrained model.


upgrade to duckdb 1.1.1

@mkaruza looks like there's a diff to apply to httpfs

oh this is actually due to -Wall. easy fix though.


HDDS-5240. Fix out of bound exception when auditparser load

What changes were proposed in this pull request?
ozone auditparser ~/audit.db load /logs/om-audit.log
The command throw out of bound exception:
Index 6 out of bounds for length 6.
The audit log like this

There is "\n" after "partNumber: 1" and "partName***"
so, bReader.readLine() only read before the first "\n"
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5240?filter=-2
How was this patch tested?
UT

@adoroszlai @dineshchitlangia Could you help to review this patch?

+1 LGTM


Object-oriented monitoring mode

Description of the change
Refactor artillery task code to used object-oriented techniques including polymorphism.

Merging now that tests are passing.


GHC 8.4.1 overrides not being applied consistently

Issue description
When building individual packages the overrides in https://github.com/NixOS/nixpkgs/pull/34404 seem to be working correctly, but when building multiple packages the overrides don't seem to be taking effect.
Steps to reproduce
This expression works:
let
  inherit (import <nixpkgs> {}) fetchFromGitHub;
  nixpkgs = import (fetchFromGitHub {
    owner  = "NixOS";
    repo   = "nixpkgs";
    rev    = "a9268dd694c27700c78b2f14136493a935b738aa";
    sha256 = "01wfrirg5yxrx48n4g7fp9yazk54nja1yvf5j9si4pskh47xs3m9";
  }) {};
  haskellPackages = nixpkgs.haskell.packages.ghc841.extend (self: super: {
    haskell-src-exts  = self.callCabal2nix "haskell-src-exts" (nixpkgs.fetchFromGitHub {
      owner  = "haskell-suite";
      repo   = "haskell-src-exts";
      rev    = "935f6f0915e89c314b686bdbdc6980c72335ba3c";
      sha256 = "1v3c1bd5q07qncqfbikvs8h3r4dr500blm5xv3b4jqqv69f0iam9";
    }) {};
  });
in
haskellPackages.ghcWithPackages (p: [ p.haskell-src-exts ])

This one does not:
let
  inherit (import <nixpkgs> {}) fetchFromGitHub;
  nixpkgs = import (fetchFromGitHub {
    owner  = "NixOS";
    repo   = "nixpkgs";
    rev    = "a9268dd694c27700c78b2f14136493a935b738aa";
    sha256 = "01wfrirg5yxrx48n4g7fp9yazk54nja1yvf5j9si4pskh47xs3m9";
  }) {};
  haskellPackages = nixpkgs.haskell.packages.ghc841.extend (self: super: {
    haskell-src-exts  = self.callCabal2nix "haskell-src-exts" (nixpkgs.fetchFromGitHub {
      owner  = "haskell-suite";
      repo   = "haskell-src-exts";
      rev    = "935f6f0915e89c314b686bdbdc6980c72335ba3c";
      sha256 = "1v3c1bd5q07qncqfbikvs8h3r4dr500blm5xv3b4jqqv69f0iam9";
    }) {};
  });
in
haskellPackages.ghcWithPackages (p: [ p.hlint ])

Technical details

system: "x86_64-linux"
host os: Linux 4.9.77, NixOS, 17.09.2875.c2b668ee726 (Hummingbird)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.12pre5873_b76e282d
channels(vaibhavsagar): "nixpkgs-unstable-18.03pre121255.45a85eaceb"
channels(root): "nixos-17.09.2875.c2b668ee726"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Explained by https://github.com/NixOS/nixpkgs/blob/8ff7ac4859b52baa7378a6a8028d4ec5aea11e85/pkgs/development/haskell-modules/configuration-common.nix#L611


/admin/speakers and /admin/admins are visible to anonymous users

Steps required to reproduce the problem

not be logged in
go to one of those urls
see stuff

Expected Result

This should not happen

Actual Result

It happens

yowza!!

Sigh. I hate that trait with a passion for exactly this reason haha. Visibility on those methods was recently changed to public, which killed the magic method on AdminAccessTrait that sets up __call.
Can be fixed by demoting visibility OR by manually checking OR at routing layer. I'm away from a terminal at the moment and can't fix this but if I see nothing when I get back tonight, I'll send a patch.

See 3d46f38

I did a quick patch on cascadiajs that seemed to fix the issue: https://github.com/cascadiajs/opencfp/commit/4245d4f00beeb6c3facac4dc1b99ff1faf53c0aa
Probably not ideal, but it seems to work.


Make all calls idempotent

In GitLab by @arcln on Jan 28, 2020, 00:53

In GitLab by @arcln on Feb 23, 2020, 22:53
changed title from Make {-CreateVolume() and DeleteVolume()-} idempotent to Make {+all calls+} idempotent

In GitLab by @arcln on Mar 11, 2020, 04:54
mentioned in merge request !16

In GitLab by @paul.laffitte on Oct 8, 2020, 20:20
mentioned in commit 490649820e2e155a0f8799a23d0b6a309bd2e424


Folder not download

We are able to download the file but not able to download folder.

What version of Filemin do you use?

We are using webmin 1.791

I bet you're using Filemin bundled with Webmin, that's outdated.
Here is the instruction how to install latest version.


Use realm icons for quick mobile organization switcher

We just merged into master and deployed to chat.zulip.org https://github.com/zulip/zulip/pull/3740, which adds support for admin-uploaded realm icons.  Realm icons are the same size as avatars, 100x100.
The URL is available in the /register request request, if we have realm in the want list, which I assume we already have since it contains useful settings data.
There are 2 fields that adds to the /register response:

realm_icon_url (the URL for the realm's icon, all we should need).  This will always be present even if the user hasn't customized it (will fall back to gravatar), but only on the very latest server versions (effectively 1.6); we should put in some form of constant fallback I guess for older servers.
realm_icon_source (needed only for the admin UI to change it, since this controls whether to show the "delete and go back to gravatar button")

@timabbott can we get the /favicon.png type of alias?

yeah I can work on that next.

Actually, thinking about this a bit more, I'm not entirely sure that there's a purpose in creating that alias.  We need to cache several pieces of data about each realm:

The server URL
The realm icon URL
The realm icon image itself (at least if we want to avoid needing Internet access to access the switcher)
The email address and API key
If we want to enhance the login screens the way we have on web, the realm's human-readable name (e.g. "The Zulip development community" and description.

Is there really benefit to having a convenience URL for getting the icon URL alone?
It might instead make sense to add those extra fields to the payload returned by /api/v1/get_auth_backends, which is the thing that the app fetches from when a user enters a server URL.  What do you think of that approach?

Chatted with Boris briefly, and I think we're agreed to go with this approach.
I've implemented it as GET /api/v1/server_settings, soon to be merged and deployed to chat.zulip.org.
An important detail is that there are 2 cases here:

(1) The realm is known based on the URL, e.g. on a single-realm server (chat.zulip.org) or on a subdomains server (example.zulipchat.com)
(2) The realm is not known based on the URL, e.g. a multi-realm server not using subdomains.  We will likely eventually deprecate this use case, since it's kinda a pain (or move it to require them using e.g. zulip.example.com/realm1, zulip.example.com/realm2 style login URLs).  But for now we need to support this.  In this case, the realm_name field will not be set.

Here's the (provisional) format for the structure, straight from our backend tests for the new endpoint:
+        without_realm_schema_checker = check_dict_only([
+            ('authentication_methods', check_dict_only([
+                ('google', check_bool),
+                ('github', check_bool),
+                ('dev', check_bool),
+                ('password', check_bool),
+            ])),
+            ('realm_uri', check_string),
+            ('zulip_version', check_string),
+            ('msg', check_string),
+            ('result', check_string),
+        ])
+        with_realm_schema_checker = check_dict_only([
+            ('zulip_version', check_string),
+            ('realm_uri', check_string),
+            ('realm_name', check_string),
+            ('realm_description', check_string),
+            ('realm_icon', check_string),
+            ('authentication_methods', check_dict_only([
+                ('google', check_bool),
+                ('github', check_bool),
+                ('dev', check_bool),
+                ('password', check_bool),
+            ])),
+            ('msg', check_string),
+            ('result', check_string),
+        ])

(This means that clients such as the mobile apps will need to do something reasonable in the event that no name/description/icon are available).  I guess the alternative approach we could take is providing some default values from the server in that case; I think it's reasonable to change to that model if desired since nothing is using the new endpoint yet.
@akashnimare @geeeeeeeeek FYI, since you may find this useful as a better replacement for checking whether a given server URL is a valid Zulip server than looking for zulip.ogg.  Though of course we'll likely need to keep backwards-compatibility code for servers that don't support this for years).

Backend feature merged as 51260b7536d0d7fffc9c4583f04d1a0ccc473ecb; I'll deploy this to chat.zulip.org shortly.
I guess one advantage for using the old /get_auth_backends endpoint rather than a new endpoint name is that old one is guaranteed to exist even on older servers, so we'd need to write less client code.  It'd be easy enough to add the new data to get_auth_backends for now if we wanted.  Let me know what you think @borisyankov!

Looks pretty good.
Backwards compatibility is always a bummer, good that you mentioned it.

@timabbott Will change server validation in Zulip-Electron using this api.

@timabbott Plus, does previous versions of Zulip have this endpoint?

I think it was introduced in 1.5
There definitely are versions that do not support this, not sure if we want to handle it.

Introduced in 1.6, which isn't even released yet.

You mean the who server settings API is new? Seems that I should handle the
case if it's not there.
On Fri, Jun 2, 2017, 2:48 AM Tim Abbott<EMAIL_ADDRESS>wrote:

Introduced in 1.6, which isn't even released yet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip-mobile/issues/392#issuecomment-305585013,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG7R-9y7ajHOJE2lnhY8q65wB9w15I1Rks5r_weQgaJpZM4MMhJ-
.

Yes, exactly, the /server_settings API endpoint is new.


Compilation under Windows 7 MinGW64/32 fails.

After a lot of tries, I finally got NP2Kai to almost compile. First, it complained that -lmingw32 was not found. I realized that the resulting executable would be 32 bits, so I installed the 32 bits toolchain version that you specify on the README.
However, I get the following issue:
"../sdl2/win32/main.o: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile21.win:67: np21kai] Error 1"
This is the text of sdl2/win32/main.c:
"/**

@file	main.c
@brief	C
*/

#include "compiler.h"
#include "np2.h"
#include "..\fontmng.h"
#pragma comment(lib, "SDL2.lib")
#pragma comment(lib, "SDL2main.lib")
#pragma comment(lib, "zlib.lib")
#if !defined(RESOURCE_US)
#pragma comment(lib, "SDL2_ttf.lib")
#endif
/**

C

@param[in] argc ø

@param[in] argv ø

@return Ug R[h
*/
int main(int argc, char *argv[])
{
UINT nLength;
TCHAR szFont[MAX_PATH];
nLength = GetWindowsDirectory(szFont, SDL_arraysize(szFont));
lstrcpy(szFont + nLength, TEXT("\Fonts\msgothic.ttc"));
fontmng_setdeffontname(szFont);
return np2_main(argc, argv);
}"

What could be the issue?
Also, it's worth menctioning that during compilation, an error was obtained: in the sdl2/dosio.c file, in the 193th line, there's a bug, as mkdir() only accepts one instruction. You can fix this by transforming it into _mkdir.
Thank you for your help!

I tuned SDL2 build on Windows(MSYS2 64bit's 32bit console).
It needs installing 'mingw-w64-i686-SDL2' etc and 'mingw-w64-i686-gcc' packages.
I fixed README.
Sorry to your inconvenience.

After many months, I realized that I had forgotten to comment here.
Well, I had compiled NP2Kai, and it worked, but I dislike the SDL2 GUI and find it lacking in features the X11 port has.
Sorry for leaving this issue open for so long!


[Enhancement] Redesgined contact page

Issue #1088
Enhanced the contact page with much better UI.
Before:

After:

Happy Hacking!

Thanks Sir!


FunctionAdd cbrt function for doris

Proposed changes
Issue Number: close #12429
Problem summary
Add cbrt function for doris,this function returns the cube root of a double value.
Checklist(Required)

Does it affect the original behavior:

[x] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[x] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Can you also implement this function in a vectorization engine?

Can you also implement this function in a vectorization engine?
The code in the picture implements cbrt function in a vectorization engine. I refer to the vectorization of sqrt function.

Can you also implement this function in a vectorization engine?
The code in the picture implements cbrt function in a vectorization engine. I refer to the vectorization of sqrt function.Do I need to add any other code？

Sorry, I missed it.

Need to add documentation for this function

I have completed the documentation of this function, and found that many mathe functions documentation is missing, I will complete it next.


Flutter web throws errors when using Chrome broswer on Android/iOS phones

Steps to reproduce

Build Flutter with either flutter build web or flutter build web --web-renderer canvaskit
Push to Github and deploy github pages.
Load app on desktop. Works well.
Load app on mobile Chrome browser.
Loads first page, but hangs when trying to load a Flame game.

Expected results
Should be able to play game on both Desktop and Mobile.
Actual results
Flutter app hangs when trying to load a Flame game.
Code sample
Code sample
I am loading a GameWidget from the Flame package. I suspect the tilemap or sprite image rendering has a problem on mobile browsers.
class GameWidgetWrapper extends StatelessWidget {
  final bool loadFromSave;

  const GameWidgetWrapper({super.key, required this.loadFromSave});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: ClipRect(
        child: SizedBox(
          width: gameWidth,
          height: gameHeight,
          child: GameWidget(
            game: GomilandGame(
              gameStateBloc: context.read<GameStateBloc>(),
              playerStateBloc: context.read<PlayerStateBloc>(),
              progressStateBloc: context.read<ProgressStateBloc>(),
              dayStateBloc: context.read<DayStateBloc>(),
              loadFromSave: loadFromSave,
            ),
            overlayBuilderMap: {
              'Loading': (BuildContext context, GomilandGame game) {
                return const LoadingOverlay();
              },
              'ConfirmExitRoom': (BuildContext context, GomilandGame game) {
                return ConfirmExitRoom(game: game);
              },
              'GameMenu': (BuildContext context, GomilandGame game) {
                return GameMenu(game: game);
              },
              'ConfirmExitGame': (BuildContext context, GomilandGame game) {
                return ConfirmExitGame(game: game);
              },
              'MuteButton': (BuildContext context, GomilandGame game) {
                return const MuteButton();
              },
            },
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
Uncaught TypeError: Cannot read properties of null (reading 'readPixels')
    at Pg.E1 (main.dart.js:34438:5)
    at E_.IF (main.dart.js:53394:5)
    at main.dart.js:94147:16
    at aGG.a (main.dart.js:4468:62)
    at aGG.$2 (main.dart.js:41098:14)
    at Object.o (main.dart.js:4454:10)
    at RM.afa (main.dart.js:94157:10)
    at RM.uV (main.dart.js:94138:19)
    at main.dart.js:94031:14
    at aGG.a (main.dart.js:4468:62)

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.19045.4046], locale en-GB)
    • Flutter version 3.16.5 on channel stable at C:\Users\limch\Documents\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (2 months ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\limch\AppData\Local\Android\Sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.8)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Visual Studio Build Tools 2019 version 16.11.32002.261
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2023.2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.86.2)
    • VS Code at C:\Users\limch\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.82.0

[√] Connected device (4 available)
    • M2010J19SG (mobile) • 8bbb5f8a0421 • android-arm64  • Android 12 (API 31)
    • Windows (desktop)   • windows      • windows-x64    • Microsoft Windows [Version 10.0.19045.4046]
    • Chrome (web)        • chrome       • web-javascript • Google Chrome 122.0.6261.70
    • Edge (web)          • edge         • web-javascript • Microsoft Edge 122.0.2365.52

[√] Network resources
    • All expected network resources are available.

• No issues found!

Not sure if this is related but I also occasionally get the same error in Android Studio. It is inconsistent and I have not been able to isolate the problem:
RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
canvaskit/chromium/canvaskit.js 93:75                               Ea
canvaskit/chromium/canvaskit.js 168:377                             k
canvaskit/chromium/canvaskit.js 115:52                              <fn>
canvaskit/chromium/canvaskit.js 105:260                             <computed>
canvaskit/chromium/canvaskit.js 33:9                                g
canvaskit/chromium/canvaskit.js 43:340                              readPixels  // <---- seems like it is the same error
lib/_engine/engine/canvaskit/canvaskit_api.dart 1165:7              SkImageExtension.readPixels
lib/_engine/engine/canvaskit/picture.dart 108:38                    toImageSync
packages/flame_tiled_utils/src/image_batch_compiler.dart 39:26      compileMapLayer

Hi @xjyribro, you are using an older version of flutter. Kindly upgrade to the latest version of flutter (3.19.2) to see if you still experience this issue. If you do, please provide a complete runnable reproducible code sample so that we can investigate this issue.
Thank you

Hi @danagbemava-nc
I have upgraded to Flutter (3.19.2). The error is still there. This is the link to find the deployed Flutter web demo: https://xjyribro.github.io/xjyribro.gomiland.io/. It works with Desktop Chrome but not mobile.
This is the link to the full repo: https://github.com/xjyribro/gomiland. Thanks for the assistance!

Hi @xjyribro, the repo provided is huge, could you provide one with only the relevant code required to reproduce the bug so that it can be properly investigated? Can you also try reaching out to the flame team to see if they can offer any assistance?
Thank you

Ok I will work on a minimum repo. In the meantime, I ran the app in profile mode. The issue is coming from a package called flame_tiled_utils.
This is the better stacktrack:
at Object.throw_ [as throw] (errors.dart:297:3)     at _engine.SurfaceCanvas.__.drawAtlas (canvas.dart:451:5)     at sprite_batch.SpriteBatch.new.render (sprite_batch.dart:378:13)     at orthogonal_tile_layer.OrthogonalTileLayer.new.render (tile_layer.dart:145:16)     at renderable_tile_map.RenderableTiledMap.new.render (renderable_tile_map.dart:414:12)     at image_batch_compiler.ImageBatchCompiler.new.compileMapLayer (image_batch_compiler.dart:29:12)

@danagbemava-nc
I created the minimal repohere: https://github.com/xjyribro/tiled_test. Instructions in the readme file. Instructions in the readme file.
I also opened an issue with the Flame package also. https://github.com/flame-engine/flame/issues/3067

Hi @xjyribro, is this the error you get with the minimal repro?
errors.dart:297 Uncaught (in promise) Error: TypeError: null: type 'Null' is not a subtype of type 'JavaScriptObject'
    at Object.throw_ [as throw] (errors.dart:297:3)
    at Object._failedAsCheck (rti.dart:1385:3)
    at dart_rti.Rti.new._generalAsCheckImplementation (rti.dart:1363:3)
    at _engine.CkPicture.new.toImageSync (picture.dart:100:47)
    at image_batch_compiler.ImageBatchCompiler.new.compileMapLayer (image_batch_compiler.dart:39:26)
    at game.GomilandWorld.new._loadMap (game.dart:53:33)
    at _loadMap.next (<anonymous>)
    at runBody (async_patch.dart:84:54)
    at Object._async [as async] (async_patch.dart:127:5)
    at [_loadMap] (game.dart:39:24)
    at game.GomilandWorld.new.onLoad$ (game.dart:80:11)
    at onLoad$.next (<anonymous>)
    at async_patch.dart:45:50
    at _RootZone.runUnary (zone.dart:1661:54)
    at _FutureListener.thenAwait.handleValue (future_impl.dart:162:18)
    at handleValueCallback (future_impl.dart:838:44)
    at _Future._propagateToListeners (future_impl.dart:867:13)
    at [_completeWithValue] (future_impl.dart:643:5)
    at future.dart:524:22
    at _RootZone.runUnary (zone.dart:1661:54)
    at _FutureListener.then.handleValue (future_impl.dart:162:18)
    at handleValueCallback (future_impl.dart:838:44)
    at _Future._propagateToListeners (future_impl.dart:867:13)
    at [_completeWithValue] (future_impl.dart:643:5)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:713:7)
    at Object._microtaskLoop (schedule_microtask.dart:40:11)
    at _startMicrotaskLoop (schedule_microtask.dart:49:5)
    at async_patch.dart:181:7

No this this is my error:
Uncaught (in promise) Error: UnimplementedError
    at Object.throw_ [as throw] (errors.dart:297:3)
    at _engine.SurfaceCanvas.__.drawAtlas (canvas.dart:451:5)
    at sprite_batch.SpriteBatch.new.render (sprite_batch.dart:378:13)
    at orthogonal_tile_layer.OrthogonalTileLayer.new.render (tile_layer.dart:145:16)
    at renderable_tile_map.RenderableTiledMap.new.render (renderable_tile_map.dart:414:12)
    at image_batch_compiler.ImageBatchCompiler.new.compileMapLayer (image_batch_compiler.dart:29:12)

@xjyribro, did you run with the --web-renderer canvaskit flag? If not, I think you might be using the html renderer and I don't think this is supported yet with that renderer.

@danagbemava-nc
Ah ok with the flag --web-renderer canvaskit . I get the same error as you.
errors.dart:297 Uncaught (in promise) Error: TypeError: null: type 'Null' is not a subtype of type 'JavaScriptObject'
    at Object.throw_ [as throw] (errors.dart:297:3)
    at Object._failedAsCheck (rti.dart:1385:3)
    at dart_rti.Rti.new._generalAsCheckImplementation (rti.dart:1363:3)
    at _engine.CkPicture.new.toImageSync (picture.dart:100:47)
    at image_batch_compiler.ImageBatchCompiler.new.compileMapLayer (image_batch_compiler.dart:39:26)

Thanks for the update.
Reproducible using the reduced sample in https://github.com/xjyribro/tiled_test
On Android, the crash occurs at this line https://github.com/flutter/engine/blob/6e4562338cf38cad7ee1de0dbd1040b5a60a876e/lib/web_ui/lib/src/engine/canvaskit/picture.dart#L108
For iOS, the page reloaded several times and crashed when I tried to load the tile map and there wasn't any errors to be collected.
Labeling for further investigation.
errors.dart:296 Uncaught (in promise) Error: TypeError: null: type 'Null' is not a subtype of type 'JavaScriptObject'
    at Object.throw_ [as throw] (errors.dart:296:3)
    at Object._failedAsCheck (rti.dart:1388:3)
    at dart_rti.Rti.new._generalAsCheckImplementation (rti.dart:1366:3)
    at _engine.CkPicture.new.toImageSync (picture.dart:100:47)
    at image_batch_compiler.ImageBatchCompiler.new.compileMapLayer (image_batch_compiler.dart:39:26)
    at game.GomilandWorld.new._loadMap (game.dart:53:33)
    at _loadMap.next (<anonymous>)
    at runBody (async_patch.dart:84:54)
    at Object._async [as async] (async_patch.dart:127:5)
    at [_loadMap] (game.dart:39:24)
    at game.GomilandWorld.new.onLoad$ (game.dart:80:11)
    at onLoad$.next (<anonymous>)
    at async_patch.dart:45:50
    at _RootZone.runUnary (zone.dart:1661:54)
    at _FutureListener.thenAwait.handleValue (future_impl.dart:163:18)
    at handleValueCallback (future_impl.dart:847:44)
    at _Future._propagateToListeners (future_impl.dart:876:13)
    at [_completeWithValue] (future_impl.dart:652:5)
    at future.dart:532:22
    at _RootZone.runUnary (zone.dart:1661:54)
    at _FutureListener.then.handleValue (future_impl.dart:163:18)
    at handleValueCallback (future_impl.dart:847:44)
    at _Future._propagateToListeners (future_impl.dart:876:13)
    at [_completeWithValue] (future_impl.dart:652:5)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:722:7)
    at Object._microtaskLoop (schedule_microtask.dart:40:11)
    at _startMicrotaskLoop (schedule_microtask.dart:49:5)
    at async_patch.dart:181:7

flutter doctor -v
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.3.1 23D60 darwin-arm64, locale en-GB)
    • Flutter version 3.19.3 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (10 hours ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode-15.2.0.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

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

[✓] Connected device (5 available)
    • Pixel 7 (mobile)     • 28291FDH2001SA            • android-arm64  • Android 14 (API 34)
    • Nexus (mobile)       • 00008020-001875E83A38002E • ios            • iOS 17.3.1 21D61
    • Dean’s iPad (mobile) • 00008103-000825C811E3401E • ios            • iOS 17.3.1 21D61
    • macOS (desktop)      • macos                     • darwin-arm64   • macOS 14.3.1 23D60 darwin-arm64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 122.0.6261.112
    ! Error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.21.0-2.0.pre.42, on macOS 14.3.1 23D60 darwin-arm64, locale en-GB)
    • Flutter version 3.21.0-2.0.pre.42 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (5 hours ago), 2024-03-07 20:48:36 -0500
    • Engine revision bbb1ed00af
    • Dart version 3.4.0 (build 3.4.0-212.0.dev)
    • DevTools version 2.33.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode-15.2.0.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

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

[✓] Connected device (6 available)
    • Pixel 7 (mobile)                • 28291FDH2001SA            • android-arm64  • Android 14 (API 34)
    • Nexus (mobile)                  • 00008020-001875E83A38002E • ios            • iOS 17.3.1 21D61
    • Dean’s iPad (mobile)            • 00008103-000825C811E3401E • ios            • iOS 17.3.1 21D61
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.3.1 23D60 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.3.1 23D60 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 122.0.6261.112
    ! Error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

It looks like ckSurface.surface.makeImageSnapshot() unexpectedly returns null. We're calling CanvasKit.makeImageSnapshot through JS interop, but JS interop cannot guarantee soundness and can still return null even if we expect a non-null value. This needs to be investigated further.

any updates on the issue?

Any updates? Did someone find the solution or not?
@BonDizard what did you do? did you find anything?

When using Flame Flutter, I also got the above error.
However, this error only appears when using web Chrome directly on mobile devices. I have absolutely no errors when using Web Chrome on my computer, including Web Chrome desktop developer tools with a phone screen.
main.dart.js:12731 Error adding components: Unsupported operation: toImageSync is not supported on the HTML backend. Use drawPicture instead, or toImage.
  at Object.d (main.dart.js:4317:18)
  at qq.qW (main.dart.js:16651:17)
  at jw.ld (main.dart.js:30415:12)
  at jm.N7 ( main.dart.js:38091:5)
  at Ez.$1 (main.dart.js:38006:3)
  at e0.G (main.dart.js:26510:30)
  at hJ.fD (main.dart.js:37915:15)
  at GH.$1 (main.dart.js:29872:24)
  at qh.lk (main.dart.js:30016:3)
  at rY.fD (main.dart.js:29850:3)

I have not found a solution yet, still in the process of being investigated. I comment here to get notified if the community has an answer.

Flutter Environment
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.1 24B83 darwin-arm64, locale en-VN)
    • Flutter version 3.24.3 on channel stable at /Users/chunhthanhde/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (8 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/chunhthanhde/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.16.2

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

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

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

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 15.1 24B83 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 15.1 24B83 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 130.0.6723.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!


WARN[0000] mount of type volume should not define bind option

What happened?
Launched production docker compose set up
WARN[0000] mount of type volumeshould not definebindoption
What should've happened instead?
No warning should appear? Not blocking anything from launching and not noticing a problem. Just wanted to record when it was seen
Additional details

Host system configuration:

Version of cookiecutter CLI (get it with cookiecutter --version):

OS name and version:
Distributor ID: Ubuntu

Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy
  ```

* Python version, run `python3 -V`:
* Docker version (if using Docker), run `docker --version`: Docker version 20.10.21, build baeda1f

* docker-compose version (if using Docker), run `docker-compose --version`:
* ...

Options selected and/or replay file:
On Linux and MacOS: cat ${HOME}/.cookiecutter_replay/cookiecutter-django.json
(Please, take care to remove sensitive information)# Insert here the replay file content

Logs:

$ cookiecutter https://github.com/cookiecutter/cookiecutter-django
project_name [Project Name]: ...

Duplicated of #3685 ?

Agree. Thanks for trying to capture it. Closing for now.


bug: WARNING: vim.treesitter.get_parser will return nil instead of raising an error in Neovim 0.12

Check the following:

[X] I have tried setting vscode-neovim.neovimClean in VSCode settings and restarting VSCode.
[X] I have read the vscode-neovim docs.
[X] I have searched existing (closed!) issues.

Neovim version (nvim -v)
v0.11.0-dev-798+ge268fcbda
Operating system/version
Arch Linux
Problem (including log messages)
The following warning appears in vscode-neovim messages and the status bar:
WARNING: vim.treesitter.get_parser will return nil instead of raising an error in Neovim 0.12

Not blocking anything but may be worth fixing for future
Steps To Reproduce

Just launch vscode

Expected Behavior
No warning

apparently we are calling that here: https://github.com/vscode-neovim/vscode-neovim/blob/ccd89d3e457ee968c09eb13d711bde0e0097a3f9/runtime/vscode/treesitter.lua#L6-L10
but we disable ts here: https://github.com/vscode-neovim/vscode-neovim/blob/ccd89d3e457ee968c09eb13d711bde0e0097a3f9/runtime/lua/vscode/highlight.lua#L142-L147
so I'm not sure why we are calling get_parser?

Parsing the file on each change may impact the performance for users who do not suffer from https://github.com/vscode-neovim/vscode-neovim/pull/1713. Maybe we could make creating this autocommand optional via a setting?

It's not a big issue; it's just a temporary warning in the Neovim nightly version that can't be avoided for now.

autocommand

We're already using autocmd, and there's also debounce implemented, so there's no need to worry about performance issues. #2154

This is fine then. Thanks!


fix(connection): default family to undefined rather than 4

Upon closer inspection, #183 was actually very much backwards breaking and should not have been merged. This issue causes https://github.com/Automattic/mongoose/issues/5760 via https://github.com/Automattic/mongoose/commit/93e771ce5678c20da3a8dd08a4b77de8a1380446 .
The problem with #183 is that net.createConnection() calls dns.lookup() with the family option always set. If the family option is not set, dns.lookup() will return both ipv4 and ipv6 addresses, but since mongodb-core always sets family now, the driver can only connect to ipv4 or ipv6 depending on the value of family. In particular, this means that any user that was connecting to an ipv6 address now must specify family: 6 in porcelain layer >= 2.2.28 and mongoose >= 4.11.6 in order to successfully connect, whereas they didn't have to before.

@jlord this is needs to be ported to 3.x as well please


Ready to Go: Pledge Summary

Ready to go now!
Finishes #709.

Previous bug fixing:
I am trying to finalize the functionality for #709
The code is syntactically correct, but in testing I always get back {pledged: 0, sent: 0} even after setting up Patients with upcoming appointments, soft pledges, and hard pledges.
My current guess is a scoping issue or an Active Record mistake.
Test output:
Sat Nov 05 11:31:21 [master]~/repos/personal/dcaf_case_management $ rake test --verbose test/models/patient_test.rb
Started with run options --verbose --seed 6310

 FAIL["test_0001_should return sent and remaining pledge for the next 7 days", #<Class:0x0055abf3a341d0>, 3.5770852970017586]
 test_0001_should return sent and remaining pledge for the next 7 days#PatientTest::pledge_summary (3.58s)
        --- expected
        +++ actual
        @@ -1 +1,2 @@
        -"{:pledged=>300, :sent=>0}"
        +# encoding: US-ASCII
        +"{:pledged=>0, :sent=>0}"
        test/models/patient_test.rb:103:in `block (2 levels) in <class:PatientTest>'

  36/36: [=========================================================================================================================] 100% Time: 00:00:03, Time: 00:00:03

Finished in 3.57897s
36 tests, 54 assertions, 1 failures, 0 errors, 0 skips

To run the tests, grab a copy of the current state of my repo clone.
It relates to the following issue #s:

Bumps #709

Current coverage is 98.32% (diff: 62.50%)

Merging #717 into master will decrease coverage by 0.48%

@@             master       #717   diff @@
==========================================
  Files            28         28
  Lines           589        597     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            582        587     +5
- Misses            7         10     +3
  Partials          0          0

Powered by Codecov. Last update e8a3eca...7723c61

@colinxfleming That did it! Thank you very much for the review. It was completely understandable and helped me understand RoR better!
Assuming CircleCI passes, I think this is good to go.

I do not understand the tests failing :( It doesn't seem to be in code I changed, and it only happens on a full test run:
Sun Nov 06 13:10:57 [master]~/repos/personal/dcaf_case_management $ bundle exec "rake test"
Started with run options --seed 58363

581f723fae611223d193f47c,581f723fae611223d193f481,581f723fae611223d193f477,581f723fae611223d193f472                                  ] 2% Time: 00:00:00,  ETA: 00:00:38
 FAIL["test_0001_should let you save more than one call", #<Class:0x00559f1bf92670>, 65.60973407499841]
 test_0001_should let you save more than one call#LoggingCallsTest::logging multiple calls (65.61s)
        Expected false to be truthy.
        test/integration/logging_calls_test.rb:75:in `block (3 levels) in <class:LoggingCallsTest>'
        test/integration/logging_calls_test.rb:74:in `block (2 levels) in <class:LoggingCallsTest>'

click/193: [============================================================================================                            ] 77% Time: 00:01:25,  ETA: 00:00:25
  250/250: [=======================================================================================================================] 100% Time: 00:01:39, Time: 00:01:39

Finished in 99.18490s
250 tests, 509 assertions, 1 failures, 0 errors, 0 skips
{"error": {"reason": "Please provide the repository token to upload reports via `-t :repository-token`", "context": null}, "meta": {"status": 400}}

Sun Nov 06 13:12:48 [master]~/repos/personal/dcaf_case_management $ rake test test/integration/logging_calls_test.rb
Started with run options --seed 13058

  8/8: [===========================================================================================================================] 100% Time: 00:00:26, Time: 00:00:26

Finished in 26.74662s
8 tests, 27 assertions, 0 failures, 0 errors, 0 skips
{"error": {"reason": "Please provide the repository token to upload reports via `-t :repository-token`", "context": null}, "meta": {"status": 400}}

Sun Nov 06 13:13:35 [master]~/repos/personal/dcaf_case_management $ bundle exec "rake test test/integration/logging_calls_test.rb"
Started with run options --seed 3509

  8/8: [===========================================================================================================================] 100% Time: 00:00:26, Time: 00:00:26

Finished in 26.53799s
8 tests, 27 assertions, 0 failures, 0 errors, 0 skips
{"error": {"reason": "Please provide the repository token to upload reports via `-t :repository-token`", "context": null}, "meta": {"status": 400}}

That test (logging calls) and one other one (update patient info) is a
scrub that tends to pass locally but choke in CI. 99% chance it's not you,
don't stress.
On Sun, Nov 6, 2016, 1:16 PM Kathryn Tipton<EMAIL_ADDRESS>wrote:

I do not understand the tests failing :( It doesn't seem to be in code I
changed, and it only happens on a full test run:
Sun Nov 06 13:10:57 [master]~/repos/personal/dcaf_case_management $ bundle exec "rake test"
Started with run options --seed 58363
581f723fae611223d193f47c,581f723fae611223d193f481,581f723fae611223d193f477,581f723fae611223d193f472                                  ] 2% Time: 00:00:00,  ETA: 00:00:38
FAIL["test_0001_should let you save more than one call", #Class:0x00559f1bf92670, 65.60973407499841]
test_0001_should let you save more than one call#LoggingCallsTest::logging multiple calls (65.61s)
Expected false to be truthy.
test/integration/logging_calls_test.rb:75:in block (3 levels) in <class:LoggingCallsTest>'         test/integration/logging_calls_test.rb:74:in block (2 levels) in class:LoggingCallsTest'
click/193: [============================================================================================                            ] 77% Time: 00:01:25,  ETA: 00:00:25
250/250: [=======================================================================================================================] 100% Time: 00:01:39, Time: 00:01:39
Finished in 99.18490s
250 tests, 509 assertions, 1 failures, 0 errors, 0 skips
{"error": {"reason": "Please provide the repository token to upload reports via -t :repository-token", "context": null}, "meta": {"status": 400}}
Sun Nov 06 13:12:48 [master]~/repos/personal/dcaf_case_management $ rake test test/integration/logging_calls_test.rb
Started with run options --seed 13058
8/8: [===========================================================================================================================] 100% Time: 00:00:26, Time: 00:00:26
Finished in 26.74662s
8 tests, 27 assertions, 0 failures, 0 errors, 0 skips
{"error": {"reason": "Please provide the repository token to upload reports via -t :repository-token", "context": null}, "meta": {"status": 400}}
Sun Nov 06 13:13:35 [master]~/repos/personal/dcaf_case_management $ bundle exec "rake test test/integration/logging_calls_test.rb"
Started with run options --seed 3509
8/8: [===========================================================================================================================] 100% Time: 00:00:26, Time: 00:00:26
Finished in 26.53799s
8 tests, 27 assertions, 0 failures, 0 errors, 0 skips
{"error": {"reason": "Please provide the repository token to upload reports via -t :repository-token", "context": null}, "meta": {"status": 400}}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/colinxfleming/dcaf_case_management/pull/717#issuecomment-258699122,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADsA9NIf-ktyFKP1jxNCpT8xzt_uyVrgks5q7hltgaJpZM4KqS-a
.

Since everything gets rebuilt from scratch in every it block, you can delete anything within a test and it'll be rebuilt for the next test. Try Patient.destroy_all at the top of this particular test -- that'll run a command equivalent to delete from patients (or whatever the mongodb equivalent is, I forget exactly).
ps let me know if this isn't helpful or if it's making it too overly complicated -- this is pretty much good to and we're well into optimizing territory! 💯

We're definitely into the academic realm, but I really appreciate it! I
don't get to develop with others very often anymore so the review
experience is refreshing. :)
I'll get you one last commit in the morning and then it will be :100:

Good deal, glad it's still helpful! Very glad to have you on the team with us -- let me know if you have any other questions.

Good to Go! :fireworks:

Awesome work @lomky ! Thanks again for seeing this over the finish line, and for going the extra mile and writing tests. 💯 💯 💯 💯 💯 💯 💯 💯 💯 💯 💯 💯 💯 💯


Crash when switching to form editor

Describe the bug
the app crashes while switching to the form editor
To Reproduce
Steps to reproduce the behavior:

select a resource
tab on the form
See the error

Screenshots

Desktop (please complete the following information):

OS: mac m1
Version: main branch

this is a duplicate of https://github.com/kubeshop/monokle/issues/3879 - it's related to some schema construct that rjsf doesn't handle well..


React Native (expo) nothing happens when i call strapi.login

Hi Guys,

node 20.11.1
Strapi 4.25.4

I'm using expo to create a react native app.  When "login" gets clicked, i can't see the call being made to the server. Am i missing something? or is suitable to use on react native?
This is my config.
const strapi = new Strapi({
  url: 'http://localhost:1337/api',
  store: {
    key: 'jwt',
    useLocalStorage: false,
    cookieOptions: { path: '/' },
  },
});

And here i call it  and i get an "undefined" error -
  try {
    const { user, jwt } = await strapi.login({ identifier: 'fadfa', password: 'adsfasdf' });
    return
  } catch (e) {
    console.log('--- login error ---', e);
  }

Please ignore. It was an emulator issue, it works as expected.


Translate concepts/scheduling-eviction/scheduling-framework in Korean

This is a Feature Request

What would you like to be added

Translate concepts/scheduling-eviction/scheduling-framework in Korean
Why is this needed
No Translation with concepts/scheduling-eviction/scheduling-framework in Korean
Comments

Page to Update:
https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/

/language ko
/assign

@djatkdgus789 Hello ! Thank you for contribution !
I noticed that there is a duplicated issue (#20328))
However, since #20328 seems not resolved, I would like to check the status of #20328 before assign this issue to you.
(If we don't check, duplicated contributions :) )
So, unassign for this moment.
/unassign @djatkdgus789
Hello ~~ @ysyukr . Cloud you let us know the status of #20328 ?

@seokho-son Hello! Thank you for your comment!
I will keep track of this issue :-)
Thank you~

hello,
In the case of #20328 , I have not been able to proceed with this, so someone else can proceed.

/triage accepted
/assign @djatkdgus789

/triage accepted
/assign @djatkdgus789

Current Korean localization dev branch is dev-1.20-ko.2
#25910

Current Korean localization dev branch is dev-1.20-ko.2
#25910

Hi,
Thanks for mail.
I will not able to contribute due to personal circumstance. Please release
the task assigned to me. If there is a chance, I will participate again.
Thank you. 감사합니다. :)
= Sanghyeon, Eum =
2021년 10월 21일 (목) 오전 10:16, Seokho Son @.***>님이 작성:

Hello @djatkdgus789 https://github.com/djatkdgus789
We have a new contributor willing to contribute on this issue from slack
@.*** https://github.com/msyhu)
Since this issues has become a rotten issue.
Is it ok to assign @msyhu https://github.com/msyhu to this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/issues/25673#issuecomment-948165836,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHE64U2NM64KINF4JTFGATUH5SV7ANCNFSM4U7DQZQA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@djatkdgus789 Thank you ! please feel free to re-initiate contribution :)


SQL Compatibility is outdated

Documentation feedback

Page title: Compatibility
Page URL: https://crate.io/docs/crate/reference/en/latest/appendices/compatibility.html
Source: https://github.com/crate/crate/blob/master/docs/appendices/compatibility.rst

This page is outdated

We should mention the PostgreSQL data types
Transaction Statements don't throw an error
Some features are supported now: (Values, With, Check Constraints)

We should mention the PostgreSQL data types

The PostgreSQL types and SQL standard types are the same. Would you want to make that more explicit?

We should make sure to what SQL standard we are referring.
Maybe we should make the purpose of this page clearer (this is comparing us to the SQL Standard XYZ).
We have now the comparison of the PostgreSQL dialect on the wire protocol page and it appears to me this might be better suited here. At least it should be cross linked.

I would be interested in working on this.


Can ignored trace print traceId?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[] Question or discussion
[ ] Bug
[ ] Requirement
[x] Feature or performance improvement

Requirement or improvement
I use config properties SAMPLE_N_PER_3_SECS and SPAN_LIMIT_PER_SEGMENT and plugin  apm-trace-ignore-plugin to limit or filter my trace. But when I print trace_id(apm-toolkit-trace and apm-toolkit-logback), ignored trace will print Ignored_Trace.
We use skywalking's traceId in log for tracing, but ignored trace will not working. Not only skywalking's trace, log trace will not work either, it's not acceptable.
So, is there a way to not upload trace, but trace id still work?
Sorry for bad english

If it is ignored, why we should generate trace id? That seems an unreasonable resource cost.

No trace id how to combine trace with log？

This is our case. We makes trace could show logs, it makes tracing question be quick and clear.

No trace id how to combine trace with log？

But you ignore the trace, why you require SkyWalking to resolve this issue?

Sry this is a bad example. My point is use trace id to string log together are important.
Keep tracing but not upload will be good, we can't trace every(performance or storage reasons), but we still need trace id.

I still think you should open backend sampling, rather than asking this strange feature, as you are only concerned about the storage performance.

Alright, maybe it's not strange, we used Arms before skywalking, Arms print traceId all the time even if some of them out of sample. So we can use its traceId instead ours.

ARMS is not standard, and they did many things to break the performance and stability. SkyWalking chooses the features very carefully.

A commercial product and cloud service is not a reason which we should or should not do. The open-source project makes the decision from a tech perspective.


Bump package requirements to latest versions

pydocstyle: http://www.pydocstyle.org/en/latest/release_notes.html
flake8: http://flake8.pycqa.org/en/latest/release-notes/3.0.0.html
coverage: https://bitbucket.org/ned/coveragepy/src/tip/CHANGES.rst
This came about because the version of coverage we were using
was broken for python3.  It would report 100% coverage and only
report on the init.py files.  The latest version of coverage
fixes this.

Codecov Report

Merging #328 into master will increase coverage by 0.35%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #328      +/-   ##
==========================================
+ Coverage   89.52%   89.87%   +0.35%
==========================================
  Files          18       18
  Lines        1986     1986
  Branches      237      240       +3
==========================================
+ Hits         1778     1785       +7
+ Misses        151      147       -4
+ Partials       57       54       -3

Impacted Files
Coverage Δ

chalice/awsclient.py
87.16% <0%> (+0.53%)
:arrow_up:

chalice/analyzer.py
90.1% <0%> (+0.73%)
:arrow_up:

chalice/utils.py
91.52% <0%> (+3.38%)
:arrow_up:

chalice/compat.py
65% <0%> (+10%)
:arrow_up:

Continue to review full report at Codecov.

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


Emit for dynamic import (import()) when target >= ES2020 and module == None

Bug Report
We unconditionally transform dynamic import (import()) regardless of the current script target when the module kind is None. This is due to us using the CommonJS module emit as a fallback for None, and is causing an issue for VSCode while trying to implement support for TS Server plugins on the web via WebWorker.
I propose that we change the emit behavior for import() when the module target is None to preserve import(). Note that this would constitute a breaking change, but I imagine the number of affected projects (those currently using both --module None and import()) would be vanishingly small.
🔎 Search Terms
dynamic import module none node transform emit outFile
⏯ Playground Link
Playground link with relevant code
💻 Code

// @target: es2020
// @module: none
// @outFile: foo.js
const foo = import("foo");

🙁 Actual behavior
Transforms import() into a call to require()
🙂 Expected behavior
Does not transform import().

/cc: @DanielRosenwasser, @RyanCavanaugh

@rbuckton
    export enum ModuleKind {
        None = 0,
        CommonJS = 1,
        AMD = 2,
        UMD = 3,
        System = 4,
        ES2015 = 5,
        ES2020 = 6,
        ESNext = 99
    }

According to https://www.typescriptlang.org/tsconfig#module, the default value is
CommonJS if target is ES3 or ES5, otherwise it is  ES6/ES2015.
When you say "... This is due to us using the CommonJS module emit as a fallback for None", what does that mean exactly?
Do you actually set the value to "None" in the tsconfig.json text file?
Or set an internal tsconfig memory object member "module" to ts.ModuleKind.None inside a custom API?
In case of simple running tsc, an missing "module" property in tsconfig.compilerOptions should result in the correct default value internally (not always "CommonJS").  I can see how that might not happen if you are using a custom API.

@haydentech that isn't related to this issue


shortcut to collapse all in outline view

@jrieken Outline view is not a custom view and is contributing collapse all action by itself.

True, my mind was on the references view...

I would like to try to resolve this.

sure: this is where things are wired up: https://github.com/Microsoft/vscode/blob/5f48c695deb5ad61e9de084d15adf47a2482308f/src/vs/workbench/contrib/outline/browser/outlinePanel.ts#L387

cc @isidorn

Should there be just one shorcut for all trees so the experience is the same across the product?
fyi @joaomoreno

Yes, one shortcut for them all

@jrieken thanks for the direction. I have looked through outlinePanel.ts, I have also been looking into adding keyboard shortcuts. I noticed the use of KeybindingsRegistry.registerCommandAndKeybindingRule to add keyboard shortcuts. I wanted to verify if using this to create a shortcut would be the right approach.


fix(button): resolve visual regression in Pagination, PaginationNav

#1477 removed the "bx--btn__icon" class for icon-only buttons to fix #1476. This was released in v0.70.5.
However, it caused a visual regression in the next/previous buttons in Pagination and PaginationNav, which require the "bx--btn__icon" class.
The solution is to use an inline style attribute to manually unset the left margin instead of removing the class altogether. This is the simplest solution because it does not change the existing component API (like adding a prop/slot or using context).

Before

After

Fixed in v0.70.9


gasolene, atacameno

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[a,g]

/trunk merge


Wireless connectors do not work in other dimensions.

Using AE2-beta 6 for 1.10.2 and latest AE2Stuff
ae2stuff-<IP_ADDRESS>-mc1.10.2
Trying to setup some wireless connectors in my void base (rftools dimension) world.
Gives me this red message in the chat. "Both connectors must be in the same dimension"
Is this not implemented, wireless connectors working in other dimensions but the overworld. Would be great if they did.
Update:>> ok. they do work. But you need to craft a new network setup kit because somehow the one I was using the overworld keeps being bound to some receiver and there is no way to clear the setup kit (shift-right clicking with the setup kit in hand) to clear it would be nice.

Should be fixed in nest build.
Right clicking on a wireless connector in another dimension should have "reset" the remembered position in the item - this wasn't working due to a bug, which is now fixed.
Also you can now force reset it by shift-rightclick with the item in hand (though that shouldn't really be required).


Name of the module

I would appreciate if module name was referenced in the document...

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

ID: f089a8d5-643e-527e-3f5e-93ee4b7660e0
Version Independent ID: 848584ea-f6f0-340d-f65d-c58ee19181ed
Content: Get-DistributionGroup (exchange)
Content Source: exchange/exchange-ps/exchange/users-and-groups/Get-DistributionGroup.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@TCorrege, Exchange Server and anything Exchange related in the cloud (Exchange Online, Office 365 Security & Compliance Center, Exchange Online Protection) don't use the concept of PowerShell modules per-se. All connections are done via remote PowerShell. Even when you open the Exchange Management Shell directly on an Exchange Server, you're actually remoting into the server itself. And for the cloud workloads, you can only use remote PowerShell to connect.
That being said, we're working on a way to filter the cmdlet reference topics and Exchange PowerShell conceptual/procedural topics by workload (Exchange 2010, 2013, 2016, ExO SCC or EOP).
Until then, you should be able to use the Applies To: field at the top of every topic to verify which version of Exchange the topic applies to.
Thanks for the feedback.


Session configuration in ArSceneView.configureSession is always overridden by individual parameters

The ARCore session configuration is overridden here: https://github.com/SceneView/sceneview-android/blob/87de248f23c17e67f9ad39f4eee566fd96f488a2/arsceneview/src/main/java/io/github/sceneview/ar/ArSceneView.kt#L260
This happens even if you don't set the individual parameters (in this case the default values are used). Is it an intended behavior?

I guess this issue is still relevant.


turn off side hiearchy, clean side

Move to just patreon supporter

Role Changes

| patreon member renamed patreon supporter
| removed side popup for patreon tiers


dApp is not showing on iOS metamask browsing

Thanks for filing a bug report :-)
Steps to Reproduce

Open lightclient.raiden.network on iOS metamask browser and safari browser

Expected Result

It should show the dApp

Actual Result

The page shows an error message "We're sorry, but the RaidendApp doesn't work properly in your web-browser". iOS Chrome app works fine though

Additional Infos (Optional)
- Browser & version: Metamask browser v2.2.0 (613) and safari browser
- Browser console errors: "We're sorry, but the RaidendApp doesn't work properly in your web-browser"
- Device / OS: iOS 14.4.2

@drselump14 Hey 👋🏾
I'm really sorry that we did not respond for such a long time. Initially we were in stress about the mainnet release and then it got a lost for a while. 😓
I just checked what specific feature is missing in your described setup. It is the ServiceWorker which is not available. Unfortunately this is a requirement for the dApp. I have no clue why MetaMask has disabled it (I assume the underlying Chrome engine must have it).
As an alternative you might wanna checkout our new connection methods for the dApp. One of them allows you to use your MetaMask via WalletConnect. Your key and assets remain safe in your wallet application (can be any that supports WalletConnect). Blockchain interactions in the dApp will then require your confirmation in the connected wallet. You might wanna try this solution. It works between desktop and mobile or mobile exclusively.


[Bug]: fullScreen as a boolean doesn't appear to work

Contact Details
No response
What happened?
I was in the process of converting from tsParticles 1.x to 2.x and everything worked except being I wasn't on a full screen canvas (it's only displayed on the left side of our app as more of an "accent" design), I noticed that entering text into an input not over the canvas would cause the particles to "reset" (basically as if I completely refreshed the page). I tried to isolate what the issue is and happened to stumble across this comment:
https://github.com/matteobruni/tsparticles/issues/3910#issuecomment-1148754507
I changed fullScreen from fullScreen: false to fullScreen: { enable: false } and it stopped honoring the keypress in the input (which is what it used to do). Changing it back to the boolean caused the behavior again. Unless I really misunderstand the API (https://particles.js.org/docs/interfaces/Options_Interfaces_IOptions.IOptions.html#fullScreen), that should work the same.
tsParticles Version
2.1.0
Which library are you using?
React.js (react-tsparticles, react-particles-js)
tsParticles Configuration
fullScreen: false,
              particles: {
                number: { value: 40 },
                color: { value: '#688EFF' },
              }

What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
Code of Conduct

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

https://codepen.io/matteobruni/pen/qBoBVxw you can see it working here, please attach or link a reproducible sample

Ok found the issue, can be seen here: https://codesandbox.io/s/beautiful-dream-yjh5b1?file=/src/App.js
Once set to fullScreen is not unsettling anymore. I will have a look on that after I've fixed all errors that I have in the project right now 😄

Ok, I found the issue, in React the canvas is not autogenerated, is an existing child of the containing div. Since I don't want to break the existing UI, if the canvas is preexisting I'm trying to restore it to the previous state. That check was failing, it will be released in 2.1.1 (pr #4251)


fix(forge): ContractInfo should reject input when contract name is omitted

Motivation
#778 happens when users omit the contract name and only provide a path.
Solution
We return a hopefully clear error when it looks like the user has only included a path to the contract.

@mattsse Yes, I believe so. I responded to the original reporter of #778 and people from now should receive this error message when omitting the contract name:
error: Invalid value for '<CONTRACT>': contract source info format must be `<path>:<contractname>` or `<contractname>`


wrapping Statsmodel's vector auto regressor

Reference Issues/PRs
Issue https://github.com/alan-turing-institute/sktime/issues/929
What does this implement/fix? Explain your changes.
This PR aims to wrap the Vector Auto Regressor in Statmodels
Does your contribution introduce a new dependency? If yes, which one?
none

@fkiraly  @ninamiolane  I have created the implementation I drafted out. Kindly look at it. :)

Thank you @fkiraly for the guidance. I am thinking of creating a new branch where I will ensure the base forecaster accepts a data frame or a pandas series. I was thinking of including it in this branch but I think its best it is separated. What do you think?

For now, I´d recommend, please don´t change the base forecaster. I´m working on #980 which will be ready soon, until then feel free to turn off or override checks locally.

Okay. I will include the hyper-parameters

@thayeylolu, a lot of the tests are failing. Some will have to do with the return type (data frame) which should be fixed once #980 is done, but some do not seem to be related to that.
Can you please check for all the tests whether it's an input/output type thing? Fine to leave the ones coming from the multivariate format for now, but please have a look. Would appreciate an explanation which ones are fine and which ones are not.

This depends on #1306 - tests should pass after merging that PR.

sktime/tests/test_all_estimators.py is failing . it points to  the check_series () in sktime/forecasting/base/_base.py:139
which has checked the arguments of y in check_y_args and understands that it is multivariate. I do not understand y is later assigns a univariate data frame

@thayeylolu I had a very quick look and I'm not sure either where the pd.Series comes from. I guess we have to do a big more debugging.

@thayeylolu are you going to continue working on this soon? Otherwise I might take it over

@aiwalter I think help is appreciated in debugging - it seems almost ready to go.

Fixed typo y:scitype, renamed to scitype:y

@fkiraly I added a shot notes in PR description


Need to download docker compose

https://formulae.brew.sh/formula/docker-compose
I was thrown an error when trying to run
npm run init:db
I downloaded docker-compose through homebrew since I also downloaded docker through homebrew.
I am still getting thrown a dockers related error
~
raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
npm ERR! code 1
npm ERR! path /Users/tpl1_2021h1/Desktop/Techtonica/Techtonica_Local_Only/express-react-project-example
npm ERR! command failed
npm ERR! command sh -c docker-compose down
~

@aedward8 Let's look at your environment together, when you do brew install docker that comes with docker-compose.