Add: Channels search

Hey,
I am author of https://github.com/JurajNyiri/PlexMeetsHomeAssistant where I am using your integration to easily search TV Shows / Movies and play it from Plex on Kodi.
Recently, I am adding Live TV and I noticed your integration is missing ability to search in channels, so I added it.
Unfortunately, JSON RPC from Kodi does not support filter on PVR.GetChannels nor has any function to search channels. So I have chosen to get all the channels and filter them out.
Let me know if any adjustments are needed and/or please feel free to take the code and modify it.

Hi,
Sorry for my late answer, I don't check often my messages on Github...
Great to hear someone else uses my integration :-). I recently changed a lot in the integration (mainly the playlist sensor), so I have to check if your code still remains compatible with the last one, but as far as I could see, there should be no problem. I also need a couple of days to integrate, build and test (I'm not familiar at all with pull requests...!)
Juste a question beside. I tried to install the version 3.0.1 on a the home assistant of a friend and it seemed buggy while I have no problem on my installation. did ou notice something special? (especially with the sensor playlist which stayed off all the time)

@jtbgroup glad to hear that we can merge this soon! 👍 If you have troubles merging it just copy the relevant parts of the code and feel free to close this PR!
Unfortunately I cannot help you with the playlist sensor as I am not using it, I am just using it with the search service and getting the results from attribute of the search sensor, thats all.

Hi,
I just tested directly a json request, but calling the PVR.GetChannels returns me 'Failed to execute method'.
Not a good idea to implement it like that... :-)
I suppose it's because I do not have a PVR functionality in Kodi? Do you know a way to test it before the calling this method?

Hey @jtbgroup!
Anything I can do here to help merge this in?
Thank you!

Hi,
I've been busy with other functionalities. I still have to find the best approach to deal with PVR. If you know the error codes of kodi, it would be fine.
Can you also give me a plugin to test the PVR functionality in Kodi?

Hello,
I did some changes in the code to integrate the PVR search functionality. A new version is available in beta on HACS. I need a little time to check if the code is stable for production, but you can already test it. Don't forget to update the cards also.
Can you give feedback, please? (and if it works, send some screenshots as I don't use a PVR client addon)

Hi, thanks for your reply. I'll probably check the code this evening and propose a new beta version.

Adding the boolean parameter would not do what I want as I use the limit property.
First, you can also search in the file */config/.storage/core.config_entries if you find the option called search_channels_limit.
Then, you can also check in the config in the integration if you have a value  for the search limit of the channels?

Opening it might add the limit option. This wouldn't explain why the default value of this limit is not used.

I am a bit confused. I pulled the latest https://github.com/jtbgroup/kodi-media-sensors/tree/develop branch, is that correct?
What I am saying is that if we want to search on channels, we need to get all the channels - without limit set to anything. Otherwise the search will always return an empty array on channels that are outside of default limit range if we search for something at the end of alphabet, like in the case I described above - VH1.

Yes, it's this branch.
ok, understood. you're right! That's the inconvenient of developing something without being able to test it.
I like the limit option to reduce the memory footprint in HA. What I will probably to is

remove the limit if the option == 0 (for all the types)
limit the channels after filter if needed
I know what to do this evening

just pushed a new beta release.
For channels, limits are now applied after the filter. Setting limit to 0 will not limit the resultset. I also do 2 separate search for channels (tv and radio).

Works as expected now! 💯


Add predict-prob and predict as similar to FastText?

Hi,
The starspace have good features. there lot of customization. But without Predict and Predict-prob its hard to use it in real-time. Any solution for this???

Upvote, waiting for it as well.

@giriannamalai @nickyongzhang thanks, we'll consider to add those.


Better inform of debug session errors to the user

Currently the debug session logs show messages like this when there's an error connecting to a device:
DebugServer: Invalid response code: 577

In this case, the problem is known: The device requires a system update before sideloading apps. The logs could show a more human readable message, like this:
DebugServer: Error (577) - Your device requires a system update before accepting connections. Follow these instructions to manually check for updates https://support.roku.com/article/208755668.

We should do this for all known error codes.

I was getting a 577 but had no idea how to fix it. Rebooting my Roku did not resolve the problem. I verified a couple of times that the software on my device is up to date. I found restarting VS Code would allow the debugger to work again for a time. By the next day I was seeing the 577 error again. Any information that would help me figure out what is going wrong would be welcomed.

This is a safe guard in the Roku OS where the device wants to "phone home" every so often. If it can't do so the side-loading commands will respond with a 577 response code.
The fix is simply checking for updates on the device in settings. We are currently working on detecting this case and displaying a more informative error.


[docs] Who's using Material-UI?

[x] I have followed (at least) the PR section of the contributing guide.

I have made a few changes to match with the latest feature of the next branch.


Updated Office Address Parsing

Issue #: /bcgov/entity#10686
Description of changes:

Implements businessOffice office type for Firms
Added dynamic office type to handle the varying office types for addresses
Updated getters to utilize dynamic office type in retrieval and comparisons
Updated unit testing

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

I like the way you've done this 👍

Thank you!


make: *** [toolkits/bc] Error 1

Hi, I am studying the system, Gemini.
When I make the file, some errors occur and I don't know how to do with it.
The errors are as follow:
[root@node18 GeminiGraph-master]# make
mpicxx -O3 -Wall -std=c++11 -g -fopenmp -march=native -I/home/sbb/GeminiGraph-master  -o toolkits/bc toolkits/bc.cpp -lnuma
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:27: error: ‘std::function’ has not been declared
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
                           ^~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:35: error: expected ‘,’ or ‘...’ before ‘<’ token
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
                                   ^
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:24: error: ‘std::function’ has not been declared
   R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
                        ^~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:32: error: expected ‘,’ or ‘...’ before ‘<’ token
   R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
                                ^
/home/sbb/GeminiGraph-master/core/graph.hpp: In member function ‘R Graph<EdgeData>::process_vertices(int)’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1431:30: error: ‘active’ was not declared in this scope
         unsigned long word = active->data[WORD_OFFSET(v_i)];
                              ^~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1431:30: note: suggested alternative: ‘ctime’
         unsigned long word = active->data[WORD_OFFSET(v_i)];
                              ^~~~~~
                              ctime
/home/sbb/GeminiGraph-master/core/graph.hpp:1434:30: error: there are no arguments to ‘process’ that depend on a template parameter, so a declaration of ‘process’ must be available [-fpermissive]
             local_reducer += process(v_i);
                              ^~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1434:30: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/sbb/GeminiGraph-master/core/graph.hpp:1446:32: error: ‘active’ was not declared in this scope
           unsigned long word = active->data[WORD_OFFSET(v_i)];
                                ^~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1446:32: note: suggested alternative: ‘ctime’
           unsigned long word = active->data[WORD_OFFSET(v_i)];
                                ^~~~~~
                                ctime
/home/sbb/GeminiGraph-master/core/graph.hpp:1449:32: error: there are no arguments to ‘process’ that depend on a template parameter, so a declaration of ‘process’ must be available [-fpermissive]
               local_reducer += process(v_i);
                                ^~~~~~~
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp: In member function ‘R Graph<EdgeData>::process_edges(int)’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1506:7: error: ‘active’ was not declared in this scope
       active
       ^~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1506:7: note: suggested alternative: ‘ctime’
       active
       ^~~~~~
       ctime
/home/sbb/GeminiGraph-master/core/graph.hpp:1546:13: error: there are no arguments to ‘sparse_signal’ that depend on a template parameter, so a declaration of ‘sparse_signal’ must be available [-fpermissive]
             sparse_signal(v_i);
             ^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1665:11: error: ‘dense_selective’ was not declared in this scope
       if (dense_selective!=nullptr && partitions>1) {
           ^~~~~~~~~~~~~~~
toolkits/bc.cpp: In function ‘void compute(Graph<Empty>*, VertexId)’:
toolkits/bc.cpp:91:5: error: no matching function for call to ‘Graph<Empty>::process_edges<VertexId, double>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, double, VertexAdjList<Empty>)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, VertexAdjList<Empty>)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, double)>, VertexSubset*&, VertexSubset*&)’
     );
     ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: candidate: template<class R, class M> R Graph<EdgeData>::process_edges(int) [with R = R; M = M; EdgeData = Empty]
   R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
     ^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:91:5: note:   candidate expects 1 argument, 6 provided
     );
     ^
toolkits/bc.cpp:98:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
     );
     ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:98:5: note:   candidate expects 1 argument, 2 provided
     );
     ^
toolkits/bc.cpp:111:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
   );
   ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:111:3: note:   candidate expects 1 argument, 2 provided
   );
   ^
