Dependencies graph

Will be great to have a page where you can view visually as a tree the dependencies between tasks.

If I have enough time I will do a fork and develop some ideas related to this feature request.

+1

See also #901 that describes the same thing

I've a version running on my fork ("graph" branch). What do you think? I'm using "visjs" library and rendering the tasks with links (and additional info on tooltip)

Whow, thats cool and is very visual!
Something like this would be very useful in creative sessions where projects are discussed by a team and new ideas are worked out from a vague course idea to detailed Tasks.
Would be great if in such a view:

user could add an item
user could set the relation between two items.
do the above two in one go, e.g by right clicking an item and selecting 'add child' from a menu..

The view reminds me very much of a mindmap..... also very useful for creating Tasks in a brainstorm session.

Yeah, creating new tasks from visual nodes is possible. Needs some work on events and stuff like this.
The first milestone will be the read-only version.
Later, we can improve it with more features.
At now, I'm using the hover event to show additional task info (points, assignee, project, etc.)
In a few days I'll have the pull request ready to pass to @fguillot
Thanks for checking out !

Ah, the library used is http://visjs.org if somebody want to play around and throw more ideas.

Looks really great!

It's very nice but I think that would be a good candidate for a plugin. In the current development branch, there is a very first version of a plugin api and I started to move some features to plugins to have a smaller code base.
The plugin documentation is here: https://github.com/fguillot/kanboard/blob/master/doc/plugins.markdown
To add the menu is the sidebar, you can use the hook "template:task:sidebar:information" and the rest of the code can be moved easily.
There are some plugin examples here: https://github.com/kanboard/

I think that would be a good candidate for a plugin.

:+1:

Ok, I'll wait for a stable release of plugin architecture. Next version, maybe?

+1

This sounds exactly like what our DevOps team is looking for. Is this plugin available yet ?

Nope yet, now the Plugin API is stable I'll port the this plugin soon.

+1 for this too. Look forward to seeing it as a plugin!

Hi, this is a first version of this feature using a plugin (0.0.1).
https://github.com/xavividal/kanboard-plugin-relationgraph
Feel free to use, comment, create issues, etc...

Hi @fguillot, you can close this issue if you want. Any improvement to this plugin will be done there.
Thanks !


Boolean values use lowercase but print in uppercase

Godot version
3.4 beta 4
System information
Windows 10
Issue description
Boolean values must be specified in lowercase
var my_true_var:bool = true
var my_false_var:bool = false

Yet when I print these out for debugging purposes they are printed with an uppercase letter
print(my_true_var)
True
print(my_false_var)
False

For my save/load functions for my game I need to manually correct the case to be able to feed game variables. I believe the case should be preserved so the keywords are correct.
Steps to reproduce
	var mybool:bool=false

	print_debug(mybool)
	printerr(mybool)
	printraw(mybool)
	printt(mybool)
	push_error(str(mybool))
	push_warning(str(mybool))
	prints(mybool)

Minimal reproduction project
No response

For my save/load functions for my game I need to manually correct the case to be able to feed game variables. I believe the case should be preserved so the keywords are correct.

Not sure what your serialization process looks like, but you can use var2str and str2var here instead of manual conversion.

Thanks @pycbouh - I didn't know about var2str, that's easier than the conversion I was using.
Correction on the cause - it appears it's "str" not "print" changing the case (as seen in debug by "var test = str(mybool)" containing the uppercase version of the boolean). I wouldn't expect "str" to convert the case.

Yes, it's just a text representation of the boolean type. All objects and data types have their text representation. I'm not sure if there is a good reason to have booleans capitalized like that though.

This is likely a good change to make in 4.0, but I fear there are some people out there relying on the current behavior in 3.x.

