Group Alias issue

A group alias of another task is used instead of the actual group name #1198

Potential solution: have the benchmark YAML config contain task_aliases and group_alias fields for how to print its subtasks when they are part of the group (task_alias) and when they are part of a larger group (group_alias) respectively?
Since task_alias and group_alias will be dependent on which group they are called as part of.


Add source and gemspec command-line options

Adds Rake cmd-line options for specifying source and to add a 'gemspec' line.
Source now defaults to :rubygems, but will take a one-word(converted to symbol) or HTTP repo.
'use_gemspec' will add a gemspec line to the Gemfile--handy if you're testing developmental gems(esp. with the hoe-gemspec plugin).

I apologize for never responding to this PR. Unfortunately, I didn't have notifications turned on for this gem and didn't see it. :-\
I'm open to having functionality like this in the gem, but this PR no longer merges cleanly (and that's my fault). Would you be willing to rebase?

closing because #7 has been submitted.


Feature: Support Route's Context Path in bind-route-service command

Add support in the bind-route-service command to specify the context path, in addition to the hostname.
i.e., "cf bind-route-service cfapps.io static-rs --hostname mysofeaapp --path somepath"
The CF API supports filtering on path when querying for the routes.
"Valid filters: host, domain_guid, organization_guid, path, port"
https://apidocs.cloudfoundry.org/237/routes/list_all_routes.html
May also want to consider adding support for 'port' while at it.
I was able to accomplish this via the REST API by querying for the routes and adding the 'q' port filter in the "GET /v2/routes" command then using the route's guid in the "/v2/user_provided_service_instances//routes/" command
Command
cf bind-route-service
CLI Version
cf version 6.18.1+a1103f0-2016-05-24
Error
N/A
Stack Trace
N/A
CC API Endpoint Version
API endpoint: https://api.run.pivotal.io (API version: 2.56.0)
CF Trace
N/A
Platform Details
Mac OS X 10.11.5
Shell
iTerm 2

This has been added in cf CLI 6.20.0.
https://github.com/cloudfoundry/cli#downloads
Thanks for bringing it to our attention!
Regards,
Dies Koper
CF CLI PM


Allow default styles to be set to null?

I'm not sure if this is a good idea or not. I'm using material-ui with css, and I have a Paper element that I would like to style using css.
Now I know currently the right way of doing it is to override the styles using inline styles. I really like that material-ui has shifted over to inline styles because it removes the need to load a foreign style sheet.
It would be nice if I could punch a hole through certain style properties that are defined inline, allowing them to fallback to css.
Example:
// jsx
<Paper className="abc" style={{backgroundColor: ''}} />
// css
.abc { background: rgba(255,255,255,0.5) }

This would be easy to do just need to modify the extend utility so that it lets a property be overriden when it is either truthy or it equals an empty string or null.
I believe this change would add extra flexibility to the material-ui components. Allowing consumers to choose between inlined styles and css.

@rolandpoulter I think that sounds reasonable. Would you like to submit a PR?

Will do, gimme a second.

@hai-cea PR submitted ^^

Fixed with #762


CMake Error at CMakeLists.txt:7 (add_library): No SOURCES given to target: xh

The XH library is empty

When I put the file of xHook in D: \ AndroidProject \ nfcgate-2 \ nfcd \ xHook, it prompts that there is no NFCData;
import de.tu_darmstadt.seemoo.nfcgate.network.c2c.C2C.NFCData; There is no such file

Follow the instructions to initialize git submodules.


ranger - R RF package

Request from Carlos Ortega http://datascience.la/benchmarking-random-forest-implementations/#comment-65711
Quick code here: https://github.com/szilard/benchm-ml/blob/master/z-other-tools/8b-ranger.R
Results (32 cores/1M records/100 trees): AUC 0.715, train time 90s
Maybe it can be improved...

Why don't you run it with 500 trees, like the other implementations? ;)

Because I'm running the simplified "absolute minimum benchmark" https://github.com/szilard/benchm-ml/tree/master/z-other-tools for all the tools other than the ones of primary focus.

Ok, that's reasonable. For the auc-benchmarking I see the problem, that there is a high variance (as not always the same trees are trained). See for example my post, where you can see the quantiles of the repetitions:
http://stats.stackexchange.com/questions/194560/difference-in-randomforestsrc-and-randomforest-package-increasing-oob-error-cu
For more comparable results one should repeat the training several times or increase the number of trees, as random forest converges (see Breiman-Paper for that).
Moreover I think ranger is better for high-dimensional problems, see http://arxiv.org/pdf/1508.04409v1.pdf and Rborist for high number of observations (in R).
I will do/am doing a benchmark experiment with many datasets for parametersettings and will also compare different r-packages. As your post is very helpful for using several software packages I will cite it (if you have a special wish for how to cite, you can tell me).

PhillipPro,
The Wright/Ziegler preprint reports comparisons using the initial CRAN release of the Arborist, a version now quite out of date.  The Github version, on the other hand, is quite recent and features a number of improvements, especially with respect to memory footprint and core occupancy.  In fact, Szilard's results are obtained using the Github version.
That being said, the premise of Marvin and Andreas' preprint still holds, but I would modify your claim as follows:
i)  For high-dimensional problems, Ranger is faster when 'mtry' is low as a percentage of predictor count.  The relative advantage decreases as 'mtry' approaches the full predictor count - a fact which may or may not be useful depending, for example, on how highly-correlated the predictors are expected to be.
ii) Ranger's relative speed advantage diminishes with row count.  Again, this may or may not be useful for a given data set.
The reason the Arborist tends to do well at higher row count is that it restages the data at each level of the tree.  That is, it employs a stable partition to effect a re-sorting of each predictor at each node.  This scheme improves data locality and is quite amenable to SIMD parallelization, which makes porting to the GPU very straightforward.  The drawback to restaging is that it is not particularly work-efficient when node/predictor pairs have a low probability of splitting, such as when 'mtry' is a small fraction of the the predictor count.
Very early versions of the Arborist did not employ restaging, but instead used an approach based on accumulators.  These versions scaled well with predictor count but did not promote data locality, nor did they port well to GPUs.  Ultimately, though, the Arborist should probably re-introduce such an approach for the low mtry-as-a-fraction-of-predictor-count regime.

@PhilippPro the variability should not be very high esp with a large number of records. for example in the "abs min bm" with 1M records and only 100 trees using xgboost 10 times AUC is
> mean(auc)
[1] 0.7514123
> sd(auc)
[1] 0.001860182
>
> summary(auc)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
 0.7474  0.7508  0.7519  0.7514  0.7523  0.7538

(and with 500 trees the variability should be even smaller).
The diff between tools/implementations is higher than this.

Ok. But as you pointed out in your blog post for a real benchmarking study more datasets are needed than only this one, so I think it is dangerous to draw big conclusions about the performance of the different packages due to only one dataset.
More interesting is probably the speed comparison, as the variabilty should not be as high as the permormance variabilty.

Yes, "more datasets are needed...".
Yes, "speed comparison..."
One thing 1 dataset is good for AUC is that if there are 5 implementations and say 4 of them give you AUC say between 0.70-0.71 but one implementation gets you say 0.61, then this can point out a potential bug or other issue.


Target configuration for binaries

I would like to be able to specify different main files depending on the operating system. I ran into this problem in Servo where there are two main files. The main.rs file is for Android and includes the main2.rs file for the desktop using the include macro:
#[cfg(not(target_os = "android"))]
include!("main2.rs");

#[cfg(target_os = "android")]
pub fn main() {
    println!(
        "Cannot start /ports/servo/ on Android. \
         Use /support/android/apk/ + /ports/libsimpleservo/ instead"
    );
}

Using the include macro is not great because it breaks my IDE. I am not able to easily jump to the code. I also suspect using macros adds a small compile time overhead.
It could be solved using cfg_if crate (see my Servo cfg_if-main branch), and the code is not that nested, but it could be simpler with cargo support.
Another use case could be something like BusyBox but where certain system binaries are only needed on specific platforms. For example, something that queries Linux settings would only be compiled for Linux.
The Cargo.toml file shows how I would like the feature to work:
[package]
name = "target-cfg-bin-example"
version = "0.2.0"
authors = ["Michael Mc Donnell<EMAIL_ADDRESS>edition = "2018"
autobins = false

# Use the standard `main.rs` for all operating systems except Android.
[[bin]]
name = "target-cfg-bin-example"
path = "src/main.rs"
target = "cfg(not(android))"

# Use the `main_android.rs` main file on Android
[[bin]]
name = "target-cfg-bin-example"
path = "src/main_android.rs"
target = "cfg(android)"

[dependencies]

It currently results in the following error message:
error: failed to parse manifest at `/home/michael/src/target-cfg-bin-example/Cargo.toml`

Caused by:
  found duplicate binary name target-cfg-bin-example, but all binary targets must have a unique name

You can clone the example from https://github.com/MichaelMcDonnell/target-cfg-bin-example
UPDATE 1: I changed the Cargo.toml proposal to add a target key/value pair on the binary definition instead of using the target array. Thanks to @ehuss for the suggestions. It became apparent to me too when I tried to implement it. For dependencies the target has to be applied to each dependency key/value pair so it make sense it is defined for the table/array that has them. For binaries it needs to be applied to the table but not to each key/value pair, so having it as a key/value pair makes sense.
UPDATE 2: I tried getting rid of the include macro using the cfg_if crate (see my Servo cfg_if-main branch), and the code is not that nested, but it could be simpler with cargo support. I've updated issue description with this information.
See also #6179

I think the usual solution here is to place the cfg expressions in main.rs.  For example:
cfg_if! {
    if #[cfg(target_os = "android")] {
        mod impl_android;
        use impl_android::*;
    } else {
        mod impl_default;
        use impl_default::*;
    }
}

Or some variant of that.  I'm not sure I follow the comment about using include_bytes, maybe you could explain that more or show an example?
I would maybe lean more towards having some kind of requirements specification for the binary definition instead of using something like the [[target]] array.  Cargo targets already have required-features, so maybe something more extensible could help.  I thought there was already an issue or RFC about this, but I can't find it.
Also, unfortunately the word target is overloaded and means two completely different things in this context.

Thanks for the help @ehuss! I've updated the issue description. I will try to create an example to show what using the cfg_if macro in Servo would look like. I'm also working on the implementation itself.
I also tried searching for an existing issue but didn't find any. Do you know of anybody who might know how to find the issue or RFC?