toolkits/bc.cpp:120:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, Bitmap*&)’
   );
   ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:120:3: note:   candidate expects 1 argument, 2 provided
   );
   ^
toolkits/bc.cpp:157:5: error: no matching function for call to ‘Graph<Empty>::process_edges<VertexId, double>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, double, VertexAdjList<Empty>)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, VertexAdjList<Empty>)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, double)>, Bitmap*&, VertexSubset*&)’
     );
     ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: candidate: template<class R, class M> R Graph<EdgeData>::process_edges(int) [with R = R; M = M; EdgeData = Empty]
   R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
     ^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:157:5: note:   candidate expects 1 argument, 6 provided
     );
     ^
toolkits/bc.cpp:167:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, Bitmap*&)’
     );
     ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:167:5: note:   candidate expects 1 argument, 2 provided
     );
     ^
toolkits/bc.cpp:176:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
   );
   ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:176:3: note:   candidate expects 1 argument, 2 provided
   );
   ^
toolkits/bc.cpp: In function ‘void compute_compact(Graph<Empty>*, VertexId)’:
toolkits/bc.cpp:227:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
   );
   ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:227:3: note:   candidate expects 1 argument, 2 provided
   );
   ^
toolkits/bc.cpp:276:5: error: no matching function for call to ‘Graph<Empty>::process_edges<VertexId, double>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, double, VertexAdjList<Empty>)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, VertexAdjList<Empty>)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, double)>, VertexSubset*&, VertexSubset*&)’
     );
     ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: candidate: template<class R, class M> R Graph<EdgeData>::process_edges(int) [with R = R; M = M; EdgeData = Empty]
   R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
     ^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:276:5: note:   candidate expects 1 argument, 6 provided
     );
     ^
toolkits/bc.cpp:284:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
     );
     ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:284:5: note:   candidate expects 1 argument, 2 provided
     );
     ^
toolkits/bc.cpp:296:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
   );
   ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:296:3: note:   candidate expects 1 argument, 2 provided
   );
   ^
toolkits/bc.cpp:308:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
   );
   ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:308:3: note:   candidate expects 1 argument, 2 provided
   );
   ^
toolkits/bc.cpp:316:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
   );
   ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:316:3: note:   candidate expects 1 argument, 2 provided
   );
   ^
toolkits/bc.cpp:353:5: error: no matching function for call to ‘Graph<Empty>::process_edges<VertexId, double>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, double, VertexAdjList<Empty>)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, VertexAdjList<Empty>)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, double)>, VertexSubset*&, VertexSubset*&)’
     );
     ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: candidate: template<class R, class M> R Graph<EdgeData>::process_edges(int) [with R = R; M = M; EdgeData = Empty]
   R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
     ^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:353:5: note:   candidate expects 1 argument, 6 provided
     );
     ^
toolkits/bc.cpp:365:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
     );
     ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:365:5: note:   candidate expects 1 argument, 2 provided
     );
     ^
toolkits/bc.cpp:373:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
     );
     ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:373:5: note:   candidate expects 1 argument, 2 provided
     );
     ^
toolkits/bc.cpp:382:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
   );
   ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
   R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
     ^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note:   template argument deduction/substitution failed:
toolkits/bc.cpp:382:3: note:   candidate expects 1 argument, 2 provided
   );
   ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::emit(VertexId, M) [with M = double; EdgeData = Empty; VertexId = unsigned int]’:
toolkits/bc.cpp:56:40:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1486:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (local_send_buffer[t_i]->count==local_send_buffer_limit) {
In file included from /home/sbb/GeminiGraph-master/core/mpi.hpp:22:0,
                 from /home/sbb/GeminiGraph-master/core/graph.hpp:39,
                 from toolkits/bc.cpp:20:
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::gather_vertex_array(T*, int) [with T = double; EdgeData = Empty]’:
toolkits/bc.cpp:184:45:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:320:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         assert(length == sizeof(T) * (partition_offset[i + 1] - partition_offset[i]));
                       ^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘T* Graph<EdgeData>::dealloc_vertex_array(T*) [with T = double; EdgeData = Empty]’:
toolkits/bc.cpp:192:43:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:242:3: warning: no return statement in function returning non-void [-Wreturn-type]
   }
   ^
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:806:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
/home/sbb/GeminiGraph-master/core/graph.hpp:817:18: warning: unused variable ‘dst’ [-Wunused-variable]
         VertexId dst = read_edge_buffer[e_i].dst;
                  ^~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId)::<lambda()> [with EdgeData = Empty]’:
/home/sbb/GeminiGraph-master/core/graph.hpp:967:11:   required from ‘struct Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]::<lambda()>’
/home/sbb/GeminiGraph-master/core/graph.hpp:936:19:   required from ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’
toolkits/bc.cpp:417:51:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:955:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           for (EdgeId e_i=0;e_i<recv_edges;e_i++) {
                             ~~~^~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:977:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId)::<lambda()> [with EdgeData = Empty]’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1062:20:   required from ‘struct Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]::<lambda()>’
/home/sbb/GeminiGraph-master/core/graph.hpp:1045:19:   required from ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’
toolkits/bc.cpp:417:51:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1064:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           for (EdgeId e_i=0;e_i<recv_edges;e_i++) {
           ^~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1084:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId)::<lambda()> [with EdgeData = Empty]’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1164:11:   required from ‘struct Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]::<lambda()>’
/home/sbb/GeminiGraph-master/core/graph.hpp:1134:19:   required from ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’
toolkits/bc.cpp:417:51:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1153:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           for (EdgeId e_i=0;e_i<recv_edges;e_i++) {
                             ~~~^~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1174:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId)::<lambda()> [with EdgeData = Empty]’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1259:20:   required from ‘struct Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]::<lambda()>’
/home/sbb/GeminiGraph-master/core/graph.hpp:1242:19:   required from ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’
toolkits/bc.cpp:417:51:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1261:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           for (EdgeId e_i=0;e_i<recv_edges;e_i++) {
           ^~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51:   required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1281:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
In file included from /home/sbb/GeminiGraph-master/core/graph.hpp:35:0,
                 from toolkits/bc.cpp:20:
/home/sbb/GeminiGraph-master/core/atomic.hpp: In instantiation of ‘bool cas(T*, T, T) [with T = double]’:
/home/sbb/GeminiGraph-master/core/atomic.hpp:50:16:   required from ‘void write_add(T*, T) [with T = double]’
toolkits/bc.cpp:65:43:   required from here
/home/sbb/GeminiGraph-master/core/atomic.hpp:27:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return __sync_bool_compare_and_swap((long*)ptr, *((long*)&old_val), *((long*)&new_val));
                                                     ^~~~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/atomic.hpp:27:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return __sync_bool_compare_and_swap((long*)ptr, *((long*)&old_val), *((long*)&new_val));
                                                                         ^~~~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/atomic.hpp:29:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return __sync_bool_compare_and_swap((int*)ptr, *((int*)&old_val), *((int*)&new_val));
                                                    ^~~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/atomic.hpp:29:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return __sync_bool_compare_and_swap((int*)ptr, *((int*)&old_val), *((int*)&new_val));
                                                                       ^~~~~~~~~~~~~~~~~
make: *** [toolkits/bc] Error 1

Could you offer some advice please?
Thanks,

Hi. It seems that your C++ compiler does not support some C++11 features. You may try compilers with later versions.

Same issue here; it's due to #include <functional> missed in graph.hpp. Added that and got fixed.

Pull Request #12 should fix this issue. Thanks @Blealtan !


mistral nemo

What is the issue?
I use open-webui. When i want to use mistral nemo, I have an error 500 :

OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.1.37

You need Ollama 0.2.8 or newer to run mistral-nemo.

Thanks


3D model changing

What
Implement easy swapping of 3D models, including more advanced models, and not only shapes.

https://docs.unrealengine.com/4.27/en-US/API/Runtime/Engine/Components/UMeshComponent/


microchip: ps2: fix compilation error

fix compilation error when CONFIG_PM_DEVICE is not enabled
fixes #64052

The 3.5 release already happened, and unfortunately this PR didn't make it (it wasn't noticed since the milestone was not set). I've added the backport label for 3.5, so it can be part of 3.5.1.


Fix deprecation warnings on julia 0.4

I hope I fixed these in a way that doesn't break compatibility with 0.3. Hopefully Travis will let us know.

Hmm, I must have been working off an old version; it seems like much of this has been fixed on master. I'll clean it up with just the new stuff.

Looks like you might need to flip the switch on this over at Travis, BTW. Visit https://travis-ci.org/profile/ihnorton and then hit the toggle for this repo.

