sort parameter to file_list should be split up into two parameters

The sort parameter is being parsed for a comma separated ordering argument (ascending or descending). This should be split into an argument of its own - sort_order - since this breaks the existing pattern of arguments. Additionally, the sort parameter could have a better name (like sort_by) since it sorts by a given field.

The current implementation allows multiple sorts so each one is done as a separate pass, so the list can be sorted by one thing, then another, not unlike using SQL ORDER BY foo DESC, bar ASC
A more concrete example:
$ lbrynet-cli file_list --sort=channel_name --sort=points_paid,desc

You'll get the list sorted by points_paid, largest values first, and each set of items with the same cost would be further sorted by channel name (in ascending order).
The daemon uses docopt for argument parsing, so flags that allow multiple values end up as lists of whatever was passed in. My first thought was to zip() together the sort_by and sort_order arguments to get the same effective result as parsing a single input of $field, $direction but that doesn't work if someone omits the direction in between two sort choices.
Assuming the new API as proposed in this issue:
$ lbrynet-cli file_list --sort_by=channel_name --sort_by=points_paid --sort_order=desc

The parsed arguments are:
{'--sort_by': ['channel_name', 'points_paid'],
 '--sort_order': ['desc']}

So I see no way to associate the directions and field names.
Should multiple sort criteria be dropped and only one sort field allowed?

@jackrobison Is this still an issue?

Related to: https://github.com/lbryio/lbry/issues/1228


[house-keeping] Upload junit result from cinder-csi-plugin test

Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature
What happened:
At the moment, testgid and prow view don't show detailed results of cinder-csi e2e tests.
See https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/directory/openstack-cloud-csi-cinder-e2e-test/1526519905883525120
What you expected to happen:
both, testgrid and prow view should show detailed list of failed, passed and skipped tests.
How to reproduce it:
Anything else we need to know?:
Environment:

openstack-cloud-controller-manager(or other related binary) version:
OpenStack version:
Others:

/close
move seems not to be needed, latest test runs show up the results, potentially a problem in test-infra the other day. I think I read something on slack.


Questions regarding realtime channels and using the in filter

The goal is to listen in on Postgres changes with RLS enabled and filtering on specific column values.
I see these two ways
https://supabase.com/docs/reference/dart/stream
but it's not clear what the benefit of the channel name is when listening to Postgres changes and not using presence or broadcast.
I'm also unsure how to go about using the in filter.
https://github.com/supabase/realtime/issues/401
My code seems to work when I use the eq. filter and changing the channel name doesn't seem to change anything.
Also, my messages and chat_rooms table both have RLS with the correct settings for what I want.
This is my existing code:
  void subscribeToChat(String accountUserId, Iterable<int> chatRoomIds) {
    print("Subscribed to rooms and messages");
    _supabase.channel('public:messages:$accountUserId').on(
      RealtimeListenTypes.postgresChanges,
      ChannelFilter(
        event: 'INSERT',
        schema: 'public',
        table: constants.Table.messages.name,
        filter: 'chat_room_id=in.(${chatRoomIds.join(',')})',
      ),
      (payload, [ref]) {
        print('New message received: ${payload.toString()}');
      },
    ).on(
      RealtimeListenTypes.postgresChanges,
      ChannelFilter(
        event: 'INSERT',
        schema: 'public',
        table: constants.Table.chat_rooms.name,
        filter: 'user_id=eq.$accountUserId',
      ),
      (payload, [ref]) {
        print('New room received: ${payload.toString()}');
      },
    ).subscribe();
  }

The filter works when it's just one item inside the in:
//Doesn't work
 'from_user_id=in.(601e18ef-72c1-4d26-bfa6-bca14845e970,9ef64139-eaf3-4157-a9e4-b96f66b7a888)',
 'from_user_id=in.("601e18ef-72c1-4d26-bfa6-bca14845e970","9ef64139-eaf3-4157-a9e4-b96f66b7a888")',
// They work individually
'from_user_id=in.(601e18ef-72c1-4d26-bfa6-bca14845e970)',
'from_user_id=in.(9ef64139-eaf3-4157-a9e4-b96f66b7a888)',

The in filter doesn't work if the datatype is an int
///Doesn't work
 'chat_room_id=in.(97)',
///Works
 'chat_room_id=eq.97',

Or maybe I just get rid of the filter param and just have RLS only show me things I want?

I'll be making a PR to support the in parameter now that's public.
https://github.com/supabase/realtime/issues/401

I can reproduce your int and uuid issue. Multiple entries for in works for text type for me. I'm using the supabase cli with the latest realtime version v2.5.1. Seems like the realtime feature wasn't really tested.


Reasoner taking a very long time to classify

Hi all,
We've got an issue where we're classifying a client's extension of SNOMED CT, and the classify step is taking a very long time.
My process is: Classify SCT, and save the reasoner.  When classifying the extension, load the SCT reasoner, add the appropriate axioms for the extension, and perform an incremental classification.
We've used this process on many other extensions of SCT and other ontologies, and performance is always excellent.  However, in this case, classification is taking from 30-60 minutes.  The extension includes about 11,000 concepts, about 13,000 defining concepts, and about 8,700 defining roles.  There do not appear to be any cycles in the ontology.
I'm wondering if you are aware of any modeling conditions that might cause classification to take so long?  I'm completely stumped at this point, because I'm not sure what I need to be looking for.
Thanks,
Dave

I should also mention that there's plenty of heap space.  The Java max heap space is set to 12gb, and it seems to top out at about 7-8gb.

Hi Dave,
That seems way too long. We are not currently aware of any specific modelling conditions that might cause this, although we have seem some performance decrease in the presence of many equivalence axioms.
Have you tried doing a full classification of the extension without using incremental classification? It would be great if you could try that and let us know if it is also taking around the same time, so we can determine if it might be an issue with the incremental classification implementation.
Cheers,
Alejandro

Hi Dave,
To follow up further, can you clarify the 8,700 roles part?  Unless I'm misunderstanding you that seems like an unusually large number.
Michael
Sent from my iPhone

On 24 Feb 2017, at 8:30 am, ametke<EMAIL_ADDRESS>wrote:
Hi Dave,
That seems way too long. We are not currently aware of any specific modelling conditions that might cause this, although we have seem some performance decrease in the presence of many equivalence axioms.
Have you tried doing a full classification of the extension without using incremental classification? It would be great if you could try that and let us know if it is also taking around the same time, so we can determine if it might be an issue with the incremental classification implementation.
Cheers,
Alejandro
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'll try a classification without the incremental as you suggest.  Indeed, about 2,800 of the 11,000 concepts are "defined"; that is, they use equivalency axioms.
Is 8,700 defining roles a whole lot for 11,000 concepts?  SCT has about 275k defining roles on about 425k concepts, right?  It could be I'm just phrasing it differently.  I'm referring to each individual role relating one concept to another - most concepts have multiple defining roles.  As I mentioned, it's our client's model, so I can't be too sure.  I do know that our old classifier finished in just a minute or two.
If you'd like to look at it, I could try to get clearance to send you a copy of the reasoner with all the axioms loaded.

Ah yes we're using different terminology:)
With that big of a delta, incremental will not buy you anything in terms of speed; the initialisation process has quite a big overhead per extra concept/role
Michael
Sent from my iPhone

On 24 Feb 2017, at 10:33 am, davetrig<EMAIL_ADDRESS>wrote:
I'll try a classification without the incremental as you suggest. Indeed, about 2,800 of the 11,000 concepts are "defined"; that is, they use equivalency axioms.
Is 8,700 defining roles a whole lot for 11,000 concepts? SCT has about 275k defining roles on about 425k concepts, right? It could be I'm just phrasing it differently. I'm referring to each individual role relating one concept to another - most concepts have multiple defining roles. As I mentioned, it's our client's model, so I can't be too sure. I do know that our old classifier finished in just a minute or two.
If you'd like to look at it, I could try to get clearance to send you a copy of the reasoner with all the axioms loaded.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi guys,
I did a full classification of SCT + extension, without the incremental classification as suggested.
reasoner.classify() completes in about 46 seconds, and reasoner.getClassifiedOntology() takes about 6 seconds.
When performing an incremental classification of the extension added to a previously classified reasoner containing SCT, reasoner.classify() takes about 7 seconds, but reasoner.getClassifiedOntology() takes anywhere from 30-60 minutes.
So, the problem does seem to be somewhere in the incremental classification implementation.
I can provide the axioms that I'm using, if you have a suggested method of getting them to you.
Thanks,
Dave


Making the constructor of Job class with the IJobRepository parameter public

Making the constructor with the IJobRepository parameter public would make it easier to use NBatch in scenarios where a SQL Db is not used

Pull request submitted https://github.com/tenzinkabsang/NBatch/pull/2


updated terminologies per conversations with Chase