I'm not a C programmer unfortunately, but I'm taking an educated guess it's lines 1627-1632 in core/variant/variant.cpp? Looks like "Null" should also be "null"?
String Variant::stringify(List<const void *> &stack) const {
	switch (type) {
		case NIL:
			return "null";
		case BOOL:
			return _data._bool ? "true" : "false";

I'm not a C programmer unfortunately, but I'm taking an educated guess it's lines 1627-1632 in core/variant/variant.cpp? Looks like "Null" should also be "null"?
String Variant::stringify(List<const void *> &stack) const {
	switch (type) {
		case NIL:
			return "null";
		case BOOL:
			return _data._bool ? "true" : "false";

Instead of
String Variant::stringify(List<const void *> &stack) const {
	switch (type) {
		case NIL:
			return "Null";
		case BOOL:
			return _data._bool ? "True" : "False";

That seems to be it :slightly_smiling_face:
And yes, this change should also be made for null.

I tried to test changing those lines myself but got into compiler hell trying to get MinGW/Scons etc to play nicely on my machine. I'd like to make the change myself so I'm not relying on other people (or committing an untested change to the repository). I'll do a PR if I can work out the compiler issues.


task done

please look at the readme of this repo to make the correct submission and please remove unnecessary submissions


Truffle

Looks good, but can you add a more descriptive commit message?

I have updated this PR by specifying the compiler version in the Solidity config and using a commit standard that was inspired by the article @se3000 shared with me. Specifying a compiler version did not resolve the compiler warning when the Migrations constructor signature was changed, so I left that the same.

@se3000 what is the status of this PR?

Per the suggestion of @thodges-gh I have added a compiler object to the Truffle config and resolved the conversation wherein he suggested I do so. However, I am still unable to merge this PR, as it says that there are still changes requested (seems to point specifically to Thomas's compiler object comment). Thomas, is there something you can do on your end to allow me to merge this?

You can either dismiss the review or rerequest review from @thodges-gh.


Branding colour is applied to the border of the state badge

SURE-8097

Setup

Rancher version:2.7.11

Describe the bug
The branding primary color is incorrectly used as the border color for some status badges.
To Reproduce
Set the primary colour to a bright red.
Go to cluster management and import a generic cluster.
Go to the cluster management list page - the new cluster will be in the 'Pending' state and the border color for that badge will use the primary colour, rather than the blue background for for the pending state.

The badge should not be using the primary color as the border color.

Fixed by #11709

Tests pass on v2.10-61d79963733364046c6fc8e9003bd9d6948a6db0-head and dashboard version master f9d6f31


Server side coloration

Hi,
I would like to colorize some code on my NodeJS server.
Here is my NodeJS code:
import monaco from 'monaco-editor';

monaco.editor.colorize(
    "function hello() {\n\talert('Hello world!');\n}",
    "javascript",
    {}
)
.then(html => console.log(html));

But I get this error:
Rollup: Parse Error
Unexpected token (Note that you need plugins to import files that are not JavaScript)

node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.css
  | 4:  *--------------------------------------------------------------------------------------------*/
  | 5:
  | 6: .monaco-editor .accessibilityHelpWidget {
  | ^
  | 7:   padding: 10px;
  | 8:   vertical-align: middle;

Do you know what I should modify to colorize the code on server side?

Have you tried using ignore-styles yet? It looks like the error is related to the CSS being requested within node.

Even if you setup Webpack with the appropriate loaders for CSS, you get runtime errors such as ReferenceError: document is not defined.
It's a pity you can't just do something like:
const colorize = require('monaco-editor/colorize')

Or even better:
const colorize = require('monaco-editor-colorize')

A lightweight dependency that just works in Node.js without Webpack, etc. would be great; I'm trying to make a Babel plugin that colorizes code strings at build time. The use case being syntax highlighting code examples in a documentation site, matching popular VS Code syntax themes.
I can't even tell what colorize() actually does, the docs are very skimpy. I'm assuming it wraps parts of the syntax in the input string in spans with class names for styles to target. Also, it's languageId parameter is only documented as being a string; so what are the right ID's to use for a given language?

Related:

https://github.com/Microsoft/monaco-editor/issues/420
https://github.com/microsoft/monaco-editor/issues/438

Let's track in #420


Update only patch version of GE Maven extension

Issue
fixes https://github.com/gradle/gradle-enterprise-build-validation-scripts/issues/472
Fix
Use an ignore rule to have Dependabot ignore Major and Minor updates of the GE Maven extension

Is this required for the Maven extension only @runningcode ?

Yes, good to check. We only need to change the maven extension since the other pieces are updated manually.


function yaml should accept volume mounts

This will make it possible to use ConfigMaps

This should already be possible now that we're accepting the entire container yaml format as of: https://github.com/markfisher/sk8s/commit/3ad0d58bfe8983d352a165beddde1208eb81a76b

The volumes definition is outside of the container while the volume-mount is part of the container definition.

Right, actual volume definitions would need to be outside of the container spec, similar to https://github.com/markfisher/sk8s/issues/155

If the goal is using ConfigMap values as environment variables, that can be defined within the container spec though (without volume mounts) either at the individual key/value level:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#define-a-pod-environment-variable-with-data-from-a-single-configmap
...or all of the key/value pairs from a ConfigMap:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#configure-all-key-value-pairs-in-a-configmap-as-pod-environment-variables

Closing this.  See https://github.com/projectriff/kubernetes-crds/issues/6


Change bar color and below bar area color

When I touch chart I need to change bar color and below bar area color.

[https://github.com/imaNNeoFighT/fl_chart/pull/420]

Check this implementation without any change on the fl_chart.


SSL/TLS Not Supported

When attempting to submit to an https endpoint, the following error is generated:
Error: Protocol:https not supported.
    at Object.exports.request (http.js:1841:11)
    at FormData.submit (/some/random/path/node_modules/form-data/lib/form_data.js:312:20)
    at Request.<anonymous> (/some/random/path/lib/Engine.js:69:16)
    at Request.emit (events.js:95:17)
    at Request.onRequestResponse (/some/random/path/node_modules/request/request.js:1139:10)
    at ClientRequest.emit (events.js:95:17)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1689:21)
    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:122:23)
    at Socket.socketOnData [as ondata] (http.js:1584:20)
    at TCP.onread (net.js:528:27)

I updated tests, to use local server (with self-signed certificate) and it works all along.
Here is Travis with 0.10, 0.12 and io.js – https://travis-ci.org/felixge/node-form-data/builds/66670575
Can you show me your code that generates this error?
Thank you.

Seems like no longer an issue.


Add missing aarch64 grub2 efi subvolume (bsc#1097235)

T3SLyVczE$B8.ZT

@Deadmau8772 Can you please clarify the intention of this pull request? Which release is targeting, etc.


Monolog 3 support

Is there any plans to add support for monolog 3?

This is a good question. You can find more details about the this topic here rollbar/rollbar-php-laravel#128 (comment).
Until we have a clear roadmap to v4 this is not really an option. I am going to close this issue for now, and we will revisit it once we start working on a v4.

Now that v4-beta is out, is there any consideration for supporting Monolog v3?

Oops. I missed this one when working on the first v4 beta. I will try to add this to the next beta.


Consider making this configurable with a default value.  maybe Configuration["logs"]["excluded_messages"]?

          Consider making this configurable with a default value.  maybe `Configuration["logs"]["excluded_messages"]`?

Specific platforms might have messages that shouldn't be logged (i.e. containing sensitive data, or encoded byte data that would be useless in logs)
Originally posted by @NeonDaniel in https://github.com/OpenVoiceOS/ovos-messagebus/pull/15#discussion_r1256083251

brainfart


Plugins might well need to store data - where can they do that?

Assuming that Voluble is running on a server where local storage cannot be guaranteed (Heroku, for example), where can plugins store information - such as a map between Voluble message IDs and a services' message IDs?
Might be worth making a section in each plugin's manifest.json that specifies a data layout structure - maybe when a plugin is loaded, tables with the specified name (presumably prefixed with a random string?) are created according to the manifest.json spec and made available?

manifest.json:
...
data_tables: {
    my_table: {
        voluble_msg_id: number
        service_msg_id: number
    }
}
...

The new plan is for the plugins' manifest.json to include a section called object_data, where it can expect extra data for each type of registered object (message, user, organization) to be supplied, that it has specified. This is populated when the plugin is instantiated, in the this.object_data field, which will be an attribute of plugin_base.
For example:
my_plugin/manifest.json
...
object_data: {
    organization: [
        "account_id",
        "user_id"
    ]
}
...

my_plugin/plugin.js
console.log(this.object_data.organization["account_id"])
// --> "my_account_id_here"

Shelving this idea - plugins have access to a variable PLUGIN_HOME, referrring to the plugins' own directory. Under this directory, plugins should be able to read and write data, for example, sqlite databases, XML files, CSV files, etc.


Loaded scene, problem with transparency

Description
If you load a scene, in which squares have transparency, the squares won't blend (even if the alpha channel gets changed)
To Reproduce

Save a scene with multiple squares with transparency (with different z-positions*)
Open new scene
Open the saved scene again
you should see the square in front not blending, along with every other square

Example
Here is my scene file
Scene: Untitled
Entities:
  - Entity:<PHONE_NUMBER>1273
    TagComponent:
      Tag: Square3
    TransformComponent:
      Translation: [0, 0, -0.0199999996]
      Rotation: [0, 0, 0]
      Scale: [1, 1, 1]
    SpriteRendererComponent:
      Color: [1, 0.70588237, 0, 0.501960814]
  - Entity:<PHONE_NUMBER>1273
    TagComponent:
      Tag: Square2
    TransformComponent:
      Translation: [0, 0, -0.00999999978]
      Rotation: [0, 0, 0]
      Scale: [1, 1, 1]
    SpriteRendererComponent:
      Color: [0, 1, 0.117647059, 0.501960814]
  - Entity:<PHONE_NUMBER>1273
    TagComponent:
      Tag: Square
    TransformComponent:
      Translation: [0, 0, 0]
      Rotation: [0, 0, 0]
      Scale: [1, 1, 1]
    SpriteRendererComponent:
      Color: [0, 0.588235319, 1, 0.501960814]
  - Entity:<PHONE_NUMBER>1273
    TagComponent:
      Tag: Camera
    TransformComponent:
      Translation: [1.85000002, 0, 2]
      Rotation: [0, 0.785398185, 0]
      Scale: [0.579999983, 1, 1]
    CameraComponent:
      Camera:
        ProjectionType: 0
        PerspectiveFOV: 1.04719758
        PerspectiveNear: 0.00999999978
        PerspectiveFar: 1000
        OrthographicSize: 10
        OrthographicNear: -1
        OrthographicFar: 1
      Primary: true
      FixedAspectRatio: false

It has to do with the draw order, I just swapped the z values in opposite direction and it works..

Not 100% sure what the issue is, they are all on the same draw call... it should be fine


feat: support groupArraysAfterLength

Fixes: https://github.com/TexteaInc/json-viewer/issues/19

It should be like this. I implemented wrong way

When groupArraysAfterLength is 3


[PeerMgr] Add Caching and Re-processing system

Closes #242

Codecov Report

Merging #263 into dev will increase coverage by 0.44%.
The diff coverage is 68.75%.

@@            Coverage Diff             @@
##              dev     #263      +/-   ##
==========================================
+ Coverage   53.93%   54.37%   +0.44%
==========================================
  Files          85       86       +1
  Lines        2926     3042     +116
==========================================
+ Hits         1578     1654      +76
- Misses       1192     1218      +26
- Partials      156      170      +14

Impacted Files
Coverage Δ

pkg/syncmgr/headermode.go
92.3% <100%> (+0.64%)
:arrow_up:

pkg/syncmgr/normalmode.go
76.92% <100%> (+0.92%)
:arrow_up:

pkg/syncmgr/blockmode.go
71.42% <100%> (ø)
:arrow_up:

pkg/peermgr/peermgr.go
76.84% <61.4%> (-23.16%)
:arrow_down:

pkg/peermgr/blockcache.go
72.72% <72.72%> (ø)

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 1a6bdd4...fba8ebb. Read the comment docs.

300 points decentralisedkev

https://neoscan.io/transaction/81db58e8e3fcae21d4d614c008935de2fcb2d53bdf05ce5b4a40e13c3a110314


Rekordbox artwork fix mac

**I've not been able to compile this successfully to test unfortunately.

Adds a test method in playlist.js to check if artwork exists and loads and becomes an empty string on failure.
Adds a generic image into an images dir in overlays dir to use if the imageExists method works.

Thanks for putting this together @evankiljoy, for building the app I'm using electron-packager on Windows and electron-builder on Mac, are you on Mac or Windows?

I'm on Mac, MBP M1... I'm able to half-way build the app but there are
loads of deps missing which I'm slowly cobbling together
On Wed, 13 Jul 2022 at 11:14, erikrichardlarson @.***>
wrote:

Thanks for putting this together @evankiljoy
https://github.com/evankiljoy, for building the app I'm using
electron-packager on Windows and electron-builder on Mac, are you on Mac or
Windows?
—
Reply to this email directly, view it on GitHub
https://github.com/erikrichardlarson/unbox/pull/88#issuecomment-1183352239,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRUFS2LUCLMAC7PMK3L3WTVT3MNJANCNFSM53MFDLDA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Evan Short

Ah yeah the first few builds are annoying, but once you have them installed you should be able to just run electron-builder in the root directory.

OK, please reject my MR/PR for now... I have this building so I will implement some working and building code rather than this ugly pseudo code...


Computation on GPU is much slower than on CPU

Hi,
our dataset has 1300 rows and 5 columns. On GPU causal impact takes around 17 minutes while on CPU in takes only 2-3 minutes using this code:
casual_impact = CausalImpact(input_data_frame, pre_period, post_period, model_args = {
    'nseasons' : 1,
    'niter': 1000,
    'prior_level_sd': 0.1,
    'fit_method': 'vi'
})

I also tried different niter and fit_method but GPU was always much slower than CPU.
Is there any issue with library in utilization of GPU or could I do something to fix it?
GPU is GeForce GTX 1080 and on the same computer we use Tensorflow in another python program, where it is much faster on GPU than on CPU as expected. We have an issue only when using this causal impact library.

Hi @mc-karsa-tech ,
Just tested this issue here and confirmed the same behavior; that was quite surprising indeed.
Not sure what's going on, I'll run some tests here and confirm where the time consumption is coming from. As soon as I have some results I'll let you know.
Thanks for opening this issue :)!
Best,
Will

Hi @mc-karsa-tech ,
For what I've tested this issue seems to be related to Tensorflow. I've opened this issue on their repository asking for some help, hopefully they can shed some light into this issue.
I do remember that when I was implementing this package running on GPUs was considerably faster. But as I've tested on previous versions of TP and TFP the issue remained; not sure what's happening.
For now I recommend sticking with using CPUs and let's see what the team has to tell us in the meantime.
Best,
Will

Hi @mc-karsa-tech ,
As an update, Dave Moore from TFP team replied back to the issue and for what he said it's not quite expected indeed that GPUs will cause any improvements in processing time.
As it seems it's indeed better to use CPUs for now. Funny thing is that when I was first developing this package I did have the impression that GPUs were helping and a lot but maybe that was just a coincidence back at the time.
I'll update the documentation accordingly.
Best,
Will

Hi,
thank you for your effort and feedback. We stayed to use CPU instead of GPU since it is faster for our datasets although still slow.
I apologize for my late response.


Installation issue

I just downloaded the repo as a *.zip file, and included 'dist/p5.brush.js' in my project like this:
    <script src="libraries/p5.min.js"></script>
    <script src="libraries/p5.brush.js"></script>

This throws me the error: Uncaught (in promise) TypeError: s._renderer.uMVMatrix is undefined
This problem will go away when I switch the order of the two file inclusions.

Steps to reproduce this error;

Create a new P5 project with the VSCode Create p5 project command (https://p5js.org/tutorials/setting-up-your-environment/#using-vs-code)[A plug-in recommended by P5]
Download the repo as *.zip
Copy 'dist/p5.brush.js' into 'libraries' directory
Update index.html by adding the following line: <script src="libraries/p5.brush.js"></script> after the inclusion of the p5.min.js file

Since this problem will go away when I switch the order of the two file inclusions. I'll close this issue immediately. Just so it can be used as a future reference for others that encounter the same problem

Correction, this is not resolved. Cause while the error disappears, it seems as this way p5.brush can't utilise p5. The default rect() method works fine, but replacing it with brush.rect() throws an error.
Uncaught TypeError: s is undefined
brush.fill("#f00", 75); will also throw an error:
Uncaught TypeError: s._renderer.uMVMatrix is undefined

Hi. The library needs to be updated to work with the last version of p5
Another cobtributor already identified the problem. Will fix it asap.
Meanwhile, you can try using p5.js 1.9

I've tried p5.js version 1.8, 1.9 & 1.11.
1.9 & 1.11 give errors as described above.
1.8 gives its own error: Uncaught Error: createShader() is only supported in WEBGL mode. If you'd like to use 3D graphics and WebGL, see  https://p5js.org/examples/form-3d-primitives.html for more information.

You need to create your sketch in webgl mode.
https://p5js.org/reference/p5/createCanvas/

Thank you for your time, copied one of the demos and got that to work. So now time to get my hands dirty and explore this wonderful new library 😄

Thank you for testing and using the lib!
Hope you enjoy


configure fails to find oneDNN

Bug Description
CMake Warning at flashlight/fl/tensor/backend/onednn/CMakeLists.txt:6 (find_package):
  Could not find a configuration file for package "DNNL" that is compatible
  with requested version "2.5.2".

  The following configuration files were considered but not accepted:

    /usr/local/lib/cmake/dnnl/dnnl-config.cmake, version: 3.0.1

Call Stack (most recent call first):
  flashlight/fl/tensor/CMakeLists.txt:45 (include)
  flashlight/fl/CMakeLists.txt:32 (include)
  CMakeLists.txt:181 (include)

CMake Error at flashlight/fl/tensor/backend/onednn/CMakeLists.txt:8 (message):
  oneDNN required to build oneDNN backend: oneDNN was not found
Call Stack (most recent call first):
  flashlight/fl/tensor/CMakeLists.txt:45 (include)
  flashlight/fl/CMakeLists.txt:32 (include)
  CMakeLists.txt:181 (include)

Reproduction Steps
Regular configure.
Platform and Hardware
FreeBSD 13.1
Additional Context
Version: 0.4.0
onednn-3.0.1 (latest version)
clang-14

@yurivict oneDNN breaks their API with new releases -- I'm working on supporting 3.0+. Thanks for reporting.

oneDNN follows semantic versioning. API breaks only between major versions. Minor versions are API compatible.

@jacobkahn any update on your fix for oneDNN 3.x support? I forced it to build with v3.0 or 3.1 but getting many errors such as this:
/root/flashlight/flashlight/fl/tensor/backend/onednn/OneDnnBackend.cpp:180:18: error: ‘const struct dnnl::memory::desc’ has no member named ‘data_type’; did you mean ‘get_data_type’?
180 |       lhsMemDesc.data_type(), rhsMemDesc.data_type()));
|                  ^~~~~~~~~
|                  get_data_type


test: improve change stream tests

Description
What is changing?
As precursor to startSession without connection work I had to fix up change stream tests
What is the motivation for this change?
Consolidates the initialize logic for iterable mode and event emitter mode. Clarifies clean up routines, makes heavy use of promises, bundling up many async tasks into one entry / one exit procedures.
Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
[x] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

Need to file TODOs

If we are refactoring the tests in this PR should we also make them adhere to our new test structure guidelines?

If we are refactoring the tests in this PR should we also make them adhere to our new test structure guidelines?
I'd rather not do that now as this is blocking higher priority work, we'll be iterating on the change stream tests with our scheduled feature work and bug fixes so right now I just want to address the goal of getting our tests in a state where the clean up logic is traceable.


Error when executing php artisan command

Laravel Version: 5.4
PHP Version: 5.6
Database Driver & Version: MySQL 5.7

Description:
PHP Catchable fatal error:  Argument 1 passed to Illuminate\Config\Repository::__construct() must be of the type array, integer given, called in /var/www/html/project/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 36 and defined in /var/www/html/project/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 24
I got the error above and I dont know how to solve it. anyone know the solution?
Steps To Reproduce:

This repo is for bug tracking. Use the forums or slack channel for solving your issue

5.4 is not supported anymore, please upgrade to laravel 5.5


onNavigationStateChange after redirect url is incomplete on android

when I use webview on android, after url redirect,I catch new url by onNavigationStateChange is incomplete,but on iOS is complete url.
such as the new right url is "https://github.com?token=xxxxx",android only return "https://github.com", don't have params.

+1

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/onnavigationstatechange-after-redirect-url-is-incomplete-on-android

Yes ,on Android it returns the previous url and its a huge bug i think. Please do something for it otherwise my whole effort of 2 months will be ruined. Please help me .


Add AbsTaskInstructionRetrieval from the FollowIR paper

Real PR for FollowIR (old draft for reference in #356).
Re-uses as much of the AbsTaskRetrieval abstract task as possible, thanks to previous feedback.  Dataset task files are up to date with the newer MTEB metadata. Adds a test to check that things load and that the metric works.
I left the sample and n_characters metadata empty, I'm updating the dataset slightly (should be done in a few days) and will make a new PR when it's finished to update the dataset revisions and this metadata.

@KennethEnevoldsen and @Muennighoff, this is ready to be looked at when you get time.  Thanks for your help!

Very nice job! Can you please add the results of running the tasks? You just need to run mteb on the task and push the JSON files 🙂

Thanks @imenelydiaker! I added the small model (e5-small) results I ran as a verification check.  I plan on adding a lot more (all the ones in my paper) but since I'm making some minor updates to the dataset I was gonna wait to re-run them all.
I also plan to make a PR to create the leaderboard to show these results and another PR to add rerankers to MTEB, so this is just the first of many :)

Thanks @KennethEnevoldsen! Added the metadata and documentation 🙂

@orionw, please note the changes to the scoring tracking system (#438) to avoid merge conflicts

Everything is looking good. I will merge this in! Very happy with this addition 🎉


Update CODEOWNERS for core and Observation.

We'll update this in a more fine-grained manner shortly, but this will do for now.

@swift-ci smoke test


Clean spaces before and after labels block

What does this PR do?
There were some unnecessary empty lines before and after the labels block.

[X] CHANGELOG.md has been updated (if it exists)

Your original test PR succeeded, but I just rebased this PR so the test PR got bumped. I triggered cluster test suites once again.

cluster-aws test PR looks good. Feel free to merge.


[Fix-14008][registry] cache keep alive lease

Purpose of the pull request
fix #14008
Brief change log
add EtcdKeepAliveLeaseManager
Verify this pull request
This pull request is code cleanup without any test coverage.

Codecov Report

Merging #14034 (6116dd6) into dev (4545093) will decrease coverage by 0.11%.
The diff coverage is 25.00%.

:exclamation: Current head 6116dd6 differs from pull request most recent head 3d8d9a0. Consider uploading reports for the commit 3d8d9a0 to get more accurate results

@@             Coverage Diff              @@
##                dev   #14034      +/-   ##
============================================
- Coverage     38.22%   38.12%   -0.11%
+ Complexity     4437     4414      -23
============================================
  Files          1220     1221       +1
  Lines         42698    42671      -27
  Branches       4734     4700      -34
============================================
- Hits          16322    16269      -53
- Misses        24571    24603      +32
+ Partials       1805     1799       -6

Impacted Files
Coverage Δ

...lugin/registry/etcd/EtcdKeepAliveLeaseManager.java
22.72% <22.72%> (ø)

...inscheduler/plugin/registry/etcd/EtcdRegistry.java
51.74% <50.00%> (+0.71%)
:arrow_up:

... and 37 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

PTAL @ruanwenjun


ENH: Adding optional parameter to stats.zscores to allow for ignoring NaNs

What does this implement/fix?
Currently stats.zscores will return an array of NaNs if one or more values in an input array is NaN. This PR implements an optional parameter to allow the NaNs to be ignored and z-scores to be calculated based on the data present.
The current behavior is preserved as default. Therefore, no existing code would be impacted by the change.
Additional information
In addition to updating the docstring I added two unit tests. One shows the current (default) behavior being constant, and the other shows the new (optional) behavior.
Thank you for taking the time to take a look!

Would be nice to call it a nan_policy, and make it consistent with other stats functions.

@ev-br: Thanks for the feedback. That is helpful.
I'll follow up on this updating the test and update the PR following the example of stats.sem and stats.median_absolute_deviation.
I'll have something up tomorrow evening.

I think this has addressed the feedback and is ready.
Please let me know if there is anything else required of me and I'd be happy to do it.

Looks good; thanks @dankleeman.


missing module in lelesk

During the installation from source
$ ./setup.py
/home/user/.local/lib/python3.6/site-packages/delphin/interfaces/ace.py:37: FutureWarning: Responses from the ACE interface will use a response class (like delphin.interfaces.rest) in future releases and may not be entirely compatible with the current format.
  FutureWarning
Traceback (most recent call last):
  File "./setup.py", line 39, in <module>
    from coolisf import __author__, __email__
  File "/home/user/workspace/intsem.fx/coolisf/__init__.py", line 49, in <module>
    from .ghub import GrammarHub
  File "/home/user/workspace/intsem.fx/coolisf/ghub.py", line 47, in <module>
    from coolisf.config import read_config
  File "/home/user/workspace/intsem.fx/coolisf/config.py", line 46, in <module>
    from coolisf.common import write_file
  File "/home/user/workspace/intsem.fx/coolisf/common.py", line 43, in <module>
    from lelesk.util import ptpos_to_wn
ModuleNotFoundError: No module named 'lelesk.util'

This issue is finally fixed with coolisf version 0.2.3 release.
https://pypi.org/project/coolisf/


ValueError: invalid literal for int() with base 10: 'off'

Dyson Local v0.16.4-4
Core  2024.5.4
Supervisor 2024.05.1
Assuming there is a poll interval, this error is caught hundreds of time throughout the day. Please advise if I am doing something wrong or how i can fix this.
`
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 658, in state
numerical_value = int(value)
^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'off'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 661, in state
numerical_value = float(value)
^^^^^^^^^^^^
ValueError: could not convert string to float: 'off'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 414, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 492, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1009, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1132, in _async_write_ha_state
state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1067, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1015, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 665, in state
raise ValueError(
ValueError: Sensor sensor.pure_cool_link_temperature has device class 'temperature', state class 'measurement' unit '°F' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'off' (<class 'str'>)
`

I'd like to point you in this direction: https://github.com/libdyson-wg/ha-dyson
More information is in #185 if you'd like to know the history.


Bug? BashOnWindows appears to convert all files to CRLF on windows volumes

Is this by design? Ideally, we'd have control over this directly.
Some side effects:

dos2unix on a file in /mnt/c does nada
git clone on a repo produces CRLF line endings [and the shell scripts in the repo fail to run due to line endings]

git clone on a repo produces CRLF line endings

@cbuschardt - Well... Quote from https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration
Formatting and Whitespace
Formatting and whitespace issues are some of the more frustrating and subtle problems that many developers encounter when collaborating, especially cross-platform. It’s very easy for patches or other collaborated work to introduce subtle whitespace changes because editors silently introduce them, and if your files ever touch a Windows system, their line endings might be replaced. Git has a few configuration options to help with these issues.
core.autocrlf
If you’re programming on Windows and working with people who are not (or vice-versa), you’ll probably run into line-ending issues at some point. This is because Windows uses both a carriage-return character and a linefeed character for newlines in its files, whereas Mac and Linux systems use only the linefeed character. This is a subtle but incredibly annoying fact of cross-platform work; many editors on Windows silently replace existing LF-style line endings with CRLF, or insert both line-ending characters when the user hits the enter key.
Git can handle this by auto-converting CRLF line endings into LF when you add a file to the index, and vice versa when it checks out code onto your filesystem. You can turn on this functionality with the core.autocrlf setting. If you’re on a Windows machine, set it to true – this converts LF endings into CRLF when you check out code:
$ git config --global core.autocrlf true
If you’re on a Linux or Mac system that uses LF line endings, then you don’t want Git to automatically convert them when you check out files; however, if a file with CRLF endings accidentally gets introduced, then you may want Git to fix it. You can tell Git to convert CRLF to LF on commit but not the other way around by setting core.autocrlf to input:
$ git config --global core.autocrlf input
This setup should leave you with CRLF endings in Windows checkouts, but LF endings on Mac and Linux systems and in the repository.
If you’re a Windows programmer doing a Windows-only project, then you can turn off this functionality, recording the carriage returns in the repository by setting the config value to false:
$ git config --global core.autocrlf false

Also dos2unix works fine on DrvFs (/mnt/c). WSL (a kernel API) doesn't know how lines are terminated. In fact, it doesn't know the file has lines.

@cbuschardt - Thanks for your post. git clone should not be behaving any differently than how it behaves in Linux. Are you seeing difference in behavior? Can you share the repro steps?

It seems to me, as a developer on Windows I will often want my WSL to check out as CRLF so native Windows editors can safely edit. Others might want to configure it differently.   But as it was stated, this hurts shell scripts. It would be best if Bash was able to cope with both line ending scenarios, is there a configuration for this?

Your edit is the standard approach. Cygwin's set -o igncr was never upstreamed to mainline (or never accepted, I don't know which). Patch is here.

Closing as linux-behavior; people suffer the same general grief with VMs and folder shares. It would be nice if Cygwin's set -o igncr was upstreamed but that isn't a WSL actionable.

as a developer on Windows I will often want my WSL to check out as CRLF so native Windows editors can safely edit

It's pretty hard to find a Windows editor these days that will have problems with Unix-style text.
On the other hand, very few tools in Linux are sensitive to Windows-style line endings, bash being the only example that yours truly has ever actually encountered recently.
The bottom line, adding this to .gitattribute saved me:
*.sh text eol=lf

Microsoft Code has endless problems with this even after setting the default line ending character at application, workspace, and folder level to \n (LF). Running a shell script in Windows/Ubuntu bash windows still throws the \r'' error constantly.


Modify plots to aceept data from qc

Background
Link to issue
https://biomage.atlassian.net/browse/BIOMAGE-517
Link to staging deployment URL
Coming soon
Links to any Pull Requests related to this
https://github.com/biomage-ltd/api/pull/61
Anything else the reviewers should know about the changes here

Plots can take in plotData object from Redux to use data from QC pipeline. Plots under plots and tables still use data from Redux store, so that it can respond to changes done in Data Exploration
Data processing is taken out of Vega plots, and done in generateData function out of Vega.
Data layout for plots have to be done correctly in QC, before passing it to UI. For this, we have the plots details document . This document will be worked on as the bioinformaticians work on the QC steps and the plots in QC are refactored (https://biomage.atlassian.net/browse/BIOMAGE-636).
Curretntly, only these plots have been refactored : CategoricalEmbedding, ContinuousEmbedding, MitochondrialCount, DoubletScores. The other plots are still in progress and does not have

Changes
Code changes

PlotData can be passed through generateSpec(spec, plotData). generateData(...params) can be used to generate plotData dynamically e.g. using variables from redux.

Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[ ] Unit tests written
[X] Tested locally with Inframock
[X] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

The other plots are still in progress and does not have

I think you forgot to finish the sentence here.

I think you forgot to finish the sentence here.

Oh yea, I completed it. It's basically saying that that other plots does not yet take plotData from QC / Redux directly.

Anything else left to do on this outside of the tests?

No, there's no more major changes, just debugging and testing


TESS Quality Bitmasks

May be an error or just an issue needing clarification. The documentation for the TESS quality bitmasks appears to be inconsistent. In https://docs.lightkurve.org/api/lightkurve.lightcurvefile.TessLightCurveFile.html, the bitmasks described are the Kepler bitmasks, whereas in https://docs.lightkurve.org/api/lightkurve.utils.TessQualityFlags.html, the TESS bitmasks are listed. Is this a mistake or can lightkurve interpret Kepler bitmasks when representing TESS data?

@mis-95 You are absolutely correct, the docstring of TessLightCurveFile was copy-pasted from KeplerLightCurveFile and, as a result, contains incorrect integer bitmask values in its description.
We will correct/update this asap!
Thank you for letting us know! :pray:

Lightkurve v1.8.0 was released today.  The documentation includes a fix for this issue!


Mention that "Allow remote control apps" needs to be active

Just tried your app and it initially didn't work for me, because "Allow remote control apps" was deactivated in the wireguard apps advanced settings. Maybe you could mention this requirement in your app? Just to save people some time searching for this ;)
Also not sure if I disabled this or it was disabled by default, but a hint can't hurt, right?

Absolutely, thanks for reaching out! :raised_hands:  I am not sure either if I enabled this and then just forgot about it or if it was enabled by default :smile: In any case I'll add a note :+1:


Undefined symbols for architecture x86_64 (OS X 10.10)

rbenv install 2.2.3
Downloading openssl-1.0.1p.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/bd5ee6803165c0fb60bbecbacacf244f1f90d2aa0d71353af610c29121e9b2f1
Installing openssl-1.0.1p...

BUILD FAILED (OS X 10.10.1 using ruby-build 20151028-10-gf174d58)

Inspect or clean up the working tree at /var/folders/5m/_jv81jbx1tj3ngl3t99r0yxr0000gn/T/ruby-build.20151114100739.68344
Results logged to /var/folders/5m/_jv81jbx1tj3ngl3t99r0yxr0000gn/T/ruby-build.20151114100739.68344.log

Last 10 log lines:
Undefined symbols for architecture x86_64:
  "___divti3", referenced from:
      ___muloti4 in libclang_rt.osx.a(muloti4.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [link_a.darwin] Error 1
make[3]: *** [do_darwin-shared] Error 2
make[2]: *** [libcrypto.1.0.0.dylib] Error 2
make[1]: *** [shared] Error 2
make: *** [build_crypto] Error 1

anybody encountered this type of issue when installing the latest ruby version

That's strange. Have you tried xcode-select --install?

Yes i id my version number is 2339 for xcode-select, I did do it again using Home brew this is what i did step by step 1. brew install rbenv 2. exported my environment variable which is export RBENV _ROOT = /usr/local/var/rbenv to my bash_profile , and added this to initial rbenv  if which rbenv > /dev/null; then eval "$(rbenv init -)";fi  3. when to my path cd/usr/local/var/rbenv and make a directory called plugins into it i cloned ruby-build git clone https://github.com/sstephenson/ruby-build.git. 4. when i type rbenv install --list i get all the possible version to be installed i can see the the version i want which is 2.2.3
5 rbenv install 2.2.3, this is the error i am getting on my command line
Downloading ruby-2.2.3.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
Installing ruby-2.2.3...
BUILD FAILED (OS X 10.10.1 using ruby-build 20151028-10-gf174d58)
Inspect or clean up the working tree at /var/folders/5m/_jv81jbx1tj3ngl3t99r0yxr0000gn/T/ruby-build.20151115095948.5066
Results logged to /var/folders/5m/_jv81jbx1tj3ngl3t99r0yxr0000gn/T/ruby-build.20151115095948.5066.log
Last 10 log lines:
config.guess already exists
config.sub already exists
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
checking target system type... x86_64-apple-darwin14.0.0
checking whether the C compiler works... no
configure: error: in /var/folders/5m/_jv81jbx1tj3ngl3t99r0yxr0000gn/T/ruby-build.20151115095948.5066/ruby-2.2.3': configure: error: C compiler cannot create executables See config.log' for more details
make: *** No targets specified and no makefile found.  Stop.

Could you paste the full build log (see "Results logged to ..." line) as a gist?

gist:5c357da2b7203c86da41

Downloading ruby-2.2.3.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
Installing ruby-2.2.3...
BUILD FAILED (OS X 10.10.1 using ruby-build 20151028-10-gf174d58)
Inspect or clean up the working tree at /var/folders/5m/_jv81jbx1tj3ngl3t99r0yxr0000gn/T/ruby-build.20151115095948.5066
Results logged to /var/folders/5m/_jv81jbx1tj3ngl3t99r0yxr0000gn/T/ruby-build.20151115095948.5066.log
Last 10 log lines:
config.guess already exists
config.sub already exists
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
checking target system type... x86_64-apple-darwin14.0.0
checking whether the C compiler works... no
configure: error: in /var/folders/5m/_jv81jbx1tj3ngl3t99r0yxr0000gn/T/ruby-build.20151115095948.5066/ruby-2.2.3': configure: error: C compiler cannot create executables See config.log' for more details
make: *** No targets specified and no makefile found.  Stop.

What I meant was:

pbcopy </var/folders/5m/_jv81jbx1tj3ngl3t99r0yxr0000gn/T/ruby-build.20151115095948.5066.log
Go to https://gist.github.com/
Paste log into text area
Press "Create secret gist"
Copy the browser URL
Paste the URL here.

https://gist.github.com/afelle1/bc5da9b8465f107493c3

@afelle1 I haven't seen this openssl compile error before, but what you can try is to install openssl with Homebrew (brew install openssl) and then try rbenv install ... again. Let us know if that works!

@mislav the bew install openssl installed a newer version and bypassed the previous error @demhaq and I were having, however there is a new error instead:
https://gist.github.com/afelle1/73ac2304d5e28ca19e22

@afelle1 Ouch. Does xcode-select --install help

@mislav So I think I figured out my issue.  Whenever I upgraded to Yosemite, there was some issue with Xcode as not being validated or something, so I deleted Xcode and uninstalled the command line tools (http://stackoverflow.com/questions/27438457/xcode-6-1-how-to-uninstall-command-line-tools) and then reinstalled them ala xcode-select --install and was able to get past the openssl issue @demhaq and I were hitting.  After that, ruby 2.2.3 installed completely fine, so thanks again for your help!  Think demhaq needs to uninstall and reinstall xcode and/or xcode command line tools.

andrew.feller@andrew-feller-m ~ $ rbenv install 2.2.3
Downloading openssl-1.0.1p.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/bd5ee6803165c0fb60bbecbacacf244f1f90d2aa0d71353af610c29121e9b2f1
Installing openssl-1.0.1p...
Installed openssl-1.0.1p to /Users/andrew.feller/.rbenv/versions/2.2.3

Downloading ruby-2.2.3.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce
Installing ruby-2.2.3...
Installed ruby-2.2.3 to /Users/andrew.feller/.rbenv/versions/2.2.3

andrew.feller@andrew-feller-m ~ $ ruby --version
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
andrew.feller@andrew-feller-m ~ $ rbenv local 2.2.3
andrew.feller@andrew-feller-m ~ $ ruby --version
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]

Thanks for sharing, @afelle1. @demhaq do you still have the original issue?

macOS 10.10 is EOL now.

To those who got into my strange situation: Had to install a parallel version of XCode (12.4) for some outdated build tools at work, which included adding SYSTEM_VERSION_COMPAT=1. This caused the ruby install process to think it was working with the previous version of MacOS, and so clang linking failed:
ld: warning: dylib (/usr/local/lib/libgmp.dylib) was built for newer macOS version (12.0) than being linked (11.1)
Undefined symbols for architecture x86_64:
  "__mh_execute_header", referenced from:
      _rb_dump_backtrace_with_lines in addr2line.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It worked from one or both of removing SYSTEM_VERSION_COMPAT=1 (or setting to 0/false), and possibly switching back to the latest XCode command line tools sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer since I have 12.4 installed in parallel (sudo xcode-select --switch /Applications/Xcode12.4.app/Contents/Developer)


What counts as an indexed item from onprem

Limit "Maximum number of on-premises items indexed in Office 365 "
•	What is the max or hard limit of what is indexed?
•	What counts as an indexed item from onprem?

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

ID: 171ee42a-95a9-6543-dd99-696ba7025cd0
Version Independent ID: a3b3b40f-b808-7ac6-b420-a9b7bb0361fb
Content: Search limits for SharePoint Online
Content Source: SharePoint/SharePointOnline/search-limits.md
Service: sharepoint-online
GitHub Login: @tklarsen
Microsoft Alias: tlarsen

@bestcomy-duplicate Thank you for this inquiry
I am not sure on the answers for these two on-premises questions. Let me get this over to the SharePoint team for investigation and clerification.
The team will get this prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@bestcomy-duplicate It is outlined in the document:
"This quota is by default limited upwards to 20 million items. To increase the number of items that can be indexed beyond 20 million items, contact Microsoft Support."
There is no hard cap per the above but you do need to contact support if you're going above 20 million indexed items. Indexed items count for any crawled item (document, list item, pages, people).

@scanum please close this.


Cast button won't appear.

Hello, I've been working on following the tutorial to implement the cast framework, and no matter what I do, I can't seem to get the cast button to appear when there is a device on the same network. I've tried with other apps, and it connects to the chromecast fine.
Here is my code for my delegate and view controller. My view controller is the top view of a navigation view.
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate, ILoggerDelegate
{
// class-level declarations
    public override UIWindow Window
    {
        get;
        set;
    }

    public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
    {
        // Override point for customization after application launch.
        // If not required for your application you can safely delete this method

        // Contains options that affect the behavior of the framework.
        var discoveryCreiteria = new DiscoveryCriteria("1CE78A62");
        var options = new CastOptions(discoveryCreiteria);

        // CastContext coordinates all of the framework's activities.
        CastContext.SetSharedInstance(options);

        // Google Cast Logger
        Logger.SharedInstance.Delegate = this;

        return true;
    }

    #region Logger Delegate

    [Export("logMessage:fromFunction:")]
    void LogMessage(string message, string function)
    {
        Console.WriteLine($"{function} {message}");
    }

...
public partial class ViewController : UIViewController
{
protected ViewController(IntPtr handle) : base(handle)
{
// Note: this .ctor should not contain any initialization logic.
}
    public override void ViewDidLoad()
    {
        base.ViewDidLoad();
        // Perform any additional setup after loading the view, typically from a nib.

        // Cast button to allow the user to select a Cast device.
        var btnCast = new UICastButton(new CGRect(0, 0, 24, 24)) { TintColor = UIColor.Blue };
        NavigationItem.RightBarButtonItem = new UIBarButtonItem(btnCast);
    }

    public override void DidReceiveMemoryWarning()
    {
        base.DidReceiveMemoryWarning();
        // Release any cached data, images, etc that aren't in use.
    }
}

Any insight or advice would be greatly appreciated. Thanks!

Was just an issue with iOS 12! I added the Access Wifi Information to the entitlements and it worked!


Coverity CID #1021755 Uninitialized pointer field

This is a follow-up based on feedback from @jpeach.
#1889

[approve ci]
Looks like we hit that race condition still @zwoop.

[approve ci]


clean up logic for when to execute parallel python

Currently what you get is not very intuitive. See eicsim distribution creation without force_executor for an example.
This is also the root problem that causes #115

This may require changing how the check for multiple executor types is done.
Serial python doesn't use an executor at all and should be able to be paired with rsmpi in theory.

merged into master


87a GIFs aren't supported

87a is not supported although the formatting is similar.
changed this line to
gif[3] === 0x38 && (gif[4] === 0x39 || gif[4] === 0x37) && gif[5] === 0x61) { // '89a'

@Danpollak thank you so much for letting me know 🙏
will fix it this weekend.

now 0.9.1 is here with your code. thank you so much for your contribution!
https://www.npmjs.com/package/aframe-gif-shader#contributors


expose BackOffOptions

This action is really great, thanks for making it. Leveraging exponential-backoff was an excellent idea but it has several default values which may not be fit for all usage.
For instance, in GHES, the default 100ms startingDelay may be to short for the API to actually return a running job even though it will eventually start without any issue.
Also, for long-running jobs, it might be worth making numOfAttempts configurable. With the default values, maximum number of attempts would be reached in 300 ms (for workflowId) or 1.5 seconds (for workflowRuns).

Hey @eberkut! Thank you for the interest in this project! So it looks like the exponential-backoff library implements a multiplier on the initial startingDelay. This multiplier is set through the timeMultiple value which defaults to 2.
This means that your corrected figures would be on the line of 700ms (for workflow ID) and 3.1 seconds (for workflow Runs). These figures are based off a starting delay of 100ms + 2x multiplier over 3 and 5 attempts respectively. Feel free to correct me if you think I have the incorrect interpretation.

From experience, the API endpoint  that converts a workflow name (e.g .github/workflows/blank.yaml) into a workflow ID (161335) has occasionally failed on me. So the reasoning behind exponential-backoff is to re-attempt rather than failing on the first attempt.
Question:
Do you believe that we should get both workflowID and workflowRuns to share the same exponential-backoff parameters so that they can be centrally managed through GitHub Action default values: starting-delay, number-of-attempts and time-multiple
I think this would simplify the logic within our code and the interface of our GitHub Action

My calculations may be off, there were rough back of the envelope ones but at least the order of magnitude feels right and that was the main point.
Most people should not need to tweak these options and the people who do should be happy enough to have them exposed undifferentiated between workflowID and worfklowRuns so I agree that to keep the code and configuration simple they can be conflated into a single set of new parameters.
Thanks for the quick follow-up!

I'll make an attempt to get this in the next minor release.
I'll give you a heads up when that comes!

Hey @eberkut! I have implemented three new parameters that can be used to tune the exponential backoff behaviour: starting-delay, max-attempts and time-multiple
Functionality and both unit testing and integration testing is passing 🟢! Before I merge, I will work on updating the README to reflect these advanced parameters.
- uses: ./
   id: dispatch-custom-backoff
   with:
     ...
     starting-delay: 150
     max-attempts: 3
     time-multiple: 1.5

With release 1.7.0 we provide users the ability to tune the exponental-backoff parameters. View here for documentation on how to use these parameters. Thank you for your help @eberkut!
I'm going to leave this GitHub Issue alive for a few more days to just confirm that there are no side effects of this change. I used this time to make some quality-of-life improvements, so I made more changes than I anticipated. I would just like to make sure everything is okay
If you feel this is a cool GitHub Action, feel free to give it a ⭐! I think it would go a long way with highlighting the cool and unique functionality that is here

Awesome! I'll close this off then. No issues with my team too


Improved clients database

Public keys via via HTTP
Allow client public keys to be fetched via HTTP (in addition to file system). clients_database can now be set to either a path or a base URL. Fetching public key with key id xyzzy will result in a lookup of clients_database/{key_id}.pem.
Public key cache
Add optional public key cache using in-memory cache (static size and TTL) or REDIS/Valkey. In-memory caching will most likely be enough for most use cases.
Configuration via:
    [cache]
    size = 1000
    ttl = 300

or
    [cache]
    ttl = 300
    [cache.redis]
    host = localhost
    port = 6379

Key size is ignored for when using a Redis cache.

Question for reviewers: Do we really need a Redis cache or is the in-memory cache enough?

I guess the simple answer to "do we need redis" is "not until we can point to a reason for needing it" and then the question is easier to reason about :). I see no obvious reason at this point since we are not expected to share the cache between multiple instances of aggrec. Guess it doesnt hurt to have it in there either since you have already done the work though.


Unexpected behavior with DataArray.resample(how='sum') in presence of NaNs

The behavior of DataArray.resample is different for 'sum' and 'mean':
import xarray as xr
import numpy as np
import pandas as pd
x = xr.DataArray([1, np.nan], coords=[('t', pd.date_range('2017-08-01', '2017-08-02'))])
x.resample('D', 't', how='mean')         # returns [1, nan]
x.resample('D', 't', how='sum')           # returns [1, 0]

Setting skipna=False returns [1, nan] in both cases. I find the behavior of 'sum' unexpected.

I can reproduce this behavior on the current master branch
this is consistent with numpy's nansum/nanmean which we use here

In [1]: import numpy as np

In [2]: np.sum([np.nan])
Out[2]: nan

In [3]: np.mean([np.nan])
Out[3]: nan

In [4]: np.nansum([np.nan])
Out[4]: 0.0

In [5]: np.nanmean([np.nan])
/glade/u/home/jhamman/anaconda/envs/storylines/bin/ipython:1: RuntimeWarning: Mean of empty slice
  #!/glade/u/home/jhamman/anaconda/envs/storylines/bin/python
Out[5]: nan

Ok, thanks a lot. Just as a comment though, pandas does it differently, and the xarray documentation states that "resample uses essentially the same api as resample in pandas."
In [1]: import numpy as np

In [2]: import pandas as pd

In [3]: x = pd.DataFrame([1, np.nan], pd.date_range('2017-08-01', '2017-08-02'))

In [4]: x.resample('D').mean()
Out[4]:
              0
2017-08-01  1.0
2017-08-02  NaN

In [5]: x.resample('D').sum()
Out[5]:
              0
2017-08-01  1.0
2017-08-02  NaN

@betaplane a re-factoring of the resample API to match pandas' is currently being wrapped up and slated for 0.10.0; see #1272


Ref/new style config

:tada: This PR is included in version 1.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


File.Exists or Directory.Exists still return true

Doing File.Exists or Directory.Exists any created r77 folder under x64 or x86 results in True if the folder does exist, regardless of injection.

They return true as by design. r77 hides files and directories from directory lists, however, if you know the name of the file, you can open it. r77 assumes that only you know the name of the hidden file, which makes maintenance easier.


How to submit a form with post?

It's quite a common requirement, but I couldn't find any documentation of it.

Submitting a form is just sending a POST request with a particularly-formatted body. Isahc currently does not have an API to generate this body from form parameters for you at the moment, see #14. There might be other crates you could use to generate the form body, convert it to a byte array, and then send that.
Sending a POST request can be done with functions like post or HttpClient::post.

@davyzhang  What i do in general when i need a custom request is to create a new http request using http and send it using isahc


Fix typos in de-DE.coffee

line 4: According to [1], "Leid tun" was actually an accepted spelling between 1996 and 2006.
line 839: Imperative form [2]
[1] http://www.korrekturen.de/wortliste/leidtun.shtml
[2] http://www.duden.de/rechtschreibung/beitreten

Thank you, @nikai3d!


Enhance representation of JSON Table Schema as JSON Schema v4

I've recently added constraints, primaryKey and foreignKeys to json-table-schema.json. This brings in much more of the current spec, but still leaves some things that are more difficult to represent as JSON Schema:

Type dependencies in constraints, where:

minimum should have a type that exactly matches the type of its encasing field
maximum should have a type that exactly matches the type of its encasing field

Type and value dependencies in foreignKeys, where:

reference.fields should have a type that exactly matches the reference sibling field
fields and reference.fields must have values that can be found in field.name of any object in the top-level fields

I asked about this on the JSON Schema mailing list and I know see how this can be represented in JSON Schema, but it will make the reference file here vastly more complex: it will become a directory with many sub-schema files that are referenced in the master schema under certain conditions.
Here is an example using $ref to create an advanced schema

Hmmmm - let's think e.g.:

is also worth thinking how good the json schema implementations are - not all of them support the full spec
it is possible for the validators of json table schema in python / javascript etc to do their own constraint checking in addition to using json schema (and that may be simpler in some cases that contorting json schema to support what we want)

Yes, the available JSON Schema validators in python and javascript don't support all features of the spec.
In any event, I don't think this is something that needs to be acted on, but I wanted to dump this knowledge here for reference, as the JSON Schema v4 json-table-schema.json in this repo is currently the canonical reference implementation of the JSON Table Schema spec.


Add option to write tensor to raw byte string

tf.io.serialize_tensor appears to serialize to protobuf. It would be nice to have the option to serialize to a raw byte string as this allows for a lot more flexibility when dealing with data in unsupported formats (e.g. > 16 int bit depth audio data).
I know that this is possible with the .numpy() option. However, .numpy() is not available in graph mode, meaning there is no way to serialize to byte string in tensorflow-serving.
Ideally, tensorflow-io would solve this problem. However, as yet there does not appear to be an easy way to get tensorflow-serving to support tensorflow-io ops.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


added comments for SMS examples and changed send() to end() in handleInboundSms()

I thought that maybe new developers might need some help in understanding example code. I did come commenting about express and JS so that code makes more sense for people that aren't so confident in their JS skills.

Thanks for these @ukitta555 - I'll have a look later this week.

@ukitta555 Thank you for your contribution!
While these detailed code comments could help with understanding our code snippets, I'm afraid they would also detract from their main usage on the developer portal.
@kellyjandrews I suggest applying the hacktoberfest-accepted tag here, and closing the PR without merging.

Thank you for taking the time to contribute to our code snippets!
While these detailed code comments could help with understanding our code snippets, I'm afraid they would also detract from their main usage on the developer portal. Unfortunately we won't be able to merge, as this would conflict with the standards we currently have across all code snippets.


Verify that an admin has a view of the number (in digits) of all registered users in the system.

Date Time
12-10-2020 13:18
Priority
Medium
Type
UI
Description
This test case check that every authorized user with administrator privileges has a view of the exact number (in digits) of all registered users in the system. This information contains on the 'Users' page.
Pre-requisites
Steps to be fulfilled before the test:

Move to https://eventsexpress-test.azurewebsites.net/home/events?page=1&status=active
Authorize as an admin

Steps to Test
Steps to test the behavior:

Go to the 'Users' page.
Check the right sidebar ('Search' field), under the radio buttons.
Number (in digits) of all registered users in the system is shown after the next text: 'All registered users: '

Expected result
On the 'Users' page under the right sidebar ('Search' field) an authorized user with administrator privileges have a view of the exact number (in digits) of all registered users in the system. This information is shown after the text: 'All registered users: '.
Environment:

OS: [e.g. Windows 10 Pro, Version 20H2, Build 19042.662]
Browser: [e.g. Google Chrome, Version 87.0.4280.66 (Official Build) (64-bit)]
Version [e.g. 202001204.5]

Additional context
User stories: #320 As an admin, I want to have a view of the number of registered users in the system, so that it can be used for clearer control.

Story was blocked


Unable to log into last.fm when starting up via terminal

Checking out master, and following your instructions to get started (ending in running npm start) I'm not able to log in to last.fm.   Clicking the "LOG IN TO LAST.FM" button changes the test to ... briefly, then it switches back.  Nothing is output to console.
I managed to log in OK using the 3.0.0 OSX binary.  Just seems to be when I run the master branch from terminal.

Just to add to it, I've just flicked back to the 3.0.0 version and it's logged me out.  Though clicking the button and reauthorizing works fine.

When you start via terminal you should get an error saying some LASTFM api keys aren't set.  They need to be set for lastfm functionality to work

If the error isn't appearing then that is a bug

https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/blob/master/src/main/constants.js

Ah, so if I'm booting up a non compiled version I need to use my own API keys?

:+1:  the API keys aren't in the repository

Gotcha. Now you say it, that makes perfect sense.
Any idea why jumping between binary and master would deauthorize me?

Sorry, I mean from binary, to master then back to binary

Probably tried to authorize, failed, and set the lastfm key to be a null / empty value.  So your token was deleted

OK cool. Am trying out a couple of tweaks to your last.fm implementation, if you were wondering. Am currently stuck on getting it to pick up my API key, but then I am at work and trying it in between test suite runs.  I'll puzzle it out later tonight  ;-)


west sign fails to find header size or padding

I am using west 0.7.1, Zephyr 2.2.0 and SDK 0.11.2 and would like to sign an image for mcuboot.
The following command works on my desktop, but fails on our jenkins CI: west sign -t imgtool -- --key <key>.pem
Error:
15:27:30 + west sign -t imgtool -- --key <key>.pem
15:27:31 === image configuration:
15:27:31 partition offset: 49152 (0xc000)
15:27:31 partition size: 421888 (0x67000)
15:27:31 text section offset: 0 (0x0)
15:27:31 === signed binaries:
15:27:31 bin: /var/lib/jenkins/workspace/build/zephyr/zephyr.signed.bin
15:27:31 Usage: imgtool sign [OPTIONS] INFILE OUTFILE
15:27:31
15:27:31 Error: Invalid value for "-H" / "--header-size": Minimum value for -H/--header-size is 32
15:27:31 FATAL ERROR: command exited with status 2: /usr/local/bin/imgtool sign --version 0.0.0+0 --align 4 --header-size 0 --slot-size 421888 --key <key>.pem /var/lib/jenkins/workspace/build/zephyr/zephyr.bin /var/lib/jenkins/workspace/build/zephyr/zephyr.signed.bin

What could this be related to?

The imgtool header size is the "text section offset", which is determined from the Kconfig symbol CONFIG_TEXT_SECTION_OFFSET. Indeed, 0 is less than 32.
I would check the CI build directory's zephyr/.config file and make sure the Kconfig symbol is defined correctly. If not, then there is a problem with the way the application is being built in CI.

So, indeed the CI .config says CONFIG_TEXT_SECTION_OFFSET=0 whereas it's CONFIG_TEXT_SECTION_OFFSET=0x200 on my desktop. And I have found the issue. I forgot to commit the change that added the CONFIG_BOOTLOADER_MCUBOOT=y option ;)

I ran into this problem as well with Zephyr 2.4.0
TEXT_SECTION_OFFSET has been renamed to ROM_START_OFFSET
The default value of 0x200 for that has been removed in commit 3b6642214721054a80b74e33cd86bd2335d7a68a

I ran into this problem as well with Zephyr 2.4.0
TEXT_SECTION_OFFSET has been renamed to ROM_START_OFFSET
The default value of 0x200 for that has been removed in commit 3b6642214721054a80b74e33cd86bd2335d7a68a


Rename invocation to invoke in Mockito API

From<EMAIL_ADDRESS>on September 29, 2009 19:16:10
do it
Original issue: http://code.google.com/p/powermock/issues/detail?id=173

From<EMAIL_ADDRESS>on September 29, 2009 10:41:12
Status: Fixed


Use fakeredis for tests to not require Redis server running

It also allows tests on newest version of sidekiq gem.

Awesome. Thanks @morgoth :+1:


Create Grammar interface and its implementations for English and Russian

Grammar should map grammeme names to Grammeme objects and part of speech names to PartOfSpeech objects.

PartOfSpeech will be inroduced in the next release, for now only String→Grammeme mapping should be implemented.


Guardian League Tables Analysis

ML-Crate Repository (Proposing new issue)
:red_circle: Project Title : Guardian League Tables Analysis
:red_circle: Aim : Analyze different parameters from the dataset.
:red_circle: Dataset : https://www.kaggle.com/datasets/afox01/guardian-league-tables-2022
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'SWOC' and 'JWOC' contributors of 'ML-Crate' project.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID (If not, then put NA) :
Approach for this Project :
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC etc.)

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

Full name : NIRVIK GHOSH
GitHub Profile Link : https://github.com/Nirvik07
Participant ID (If not, then put NA) : NA
Approach for this Project : To analyse various Universities around the world on basis of feedback given by Guardian.
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC etc.)
HRSoC 2022 Participant

Issue assigned to you @Nirvik07


changing CookieValidationKey after each ./init

After each deploy of my project (after running ./init) all new cookieValidationKeys are generated. After it I'm loosing all previous cookies. And because project is updating very often, at least one time per day, I think that I don't want to generate new cookieValidationKeys each time.
My question is this: why do we need to generate new cookieValidationKey at init? What can I lose after I will use only one cookieValidationKey(per application) all the time.

Why are you re-initializing the project during deploy?

Because in some commit for example I can change some requirements etc. I'm using 2 folders, www1 and www2. One folder for running now project, one for future version. At each deploy I'm using future folder to copy project, setup it, and init. So, it's easier and more cleaner to run ./setup and ./init after each deploy, than to run it only in the cases when it needed. So at each deploy I each time run setup and init.
But even if I don't run init at each deploy, but only in the cases when it need to be done, the problem is the same. I will lose cookies.

How do you prevent overriding -local.php files then?

Overall it's OK to check for valiation key existence before re-generating.

I don't change -local.php files at server.
Thank you for your time and reply!

How do you keep API keys and other production-only info out of Git repository then?

@samdark I keep it in Git repository. I understand that it is a bit unsafe. But I want to be sure, that if at my deploy smth will go wrong, I will have site alive. So, I use www1 and www2 system and run init each time.

@samdark I don't have a private info(production only), it's just a pet project. So it's a little easier for me.

OK. It makes sense to keep a key if it's already there either way.

Neither Installer::generateCookieValidationKey() nor setCookieValidationKey in the init script do not change validation key if it already exists.
When you run ./init, the script prompts smt like
      exist backend/config/main-local.php
            ...overwrite? [Yes|No|All|Quit]

and if you say Yes, it overrides the entire file, not only the validationKey.
I don't think that ./init must not take care of configs merging instead of replacing


feat(LightRegularGrid): Added vti IO for LightRegularGrids.

:tada: This PR is included in version 6.3.0-rc.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Load generated overrides config after base config

I was looking for a way to override the default package configuration in package/config/group.php, however the generated_overrides/packageNS/group.php config file is loaded before the normal package config file, essentially overwriting anything defined in the generated_overrides file. This also applies for the core configuration.
Is this done on purpose? In my mind it's more useful to switch that order around.

@KorvinSzanto can you weigh in on this?

Any updates on this?
As said it makes more sense to actually have the generated overrides config be able to override default config values, but if not then we'll need to look into another way to store default values without having to specify the defaults in our main code.

It's true that when we have a namespace the generated overrides are the first to load, this is not intentional and should change but not in the way you describe.
For a package with a handle "foobar" in an environment test we need to attempt to merge the following files in order for the config key foobar::group.item:

/packages/foobar/config/group.php
/packages/foobar/config/test.group.php
/application/config/generated_overrides/foobar/group.php
/application/config/foobar/group.php
/application/config/foobar/test.group.php

This way you have your default config stored in your package, you can override that using code with the generated overrides, you can override any generated values in your application config, and you can utilize the environment configuration to override everything else.

Yeah, that sounds right. I'm not sure about the need for #2 – because I
don't ever see that use case happening, however I imagine the way the code
is written you'd get that functionality for free, so it makes sense to
include it.
On Mon, Mar 30, 2015 at 8:32 AM, Korvin Szanto<EMAIL_ADDRESS>wrote:

It's true that when we have a namespace the generated overrides are the
first to load, this is not intentional and should change but not in the way
you describe.
For a package with a handle "foobar" in an environment test we need to
attempt to merge the following files in order for the config key
foobar::group.item:

/packages/foobar/config/group.php
/packages/foobar/config/test.group.php
/application/config/generated_overrides/foobar/group.php
/application/config/foobar/group.php
/application/config/foobar/test.group.php

This way you have your default config stored in your package, you can
override that using code with the generated overrides, you can override any
generated values in your application config, and you can utilize the
environment configuration to override everything else.
—
Reply to this email directly or view it on GitHub
https://github.com/concrete5/concrete5-5.7.0/pull/2064#issuecomment-87724292
.

53572b3379fc006f5750b33f92ae57d93fc5e1d2 reflects the aforementioned load order


report bug

The address is reported incorrectly before the house and then the way

can you be more specific about this? if you talk in a different language like spanish can you please explain it in spanish to understand what you mean?

Format of the address can be configured using geocoder.format parameter.

when is possible set the parameter "geodecoder.format"?
in config File? or si code in other part?

It's NOT "geodecoder". Please use correct key.
It goes into the config file.

for modding this parameter is necessary recompiler or is possible change in file called AddressFormat.java

The parameter can be set in the config file. You don't need to change any code or recompile anything.

I can not find the documentation you make me an example of what I enter in traccar.xml file

Here is an example:
<entry key='geocoder.format'>%r, %h, %c</entry>

ok thx


Reformat code with PSR + added phpdoc block

Hello,
Following the comment on Reddit, I reformat the code to looks like less "2000x-ish". Also added PHPDOC (another suggestion from Reddit).

Hey much appreciated, man, looks pretty good. Should have taken a look at this before I made another change. I'll review this tonight or tomorrow to resolve the conflict and merge your changes. Thanks again.

Hey,
Conflits resolved ;)

Thanks, do you think we could just do PHPDoc for now? I'm indifferent about the extra lines, so I'm fine with that as well. But I think I'm still leaning towards using tabs. As for the inline, implicit ifs, I'd like to keep that too, as I subjectively view them as more readable if they're not too long.
I know it's not PSR-compliant, but I'm consistent with it, as you pointed out, so I think it should be ok. Sorry, I understand if you don't want to do another commit. I'd be happy to do it myself.

Ended up thoroughly documenting this myself, following your PR. I also added some more comments and spaced it out a little better. I feel really bad I didn't merge yours, as you should get credit for this. There were just a few things I didn't want to change. Thanks again for your help! :)


Add VNC enabled templates

@rokroskar i've cleaned them up based on v0.11.0 of our Docker images. any other comments?

We should merge this and tag a new release with 0.4.0 - I've already made the change in the renku repo to make that the default.

Thanks @rokroskar - I've addressed all those little touch-ups.


Use timebase that doesn't share the IRQ line with another timer.

TIM14 shares its line with some TIM8 event, which adds interrupt decode overhead.

Alternatively we can just drop handling of TIM8 "trigger and commutation interrupt" (please check that they are unused first).


[💡FEATURE] Add FAQ section to Contact Us page

Is your feature request related to a problem? Please describe. 📝
A clear and concise description of what the problem is.
Adding a FAQ section so that not everyone need to contact the developers/maintainers
Describe the solution you'd like 🛠
A clear and concise description of what you want to happen.
Describe alternatives you've considered 🔄
A clear and concise description of any alternative solutions or features you've considered.
Additional context 💬
Add any other context or screenshots about the feature request here.

btw, do you want the FAQ section to be above the Contact us form or below ?

below

or what you ever you say?

@Premkolte, I have added the FAQ section to the Contact Us page, pls have a look

@Premkolte pls don't forget to update the score on this as well as the last PR


[C4GT] Develop Boilerplate UI + Backend Framework for BPPs

Project Details
Beckn protocol is a set of open specifications aimed to create a common language, that is machine-readable and enables interoperability for economic transactions between disparate platforms of any size and form - be it a cab reservation, or booking a stay, or confirming a doctor’s appointment, and many more. Thus it enables the creation of inclusive and equitable open networks offering a multitude of choices to the citizens, while at the same time negating the dependence on intermediaries to freely operate and generate economic transactions of value. It is akin to what SMTP is to E-mails or HTTP is to the Internet.
Since its inception in 2019 as a set of specifications, Beckn has been adopted across geographies in sectors such as mobility, retail, hyperlocal logistics, healthcare, skills, agriculture sectors, etc. Few notable examples of open networks built on the Beckn protocol are Open Network for Digital Commerce (ONDC), Namma Yatri at Bangalore, Kochi Open Mobility Network (KOMN), Unified Health Interface (UHI), etc.
The BPP Boilerplate SDK is a generic full-stack web + mobile framework that allows developers to quickly beckn-enabled seller/provider-facing applications (BPPs) via a boilerplate codebase. This consists of a base source-code when complied generates a basic BPP seller-side MIS with all APIs and screens for store/service management.  Developers can then modify these screens according various UI flows pertaining to different sector-specific experiences like mobility, health, retail, etc. This boilerplate code can be used to quickly create any kind of service management console like a simple retail store, a mobility service, a healthcare facility management system, a mentorship platform, and so on, via basic configurations and modifications of the source-code.
Features to be implemented

Admin UI Framework
Fulfillment Agent UI Framework
Backend API Framework and Network Interface

What exists

Beckn protocol sandbox at : https://github.com/beckn/beckn-sandbox
Beckn protocol specifications at  : https://github.com/beckn/protocol-specifications
Beckn protocol tech overview on Youtube : https://www.youtube.com/watch?v=7Otfcy37-NE&list=PLBC6c8MLy9uVUIb1BOgdOa8tP4rX6c4aK

What needs to be built

Open-source codebase with installation guide and developer docs
Live demo instance of Admin console
Downloadable apk of fulfillment agent app

Learning Path
Complexity
High
Skills Required

Open API 3.0
JSON Schema
NodeJS
JavaScript
React Native
React JS
MongoDB
MySQL

Name of Mentors:
Product Understanding

@ravi-prakash-v
@faizmagic

Protocol Specification Design

@ravi-prakash-v

Project Setup and Guidance

@faizmagic
@hemant-eminds
@nikhil2128
@ujjwal502

Product Setup

@nikhil2128
@ujjwal502

Product Architecture

@ravi-prakash-v
@nikhil2128

Frontend Development

@ujjwal502

Backend Development

@nikhil2128
@emindsajay
@zoyaashik

Deployment and Devops

@prasad-takale-eminds

Testing and QA

@SushanthKJ

Project size
8 Weeks
Project Setup Guide
To set up this project, please connect with the Project Setup and Guidance mentor for this project and follow their instructions
Product Set Up
To set up this project, please connect with the Product Setup and Guidance mentor for this project and follow their instructions
Acceptance Criteria

Demonstrate creation of a ride-hailing service through configuration of this platform and successfully process mobility ride requests from BAPs
Demonstrate creation of a transit-ticketing service through configuration of this platform and successfully process mobility transit ticketing requests from BAPs
Demonstrate creation of a tour booking service through configuration of this platform and successfully process tour booking requests from BAPs

Out of Scope

iOS app

Milestones

Understanding beckn protocol
Detailed product requirements document
Admin UI Framework source-code architecture
Admin UI Framework development
Fulfillment Agent UI Framework source-code architecture
Fulfillment Agent UI Framework development
Backend Framework source-code architecture
Backend Framework development

Hey!
I am Mohit from IET-DAVV Indore and currently working as a full stack developer fellow for motion design and play.
This project caught my attention due to the technologies involved in it and I believe it will be grateful for me to build this.
looking forward to contribute in it in coming days
Gracias!

👋 Hey @ravi-prakash-v, I'm really looking forward to submitting my proposal for this project! 🚀

@Mohit-Aasirwal @Sumitmaithani , It's great to see your interest in this project, you can make an active contribution via issue creation and by submitting your Pull Requests.
For support from fellow contributors, Join Beckn Open Collective server :https://bit.ly/bocWebInvite


Plugin overwrite selector:matchLabels:app for Deployment

Description
Plugin overwrites my value below:
My resource under fabric8 directory:
spec:
  replicas: 1
  selector:
        matchLabels:
          **app: redis-ha**
          name: redis-ha-sentinel
  template:
    metadata:
      labels:
        app: redis-ha
        component: sentinel
        name: redis-ha-sentinel

Generated resource:
spec:
    replicas: 1
    revisionHistoryLimit: 2
    selector:
      matchLabels:
        **app: common**
        name: redis-ha-sentinel
        provider: fabric8

Info

f-m-p version : 3.5.38
Maven version (mvn -v) : 3.5.2

Kubernetes / OpenShift setup and version : Kubernetes 1.10 , minikube
If it's a bug, how to reproduce :
If it's a feature request, what is your use case :
Sample project : [GitHub Clone URL]

This is for sure a bug that we should tackle.

Can anyone try reproducing this issue please?

I tried reproducing this, and I'm able to reproduce. Here are the steps for reproducing:

Go to samples/external-resources and change fmp version to desired one(in my case 4.0-SNAPSHOT).

Remove profiles.yml from src/main/fabric8(somehow it causes build to fail), and change src/main/fabric8/deployment.yml to this:

src/main/fabric8:
spec:
  replicas: 1
  selector:
    matchLabels:
      app: redis-ha
      name: redis-ha-sentinel
  template:
    spec:
      volumes:
        - name: config
          gitRepo:
            repository: 'https://github.com/jstrachan/sample-springboot-config.git'
            revision: 667ee4db6bc842b127825351e5c9bae5a4fb2147
            directory: .
      containers:
        - volumeMounts:
            - name: config
              mountPath: /app/config
          env:
            - name: KUBERNETES_NAMESPACE
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: metadata.namespace
      serviceAccount: ribbon

Run mvn fabric8:resource and check contents of generated resources, in my case app matchLabel was overridden by fmp:

target/classes/META-INF/fabric8/kubernetes/fabric8-maven-sample-external-resources-deployment.yml:
spec:
  replicas: 1
  revisionHistoryLimit: 2
  selector:
    matchLabels:
      app: fabric8-maven-sample-external-resources
      name: redis-ha-sentinel
      provider: fabric8
      group: io.fabric8
  template:
    metadata:
      annotations:
        fabric8.io/git-commit: e761c400b8e2dfaaf076bf1d482f39ef7ddda51a
        fabric8.io/git-branch: master
        fabric8.io/scm-tag: HEAD
        fabric8.io/scm-url: https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/fabric8-maven-sample-external-resources
      labels:
        app: fabric8-maven-sample-external-resources
        provider: fabric8
        version: 4.0-SNAPSHOT
        group: io.fabric8
    spec:
      containers:
      - env:
        - name: KUBERNETES_NAMESPACE
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace
        image: fabric8-maven-sample-external-resources:latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          httpGet:
            path: /health
            port: 8080
            scheme: HTTP
          initialDelaySeconds: 180
        name: spring-boot
        ports:
        - containerPort: 8080
          name: http
          protocol: TCP
        - containerPort: 9779
          name: prometheus
          protocol: TCP
        - containerPort: 8778
          name: jolokia
          protocol: TCP
        readinessProbe:
          httpGet:
            path: /health
            port: 8080
            scheme: HTTP
          initialDelaySeconds: 10
        securityContext:
          privileged: false
        volumeMounts:
        - mountPath: /app/config
          name: config
      serviceAccount: ribbon
      volumes:
      - gitRepo:
          directory: "."
          repository: https://github.com/jstrachan/sample-springboot-config.git
          revision: 667ee4db6bc842b127825351e5c9bae5a4fb2147
        name: config

The bug is due to the override of Map entries here in the DeploymentSpecBuilderVisitor
https://github.com/fabric8io/fabric8-maven-plugin/blob/master/plugin/src/main/java/io/fabric8/maven/plugin/enricher/SelectorVisitor.java#L101 .
and the fix is to replace the line 101 with
MapUtil.mergeIfAbsent(selector.getMatchLabels(), selectorMatchLabels);

(^ refer for the function to
https://github.com/fabric8io/fabric8-maven-plugin/blob/master/core/src/main/java/io/fabric8/maven/core/util/MapUtil.java#L41 ) .
However, if we make the fix only here, then this behaviour won't be consistent with the behaviour of other SpecBuilderVisitors in the file. They all use the pattern.
selector.getMatchLabels().putAll(selectorMatchLabels)

and this is problematic as the current Map entries get override everytime . We need to change this line to
MapUtil.mergeIfAbsent(selector.getMatchLabels(), selectorMatchLabels);

at every occurence here in the file.
This is what I understood of the scenario. Let me know what should be done here and I'll send the PR.
@rhuss @lordofthejars @ro14nd @rohanKanojia

@dev-gaur I faced similar problem in case of overriding environment variables between configuration and fragments. So I created this PR which might be a solution. (https://github.com/fabric8io/fabric8-maven-plugin/pull/1434/files) which basically implements logic in BaseEnricher and implementators are free to call it or not.
This might be the first step, then we should decide if it is always called or let implementators decide.


Daily Standup:Jul 23, 2020

Time for your daily progress update!
Reporting progress on Github allows for new contributors to see the latest developments with the project, and allows inconsistent contirbutors to still be able to provide value by giving updates on the contributions they make.
Critical Issues
High Priority Issues
Medium Priority Issues
Low Priority Issues
How do I report progress?
Answering the following three questions

[ ] How have you contributed since your last report?

[ ] What are you working on now?

[ ] What isn’t going well, and what could you use help on?

How do I write well and empathetically?

[ ] If you are asking for something, have you communicated what you're asking for clearly?

[ ] have you proactively answered any obvious potential follow up questions?

[ ] have you included all necessary details and assets associated with your update?

How have you contributed since your last report?

I started to find GitHub API for getting the contributions on a particular project.
I started working on the grey.software website talk to the mentor section.

What are you working on now?
Currently working on a way to display the contribution charts on the material math landing page on grey.software website.
What isn’t going well, and what could you use help on?
@ArsalaBangash I'd like to discuss how contributions and talk to a mentor sections should be designed and displayed on the grey.software website.


Add stratum?

Do you plan on adding Stratum to this? If not, why - If so when?
Thanks.

I suggest to take a look on https://github.com/sammy007/open-ethereum-pool

I've actually already been trying to run that and getting it going.
So that has a proxy built into it already ? I did see reference to 'proxy' in the code but I didn't notice any way to ensure it was running or how to connect to it.  ... So when I tried to connect my node directly to stratum on 8008 if choked and spit out errors. And when I'm connected to 8888 the logs do not show that its sending anything to a 'stratum' connection. So I'm just a little confused.
Thanks.

Pool is derived from proxy. You can launch it like your own private pool, if you mine solo feel free to disable payouts there so your blocks will just rain to your coinbase/etherbase specified on geth.

where are the payout settings you're talking about located ?

If you wanna run open-ethereum-pool you should read documentation.

I've read it, aside from your README is there more documentation I'm missing ?

No because README is enough to run a pool.

I humbly disagree.

Me too.


fire change on scroll

is there a way to fire change scroll event on the wheel listener

You can add it as a PR using document.addEventListener