error when input with h5ad

Hi,
Thanks for the great tool!
I installed v3 recently and am trying to use h5ad as input. While input with txt or a 10x folder work, input with h5ad gives me the following error. Any help will be appreciated!
Xiao
Command used:
cellphonedb method analysis hPBMC_meta.tsv hPBMC_test.h5ad
Output:
[ ][APP][21/04/22-02:53:42][WARNING] Latest local available version is v2.0.0, using it [ ][APP][21/04/22-02:53:42][WARNING] User selected downloaded database v2.0.0` is available, using it
[ ][CORE][21/04/22-02:53:42][INFO] Initializing SqlAlchemy CellPhoneDB Core
[ ][CORE][21/04/22-02:53:42][INFO] Using custom database at /home/jovyan/.cpdb/releases/v2.0.0/cellphone.db
[ ][APP][21/04/22-02:53:42][INFO] Launching Method cpdb_analysis_local_method_launcher
[ ][APP][21/04/22-02:53:42][INFO] Launching Method _set_paths
[ ][APP][21/04/22-02:53:42][INFO] Launching Method _load_meta_counts
[ ][APP][21/04/22-02:53:42][ERROR] Unexpected error
Traceback (most recent call last):
File "/opt/conda/envs/cpdb/lib/python3.8/site-packages/anndata/_io/utils.py", line 177, in func_wrapper
return func(elem, *args, **kwargs)
File "/opt/conda/envs/cpdb/lib/python3.8/site-packages/anndata/_io/h5ad.py", line 527, in read_group
EncodingVersions[encoding_type].check(
File "/opt/conda/envs/cpdb/lib/python3.8/enum.py", line 387, in getitem
return cls.member_map[name]
KeyError: 'dict'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/cpdb/lib/python3.8/site-packages/cellphonedb/src/api_endpoints/terminal_api/method_terminal_api_endpoints/method_terminal_commands.py", line 203, in analysis
LocalMethodLauncher(cpdb_app.create_app(verbose,
File "/opt/conda/envs/cpdb/lib/python3.8/site-packages/cellphonedb/src/local_launchers/local_method_launcher.py", line 103, in cpdb_analysis_local_method_launcher
counts, meta = self._load_meta_counts(counts_filename, meta_filename)
File "/opt/conda/envs/cpdb/lib/python3.8/site-packages/cellphonedb/src/local_launchers/local_method_launcher.py", line 233, in _load_meta_counts
counts = utils.read_data_table_from_file(os.path.realpath(counts_filename), index_column_first=True)
File "/opt/conda/envs/cpdb/lib/python3.8/site-packages/cellphonedb/utils/utils.py", line 28, in read_data_table_from_file
return _read_h5ad(file)
File "/opt/conda/envs/cpdb/lib/python3.8/site-packages/cellphonedb/utils/utils.py", line 116, in _read_h5ad
adata = read_h5ad(path)
File "/opt/conda/envs/cpdb/lib/python3.8/site-packages/anndata/_io/h5ad.py", line 421, in read_h5ad
d[k] = read_attribute(f[k])
File "/opt/conda/envs/cpdb/lib/python3.8/functools.py", line 875, in wrapper
return dispatch(args[0].class)(*args, **kw)
File "/opt/conda/envs/cpdb/lib/python3.8/site-packages/anndata/_io/utils.py", line 183, in func_wrapper
raise AnnDataReadError(
anndata._io.utils.AnnDataReadError: Above error raised while reading key '/layers' of type <class 'h5py._hl.group.Group'> from /.`

Hi Luz,
Thanks for your reply. I somehow cannot find the .h5ad example. I was able to run the pipeline successfully with a .h5ad from my colleague. But I cannot identify the difference between our h5ad (I checked layers, adata.X, var and etc.). Both our .h5ad were converted from Seurat objects to h5ad using sceasy. I also tried SeuratDisk-converted h5ad but didn't work.
Could you provide some info on what the pipeline looks for from the .h5ad so I can check?
Thanks much!
Best,
Xiao

Here the example https://github.com/ventolab/CellphoneDB/blob/master/in/endometrium_atlas_example/endometrium_example_counts.h5ad