Hi, I was looking for a solution to that with a slightly different use case.
Building a library targetting embedded devices. An example demonstrates the features using linux-embedded-hal. This example cannot build for windows or macos so cfg_if the whole example to have an empty main as an alternative doesn't seem great.
I was hoping that I could "disable" the example using something along:
[[example]]
name = "demo"
required-features = ["use_std"]
target = 'cfg(target_os = "linux")'

Although If I ever come to add support for windows or mac, I don't necessarily need the name to be the same.

btw there is #6179 for doing this on the package level

I think this should be possible without anything in Cargo.toml (so no package-level management) in order to handle auto-discovered code like examples without introducing an undue burden.
A lot of no_std-compatible packages without default = [ "std" ] or crates with various optional features and samples under examples/ that demonstrate their use if compiled with --features foo will fail a bare cargo test when it autodiscovers and tries to compile all the code under examples/.
The naïve approach I think most developers would reach for in this case is to just put #![cfg(feature = "foo")] at the top of examples/foo.rs, but then cargo test fails with

consider adding a main function to examples/foo.rs

If there were some way for a bare cargo test (not specifying a particular target) to detect this specific error and swallow it, that would be the most "natural" solution. But I know that this would represent somewhat of an inversion of control since cargo should not (generally) be in the business of doing anything with rustc errors..


Add Instagram and Linkedin icons/info

@ButenkoT I've added social icons to the main styles in https://github.com/muses-code-js/musescodejs.org/pull/25 that other chapters can reuse so we can close this issue if the PR is 👍


Fix piwik missing slash problem

If there is no trailing slash in the Piwik URL, it won't load piwk.js. I added a slash in the view to fix it.

Sorry, I mixed branchs. I close this PR and will push a clean branch.


Add new variable to alarmo_failed_to_arm

Checklist

[x] I checked for similar existing requests (both open and closed) before posting.
[x] My request is generic, other users may benefit from it too.

Proposal
The event alarmo_failed_to_arm is useful, however it would be great if this event passed something like "target mode" for automations to handle certain custom actionable notification.
Additional info
n/a