Docs Build status updates of commit e69ba50:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/reference-types-and-status.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/reference-types-and-status.md

Line 31, Column 2: [Suggestion: column-header-missing - See documentation] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 9520789:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/reference-types-and-status.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/reference-types-and-status.md

Line 31, Column 2: [Suggestion: column-header-missing - See documentation] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 14aa4ae:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/reference-types-and-status.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/reference-types-and-status.md

Line 31, Column 2: [Suggestion: column-header-missing - See documentation] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e69ca7d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/reference-types-and-status.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/reference-types-and-status.md

Line 31, Column 2: [Suggestion: column-header-missing - See documentation] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 74ec97e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/reference-types-and-status.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/reference-types-and-status.md

Line 31, Column 2: [Suggestion: column-header-missing - See documentation] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Breaking down bulky files.

Is your feature request related to a problem? Please describe.
Some files are fairly large and difficult to parse for incoming developers
Describe the solution you'd like

audit the repo for large files and break them down to smaller lines where it makes sense
some files to get started with:
https://github.com/onflow/flow-playground/blob/staging/src/providers/Project/projectMutator.ts

closing, standard dev task when in code base


Adding 2nd confirmation for the 'Add Row' functionality

Is your feature request related to a problem? Please describe.
I'm always frustrated when I accidentally click "Add Row" button instead of Add Column/Hide Row/Filter. Since there is no 2nd confirmation (unlike in Firestore Console UI) and an empty row gets created, this leads to poor UX because in some cases the collection is not handled in frontend to have empty documents, which may lead to crashing of the app.
Though on the other hand, having a confirmation dialog might be a hassle for write-intensive usage for Firetable. [Should not be the case for many cases.]
Describe the solution you'd like
I'm not sure of the solution but 2 ideas come to my mind:

Having a confirm button at the start/end of the row to be tapped for the row to actually gets creates in the collection
On tapping Add Row, Right Sidebar may open with empty fields, and tapping "Create" button at its bottom creates a new document.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Hi @mayurdhurpate
Thanks a lot for the request.
We have been working on the empty state of the new table. in the next version:

"Add Row" button will be disabled unless data is imported (or a Column is added).
Also, the users will set default values for each column (to avoid empty rows by default) with the possibility to define, if the column is a required one.
If any value on the row is either invalid (based on column type) or missing, there will be no changes on Firebase unless the whole column is correct. We will provide a visual feedback with red borders (and red text on required fields). Practically,  correcting the values will update.
We have been discussing various ways to add new rows and they will be set next to the button.

Thanks a lot for flagging it up.

Wow, this is quite comprehensive! Seems perfect, especially the 3rd point.

released in v1.4


Update deprecated builtins __has_trivial to __is_trivially

The old builtins have been depracated in Clang 16. Since they are also present in GCC it should be fine to just use the new variants.
Fixes Issue #1201.

Well that seems to fail :rofl:
@derekmauro I tested this with Clang and GCC via bazel test ... Is there some other command i need to run to test this?

Maybe tests are not actually failing but the CI servers are just unreachable. At least the Details links just give me fusion2’s server IP address could not be found.