OK, this should be it.
I also only just noticed there aren't tests in the `tests


predict return the probability of which class?

Dear,
I'm so sorry but it need to know exactly the probability of which class return the predit method??
I explain better:

i save model
load model
use predict
and the predict method return an array with some probability and the name of the column are 0=ZERO!?!?!?
this is the probability of which class? class zero or class one (BINARY CLASSIFICATION OF COURSE)
Please could someone help and return the exact solution?
thanks a lot in advance and waiting

Hi @luigif2000, thank you for your interest in LightGBM. Assuming you're using the training interface, when you call predict you get the probabilities of the class one, i.e. the probability of your case being positive. If you have further doubts please post a minimal reproducible example.

Dear, thanks thanks thanks !
best regards
luigi
Il giorno mar 12 lug 2022 alle ore 01:15 José Morales <
@.***> ha scritto:

Hi @luigif2000 https://github.com/luigif2000, thank you for your
interest in LightGBM. Assuming you're using the training interface, when
you call predict you get the probabilities of the class one, i.e. the
probability of your case being positive. If you have further doubts please
post a minimal reproducible example
https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/LightGBM/issues/5352#issuecomment-1181045215,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNWP4PCBKHOTLTWVHP42VLVTSTI5ANCNFSM52ZUXDWA
.
You are receiving this because you were mentioned.Message ID:
@.***>


V4 Alpha

[x] Start initial documentation
[x] Setup a system similar to thephpleague/period where the documentation shows v3 and v4 docs.
[x] Figure out an EOL for v3 #206
[x] Branch master into v3 branch
[x] Merge 4.0-dev to master
[x] Tag 4.0-alpha release

@awhillas alpha has been tagged (a few weeks ago).


Fix content not updating on image upload

This feature was introduced #57 but it looks like it wasn't doing antyhing since the onChange method was never called.

Thank you @fernandomm. This is my missing.


Added support for optional Module parameter in the instantiate function.