No problem.
I made a small change (https://github.com/nielsfaber/alarmo/commit/1d7eb2adf7d7b61b0ec34779ee8719c880b1043a) to facilitate this.
The event will now have the property command which will be as defined here.
Note that this property was already provided in some cases (e.g. the user tries to arm with the wrong pin code), now it will also be provided in case the arming fails due to sensors.
Hope this helps you, otherwise let me know!
I will let you know when this feature is released.

Sorry for the delay, this is now released.
Could you test this locally and confirm the change fulfils your request?


Creating A Resource Group section has markdown issue

The section about creating a resource group appears to have a markdown issue.  I see...
```azurecli-interactive
az group create --name $RESOURCEGROUP --location $LOCATION
```

The following example output shows the resource group created successfully:

```json
{
"id": "/subscriptions/<guid>/resourceGroups/aro-rg",
"location": "eastus",
"managedBy": null,
"name": "aro-rg",
"properties": {
    "provisioningState": "Succeeded"
},
"tags": null
}
```

This causes the Copy button to not work as expected (i.e. it doesn't copy the az group create command).

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

ID: 93aa980e-1970-235c-228a-7b19880171b8
Version Independent ID: 6f7937a4-12e0-d61c-3bd8-c6347ec48385
Content: Tutorial - Create an Azure Red Hat OpenShift 4 cluster
Content Source: articles/openshift/tutorial-create-cluster.md
Service: container-service
GitHub Login: @sakthi-vetrivel
Microsoft Alias: suvetriv

Thanks for bringing this to our attention. I have created a PR with the update, changes will be live shortly.


This package has been deprecated as it is legacy and no longer maintained.

This is the first time I used Nuget Package Manager GUI.
I did it in order check what is going to be the result about a deprecated package we use.
This is what Visual Studio shows about the package

This is what Nuget Package Manager GUI shows

I think you should notify the user that his package is deprecated as Visual Studio does.

It sounds good.
I'll add it in the next release.


MWPW-129255 Unit test improvement

Add Jest to cover the test cases that can't be done with web test runner
Update test commands in packages.json
Update GH Actions workflow to upload two coverage results to codecov.io
Add unit tests for blocks and scripts

Codecov Report

Merging #257 (a26f283) into stage (85c3fd9) will increase coverage by 60.78%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##            stage     #257       +/-   ##
===========================================
+ Coverage   38.88%   99.67%   +60.78%
===========================================
  Files           2       26       +24
  Lines         288     2172     +1884
===========================================
+ Hits          112     2165     +2053
+ Misses        176        7      -169

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

merging this now before there are several merge conflicts
the test are good


EF7 beta6: ReadAsync error on Update

I am creating an API using ASP.NET5 and Entity Framework 7.0.0-beta 6, and when I try to execute an update, I get this Exception:

An exception of type 'Microsoft.Data.Entity.DbUpdateException' ocurred
in mscorlib.dll but was not handled in user code.
{"An error occurred while updating the entries. See the inner
exception for details."}
Invalid attempt to call ReadAsync when reader is closed.

The update operation finish correctly, and the changes are persisted to the database, but I get this exception.
My code is really simple, and I do not try to read anything after the update operation:
public class CompanyRepository : ICompanyRepository
{

    MrBellhopContext _dbcontext;

    public async Task UpdateAsync(Company company)
    {
        _dbcontext.Update(company);
        await _dbcontext.SaveChangesAsync();
    }
}

[Route("api/[controller]")]
public class CompanyController : Controller
{

    [HttpPut]
    public async void UpdateAsync([FromBody] Company company)
    {
        if ((!ModelState.IsValid) || (company == null))
        {
            Context.Response.StatusCode = 400;
            return;
        }
        else
        {
            await _repository.UpdateAsync(company);
        }
    }

}

And this is the Stacktrace:
   at Microsoft.Data.Entity.Update.AffectedCountModificationCommandBatch.<ConsumeAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.Data.Entity.Update.ReaderModificationCommandBatch.<ExecuteAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.Data.Entity.Update.BatchExecutor.<ExecuteAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Data.Entity.ChangeTracking.Internal.StateManager.<SaveChangesAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Data.Entity.DbContext.<SaveChangesAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at MrBellhop.Data.Repositories.Company.CompanyRepository.<UpdateAsync>d__5.MoveNext() in D:\SciOf\MrBellhop\MrBellhop.Data\Repositories\Company\CompanyRepository.cs:line 47
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at MrBellhop.API.Controllers.Company.CompanyController.<UpdateAsync>d__9.MoveNext() in D:\SciOf\MrBellhop\MrBellhop.API\Controllers\Company\CompanyController.cs:line 62

Does anyone know how to solve this issue?

Possibly fixed by Reactive-Extensions/Rx.NET#117

Try to change your controller method to return Task instead of void, otherwise the action won't be awaited by the ASP.NET pipeline. Since your components are probably scoped to the current request, they're disposed before the read can completed.

Solved! Thanks!


GH-38479: [C++] Avoid passing null pointer to LZ4 frame decompressor

Rationale for this change
Avoid undefined behavior in LZ4 when adding an offset to a null pointer.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.

Closes: #38479

@kou There seem to be recurring C/GLib CI failures in various PRs:
https://github.com/apache/arrow/actions/runs/7130261904/job/19416226994?pr=39125#step:14:88

@paleolimbot Seems like the R sanitizer build succeeded.

@kou There seem to be recurring C/GLib CI failures in various PRs: https://github.com/apache/arrow/actions/runs/7130261904/job/19416226994?pr=39125#step:14:88

I've opened a new issue for it: #39130


git clone fails on windows

Bug Report
C:\Users\User> git clone https://github.com/kubernetes-incubator/service-catalog.git
Cloning into 'service-catalog'...
remote: Counting objects: 64986, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 64986 (delta 9), reused 7 (delta 7), pack-reused 64958
Receiving objects: 100% (64986/64986), 101.42 MiB | 3.20 MiB/s, done.
Resolving deltas: 100% (31608/31608), done.
error: unable to create file cmd/svcat/testdata/responses/catalog/clusterserviceclasses?fieldSelector=spec.externalName=user-provided-service.json: Invalid argument
error: unable to create file cmd/svcat/testdata/responses/catalog/clusterserviceplans?fieldSelector=spec.clusterServiceClassRef.name=4f6e6cf6-ffdd-425f-a2c7-3c9258ad2468,spec.externalName=default.json: Invalid argument
error: unable to create file cmd/svcat/testdata/responses/catalog/clusterserviceplans?fieldSelector=spec.clusterServiceClassRef.name=4f6e6cf6-ffdd-425f-a2c7-3c9258ad2468.json: Invalid argument
error: unable to create file cmd/svcat/testdata/responses/catalog/clusterserviceplans?fieldSelector=spec.externalName=default.json: Invalid argument
error: unable to create file cmd/svcat/testdata/responses/catalog/clusterserviceplans?fieldSelector=spec.externalName=premium.json: Invalid argument
error: unable to create file cmd/svcat/testdata/responses/catalog/serviceinstances?fieldSelector=spec.clusterServicePlanRef.name=86064792-7ea2-467b-af93-ac9694d96d52.json: Invalid argument
error: unable to create file cmd/svcat/testdata/responses/catalog/serviceinstances?fieldSelector=spec.clusterServicePlanRef.name=cc0d7529-18e8-416d-8946-6f7456acd589.json: Invalid argument
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

What happened:
could not clone repo
What you expected to happen:
clone to be successful
How to reproduce it (as minimally and precisely as possible):
On windows
git clone https://github.com/kubernetes-incubator/service-catalog.git
Anything else we need to know?:
Issue occurs due to windows not supporting characters like ? in the filename
https://stackoverflow.com/questions/26097568/git-pull-error-unable-to-create-file-invalid-argument

cc @pmorie

/assign @carolynvs

/assign @luksa


Add a toggle for DHCP default route advertisement

This PR replicates the changes made in https://github.com/PlanktoScope/device-pkgs/pull/20 to the edge branch of this pallet, which no longer relies on github.com/Planktoscope/device-packages (because the packages have been moved into this pallet). You should think of this as the opposite of a backport (i.e. a "forward port") of the changes made in that PR.
Thus, this PR is part of a workaround for https://github.com/PlanktoScope/PlanktoScope/issues/201. Specifically, it moves the PlanktoScope's advertisement of itself as a default route to the internet from default behavior into a new planktoscope-dhcp-default-route feature flag provided by the /packages/core/host/networking/interface-forwarding package. Regardless of whether that feature flag is enabled, the PlanktoScope can still resolve IP addresses such as <IP_ADDRESS> and <IP_ADDRESS> from any connected interface.
In addition to the changes made originally in https://github.com/PlanktoScope/device-pkgs/pull/20, this PR also removes some lines in the dnsmasq config which appear to be redundant (for explicitly configuring the address of the dnsmasq DNS server, instead of using dnsmasq's default value).

I tested this PR on a PlanktoScope and it seems to work, so I will merge it now.


Adding documentation for IP behind a reverse proxy

Hi everybody! I've found this module pretty interesting, however digging in the source code I've found you're using req.ip which obviously is perfectly fine.
However, in order to prevent issues for users trying the package, I think a tip in the README warning about the usage behind a reverse proxy could be extremely useful.
Since Express requires the trust proxy option to be set to true in order to use the X-Forwarded-For client IP, and since Nginx should be configured accordingly, i.e. proxy_set_header X-Forwarded-For $remote_addr; ,  atleast a warning could be useful.
Am I missing something? Is this something that should be addressed atleast at a documentation level?
I'm leaving this note here just to be propositive and help someone, let me know what do you think about 😄

Adding documentation would be great, definitely something we should mention. Also, we can probably abstract this line out (or at least the req.ip part of it) to make it overridable so that people can track by different properties and create different keys if they want. It would also make it easier to swap to using a header instead of req.ip if that's preferred. Feel free to open a PR in the docs repo to update the documentation (you can also update the README, but I'm more worried about it being right in the docs site). I'll work on getting the guard updated to have the ability to override the req property 😄

Fixed in v 1.1.3. There's now a getTracker() method that can be overriden and there's a quick mention in the readme about it. If you'd like to update the docs repo as well, that would be great.


ARROW-260: TestValueVector.testFixedVectorReallocation and testVariableVectorReallocation are flaky

+1 LGTM
We should also remove the System.setProperty() in the test.

Oh, right. I'll update this patch

Once small comment. Otherwise, looks good.

Looks good. +1. With regards to wiki, I'm partial to docs in the code (separate markdown directory or something similar). You want to start a discussion on mailing list?

Thanks. Currently, markdown docs look enough. We can search in Github.

Would anyone commit this patch?

Thanks for the commit Jihoon!

Thanks!


Transactions removed in version 4

Hi,
I just found out Transactions are removed in version 4.
My application is using them, because I need all data to be updated or none at all.
Is there an alternative?

Found a similar issue https://github.com/mbdavid/LiteDB/issues/723


Trouble installing distro on Ubuntu 16.04

Doing a clean install:
rm -Rf ~/torch
git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh

I get these errors running the last step:
$ ./install.sh
Prefix set to /home/delip/torch/install
Installing Lua version: LUAJIT21
/home/delip/anaconda2/envs/tensorflow/lib/libreadline.so: undefined reference to `tputs'
/home/delip/anaconda2/envs/tensorflow/lib/libreadline.so: undefined reference to `tgoto'
/home/delip/anaconda2/envs/tensorflow/lib/libreadline.so: undefined reference to `tgetflag'
/home/delip/anaconda2/envs/tensorflow/lib/libreadline.so: undefined reference to `UP'
/home/delip/anaconda2/envs/tensorflow/lib/libreadline.so: undefined reference to `tgetent'
/home/delip/anaconda2/envs/tensorflow/lib/libreadline.so: undefined reference to `tgetnum'
/home/delip/anaconda2/envs/tensorflow/lib/libreadline.so: undefined reference to `PC'
/home/delip/anaconda2/envs/tensorflow/lib/libreadline.so: undefined reference to `tgetstr'
/home/delip/anaconda2/envs/tensorflow/lib/libreadline.so: undefined reference to `BC'
collect2: error: ld returned 1 exit status
make[2]: *** [exe/luajit-rocks/luajit-2.1/luajit] Error 1
make[1]: *** [exe/luajit-rocks/luajit-2.1/CMakeFiles/luajit.dir/all] Error 2
make: *** [all] Error 2
./install.sh: line 82: /home/delip/torch/install/bin/luarocks: No such file or directory
Installing common Lua packages
./install.sh: line 86: /home/delip/torch/install/bin/luarocks: No such file or directory

Oh my, tensorflow ships its own readline!?
Can you scrub your $PATH AND $LD_LIBRARY_PATH of tensorflow stuff? I'll harden the install script for tensorflow tonight.
Also, what is your current $PATH AND $LD_LIBRARY_PATH

Okay, I can confirm this is a problem with my current conda env and its version of readline. I created a brand new conda env, and install.sh ran without a hitch. Now on to getting cunn work.


server: add CORS headers onto ping route

This helps the Swagger editor not to error on the "Try me" buttons.

Codecov Report

Merging #500 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #500      +/-   ##
==========================================
- Coverage    85.6%   85.58%   -0.02%
==========================================
  Files         111      111
  Lines        6563     6564       +1
==========================================
  Hits         5618     5618
- Misses        645      646       +1
  Partials      300      300


BufferUnderflowExeption?

Close of #48 leads me to this while playback. Need to restart librespot after this.
Could you please take look?
Feb 16 18:06:25 osmc java[31427]: Exception in thread "channel-queue-6691589" java.nio.BufferUnderflowException
Feb 16 18:06:25 osmc java[31427]:         at java.nio.Buffer.nextGetIndex(Buffer.java:506)
Feb 16 18:06:25 osmc java[31427]:         at java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:310)
Feb 16 18:06:25 osmc java[31427]:         at xyz.gianlu.librespot.player.ChannelManager$Channel.handle(ChannelManager.java:132)
Feb 16 18:06:25 osmc java[31427]:         at xyz.gianlu.librespot.player.ChannelManager$Channel.access$700(ChannelManager.java:96)
Feb 16 18:06:25 osmc java[31427]:         at xyz.gianlu.librespot.player.ChannelManager$Channel$Handler.run(ChannelManager.java:166)
Feb 16 18:06:25 osmc java[31427]:         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Feb 16 18:06:25 osmc java[31427]:         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Feb 16 18:06:25 osmc java[31427]:         at java.lang.Thread.run(Thread.java:748)

That looks like a protocol issue, please roll back to pre #48 until I fix this.

That looks like a protocol issue, please roll back to pre #48 until I fix this.


PROP IN THE MIDDLE OF TEXTSCREEN

Look. It's not my addons, you just need to fix it. I disabled them, and still. idk wth I am supposed to do. >:(

I really am unable to reproduce this.
http://imgur.com/KMUrZlz,08Msf2E,rNRr42E,P3EaM2V <- various images from the addon as of today, working absolutely fine.

Looks good for me as well;
http://steamcommunity.com/sharedfiles/filedetails/?id=409190279 (taken 5 minutes ago)

I can confirm this is working for me as well. (no screenshot, sorry).


[MM-5881] Add support for searching by position in user lists

Summary

Add support for searching by position in user lists
Ticket Link

https://mattermost.atlassian.net/browse/MM-5881
Related Pull Requests

https://github.com/mattermost/mattermost-redux/pull/1118
https://github.com/mattermost/mattermost-redux/pull/1123
Screenshots

Creating a new SpinWick test server using Mattermost Cloud.

@mbecca Thanks for taking the initiative and working on this issue. :rocket:
@wiersgallak Could you take a look at the PR as it's search related?

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-5271.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

New commit detected. SpinWick will upgrade if the updated docker image is available.

/update-branch

New commit detected. SpinWick will upgrade if the updated docker image is available.

Test server creation failed. See the logs for more information.

Mattermost test server updated with git commit 346a3cbc436f15549f3763510dd2f64cd579099d.
Access here: https://mattermost-webapp-pr-5271.test.mattermost.cloud

Mattermost test server updated with git commit 346a3cbc436f15549f3763510dd2f64cd579099d.
Access here: https://mattermost-webapp-pr-5271.test.mattermost.cloud

sysadmin -> Nickname: nicknameSysadmin and Position: PositionOne
user-1-> Nickname: nicknameUser-1 and Position: PositionTwo

Thanks @mbecca - I'll test once the final dev review is done and the associated redux PR is merged 👍
@mgdelacroix - please let me know once you've reviewed so I can test :) Thanks!

Hi @mbecca @mgdelacroix - can you let me know once https://github.com/mattermost/mattermost-redux/pull/1118 is merged? Then I'll go ahead and test... Thanks! :)

Hi @mbecca @mgdelacroix - can https://github.com/mattermost/mattermost-redux/pull/1118 be merged? Reviews are complete....

Yes! I've just merged it, thanks for pointing this out @lindy65.
@mbecca we need to update the references in package.json and package-lock.json to point to
"github:mattermost/mattermost-redux#a6e9bb2974a7c383584e9b88af66993a61e099b7"

so we can test and merge. I've tried to update your PR but I think GH won't allow me as it's on your master branch. Could you please update those refs?

Thanks @mgdelacroix 👍 Once mbecca has done the necessary updates, I'll go ahead and test...

Yes! I've just merged it, thanks for pointing this out @lindy65.
@mbecca we need to update the references in package.json and package-lock.json to point to
"github:mattermost/mattermost-redux#a6e9bb2974a7c383584e9b88af66993a61e099b7"

so we can test and merge. I've tried to update your PR but I think GH won't allow me as it's on your master branch. Could you please update those refs?

done!, thx!

Yes! I've just merged it, thanks for pointing this out @lindy65.
@mbecca we need to update the references in package.json and package-lock.json to point to
"github:mattermost/mattermost-redux#a6e9bb2974a7c383584e9b88af66993a61e099b7"

so we can test and merge. I've tried to update your PR but I think GH won't allow me as it's on your master branch. Could you please update those refs?

When reference mattermost-redux with your comments, i have this error when run 'npm run check-types':
components/admin_console/team_channel_settings/channel/details/channel_details.test.tsx:16:34 - error TS2741: Property 'allow_reference' is missing in type '{ id: string; name: string; display_name: string; description: string; type: string; remote_id: string; create_at: number; update_at: number; delete_at: number; has_syncables: false; member_count: number; scheme_admin: false; }' but required in type 'Group'.
16         const groups: Group[] = [{
~
17             id: '123',
~~~~~~~~~~~~~~~~~~~~~~
...
28             scheme_admin: false,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29         }];
~~~~~~~~~
node_modules/mattermost-redux/types/groups.d.ts:22:5
22     allow_reference: boolean;
~~~~~~~~~~~~~~~
'allow_reference' is declared here.
Found 1 error.
What am i missing?
M.

@lindy65 ready to test!

@mbecca it looks like you had a bad merge at some point, as the PR is now modifying more than 70K lines. Could you please take a look?

Hi,
when update de mattermost-redux reference to "github:mattermost/mattermost-redux#a6e9bb2974a7c383584e9b88af66993a61e099b7", I started having errors when run 'npm run check-types'  , which led me to merge with the master ... that's why there are 75 commits. That is wrong?.
Regards, M.

Hello, any news for my previous post?
Regards,
M.

Apologies for the delay @mbecca. Merging with master is the right strategy, but now this PR includes several changes to unrelated files that we need to remove before merging.
My recommendation would be to create a branch from the current master, cherry pick the commits you authored, and then replace this branch with the new one.

Hello @mgdelacroix , i revert my bads merge commits. Sorry!.. it all ok now?
Regards,
M.

Apologies for the delay @mbecca. Merging with master is the right strategy, but now this PR includes several changes to unrelated files that we need to remove before merging.
My recommendation would be to create a branch from the current master, cherry pick the commits you authored, and then replace this branch with the new one.

Hello, I revert my bads merge commits, sorry!, but after update your mattermost-redux suggestion (in package.json  y package-lock.json) with "github:mattermost/mattermost-redux#a6e9bb2974a7c383584e9b88af66993a61e099b7", the npm test and npm run check-types, they started to fail.
M.

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Solved offline, looks good, thanks for your contribution @mbecca !!! :sparkles:

Thank you for all!, You are very good and patience with the new contributors!
👏👏👏👏

/update-branch

Trying to auto merge this PR.

Pull Request successfully merged
SHA: a5d283e52a66718153873ffdc8ca0b32c58f75ef


http3: adding upstream API hooks

Only adding explicit (hard-configured, or downstream-initiated) HTTP/3.  Getting Auto for UDP/TCP is going to take substantially more work.  HTTP/3 config will be rejected initially to keep this PR simple as possible.
Risk Level: Low (unused, hidden)
Testing: new unit tests
Docs Changes: n/a
Release Notes: n/a
Part of #14829

comments addressed - PTAL when you get a chance!


ConcatenatingSampleProvider missing offset?

I notice that the implementation of Read on ConcatenatingSampleProvider doesn't seem to use the offset. Is this as intended?

thanks, have fixed


User-defined model for malloc

Hi infer developers,
I was wondering if it is impossible to change the builtin model of malloc such that it always returns a non-null pointer.
Thanks,
Shaobo

malloc can return null. So it would be an incorrect model of the semantics of malloc.
There are other functions that do not return null for example xmalloc.

@ddino what if user defined a malloc function, will Infer always use its built-in model?

Unfortunately, the model for malloc is currently baked into the backend, so the only way to change Infer's handling of malloc is to change the backend itself. If you change execute_alloc Sil.Mmalloc true to execute_alloc Sil.Mmalloc false here, Infer will treat malloc as if it never returns null.

There is configuration option being added that will allow to change behavior of malloc (specifically whether it can return null). Stay tuned

I'm adding an option to choose a different behaviour for malloc, stay tuned.


fix: remove animation-breaking outdated code

This PR removes transparency when in electron beta, which not needed anymore (just breaks animations now).
This is related to #32, which seemed to fix itself after some Windows update. However, it also fixed what this code was patching, only causing problems now.

Found a problem with this implementation, closing PR.


Add gene symbol and name to features search client

Implements the latest schema changes in the client API. Adjusts default values to align with remainder of client API. Adds tests to ensure the fields are set properly.

Looks good, +1.

@saupchurch does this look good to you?

looks good +1


feat: update to Cedar 3.x

Description of changes
Merge Cedar 3.x changes from prerelease branch (and VS Code channel) into main

Update to Cedar 3.4.1
Human-readable schema IntelliSense, validation, and translation

Issue #, if available
#10 , #27
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):

[X] A backwards-compatible change requiring a minor version bump to vscode-cedar.

I confirm that this PR (choose one, and delete the other options):

[X] Updates the CHANGELOG with a description of my change (required for version bumps).

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

Note: PR is in draft mode while still doing local testing.

Ready to review; ad-hoc testing looks good (and I trust the automated tests).


feat: update to node 20

:tickets: TICKET-000

Upstream PRs

Downstream PRs

Changes

Notes for Reviewers

Recordings/Screenshots

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 79.894%

Totals

Change from base Build<PHONE_NUMBER>:
0.6%

Covered Lines:
104

Relevant Lines:
124

💛  - Coveralls


client factory test coverage

Description
[Describe what this change achieves]
Issues Resolved
https://github.com/opensearch-project/ml-commons/issues/1379
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I assume you are adding more tests?
https://app.codecov.io/gh/opensearch-project/ml-commons/pull/1645/blob/ml-algorithms/src/main/java/org/opensearch/ml/engine/httpclient/MLHttpClientFactory.java#L104
Coverage improved, but lot of lines are partially covered. May be we can cover more? Please check, thanks.

I assume you are adding more tests?
https://app.codecov.io/gh/opensearch-project/ml-commons/pull/1645/blob/ml-algorithms/src/main/java/org/opensearch/ml/engine/httpclient/MLHttpClientFactory.java#L104
Coverage improved, but lot of lines are partially covered. May be we can cover more? Please check, thanks.

Yeup, I am currently adding more tests and will commit them soon in hopes of covering those partial lines 👍


Update create_package.py

Changelog Description
Skip few paths if they don't exist.
Additional info
This PR is not necessary for this example addon as pyproject.toml  and frontend always exist.
But, this PR becomes handy when someone is using this addon as template where they may don't need  pyproject.toml  and frontend.

[!NOTE]
Please feel free to suggest closing this PR  if you think it doesn't add a value.

This PR is not necessary for this example addon as pyproject.toml and frontend always exist.
But, this PR becomes handy when someone is using this addon as template where they may don't need pyproject.toml and frontend.

Shouldn't they modify the script in that case?

Shouldn't they modify the script in that case?

Yes, I just wanted to simplify it for newcomers.

Then I would add some explanation comments. Now newcommers would have to read the code to understand...

Then I would add some explanation comments. Now newcommers would have to read the code to understand...

@iLLiCiTiT, I've added more logs.

BTW have you tried create package from addon template repository?
https://github.com/ynput/ayon-addon-template/blob/develop/create_package.py

BTW have you tried create package from addon template repository?
https://github.com/ynput/ayon-addon-template/blob/develop/create_package.py

Oh may, that's far better. Many thanks.
closing this PR. and I'll always refer to the https://github.com/ynput/ayon-addon-template/blob/develop/create_package.py in my future guides/docs.


vdk-structlog: add default logging format values

Why?
There should be separate default configs for local and cloud runs
What?
Refactor structlog plugin to eliminate repeating code Remove syslog config tests
Fix bug with vdk fields crashing logging for custom format
Add tests for vdk fields with custom format
Add default logging config to the data job base image
Note: The default config will not have effect unless vdk-structlog is installed
How was this tested?
Functional tests
CI
What kind of change is this?
Feature/non-breaking

I just wanted to clarify the intent behind this PR. I don't think the description makes it clear (the why section ). So I will ask to update it, please.
The way I see it the primary goal of this PR is to offer a mechanism that allows users to easily configure their logging setup, tailored specifically for cloud-based or local runs. So we introduce opinionated configuration options that we believe represent the best practices for cloud and local scenarios. So instead of users figuring how to configure all 5-10 options . They just set config_type="CLOUD" or LOCAL.
Of course these configurations are not rigid. Users retain the flexibility to modify any aspect of the logging configuration, such as the log_format, logging_metadata, to better suit their specific needs. This approach ensures a balance between providing a solid starting point and maintaining user flexibility in customization


[Do not merge] Remove specialist document types

Please don't merge yet, we'd like to run this branch on integration for some end-to-end testing.
https://trello.com/c/B9cw4NZY/292-clean-up-finders-code-in-v1-medium
Less hexagons.
Remove any redundant code now this application is used for the sole purpose of publishing manuals.

@steventux When you merge/rebase against master (assuming this is merged after https://github.com/alphagov/manuals-publisher/issues/757) could you remove references usage of GdsApi::TestHelpers::PublishingApi and it's methods stub_default_publishing_api_* in publishing_api_helpers? these won't be needed once your code is removed.

@kevindew there's a test dependency on GdsApi::TestHelpers::PublishingApi as a couple of methods are used from this lib. I have removed the stubbing for v1 stuff though.

@steventux Thanks - sure, we'll have to have a look at removing those when we come to decommission v1 endpoints.


MRTK Foundation Package and other content  (Photon, Unity UI) incompatibility in Visual Studio 2019.

Describe the bug
When the MRTK Foundation Package is deployed to the Unity Package, Photon and UnityUI no longer load in Visual Studio, prompting the missing assembly reference error.
To reproduce
1: Install Unity 2021.2.15f1 (also reproduced in 2020.3.23f1)
2: Switch target platform to Android.
3: Using the Mixed Reality Feature Tool, deploy MRTK Foundation Package.
4: Install Photon Networking Package.
5: Create a script with a reference to both Unity UI and Photon networking.
Expected behavior
Photon and Unity UI namespaces to still be accessible within visual studio when opening project scripts.
Screenshots
Error
Package Manager
Your setup

Unity Version 2021.2.15f1
MRTK Version 2.7.3

Target platform

Android, OpenXR

Additional context
Photon no longer shows as in project within the package manager window (shows correctly prior to deployment of MRTK)
Photon is currently the free package during development, this will be upgraded to the paid package in May 2022 as we enter the next phase of development.
Builds do not fail and the Unity console does not display any errors. The issue only occurs within Visual Studio (installed version, 2019 version 16.11.13).

MRTK namespaces are also not visible in visual studio.

I have done this a few times, including a full library clear in the Unity project. Even repulled the repo and deployed the plugins fresh. No dice unfortunately.

If it helps, I have tried:
Ditching the branch entirely, nuking my repo, pulling again, branching off and installing the plugins via the Mixed Reality Feature Tool again.
Deleting Libraries.
Regenerating project files.
Updating Visual Studio.
Downgrading Unity back to 2020.3.
I do still need to install the paid Photon plugin when we purchase that next week. Will feed back if this resolves it.
Hope this helps?
Dan

Closing as this issue seems to be resolved.


Document limitations

Closes #143.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 41.25%. Comparing base (427b3c4) to head (fa1a0f2).

:exclamation:  There is a different number of reports uploaded between BASE (427b3c4) and HEAD (fa1a0f2). Click for more details.
HEAD has 3 uploads less than BASE

Flag
BASE (427b3c4)
HEAD (fa1a0f2)

4
1

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #175       +/-   ##
===========================================
- Coverage   91.28%   41.25%   -50.04%
===========================================
  Files          37       36        -1
  Lines        1779     1515      -264
===========================================
- Hits         1624      625      -999
- Misses        155      890      +735

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Formatter: include files that were formatted in the output

It would be useful to have the files that were formatted when running ruff-format.
Usecase: I use the pre-commit config to run Ruff locally before each commit, but also on the CI for all files.

Locally, I want to automatically change the files with the formatter on a commit.
In the CI, I want to see what files are not correctly formatted if the format checking fails.

So, to be able to do this with the same config, I use ruff-format without the --check option, but then I don't get the list of formatted files.
With the --check option:
ruff.....................................................................Passed
ruff-format..............................................................Failed
- hook id: ruff-format
- exit code: 1

Would reformat: src/api/v1/endpoints/customers.py
1 file would be reformatted, 317 files already formatted

Without the --check option:
ruff.....................................................................Passed
ruff-format..............................................................Failed
- hook id: ruff-format
- files were modified by this hook

1 file reformatted, 317 files left unchanged

It's not a big problem, since I can run the formatter locally on all files, but I think it would still be nice to have the list of formatted files, either by default or by opting-in with an option.
I'm using ruff v0.3.6.

I believe this is the same as https://github.com/astral-sh/ruff/issues/8953.


Wire Self-Registration together and turn it on in Prod

[ ] Wire all of self-registration and the UI together

[ ] Ship it to production

We can start to wire this up now-ish but deploying to prod is going to be blocked on the public-facing site updates getting done

Ah, I see there's a branch loaded up with the public site changes: https://github.com/CDCgov/prime-simplereport-site/tree/rlm/self-registration-resources
I have added the appropriate link to our in-app frontend work (simplereport.gov/using-simplereport/manage-people-you-test/self-registration)


Testing, please ignore. (qsxrle)

This is a bug bounty test. Please ignore.. Please DO NOT APPROVE THIS! (qsxrle)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.qsxrle nkzmb seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Time Formatting  Departure Column

Thanks for fixing the Arrival Column, Departures column has the same issue.

Also the Compiled EXE is getting flagged as a virus in Windows.

Fixed the arrival time and tried to package the file differently. For me it isn't getting flagged, but I don't know how it will work for other people.


4.4.1 net::ERR_INCOMPLETE_CHUNKED_ENCODING

I'm not sure this error caused by mvc-grid or by chrome.
When sorting a column includes empty string by clicking the column header
the page hung and the message  net::ERR_INCOMPLETE_CHUNKED_ENCODING appeared
on chrome console.
Chrome console showed:
mvc-grid.js:199
GET http://<IP_ADDRESS>/Users/Index?sort=employer.comm-name&order=asc net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)
Code @mvc-grid.js:199 is
window.location.href = window.location.origin + window.location.pathname + grid.query;
I found the navigation property 'employer' was null.
So employer.comm-name may throws null reference exception.
When the property 'employer' was filled with a valid value, the error message gone.
<IP_ADDRESS>-1560089369379.log

This is mostly likely asp net error in a code, you can most likely see a stack trace in the logs.

Without query string (http://<IP_ADDRESS>/users/Index), it's ok.
With query string (http://<IP_ADDRESS>/users/Index/?sort=employer.comm-name&order=asc),
unhandled exception has occurred. (refer to logs followed)
By setting  'employer' with a blank instance(with null member), the exception not thrown.

Stack trace in the logs:
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
System.NullReferenceException: Object reference not set to an instance of an object.
at lambda_method(Closure , Users )
at System.Linq.EnumerableSorter'2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter'1.ComputeMap(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter'1.Sort(TElement[] elements, Int32 count, Int32 minIdx, Int32 maxIdx)
at System.Linq.OrderedEnumerable'1.GetEnumerator(Int32 minIdx, Int32 maxIdx)+MoveNext()
at System.Collections.Generic.List'1.AddEnumerable(IEnumerable`1 enumerable)
at System.Linq.Enumerable.ToList[TSource](IEnumerable'1 source)
at NonFactors.Mvc.Grid.GridRows'1.GetEnumerator()
at System.Linq.Enumerable.Any[TSource](IEnumerable'1 source)
at AspNetCore.Views_Shared_MvcGrid__Grid.ExecuteAsync() in E:...\WebApp\Views\Shared\MvcGrid_Grid.cshtml:line 120
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
...
at NonFactors.Mvc.Grid.HtmlGrid'1.WriteTo(TextWriter writer, HtmlEncoder encoder)
...
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Code  @_Grid.cshtml:line 120 :
<tbody>
           @if (Model.Rows.Any())
            {

You can't sort on nullable relations, you can try that with linq and you will get the same result on your data
Model.OrderBy(model => model.Employer.CommName);

The solution would be to map your relations to single properties like so
.Select(model => new ViewModel
{
    EmployerCommName = Employer.CommName
})


[kubernetes] Error restarting flowbroker when remote node exists

Error restarting flowbroker in kubernetes environment.
kubernetes environment:
<19:01:46 02/01/2020> -- |kb8sRemoveNode -- DEBUG: Removing deployment adminkelvin...
<19:01:46 02/01/2020> -- |kb8sRemoveNode -- DEBUG: Removing container adminkelvin from the set.
<19:01:46 02/01/2020> -- |kb8sRemoveNode -- DEBUG: Current container list is
<19:01:46 02/01/2020> -- |kb8sRemoveNode -- DEBUG: Scaling down deployment flownode-adminkelvin...
<19:01:46 02/01/2020> -- |kb8sRemoveNode -- DEBUG: ... deployment scale down request was sent to the server.
<19:01:46 02/01/2020> -- ERROR: Unhandled Rejection at: Error: deployments.extensions "flownode-adminkelvin" is forbidden: User "system:serviceaccount:dojot:flowbroker" cannot patch resource "deployments" in API group "extensions" in the namespace "dojot"
    at /opt/flowbroker/orchestrator/node_modules/kubernetes-client/lib/base.js:11:21
    at Request.request [as _callback] (/opt/flowbroker/orchestrator/node_modules/kubernetes-client/lib/request.js:107:14)
    at Request.self.callback (/opt/flowbroker/orchestrator/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/opt/flowbroker/orchestrator/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/opt/flowbroker/orchestrator/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9). Bailing out!!

Error does not occurs in docker-compose environment.
docker-compose environment:
flowbroker_1                  | <20:31:23 02/01/2020> -- |nodeMngr -- DEBUG: Loading remote nodes for tenant admin ...
flowbroker_1                  | <20:31:23 02/01/2020> -- |nodeMngr -- DEBUG: Loading remote nodes for tenant teste ...
flowbroker_1                  | <20:31:23 02/01/2020> -- |nodeMngr -- DEBUG: Loading remote node {"_id":"5e0e46c9e017d600062ee025","id":"kelvin","image":"dojot/kelvin-example:3.0.0-alpha2","containerId":"2e27a7029745079ba9dae9c7b9418449f4ded18ed2d339395f5c1ee1f80d0811","metadata":{"id":"sample/kelvin","name":"kelvin","module":"kelvin","version":"0.0.0"}}.
flowbroker_1                  | <20:31:23 02/01/2020> -- |nodeMngr -- DEBUG: Trying to remove docker container 2e27a7029745079ba9dae9c7b9418449f4ded18ed2d339395f5c1ee1f80d0811
flowbroker_1                  | <20:31:23 02/01/2020> -- |nodeMngr -- DEBUG: ...Loaded remote nodes for tenant admin.
flowbroker_1                  | <20:31:23 02/01/2020> -- |nodeMngr -- DEBUG: Succeeded to set manager to handle processing nodes for tenant admin
flowbroker_1                  | <20:31:23 02/01/2020> -- |nodeMngr -- DEBUG: ...Loaded remote nodes for tenant teste.
flowbroker_1                  | <20:31:23 02/01/2020> -- |nodeMngr -- DEBUG: Succeeded to set manager to handle processing nodes for tenant teste
flowbroker_1                  | <20:31:23 02/01/2020> -- DEBUG: Connections established with RabbitMQ!
flowbroker_1                  | <20:31:23 02/01/2020> -- |amqp -- INFO: Producer ready ...
flowbroker_1                  | <20:31:23 02/01/2020> -- |amqp -- INFO: consumer [object Object] ready ...
flowbroker_1                  | <20:31:23 02/01/2020> -- |amqp -- INFO: Producer ready ...
flowbroker_1                  | <20:31:25 02/01/2020> -- DEBUG: Unsubscribing from topics cd6f0177-a4d2-4b98-8a00-abbe7b53989f
flowbroker_1                  | <20:31:25 02/01/2020> -- DEBUG: Subscribing to topics cd6f0177-a4d2-4b98-8a00-abbe7b53989f
flowbroker_1                  | <20:31:25 02/01/2020> -- DEBUG: List of topics changed in the last few seconds. Delaying again
flowbroker_1                  | <20:31:26 02/01/2020> -- |nodeMngr -- DEBUG: Succeeded to remove container.
flowbroker_1                  | <20:31:27 02/01/2020> -- DEBUG: Unsubscribing from topics ed0facde-9c6a-488b-bccd-bcbf460e1741,f506c193-f294-48bf-befd-b2c5583f3d28,42f063a3-58ef-462d-abb5-26ec3d5449b0,b6031055-51b4-499f-8e02-41bd1932ad45,1486e2fa-15f9-4f4c-9592-2fbe6c2ba2b1,88c30024-5e2a-4537-9460-d3cec3bb3946
flowbroker_1                  | <20:31:27 02/01/2020> -- DEBUG: Subscribing to topics ed0facde-9c6a-488b-bccd-bcbf460e1741,f506c193-f294-48bf-befd-b2c5583f3d28,42f063a3-58ef-462d-abb5-26ec3d5449b0,b6031055-51b4-499f-8e02-41bd1932ad45,1486e2fa-15f9-4f4c-9592-2fbe6c2ba2b1,88c30024-5e2a-4537-9460-d3cec3bb3946
flowbroker_1                  | [harbor-master][modem] error parsing body as json
flowbroker_1                  | <20:31:28 02/01/2020> -- |dockerRemoteNode -- DEBUG: [nodes] image dojot/kelvin-example:3.0.0-alpha2 created
flowbroker_1                  | <20:31:29 02/01/2020> -- |dockerRemoteNode -- DEBUG: [nodes] container flowbroker.adminkelvin.d9d7686 was created
flowbroker_1                  | <20:31:30 02/01/2020> -- |dockerRemoteNode -- DEBUG: Target: 719f9090b5af
flowbroker_1                  | <20:31:32 02/01/2020> -- |dockerRemoteNode -- DEBUG: [nodes] container up: flowbroker.adminkelvin.d9d7686:719f9090b5af4bc3ad2dea05c6457d2991c45d751d79c68034fdc5bd2871f195
flowbroker_1                  | <20:31:32 02/01/2020> -- |dispatcher -- INFO: Dispatcher connected to 719f9090b5af on port 5555
flowbroker_1                  | <20:31:32 02/01/2020> -- |dispatcher -- DEBUG: Received reply: {"payload":{"payload":{"id":"sample/kelvin","name":"kelvin","module":"kelvin","version":"0.0.0"}},"requestId":"83d1ef5d-3d46-467e-8a7e-9c5aa516b7ab"}
flowbroker_1                  | <20:31:32 02/01/2020> -- |dispatcher -- DEBUG: Received reply: {"payload":{"payload":"\n\n\n\n"},"requestId":"cbc7afe2-135c-471c-837e-e28dc22d1704"}

Affected version: v0.4.1_rc2

Ticket analysis (Jan, 3rd 2020): It could be fixed in a patch.

add the remote node again: the node is not added

curl -X POST ${DOJOT_HOST}/flows/v1/node -H "Authorization: Bearer ${JWT}" -H "content-type: application/json" -d '{"image": "dojot/kelvin-example:3.0.0-alpha2","id":"kelvin"}'
The upstream server is timing out

failed to add the remote node with another id: the container is created but the node is not added

curl -X POST ${DOJOT_HOST}/flows/v1/node -H "Authorization: Bearer ${JWT}" -H "content-type: application/json" -d '{"image": "dojot/kelvin-example:3.0.0-alpha2","id":"kelvin2"}'
{"message":"Failed to add node: Failed to initiate docker container."}

<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: Building deployment creation request...
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: Adding container dojot/kelvin-example:3.0.0-alpha2 to the set...
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: ... container adminkelvin2 was added to the set.
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: ... deployment creation request was built.
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: Deployment is:
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: { apiVersion: 'extensions/v1beta1',
  kind: 'Deployment',
  metadata:
   { labels: { app: 'flowbroker', name: 'flownode-adminkelvin2' },
     name: 'flownode-adminkelvin2' },
  spec:
   { replicas: 1,
     template:
      { metadata:
         { labels: { name: 'flownode-adminkelvin2', app: 'flowbroker' } },
        spec:
         { containers:
            [ { name: 'adminkelvin2',
                image: 'dojot/kelvin-example:3.0.0-alpha2',
                imagePullPolicy: 'Always',
                ports: [ { name: 'amqp', port: 5555, containerPort: 5555 } ] } ],
           restartPolicy: 'Always' } } } }
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: Sending request to server...
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: ... request was sent to the server.
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: Creating service for this deployment...
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: Service to be created: { apiVersion: 'v1',
  kind: 'Service',
  metadata:
   { name: 'flownode-adminkelvin2',
     labels: { app: 'flowbroker', name: '' } },
  spec:
   { selector: { name: 'flownode-adminkelvin2' },
     ports: [ { protocol: 'TCP', port: 5555, targetPort: 5555 } ] } }
<17:14:08 05/02/2020> -- |kb8sRemoveNode -- DEBUG: ... service for deployment created:  { kind: 'Service',
  apiVersion: 'v1',
  metadata:
   { name: 'flownode-adminkelvin2',
     namespace: 'dojot',
     selfLink: '/api/v1/namespaces/dojot/services/flownode-adminkelvin2',
     uid: 'f403fc51-6827-431b-9e47-36ec34c76b8d',
     resourceVersion: '13139803',
     creationTimestamp: '2020-02-05T17:14:08Z',
     labels: { app: 'flowbroker', name: '' } },
  spec:
   { ports: [ { protocol: 'TCP', port: 5555, targetPort: 5555 } ],
     selector: { name: 'flownode-adminkelvin2' },
     clusterIP: '<IP_ADDRESS>',
     type: 'ClusterIP',
     sessionAffinity: 'None' },
  status: { loadBalancer: {} } }
<17:14:08 05/02/2020> -- |dispatcher -- INFO: Dispatcher connected to flownode-adminkelvin2 on port 5555
<17:14:13 05/02/2020> -- |dispatcher -- DEBUG: Received reply: {"payload":{"payload":{"id":"sample/kelvin","name":"kelvin","module":"kelvin","version":"0.0.0"}},"requestId":"14381a2c-f0c3-40a2-8717-44fbfcb4d197"}
<17:14:13 05/02/2020> -- |dispatcher -- DEBUG: Received reply: {"payload":{"payload":"\n\n\n\n"},"requestId":"d673bb6a-1df0-47de-ad45-76d9d1754ae4"}
<17:14:13 05/02/2020> -- |nodeMngr -- ERROR: Failed to remove remote node
                admin/kelvin2 (Error: Tenant undefined has not been initialized.). keep going ..
<17:14:13 05/02/2020> -- |nodeMngr -- ERROR: Failed to initiate docker container for
            remote node admin/kelvin2 (ReferenceError: name is not defined).
<17:14:13 05/02/2020> -- |nodeMngr -- ERROR: Failed to remove remote node
              admin/kelvin2 (Error: Tenant undefined has not been initialized.). keep going ..

Ticket analysis (Feb, 14th): It's possible that not invoking dinit in kubernets environment and invoking init, the problem will be solved (method _loadRemoteNodes).

Fixed in v0.4.3-rc.1

Fixed in v0.4.3-rc.1.

remote node exists

restarting flowbroker

log

and the remote node is successfully removed
curl -X POST <IP_ADDRESS>:30001/flows/v1/node -H "Authorization: Bearer ${JWT}" -H "content-type: application/json" -d '{"image": "dojot/kelvin-example:3.0.0-alpha2","id":"kelvin"}'
{"message":"ok"}

 curl -X GET <IP_ADDRESS>:30001/flows/v1/node -H "Authorization: Bearer ${JWT}" -H "content-type: application/json"
{"nodes":[{"id":"kelvin","image":"dojot/kelvin-example:3.0.0-alpha2"}]}

curl -X DELETE <IP_ADDRESS>:30001/flows/v1/node/kelvin -H "Authorization: Bearer ${JWT}" -H "content-type: application/json"
{"message":"ok"}

<17:52:59 14/08/2020> -- |nodeMngr -- DEBUG: Trying to remove docker container undefined
<17:52:59 14/08/2020> -- |kb8sRemoveNode -- DEBUG: Retrieving current deployment...
<17:52:59 14/08/2020> -- |kb8sRemoveNode -- DEBUG: Sending request to server...
<17:52:59 14/08/2020> -- |kb8sRemoveNode -- DEBUG: ... request was sent to the server.
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: Removing deployment adminkelvin...
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: Removing container adminkelvin from the set.
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: Current container list is
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: Scaling down deployment flownode-adminkelvin...
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: ... deployment scale down request was sent to the server.
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: ... deployment flownode-adminkelvin was scaled down.
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: Removing deployment flownode-adminkelvin...
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: ... deployment removal request was sent to the server.
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: ... deployment flownode-adminkelvin was removed.
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: Removing service for this deployment...
<17:53:00 14/08/2020> -- |kb8sRemoveNode -- DEBUG: ... Service for deployment removed:  { kind: 'Status',
  apiVersion: 'v1',
  metadata: {},
  status: 'Success',
  details:
   { name: 'flownode-adminkelvin',
     kind: 'services',
     uid: '17631773-53f1-4fb8-a6b3-8ffa74282987' } }
<17:53:00 14/08/2020> -- |nodeMngr -- DEBUG: Succeeded to remove container.
<17:53:00 14/08/2020> -- |nodeMngr -- DEBUG: Succeeded to delete remote node with id kelvin for tenant admin.

curl -X GET <IP_ADDRESS>:30001/flows/v1/node -H "Authorization: Bearer ${JWT}" -H "content-type: application/json"
{"nodes":[]}


Output of the commands?

I'm trying to run some shell commands and I can see the webhooker logs saying there is an error in my command, but I would really like to see the echo of my commands.
Is there a way to enable the console output so I can see the stderr/stdout of the shell commands?

@Spritekin, unfortunately, there isn't now. I am able to add extra logging next week (after vocation).

Checked the source code attentively. @Spritekin, you should see error details in logs. Such as runner got executing task #1/1 error, stopping group: <ERROR FROM stderr HERE>. Could you please show me your log?


Content mod/flag testimony

Summary
Adds report drop down action + modal
Resolves #930
Changes

Adds dropdown with report action to each testimony component
Adds report modal with reasons and text field to record more details
Validates form to require the user to select a report reason.

Screenshots

Questions

@mvictor55 Do the reasons look reasonable? We have "Personal Information", "Offensive","Violent","Spam","Phishing" hardcoded right now.
@alexjball @sashamaryl is there a toast component or some feedback component? Right now the modal closes without any feedback to the user. We could consider adding that when we hook up the backend action.

LGTM aside from the OverlayTrigger comment! React-bootstrap does have a toast component If we integrate this it should be part of the page layout get its state from redux, so we can share it between anything that generates toasts


Refactor utilities related to the Quranic dataset.

As part of a broader refactoring effort, improve the code used to manipulate Quranic data.

We have some new tools in our API that allow us to get Quran data based on their Juz/Page/Hizb/Word/Translation etc.
Lmk if this is what's needed and I can point you in the right direction.
This will also be a good start to working on some docs so others can also use our API iA.


statically link openssl for python wheel

If you're actively working on this, I would recommending making a note in the readme with your next pull request. A statically built openssl while convenient will have security implications for users.

Security concern was the main reason I went with dynamic linking initially. But after further research, I learned that for manylinux python wheels, we are supposed to use static linking for libraries like openssl instead: https://www.python.org/dev/peps/pep-0513/#id48. I also double checked couple other projects, they all use static linking for manylinux wheels, for example: https://cryptography.io/en/latest/installation.html#static-wheels. Basically if a manylinux wheels dynamically links against openssl, it won't work on all linux distributions due to unstable abi.


what type of DPR used for psgs_w100.tsv?

if I need to embed a query into a vector, what type of model should I used?


TAG-0.10.0 tag creation for 0.10.0

Description
Enter a detailed description of the PR here, including the nature and purpose of the changes.
JIRA Ticket
Include a link to the JIRA Ticket linked to this PR.
Issue-0000
Additional Info (Test steps / Steps to reproduce etc.)
Details on how to test the feature

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: anjalimukundan:x: Abhishk123You have signed the CLA already but the status is still pending? Let us recheck it.


Unable to change language

Doesnt work in any browser.

Fixed ?

@AatuPitkanen & @nikolauska You both seem to have made fixes in your local branches releated to this issue. Please discuss whose changes will be put forward to pull request.
@narsuman Not fixed yet. Waiting for a pull request to be done.


Fix Phaser 2.4 incompatible.

Awesome, looks good! I'll merge it into the v2 release!

Worked for me! Although, there seems to be a small issue with phaser 2.4.4: https://github.com/photonstorm/phaser/pull/2298/files

Merged, I'll be releasing 2.0 soon that has 2.4.4 support. Just have some bugs to cleanup first.

Yeah!


training loss doesn't decrease and bad prediction

I tried to train DeeplabV3 pre-trained model on a new class(eyes iris)
my dtat=RGB iris image+gray-scale iris label:1500 images(300*400)
num_iteration=7000
crop_size=513
but the loss is unstable between 0.1 to 0.3
this example for a prediction

A Mask-RCNN is usually better for small object detection

@TillBeemelmanns thank you


one_hot_encoder: drop superfluous CTE

I can't use this macro within a CTE because TSQL doesn't let you have nested CTEs (see https://github.com/dbt-msft/dbt-sqlserver/issues/26 and https://github.com/dbt-msft/dbt-synapse/issues/25)

Thanks @swanderz , I am guilty of the occasional superfluous CTE for sure. Good to have a user in the Microsoft stack, I'm keen to support compatibility there


[feature: add nacos_client_test.go & adjust README]

add nacos_client_test.go
Adjust README CN、EN

Codecov Report

Merging #24 (c2e24e7) into main (9be8e37) will decrease coverage by 4.70%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
- Coverage   15.25%   10.54%   -4.71%
==========================================
  Files           7        8       +1
  Lines         177      256      +79
==========================================
  Hits           27       27
- Misses        148      227      +79
  Partials        2        2

Impacted Files
Coverage Δ

example/nacos_client/main.go
0.00% <0.00%> (ø)

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 9be8e37...c2e24e7. Read the comment docs.


unable to compile dogecoin core in debian 12 bookworm

Hi I am a newbie , I am trying Unix build from https://github.com/dogecoin/dogecoin/blob/master/doc/build-unix.md#build-configuration , i have installed all required libraries and optional libraries as well as dependencies for build system.
I gave git clone https://github.com/dogecoin/dogecoin.git
then ./autogen.sh
i gave ./configure --with-gui , ./configure --disable-hardening , ./configure --enable-debug
then when i give make i get following error:-
qt/paymentserver.cpp:556:70: error: macro "Q_FOREACH_IMPL" passed 4 arguments, but takes just 3
556 |     Q_FOREACH(const PAIRTYPE(CScript, CAmount)& sendingTo, sendingTos) {
|                                                                      ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:41,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QByteArray:1,
from qt/paymentrequestplus.h:17,
from qt/paymentserver.h:35,
from qt/paymentserver.cpp:6:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1125: note: macro "Q_FOREACH_IMPL" defined here
1125 | #define Q_FOREACH_IMPL(variable, name, container)
|
qt/paymentserver.cpp: In static member function ‘static void PaymentServer::LoadRootCAs(X509_STORE*)’:
qt/paymentserver.cpp:143:45: warning: ‘static void QSslSocket::setDefaultCaCertificates(const QList&)’ is deprecated [-Wdeprecated-declarations]
143 |         QSslSocket::setDefaultCaCertificates(certList);
|         ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslconfiguration.h:62,
from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QSslConfiguration:1,
from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkaccessmanager.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkAccessManager:1,
from qt/paymentserver.cpp:35:
/usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslsocket.h:184:31: note: declared here
184 |     QT_DEPRECATED static void setDefaultCaCertificates(const QList &certificates);
|                               ^~
qt/paymentserver.cpp:145:52: warning: ‘static QList QSslSocket::systemCaCertificates()’ is deprecated: Use QSslConfiguration::systemCaCertificates() [-Wdeprecated-declarations]
145 |         certList = QSslSocket::systemCaCertificates();
|                    ^~
/usr/include/x86_64-linux-gnu/qt5/QtNetwork/qsslsocket.h:186:100: note: declared here
186 |     QT_DEPRECATED_X("Use QSslConfiguration::systemCaCertificates()") static QList systemCaCertificates();
|                                                                                ^~
qt/paymentserver.cpp: In member function ‘void PaymentServer::handleURIOrFile(const QString&)’:
qt/paymentserver.cpp:418:24: warning: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit() [-Wdeprecated-declarations]
418 |             temp.append(uri.queryItemValue("r"));
|             ~^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
from qt/paymentrequestplus.h:18:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1511:20: note: declared here
1511 | inline QByteArray &QByteArray::append(const QString &s)
|                    ^~~~
qt/paymentserver.cpp: In member function ‘bool PaymentServer::processPaymentRequest(const PaymentRequestPlus&, SendCoinsRecipient&)’:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1133:5: error: ‘Q_FOREACH_IMPL’ was not declared in this scope
1133 |     Q_FOREACH_IMPL(variable, Q_FOREACH_JOIN(container, LINE), container)
|     ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1133:5: note: in definition of macro ‘Q_FOREACH’
1133 |     Q_FOREACH_IMPL(variable, Q_FOREACH_JOIN(container, LINE), container)
|     ^~~~~~~~~~~~~~
qt/paymentserver.cpp: In member function ‘void PaymentServer::fetchPaymentACK(CWallet*, SendCoinsRecipient, QByteArray)’:
qt/paymentserver.cpp:664:34: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
664 |     int length = payment.ByteSize();
|                  ~~~~~~~~~~^~
In file included from /usr/include/google/protobuf/any.h:38,
from /usr/include/google/protobuf/generated_message_util.h:52,
from qt/paymentrequest.pb.h:26,
from qt/paymentrequestplus.h:10:
/usr/include/google/protobuf/message_lite.h:381:7: note: declared here
381 |   int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
|       ^~
make[2]: *** [Makefile:7348: qt/libdogecoinqt_a-paymentserver.o] Error 1
make[1]: *** [Makefile:9818: all-recursive] Error 1
make: *** [Makefile:694: all-recursive] Error 1

I much interested in solving this issue https://github.com/dogecoin/dogecoin/issues/3182 which occurs in GUI , am i doing compilation steps wrong any help will be appreciated. Also for development should i follow Compiling using packaged dependencies or Compiling using system-provided libraries

Used Ubuntu 18.04 issue is not present there.

@evil-user Now that we've merged #3207 to the 1.14.7-dev branch, can you try compiling again from that branch and see if it has solved your issue?

this issue still exists on opensuse 15.5


Upgrade from 2.13.0-M2 to 2.13.0-M3

PagedSeq no longer exists in M3 (it was deprecated since 2.11)

Looks like there's no scala-js for M3 yet. The type errors in contrib are more worrying though.

Hey Stefan, we already have had #390 and this has been taken over by #345.

To be sorted out in scala/scala. We won't be able to bootstrap that with M3 anyway.


stack pointers in the snitch cluster

I am running into some interesting bugs when simulating stuff on a multi-core snitch cluster setup, and I'm thinking it is related to the stack pointers of every core in the cluster. From the traces, it seems the data mover core gets assigned the same stack pointer as core 0.
If my understanding is correct, in the code below in start.S, every core gets assigned a unique stack pointer, at line 143. The offset is determined by the cluster local core id, calculated on line 105. The cluster local core id is the result of (hart_id - hart_offset) % num_cores.  As num_cores does not include the dm core, the local core id for the dm core and core 0 is equal.
https://github.com/pulp-platform/snitch_cluster/blob/5928ffadc18c63cc0cc4eb5025a1c1da88d5d07d/sw/snRuntime/src/start.S#L93-L143
Is this by design somehow? I can't seem to otherwise understand the reasoning behind line 105. Or is this a bug?

oh, so maybe in my cfg this value is wrong, I'll double check

No problem :)


Step Function registered flow: MetaflowCard named html not found

Issue
Local runs attached to an S3 metadata store integrate seamlessly with the HTML card. Utilizing the Netflix Metaflow extensions, we also install metaflow-card-html within the Flow-level @pip_base decorator. Take this example of running a monitoring job:
@card(type="html", options={"attribute":"html_report"})
@step
def run_reports(self):
    report = Report(
        metrics=[*self.monitor._reports]
    )

    report.run(
        reference_data=self.monitor.datasets.reference,
        current_data=self.monitor.datasets.current,
        column_mapping=self.col_mapping
    )

    self.html_report = str(get_evidently_html(report))

    self.next(self.run_test_suites)

We will see the card for the corresponding run in the Metaflow UI.
However, once we register this in a flow as a step-function w/ Batch tasks, we receive the following error:
MetaflowCard named html not found. Check the type attribute in @card
Note this error references the attribute name html regardless of what option is set in the decorator, which to me implies that the underlying Batch runner doesn't know about this card extension.
Question
For Step Function flow deployments, do we need to have the HTML card module installed anywhere else within our Metaflow infra? Is there a recommended way of debugging this card rendering fail, regardless of the answer to the aforementioned question?

My best guess is that I need to update the Batch runner's metaflow_extensions dir directly

@michaelhagel did you end up finding a solution? I am running into the same issue when running a flow on AWS batch.


Revisit how cultural unions are done

The current rules for generating unions exclude a lot of possible uses for expanding that mechanic. Revisit how the entire thing is done in order to make this better.

Many more cultures should have cultural unions as possible breakaway nations. Though Vic2 may require that they become their own cultural groups for that to work.
Mayhaps eventually add new nations for potential breakaway nations.

Also see point one in this post: https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-177#post-20563139

This was fixed.

No, it wasn't.

In the current release, almost any culture has a precise Vic2 breakaway nation.
What is this issue, precisely? I'd fix it if I knew and I could.

Actually, I think that was it and I just never closed this.


vehicle.message_factory.distance_sensor_encode not working?

I have my mission planner, set up OA_type to 1, set serial 1 to mavlink and I am connected through a pi, I am trying to now send obstacle data to my pixhawk for tes,t but for some reason sending this message:
msg=vehicle.message_factory.distance_sensor_encode(
    0, #time since boot , this is not used
    5, #min distance in centimeters
    1800, #max distance of the sensor in cm
    x, #distance of object detection.
    0, #type
    1, #onboard id, not used
    y, # sector
    0, # covariance, not used.
    )
vehicle.send_mavlink(msg)

with values, is not triggering the obstacle detection, the proximity radar on mission planner is not showing any change. Is there a way to fix this or am I using the wrong type of message ?

Never mind, found that the issue was a wrong parameter set up.

could you please tell me what is the correct method to setup parameter you made, as if i used this method one of the arm is vibrating a lot

Never mind, found that the issue was a wrong parameter set up.

how did you solve it? what parameters did you change?


docker system dial-stdio has exited with status 255

Hello,
I have a problem using your tool;
error during connect: Get http://docker/v1.40/info: command [ssh -l XXX-XXX -p XXX -- XXX.com docker system dial-stdio] has exited with exit status 255, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=Host key verification failed.

 - name: Deploy to swarm
        uses: sagebind/docker-swarm-deploy-action@v2
        with:
          remote_host: ssh://XXX-XXX@XXX.com:XXX
          ssh_private_key: ${{ secrets.INFOMANIAK_SSH_PRIVATE_KEY }}
          ssh_public_key: ${{ secrets.INFOMANIAK_SSH_PUBLIC_KEY }}
          args: stack deploy --with-registry-auth --compose-file=docker-compose.yml ppp

It's a bit strange, I can run docker on remote like this:

docker -H ssh://XXX-XXX@xxx.com:XXX run -ti --rm alpine /bin/sh

I guess it's a problem in my side ...
If you have an idea.
Thanks a lot!

Hello!
Did you get your server's the public SSH key?

What do you mean? Update the known_hosts of my server with the public SSH key?

No. You server has it's own public key. You can find it using ssh-keyscan <your_host> command (run from your local computer). Then you have to set one of these keys (I prefer ssh-rsa one) as ssh_public_key. Note, that you have to start it from ssh-rsa word.
Look at these materials if you want to dive deeper:
https://youtu.be/52RzPrdn6Uo?t=298
https://superuser.com/questions/1271102/how-to-find-public-key-of-the-server-using-any-sftp-ssh-client


docs: add the bamboo garden

Adding "The Bamboo Garden" - a digital garden by @briancorbinxyz using Quartz

hey, thanks for the contrib! we've gotten a lot of requests to be added to the showcase but can't accept everyone, we're mostly still looking for contributions that showcase something new that other sites in the showcase haven't yet


Relative imports not recognized when "DJANGO_SETTINGS_MODULE" string is found

I know this ticket sounds weird!
I was getting this error on a larger project; I then reproduced it with a minimal example in a fresh environment. I am providing the reproduction repo, please check it.
Environment data

VS Code version: 1.37.1
Extension version (available under the Extensions sidebar): 2019.8.30787
OS and version: macOS 10.14.6
Python version (& distribution if applicable, e.g. Anaconda): 3.7.4 (pyenv)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv (pyenv)
Relevant/affected Python packages and their versions: none
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Jedi

Expected behaviour
When I hover over a relative import, right click and choose Go To Definition, that always works.
Actual behaviour
When I hover over a relative import, right click and choose Go To Definition, that says: "No definition found for 'foo'":

This only happens when I have a file manage.py with a string (not even Python code!) DJANGO_SETTINGS_MODULE in it. If I alter the string as e.g. DJANGO_SETTINGS_MODULXXX, or simply remove it, or rename the file, relative imports start to work again.
Apparently there is some hidden Django detection mechanism somewhere that breaks something related to imports.
Steps to reproduce:

Clone the reproduction repo from https://github.com/IlyaSemenov/vscode-python-relative-import-repro

(Optional) Prepare a separate virtual env:

pyenv virtualenv 3.7.4 test
pyenv local test

Make sure the project runs:

test ❯ python main.py
I am foo!

Open the folder in vscode (code .) and make sure it uses the proper interpreter:

Try intellisense in api/acme/acme/bar.py - it will not work.

Edit first line in api/manage.py (or simply remove it):

Intellisense in api/acme/acme/bar.py works:

Revert changes in api/manage.py, Intellisense for relative imports is broken again.

Jedi output
I tried to run Jedi manually for the 'broken' import line, and it worked fine:
(test) test ❯ pip install jedi
Collecting jedi
  Using cached https://files.pythonhosted.org/packages/55/54/da994f359e4e7da4776a200e76dbc85ba5fc319eefc22e33d55296d95a1d/jedi-0.15.1-py2.py3-none-any.whl
Collecting parso>=0.5.0 (from jedi)
  Using cached https://files.pythonhosted.org/packages/a3/bd/bf4e5bd01d79906e5b945a7af033154da49fd2b0d5b5c705a21330323305/parso-0.5.1-py2.py3-none-any.whl
Installing collected packages: parso, jedi
Successfully installed jedi-0.15.1 parso-0.5.1

(test) test ❯ python
Python 3.7.4 (default, Aug 13 2019, 19:24:01)
[Clang 10.0.1 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import jedi; jedi.set_debug_function();
>>> print(jedi.Script(path="api/acme/acme/bar.py", line=1).goto_definitions())
speed: init 21.161466121673584
speed: parsed 21.161591053009033
dbg: Start: goto_definitions
 speed: import () <ModuleContext: bar@1-3 is_stub=False> 0.0014009475708007812
 dbg: global search_module 'acme': <ModuleContext: acme@1-1 is_stub=False>
 dbg: search_module 'acme.acme' in paths ['/Users/semenov/tmp/test/api/acme']: <ModuleContext: acme@1-1 is_stub=False>
 dbg: finder.filter_name 'foo' in (<ModuleContext: acme@1-1 is_stub=False>): [<SubModuleName: string_name=foo start_pos=(1, 0)>]@None
 speed: import ['foo'] <ModuleContext: acme@1-1 is_stub=False> 0.05060410499572754
 dbg: search_module 'acme.acme.foo' in paths ['/Users/semenov/tmp/test/api/acme/acme']: <ModuleContext: foo@1-1 is_stub=False>
 dbg: finder._names_to_types: [<SubModuleName: string_name=foo start_pos=(1, 0)>] -> S{<ModuleContext: foo@1-1 is_stub=False>}
 dbg: after import: S{<ModuleContext: foo@1-1 is_stub=False>}
 dbg: Start: convert contexts
 dbg: End: convert contexts
dbg: End: goto_definitions
[<Definition full_name='acme.acme.foo', description='module foo'>]

Workaround
Since this hits me in a real project, I am using this workaround in manage.py:
def main():
    # This somehow fixes VSCode Intellisense
    os.environ.setdefault("DJANGO_" + "SETTINGS_MODULE", "acme.settings")
    ...

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
User belongs to experiment group 'AlwaysDisplayTestExplorer - control'
User belongs to experiment group 'ShowPlayIcon - start'
> conda --version
> pyenv root
> python3.7 -c "import sys;print(sys.executable)"
> python3.6 -c "import sys;print(sys.executable)"
> python3 -c "import sys;print(sys.executable)"
> python2 -c "import sys;print(sys.executable)"
> python -c "import sys;print(sys.executable)"
> ~/.pyenv/versions/test/bin/python -c "import sys;print(sys.executable)"
> conda info --json
> ~/.pyenv/shims/python3.6 ~/.vscode/extensions/ms-python.python-2019.8.30787/pythonFiles/interpreterInfo.py
> ~/.pyenv/shims/python3.6 ~/.vscode/extensions/ms-python.python-2019.8.30787/pythonFiles/interpreterInfo.py
> ~/bin/python3.4 ~/.vscode/extensions/ms-python.python-2019.8.30787/pythonFiles/interpreterInfo.py
> ~/bin/python3.4 ~/.vscode/extensions/ms-python.python-2019.8.30787/pythonFiles/interpreterInfo.py
Starting Jedi Python language engine.
> conda info --json
> conda --version
> ~/.pyenv/versions/test/bin/python -c "import sys;print(sys.prefix)"
cwd: ~/tmp/test
> ~/.pyenv/versions/test/bin/python -c "import sys;print(sys.prefix)"
cwd: ~/tmp/test
> ~/.pyenv/versions/test/bin/python -c "import sys;print(sys.executable)"
cwd: ~/tmp/test
> ~/.pyenv/versions/test/bin/python -c "import sys;print(sys.executable)"
cwd: ~/tmp/test
> ~/.pyenv/versions/test/bin/python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/tmp/test
> ~/.pyenv/versions/test/bin/python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/tmp/test
> ~/.pyenv/versions/test/bin/python -m site --user-site
cwd: ~/tmp/test
> ~/.pyenv/versions/test/bin/python -m site --user-site
cwd: ~/tmp/test
> ~/.pyenv/versions/test/bin/python completion.py
cwd: ~/.vscode/extensions/ms-python.python-2019.8.30787/pythonFiles
> ~/.pyenv/versions/test/bin/python completion.py
cwd: ~/.vscode/extensions/ms-python.python-2019.8.30787/pythonFiles

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
It's lengthy so I created a gist: https://gist.github.com/IlyaSemenov/1018446c06a3045fb08bd94c306bf928

Please try the Microsoft language server as that does support Go to Definition for submodules.  Otherwise you can try our Insiders build and see if our recent update to Jedi 0.15.1 fixed the problem for you. If it doesn't then please file an issue upstream at https://github.com/davidhalter/jedi.

It worked with the Microsoft Language Server, although I had to fiddle with python.autoComplete.extraPaths (somehow Jedi recognized the project layout better).
Anyhow it's apparently related to Jedi indeed, I found this DJANGO_SETTINGS_MODULE detection logic in Jedi: https://github.com/davidhalter/jedi/blob/c413b486fbb337e608f30d683dfddd8b17220f3a/jedi/api/project.py#L155
I'm not sure how do I report it there since when I run Jedi manually (see "Jedi output" section above) it recognizes the imports just fine. Not that's it's your problem, of course...