I am also getting this same error.
[ ][CORE][05/12/22-15:32:11][INFO] Initializing SqlAlchemy CellPhoneDB Core
[ ][CORE][05/12/22-15:32:11][INFO] Using custom database at /Users/sargent/.cpdb/releases/v4.0.0/cellphone.db
[ ][APP][05/12/22-15:32:11][INFO] Launching Method cpdb_statistical_analysis_local_method_launcher
[ ][APP][05/12/22-15:32:11][INFO] Launching Method _set_paths
[ ][APP][05/12/22-15:32:11][INFO] Launching Method _load_meta_counts
[ ][APP][05/12/22-15:32:13][ERROR] Unexpected error
Traceback (most recent call last):
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/site-packages/anndata/_io/utils.py", line 177, in func_wrapper
    return func(elem, *args, **kwargs)
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/site-packages/anndata/_io/h5ad.py", line 527, in read_group
    EncodingVersions[encoding_type].check(
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/enum.py", line 387, in __getitem__
    return cls._member_map_[name]
KeyError: 'dict'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/site-packages/cellphonedb/src/api_endpoints/terminal_api/method_terminal_api_endpoints/method_terminal_commands.py", line 131, in statistical_analysis
    LocalMethodLauncher(cpdb_app.create_app(verbose, database)). \
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/site-packages/cellphonedb/src/local_launchers/local_method_launcher.py", line 54, in cpdb_statistical_analysis_local_method_launcher
    counts, meta = self._load_meta_counts(counts_filename, meta_filename)
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/site-packages/cellphonedb/src/local_launchers/local_method_launcher.py", line 233, in _load_meta_counts
    counts = utils.read_data_table_from_file(os.path.realpath(counts_filename), index_column_first=True)
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/site-packages/cellphonedb/utils/utils.py", line 28, in read_data_table_from_file
    return _read_h5ad(file)
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/site-packages/cellphonedb/utils/utils.py", line 116, in _read_h5ad
    adata = read_h5ad(path)
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/site-packages/anndata/_io/h5ad.py", line 421, in read_h5ad
    d[k] = read_attribute(f[k])
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/functools.py", line 875, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/Users/sargent/miniconda3/envs/cpdb/lib/python3.8/site-packages/anndata/_io/utils.py", line 183, in func_wrapper
    raise AnnDataReadError(
anndata._io.utils.AnnDataReadError: Above error raised while reading key '/layers' of type <class 'h5py._hl.group.Group'> from /.

I checked the example h5ad linked to in the comment above and the object looks like this:
AnnData object with n_obs × n_vars = 1949 × 20975
    obs: 'sample_names', 'log2p1_count', 'percent_mito', 'n_genes', 'batch', 'StudyName', 'SampleID', 'DonorID', 'BiopsyType', 'Location', 'Binary Stage', 'Stage', 'Day', 'Women age', '10x kit', 'Treatment', 'Batch', 'lineage', 'cell_type', 'n_counts'
    var: 'gene_ids', 'n_cells'

This is the structure of my object:
AnnData object with n_obs × n_vars = 112981 × 36601
    obs: 'nCount_RNA', 'nFeature_RNA', 'samples', 'Sex', 'Study', 'Disease_State', 'Inflamed_State', 'percent.mt', 'doublet_scores', 'doublet_class', 'cells_id', 'color_samples', 'cell_type'
    var: 'vst.mean', 'vst.variance', 'vst.variance.expected', 'vst.variance.standardized', 'vst.variable'
    uns: 'samples_colors', 'Sex_colors', 'Study_colors', 'Disease_State_colors', 'Inflamed_State_colors', 'doublet_class_colors', 'color_samples_colors', 'cell_type_colors', 'log1p'
    obsm: 'X_harmony', 'X_pca', 'X_umap'
    layers: 'data', 'counts'

I thought perhaps I needed to strip of all layers apart from obs and var, so I saved a new object with just those (plus count data in .X), but I still got the same error. Any insight into what might be the issue? Anndata 0.80 was used for saving the object.

I presume the issue is due to inompatibility of anndata versions. Anndata version 0.7.8 is installed with CellPhoneDb. Upgrading to version 0.8.0 caused other errors. I guess for now a workaround will be to export counts from the h5ad file but this is not ideal.
It would be great if CPDB developers could confirm whether it is possible to use h5ad objects exported using anndata 0.8.0 with CPDB.

I presume the issue is due to incompatibility of anndata versions. Anndata version 0.7.8 is installed with CellPhoneDb. Upgrading to version 0.8.0 caused other errors. I guess for now a workaround will be to export counts from the h5ad file but this is not ideal.
It would be great if CPDB developers could confirm whether it is possible to use h5ad objects exported using anndata 0.8.0 with CPDB.

agree this. I update anndata to 0.8.0 although warning the incompatibility of h5py, and cellphonedb works when input with h5ad.
This may help https://github.com/scverse/anndata/issues/698


Test Codacy

Only to test it on a big repo

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 20
- Added 1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 21

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 24

See the complete overview on Codacy


nixos/doc/gnome: Document how python nautilus extensions

Description of changes
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nautilus-extension-not-working/12072/14

Just fixed the phrasing of the commit title...

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/documenting-bugs-and-interfaces-worth-improving-in-nixpkgs-and-nixos/30884/4

Closed PR by mistake, and I still want to reach an agreement upon it and merge it. Now rebased it upon current master.

Okay, here is my alternative #319535

Closed by mistake.

Trying in a new PR from a new branch at https://github.com/NixOS/nixpkgs/pull/352307 (Due to weird CI errors).


🐛 [FIRESTORE] Query is too slow

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

Go to '...'
'...'
See error or incorrect behavior

Expected behavior
A clear and concise description of what you expected to happen.
Sample project
   return collectionReference
        .where('timestamp', isGreaterThan: oneHourAgoTime)
        .orderBy('timestamp', descending: true)
        .limit(10)
        .snapshots()
        .transform(StreamTransformer<QuerySnapshot<Map<String, dynamic>>,
                List<RoomChat>>.fromHandlers(
            handleData: (QuerySnapshot<Map<String, dynamic>> querySnapshot,
                    EventSink<List<RoomChat>> sink) =>
                mapQuerySnapshotToRoomChat(querySnapshot, sink)));

Additional context
I am experiencing an issue. When the user has subscribed to this query for a long and has retrieved multiple documents. This query becomes slow over time as reported in my production app. The user has to clear their app's cache. Can you please tell me how should I proceed with this? I want this query to fetch documents from the server and not the local cache in order to avoid this issue but still want persistence enabled in my app. I looked up on the internet and found a method to create a local index for a java client.
setIndexConfiguration

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.0, on Microsoft Windows [Version 10.0.22000.856], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
X cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.17)
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop
development with C++" workload, and include these components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.71.0)
[√] Connected device (3 available)
[√] HTTP Host Availability
! Doctor found issues in 2 categories.

 Can you provide any logs that shows duration indicating slowness while retrieving the data ?
Is it possible for you to debug at native side and see if slowness actually happens while executing the query ?
Can you also provide sample document you're querying against and also let us know about the amount of documents in the DB ?

@darshankawar If I try to use clearPersistance everything gets back to normal. I think it's mainly because I usually clear the room chats from cloud function and the client side sdk isn't aware of this so it tries to persist every document. The query should be indexed locally just like in Java sdk using setIndexConfig or there should be a parameter just in .snapshots() just like in .get() to specify the source of the document cache or server. Please implement setIndexConfig.

@itssidhere
Thanks for the feedback. Can you provide an example that shows the actual / current result (ie, slow execution of query) and usage of clearPersistence that helps resolving the issue along with how setIndexConfiguration would help to resolve slow / performance of the query execution ?

@darshankawar Any complex query like this
collectionReference
        .where('timestamp', isGreaterThan: oneHourAgoTime)
        .orderBy('timestamp', descending: true)
        .limit(10)
        .snapshots()

Suppose you start listening to the query and try to add multiple documents (enough to fill up the local cache size). Then simply try to re-attach the listener on the same query you will notice a long delay as this query is not getting locally indexed as it gets on the server side. Clearing the persistence can speed it up again as there is no local cache. Android has an API setIndexConfiguration which sets the index for the local cache( if  I am not wrong) to speed up the query locally.
This is my actual usage -
Bloc
 Stream<RoomChatState> mapFetchRoomChatEventToState() async* {
    try {
      yield InitialRoomChatState();

      await streamSubscription?.cancel();

      streamSubscription = roomChatRepo!.getRoomChat().listen((data) {
        roomChats = data;
        add(ReceivedRoomChatEvent(roomChat: data)); //it then yields RoomChatReceivedState

      });
    } catch (exception) {
      print(exception);
    }
  }

RoomChatRepo
Stream<List<RoomChat>> getRoomChat() {
    CollectionReference collectionReference =
        db.collection(PathOf.mohallaChats).doc(mohalla).collection(room);
    final now = Timestamp.now().toDate();
    final oneHourAgoTime =
        Timestamp.fromDate(now.subtract(const Duration(hours: 1)));

    return collectionReference
        .where('timestamp', isGreaterThan: oneHourAgoTime)
        .orderBy('timestamp', descending: true)
        .limit(10)
        .snapshots()
        .transform(StreamTransformer<QuerySnapshot<Map<String, dynamic>>,
                List<RoomChat>>.fromHandlers(
            handleData: (QuerySnapshot<Map<String, dynamic>> querySnapshot,
                    EventSink<List<RoomChat>> sink) =>
                mapQuerySnapshotToRoomChat(querySnapshot, sink)));
  }

RoomChatPage
BlocBuilder<RoomChatBloc, RoomChatState>(
                                  bloc: roomChatBloc,
                                  builder: (context, state) {
                                    if (state is RoomChatReceivedState) {
                                      if (showCachedList.value) {
                                        return cachedChatList;
                                      }
                                      cachedChatList =
                                          ImplicitlyAnimatedList<RoomChat>(
                                        reverse: true,
                                        controller: _scrollController,
                                        areItemsTheSame:
                                            (RoomChat a, RoomChat b) =>
                                                a.id == b.id,
                                        items: state.roomChat,
                                        itemBuilder: (context,
                                            Animation<double> animation,
                                            item,
                                            index) {
                                          return FadeTransition(
                                            key: ValueKey(item.id),
                                            opacity: animation,
                                            child: RoomChat()
                                      );

                                      return cachedChatList;
                                    } else {
                                      return RoomChatLoading();
                                    }
                                  },
                                )

To fix the delay I have to call clearPersistance in my main()
Future<void> main() async {
 WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
 await FirebaseFirestore.instance.clearPersistence();

}

Thanks for this update. Wondering if you get same behavior without using Bloc ? I am trying to see if the query execution speed behavior is happening without any external dependencies.

@darshankawar That is hard to test as we need to populate the cache enough to start noticing the difference. Since it's a production app that is doable but producing a seperate example without any external dependency is hard. Though i am sure about it as clearPersistance fixes the issue so it has something to do with the firestore.

I am going ahead and label it for now for team's insights based on above comment. But if you could, a reproducible code sample without third party plugins would be nice to actually narrow down this behavior to the plugin.
/cc @russellwheatley

@itssidhere Are you using Source.cache anywhere? I've noticed that being very slow lately.

@larssn No but the plugin implicitly tries to get it from cache first so that's why it's the same thing. Cache is very slow and disabling it is the only option.

I am also experiencing this same issue too from android.
Here is my experience...
When the user install the app, everything is normal and the queries are very fast for both Source.cache and Source.server. Then after using the app for a while, all queries becomes extremely  slow for both Source.cache and Source.server and the more the user keeps using the app, the slower it becomes. The problem persist even after the user manually clears the cache.
The queries only becomes faster again after the user uninstall the app then reinstall it. But as they keep using the app, the queries becomes slower and slower with time.
Things I have tried:

.setPersistenceEnabled(false)
mDb.clearPersistence();
Manually cleared the app's cache

None of this has helped, I only have to uninstall the app and reinstall for the queries to be fast again, but becomes slower and slower with time.

@Peirazo True. @darshankawar Can you please look into this issue.


Modal without controller, but with directive/component as template

Feature request description:
As far as I can tell, it is not supported at the moment. Current solution requires controller to be specified to manage/work with $uibModalInstance. But if one would take component approach, then modal template could be a component or directive of type 'E', that can already have a direct cotroller bind to it.
Would be nice to have a way to pass/get $uibModalInstance inside this component to mange current modal.
Link to an approach, that would be nice to have:
http://jsbin.com/rimexuf/2/edit?html,js,output
Version of Angular, UIBS, and Bootstrap
Angular: 1.4.9
UIBS: 0.14.3
Bootstrap: 3.3.6

Closing as a duplicate of #5683 :)


centralize the serialization/deserialization logic

This PR provides a centralized json handling system.
The Idea is to use the same JsonHandler throughout the whole sdk, centralize the logic to serialize/deserialize and make it possible to change the underlying Json library without breaking changes.
This is the json pendant to #34
ATM the Code is not integrated anywhere. this would be topic for a future PR.
Usage would be
Movie movie = handler.decode("{"id":"1"}", Movie.class)
List<Movie> movieList= handler.decode("[{"id":"1"}{"id":"2"}{"id":"3"}]", Arraylist.class, Movie.class)

I really like this 'abstract' vision that you are implementing, because to me it seems it can help with reducing strong dependencies and adding some possibilities of customization. But in this particular case, I was just wondering: does it happen often that you want to swap from one Json libraby to another one? I'm not against it at all, I'm just asking because I think this introduces more complexity in the code and want to be sure it is indeed useful. I am used to develop languages where you have either a nitve way of handling Json, or a library that kind of is the main choice for everyone, but I don't know how Java developpers handle this in general, I see there are a few options that are used widely and don't seem to have a real consensus.
In the other hand, centralizing json handling seems like an amazing idea for usability and readability! 👍

I [...] want to be sure it is indeed useful.

In the Java Ecosystem you have different userclusters that use different libraries.
The JakartaEE people use http://json-b.net/ and https://javaee.github.io/jsonp/
The Spring People use https://github.com/FasterXML/jackson
Some people like Gson, some use https://github.com/fangyidong/json-simple
To not scare away a possible userbase i wrote this little abstraction to allow them to integrate an existing json library.  In some environments "just pull in a second json lib" doesn't fly and will get you in trouble. I hope its not that big of a braintwister 😄

To not scare away a possible userbase i wrote this little abstraction to allow them to integrate an existing json library [...]

Thanks a lot! Your answer is quite reassuring, and it seems to be exactly what we want!!!
Then again, I ask myself ( and to you in here :) ) the same question than for other abstactions... should we make a choice to use a specific library by default, to make it easy to use out-of-the-box? With an abstraction like this one you are introducing, this kind of choice is a big help instead of a constraint! That's great!

I see you used gson, maybe because it was already used in this SDK, maybe because is your choice. But feel free to use a different one if you prefer

I added two additional Handlers.
JacksonJsonHandler that uses Jackson
JsonBJsonHandler that uses the JSON-B API with eclipse yasson as an implementation for the tests.
I never worked with JSON-B and yasson before, so use with caution. This handler is probably not bug free 😄

should we make a choice to use a specific library by default, to make it easy to use out-of-the-box?

Maybe we can automatically decide what implementation we use based on the classpath.
If Jackson is present, use JacksonJsonHandler. If Gson is present, use Gson.
Could look something like this:
Client
    .newBuilder()
    .withConfig(...)
    .withAutodetectHttpClient()  // for autodetect
    .withHttpClient(new ApacheHttpClient(...)) // for a specific implementation
    .withAutodetectJsonHandler()  // for autodetect
    .withJsonHandler(new JacksonJsonHandler(...))  // for a specific implementation
    .build();

Hi @niemannd !
I was running some simple test of this PR, I am very happy with the results. This is a simple test which works as expected:
import com.meilisearch.sdk.Client;
import com.meilisearch.sdk.Config;
import com.meilisearch.sdk.UpdateStatus;
import com.meilisearch.sdk.Index;
import com.meilisearch.sdk.json.GsonJsonHandler;

final class Document {
  String id;
  String title;
}

public class TestJava {
  public static void main(String[] args) throws Exception {

    GsonJsonHandler json = new GsonJsonHandler();

    final String indexUid = "books";
    final String documents = "["
      + "{\"id\": 123, \"title\": \"Pride and Prejudice\"},"
      + "{\"id\": 456, \"title\": \"Le Petit Prince\"},"
      + "{\"id\": 1, \"title\": \"Alice In Wonderland\"},"
      + "{\"id\": 1344, \"title\": \"The Hobbit\"},"
      + "{\"id\": 4, \"title\": \"Harry Potter and the Half-Blood Prince\"},"
      + "{\"id\": 2, \"title\": \"The Hitchhiker\'s Guide to the Galaxy\"}"
      + "]";

    Client client = new Client(new Config("http://localhost:7700", "masterKey"));

    Index index = client.createIndex(indexUid);
    UpdateStatus update = json.decode(
      index.addDocuments(documents),
      UpdateStatus.class
    );

    index.waitForPendingUpdate(update.getUpdateId());

    String results = index.search("a");
    System.out.println(results);

    client.deleteIndex(indexUid);

  }
}

The problem comes when I replace GsonJsonHandler with JacksonJsonHandler or JsonbJsonHandler (3 time sin the code) which in theory should work in the exact same way.
JsonbJsonHandler

JacksonJsonHandler

Am I missing something?

thats probably because the dependencies JacksonJsonHandler and JsonbJsonHandler need are compileOnly and not bundled with the dependency.
To use them your need the following dependencies in your build.gradle
For JacksonJsonHandler
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.11.3'
For JsonbJsonHandler
compile group: 'javax.json.bind', name: 'javax.json.bind-api', version: '1.0' and an implementation like eclipse yasson.
(in JavaEE/JakartaEE implementation should be provided by the application server, so only the api would be required)

Oh sorry, I deleted the comment as I realized that! Thanks for your help!
Works smoothly 👍

Ready to merge @niemannd ?

Ready to merge

Another question, sorry...
Assuming
import com.meilisearch.sdk.Client;
import com.meilisearch.sdk.Config;
import com.meilisearch.sdk.UpdateStatus;
import com.meilisearch.sdk.Index;
import com.meilisearch.sdk.json.GsonJsonHandler;
import com.meilisearch.sdk.json.JacksonJsonHandler;
import com.meilisearch.sdk.json.JsonbJsonHandler;

final class Document {
  String id;
  String title;
}

final class Results {
  Document[] hits;
}

public class TestJava {
  public static void main(String[] args) throws Exception {

    GsonJsonHandler json_gson = new GsonJsonHandler();
    JacksonJsonHandler json_jackson = new JacksonJsonHandler();
    JsonbJsonHandler json_jsonb = new JsonbJsonHandler();

    final String indexUid = "books";
    final String documents = "["
      + "{\"id\": 123, \"title\": \"Pride and Prejudice\"},"
      + "{\"id\": 456, \"title\": \"Le Petit Prince\"},"
      + "{\"id\": 1, \"title\": \"Alice In Wonderland\"},"
      + "{\"id\": 1344, \"title\": \"The Hobbit\"},"
      + "{\"id\": 4, \"title\": \"Harry Potter and the Half-Blood Prince\"},"
      + "{\"id\": 2, \"title\": \"The Hitchhiker\'s Guide to the Galaxy\"}"
      + "]";

    Client client = new Client(new Config("http://localhost:7700", "masterKey"));

    Index index = client.createIndex(indexUid);
    UpdateStatus update = json_gson.decode(
      index.addDocuments(documents),
      UpdateStatus.class
    );

    index.waitForPendingUpdate(update.getUpdateId());

    // .... HERE GOES THE TEST

    client.deleteIndex(indexUid);

  }
}

If i test
Results res_gson = json_gson.decode(index.search("a"), Results.class);
System.out.println(res_gson.hits);
System.out.println(json_gson.encode(res_gson.hits));

I get the output:
[LtestJava.Document;@4034c28c
[{"id":"1","title":"Alice In Wonderland"},{"id":"123","title":"Pride and Prejudice"},{"id":"4","title":"Harry Potter and the Half-Blood Prince"}]

Then I try:
Results res_jackson = json_jackson.decode(index.search("a"), Results.class);
System.out.println(res_jackson.hits);

and the output is:
null

This seems to be a problem, can you check please?

Thats a problem with the way you declared those classes.
Jackson can't serialize/deserialize package-private and private fields with default settings. Either make them public or (recommended) use Getters/Setters.
package com.meilisearch;

import com.meilisearch.sdk.Client;
import com.meilisearch.sdk.Config;
import com.meilisearch.sdk.Index;
import com.meilisearch.sdk.UpdateStatus;
import com.meilisearch.sdk.json.GsonJsonHandler;
import com.meilisearch.sdk.json.JacksonJsonHandler;
import com.meilisearch.sdk.json.JsonbJsonHandler;
import org.junit.jupiter.api.Test;

public class TestJava {

	@Test
	void name() throws Exception {

		GsonJsonHandler json_gson = new GsonJsonHandler();
		JacksonJsonHandler json_jackson = new JacksonJsonHandler();
		JsonbJsonHandler json_jsonb = new JsonbJsonHandler();

		final String indexUid = "books";
		final String documents = "["
			+ "{\"id\": 123, \"title\": \"Pride and Prejudice\"},"
			+ "{\"id\": 456, \"title\": \"Le Petit Prince\"},"
			+ "{\"id\": 1, \"title\": \"Alice In Wonderland\"},"
			+ "{\"id\": 1344, \"title\": \"The Hobbit\"},"
			+ "{\"id\": 4, \"title\": \"Harry Potter and the Half-Blood Prince\"},"
			+ "{\"id\": 2, \"title\": \"The Hitchhiker\'s Guide to the Galaxy\"}"
			+ "]";

		Client client = new Client(new Config("http://localhost:7700", "masterKey"));

		Index index = client.createIndex(indexUid);
		UpdateStatus update = json_gson.decode(
			index.addDocuments(documents),
			UpdateStatus.class
		);

		index.waitForPendingUpdate(update.getUpdateId());

		Results res_gson = json_gson.decode(index.search("a"), Results.class);
		System.out.println(res_gson.hits);
		System.out.println(json_gson.encode(res_gson.hits));

		Results res_jackson = json_jackson.decode(index.search("a"), Results.class);
		System.out.println(res_jackson.hits);
		System.out.println(json_jackson.encode(res_jackson.hits));

		client.deleteIndex(indexUid);
	}

	public static class Document {
		private String id;
		private String title;

		public String getId() {
			return id;
		}

		public Document setId(String id) {
			this.id = id;
			return this;
		}

		public String getTitle() {
			return title;
		}

		public Document setTitle(String title) {
			this.title = title;
			return this;
		}
	}

	public static class Results {
		private Document[] hits;

		public Document[] getHits() {
			return hits;
		}

		public Results setHits(Document[] hits) {
			this.hits = hits;
			return this;
		}
	}
}

Great, sorry, as usual when you try to do things quickly you end up working double haha!
I'd like to add an integration test for this, using the 3 json implementations, and adding an assertion to check that the hits are the same no matter what encoder/decoder you use. Could you add it to the PR? I can commit a test if you prefer< but I prefer that everythiong is tested to avoid future problems :)

I added unit tests for the other two JsonHandler.
At the moment i cant add an integration test, because the code is not really used.
In the future i would use something like this for integration tests.
Runs every encode/decode on all Handlers and compares the result. (probably still buggy)
public class MultiJsonHandler implements JsonHandler {
	private final JacksonJsonHandler jacksonJsonHandler = new JacksonJsonHandler();
	private final JsonbJsonHandler jsonbJsonHandler = new JsonbJsonHandler();
	private final GsonJsonHandler gsonJsonHandler = new GsonJsonHandler();

	@Override
	public String encode(Object o) throws Exception {
		final String encodeJackson = jacksonJsonHandler.encode(o);
		final String encodeJsonb = jsonbJsonHandler.encode(o);
		final String encodeGson = gsonJsonHandler.encode(o);

		assertThat(encodeGson, equalTo(encodeJackson));
		assertThat(encodeGson, equalTo(encodeJsonb));
		return encodeGson;
	}

	@Override
	public <T> T decode(Object o, Class<?> targetClass, Class<?>... parameters) throws Exception {
		T decodeJackson = jacksonJsonHandler.decode(o, targetClass, parameters);
		T decodeJsonb = jsonbJsonHandler.decode(o, targetClass, parameters)
		T decodeGson = gsonJsonHandler.decode(o, targetClass, parameters);
		assertThat(decodeGson, equalTo(decodeJackson));
		assertThat(decodeGson, equalTo(decodeJsonb));
		return decodeGson;
	}
}

Amazing @niemannd 🚀 🚀 🚀 🚀


Adding items forces restart of session sometimes

Seems that adding items to slots restarts the session entirely sometimes. If I find an item that causes this, it seems to be repeatable.
Windows 10
Brave Browser
Foundry 7.9
DnD 5e 1.2.4

Could you tell me what items do that?
Maybe provide a json export of that item.

After some poking around it seems that so far it's all custom items I've created rather than ones pulled from compendiums. Maybe it has something to do with the image size or proportions attached to the items? I've included json exports of a few.
Broken Items.zip

Hi, i still cannot reproduce this error but could you try to update to this version and tell me if it still happens
https://github.com/HadaIonut/Equipement-Paper-Doll/releases/download/1.0.4/module.json

I think the updates fixed this. I get no crashes and it seems to work as intended now. Thanks!


Skip saving associations during UpdateColumns(...)

Yesterday I noticed that when invoking UpdateColumns(...) it would try to save all associated records.  I found this to be highly undesirable and it seemed like only an UPDATE ... statement should have been run.
This patch achieves the desired effect for at UpdateColumns(...).
Relevant unit-test is included.
=== RUN TestUpdateColumnsSkipsAssociations
--- PASS: TestUpdateColumnsSkipsAssociations (0.10s)
PASS

All unit tests:
ok  	github.com/jinzhu/gorm	2.576s

looks good, thank you.


@imgix/gatsby not working at all at build proccess

@imgix/gatsby is not working any more on build process using the command gatsby build.
I have the following error:
info [@imgix/gatsby] Loaded plugin.
success onPreInit - 0.011s
success initialize cache - 0.059s
success copy gatsby files - 0.155s
success Compiling Gatsby Functions - 0.235s
success onPreBootstrap - 0.895s

 ERROR #11321  PLUGIN

"@imgix/gatsby" threw an error while running the createSchemaCustomization lifecycle:

Cannot read properties of undefined (reading 'slice')

  145 |
  146 |   // Create the imgix GraphQL types, which will be added to the schema later
> 147 |   const typesAndFields = buildImgixGatsbyTypes<{ rawURL: string }>({
      |                                               ^
  148 |     cache: gatsbyContext.cache,
  149 |     imgixClient,
  150 |     resolveUrl: prop('rawURL'),

File: node_modules\@imgix\gatsby\src\modules\gatsby-plugin\gatsby-node.ts:147:47

  TypeError: Cannot read properties of undefined (reading 'slice')

  - graphqlTypes.ts:57
    [youmni-front]/[@imgix]/gatsby/src/modules/gatsby-plugin/graphqlTypes.ts:57:35

  - Array.reduce

  - graphqlTypes.ts:24 ImgixParamsInputType
    [youmni-front]/[@imgix]/gatsby/src/modules/gatsby-plugin/graphqlTypes.ts:24:54

  - typeBuilder.ts:55 buildImgixGatsbyTypes
    [youmni-front]/[@imgix]/gatsby/src/modules/gatsby-plugin/typeBuilder.ts:55:47

  - gatsby-node.ts:147
    [youmni-front]/[@imgix]/gatsby/src/modules/gatsby-plugin/gatsby-node.ts:147:47

  - gatsby-node.js:33 step
    [youmni-front]/[@imgix]/gatsby/dist/modules/gatsby-plugin/gatsby-node.js:33:23

  - gatsby-node.js:14 Object.next
    [youmni-front]/[@imgix]/gatsby/dist/modules/gatsby-plugin/gatsby-node.js:14:53

  - gatsby-node.js:8
    [youmni-front]/[@imgix]/gatsby/dist/modules/gatsby-plugin/gatsby-node.js:8:71

  - new Promise

  - gatsby-node.js:4 __awaiter
    [youmni-front]/[@imgix]/gatsby/dist/modules/gatsby-plugin/gatsby-node.js:4:12

  - gatsby-node.ts:125 Object.createSchemaCustomization
    [youmni-front]/[@imgix]/gatsby/src/modules/gatsby-plugin/gatsby-node.ts:125:11

  - api-runner-node.js:430 runAPI
    [youmni-front]/[gatsby]/src/utils/api-runner-node.js:430:22

  - api-runner-node.js:581 Promise.catch.decorateEvent.pluginName
    [youmni-front]/[gatsby]/src/utils/api-runner-node.js:581:13

  - debuggability.js:384 Promise._execute
    [youmni-front]/[bluebird]/js/release/debuggability.js:384:9

  - promise.js:518 Promise._resolveFromExecutor
    [youmni-front]/[bluebird]/js/release/promise.js:518:18

  - promise.js:103 new Promise
    [youmni-front]/[bluebird]/js/release/promise.js:103:10

not finished createSchemaCustomization - 0.124s

After investigation, the source of the problem is due to the latest changes to the imgix-url-params pacakge with the version 11.15.0. A rollback to the version 11.13.1 solved the problem. I believe that the exception thrown after calling the slice method as mentioned in the error is caused by the lack of short_description for the parameter parameters node in this json file.

WORKAROUND
Rollback to the version 11.13.1 of imgix-url-params. To do so, add this to your package.jsonfile:
"overrides": {
    "@imgix/gatsby": {
      "imgix-url-params": "11.13.1"
    }
},```

Hey @hazzyeer 👋🏼 , thanks for opening this issue and for posting your work around.
It looks like when we released imgix-url-params 11.14.1 the gif-q param mistakenly did not include the short_description property. We failed to catch this at the time because the imgix/gatsby renovate is not currently configured to automatically bump the imgix-url-params versions. This would have failed in CI, surfacing the issue sooner.
We're taking steps to fix the issue and ensure it doesn't happen again.
I'll update this ticket once this has been resolved.


Rewrappers

Codecov Report

Merging #7 (6d69435) into master (9f4e78e) will increase coverage by 0.13%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   97.04%   97.17%   +0.13%
==========================================
  Files          14       14
  Lines         779      815      +36
==========================================
+ Hits          756      792      +36
  Misses         23       23

Impacted Files
Coverage Δ

include/irlba/lanczos.hpp
91.66% <100.00%> (+8.33%)
:arrow_up:

include/irlba/parallel.hpp
100.00% <100.00%> (ø)

include/irlba/wrappers.hpp
92.45% <100.00%> (+3.26%)
:arrow_up:

tests/src/parallel.cpp
95.91% <100.00%> (+0.17%)
:arrow_up:

tests/src/wrappers.cpp
100.00% <100.00%> (ø)

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


Update sbt to 1.9.9 in scala-steward-dependencies

About this PR
📦 Updates org.scala-sbt:sbt from 1.9.7 to 1.9.9
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

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

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

merged with PR https://github.com/nationalarchives/tdr-draft-metadata-validator/pull/40


Finishing adding attribute types

Added

DateRange struct and implementations
Parsing DateRange (wasn't parsed due to a typo)
fn daterange() to parse DateRange
write_some_other_attributes macro
resolved FIXME required unless None for method and iv

Changed / fixed:

trim_matches() potentially too greedy, replaced with strip_suffix/prefix
removed a bunch of "Unnecessary qualification", eg fmt:: for Display
changed fn extmap() to use QuotedOrUnquoted and other_attributes
fmt for QuotedOrUnquoted are now printing quoted strings in "
bool_default_false macro renamed to is_yes
qualified error message for quoted_string_parse and unquoted_string_parse
other_attributes now Option<>
ClosedCaptionGroupId::Other(s) variant processing added to write_to
HDCPLevel::Other(s) variant processing added to fmt
AlternativeMediaType::Other(s) variant processing added to fmt
InstreamId::Other(s) variant processing added to fmt
MediaPlaylistType::Other(s) variant processing added to fmt
KeyMethod::Other(s) variant processing added to fmt
included DateRange to tests
included other_attributes to tests

Minor:
Typos corrections
rustfmt applied

I'm going to need to do more testing with actual manifests, but this near complete. All tests are working. @sdroege take a look and let me know what do you think.

Hey @sdroege, can we merge this and continue upstream?

Thanks, I'll look at this this week. Sorry for the delay


Ram comsumption

Hi, I have a problem with my memory when using the trainer. It's just going up up and the game crash when I run out of RAM
P/s: I have 16GBs of RAM and thanks for the trainer btw

Ah strange, never hit such an issue.
Could you share your %LOCALAPPDATA%Low\Battlestate Games\EscapeFromTarkov\Player.log, in case we can find something interesting. Thanks

Ah strange, never hit such an issue.
Could you share your %LOCALAPPDATA%Low\Battlestate Games\EscapeFromTarkov\Player.log, in case we can find something interesting. Thanks

I can't find any file which name is "Player.log" at that path. There is just 1 file  in that folder and it's name is "output_log.txt"

You are using an old EFT version. Any chance you can upgrade to the latest ?
Since this old version, both EFT and the trainer improved their memory footprint.

You are using an old EFT version. Any chance you can upgrade to the latest ?
Since this old version, both EFT and the trainer improved their memory footprint.

Thanks for explanation. I'll try to update to the latest version and inform you if the problem still happen


Music Album Planner

User Story
As a user
I want to be able enter my user preferences
So that I can be presented with a list of songs that match my preferences.
Acceptance Criteria
Given I want to listen to music
when I want to be able to enter my music preferences
then I am presented with a list of songs that match my preferences

initial job - create modal


WC2-462 Beneficiary list: Add column for org unit groups

Display the org units' group(s) in a new column. The groups are displayed as a comma-separated list with a link to the org units page filtered on the group.
Also added a filter for the groups.

Related JIRA tickets : https://bluesquare.atlassian.net/browse/WC2-462
Print screen / video
https://github.com/user-attachments/assets/a9b702ed-7383-4f07-bfd4-17484c93088f

Another thing is that when the user account has not access to SHOW_BENEFICIARY_TYPES_IN_LIST_MENU featureFlag it will display the filters like this:

I have one proposition to display the groups filter according to that the account has or has not the featureFlag like this:
Screencast from 2024-08-06 17-34-18.webm

Another thing is that when the user account has not access to SHOW_BENEFICIARY_TYPES_IN_LIST_MENU featureFlag it will display the filters like this:
I have one proposition to display the groups filter according to that the account has or has not the featureFlag like this: Screencast from 2024-08-06 17-34-18.webm

Great point! Your video is clearly an improvement? Did you already write the code for that? If so you can push it on this PR if you want?

Another thing is that when the user account has not access to SHOW_BENEFICIARY_TYPES_IN_LIST_MENU featureFlag it will display the filters like this:
I have one proposition to display the groups filter according to that the account has or has not the featureFlag like this: Screencast from 2024-08-06 17-34-18.webm

Great point! Your video is clearly an improvement. Did you already write the code for that? If so you can push it on this PR if you want?

Yeah I will push it!

Another thing is that when the user account has not access to SHOW_BENEFICIARY_TYPES_IN_LIST_MENU featureFlag it will display the filters like this:
I have one proposition to display the groups filter according to that the account has or has not the featureFlag like this: Screencast from 2024-08-06 17-34-18.webm

Great point! Your video is clearly an improvement. Did you already write the code for that? If so you can push it on this PR if you want?

Yeah I will push it!

The improvement pushed

@cypress

@hakifran Cypress test is now green for me locally, okay for merge if okay for you!


Remove executable flag for c++ files

Remove executable flag for c++ files, their color looks ugly in console and misleading.

Great find. Thanks for the patch. Applied.


Ability to provide a rerun_filter to work with the force-flaky option

In the case of when the user is using force-flaky, it would be useful to be able to provide a filter function as well that can be used globally.
I was able to do it with a bit of a hack for the moment:
def pytest_configure(config):
    flaky_inst = config.pluginmanager.getplugin("flaky").PLUGIN
    flaky_inst._make_test_flaky = partial(flaky_inst._make_test_flaky,
                                          rerun_filter=should_rerun)

this solution is not working when I tried. Is this still working for you?


Jesse: Watch feastdinnerjournal.com

Jesse requests the watch of the watch_keyword feastdinnerjournal\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

feastdinnerjournal\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Add global constant and different executors on the same device do not need memory movement

This PR makes different executors on the same device do not need memory movement and add global constant.

[x] executor can directly use the memory from other executors if they are on the same device (need the same Executor-type)
[ ] allocate and deallocate in executor not global

Some comments here:
I believe we should close this PR and move to #670. When implementing the global constant, I realized it's very complex code to make it work, and it would instead be very easy to implement with the concept of memory space, as that is exactly what a natural implementation of this feature would be. I would rather put this on hold until we have that, otherwise any implementation of this feature tries to provide something like memory spaces without properly integrating it into the executors to not create an interface breaking change...


Remove content character from :after

😂  please.
cc @piensaenpixel @MariaCheca

Issue moved to CartoDB/CartoAssets #148 via ZenHub


FasterGetCompReplacement causes double heads Babies and Children + Facial Animation

Mods to produce:

Babies and Children 1.3
Facial Animation WIP
Performance Optimizer

This is happens when FasterGetCompReplacement is activated.
Adding "Facial Animation" here seems to solve it but I am not sure if that is the ideal solution.
https://github.com/Taranchuk/PerformanceOptimizer/blob/fd629ffbfd8bf441cf1e264da8b4b186417bb5b6/1.3/Source/PerformanceOptimizer/Optimizations/Cache/Optimization_FasterGetCompReplacement.cs#L35-L38

I suppose you could blacklist only certain class in Facial Animation where it's bugging out so FasterGetCompReplacement doesn't touch it


Add issue template for IDA plugins && support automate package creation

Details
Introduce a new helper for IDA plugins and an issue template so that we can create packages that install ida plugins automatically.
Split https://github.com/mandiant/VM-Packages/issues/719 using the new template

You can use the IDAUSR folder for partial configs and plugin folder merging without needing to put them in the IDA directory. Works for python and binary plugins

You can use the IDAUSR https://hex-rays.com/blog/igors-tip-of-the-week-33-idas folder for partial configs and plugin folder merging without needing to put them in the IDA directory

This is how we are doing it already (for the only plugin we have: capa plugin) :wink:  IDAUSR is shared between IDA versions.

I am adding a helper function in https://github.com/mandiant/VM-Packages/pull/1013 that downloads a single file to the plugins directory. This seems to be how most plugins distributed as a DLL are installed. The following Python plugins can also be installed in this way:

https://github.com/hasherezade/ida_ifl
https://github.com/airbus-cert/comida

I have checked several IDA plugins and the other common case seems to be copying a folder to the plugins directory (normally downloaded from GH in a ZIP). Plugins that can be installed in this way:

https://github.com/gaasedelen/tenet (plugins folder)
https://github.com/gaasedelen/lighthouse (plugins folder)
https://github.com/danigargu/deREferencing (root folder, we may want to ask the maintainer for a subfolder that does not include things like the license and the readme and we can directly copy)

I suggest extending the helper to support this second case after #1013 has been merged and create a new issue template for automation for both cases and that allow to provide installation details for the rest. After that we can trigger automation to generate the packages mentioned above!

https://github.com/gaasedelen/tenet doesn't work with Python 3.10: https://github.com/gaasedelen/tenet/issues/15#issuecomment-2084743150


Adding Virtual Keypad

Can I add virtual keypad beside every entry label, clicking on which opens a pop up virtual keypad, and we can add input using that virtual keypad.
Below is the screenshot :

Below is link to video showing how it works :
https://user-images.githubusercontent.com/57003737/123156834-6976d100-d487-11eb-815d-51073d9cda59.mp4

@QAZIMAAZARSHAD , if we can add this virtual keypad, then pleas assign this to me under LGM SOC.


Nginx proxy manager

Hi guys, how can I update to the new nginx proxy manager and do this safely without losing settings?

By reading the manual......


CentOS 8 repo setup wrong

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
2.0.5
Current Behavior
When I download https://download.konghq.com/gateway-2.x-centos-8/config.repo and run yum update, a 404 error related to GPG comes up
Error: Failed to retrieve GPG key for repo 'gateway-2.x-centos-8': Status code: 404 for https://download.konghq.com//gateway-2.x-centos-8/repodata/repomd.xml.key (IP: <IP_ADDRESS>)

Expected Behavior
yum update works ok
Steps To Reproduce
No response
Anything else?
Replace the line:
gpgkey=https://download.konghq.com//gateway-2.x-centos-8/repodata/repomd.xml.key

with:
gpgkey=https://download.konghq.com/gateway-2.x-centos-8/repodata/repomd.xml.key

and it will work OK.

Additionally, the settings gpgcheck=1 and repo_gpgcheck=1 found in your yum repo conf cause the update to fail later on, because the repomd.xml.key file is empty.

Hey @gjedeer,
Thank you for reporting. This is a known issue in Pulp, part of our distribution stack -- see https://pulp.plan.io/issues/9350.
We will keep this open and post an update once we have it.

Hi all! This issue is fixed by now. Thank you so much for reporting it!


pyinstalive.ini

Hi dirk i want to use a proxy with pyinstalive and I noticed that the pyinstalive.ini has a field that says proxy. I was wondering if that was for an actual proxy? Do i just link the proxy there?
proxy =
verbose = False
skip_merge = False

Yes
proxy = http://<IP_ADDRESS>:8888


chore: add packages prefix to codecov config

PRs are failing Codecov checks on style changes.  This is because the restructure to a monorepo missed the Codecov config paths.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Check for empty title

I encountered an IndexError because of an empty title string. This fix should prevent that type of error.

I cannot reproduce the error. Could you send an exemple ?

thanks


[MM-17250] reset user.Name to nil value before passing to UpdateAssignee method.

Summary
When assigning a user to a ticket, the API returns an error if both user.AccountId and user.Name is defined on the single user.
To fix this, I nulled the user.Name field of the user struct before calling jiraClient.Issue.UpdateAssignee()
Note other error handling functions of the /jira assign slash commands worked as expected.  This is because the errors are handled inside the server code, before calling the Jira API function.
Ticket
https://mattermost.atlassian.net/browse/MM-17250

@levb, @cpoile  I really think we need a test for something like this and was curious on your thoughts and how to achieve testing against a known jira install.  I'm wondering if we can setup a test server with data that can be used for testing Jira APIs?  What do you think?

if we can setup a test server with data that can be used for testing Jira APIs

(sorry hit the wrong button, no prompt)

@jfrerich  I see a change in behavior now where if you pass it a value that returns only 1 assignee, It will assign that assignee.
But, I have a different concern. Should you be able to assign based first and last name they have in Jira? This does not seem to work because you can't pass a value with a space. So...

Type /jira assign EXT-248 Christopher
Note the response that it matches 3 users and list their first and last names but not their usernames
Attempt to assign the task using the info you were provided /jira assign EXT-248 Christopher Speller
Observed: Please specify both an issue key and assignee in the form /jira assign <issue-key> <assignee>.

@jfrerich Please advise if we need a new task to address this concern. This may well be out of scope for this PR

@DHaussermann, valid concern and catch.  Because jira is matching against username I would propose adding the username in the returned list of matches.  To make the results look better, I can throw the results into a table.  How does that sound?

Thanks @jfrerich  That was my thought as well. I clarified my comment after :)
I will create a new Jira task to address this and we can make sure @aaronrothschild  is happy with this solution in triage.

@DHaussermann Here are some notes with what I just found and will be helpful in the new traige ticket.
Looking at the results of the following:
https://mmtest.atlassian.net/rest/api/2/user/assignable/search?issueKey=EXT-20&username=christopher

[
  {
    "self": "https://mmtest.atlassian.net/rest/api/2/user?accountId=5c9e55770cf73c3215ff95ad",
    "key": "admin",
    "accountId": "5c9e55770cf73c3215ff95ad",
    "accountType": "atlassian",
    "name": "admin",
    "emailAddress": "",
    "avatarUrls": {
      "48x48": "https://secure.gravatar.com/avatar/ba5e6a14bce80d8eb3b7caae62f429e9?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FCS-3.png&size=48&s=48",
      "24x24": "https://secure.gravatar.com/avatar/ba5e6a14bce80d8eb3b7caae62f429e9?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FCS-3.png&size=24&s=24",
      "16x16": "https://secure.gravatar.com/avatar/ba5e6a14bce80d8eb3b7caae62f429e9?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FCS-3.png&size=16&s=16",
      "32x32": "https://secure.gravatar.com/avatar/ba5e6a14bce80d8eb3b7caae62f429e9?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FCS-3.png&size=32&s=32"
    },
    "displayName": "Christopher Speller",
    "active": true,
    "timeZone": "America/Vancouver",
    "locale": "en_US"
  },
  {
    "self": "https://mmtest.atlassian.net/rest/api/2/user?accountId=5cc707053d24270e75a92316",
    "key": "chris.poile",
    "accountId": "5cc707053d24270e75a92316",
    "accountType": "atlassian",
    "name": "chris.poile",
    "emailAddress": "",
    "avatarUrls": {
      "48x48": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5cc707053d24270e75a92316/922766e5-6b71-4339-8775-a553dd9178b3/128?size=48&s=48",
      "24x24": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5cc707053d24270e75a92316/922766e5-6b71-4339-8775-a553dd9178b3/128?size=24&s=24",
      "16x16": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5cc707053d24270e75a92316/922766e5-6b71-4339-8775-a553dd9178b3/128?size=16&s=16",
      "32x32": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5cc707053d24270e75a92316/922766e5-6b71-4339-8775-a553dd9178b3/128?size=32&s=32"
    },
    "displayName": "Christopher Poile",
    "active": true,
    "timeZone": "America/Toronto",
    "locale": "en_US"
  }
]


Add "filesRoot" path to Android provider paths xml

Adds a filesRoot provider path to the Android build godot_provider_paths.xml file.
See: https://github.com/godotengine/godot/pull/72495#issuecomment-1455241402
This allows custom Android plugins to register the project as a androidx.core.content.FileProvider for sharing capabilities in a compatible way with the changes in #72495.
@Derektamente has tested it with their Godroid plugin and verified that it works.

I confirm the change works as intended. I'll provide a minimal rep project for reviewers to test, if needed

The indentation changes seem a bit arbitrary, are they intentional?
For the record, your commit seems not to be linked to your GitHub account. See: Why are my commits linked to the wrong user? for more info.

Thanks for the heads up, my IDE must have done something strange there - I've fixed the indentation and the author email.

Thanks!

Cherry-picked for 4.0.2.


Broken Link

In the Cumulus section of Parachain Development on Polkadot wiki
exists broken link to the parachain tutorials

Maybe I can add here another link that appears to be broken. I found it in a Substrate SE question and submitted a revision.
The link has the url : https://docs.substrate.io/v3/runtime/benchmarking/
and it looks like the correct one should be : https://docs.substrate.io/main-docs/test/benchmark/

https://github.com/w3f/polkadot-wiki/pull/3520

The link in the Polkadot wkik has been removed because the tutorials are still under construction. We'll put it back when then are updated.


Doesn't find droned command

Hi,
I'm trying to install drone on my computer in following this step but i can't found the command droned, I've only the command drone which show me in the console:

How can I run drone ?

droned is run with systemd


Fix outdated reference to -D analyzer

Also removed a stray backtick that seemed to break the markdown on the page:

@simn since which version does it work like this? Maybe we mention this change somewhere too?

I think it's been that way since at least 3.3 / 3.4? So not sure if it's worth documenting the previous define for versions older than that at this point.

According this blogpost: https://haxe.org/blog/haxe-3.4-release/

In Haxe 3.4 the static analyzer has settled and runs by default, so the -D analyzer flag has been removed. To have extra optimizations the -D analyzer-optimize can be used. This builds a control flow graph and then the optimizer (if enabled) does some optimizations on that, like folding expressions, removing dead code, etc. This optimization flag is not enabled by default because of too many vars being eliminated for hxcpp, in Haxe 4.0 it will be enabled by default.

If that is the case, then the copy is not completely correct and first line should be:
The static analyzer is enabled by default and currently comes with the following modules.  To have extra optimizations \ic{-D analyzer-optimize} can be used.

@Simn

Added in f5b02db.


203 - Removing lock in Scope to improve performance

other possible check - if other containers do the same.

what if do try catch of one thread, any chance second thread will loop forever?

There is no possibility for it.
I am controlling how createValue is called and won't do the try-catch.
Assume someone put the try-catch inside the createValue, then it still need to return something (including null) or re-throw. If it returns, then whatever value it is, it won't be NoItem. If it throws - app will crash, means we are good too.
The only possible hack is returning the NoItem by createValue, but this thing is internal and if you do the reflection hacking - then you deserve the problems :)

I have replaced the locks everywhere and found one of the recursion issues in the process. It is now fixed


Make sure blocking client doesn't consume parking tokens

Fixes #1131.

Albeit, hm, I think I will modify this to use Condvar instead, no need to use builtin park and unpark...

Albeit, hm, I think I will modify this to use Condvar instead, no need to use builtin park and unpark...

This usage of thread parking is also used by Tokio and futures-executor. I understand that on some platforms, parking is better optimized than a condvar and Mutex. I don't yet see why this needs to be changed, but I welcome an explanation.

This usage of thread parking is also used by Tokio and futures-executor. I understand that on some platforms, parking is better optimized than a condvar and Mutex. I don't yet see why this needs to be changed, but I welcome an explanation.


parrot mambo discontinued

Hi Amy,
As you probably know, the Parrot Mambo is being discontinued: http://droneadvisor.tech/news/parrot-plans-to-stop-selling-mambo-and-swing-drones
This is too bad because it's an excellent and affordable drone and the pyparrot API is great.
Do you know of a good alternative to this drone that has an API/SDK? For example what kind of drone will you be using in future classes?

I have switched to the Tello Edu.  I also have a library for it although it is in alpha mode right now but we are using it in my class this semester!

That's great news - thank you. Once my parrot drone has _________  I'll get the Tello Edu and start using your api. Thanks very much for creating this library!


Bug: Respect CIDR format

Current Behavior:

The manifest allows to specify network using CIDR format <ip-address>/<mask> however we are not respecting the mask in code and always use /24
more occurrences can be found in the following links:
https://github.com/Berops/claudie/blob/master/services/ansibler/server/ansible-playbooks/wireguard/tasks/configure.yml#L32
https://github.com/Berops/claudie/blob/master/services/ansibler/server/vpn.go#L78-L118
Expected Behavior:

We should either 1. respect the supplied mask that was specified in the input manifest or 2. always use /24

We decided to go with option 1.


MINOR: increase connectionMaxIdleMs to make test reliable

Saw this flaky test in recent builds: #1452, #1454,
org.opentest4j.AssertionFailedError: Unexpected channel state EXPIRED ==> expected: <true> but was: <false>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:210)
	at app//org.apache.kafka.common.network.SslTransportLayerTest.testIOExceptionsDuringHandshake(SslTransportLayerTest.java:883)
	at app//org.apache.kafka.common.network.SslTransportLayerTest.testUngracefulRemoteCloseDuringHandshakeWrite(SslTransportLayerTest.java:833)

We expected the channel state to be AUTHENTICATE or READY, but got EXPIRED. Checking the test, we're not expecting expired state at all, but set a 5 secs idle timeout in selector, which is not enough when machine is busy. Increasing the connectionMaxIdleMs to 10 secs to make the test reliable.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@rajinisivaram , please take a look. Thanks.


Too strict check of endtime to be in the future

When the system that sends a start-evaluation event with an end timestamp of time.Now() is slightly ahead of the k8s cluster where Keptn runs then the Dynatrace SLI SErvice errors out with a "endtime is in the future".
This happened to me when running through some of the quality gate tutorials that are using the keptn cli to send a start-evaluation event. Like this:
keptn send event start-evaluation --project=qgproject --stage=qualitystage --service=evalservice --timeframe=10m

As my laptop is about 1.5s ahead of the EKS cluster where Keptn runs I can never get this use case to work. As the SLI Service has a built-in 120s retry to Dynatrace anyway to avoid this situation I suggest to ease up that time restriction to e.g: 30s. This will solve this problem and will allow users to use the keptn CLI for kicking off qulaity gates even though their local clock might be off by a couple of seconds

Relevant part of code can be easily adapted:
	// ensure end time is not in the future
	if time.Now().Sub(endUnix).Seconds() < 0 {
		fmt.Printf("ERROR: Supplied end-time %v is in the future\n", endUnix)
		return 0, errors.New("end time must not be in the future")
	}

	// ensure start time is before end time
	if endUnix.Sub(startUnix).Seconds() < 0 {
		fmt.Printf("ERROR: Start time needs to be before end time\n")
		return 0, errors.New("start time needs to be before end time")
	}


Assertions without grab?

Feature idea
I would like to see more easily read assertions, along the lines of:
I.seeNumberEquals(123, '#number')
I know something similar could be acheived using the grab functionality, and my own favorite assertion-library. But I think that would break the nice and easily read syntax of the scenariobased testscript.
If I was to try and implement this myself, what would be a good way to do this, as to not break the overall architecture?
Kind regards
Thomas

How i would pick different values on a website and compare them and click on the corresponding button which has the lowest value
For Eg: On a travel website, I want to book a flight and I wish to pick different flight rates from page and click on Select corresponding the cheapest flight


FPS not working correctly

I'm using 30 FPS but it seems animateSprite is skipping frames.
This is my code
$('#handClicker').animateSprite({
    fps: 30,
    loop: true,
    animations:{
    	clicker:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59]
    }
});

This is the css
#spriteManoClick {
	width: 150px;
	height: 150px;
	background-image: url(sprite-mano-click.png);
}

And this is the image (it's a white hand)

This might be caused because the script is not using requestAnimationFrame, just a generic setTimeout to handle the frames. This might cause the browser to drop frames.
I'm working in a new version of the plugin using vanilla javascript. I've opened a ticket there, and I hope this next weekend It will be ready for use.


Introduce package structure to unit tests

What is the expected enhancement?
Terra has unit tests that have a mostly flat structure. It prevents from running a bunch of file tests (and only them) at once if they belong to a package not represented in tests hierarchy. The enhancement is to mirror the structure of packages from the source code in unit tests.

I think this makes some sense and could also be useful as the package grows. However, in cases where the test subset may not match the source code hierarchy one may be able to use unittests' wildcard option.


Inputs padding problem

Hello. I'm customizing bootstrap using sass variables for my project. I'v noticed that If I change $input-btn-padding-y or $input-btn-padding-x this will be effective on both (buttons and inputs). Because you are using these variables with .btn class inside _buttons.scss file and .form-control class inside _forms.scss. Why not to create something like this:
$btn-input-padding-x = $input-padding-x !default;
$btn-input-padding-y = $input-padding-y !default;

So with the previous code the default situation that there's the same padding for the inputs and the buttons. But also I can customize buttons only.
I hope that you will add this feature. Thanks!

Hi @3mmarg97! Thanks for reporting this issue.
You are right, it is a problem and it has been fixed here: https://github.com/twbs/bootstrap/commit/58e553d7bcdd440cafa13a4a9b97cc293dbfcb04
You can change them both with $btn-input-padding-x or customize them individually with either $btn-padding-x or $input-padding-x.
It will be available on the next release.


Dont Install node.js from source

There has to be a better way of installing the latest version of node and npm that doesn't involve building from source.

Ok, this started with me trying to get the FE running (revising: how we install node, it's not from source; update npm and build a FE app), but I had to "fix" (encoding issue) PostgreSQL to successfully run my app.
smashing-dev-tool wasn't ready for prime time.
I found an issue related to dependencies (See https://github.com/smashingboxes/tape/issues/34)

:warning: Don't merge yet :warning:

:rotating_light: :rotating_light: :rotating_light: :rotating_light: :rotating_light: :rotating_light: :rotating_light:

im gonna review this now

Ready for review! Do not merge until my build finishes. I want to make sure bundle exec tape ansible everything works as advertised!

We are good! It took may vagrant 42s to boot and 27m 50s to run ansible (28m 22s total)
date && vagrant destroy --force && vagrant up && date && bundle exec tape ansible everything -l vagrant && date && open "http://localhost:8080/" && date && say -v "Good News" "Deployed"


Update GolangCI-lint to v1.49.0

https://github.com/golangci/golangci-lint/releases/tag/v1.49.0
No other changes needed as it seems to pass with the new version.

Coverage remained the same at 84.464% when pulling 48d1d15ab86bf8fd9464b242ca0563751ba40785 on sebrandon1:golangci_lint_update into 82aca791eaab681802a3147a32e95254a3e6c66a on redhat-openshift-ecosystem:main.

/ok-to-test


Added Loop for Team and proper text in text.json

Added loop to Team in state/team with the respective text in text.json to indicate that the user is indeed in the Team menu state. Upon exiting the Team loop there is no text printed, but the user will be notified that they are in the Main Menu.

Pushed code that should satisfy suggestions. Please review


Carousel with image is not working

I'm trying to use the Materialize example but I got the following error:

jQuery.Deferred exception: a.indexOf is not a function TypeError: a.indexOf is not a function

on my console is .carousel is not function?why?same as mkatk.carousel doesn't work.im using image slider but it's same as carousel.cannot work.

This is because it does not support the latest jQuery version.
Try using this - https://code.jquery.com/jquery-2.1.1.min.js version. As it is mentioned on their official website.
Here is the working demo

Unfortunately, this still does not work. It works sometimes, but other times it is too slow to initialize and so the carousel ends up in a weird position and not aligned like it should, covering up other parts of the site. I just tested this now.

@camnuckols could you check if this is still an issue?

@fega I have reproduced both the slider at codepen, it's working fine. U can check out the jquery, material js version used.
https://codepen.io/nirajtech/pen/rmagaL?editors=1010

Works for me :)


When specified 'required':False, plugins should not fail the build

fixes #624
koji_promote ends with INFO - Not promoting failed build to koji #624
this relates to the change, where dockerfile_content was removed
in plugin.py PluginsRunner
self.on_plugin_failed() is called and sets plugin_failed to True,
even when plugin
plugin 'dockerfile_content' requested but not available
even when in prod_inner.json the plugin has set required to False
so based on that even when inside container build is success, but this not required plugin sets plugin_failed
koji_promote won't promote anything
so what this does it that if plugin which doesn't exist, and isn't required, won't set plugins_failed in workflow, therefore koji_promote WILL continue to pushing things to koji

What does this do? How does it change the behaviour?

Coverage decreased (-0.02%) to 89.914% when pulling ff0f801005f4034799cfc512b7bfcc4f5a53ea31 on rcerven:plugin_failed into e17f9ed575479de4623ee5ca952ffe544bac91ab on projectatomic:master.

Whenever the plugin runner doesn't find a plugin it checks if its required or not. The problem is that it first marks the build as failed.
As a result koji_promote will exit with message Won't promote a failed build whenever it sees the build is 'failed' (although its perfectly fine)

Can we have a unit test that demonstrates this case?

yeah we should, I'll make tomorrow

Ah, I think I get it. Nice catch!

Error was introduced in https://github.com/projectatomic/atomic-reactor/pull/568.

Coverage remained the same at 89.931% when pulling 8a896777d25ea3d78d6775afa2bc914deca6c681 on rcerven:plugin_failed into e17f9ed575479de4623ee5ca952ffe544bac91ab on projectatomic:master.

Coverage remained the same at 89.931% when pulling 74d9adb26bb02143c9062d6c253b227e43f5e59f on rcerven:plugin_failed into 30d7a84b7a3eae98ae8da7fae6974244e5cc935f on projectatomic:master.

Coverage remained the same at 89.931% when pulling 74d9adb26bb02143c9062d6c253b227e43f5e59f on rcerven:plugin_failed into 30d7a84b7a3eae98ae8da7fae6974244e5cc935f on projectatomic:master.

Coverage remained the same at 89.931% when pulling 93414e833aec8a4bc0ef8a533370da1c6db783e2 on rcerven:plugin_failed into 30d7a84b7a3eae98ae8da7fae6974244e5cc935f on projectatomic:master.

Coverage remained the same at 89.931% when pulling e67063197ac1acc2433090171a15807c1aed5929 on rcerven:plugin_failed into 30d7a84b7a3eae98ae8da7fae6974244e5cc935f on projectatomic:master.

Coverage remained the same at 89.931% when pulling 4da637392f05327c90ea82b8a7614b0c2a3103be on rcerven:plugin_failed into cb912310f2d13d4b2aae79944dfb7fc4d8d10b54 on projectatomic:master.

Coverage remained the same at 89.931% when pulling 4da637392f05327c90ea82b8a7614b0c2a3103be on rcerven:plugin_failed into cb912310f2d13d4b2aae79944dfb7fc4d8d10b54 on projectatomic:master.


build.cmd RunTests on Windows throws error

for the Site solution build.cmd RunTests on Windows throws error
The request was aborted: Could not create SSL/TLS secure channel. (Github)
error log

No version specified. Downloading latest stable.
The request was aborted: Could not create SSL/TLS secure channel. (Github)
Paket version 5.189.1
The last restore is still up to date. Nothing left to do.
Performance:

Runtime: 672 milliseconds
Building project with version: LocalBuild
Shortened DependencyGraph for Target RunTests:
<== RunTests
<== CopyAssets
<== CopyBinaries
<== Build
<== AssemblyInfo
<== Clean

The resulting target order is:

Clean
AssemblyInfo
Build
CopyBinaries
CopyAssets
RunTests
Starting Target: Clean
Deleting contents of bin
Deleting contents of temp
Finished Target: Clean
Starting Target: AssemblyInfo (==> Clean)
Created AssemblyInfo file "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\AssemblyInfo.fs".
Finished Target: AssemblyInfo
Starting Target: Build (==> AssemblyInfo)
Building project: C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln
c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe  C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln /t:Rebuild /m      /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLogger+ErrorLogger,"C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\packages\FAKE\tools\FakeLib.dll"
c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe  C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln /t:Rebuild /m      /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLogger+ErrorLogger,"C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\packages\FAKE\tools\FakeLib.dll"
Microsoft (R) Build Engine version 4.7.3056.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 11/30/2018 4:16:12 AM.
Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master
\Site.sln" on node 1 (Rebuild target(s)).
ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master
\Site.sln" (1) is building "C:\Users\Admin\Downloads\turtletestAutomation-master\turtlete
stAutomation-master\src\tests\tests.fsproj" (2) on node 1 (Rebuild target(s)).
C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\test
s\tests.fsproj : error MSB4057: The target "Rebuild" does not exist in the project.
Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAut
omation-master\src\tests\tests.fsproj" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAut
omation-master\Site.sln" (Rebuild target(s)) -- FAILED.
Build FAILED.
"C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sl
n" (Rebuild target) (1) ->
"C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tes
ts\tests.fsproj" (Rebuild target) (2) ->
C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\te
sts\tests.fsproj : error MSB4057: The target "Rebuild" does not exist in the project.
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:03.29
Running build failed.
Error:
Building C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln failed with exitcode 1.

Build Time Report
Target         Duration

Clean          00:00:00.0028455
AssemblyInfo   00:00:00.0458439
Total:         00:00:11.6638233
Status:        Failure

Building C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln failed with exitcode 1.
MSB4057: C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests.fsproj(0,0): The target "Rebuild" does not exist in the project.

I updated latest paket and pushed it, please try again

Still fails at a later stage... says 'The target "Rebuild" does not exist in the project.'

Checking Paket version (downloading latest stable)...
Paket.exe 5.193.0 is up to date.
Paket version 5.193.0
The last restore is still up to date. Nothing left to do.
Performance:

Runtime: 587 milliseconds
Building project with version: LocalBuild
Shortened DependencyGraph for Target RunTests:
<== RunTests
<== CopyAssets
<== CopyBinaries
<== Build
<== AssemblyInfo
<== Clean

The resulting target order is:

Clean
AssemblyInfo
Build
CopyBinaries
CopyAssets
RunTests
Starting Target: Clean
Deleting contents of bin
Deleting contents of temp
Finished Target: Clean
Starting Target: AssemblyInfo (==> Clean)
Created AssemblyInfo file "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\AssemblyInfo.fs".
Finished Target: AssemblyInfo
Starting Target: Build (==> AssemblyInfo)
Building project: C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln
c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe  C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln /t:Rebuild /m      /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLogger+ErrorLogger,"C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\packages\FAKE\tools\FakeLib.dll"
c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe  C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln /t:Rebuild /m      /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLogger+ErrorLogger,"C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\packages\FAKE\tools\FakeLib.dll"
Microsoft (R) Build Engine version 4.7.3056.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 11/30/2018 5:15:40 AM.
Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln"
on node 1 (Rebuild target(s)).
ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln"
(1) is building "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master
src\tests\tests.fsproj" (2) on node 1 (Rebuild target(s)).
C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests.fs
proj : error MSB4057: The target "Rebuild" does not exist in the project.
Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-ma
ster\src\tests\tests.fsproj" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-ma
ster\Site.sln" (Rebuild target(s)) -- FAILED.
Build FAILED.
"C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln" (Rebuil
d target) (1) ->
"C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests.f
sproj" (Rebuild target) (2) ->
C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests.
fsproj : error MSB4057: The target "Rebuild" does not exist in the project.
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:05.47
Running build failed.
Error:
Building C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln failed with exitcode 1.

Build Time Report
Target         Duration

Clean          00:00:00.0020426
AssemblyInfo   00:00:00.0294545
Total:         00:00:06.5506061
Status:        Failure

Building C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\Site.sln failed with exitcode 1.
MSB4057: C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master\src\tests\tests.fsproj(0,0): The target "Rebuild" does not exist in the project.

C:\Users\Admin\Downloads\turtletestAutomation-master\turtletestAutomation-master>

Ive updated to .net 4.6.2 which may help you.
If it does not I need to know what version of windows you are on plus what version of Visual Studio

Hello,
Below are the answers to you question.
1.
C:\WINDOWS\system32>ver
Microsoft Windows [Version 10.0.17134.407]
2.
when i try to update the .NET Framework i get the below prompt.
".NET Framework 4.6.2 or a later update is already installed on this computer."
3.
regedit and navigating to below shows i have .NET Framework 4.7.03056 installed.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1033

Do you still have the issue?  You can open the project in VS and right click on the Tests project, go to properties and change it to 4.7.x if you want.

With latest from the repo that is

I see in your messages that its using MSBuild v4 and for me its v15
Can you see if you have any of the three folders here in green?
https://github.com/fsharp/FAKE/commit/b2e29f30b7c638964cd4d81d2761871ce9f016c8
I have also checked in one more change which may help, try getting latest.

WORKS !!! thanks @lefthandedgoat  !!!


Add RFAA and HF3 modules

Combines the add-rosettafold-all-atom and add-helixfold3 branches
Merged with nf-core/dev

PR checklist

[x] Make sure your code lints (nf-core lint).
[x] Ensure the test suite passes (nextflow run . -profile test,**singularity** --outdir <OUTDIR>).
[x] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,**singularity** --outdir <OUTDIR>).
[x] Usage Documentation in docs/usage.md is updated.
[x] Output Documentation in docs/output.md is updated.
[x] CHANGELOG.md is updated.
[x] README.md is updated (including new tool citations and authors/contributors).

Will run tests through OnDemand later today. Keep you posted!

Running HF3 I get this output:
output.log

Seems to be from Message: "Could not open file: ./maxit_src/data/binary/variant.odb" generated at: BlockIO::OpenFile
Permissions error on the DBs.
-rw-------. 1 z5378336 sbf 1.9M Sep 10 16:18 variant.odb
Should be fixed now.

Tests completed fine. Looks good to me


make ignore warning messages consistent

Make ignore warning messages consistent with pacman output.
Currently, only "ignoring package upgrade" is used, but pacman has a few others depending on the context:
warning: skipping target: fcitx-qt5

warning: kcm-fcitx: ignoring package upgrade (0.5.4-0 => 0.5.4-1)

and
warning: ignoring package fcitx-qt5-1.1.0-1
warning: cannot resolve "fcitx-qt5", a dependency of "kcm-fcitx"
:: The following package cannot be upgraded due to unresolvable dependencies:
      kcm-fcitx

:: Do you want to skip the above package for this upgrade? [y/N]

The last one might be too elaborate to implement fully (pacaur simply stops if a dependency is explictly ignored), but the message could be adjusted.

Done in 47e7b434c2951bd523bfff57273dbc54836fd493.


Inspector button on Elements tab

This allows the "inspector" magnifying glass to work on the elements tab. When you click on the button, it enters a modal state where you can pick which UI element should be highlighted. When you push your finger down on the Android app, it will hit-test and highlight the appropriate view on the device (and also as you move your finger around, if you'd like). When you move your finger up, a command will be sent back to Chrome and it will now highlight the view in the inspector UI.
Closes #124

Mostly nits and minor fixes requested.  Feel free to ignore nits, but do address the rest.


Teensy USB recognition

Hi,
Do you have simple description how I could recognize some USB port as Teensy port and get its serial number as you have? I need that in my delphi application.
Timo

You could use the command-line version (tycmd, it does not depend on Qt) like this: tycmd list -v -Ojson. It's free, just package it in your application, call it and parse the JSON result.
If you want to do it yourself, you need to list USB serial and HID devices. This is platform-specific, and can be annoying. There are libraries, though I don't know exactly what you should use, especially in a Delphi application.


Decorrelating generators with Poisson-sampled limits.

It seems undesirable that generators created with max_samples, drawn from the same Poisson distribution, all die approximately around the same time. If the module is used to lazily load data, you'll end up with disk read spikes as a function of the lambda parameter. Over time, it'll work itself out, but ... this can be a long time, and will vary with lambda.
An alternative: draw both max_samples and, for the initial population only, the value of the counter (as opposed to just zero). Uniformly distributing the counter values should stagger the birth / death of generators and more evenly distribute disk reading in time.

Closing this, since multiplexing over zmq streams should make this effect disappear.


TIPBadgeManager on UISegmentedControl

If you want to use this control on UISegmentedControl for each of the UISegments, this is the way:
  TIPBadgeManager.sharedInstance.addBadgeSuperview("someViewName", view: self.segmentedControl.subviews[1])
  TIPBadgeManager.sharedInstance.setBadgeValue("someViewName", value: 2)

If you have UISegmentedControl with 3 segments, this will put it on the middle one.
HINT - If you want to put it on the last one (all the way right) you should target .subviews[0], and all the way left(first UISegment) .subviews[2]
Take care!

@SirobChilokin thanks for filing this issue! I'm sure this will come in handy for someone.


unable to register 8ball cogs

For some reason, 8 ball is not registering in the guild. need to look through the code again

Figured do not need mention author as it is optional. Therefore removing work.


Access level request

Move the calculations of formal access level on a ValueDecl, max and default access level on an ExtensionDecl, and setter access level on an AbstractStorageDecl to separate requests, using the request-evaluator framework.
In the process, makes things a bit lazier, decouples all this logic from the typechecker, removes a lot of cruft around testing and setting flags and propagating information in two directions at once.
Plus or minus the slightly chatty/redundant code for reporting cycles, I would grade this as a nice validation of the r-e design. Made things much easier to think about / follow.
(Also cleaned up and commented the convoluted 3-bit encoding of max and default access levels on ExtensionDecl, and fixed a case on setter access levels where we were failing to propagate to mutable addressors.)

I think this is more-or-less ready to go now.

@swift-ci please test

Ooh neat LLDB failures.

The LLDB failures are probably because LLDB will need a call to registerAccessRequestFunctions. You could cough temporarily hack it cough by having Evaluator's constructor call registerAccessRequestFunctions() itself.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - a97df371f3ce88f0a31980118dfd20cae35b9c6a

Build failed
Swift Test Linux Platform
Git Sha - a97df371f3ce88f0a31980118dfd20cae35b9c6a


Version 1.1.0 Parsley

openff-1.1.0.offxml and openff_unconstrained-1.1.0.offxml were added. Details  about the version 1.1.0 can be found in openforcefield/openforcefield-forcebalance/releases/tag/v1.1.0.

@j-wags could you double-check if the PR looks correct?

@hyejang : Was this a manual bugfix or an automated refit with new types?
According to our semantic versioning, if it was a manual bugfix, it would be 1.0.1, but if you refit the parameters, it should be 1.1.0.

@jchodera I think you are right. I'll change the version number to 1.1.0. Thanks for pointing it out.

Great. @hyejang, do you have a tarball with the original QM data, scripts, and environment for this? I think we'll want to make that a release in openforcefield-forcebalance, and link that in the release notes in this repo.

Ahhh, I see, the linked release was originally called 1.0.1, but had outdated/erroneous benchmarking results, so the release was modified and the assets were updated. I think this is fine, since the openforcefield-forcebalance repo is not hooked up to Zenodo, so the there won't be any conflicting sources of information out there about this release.

Hooray! Thanks so much for tackling this, @hyejang! It's exciting to see the force fields keep getting better!


fill_db_extents required arguments

table and srid are said to be optional arguments in the help doc, but they are treated as required arguments.

rev. 4b2ee3c4223d7532946ce6102fead439b439994e


USER STORY: Landing page

As a: User
I can: View the landing page
So that: I can learn what the app does and decide if I want to use it
Acceptance criteria:

[ ] A landing page shows whenever the user is not logged in.
[ ] The landing page outlines what the app is for
[ ] The landing page is responsive across all devices

UI task


Clickable label

Is possible to add tap gesture to the entry label?

It would be great for interactivity and to open a new "page" showing details about the clicked label/value.
It would be a nice Enhancement

similar to https://github.com/dotnet-ad/Microcharts/issues/83


In the built-in font, the height of Chinese characters seems to be slightly shorter than that of English characters

Godot version
4.0
System information
Win10, Core I7-9700,RTX2080
Issue description

It causes the height of two labels with the same font size to be inconsistent.
Steps to reproduce
just use this chinese to test:
测试一下
测试一下a
Minimal reproduction project
use this project
gd_ee_localization_demo.zip

Thanks. So I have better use my own font file.


Use checkout object with many lines in benchmark tests

Most of the benchmark tests for counting the queries for checkout use simple relation with only one line. As a result, we don't see the issues with missing prefetches or increasing DB counts. This PR changes the checkout object used in benchmark test.
An increased number of queries in django-queries is expected.

"Found 8 differences" 😢 . But we will fix it in 3.0 with more data loaders.

"Found 8 differences" 😢 . But we will fix it in 3.0 with more data loaders.

Yeap, and thanks to this we will be sure that we have correct info about queries

True dat.


V12 io default

moves matsim read write functions to default to "version 12"

Coverage should be ok - the tests changed were v11 tests but were relying on the default v11 behaviour. We have additional coverage for v12 already i think.


Correct example for Pushpin

The table of contents is on the left, not the right.

No the pushpin example is on the right.


Template error with new project in UE 5.4.2

Hey Nick, I'm running into this template error when setting up a new project in 5.4.2.  Looks like this area of code hasn't changed in a while so I'm at a loss as to why it is throwing compilation errors now.  Any insights?
1>E:\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\Array.h(3173): error C2974: 'Ink::TValue': invalid template argument for 'T', type expected
1>E:\UnrealEngine\Projects\InkpotSanity\Plugins\Inkpot\Source\InkPlusPlus\Public\Ink\Value.h(71): note: see declaration of 'Ink::TValue'
1>E:\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\Array.h(3173): note: the template instantiation context (the oldest one first) is
1>E:\UnrealEngine\Projects\InkpotSanity\Plugins\Inkpot\Source\InkPlusPlus\Public\Ink\NativeFunctionCall.h(78): note: see reference to class template instantiation 'TArray<TSharedPtr<Ink::FValue,ESPMode::ThreadSafe>,FDefaultAllocator>' being compiled
1>E:\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\Array.h(419): note: while compiling class template member function 'TArray<TSharedPtr<Ink::FValue,ESPMode::ThreadSafe>,FDefaultAllocator>::TArray(std::initializer_list<InElementType>)'
1>        with
1>        [
1>            InElementType=TSharedPtr<Ink::FValue,ESPMode::ThreadSafe>
1>        ]
1>E:\UnrealEngine\Projects\InkpotSanity\Plugins\Inkpot\Source\InkPlusPlus\Private\Ink\NativeFunctionCall.cpp(214): note: see the first reference to 'TArray<TSharedPtr<Ink::FValue,ESPMode::ThreadSafe>,FDefaultAllocator>::TArray' in 'Ink::FNativeFunctionCall::CallBinaryListOperation'
1>E:\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\Array.h(424): note: see reference to function template instantiation 'void TArray<TSharedPtr<Ink::FValue,ESPMode::ThreadSafe>,FDefaultAllocator>::CopyToEmpty<_Elem,int>(const OtherElementType *,OtherSizeType,int)' being compiled
1>        with
1>        [
1>            _Elem=TSharedPtr<Ink::FValue,ESPMode::ThreadSafe>,
1>            OtherElementType=TSharedPtr<Ink::FValue,ESPMode::ThreadSafe>,
1>            OtherSizeType=int
1>        ]

Hi Phil,
That is odd, I have just tried with a fresh project & it works fine.
Double check the uproject & the build.cs files to be sure that all dependencies are correct.
Which compiler are you using?

It is, indeed, the compiler version.  My fresh install of VS used 14.40.33807.  Seems that 5.4 isn't happy with anything past 14.38.33130.


Update codeql bundle version

Merge / deployment checklist

Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos!

[ ] CodeQL using init/analyze actions
[ ] 3rd party tool using upload action

[ ] Confirm this change is backwards compatible with existing workflows.
[ ] Confirm the readme has been updated if necessary.

Hmm
Analyzing javascript
  /opt/hostedtoolcache/CodeQL/1.0.0/x64/codeql/codeql database analyze --ram=6671 /home/runner/work/codeql-action/codeql_databases/javascript --format=sarif-latest --output=../results/javascript.sarif --no-sarif-add-snippets javascript-code-scanning.qls /home/runner/work/codeql-action/codeql-action/queries/import-action-entrypoint.ql /home/runner/work/codeql-action/codeql-action/queries/undeclared-action-input.ql
  Running queries.
  A fatal error occurred: This CodeQL database is not compatible with the QL library /opt/hostedtoolcache/CodeQL/1.0.0/x64/ql/javascript/ql/src/DOM/TargetBlank.ql uses. You may need to run 'codeql database upgrade ../codeql_databases/javascript'.
  ##[error]The process '/opt/hostedtoolcache/CodeQL/1.0.0/x64/codeql/codeql' failed with exit code 2

I'm not entirely sure what's going on here. Perhaps I compiled the bundle incorrectly, but I'm not sure how. The queries all compiled correctly when I was building the bundle.

Closing this PR and I'm going to incorporate the bundle version change into https://github.com/github/codeql-action/pull/45