CI is working correctly, but the results are IP blocked. (There is a way to make the results public, but I haven't had time to figure out how to do that.)
I actually thought https://github.com/abseil/abseil-cpp/commit/cfe27e79cfcbefb2b4479e04f80cbb299bc46965 fixed this issue. The remaining uses of __has_trivial should be preprocessor guarded. What platform is demonstrating the issue that this change addresses?
I think the issue with your change is that some of the __is_trivially functions take two arguments`. If I recall correctly, the person who committed cfe27e79cfcbefb2b4479e04f80cbb299bc46965 said that the simpler fix (the one this change is proposing) had some tricky problems, so we decided to just preprocessor guard the old code.

@derekmauro The issue arose with Upstream Clang/LLVM, but we were using an abseil version before cfe27e7.
I'll see if cfe27e7 already fixes the issue. If so, I'll close this PR.
Regardless, I think it is strange that bazel test ... passes. I would expect obvious errors such as wrong argcounts to immediately be detected by it.

cfe27e7 already fixed the issue. Cool! Closing.

There seem to be a few more cases here https://github.com/abseil/abseil-cpp/pull/1289


Pasting text after a large untokenized text block should not block

Download checker.ts from https://github.com/Microsoft/TypeScript/blob/296660a2a077c32a2ed41cb762ef530031e56417/src/compiler/checker.ts
open the file and quickly select all and go to the bottom of the file
(tokenization did not have a chance to execute entirely)
paste
observe: VS Code is freezing until all the text is tokenized. I suggest we probe for the last tokenized line and if a large body of text needs to be tokenized to support auto indent, we skip auto indenting.

CPU-20170706T101827.cpuprofile.txt

Note: we should do the same for Enter: #21564

After the fix, the pasting should always work whether the tokenization process finishes or not, but the auto indent adjustment should kick in when the tokenization is done.


updated beginner's guide

I consider beginner's guide everyone can find in Promise documentation, not in each library, which implements it.

You might want to add semicolons as per this project conventions


Products not loading while trying to run the project locally

Hi @sivadass
I have downloaded the code for shopping cart app and tried to install it via the create-react-app method, so the webpack and babel files are downloaded automatically.
the set up runs, but i get a lot of warnings and also the products dont get listed.
i have attached a screenshot of the same, kindly help me learn about this.

Thanks!

@suchi-khushi mmm Can you share the screenshot of the Console ?
Surely your problem is a CORS configuration.


Are there examples of custom datasets and then training on pysot

Hi, Are there examples of custom datasets and then training on pysot?
I couldn't find the documentation. It was too painful.

Hey, any update find? :)


Why no bias in Pre-net?

I wonder why there is no bias in Pre-net's linear layer? Does any experiment show it's better to remove bias?

Closing due to inactivity.


compile error

What can I do.
build environments are:
Flutter 0.5.1 • channel beta • https://github.com/flutter/flutter.git
Framework • revision c7ea3ca377 (5 months ago) • 2018-05-29 21:07:33 +0200
Engine • revision 1ed25ca7b7
Tools • Dart 2.0.0-dev.58.0.flutter-f981f09760
compiler message: lib/database/database_client.dart:37:67: Error: Getter not found: 'Columns'.
compiler message:       List<Map> results2 = await _db.query("songs", columns: Song.Columns);
compiler message:                                                                   ^^^^^^^
compiler message: lib/database/database_client.dart:51:18: Error: The getter 'count' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'count'.
compiler message:         if (song.count == null) {
compiler message:                  ^
compiler message: lib/database/database_client.dart:52:16: Error: The setter 'count' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing setter, or defining a setter or field named 'count'.
compiler message:           song.count = 0;
compiler message:                ^
compiler message: lib/database/database_client.dart:54:18: Error: The getter 'timestamp' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'timestamp'.
compiler message:         if (song.timestamp == null) {
compiler message:                  ^
compiler message: lib/database/database_client.dart:55:16: Error: The setter 'timestamp' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing setter, or defining a setter or field named 'timestamp'.
compiler message:           song.timestamp = 0;
compiler message:                ^
compiler message: lib/database/database_client.dart:57:18: Error: The getter 'isFav' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'isFav'.
compiler message:         if (song.isFav == null) {
compiler message:                  ^
compiler message: lib/database/database_client.dart:58:16: Error: The setter 'isFav' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing setter, or defining a setter or field named 'isFav'.
compiler message:           song.isFav = 0;
compiler message:                ^
compiler message: lib/database/database_client.dart:60:68: Error: The method 'toMap' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing method, or defining a method named 'toMap'.
compiler message:         if (!songs3.contains(song)) await _db.insert("songs", song.toMap());
compiler message:                                                                    ^
compiler message: lib/database/database_client.dart:69:14: Error: The getter 'count' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'count'.
compiler message:     if (song.count == null) {
compiler message:              ^
compiler message: lib/database/database_client.dart:70:12: Error: The setter 'count' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing setter, or defining a setter or field named 'count'.
compiler message:       song.count = 0;
compiler message:            ^
compiler message: lib/database/database_client.dart:72:14: Error: The getter 'timestamp' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'timestamp'.
compiler message:     if (song.timestamp == null) {
compiler message:              ^
compiler message: lib/database/database_client.dart:73:12: Error: The setter 'timestamp' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing setter, or defining a setter or field named 'timestamp'.
compiler message:       song.timestamp = 0;
compiler message:            ^
compiler message: lib/database/database_client.dart:75:14: Error: The getter 'isFav' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'isFav'.
compiler message:     if (song.isFav == null) {
compiler message:              ^
compiler message: lib/database/database_client.dart:76:12: Error: The setter 'isFav' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing setter, or defining a setter or field named 'isFav'.
compiler message:       song.isFav = 0;
compiler message:            ^
compiler message: lib/database/database_client.dart:83:43: Error: The method 'toMap' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing method, or defining a method named 'toMap'.
compiler message:       id = await _db.insert("songs", song.toMap());
compiler message:                                           ^
compiler message: lib/database/database_client.dart:87:33: Error: The method 'toMap' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing method, or defining a method named 'toMap'.
compiler message:           .update("songs", song.toMap(), where: "id= ?", whereArgs: [song.id]);
compiler message:                                 ^
compiler message: lib/database/database_client.dart:111:48: Error: Getter not found: 'Columns'.
compiler message:         await _db.query("songs", columns: Song.Columns, orderBy: "title");
compiler message:                                                ^^^^^^^
compiler message: lib/database/database_client.dart:203:45: Error: The method 'toMap' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing method, or defining a method named 'toMap'.
compiler message:       id = await _db.insert("recents", song.toMap());
compiler message:                                             ^
compiler message: lib/database/database_client.dart:206:40: Error: The method 'toMap' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing method, or defining a method named 'toMap'.
compiler message:       await _db.update("recents", song.toMap(),
compiler message:                                        ^
compiler message: lib/database/database_client.dart:274:43: Error: The method 'toMap' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing method, or defining a method named 'toMap'.
compiler message:       id = await _db.insert("songs", song.toMap());
compiler message:                                           ^
compiler message: lib/database/database_client.dart:278:33: Error: The method 'toMap' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing method, or defining a method named 'toMap'.
compiler message:           .update("songs", song.toMap(), where: "id= ?", whereArgs: [song.id]);
compiler message:                                 ^
compiler message: lib/musichome.dart:262:18: Error: Method not found: 'CircularNotchedRectangle'.
compiler message:           shape: CircularNotchedRectangle(),
compiler message:                  ^^^^^^^^^^^^^^^^^^^^^^^^
compiler message: lib/musichome.dart:262:11: Error: No named parameter with the name 'shape'.
compiler message:           shape: CircularNotchedRectangle(),
compiler message:           ^^^^^
compiler message: file:///D:/dev/flutter/packages/flutter/lib/src/material/bottom_app_bar.dart:45:9: Context: Found this candidate, but the arguments don't match.
compiler message:   const BottomAppBar({
compiler message:         ^
compiler message: lib/pages/now_playing.dart:126:10: Error: The setter 'timestamp' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing setter, or defining a setter or field named 'timestamp'.
compiler message:     song.timestamp = new DateTime.now().millisecondsSinceEpoch;
compiler message:          ^
compiler message: lib/pages/now_playing.dart:127:14: Error: The getter 'count' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'count'.
compiler message:     if (song.count == null) {
compiler message:              ^
compiler message: lib/pages/now_playing.dart:128:12: Error: The setter 'count' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing setter, or defining a setter or field named 'count'.
compiler message:       song.count = 0;
compiler message:            ^
compiler message: lib/pages/now_playing.dart:130:12: Error: The getter 'count' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'count'.
compiler message:       song.count++;
compiler message:            ^
compiler message: lib/pages/now_playing.dart:130:12: Error: The setter 'count' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing setter, or defining a setter or field named 'count'.
compiler message:       song.count++;
compiler message:            ^
compiler message: lib/pages/now_playing.dart:133:18: Error: The getter 'isFav' isn't defined for the class '#lib1::Song'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'isFav'.
compiler message:     isfav = song.isFav;
compiler message:                  ^
Compiler failed on D:\temp\flutter\Grey-0.2.12\lib\main.dart

FAILURE: Build failed with an exception.

* Where:
Script 'D:\dev\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 435

* What went wrong:
Execution failed for task ':app:flutterBuildDebug'.
> Process 'command 'D:\dev\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 16s
Finished with error: Gradle build failed: 1

first upgrade flutter because of BottomAppBar() class => flutter upgrade
and update the song class in plugin
class Song {
  int id;
  String artist;
  String title;
  String album;
  int albumId;
  int duration;
  String uri;
  String albumArt;

  int count = 0;
  int timestamp = 0;
  int isFav = 0;

  Song(this.id, this.artist, this.title, this.album, this.albumId,
      this.duration, this.uri, this.albumArt,{this.isFav=0,this.timestamp=0,this.count=0});
  static final Columns=["id","artist", "title", "album", "albumId", "duration", "uri", "albumArt","isFav","timestamp"];

  Song.fromMap(Map m) {
    id = m["id"];
    artist = m["artist"];
    title = m["title"];
    album = m["album"];
    albumId = m["albumId"];
    duration = m["duration"];
    uri = m["uri"];
    albumArt = m["albumArt"];
    count = m["count"];
    timestamp = m["timestamp"];
    isFav = m["isFav"];

  }
  Map<String,dynamic> toMap(){
    Map<String,dynamic> map = {
      "id" : id,
      "artist" : artist,
      "title" : title,
      "album" : album,
      "albumId" : albumId,
      "duration" : duration,
      "uri" : uri,
      "albumArt" : albumArt,
      "count" : count,
      "timestamp" : timestamp,
      "isFav" : isFav
  };
    return map;
  }
}

Hi @avirias , I have same issue with this but a little bit different showed error log. What should I do?
My environment is:
Flutter 1.0.0 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5391447fae (5 days ago) • 2018-11-29 19:41:26 -0800
Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
The problem is every time I run flutter run it always showed me error like this:
`
Compiler message:
lib/views/songs.dart:37:3: Error: The name of a constructor must match the name of the enclosing class.
Song.fromMap(Map m) {
^^^^
package:musicplayer/views/songs.dart:1: Context: The name of the enclosing class is 'Songs'.
lib/views/songs.dart:10:7: Error: The non-abstract class 'Songs' is missing implementations for these members:
'Song', 'createState'.
Try to either

provide an implementation,
inherit an implementation from a superclass or mixin,
mark the class as abstract, or
provide a 'noSuchMethod' implementation.

class Songs extends StatefulWidget {
^^^^^
lib/views/songs.dart:32:3: Context: 'Song' is defined here.
Song(this.id, this.artist, this.title, this.album, this.albumId,
^^^^
file:///D:/flutter/packages/flutter/lib/src/widgets/framework.dart:1: Context: 'createState' is defined here.
lib/musichome.dart:27:16: Error: Method not found: 'Songs'.
return Songs(db);
^^^^^
lib/views/songs.dart:32:8: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
Song(this.id, this.artist, this.title, this.album, this.albumId,
^^^^
lib/views/songs.dart:32:17: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
Song(this.id, this.artist, this.title, this.album, this.albumId,
^^^^
lib/views/songs.dart:32:30: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
Song(this.id, this.artist, this.title, this.album, this.albumId,
^^^^
lib/views/songs.dart:32:42: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
Song(this.id, this.artist, this.title, this.album, this.albumId,
^^^^
lib/views/songs.dart:32:54: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
Song(this.id, this.artist, this.title, this.album, this.albumId,
^^^^
lib/views/songs.dart:33:7: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
this.duration, this.uri, this.albumArt,{this.isFav=0,this.timestamp=0,this.count=0});
^^^^
lib/views/songs.dart:33:22: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
this.duration, this.uri, this.albumArt,{this.isFav=0,this.timestamp=0,this.count=0});
^^^^
lib/views/songs.dart:33:32: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
this.duration, this.uri, this.albumArt,{this.isFav=0,this.timestamp=0,this.count=0});
^^^^
lib/views/songs.dart:33:47: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
this.duration, this.uri, this.albumArt,{this.isFav=0,this.timestamp=0,this.count=0});
^^^^
lib/views/songs.dart:33:60: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
this.duration, this.uri, this.albumArt,{this.isFav=0,this.timestamp=0,this.count=0});
^^^^
lib/views/songs.dart:33:77: Error: Field formal parameters can only be used in a constructor.
Try removing 'this.'.
this.duration, this.uri, this.albumArt,{this.isFav=0,this.timestamp=0,this.count=0});
^^^^
lib/views/songs.dart:82:26: Error: The getter 'db' isn't defined for the class '#lib1::Songs'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'db'.
songs = await widget.db.fetchSongs();
^^
lib/views/songs.dart:131:48: Error: The getter 'db' isn't defined for the class '#lib1::Songs'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'db'.
widget.db, MyQueue.songs, i, 0)));
^^
Compiler failed on D:\Code\Flutter\Grey-master\lib/main.dart
Gradle task 'assembleDebug'... Done                          9.7s
Gradle task assembleDebug failed with exit code 1`

run flutter package upgrade


fix(sqlparser): fix operator precedence between '>=' and 'IN'

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features).
[ ] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer the issue)
[ ] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)
closes https://github.com/risingwavelabs/risingwave/issues/7641

LGTM, it is failing because of an issue on sqlsmith side I think.
select 'a' = lower('jRvXgnxBXI') NOT IN (true, false, false, true, false, false, false, true, true);

The following query is generated by sqlsmith.


Git dirty flag no longer working

Sorry if this was already reported but I didn't see it anywhere.
After a recent update for Oh My ZSH, it appears that it can no longer tell when a git branch is dirty. Many themes use this to show some dirty flag on the prompt, which is extremely useful, but this is no longer working, regardless of what theme I try out.
Thanks.

Try updating git.
I was using <IP_ADDRESS> and had the same problem. Updating to <IP_ADDRESS> fixed everything.
Seems the newer version is needed for the commands in lib/git.zsh.


Backup codes + mysql

Just a note that in it's current form, using backup codes with the mysql db driver won't work, as mysql doesn't support the array data type.  Rails will save the codes w/o issue, but the code fails when trying to read the field as it is a serialized YAML string.  I had to use this in my User model to make it work:
def otp_backup_codes
codes = self.read_attribute(:otp_backup_codes)
codes = YAML::load(codes) unless codes.kind_of?(Array) || codes.nil?
codes
end
Additionally, Devise has moved their Devise.bcrypt definition into the database_authenticatable module, so I had to use a monkey-patch to define it myself.

thank you, @feens!  this helped me a lot today.
also--i ran into another problem using backup codes with mysql.  i kept hitting the following error "Mysql2::Error: Data too long for column".
i was able to fix it without much trouble by changing the column type--
add_column :users, :otp_backup_codes, :text, array: true
if someone wants me to open a separate issue, just let me know.


GitHub CLI extension

Pros

Easy to install

Cons

Needless to connect with GitHub API

Rewriting with gh extension create --precompiled=go gh-action-escape-new looks needless. ☺
Replacing goreleaser with https://github.com/cli/gh-extension-precompile looks a way, but I think keeping goreleaser with build_script_override may better for the embedded versions 🤔


Update v3-0-transliterate.md

Replaced the HTML tables with Markdown tables, so that the markdown code inside (links, highlights) works properly

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

@laujan - Could you please review this PR and suggest next steps?

#sign-off
This also resolves identical issue #78592

#sign-off


ZMP Unrestricted calculation.

Description

[x] ZMP distinguishes calculation from the restricted and unrestricted calculation.
[x] Fixes a bug that would lead to a singular matrix in the DIIIS segmetn.

If doing an unrestricted calculation, one obtains different both vxc_{alpha, beta} by calling the esp function with one density set to zero.
vxc_a= inverter.on_grid_esp(Da=inverter.proto_density_a, Db=np.zeros_like(inverter.proto_density_a), grid=grid, )
vxc_b= inverter.on_grid_esp(Da=np.zeros_like(inverter.proto_density_a), Db=inverter.proto_density_b, grid=grid, )
Status

[x] Ready to go

Looks good. If you have tested (on two systems maybe: one Unconstrained-Close Sell and a Open shell), I think it ready to go.


Add Kubernetes Juicefs Operator

What would you like to be added:
Add an operator to make it easier for juicefs to run in kubernetes.
Why is this needed:
The csi driver that currently exists doesn't help users deal with the metadata server and S3 deployment issues, so maybe we can help users deal with these issues together.

There are already operators for Redis/MySQL/Minio/TiKV, once these are deployed, what's the things missed for JuiceFS?

That's one way to think about it
Thanks @davies


Check for opposing SE EPI PhaseEncodingDirections

Hello,
We've stumbled upon an issue with a protocol at our imaging facility where the SE EPI PhaseEncodingDirection values are all "j", rather than the PA being "j" and the AP being "j-". When validating the data, no warning messages arose to indicate this issue. From my understanding, SE EPI are prone to error because they can require the user to manually flip the phase encoding direction 180 degrees. Given this, I was wondering if it's possible for the validator to check the SE EPI json files and produce a warning message when the directions are not flipped?
Thanks,
Dan

This would be a difficult one to write schema rules for. We would need to have some notion of collections of files and collating metadata in a useful way.
More simply, we could do something like check that dir-AP/PA/LR/RL correspond to PhaseEncodingDirections that work for the image affine.

Ah, that is https://github.com/bids-standard/legacy-validator/issues/752.


⚠ Bofrost.be has degraded performance

In 506e38a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1106 ms

Resolved: Bofrost.be performance has improved in 89ede83.


Wrong Simulator

It always can only open the last simulator that I was using in xcode. It times out for all the other ones.

Can you post the log of snapshot? Also, have you tried running snapshot for the example project in this repo? Are you running the latest version?

@soheil any updates on this?

Yeah it's working now. Not sure what the issue was.

On Jan 26, 2015, at 3:10 PM, Felix Krause<EMAIL_ADDRESS>wrote:
@soheil any updates on this?
—
Reply to this email directly or view it on GitHub.


update to 0.2.0, rerender feedstock

Bringing in the rerendered feedstock from #1, and simplifying test install, updating to 0.2.0!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Repeatedly warned "docs-markdown extension only works on Markdown files"

Issue Type: Bug
I'm not sure, just try opening VS code with the docs-markdown extension installed. It will keep popping up in the bottom right, saying "docs-markdown extension only works on Markdown files," even when you have done nothing to invoke the extension.
Extension version: 0.2.55
VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:45:59.656Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.93GB (1.81GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 4.4.0-18362-Microsoft

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

Memory (System)
15.93GB (1.81GB free)

VM
0%

I think this is a duplicate of #441

@gvashishtha thank you for reporting this issue. We have been made aware of the problem and are in the process of patching the issue with PR #442. We will be releasing an update shortly.


new pocket command

#29  Added pocket integration using  https://github.com/motemen/go-pocket.
User needs to set a consumer key or create a new one; https://getpocket.com/developer/apps/new
Then can run the following commands
shiori pocket key <APIKEY>
to set the api key
shiori pocket login
The login command will open a browser where the user can login to pocket to authorize the request.
The accesstoken and consumer key are stored in $HOME/.shiori/config.json
Then can run
shiori pocket import
to actually import items from pocket
by default this will not import items that have been archived in pocket, for this run with
shiori pocket import --all
If just want to import items with a particular tag can use
shiori pocket import --tag <TAG>
Note: the import command imports tags with spaces from pocket although the current web interface is unable to handle these correctly.

Hi @s-frostick, thanks for the PR. However, I found this is too complicated for the user, because they need to create Pocket application first.
To solve this, I've made it so user can just import his Pocket's account by using the exported HTML file in a74773b. The only downside is it won't import the bookmark's title from Pocket. However, since (AFAIK) all title in Pocket is resolved from the webpage's metadata, user can easily do it himself by using shiori update command.


Remove css files that are not needed anymore

Due to #51 css files are not added in gem.
Fixes #50

@Mafi88 please do PRs for 3-1-stable , 3-0-stable and 2-4-stable with this changes, thanks :)


add JS replay viewer

Motivation and Context
Gfx-replay viewer in the browser. This is a demo and reference for building other JS apps.
The live demo is temporarily hosted here.

~50 objects added to the scene
60 FPS
smooth keyboard controls (WASD + arrow keys)

Previously, we've found it impractical to simulate so many objects in our javascript client, due to poor runtime perf. Here, I'm not actually simulating dynamics on the client. I'm just playing back a "replay" (recorded keyframes from an earlier simulation). It's a nice demo of the new gfx-replay feature, but it's not interactive; it's more of a mockup. However, imagine if our javascript client sent user input to the server and then received these keyframes (continuously, at some reasonable rate). This is the client-server architecture I want us to move to in the future. It will enable more complex physics, GPU-accelerated pytorch for human-and-model-in-the-loop, multiple users, and VR.
The data files for this viewer app (json and glb) are currently hosted at ericundersander.com. This is a temporary host until I find something better. Download them locally to your data folder if you want to iterate on this demo locally.
How Has This Been Tested
Ad hoc testing in Fedora Chrome.
I will do more testing on other platforms and update here before merging.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Looks awesome!
CC: @rutadesai @BlaiseRitchie -- this functionality is coming.

Looks awesome!
CC: @rutadesai @BlaiseRitchie -- this functionality is coming.


Ability to pass custom javascript functions to node-sass.

This is my first try at allowing custom javascript functions as allowed by node-sass to be used when compiling scss.
It has some problems I'd like your input and perhaps solving, but first let me explain how it currently works.
Extensions scss.js or sass.js are added to the list the plugin handles, and they're evaluated just like all other top level scss files. Any js files that have an underscore aren't used.
I initially tried to allow the custom importer to handle these files, and they could be imported just like other files, with a {author:package}/file syntax. You can still see the remnants of that attempt in a few commented out blocks.
It basically worked, but since the custom functions are all passed in the options object when node-sass is called, the custom js functions would be delayed behind the scss files, with the previously compiled version being used instead of the newest version. If you could dynamically change the functions object node-sass was using, then it would work fine. I tried that a couple of different ways, but I think node-sass is making a copy of the options object or something rather than using a reference to the object you passed, so that didn't work.
Also, right now it's using eval to get the functions object, which is the only way I could think of to get them since you can only getContentsAsString() for the file, rather than importing it or something like that. Any improvements you can think of there are much appreciated, because frankly that's gross and dangerous.
I've tested this with js files structured in this way:
const sass = Npm.require('node-sass');

var customFunctions = {
	'headings($from: 1, $to: 6)': function(from, to) {
                // ...
		return list;
	}
}
customFunctions

eval returns the last output of the function, so placing customFunctions as the last thing works. Again, this is gross.
For building more complex frameworks or other cool sass functions this is a very handy thing to have. I've been working on a complex framework and that's why I wanted to get this working.
I'm happy to do the work of implementing any improvements you can think of, and also perfectly willing to make any documentation changes if you decide to adopt this.
Let me know what you think!
Blaine

And I just realized I forgot to put this on a topic branch or pull your upstream changes before opening this request. Ah sorry! I'll admit I haven't made a pull request before! Again any direction about changes you need made I'll be happy to do.


Fix warnings (fixes #22)

Also move the library sources under src.

Changes Unknown when pulling 1754017b866fcb0c975a6de4c1aa78a52460b203 on warnings into ** on master**.


Not work

Im using Brackets 1.14(1.14.2-17770), extension not work. :(

Hi @rw11! Could you provide some details of what you were doing?

I installed the extension and turned on the edit menu. I created an html
file and saved it and started typing "bs4", it didn't show up auto
suggestion, ctrl-space, tab doesn't work. Maybe I'm doing something wrong?
wt., 29 wrz 2020 o 23:00 Ricardo<EMAIL_ADDRESS>napisał(a):

Hi @rw11 https://github.com/rw11! Could you provide some details of
what you were doing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rjrodriguez/RCH-Bootstrap-4-Snippets/issues/8#issuecomment-700983367,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEO5XSUHEZZRI3XF5CZ3W7TSIJDFVANCNFSM4R6HAVEQ
.

--
Pozdrawiam
Robert Wolański
<EMAIL_ADDRESS>

@rw11 Please try this: In a blank HTML file, type "bs4html" and press the down arrow key... This should give you the basic Bootstrap HTML file. After that, bs4... shortcode should work. (I'm still trying to figure out why does the first shortcode doen't launch the menu options).

I'm sorry but it doesn't work :(
śr., 30 wrz 2020 o 13:59 Ricardo<EMAIL_ADDRESS>napisał(a):

@rw11 https://github.com/rw11 Please try this: In a blank HTML file,
type "bs4html" and press the down arrow key... This should give you the
basic Bootstrap HTML file. After that, bs4... shortcode should work. (I'm
still trying to figure out why does the first shortcode doen't launch the
menu options).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rjrodriguez/RCH-Bootstrap-4-Snippets/issues/8#issuecomment-701344623,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEO5XSVGQB6GOLFKHBR37KTSIMMT3ANCNFSM4R6HAVEQ
.

--
Pozdrawiam
Robert Wolański
<EMAIL_ADDRESS>

Ooops! Sorry to hear about that @rw11 . Let me know if you are following the steps on this video. Remember that the first-time shortcode in a project may not show the contextual menu (in this video it apears). Video: https://drive.google.com/file/d/1tmTOCQwX6Pofr95wz7CzM04MKWDoFbsU/view?usp=sharing

Link is broken :)
pt., 2 paź 2020 o 18:31 Ricardo<EMAIL_ADDRESS>napisał(a):

Ooops! Sorry to hear about that @rw11 https://github.com/rw11 . Let me
know if you are following the steps on this video. Remember that the
first-time shortcode in a project may not show the contextual menu (in this
video it apears). Video:
https://drive.google.com/file/d/1tmTOCQwX6Pofr95wz7CzM04MKWDoFbsU/view?usp=sharing
http://url
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rjrodriguez/RCH-Bootstrap-4-Snippets/issues/8#issuecomment-702832404,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEO5XSUGAA6US5GKW5RFP6DSIX553ANCNFSM4R6HAVEQ
.

--
Pozdrawiam
Robert Wolański
<EMAIL_ADDRESS>

Link is broken :) pt., 2 paź 2020 o 18:31 Ricardo<EMAIL_ADDRESS>napisał(a):

Yeah! I notice that and edited the link: please try again.


Added package woocommerce-api-nim

Please add the package "woocommerce-api-nim" to the package list.

merged via https://github.com/nim-lang/packages/pull/1291


Run-time notice with Cache_Lite_File::get()

I have the latest version of Minify (2.0), and am getting this run-time notice
in my logs:

"Declaration of Cache_Lite_File::get() should be compatible with that of
Cache_Lite::get() in
Minify.php on line 291"

It's not a critical issue to fix, but fixing it would at least ensure the best
interoperability and forward
compatibility of the PHP 5 code.  Thanks!

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 29 May 2008 at 7:25

Yep. Cache_Lite_File isn't E_STRICT. I'm considering boiling it down to a single
class for best performance. Or doing the same with Zend_Cache. With all the real
world use Cache_Lite has received I'm hesitant to jump on Zend_Cache just
because
it's "best practice" code.

Original comment by<EMAIL_ADDRESS>on 30 May 2008 at 1:36

Changed state: Accepted

I am getting this error as well. And in my case, this error outputs in my
m.php/css
output, so it becomes basically gibberish because it generates all these
"Warning:
Cannot modify header information - headers already sent" .

Any way to remove this error without messing with the error output in PHP?

Original comment by<EMAIL_ADDRESS>on 31 May 2008 at 7:02

[deleted comment]

On line 912 of /lib/Cache/Lite/File.php is the method get():
http://code.google.com/p/minify/source/browse/tags/release_2.0.0/lib/Cache/Lite/
File.php#912

In the parameter list, add a third parameter, $thisValueIgnored = false, so the
line
reads:

    function get($id, $group = 'default', $thisValueIgnored = false)

This change appeases the E_STRICT gods and will be included in 2.0.1.

Original comment by<EMAIL_ADDRESS>on 1 Jun 2008 at 2:43

Changed state: Fixed


While using ODC 6.0.3 in azure pipeline (application code build using .net 6)

We are facing the below error while running ODC 6.0.3 in azure pipeline (application code build using .net 6)
[ERROR] Could not execute .NET AssemblyAnalyzer
Dependency Check completed with exit code 242.
Dependency Check reports:
[ '/home/xyz/dependency-check-report.html' ]
Dependency Check failed with message "Dependency Check exited with an error code (exit code: 242)."
##[error]Dependency Check exited with an error code (exit code: 242).

.net 3 is required to run the old ODC versions, you will need to wait for #4032 / version 7 to be released to used .not 6 or build your own snapshot from source


feat: add datadog_trace 0.93.0 release

update datadog_trace with release 0.93.0

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


libccd: fix pkgconfig file paths

Motivation for this change
libccd has the common bug of assuming CMAKE_INSTALL_*DIR is relative. I have submitted the fix upstream, but don't have much hope of getting it merged because there have been no updates since 2018.
cc @jtojnar
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 124986 at 3d2092ab run on x86_64-linux 1

2 packages built successfully:

fcl
libccd


Bug? Memory Error.

I noticed that the main menu was grayed out but still operated. At the bottom of the screen, it appears that items that should have been written to a menu are written to the info/status line.

Yes, this is definitely a bug.  I've been chasing that darned thing since v1.2.x?  Didn't ever find what was causing it until recently (I think).  Seems to happen at random times but sometimes is reproducible.  Thought I had it fixed just before v2.5.0, but I've since seen it occur again.
I started a issue #80 for it.
I think there's a component that's injecting itself into the app's windows message chain, intercepting messages to handle a custom message, but mistakenly passing some messages to the wrong control (in this case, the status bar); causing the wrong control to perform the task.  Crazy situation, but now I stand a better chance of finding it and fixing it.  It's either a technique that is written incorrectly, or I've contained a control manually and given it the wrong owner ID, so the messages don't hit the intended target.
Now that this issue references that one (#80), I'll close this issue.


How to stop tracking stdout

During training, I show some information using codes like
sys.stdout.write("debug info \r")

How can I get rid of them in the log?

Hi @zomux ,
You can remove the logs output by removing the sys.stdout from the logger, just add those lines:
from trains.logger import StdStreamPatch

StdStreamPatch.remove_std_logger()

and logs output won't be sent.

Thank you.


Add LilyPond 2.21.1

The devel target of the lilypond package should be updated to LilyPond 2.21.1.

This is easily fixed, it is however kind of blocked by #3.


Initial discussion of template manufacturer application

Initial attempt at a template
I guess we could put in the draft / template some guides as to what to put in each section?

Oh very nice, thanks. I had just DM'd you a draft of the template I started in Google Docs: https://docs.google.com/document/d/1zRM3V07gdciyms0c8qaVqIyIZy7CpkcpN3qsb6OY7kA/edit
Happy to join forces
Also love idea of putting both this template and future applications into a /hip-19-.../ directory in the repo 👍

@jamiew added a new commit to effectively merge what you did on the drive doc and what was in mine. Think it looks pretty good, if I may say so myself 😛
Can squash the commits when the time comes.


When searching for source file in Devtools, the input field loses focus after typing 2 chars

Steps to Reproduce

Get Flutter 2.5.0
flutter run and open dev tools in Chrome browser
In dev tools, switch to "debugger" tab
Start typing in "filter" input in the right pane, looking for file

Expected results:
Cursor should stay focused in the input.
Actual results:
After typing 2 characters, input loses focus

Logs

This does not concern Flutter app itself. See above.

No analyze errors.

[✓] Flutter (Channel stable, 2.5.0, on macOS 11.5.2 20G95 darwin-x64, locale en-CZ)
    • Flutter version 2.5.0 at /Users/ondrejsynacek/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (2 weeks ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/ondrejsynacek/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.2)
    • 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 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2020.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • SM A505FN (mobile) • R58M36WK1LW • android-arm64  • Android 11 (API 30)
    • Chrome (web)       • chrome      • web-javascript • Google Chrome 93.0.4577.82

• No issues found!

https://github.com/flutter/devtools/issues/3381


Fix issue with pty.js 0.2.7 having been removed from npm.

tty.js can no longer be installed due to pty.js 0.2.7 having been removed from npm so specify 0.2.7-1 directly (0.2.7-1 is counted as a prelease version, ie < 0.2.7 so ~0.2.7 or ^0.2.7 wouldn't work either)
It'd be great if you could release a new version that can be installed :)

Hmm, 0.2.7 shouldn't have been removed. It's present when I do an npm view pty.js.

Strange publish error, but tty.js v0.2.14-1 should work.


Docker Environment Variables

Love the work here, was wondering though if you could implement environment variables in the docker implementation?  It would be nice to be able to set location, displays and settings from environment variables to leave only the display on the page.  Maybe even some options to get rid of all of the extra on the page so that it could be utilized in an iframe on another page.  My specific use case I am looking at is to integrate it with Home Assistant for my primary dashboard.
Really appreciate the work you have put in to get it this far, works great!

Let's discuss if this is actually necessary. Take a look a Permalinks. They have the functionality you're asking for, and also flipping on the Kiosk will take away all of the extra stuff on the page and set the main area to fill the available space.
Then feed the resulting permalink into the iframe source. Worst case, maybe we just need to make a separate iframe parameter (instead of kiosk) that handles the "fill 100% CSS" slightly differently.
I have not tested in an iframe myself but there seems to be success with it from other discussions in here.


Link to https://crossgram.clld.org/unitparameters

Link page with all construction parameters (/unitparameters) at the top of the general constructions page

https://crossgram.clld.org/units
Not sure about the wording but we can change that very easily.

Many thanks!


gradle fails to detect Java version as of jdk-10-ea+36

Expected Behavior
Under some conditions, gradle will attempt to determiner the version of Java by launching 'java -version' and parsing the output. The expected behavior is that this should continue to work.
Current Behavior
gradle fails to detect the version of java starting with jdk-10-ea+36.
Context
The JavaFX build uses gradle to produce builds. When using jdk-10+36 as our boot JDK, gradle started failing to detect the java version.
Steps to Reproduce (for bugs)

Unzip the attached test program, which can also be found at:

https://goo.gl/MG84mq
gradle-java-version.zip

Download and install jdk-10-ea+36 from here:

http://jdk.java.net/10/

Unpack jdk-10 in some directory, and set JAVA_HOME to that directory.

Edit the build.gradle script to change the value of the 'JAVA' (and 'JAVAC') var to point to the java executable, but using a different path string than JAVA_HOME. On Linux, the easiest way to do this is to use two forward slashes rather than one somewhere in the path. For example:

def JAVA = "/some/directory/jdk-10//bin/java"

Using a recent version of gradle (I used 4.4, which is the latest as of today), run the following:
gradle build

this will fail with the following stack trace:
Starting process 'command '/localhome/kcr/jdks/jdk-10//bin/java''. Working directory: /localhome/kcr/java/bugs/gradle-java-version Command: /localhome/kcr/jdks/jdk-10//bin/java -version
Successfully started process 'command '/localhome/kcr/jdks/jdk-10//bin/java''
:test FAILED
:test (Thread[Task worker for ':',5,main]) completed. Took 0.069 secs.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':test'.

Could not determine Java version using executable /localhome/kcr/jdks/jdk-10//bin/java.

Try:
Run with --debug option to get more log output. Run with --scan to get full insights.

Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':test'.
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:50)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.api.GradleException: Could not determine Java version using executable /localhome/kcr/jdks/jdk-10//bin/java.
at org.gradle.internal.jvm.inspection.DefaultJvmVersionDetector.parseJavaVersionCommandOutput(DefaultJvmVersionDetector.java:75)
at org.gradle.internal.jvm.inspection.DefaultJvmVersionDetector.getJavaVersion(DefaultJvmVersionDetector.java:58)
at org.gradle.internal.jvm.inspection.CachingJvmVersionDetector.getJavaVersion(CachingJvmVersionDetector.java:57)
at org.gradle.api.tasks.testing.Test.getJavaVersion(Test.java:212)
at org.gradle.api.tasks.testing.Test_Decorated.getJavaVersion(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.api.internal.project.taskfactory.TaskPropertyInfo$2.create(TaskPropertyInfo.java:89)
at org.gradle.util.SingleMessageLogger.whileDisabled(SingleMessageLogger.java:230)
at org.gradle.api.internal.project.taskfactory.TaskPropertyInfo.getValue(TaskPropertyInfo.java:86)
at org.gradle.api.internal.tasks.TaskPropertyValue.validate(TaskPropertyValue.java:38)
at org.gradle.api.internal.tasks.DefaultTaskInputPropertySpec.validate(DefaultTaskInputPropertySpec.java:53)
at org.gradle.api.internal.tasks.DefaultTaskInputs.validate(DefaultTaskInputs.java:168)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:47)
... 24 more

The root cause of this failure is a bug in the pattern matching code in DefaultJvmVersionDetector::parseJavaVersionCommandOutput which was exposed by the additonal text added to the version string for JEP 322 (Time-Based Release Versioning).
Matcher matcher = Pattern.compile("(?:java|openjdk) version \"(.+?)\"").matcher(versionStr);
if (matcher.matches()) {
    return JavaVersion.toVersion(matcher.group(1));
}

Prior to jdk-10+36, the first line of java -version looked like this:
java "10-ea"
but now it can have additional text after the "10-ea" like this:
java "10-ea" 2018-03-20
The pattern matching code in gradle will not find a match if there is anything at all on the line after the second quote.
One possible fix is to use matcher::find rather than matcher::matches.
Your Environment
gradle 4.4 (also fails with 4.3)
jdk-10+36

@melix, can you take a look at that ?
it seems a small patch :)

I opened #3892.


Finished refactoring description. #63

Wrote a plan for refactoring the createDecoder() function such that the complexity is reduced by about 71%.
This should resolve #63.

Codecov Report

Merging #72 into lab3 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             lab3      #72   +/-   ##
=======================================
  Coverage   68.31%   68.31%
=======================================
  Files         107      107
  Lines        7334     7334
  Branches     1388     1388
=======================================
  Hits         5010     5010
  Misses       1868     1868
  Partials      456      456

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 d3167fe...d50c64d. Read the comment docs.


Consider support for signatureRequired capture (graphical)

Graphical signature

react-signature-canvas provides a good browser and mobile friendly wrapper around signaturepad
Licensed as Apache2
drawn content can be persisted as SVG and published to https://hl7.org/fhir/R4/datatypes.html#Signature
can also be used for display/output to a simple canvas element

Hi @doconnor-clintel, it's a good idea and has a very specific use case.
At the moment we have other features with a higher priority so I can't promise a timeframe to deliver this, but we are very happy to accept contributions and pull requests on this.
Let me know what you think.

I'll discuss internally about openly licensing some of our internal form builder components, inclusive this one which may or may not occur.
We will likely be evaluating this library in the near future (and translating our internal structures to and from SDC); as well, its pretty polished.


open in Opera

Ref: **Conversation #4187 / **

Done: http://pilotmoon.com/popclip/extensions/page/OpenInOpera


Implement java.util.TreeSet.

implementation of ju.TreeSet

Can one of the admins verify this patch?

please, review this now

Dear Jenkins, test this please

Dear Jenkins, test this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2010/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2601/
Test FAILed.

Some tests from the testSuite are failing. You should run > testSuite/test, see which ones and try to fix those.

ok, I'll finish the work this evening

@nicolasstucki  please review here

here you are

@andreaTP it LGTM except for the missing bound checks in subSet and related methods. Please also add some tests for this.

I added the test at
https://github.com/andreaTP/scala-js/blob/treeSetImpl/javalib/src/main/scala/java/util/package.scala#L53
is this that you mean?
In case I have just to add related tests

It is almost that. You need to define the bounds without using the elements currently in the set. You have:
override def add(e: E): Boolean = {
  val comp = comparator()
  if (comp.compare(e, first) >= 0 && comp.compare(e, last) <= 0)
    original.add(e)
  else
    throw new IllegalArgumentException()
}

This would not work in the case:
val s = new TreeSet[Int](Seq(2, 3, 6))
val s2 = s.headSet(5, false) // s2 == TreeSet(2, 3) and bounded by 5
s2.add(4) // would throw the exception in your case but should work
s2.add(5) // throws IllegalArgumentException

A solution would be to create a new class for bounded views that would look like:
private[util] class BoundedNavigableView[E](original: NavigableSet[E],
      inner: () => mutable.SortedSet[Box[E]],
      lowerBound: Option[E], lowerInclusive: Boolean,
      upperBound: Option[E], upperInclusive: Boolean)
      extends NavigableView[E](original, inner) {

    override def add(e: E): Boolean = {
      val comp = comparator()
      lowerBound.foreach { bound =>
        val cmp = comp.compare(e, bound)
        if (cmp < 0 || (!lowerInclusive && cmp==0))
          throw new IllegalArgumentException()
      }
      upperBound.foreach { bound =>
        val cmp = comp.compare(e, bound)
        if (cmp > 0 || (!upperInclusive && cmp==0))
          throw new IllegalArgumentException()
      }
      original.add(e)
    }
}

The subSet, headSet and tailSet also require a bound check on the new bounds. You shouldn't be able to lower the lower bound or increase the upper bound.

Inserted in NavigableSet directly, just because can be disabled using Nones properly.

added also tests for that

?

We are mostly unavailable these days. Expect delays ;-)

Jenkins, test this please

@andreaTP some of the tests for TreeSet are failing.
...
[info] java.util.TreeSet
[info]   + should store strings
[info]   + should store integers
[info]   + should store doubles
[info]   + should store custom objects
[info]   + should remove stored elements
[info]   + should remove stored elements on double corner cases
[info]   + should be cleared with one operation
[info]   + should check contained presence
[info]   + should check contained presence for double corner cases
[info]   + should give proper iterator over elements
[info]   + should check Set size
[info]   + should store integers
[info]   + should store objects with same hashCode but different types
[info]   + should store doubles also in corner cases
[info]   + should store custom objects
[info]   + should remove stored elements
[info]   + should be cleared with one operation
[info]   + should check contained elems presence
[info]   + should put a whole Collection into
[info]   + should iterate over elements
[info]   + should retrieve the first(ordered) element
[info]   + should retrieve the last(ordered) element
[info]   + should return a proper headSet
[info]   + should return a proper tailSet
[error]  x should return a proper subSet
[error]     Expected false to be truthy.
[error]     Expected false to be truthy.
[error]     Expected true to be falsy.
[info]   + should retrieve ceiling(ordered) elements
[info]   + should retrieve floor(ordered) elements
[error]  x should retrieve higher(ordered) elements
[error]     Expected 5 to equal 4.
[error]     Expected 2 to equal 1.
[error]     Expected 'c' to equal 'b'.
[error]     Expected 'c' to equal 'a'.
[info]   + should retrieve lower(ordered) elements
[info]   + should poll first and last elements
[info]   + should store and remove ordered integers
[info]   + should store and remove ordered strings
[info]   + should store objects with custom comparables
[info]   + should store ordered Double even in corner cases
[info]   + could be instantiated with a prepopulated Collection
[info]   + should be cleared in a single operation
[info]   + should add multiple element in one operation
[info]   + should check contained values even in double corner cases
[info]
[error] Total for suite java.util.TreeSet
[error] 339 specs, 7 failure
...

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2046/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2652/
Test FAILed.

WOW, it retrieves different results with scala 2.10.2 !!!
... I have to figure out what happens here...

I hate those kinds of bugs :)
You should also try use 2.10.5 rather than 2.10.2

good point!

it starts working from Scala 2.11.0
will check it later...

You will also have to join a all these commits into one.

yes... as soon as I can fix scala 2.10 ... :-S

Yes, no pressure on that one ;). But it would be good if you push it with the fix, so if then it passes all tests I can merge it at one.

good!

What did you do to fix it?

placed the implementation of TreeSet in scala 2.11 under scalalib/overrides

That is right, the implementation of red black trees changed from 2.10 to 2.11. Could you just add the overrides in a separate commit before the rest with a message like "Add overrides for Scala 2.10"

argh... trying to figure out how to do it before other commits... :-S

You can remove it from the current commit, the add it to a new commit at the end and finally reorder the commits with git rebase -i ;)

ok gitmaster ! :-)
doing it

how does it looks?

The rest LGTM

Jenkins, test this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2054/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2661/
Test FAILed.

spurious?
one single server said:
Build timed out (after 30 minutes)

Jenkins, test this please

I don't understand the overrides thing. You're not supposed to take something from 2.11 and patch it for 2.10. You would be breaking the meaning of 2.10.
Also, how come you even need this? I find that override very suspicious.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2055/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2662/
Test PASSed.

@sjrd the scala 2.10 override is because I have an hidden problem with the scala TreeSet, probably a bug in the 2.10 implementation and the behaviour throws errors in 2.10 tests but not in 2.11.
This was a quick fix, if really needed, I will dig deeper.

Hum yes I would very much prefer a fix that does not result in a bastard scala library that will affect every other code.

...arg.... ok, hope this will not take too much

could I have a jenkins test please on this, I'm no more able to reproduce the problem in my env.

review the last commit please

Now you are not testing the default ordering, only the new one.

Thats all.

just a note before forgetting it in TreeSetTest.scala lines around 102
    when("compliant-asinstanceofs").
    it("should throw exception on non comparable objects") {
      case class TestObj(num: Int)

      val ts = treeSetTestFactory.empty[TestObj]

[error] file:/Users/andrea/Documents/workspace/temp2/scala-js/test-suite/src/test/scala/org/scalajs/testsuite/javalib/TreeSetTest.scala(106:16:ApplyStatically): ClassType(Lorg_scalajs_testsuite_javalib_AbstractSetTest) expected but ClassType(Lorg_scalajs_testsuite_javalib_TreeSetTest$$anonfun$testApi$3) found for tree of type org.scalajs.core.ir.Trees$This
[debug] Linker: cache stats: reused: 5574 -- invalidated: 20 -- trees read: 20
java.lang.RuntimeException: There were 1 IR checking errors.
at scala.sys.package$.error(package.scala:27)
at org.scalajs.core.tools.optimizer.Linker$$anonfun$link$2.apply$mcV$sp(Linker.scala:119)
at org.scalajs.core.tools.optimizer.Linker$$anonfun$link$2.apply(Linker.scala:116)
at org.scalajs.core.tools.optimizer.Linker$$anonfun$link$2.apply(Linker.scala:116)
at org.scalajs.core.tools.optimizer.package$.logTime(package.scala:19)
at org.scalajs.core.tools.optimizer.Linker.link(Linker.scala:115)
at org.scalajs.core.tools.optimizer.Linker.link(Linker.scala:74)
at org.scalajs.sbtplugin.ScalaJSPluginInternal$$anonfun$18.apply(ScalaJSPluginInternal.scala:243)
at org.scalajs.sbtplugin.ScalaJSPluginInternal$$anonfun$18.apply(ScalaJSPluginInternal.scala:234)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:235)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
with the case class outside as you will see in the next commit it is ok

ok, review this

Keeping a reference to a discussion on a commit so it doesn't get lost when that commit is rewritten:
https://github.com/andreaTP/scala-js/commit/717eb8dd3acc2e02e50b6ffc35230a5c5932fe0a#commitcomment-12669025

Hope we can agree on this

if this looks good I'll go to squash commits

Your are missing some spaces between the methods in NavigableView. Otherwise LGTM.

done

Jenkins, retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2057/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2666/
Test FAILed.

sorry, rechecked style

Jenkins, retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2058/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2667/
Test FAILed.

due to the recent modifications on the comparable behaviour one test fail in "compliant-asinstanceof" mode.
I have reviewed the test to satisfy previously discussed fail fast behaviour.

Jenkins, retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2060/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2670/
Test FAILed.

ok, need help on this

couldn't understand...

I cloned your branch and will try to figure out what is happening there.

Thats all

@nicolasstucki  check this solution

@andreaTP that looks good. But it would be good to also test that TreeSet.comparator returns null if and only if the set was instantiated using a constructor that does not take a Comparator.

@nicolasstucki checked in last commit

Jenkins, retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2061/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2671/
Test FAILed.

ok, yes the new implementation have this.
please have you got a set of sbt parameters to reproduce locally pleaz? so my next commit will be good...

fixed the test and squashed commits.
cross fingers...

Jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2062/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2674/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2063/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2675/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2066/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2678/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2067/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2680/
Test PASSed.

great guys!


feat: fderiv of ContinuousMultilinearMap applied to const; use for SchwartzMap.iteratedPDeriv

add ContinuousMultilinearMap.apply; use for fderiv, iteratedFDeriv, SchwartzMap.iteratedPDeriv
Defining ContinuousMultilinearMap.apply as a CLM (using existing proof of continuity) enables the proof that the application of a ContinuousMultilinearMap to a constant commutes with differentiation.
This closes a todo in Mathlib/Analysis/Distribution/SchwartzSpace.lean.

I tweaked the PR title and labelling to match standard practices better. For some reason, "new feature" and "enhancement" were used in the early days of mathlib4, but not any more. Yes, that's a bit confusing, sorry.

maintainer merge

bors r+
Thanks!


getEditsForFileRename: Support directory rename

Fixes #24260

Note: filed #24384 for handling additional tsconfig settings.

Please port to release-2.9 as well.

Latest commit fixes #24385

Latest commit fixes #24384

Also fixes #24493

@andy-ms please port to release-2.9 as well.


Updated release strategy with current release and upcoming release

https://esmvaltool--2597.org.readthedocs.build/en/2597/community/release_strategy.html#release-schedule
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Code is written according to the code quality guidelines
[x] 🛠 Documentation is available
[x] 🛠 Tests run successfully
[x] 🛠 The list of authors is up to date
[x] 🛠 Any changed dependencies have been added or removed correctly
[x] 🛠 All checks below this pull request were successful

To help with the number of pull requests:

🙏 We kindly ask you to review two other open pull requests in this repository

@sloosvel are these changes okay for you?


NO-JIRA: Added netlify config to unblock docs PRs

This PR Unblocks the Doc generation in netlify.

/area ci-tooling

Looks like Netlify fixed the issue with the affected images and now python venv path it's correctly set, so this PR is not neccesary anymore
/close


ValueError: expects 3 weights, but the saved weights have 2 elements.

I ran the code successfully on my laptop with 1 GPU,  however, while I try to try on remote workstaton with NVIDIA Tesla P100 GPU . it does not work. anyone can help me?  thanks.
Traceback (most recent call last):
File "/home/irlts/nianyi/PConv-Keras-master/main.py", line 210, in
model.load(args.checkpoint)
File "/home/irlts/nianyi/PConv-Keras-master/libs/pconv_model.py", line 271, in load
self.model.load_weights(filepath)
File "/localscratch/irlts.21223938.0/env/lib/python3.7/site-packages/keras/engine/saving.py", line 492, in load_wrapper
return load_function(*args, **kwargs)
File "/localscratch/irlts.21223938.0/env/lib/python3.7/site-packages/keras/engine/network.py", line 1230, in load_weights
f, self.layers, reshape=reshape)
File "/localscratch/irlts.21223938.0/env/lib/python3.7/site-packages/keras/engine/saving.py", line 1235, in load_weights_from_hdf5_group
' elements.')
ValueError: Layer #0 (named "p_conv2d_17" in the current model) was found to correspond to layer p_conv2d_49 in the save file. However the new layer p_conv2d_17 expects 3 weights, but the saved weights have 2 elements.

I have resolved this problem.  it's because of tensorflow version.

I have resolved this problem. it's because of tensorflow version.

i have met the same error.do you know the reason why the version of tensorflow may cause this problem?

I have resolved this problem. it's because of tensorflow version.

i have met the same error.do you know the reason why the version of tensorflow may cause this problem?

i do not know the reason. just use different versions to test.

which version did u use?

@Harisahmad1881 TF2.0

is there a way to run this on TF2?


Feature Request: Allow to move focus across items of a grid

Motivation
I was building an interface with a cards grid and wanted the user to be able to navigate in these cards nonlinearly using the arrow keys. I looked for something to help me in the documentation and here in the repository and even found that in the past Reakit had a Grid component but it was removed. Anyway, I implemented a solution by myself but here is the proposal for you to evaluate.
Current behavior
Currently, Rover components can be grouped horizontally or vertically and the useRoverState hook will move focus across items linearly, respecting the chosen orientation.
function Component() {
  const rover = useRoverState();

  return (
    <Group>
      <Rover {...rover} as={Tabbable}></Rover>
      <Rover {...rover} as={Tabbable}></Rover>
      <Rover {...rover} as={Tabbable}></Rover>
    </Group>
  )
}

Proposal
Add a new "grid" value to the orientation option of useRoverState hook that lets you move focus freely in any direction through the Rover components in a grid.
function Component() {
  const rover = useRoverState({
    orientation: 'grid',
    columns: 3 // Number of columns for hook calculate which item is above and below.
  });

  return (
    <Group className="grid">
      <Rover {...rover} as={Tabbable}></Rover>
      <Rover {...rover} as={Tabbable}></Rover>
      <Rover {...rover} as={Tabbable}></Rover>
      <Rover {...rover} as={Tabbable}></Rover>
      <Rover {...rover} as={Tabbable}></Rover>
      <Rover {...rover} as={Tabbable}></Rover>
    </Group>
  )
}

Possible implementations
I think this answer in StackOverflow can help you when implementing the new logic.

Thank you for opening the issue, @httpiago!
A Grid component is planned. It will follow the WAI-ARIA Grid Pattern. And the API I'm thinking on is something like this:
const grid = useGridState();
return (
  <Grid {...grid}>
    <GridRow {...grid}>
      <GridCell {...grid}>Row 1 / Col 1</GridCell>
      <GridCell {...grid}>Row 1 / Col 2</GridCell>
      <GridCell {...grid}>Row 1 / Col 3</GridCell>
    </GridRow>
    <GridRow {...grid}>
      <GridCell {...grid}>Row 2 / Col 1</GridCell>
      <GridCell {...grid}>Row 2 / Col 2</GridCell>
      <GridCell {...grid}>Row 2 / Col 3</GridCell>
    </GridRow>
  </Grid>
);

It's open for discussion though. So feel free to suggest a different idea.
cc @Saeris

Would there be any way we could make this work with CSS Grid? I'm not thrilled about the idea of specifying rows and columns in the HTML markup, because then re-flow logic would have to be calculated as different break-points are reached.
I realize that would be far from simple to implement, I just have to point it out as a major concern of mine for implementing a responsive arrow-key navigable grid.

As per the spec, grid cells should be contained within a row. This serves as a hint for screen readers announce the exact position of the cell in the grid when it's focused.
But automatically identifying the positions of the elements on the viewport would be cool as well. A solution could be adding the row elements automatically to the DOM. I don't know how good/bad is it.

@diegohaz I liked your suggestion of creating new Grid components, it is more elegant than my idea. A real implementation example would be:
import { chunk } from 'lodash'

const items = ['one', 'two', 'three', 'four', 'five', 'six']

function Component() {
  const grid = useGridState();
  const rows = React.useMemo(() => chunk(items, 3), []);

  return (
    <Grid {...grid}>
      {rows.map(cols => (
        <GridRow {...grid}>
          {cols.map(cell => (
            <GridCell {...grid}>{cell}</GridCell>
          ))}
        </Grid>
      ))}
    </Grid>
  );
}

But I agree with @Saeris, it would be interesting to avoid setting breakpoints manually and leave it to CSS to define.

I've played around with hacking something together in userspace and you can support a subset of Grid keyboard navigation functionality relatively easily: https://codesandbox.io/s/keen-morse-me8jp
Disclaimer: I hacked this together in a morning and I'm not sure how accessible or performant it is, you probably don't wanna use this in production as-is.

Ah, missed this one. This is actually supported now with Composite and, more specifically, the experimental Grid module.


Deployment stops after ArcGISInstall Job finish

I'm deploying a new site using ArcGIS Module 2.0.0, after the installation step Finished DSC Job:- ArcGISInstall is compleated the execution ends without any error. It does not continue to the configuration.
Install_BaseDeployment_END.log

@hmelendez I am assuming you are setting the mode to "Install". To configure the whole enterprise stack you need to use mode "InstallLicenseConfigure" starting version 2

Small change that I was not aware. Thanks for the quick reply.