UnityLoader allows to override Module properties when calling instantiate function (see reference : https://docs.unity3d.com/Manual/webgl-templates.html).
This allows to give dynamic path for some of the properties instead of a simple JSON file when running in an environment such as Electron.
Source file has been compiled.

Merged and added to NPM version 5.7.1 - Thanks for your contribution!


Prevent browser autocompletion from other sites bleeding into search field

The search field currently uses the name q which is also used by hundreds of other sites.
This causes browsers (especially Chrome) to provide suggestions which will lead to zero results on doc.babylonjs.com:

I strongly recommend to use a different name, e.g. bjsq, to limit conflicts with other sites and ensure that the suggestions only show terms the user has already entered before in this field.
Turning off autocompletion is impossible at the moment because Chrome ignores the attribute values off as well as custom invalid values that would normally disable autocompletion.

@deltakosh - Please review my pull request


Run rustfmt on Caiman output

This makes inspecting generated Rust code a bit nicer. Along the way, I cleaned up main.rs and frontend.rs a bit, although the error handling is still basically just "panic on error".

Looks good to me!

Unintentional side effect: if the generated code has any syntax errors, rustfmt will diagnose & print them to the console. It actually just caught an error I made editing codegen!


Support Debian.

(failing tests are not a problem comong from this pull request)

Thanks @bzed!
It turns out rake released a new version which removed support for last_comment entirely. Your tests failed due to that. We don't use it ourselves but other Gems do. I've pushed a new Gemfile which pins rake to a version equal or below 11.3.0 so tests should pass again if you merge the current master branch into your change.
Could you also make the change to metadata.json so tests will run on Debian 8? Without it the code is only tested on Ubuntu and CentOS. The PowerDNS repo only supports Debian 8 at the moment.
It also helps if you could add a nodeset and run a simple Beaker test to see if you don't hit anything that is not so easily covered by spec tests. The current nodesets can be found in https://github.com/sensson/puppet-powerdns/tree/master/spec/acceptance/nodesets.

Hi @bzed. I've just added support for Debian 8 including a set of Beaker tests.  Thank you very much for bringing it up though, much appreciated!

Thanks a lot,  and sorry for not improving my pull request,  Christmas time is always very busy.
Am 22. Dezember 2016 20:12:05 MEZ, schrieb Sensson<EMAIL_ADDRESS>
Hi @bzed. I've just added support for Debian 8 including a set of
Beaker tests.
Thank you very much for bringing it up though, much appreciated!
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/sensson/puppet-powerdns/pull/5#issuecomment-268869254

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.


📃:  Apna college clone webpage in frontend project

:red_circle: Title : Apna college clone page
:red_circle: Aim :

Ensure the page is responsive and looks good on all devices (desktop, tablet, mobile).
Break down the page into reusable components for better maintainability and scalability.
Ensure consistency with colors, fonts, and spacing.
manage routes for pages like "Home", "New Courses", "Log In", and "Sign Up".
Implement forms for "Log In" and "Sign Up" with basic validation.

:red_circle: Tech Stack Used : HTML CSS JS
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name : Heli Detroja
What is your participant role? : GSSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@heli0707 go ahead.


Docusaurus: OpenAPI 3.1 webhooks do not render

What happens?
They show up in the sidebar with the id of the operation (instead of the summary) but there is no content when the item is selected.

What did you expect to happen?
I expected them to show up the same way the show up in docs.scalar.com
How can we reproduce the issue?

Create a new Docusaurus site
Configure the Scalar plugin with an OpenAPI 3.1 spec containing webhooks

Swagger/OpenAPI Example
No response

I can confirm this is fixed in the latest release.


[GUI] User is removed without requesting operation confirmation

Request confirmation of user deletion.
Note: There is a request to confirm the removal of:

template

device

flow

Standardize messages.

Operation confirmation is requested.


255 in scheme array

This will resolve #254 and #255
Now it is possible to have either one concept scheme in two files or two concept schemes in one file.
I added tests and test data to check this feature.
The biggest visible change in the front end was done in respect to show that one concept is present in multiple concept schemes. Because the concept always has the same URI regardless of the concept scheme I'm browsing we needed to display that somehow. This is now done by adding all concept schemes in the header and making the one active bold:

The inScheme information is also rendered on a concepts page.

Deployed to test with two test files, one having two schemes in one file, the other having one scheme split in two files.
Also there is one concept linked from two concept schemes:
Vocabs: https://test.skohub.io/sroertgen/test-vocabs/heads/main/index.en.html
Concept present in two schemes: https://test.skohub.io/sroertgen/test-vocabs/heads/main/w3id.org/two-concepts-one-file/c1.en.html

(This is by the way also a test to check if the separation of skohub vocabs und webhook work, since I merged these two branches in the background and thanks to @Phu2 this is already running on the test system)

Note to myself: If this is approved, we will merge into main and after that merge #244

Nearly everything looks and works fine but I suggest one change regarding the two vocabs in the header:

I think we should only show the main vocab that people are browsing there an only list the other under "In Scheme". Thus, we would have a setup that works the same when the second concept scheme a concept is part of is not published with SkoHub Vocabs or on another SkoHub instance. Or am I missing something?

@acka47 But which concept scheme should be chosen when a user directly visits a concept page? always the first found that is also published with skohub vocabs?

Why should we display the concept scheme(s) in the header? They are present in the details section already. So i would remove them altogether from the header.

Yes, Adrian had the same objection.
I fixed it with https://github.com/skohub-io/skohub-vocabs/pull/259/commits/92c5c751c42210f15212da4185cd7dac70a810ac

@acka47
Please have a look at https://test.skohub.io/sroertgen/test-vocabs/heads/main/w3id.org/two-concepts-one-file/c1.en.html
I fixed the display of concept schemes in the header.


Backspace must decrease indent (as Shift-Tab do) when the line is empty

e.g. for this code
    if (cond) {
        return ;
        |

where | is the cursor position. By pressing backspace the cursor must be aligned with "if".

+1 very useful feature that I love from sublime

@dimdin implemented it with PR #5423
Please review unit test https://github.com/Microsoft/vscode/pull/5423/files#diff-03a74fc8e046bdf7481eefdc7cce74c8R2147 to check that I have not missed anything

Thanks to @outcoldman this has now landed with PR #5423 . It will most likely come out with the May release in about a month.


Fix: restore original PlotControl after closing new window

This PR addresses an issue in ScottPlot 5 related to the "Open in New Window" functionality in both WinForms and WPF.

Issue:

In WPF, after closing the new window, the ContextMenu on the original window would no longer appear.
In WinForms, the ContextMenu was shown at the wrong position because it was being displayed on the new PlotControl instead of the original one.

Cause: The issue occurred because, during the process of moving the Plot content to the new window, the original window’s PlotControl was overwritten but not properly restored when the new window was closed.
Solution: After the new window is closed, the PlotControl on the original window is properly restored, ensuring the ContextMenu behaves as expected.

Thanks @david3951445, this looks great! I'm happy to see this bug fixed in the next release 🚀


(Bug) misc issues in react-native

[x] on ios/android fields are not auto focused in signup process
[ ] on ios it has autocomplete and spelling fixes when typing name/email which is annoying
[ ] on  android it prints a strange long message in signup process... looks like it converts a string into an array/object
[ ] on android dashboard top part doesnt look good
[ ] welcome message(system cards) doesn't have good dollar logo as icon
[ ] on ios error pop up doesnt look good

@sirpy
regarding 2nd point - it should be disabled in ios system settings.
Path to disable it: Settings -> General -> Keyboard -> Auto-Correction (toggle to disable)

I fixed the positioning for error animation on error dialog. But the 'Oops' text (it is the part of the animation) is not displayed at the top of dialog on ios.
Screenshots after fix:

browser
ios

@yaroslav-fedyshyn-nordwhale can  we have a PR please to review changes

Here is the video of how the fields autofocus works - https://www.screencast.com/t/rDWPx6NQ
There wasn't autofocus for the phone number field.

@mauriguz please test all these places I described above on android. For some reason on android app I always getting 'network error' when it tries to make request to the server and app crashes. Maybe something wrong with my local configs and I need some additional to continue with android.

| @yaroslav-fedyshyn-nordwhale can we have a PR please to review changes
@sirpy here is the link to the PR - https://github.com/GoodDollar/GoodDAPP/pull/2326

Regarding the second point (on ios it has autocomplete and spelling fixes when typing name/email which is annoying) - it should be disabled in system settings (Settings -> General -> Keyboard -> Auto-Correction toggle).

@mauriguz please test all these places I described above on android. For some reason on android app I always getting 'network error' when it tries to make request to the server and app crashes. Maybe something wrong with my local configs and I need some additional to continue with android. Did you faced with such behaviour?

@yaroslav-fedyshyn-nordwhale we haven't seen such behavior, could you send me some screenshots in slack and I can help you debug?

This is Android today.
1- welcome message(system cards) doesn't have good dollar logo as icon
R: I suppose that it refers to the "Welcome to GoodDollar" message and it has been fixed.
2- on android dashboard top part doesn't look good
R: Maybe it changed, I see that look equal that web version, let me know if it doesn't look good.
3- on android it prints a strange long message in signup process... looks like it converts a string into an array/object
R: I can't reproduce this error, I think that was a problem to set ENVs, I'm setting URLs directly on the Config.
4- on ios error pop up doesnt look good
R: This has been fixed, let me check on Android

@mauriguz @MathiasMoralesDixtra ok. this can be merged when approved


Carthage support

Can we add Carthage support? Simple dynamic framework (another target). The only problem is name, because there's already target with name MBProgressHUD, so, we should create target like MBProgressHUDFmwk or something like this.

No plans here. But feel free to create a fork with Carthage support if you want to use it.


It didn't work

I installed the extension: nothing happened.
I reloaded the VSCode: Message about "update" was appear.
I updated the config: nothing happened.
I reloaded the VSCode: still nothing.

What's your VS Code version and what's your settings.json?

VSCode:
Version: 1.65.2
Commit: c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
Date: 2022-03-10T14:33:49.188Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 21.3.0

And I needed to add the "explorer.experimental.fileNesting.enabled": true manually, now it's working :-)


4 second highlight/de-highlight delay

Any idea why I'm seeing a 4 second highlight delay? I checked the source to see if I could find a config for the delay for debounce, etc, but I didn't see anything. It also takes 4 seconds to de-highlight. I'm 99% sure this delay is synthetic, but I can't find the source. I commented all of my Lazy packages except yours (mason also commented, so no lsps running). Still 4 second delay.

WSL on windows (vmmem 100%-CPU bug not in action). Everything else "snappy".
Editing my small init.lua file. 277 lines.
nvim 0.9.2
Tmux if that matters

    {
        'tzachar/local-highlight.nvim',
        config = function()
            require('local-highlight').setup({
                file_types = {'python', 'cpp', 'lua'}, -- If this is given only attach to this
                -- OR attach to every filetype except:
                disable_file_types = {'tex'},
                hlgroup = 'Search',
                cw_hlgroup = nil,
                -- Whether to display highlights in INSERT mode or not
                insert_mode = false
            })
        end
    }

:LocalHighlightStat
Total Usage Count    : 2
Average Running Time : 0.210606 msec
tzachar/local-highlight.nvim
neovim/nvim-lspconfig
lukas-reineke/indent-blankline.nvim
nvim-treesitter/nvim-treesitte
hrsh7th/nvim-cm
numToStr/Comment.nvim
nvim-telescope/telescope.nvi

Thanks!

look at [https://github.com/tzachar/local-highlight.nvim?tab=readme-ov-file#how-the-plugin-works](the doc)
I suggest you change the updatetime value to something smaller.


InList: fix bug for comparing with Null in the list using the set optimization

Which issue does this PR close?

close #2817
In this pr: https://github.com/apache/arrow-datafusion/pull/2156, @Ted-Jiang add the set to optimize the Inlist.
But the implementation does not consider the NULL case for IN or NOT IN expr.
In the SQL system like Mysql or spark, NULL is not equal NULL and NULL can't be compared with other data type.
If A compare with NULL, the result must be NULL.
select 1 not in (2,NULL);
NULL
select 2 in (1,NULL)
NULL
select NULL in (1,NULL)
NULL
select NULL not in (1,NULL)
NULL

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Codecov Report

Merging #2809 (d7541f3) into master (7afd437) will increase coverage by 0.19%.
The diff coverage is 82.84%.

@@            Coverage Diff             @@
##           master    #2809      +/-   ##
==========================================
+ Coverage   85.10%   85.30%   +0.19%
==========================================
  Files         273      274       +1
  Lines       48243    48784     +541
==========================================
+ Hits        41059    41616     +557
+ Misses       7184     7168      -16

Impacted Files
Coverage Δ

...atafusion/physical-expr/src/expressions/in_list.rs
83.17% <82.84%> (+11.81%)
:arrow_up:

datafusion/core/src/physical_plan/join_utils.rs
93.61% <0.00%> (-3.20%)
:arrow_down:

datafusion/proto/src/logical_plan.rs
17.63% <0.00%> (-0.33%)
:arrow_down:

datafusion/sql/src/planner.rs
81.34% <0.00%> (-0.02%)
:arrow_down:

datafusion/optimizer/src/projection_push_down.rs
98.08% <0.00%> (ø)

...tafusion/optimizer/src/common_subexpr_eliminate.rs
94.11% <0.00%> (ø)

...fusion/optimizer/src/single_distinct_to_groupby.rs
98.80% <0.00%> (ø)

...on/core/src/physical_optimizer/coalesce_batches.rs
100.00% <0.00%> (ø)

datafusion/optimizer/src/reduce_outer_join.rs
99.39% <0.00%> (ø)

datafusion/expr/src/utils.rs
90.73% <0.00%> (+0.05%)
:arrow_up:

... and 10 more

Continue to review full report at Codecov.

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

I don't get it clearly what this is targeted to fix. The issue it closes is "support decimal in (NULL)", but by a quick look, seems the change is more than that. Although there is a few description, but I cannot get it from it too.
Could you rephrase the issue this is going to fix?

I don't get it clearly what this is targeted to fix. The issue it closes is "support decimal in (NULL)", but by a quick look, seems the change is more than that. Although there is a few description, but I cannot get it from it too.
Could you rephrase the issue this is going to fix?

sorry for the confused description.
I have described the issue in https://github.com/apache/arrow-datafusion/issues/2817.

Thank you @liukun4515 -- I reviewed the tests carefully and I think this looks good.
The code "feels" a little more complicated than needed but I think it is doing what it needs to and the test coverage is good.
I wonder if it is worth just 1 test in sql_integration somewhere that ensures this implementation is hooked up correctly rather than just relying on tests in in_list.rs
I think it would be good if @Ted-Jiang was also able to review this PR prior to merging it, but it isn't necessary.

https://github.com/apache/arrow-datafusion/issues/2832 issue to track it


Incompatibility with Java 11

[x] I am using the latest SDK version
[x] This API is compatible with my vCenter version (You can get this info from the API documentation )
[x] I have searched existing issues

Description
Environment

SDK version:
vsphere-automation-sdk-java-<IP_ADDRESS>.1

Java version:
openjdk <IP_ADDRESS> 2023-08-24

vSphere version:
Not relevant

Steps or code snippet to reproduce
I am trying to create a session from my program:
java -cp "path/to/my.jar:~/Downloads/vsphere-automation-sdk-java-<IP_ADDRESS>.1/lib/*" path.to.my.MainClass
Actual behavior
I got the following stack trace:
Caused by: javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found
	at javax.xml.ws.spi.FactoryFinder$1.createException(FactoryFinder.java:61)
	at javax.xml.ws.spi.FactoryFinder$1.createException(FactoryFinder.java:58)
	at javax.xml.ws.spi.ServiceLoaderUtil.newInstance(ServiceLoaderUtil.java:103)
	at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:112)
	at javax.xml.ws.spi.Provider.provider(Provider.java:96)
	at javax.xml.ws.Service.<init>(Service.java:112)
	at com.vmware.vim25.VimService.<init>(VimService.java:38)
	at com.xwiki.cloud.infra.vsphere.internal.DefaultVSphereSessionFactory.getVSphereClient(DefaultVSphereSessionFactory.java:58)
	at com.xwiki.cloud.infra.instance.virtualhardware.vsphere.VSphereBridge.initialize(VSphereBridge.java:127)
	... 9 more
Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
	at javax.xml.ws.spi.ServiceLoaderUtil.nullSafeLoadClass(ServiceLoaderUtil.java:90)
	at javax.xml.ws.spi.ServiceLoaderUtil.safeLoadClass(ServiceLoaderUtil.java:123)
	at javax.xml.ws.spi.ServiceLoaderUtil.newInstance(ServiceLoaderUtil.java:101)
	... 15 more

Expected behavior
I get a session to my vSphere instance.

Hi @gdelhumeau
There are some packages which were removed in JDK11. So, it needs to be explicitly added to build files as we did in case of our SDK here
It looks like you are using a build script of your own and directly using the libraries from vsphere-automation-sdk-java-<IP_ADDRESS>.1/lib/*.
Please make sure that the missing packages are present in your build script.
Alternatively, you could compile our SDK and use the compiled jar with all dependecies from target dir.

Please reopen if the issue persists.


Backport 6.1 to kirkstone -> no serial console

Hi, I'm using kirkstone release of this layer in my project but would like to use new kernel 6.1. I've backported it to my layer (basically took it from master branch). Kernel seems to boot but I cannot see any output on serial console. In kirkstone I've set console=ttyAMA0,115200 in cmdline.txt file. Does something changed between kernel releases? I've tried to change to console=ttyS0,155200 but witout success. Any ideas what else I can check please? Thanks.

@agherzan I've checked and rpi-firmware is same on kirkstone & master if you mean by "bootloader update"

Looks like /etc/udev/rules.d/99-com.rules in a kirkstone build is different than versus bookworm. Kirkstone has this section which is absent from what I see on RPIOS:
KERNEL=="ttyAMA0", PROGRAM="/bin/sh -c '\
	ALIASES=/proc/device-tree/aliases; \
	if cmp -s $$ALIASES/uart0 $$ALIASES/serial0; then \
		echo 0;\
	elif cmp -s $$ALIASES/uart0 $$ALIASES/serial1; then \
		echo 1; \
	else \
		exit 1; \
	fi\
'", SYMLINK+="serial%c"

So udev on kirkstone is setting up a serial on uart, presumably the master branch is not doing this. About to attempt porting 6.1 to kirkstone myself so I can check this, but you can compare /etc/udev/rules.d/99-com.rules between kirkstone and master builds to verify.
kirkstone_99-com.rules.txt
bookworm_99-com.rules.txt

@nandra were you able to boot a 6.1 Linux kernel from the kirkstone branch?
I'm not having much success with that. I don't get any kernel log output on the serial console.

@yayay Please try to update also rpi firmware (bootfiles). It should work then.

In my case, the kernel was panicking early in the boot process during a USB controller init and I wasn't getting the printout on serial console because tty numbering has changed for some reason.
Now,
5.15        -> 6.1
ttyAMA0 -> ttyAMA1
ttyAMA1 -> ttyAMA5


Add dependency on typings

I don't use typescript and when I try to install your lib npm says:
sh: typings: command not found

hi. have run ```npm install``?

looks like it's fixed in the master, but I use angular2.rc-4 that's why I need older version. Will try to find out a solution

I run npm i<EMAIL_ADDRESS>

 npm -v 3.9.3


Resource utilization

Hi there,
I am trying to code some examples with SimPy.
I am currently stuck with a monitoring problem.
I just wanted to implement a simple M/M/1 queueing system.
I used a basic simpy resource with capacity=1 and everything seems to run OK.
But how do I get the average resource utilization over time?
In the documentation there is a comment, that it is very easy and very often required. However I did not find any example for it and am currently out of ideas that would not require pages of code.
Thanks for your support.
Pascal

Hi,
For average utilization I would do the following.
Each resource should have a variable start_time_utilization and
total_time_utilized. When a resource is acquired, start_time_utilization
should be set to "now" (simulation time). When a resource is released
total_time_utilized should be incremented by now minus
start_time_utilization.
The average utilization is total_time_utilized / now, i.e., the total
amount of time the resource was utilized divised by the current simulation
time.
Hope this helps.
Cheers,
Cristian
2018-08-11 18:25 GMT+02:00 reuschp<EMAIL_ADDRESS>
Hi there,
I am trying to code some examples with SimPy.
I am currently stuck with a monitoring problem.
I just wanted to implement a simple M/M/1 queueing system.
I used a basic simpy resource with capacity=1 and everything seems to run
OK.
But how do I get the average resource utilization over time?
In the documentation there is a comment, that it is very easy and very
often required. However I did not find any example for it and am currently
out of ideas that would not require pages of code.
Thanks for your support.
Pascal
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cristiklein/simpy/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABlXodag4kQ_GAl9XkwuPuaC_0iZbXhfks5uPwV_gaJpZM4V5OXK
.

Dear Christian,
thanks. I figured it out. At least for resources with capacity = 1 it seems to work fine. For the ones with more than one server, some more coding is necessary.
Based on this utilization problem, I am also struggling with a different problem - which is downtime of the resource.
I want to model statistical machine failures.
I think the interrupts can do the trick. To achieve my machine breakdown, I modeled a separate process. I found some examples to do that in the documentation.
env.process(bad_luck(env, user))
BUT - this connects me to a user/part and not the resource - which results in all kinds of trouble.
If I have a queue full of other processes at this resource, this approach does not work at all. If I interrupt one process, the next one automatically moves up - and the resources keeps working - instead of „breaking down"
Is there any way to interrupt the resource itself - and not the process?
Thanks for any ideas or sample code.
Pascal

Am 13.08.2018 um 11:42 schrieb Cristian Klein<EMAIL_ADDRESS>Hi,
For average utilization I would do the following.
Each resource should have a variable start_time_utilization and
total_time_utilized. When a resource is acquired, start_time_utilization
should be set to "now" (simulation time). When a resource is released
total_time_utilized should be incremented by now minus
start_time_utilization.
The average utilization is total_time_utilized / now, i.e., the total
amount of time the resource was utilized divised by the current simulation
time.
Hope this helps.
Cheers,
Cristian
2018-08-11 18:25 GMT+02:00 reuschp<EMAIL_ADDRESS>
Hi there,
I am trying to code some examples with SimPy.
I am currently stuck with a monitoring problem.
I just wanted to implement a simple M/M/1 queueing system.
I used a basic simpy resource with capacity=1 and everything seems to run
OK.
But how do I get the average resource utilization over time?
In the documentation there is a comment, that it is very easy and very
often required. However I did not find any example for it and am currently
out of ideas that would not require pages of code.
Thanks for your support.
Pascal
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cristiklein/simpy/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABlXodag4kQ_GAl9XkwuPuaC_0iZbXhfks5uPwV_gaJpZM4V5OXK
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/cristiklein/simpy/issues/1#issuecomment-412463898, or mute the thread https://github.com/notifications/unsubscribe-auth/AnhTtXy0N9dW5xP680FkodPdTCiEP9R6ks5uQUoSgaJpZM4V5OXK.

Dear Christian,
any suggestions regarding modeling the statistical resource breakdown?
Thanks
Pascal

Am 14.08.2018 um 17:10 schrieb Pascal Reusch<EMAIL_ADDRESS>Dear Christian,
thanks. I figured it out. At least for resources with capacity = 1 it seems to work fine. For the ones with more than one server, some more coding is necessary.
Based on this utilization problem, I am also struggling with a different problem - which is downtime of the resource.
I want to model statistical machine failures.
I think the interrupts can do the trick. To achieve my machine breakdown, I modeled a separate process. I found some examples to do that in the documentation.
env.process(bad_luck(env, user))
BUT - this connects me to a user/part and not the resource - which results in all kinds of trouble.
If I have a queue full of other processes at this resource, this approach does not work at all. If I interrupt one process, the next one automatically moves up - and the resources keeps working - instead of „breaking down"
Is there any way to interrupt the resource itself - and not the process?
Thanks for any ideas or sample code.
Pascal

Am 13.08.2018 um 11:42 schrieb Cristian Klein<EMAIL_ADDRESS><EMAIL_ADDRESS>Hi,
For average utilization I would do the following.
Each resource should have a variable start_time_utilization and
total_time_utilized. When a resource is acquired, start_time_utilization
should be set to "now" (simulation time). When a resource is released
total_time_utilized should be incremented by now minus
start_time_utilization.
The average utilization is total_time_utilized / now, i.e., the total
amount of time the resource was utilized divised by the current simulation
time.
Hope this helps.
Cheers,
Cristian
2018-08-11 18:25 GMT+02:00 reuschp<EMAIL_ADDRESS><EMAIL_ADDRESS>
Hi there,
I am trying to code some examples with SimPy.
I am currently stuck with a monitoring problem.
I just wanted to implement a simple M/M/1 queueing system.
I used a basic simpy resource with capacity=1 and everything seems to run
OK.
But how do I get the average resource utilization over time?
In the documentation there is a comment, that it is very easy and very
often required. However I did not find any example for it and am currently
out of ideas that would not require pages of code.
Thanks for your support.
Pascal
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/cristiklein/simpy/issues/1 https://github.com/cristiklein/simpy/issues/1>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABlXodag4kQ_GAl9XkwuPuaC_0iZbXhfks5uPwV_gaJpZM4V5OXK https://github.com/notifications/unsubscribe-auth/ABlXodag4kQ_GAl9XkwuPuaC_0iZbXhfks5uPwV_gaJpZM4V5OXK>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/cristiklein/simpy/issues/1#issuecomment-412463898, or mute the thread https://github.com/notifications/unsubscribe-auth/AnhTtXy0N9dW5xP680FkodPdTCiEP9R6ks5uQUoSgaJpZM4V5OXK.

Hi Pascal,
Sorry for my delayed answer.
I would try to model failure as a process that make a PriorityRequest to
a PreemptiveResource. If a non-failure process has said resource while the
failure takes place, then it would get a Preempted exception.
Have you checked this example:
https://simpy.readthedocs.io/en/latest/examples/machine_shop.html
Let me know if it helps.
Regards,
Cristian
În lun., 27 aug. 2018 la 09:11, reuschp<EMAIL_ADDRESS>a scris:

Dear Christian,
any suggestions regarding modeling the statistical resource breakdown?
Thanks
Pascal

Am 14.08.2018 um 17:10 schrieb Pascal Reusch<EMAIL_ADDRESS>Dear Christian,
thanks. I figured it out. At least for resources with capacity = 1 it
seems to work fine. For the ones with more than one server, some more
coding is necessary.
Based on this utilization problem, I am also struggling with a different
problem - which is downtime of the resource.
I want to model statistical machine failures.
I think the interrupts can do the trick. To achieve my machine
breakdown, I modeled a separate process. I found some examples to do that
in the documentation.
env.process(bad_luck(env, user))
BUT - this connects me to a user/part and not the resource - which
results in all kinds of trouble.
If I have a queue full of other processes at this resource, this
approach does not work at all. If I interrupt one process, the next one
automatically moves up - and the resources keeps working - instead of
„breaking down"
Is there any way to interrupt the resource itself - and not the process?
Thanks for any ideas or sample code.
Pascal

Am 13.08.2018 um 11:42 schrieb Cristian Klein<EMAIL_ADDRESS><EMAIL_ADDRESS>Hi,
For average utilization I would do the following.
Each resource should have a variable start_time_utilization and
total_time_utilized. When a resource is acquired, start_time_utilization
should be set to "now" (simulation time). When a resource is released
total_time_utilized should be incremented by now minus
start_time_utilization.
The average utilization is total_time_utilized / now, i.e., the total
amount of time the resource was utilized divised by the current
simulation
time.
Hope this helps.
Cheers,
Cristian
2018-08-11 18:25 GMT+02:00 reuschp<EMAIL_ADDRESS><mailto:
<EMAIL_ADDRESS>
Hi there,
I am trying to code some examples with SimPy.
I am currently stuck with a monitoring problem.
I just wanted to implement a simple M/M/1 queueing system.
I used a basic simpy resource with capacity=1 and everything seems to
run
OK.
But how do I get the average resource utilization over time?
In the documentation there is a comment, that it is very easy and very
often required. However I did not find any example for it and am
currently
out of ideas that would not require pages of code.
Thanks for your support.
Pascal
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/cristiklein/simpy/issues/1 <
https://github.com/cristiklein/simpy/issues/1>>, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABlXodag4kQ_GAl9XkwuPuaC_0iZbXhfks5uPwV_gaJpZM4V5OXK
<
https://github.com/notifications/unsubscribe-auth/ABlXodag4kQ_GAl9XkwuPuaC_0iZbXhfks5uPwV_gaJpZM4V5OXK

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <
https://github.com/cristiklein/simpy/issues/1#issuecomment-412463898>, or
mute the thread <
https://github.com/notifications/unsubscribe-auth/AnhTtXy0N9dW5xP680FkodPdTCiEP9R6ks5uQUoSgaJpZM4V5OXK
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cristiklein/simpy/issues/1#issuecomment-416135941,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABlXoWIvZqY4N8RIJLxdiLuu2dwQ48o5ks5uU5u4gaJpZM4V5OXK
.


Create a C-code file in /root & a C-code file in /_posts

Created a branch
Created a C-code file in /root & a C-code file in /_posts
Made a commit & Opend a pull request

After changed line 5 in file ‘First C-code file 20190104’
Other pull request has been confirmed


Issue with unintended possibility for multiple inheritance with Nodes and attached script objects.

Tested versions

reproducable in Godot v4.3.stable.official [77dcf97d8]

System information
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4060 Ti (NVIDIA; <IP_ADDRESS>81) - AMD Ryzen 7 3800X 8-Core Processor (16 Threads)
Issue description
It's possible to get an object in godot into a state where it has two entirely different inheritance hierarchies.
You can still cast between the two different hierarchies, but it's messy.  I suspect the whole thing is unintended.
Steps to reproduce
Start with a node of type CharacterBody2D, attach a script of type "second_type.gd" with any contents, which extends from Node, then attach an Area2D.  Connect the "_on_area_2d_body_exited" or any other method that takes type Node2D.  (The area2D is only used because it has a signal with an argument of type Node2D for demonstrating the issue)
In the body of the chosen function paste:
	var step = body;
	var x:second_type = step;
	print(body)
	print(step)
	print(x)

	#Semantically equivilent.  Does not work. Editor hates.
	var y:second_type = body as second_type

Observe that the editor complains about the last line saying "Invalid cast: cannot convert from "Node2D to "second_type"".
Comment that line out.
Run the application.
Trigger your event however you like.
Observe that body, step, and x are all the same object, although x is of type Node and body is of type Node2D, which should not be possible in Godots type structure.
Minimal reproduction project (MRP)
minimal_reproduction.zip

A bit more testing makes it even more worrying if you expand the code to:
var step = body;
	var x:second_type = step;
	var y:Node = x
	print(body)
	print(step)
	print(x)
	print(y)
	```
	You can see that y:Node == x:Node2D   which seems bad?

Attaching a script to a more specific node creates a kind of multiple inheritance on the value. Were is the problem with this though? As long as godot has clear rules for member resolution multi inheritance shouldn't be a problem right?
Also if you stick with static typing (which afaik is encouraged) you won't have this "problem" at all, since the multi inheritance is on the value, but a container (variable) can't represent it. This is why your cast fails. The assignment to x isn't semantically equivalent, since it does involve an untyped variable, which means that godot will check the assignment at runtime not at compile time (thus using the value and not the container type). In this case the runtime checks succeed because of the multi inheritance on the value.
Yeah it's a bit quirky but I don't see any issues coming from it. I also don't see a better way to handle it in a gradually typed language, as long as we want to keep the option to attach a script to a more specific node, which seems useful to me.

Reasonable, i expected a wontfix.
However, the object will pass an "is a" check for Node2D and Node both.  It is both types, and should be statically castable between them, if it's possible for it to actually be both.
The error message should probably be updated though.  It's not that it can't be cast to that type, since it clearly can. something like "Cannot automatically cast from X to Y.  Use an unsafe cast if this is intended", and only show that warning if a node is using multiple inheritance.
(This doesn't address what code gets called if you're calling methods shared between node and node2d either, but that's... beyond my scope of worry)

Maybe I misunderstood, but a Node2D is a Node. See the inheritance hierarchy, it inherits CanvasItem which inherits Node.

Yes, and normally the Node2D would obviously be overriding the Node methods.
But, where what you're doing is welding an entire second heireracy  onto the object are you comfortable in telling me for sure which methods or properties are going to get called in any particular situation?
Is it dependent on the type of the variable you're using to point at it?  Is it always one, always the other?  What?  The docs don't give you a way to determine the answer.

The error message should probably be updated though. It's not that it can't be cast to that type, since it clearly can.

This isn't possible, since GDScript does know nothing about the value that it will get at runtime. GDScript can only check against the static type which is Node2D the value is only known at runtime and can't be used for the error message.

Suppose for a moment you glue together a Node2D and a Node3D

That isn't possible (if you are able to, that would be worth adding to this issue), but what should be possible is to have a script which inherits Node, defines a visible variable and attach it to a Node2D. From brief testing, the script variable seems to always take precedence. But static type checks might check based on the Node2D type if stored in a container with this type.
We might want to add a configuration warning for this case :thinking:

That isn't possible (if you are able to, that would be worth adding to this issue), but what should be possible is to have a script which inherits Node, defines a visible variable and attach it to a Node2D. From brief testing, the script variable seems to always take precedence. But static type checks might check based on the Node2D type if stored in a container with this type.

Whoops, i see you're right about the 2D->3D, my apologies.  I thought i had tested that and it had worked, but I was wrong.
A configuration warning, or something in the docs explaining it, and what the different syntaxes are for dealing with the case might be nice.
I believe I've seen two, one walking it thru an untyped variable, and the other being [thing.]get_node(".") as <whatever>
It is slightly confusing when you're trying to statically type something, and come to a situation where you can't easily.


Release 1.3.0.Beta22

Summary
Releases 1.3.0.Beta22 as we need disabled build time analytics in TS and other stuff too.
Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Dependency update
[ ] Refactoring
[x] Release
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[x] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[ ] Example scenarios has been updated / added
[ ] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

run tests


Add artifact function name validation for call and static call (PR 1)

fixes #390

This looks good, but for some reason the CI isn't running.


Improve our template documentation

The AI site doesn't point people at template documentation in a clear way.
We currently have two pieces:
Keith wrote an introduction to templates  here:
https://docs.google.com/document/d/184G1j8ipZK_jB1yEco_tq0VBv8l8FRz-NKvR7yqyd6k/edit
It has a good introduction, but is missing the part on how to create repositories.
There's also this part by Ralph
https://docs.google.com/document/d/1QGf0gM4ZtJB87U1sXJuiwuGXFo88RBTwtTetK4uj36I/edit#heading=h.ouzvmbjz767b
It covers how to create repositories, but isn't finished.
These should  combined.  And the result should be included in our user documentation in a way that people starting out in App Inventor will know about templates.

Hal dealt with this.   Issue closed.


Bump golang.org/x/text to v0.3.7

What type of PR is this?
/kind cleanup
/kind security
What this PR does / why we need it:
Bumps
golang.org/x/text to fix GO-2021-0113 as it can be seen on deps.dev:

Which issue(s) this PR fixes:
None
Does this PR have test?
N/A
Special notes for your reviewer:
More information on affected version of the dependency.
Does this PR introduce a user-facing change?
Bumps
golang.org/x/text to fix advisory GO-2021-0113

@saschagrunert @jhrozek @JAORMX is there anything specific way we highlight when we are fixing a security advisory?

Codecov Report

Merging #655 (8cbfa9b) into master (7fcda01) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #655   +/-   ##
=======================================
  Coverage   45.28%   45.28%
=======================================
  Files          31       31
  Lines        1963     1963
=======================================
  Hits          889      889
  Misses       1028     1028
  Partials       46       46

@saschagrunert @jhrozek @JAORMX is there anything specific way we highlight when we are fixing a security advisory (for release notes purposes)?

Not right now, we integrated such a feature into the k/k release process a while ago but this is not available for custom repositories.


[Feature Request] Limit start and end time for calendar-multi-day

It would be awesome if I could limit the start and end times of this view to only business hours where events would most likely be scheduled. Maybe this is already possible somehow?

I don't know if I would want to restrict the times that are shown, but would shading in business hours by passing in a business_day_start and business_day_end times be an option?

Attached is a screenshot of the problem that I am running into. In short, every time you would want to see anything useful you have to scroll through 1am to 8am.

Maybe there is some other way of working around this, I'm totally open to any ideas!

The basic use case is a way to visualize where openings might be to schedule an event such as a onsite visit.

I guess starting the default focus to a normal part of the day is what I'm getting at, here's a screen shot from gmail, they do this.

Yeah, what you're saying makes a ton of sense. I was thinking of adding the "work hours" shading at some point, but having the calendar jump to a reasonable start time during the day would make sense as well. Let me think about how best to implement both, but I'll put in some solution shortly with the next version.

Awesome! And by the way I think it’s super cool that you’ve made a module
for the quasar framework!
Sent from Daniel's iPhone
On Aug 13, 2018, at 2:53 PM, Chris Benjamin<EMAIL_ADDRESS>wrote:
Yeah, what you're saying makes a ton of sense. I was thinking of adding the
"work hours" shading at some point, but having the calendar jump to a
reasonable start time during the day would make sense as well. Let me think
about how best to implement both, but I'll put in some solution shortly
with the next version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stormseed/quasar-calendar/issues/32#issuecomment-412678021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMpYaAlxTKCvT_7pzG2Jw74e0feTS4pKks5uQfVqgaJpZM4V66it
.

Assuming your multi-day-calendar has an id of 'calendar', a temporary workaround is to set scrolltop in the mounted method of your view component, like this:
// Scroll to 7am
let elem = document.getElementById('calendar').getElementsByClassName('scroll')[0]
elem.scrollTop = 560

I think I added a feature in v0.3.1 that addressed this. I'll close this out but please re-open if you feel it hasn't been.


Unable to build Flutter application with Yocto SDK

Hello,
I built a Yocto SDK including nativesdk-flutter-sdk, but it isn't possible to build Flutter application with the SDK because the command flutter build bundle is unable to read the version of Flutter SDK (provided by the Yocto SDK):
flutter build bundle
      The current Flutter SDK version is 0.0.0-unknown.
      Because gallery requires Flutter SDK version >=2.2.0, version solving failed.
      Running "flutter pub get" in gallery...
      pub get failed (1; Because gallery requires Flutter SDK version >=2.2.0, version solving failed.)

      flutter doctor -v
      Failed to find the latest git commit date: VersionCheckError: Command exited with code 128: git -c log.showSignature=false log -n 1 --pretty=format:%ad --date=iso
      Standard out:
      Standard error: error: object directory build/downloads/git2/github.com.flutter.flutter.git/objects does not exist; check .git/objects/info/alternates
      fatal: bad object HEAD
      Returning 1970-01-01 01:00:00.000 instead.
      [✓] Flutter (Channel unknown, 0.0.0-unknown, on Fedora Linux 35 (Workstation Edition) 5.16.18-200.fc35.x86_64, locale en_US.UTF-8)
          • Flutter version 0.0.0-unknown at sdk/nano/foo/sysroots/x86_64-nodistrosdk-linux/usr/share/flutter/sdk
          • Upstream repository unknown
          • Framework revision  (), 1970-01-01 01:00:00.000
          • Engine revision a83ed0e5e3
          • Dart version 2.16.1
          • DevTools version 2.9.2

It is easier to reproduce this issue having to build the Flutter gallery application:
git clone [git@github.com](mailto:git@github.com):flutter/gallery.git
cd gallery
git checkout 9eb785cb997ff56c46e933c1c591f0a6f31454f6

export FLUTTER_SDK="<folder>/sysroots/x86_64-nodistrosdk-linux/usr/share/flutter/sdk"
export PATH=${FLUTTER_SDK}/bin:$PATH
export ENGINE_SDK="./engine_sdk/sdk"

flutter build bundle

From the trace above, we can see the command try to access to a patch witch is only available from the Yocto build environment:
Standard error: error: object directory build/downloads/git2/github.com.flutter.flutter.git/objects does not exist; check .git/objects/info/alternates

@tprrt Thanks for reporting the issue.  I'll take a look.

@tprrt See if this works for you:
$ export SDK_ROOT=<folder>/sysroots/x86_64-nodistrosdk-linux/usr/share/flutter/sdk
$ git config --global --add safe.directory $SDK_ROOT
$ sudo chmod a+rw $SDK_ROOT -R
$ sudo rm -rf $SDK_ROOT/bin/cache/pkg/sky_engine/

Hello @jwinarske,
I tried to use the commands above, without success, the same error occurs.

@tprrt What branch of meta-flutter are you using?

Hello @jwinarske,
We are using the Honister branch (08b9a6c668b904c1abc2d769a2ace5697bea984b).
Kind regards,
Thomas

@tprrt would you mind trying a build with the dunfell branch?  The steps I shared work on dunfell.
https://github.com/meta-flutter/meta-flutter/blob/dunfell/conf/layer.conf#L11

Honister is not LTS so changing to bug

Hello @jwinarske,
The Honister branch uses the new syntax override; is there a trick to use the Dunfell branch of your layer with Honister?
ERROR: /src/layers/meta-flutter/recipes-graphics/flutter-engine/flutter-engine-release_git.bb: Variable do_configure_prepend contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.

Honister isn't a LTS but it is supported
Do you have a plan to support Kirkstone?
We started our projet with Honister to be able to switch more quickly on the Kirkstone branch.
Kind regards,
Thomas

@tprrt Currently Toyota is on Dunfell, and AGL has just moved to Kirkstone, and the default branch has been changed to Kirkstone as of yesterday.  I haven't had any requests or issues around Honister so it is lagging behind Dunfell.  I suspect in your case if I bring Honister to parity with Dunfell your issue will be resolved with the suggested fix.
Normally for flutter development one directly uses the Flutter SDK off GitHub, checking out the desired SDK version.  One just needs to know what Flutter SDK Tag is  used in target image.  The standard approach flutter devs use for building (eFlutter) apps directly tracks the mobile/desktop model.  One just uses/create Yocto recipe to generate AOT/profile release images.  "flutter build bundle" works as-is on the target. Which is why I'm treating this as a lower priority bug.
I have not confirmed SDK scenario with Kirkstone yet, but I believe it's closer to parity with Dunfell than Honister.  In addition Kirkstone issues will be treated with a higher priority due to LTS customers (AGL, etc).
Hope this helps to clarify things a bit more.
Cheers,
Joel

Hello @jwinarske,
We tested the commands you proposed above, it works on Kirkstone.
Thank you for your support.
Kind regards,
Thomas

May this relate to this issue:
VM snapshot invalid and could not be inferred from settings.
https://github.com/jwinarske/meta-flutter/issues/36

Adding workaround to tools/setup_workspace_flutter.py.
Also honister is at parity with kirkstone.

Closing this out as I have documented the safe.directory step in the README.md.
https://github.com/meta-flutter/meta-flutter/commit/cac4ad5f6e14fae8f9c272ae3a43f5662fb1d488
The other steps were added to flutter-sdk-native some time back.
https://github.com/meta-flutter/meta-flutter/blob/kirkstone/recipes-graphics/flutter-sdk/flutter-sdk_git.bb#L60


feat: add pseudo legal moves generator

Support pseudo legal moves for the purposes of implementing variants and working with boards in incomplete states. This is particularly helpful in my use case which involves training ML models.
This PR is based heavily on the functionality of the python chess library. In particular the Board.pseudo_legal_moves feature.
A pseudo legal move is like a normal legal move except:

Capturing the king is allowed
The player's king may be in check at the end their turn

Castling still following normal chess rules.

Thanks for creating/maintaining this library. I attempted to following existing patterns and guidelines. If this PR is outside the scope of your project then I understand and will attempt to maintain my own fork. I do believe this functionality will be applicable to a range of use cases.

another small nit, I typically increment the version here https://github.com/Disservin/chess-library/blob/master/src/include.hpp#L28, and I'm not sure (didn't check) if the code if formatted using clang-format. Not really important i can do that myself when the pr is ready to merge.

I can see about doing the templating. And I certainly didn't run clang-format. I haven't touched C++ in a LONG time so I'm pretty out of touch with the day-to-day conventions. The code for testing if a pseudo legal move is legal might be more complicated than I'm comfortable with in this PR.
Let me see what I can do I'll push some updates.

Yeah, testing the pseudo legal move we can delay to a later stage..

Ok, my first stab at rolling the pseudo generator into the template function did not go well. The logic gets WAY more complicated due to the interactions between the legality and the mask variables. There may be an elegant way to get it right but it's not obvious to me.
Personally, I believe the paths are dissimilar enough and the core logic stable enough that having two functions is more clear and easier to maintain in the long run. The final call is obviously yours, and I take no offense to any modifications to the code as given and/or rejecting the PR outright.
I will update the version and try to run the formatter tomorrow and then I'll leave it in your hands. Either way, thanks for reviewing.

I just updated it with what I imagined, I think your old code also had a bug where it didnt generate pin_hv for castling moves, which could lead to illegal castling moves.

This looks good. My only comments are:

The current code will fail if there is no king on the board (that has debatable applications)
Before my latest commit, the code would fail in double check cases which are pretty common in pseudo cases due to the related check/pin rules.

I'm testing this by simulating random games in a loop. The game ends under normal chess rules OR a king is captured.
Unrelated to correctness, this produces ~24k games/s which is amazing for my use cases.

btw i will leave this open until i get around to writing some unit tests for this..
or if you want to write some, here's a command to easier test specific test suites without testing the entire lib
meson test -C build --test-args="-test-suite='NAME'";

just replace NAME with the new test suite name


Switch to new user account within same sheet

I have multiple accounts I want to authorize, one at a time, downloading data from one and then switching to another. Previously with OAuth1 I did this by changing the service identifier, but that doesn't seem to be working anymore. It just remembers the authorization from before. I also tried running the reset shown in the readme before switching, but that didn't seem to do anything either. I also tried logging out of the first account in my browser, and then when authorizing I logged into the second account, and I got to the authorization page, but it said "400 Bad request Your browser sent an invalid request."
(This is for the Fitbit API)
Is there a way to do this, or do I have to make a separate sheet for each one?

Are you setting the cache on the service object using .setCache()?
If so, reset() is not clearing the cache when the property store is reset for the service. This might be causing getToken_() to retrieve an old token from the cache before the cache expiration.

No, I don't think so.
Here's where I create the service
function getFitbitService() {
return OAuth2.createService(SERVICE_IDENTIFIER)

  .setAuthorizationBaseUrl('https://www.fitbit.com/oauth2/authorize')
  .setTokenUrl('https://api.fitbit.com/oauth2/token')

  .setClientId(CONSUMER_KEY)
  .setClientSecret(CONSUMER_SECRET)

  .setCallbackFunction('authCallback')

  .setPropertyStore(PropertiesService.getUserProperties())

  .setScope('activity')
  .setParam('redirect_uri','https://script.google.com/macros/d/'+PROJECT_KEY+'/usercallback')
  .setTokenHeaders({
    'Authorization': 'Basic ' + Utilities.base64Encode(CONSUMER_KEY + ':' + CONSUMER_SECRET)
  });
}

You should be able to accomplish this by creating services with different names. Please double check your code.

Hm, now changing the SERVICE_IDENTIFIER above seems to be working, like you said; Weird, didn't change anything. Thanks!

Oh, seemed to work when I used an account I previously authorized on its own in a separate sheet, but when I tried a new account that I hadn't authorized before (i.e. showed the Deny/Allow page after login) I got the "400 Bad request"
(note all these accounts have been authorized before in a separate sheet for the same application credentials, although I suppose that doesn't matter since that was OAuth1 and the OAuth2 has a different client ID)


use released gridtables

use the released gridtables https://github.com/adobe/micromark-extension-gridtables instead the ones from helix-markdown-support

:tada: This issue has been resolved in version 1.3.22 :tada:
The release is available on:

v1.3.22
v1.3.22
GitHub release

Your semantic-release bot :package::rocket:


[JENKINS-36986] Call readResolve of the super class

Related to #2482 and #2463
https://issues.jenkins-ci.org/browse/JENKINS-36748
@reviewbybees CC @jtnord  @daniel-beck

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

should be possible to unit test.

@jtnord do I have your benediction now?

Hi - I'm catching up on old PRs in this repo. I'm not able to reproduce this issue; could you give more directions on how to reproduce it? Your fix makes sense but I suppose I wanted to see the error for myself.

:bug: incorrect assumption on how readResolve should work with inheritance

@fbelzunc What's the current status of this change?  Is it still relevant?  Should it be updated?  Should it be closed?