DataGridComboBoxColumn DropDown arrow is not shown

When I want to use Handy Theme for just one WPF user control, not for all application, this problem appears.
I removed
<hc:Theme Name="HandyTheme" xmlns:hc="https://handyorg.github.io/handycontrol" Skin="Dark"/>
from App.xaml and then I used
<Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <hc:Theme Skin="Dark"/>
                <hc:Theme Name="HandyTheme"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

in my custom window.
and I found that DataGridComboBoxColumn DropDown arrow is not shown.

When I want to use Handy Theme for just one WPF user control, not for all application, this problem appears.
I removed
<hc:Theme Name="HandyTheme" xmlns:hc="https://handyorg.github.io/handycontrol" Skin="Dark"/>
from App.xaml and then I used
<Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <hc:Theme Skin="Dark"/>
                <hc:Theme Name="HandyTheme"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

in my custom window.
and I found that DataGridComboBoxColumn DropDown arrow is not shown.
You only need one of them

<Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <hc:Theme Skin="Dark"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

also They are all the same and no different
You have to click on the desired cell once to see the combo box

hello, thank you for attention
this is my code:
XAML:

<Window.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <hc:Theme Skin="Dark" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Window.Resources>

<hc:TransitioningContentControl>
    <DataGrid x:Name="DataGrid" RowHeaderWidth="60"></DataGrid>
</hc:TransitioningContentControl>

c#:
using System.Collections.Generic;
using System.Windows;
namespace DataGridTest
{
///
/// Interaction logic for MainWindow.xaml
///
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
        this.DataGrid.ItemsSource = GetDemoDataList();
    }

    internal List<DemoDataModel> GetDemoDataList()
    {
        var list = new List<DemoDataModel>();
        for (var i = 1; i <= 20; i++)
        {
            var dataList = new List<DemoDataModel>();
            for (var j = 0; j < 3; j++)
            {
                dataList.Add(new DemoDataModel
                {
                    Index = j,
                    IsSelected = j % 2 == 0,
                    Name = $"SubName{j}",
                    Type = ""
                });
            }
            var model = new DemoDataModel
            {
                Index = i,
                IsSelected = i % 2 == 0,
                Name = $"Name{i}",
                Type = "",
                DataList = dataList,
                ImgPath =

$"/HandyControlDemo;component/Resources/Img/Avatar/avatar{i % 6 + 1}.png",
Remark = new string(i.ToString()[0], 10)
};
list.Add(model);
}
        return list;
    }
}

public enum OrderStatus { None, New, Processing, Shipped, Received };
public class DemoDataModel
{
    public int Index { get; set; }

    public string Name { get; set; }

    public bool IsSelected { get; set; }

    public string Remark { get; set; }

    public string Type { get; set; }

    public string ImgPath { get; set; }

    public OrderStatus combox { get; set; }

    public List<DemoDataModel> DataList { get; set; }
}

}
and this is my App.xaml:

<Application.Resources>

<ResourceDictionary.MergedDictionaries>

</ResourceDictionary.MergedDictionaries>

</Application.Resources>

and the result is attached.
thank you
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
12/01/20,
04:21:53 PM
On Tue, Dec 1, 2020 at 3:59 PM Mahdi Hosseini<EMAIL_ADDRESS>wrote:

When I want to use Handy Theme for just one WPF user control, not for all
application, this problem appears.
I removed
<hc:Theme Name="HandyTheme" xmlns:hc="
https://handyorg.github.io/handycontrol" Skin="Dark"/>
from App.xaml and then I used
<Window.Resources>

<ResourceDictionary.MergedDictionaries>
<hc:Theme Skin="Dark"/>
<hc:Theme Name="HandyTheme"/>
</ResourceDictionary.MergedDictionaries>

</Window.Resources>
in my custom window.
and I found that DataGridComboBoxColumn DropDown arrow is not shown.
You only need one of them
<Window.Resources>

<ResourceDictionary.MergedDictionaries>
<hc:Theme Skin="Dark"/>
</ResourceDictionary.MergedDictionaries>

</Window.Resources>
also They are all the same and no different
You have to click on the desired cell once to see the combo box
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HandyOrg/HandyControl/issues/537#issuecomment-736521914,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMNQSWLOVXCHOYIZO7AVURTSSTOTLANCNFSM4UI6OJ2Q
.


K8s/Helm Charts

We should start including a K8s/Helm happy path with projects based on this cookiecutter template.

k8s/helm happy so basically a path with django-hurricane or even a chart in the template?

i'm not sure if cookiecutter can shell out to helm create to do some of it's job, but yeah including a chart would be the way to go imo


Add did:webkey and sign with ssh-agent functionality

Close #154
Depends on: https://github.com/spruceid/ssi/pull/178

[x] Get socket path
[x] Connect to socket
[x] List keys in agent
[x] Pick key in agent to use
[x] Request signature from agent
[x] Apply signature to proof
[x] Reuse mechanism for all issue/sign commands
[x] Consider changes in ssi
[x] Document feature in README(s)
[x] Make error messages helpful
[x] Tests (partial)
[ ] ssh-agent with JWT signing
[ ] ssh-agent in DIDKit-HTTP

This PR is ready for review (again). Merge conflicts with #166 have been fixed. SSH Agent functionality is moved from didkit-cli into didkit (lib/), so it could could be used with didkit-http. Actual didkit-http integration will be tracked by #174. JWT ssh-agent signing in didkit-cli will throw an error currently; fixing this will be tracked by #173, and will require changes to ssi (https://github.com/spruceid/ssi/issues/221).

Rebasing for merging...


Python: ImportError: cannot import name 'ChromaMemoryStore' from 'semantic_kernel.memory.semantic_text_memory'

The specific memory stores need to be imported from those paths, so by design you can't use this, should be something like from semantic_kernel.connectors.memory.chromadb import ChromaMemoryStore (on my phone so the exact names might be slightly different)


Fully switch over to new test output

The expected test output used to just be a list of lanes. When we added the outer Road structure, some of the tests changed, but not all. This PR fully migrates to the new expected output style and cleans up the transition stuff.
Overall goal: simplify how the tests work, make it easy to crank out new ones.

I have high confidence this change is correct and uncontroversial, so merging


Only support reading from java.io.File; not from other InputStreams

If we need to apply it in a Web service, then obviously we need to support reading from java.io.InputStream directly, e.g. from an uploaded MultipartFile.

In the forked Xcelite, there is a constructor public Xcelite(InputStream inputStream) that solves this problem.


Add Robinhood to list of Airflow users

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
Adding Robinhood to list of Airflow users

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2271 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2271   +/-   ##
=======================================
  Coverage   68.91%   68.91%
=======================================
  Files         142      142
  Lines       10975    10975
=======================================
  Hits         7563     7563
  Misses       3412     3412

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 e6d3160...b4f8f75. Read the comment docs.


⚠ Bofrost.at has degraded performance

In d24c9b7, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1725 ms

Resolved: Bofrost.at performance has improved in b790474 after 6 minutes.


Cant install release 2.3.1 via pod

try to install with pod 2.3.0 it's work but upgrade to 2.3.1, install fail :
[!] Unable to satisfy the following requirements:

- `MZFormSheetPresentationController (~> 2.3.1)` required by `Podfile`

Because 2.3.1 wasn't pushed to cocoa pods, it is pushed right now.

it's okay now thanks.


adds embedding + throw damage to cybersun pen

About the PR

title, makes it do equal throw damage to its melee damage
also makes it parent off pen and not baseitem, it didn't embed like normal pens without that
Why / Balance

yes powercreep but makes sense for this to be a thing
also easily stolen if you do throw it
you will be able to put several cyberpens into a pneumatic cannon and use it as a real weapon, though you'd be much better off buying a real gun since cannon: 1) needs gas 2) fires slow 3) can only fit 16 pens, and, again, pens can be stolen
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

fix: The cybersun pen now properly deals throw damage.

pen ops buy 20 pens and instantly macro throw them at someone

pen ops buy 20 pens and instantly macro throw them at someone

yes funny instead of buying gun (it's several times cheaper and more reliable to just kill people with guns)
ping is a big issue when throwing pens at people though


Fixes for ShellCheck errors

Running the script through the shellcheck static analysis tool returns the errors below:
$ shellcheck run.sh

In run.sh line 1:
#!/usr/bin/with-contenv bashio
^-- SC1008 (error): This shebang was unrecognized. ShellCheck only supports sh/bash/dash/ksh. Add a 'shell' directive to specify.

In run.sh line 17:
export AWS_ACCESS_KEY_ID="$(bashio::config 'aws_access_key')"
       ^---------------^ SC2155 (warning): Declare and assign separately to avoid masking return values.

In run.sh line 18:
export AWS_SECRET_ACCESS_KEY="$(bashio::config 'aws_secret_access_key')"
       ^-------------------^ SC2155 (warning): Declare and assign separately to avoid masking return values.

For more information:
  https://www.shellcheck.net/wiki/SC1008 -- This shebang was unrecognized. Sh...
  https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ...

SC2155 is detailed here, and SC1008 here.
ShellCheck can also run as a GitHub action.
Also removed the executable bit from other non-executables that had it.

Hi @thomasfr, I updated this to add new lines as requested, thanks.

Also opened #20 to add a ShellCheck GitHub action.


Crash with Chisel2 and Davincing

http://pastebin.com/LGsE7pZf
Crashed upon using the saw on a block of plain, worldgenned marble (no CTM).  I'm pretty sure this is the first time I've tried breaking a Chisel2 block up since the big 2.5 update that redid their CTM logic, hence this is a delayed discovery.  Everything else is unaffected, just Chisel2 being obtuse.
Chisel <IP_ADDRESS> (the fork of Chisel2 headed by some of the members of the Chisel2 team) also crashes in a similar manner, so it may be something with their CTMLib that's embedded in the mod.  Thanks for your time!

To sidestep this issue until a fix is implemented, here is a DaVincing config file that simply blacklists all Chisel2 blocks: http://pastebin.com/MzNVYMtD

https://github.com/tterrag1098/minepainter/commit/600fc21cff7d16bef8dbeddc3fc7024b835a538f

Nice!  I'll test this as soon as it's patched into Davincing (Minepainter itself is depreciated, as the dev has been MIA for about a year).  Thank you for giving this a stab!

Well I would have made a PR if @twothe had forked the repo properly. The old mod was open source you know...

I read through the PR but you changed way too many things. Please either create a PR with just the essential changes, otherwise I will try to find some time to extract and include your fixes.

Workaround in place with 1710.1.8


Instalation stuck at node scripts/install.js [OS X]

When running npm install node-sass, the process is getting stuck at node scripts/install.js
I'm running: OS X 10.10.1
Node versions tested: v0.10.35, v0.11.14

I am having the same issue, also running OS X 10.10.1 and node v0.10.35

Also experiencing issues with v0.11.14.
Michaels-Air-2:industryweek-node michaelbenin$ npm i
npm WARN package.json<EMAIL_ADDRESS>querystring is also the name of a node core module.

><EMAIL_ADDRESS>install /Users/michaelbenin/Projects/industryweek-node/node_modules/core-services-sdk/node_modules/core-service-discovery/node_modules/zkplus/node_modules/bunyan/node_modules/dtrace-provider
> node-gyp rebuild

child_process: customFds option is deprecated, use stdio instead.
  ACTION binding_gyp_libusdt_target_build_libusdt .
Building libusdt for x86_64
rm -f *.gch
rm -f *.o
rm -f libusdt.a
rm -f test_usdt
rm -f test_usdt32
rm -f test_usdt64
rm -f test_mem_usage
gcc -O2 -arch x86_64   -c -o usdt.o usdt.c
usdt.c:212:9: warning: implicit declaration of function 'usdt_dof_section_free' is invalid in C99
      [-Wimplicit-function-declaration]
        usdt_dof_section_free(&strtab);
        ^
usdt.c:238:9: warning: implicit declaration of function 'usdt_dof_file_free' is invalid in C99
      [-Wimplicit-function-declaration]
        usdt_dof_file_free(provider->file);
        ^
2 warnings generated.
gcc -O2 -arch x86_64   -c -o usdt_dof_file.o usdt_dof_file.c
gcc -arch x86_64 -o usdt_tracepoints.o -c usdt_tracepoints_x86_64.s
gcc -O2 -arch x86_64   -c -o usdt_probe.o usdt_probe.c
gcc -O2 -arch x86_64   -c -o usdt_dof.o usdt_dof.c
gcc -O2 -arch x86_64   -c -o usdt_dof_sections.o usdt_dof_sections.c
rm -f libusdt.a
ar cru libusdt.a usdt.o usdt_dof_file.o usdt_tracepoints.o usdt_probe.o usdt_dof.o usdt_dof_sections.o
ranlib libusdt.a
  TOUCH Release/obj.target/libusdt.stamp
  CXX(target) Release/obj.target/DTraceProviderBindings/dtrace_provider.o
In file included from ../dtrace_provider.cc:1:
../dtrace_provider.h:69:44: error: no type named 'Arguments' in namespace 'v8'; did you mean
      'v8::internal::Arguments'?
    static v8::Handle<v8::Value> New(const v8::Arguments& args);
                                           ^~~~~~~~~~~~~
                                           v8::internal::Arguments
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../dtrace_provider.cc:1:
../dtrace_provider.h:70:45: error: no type named 'Arguments' in namespace 'v8'; did you mean
      'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Fire(const v8::Arguments& args);
                                            ^~~~~~~~~~~~~
                                            v8::internal::Arguments
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../dtrace_provider.cc:1:
../dtrace_provider.h:87:44: error: no type named 'Arguments' in namespace 'v8'; did you mean
      'v8::internal::Arguments'?
    static v8::Handle<v8::Value> New(const v8::Arguments& args);
                                           ^~~~~~~~~~~~~
                                           v8::internal::Arguments
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../dtrace_provider.cc:1:
../dtrace_provider.h:88:49: error: no type named 'Arguments' in namespace 'v8'; did you mean
      'v8::internal::Arguments'?
    static v8::Handle<v8::Value> AddProbe(const v8::Arguments& args);
                                                ^~~~~~~~~~~~~
                                                v8::internal::Arguments
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../dtrace_provider.cc:1:
../dtrace_provider.h:89:52: error: no type named 'Arguments' in namespace 'v8'; did you mean
      'v8::internal::Arguments'?
    static v8::Handle<v8::Value> RemoveProbe(const v8::Arguments& args);
                                                   ^~~~~~~~~~~~~
                                                   v8::internal::Arguments
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../dtrace_provider.cc:1:
../dtrace_provider.h:90:47: error: no type named 'Arguments' in namespace 'v8'; did you mean
      'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Enable(const v8::Arguments& args);
                                              ^~~~~~~~~~~~~
                                              v8::internal::Arguments
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../dtrace_provider.cc:1:
../dtrace_provider.h:91:48: error: no type named 'Arguments' in namespace 'v8'; did you mean
      'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Disable(const v8::Arguments& args);
                                               ^~~~~~~~~~~~~
                                               v8::internal::Arguments
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../dtrace_provider.cc:1:
../dtrace_provider.h:92:45: error: no type named 'Arguments' in namespace 'v8'; did you mean
      'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Fire(const v8::Arguments& args);
                                            ^~~~~~~~~~~~~
                                            v8::internal::Arguments
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
      ^
../dtrace_provider.cc:23:17: error: calling a protected constructor of class 'v8::HandleScope'
    HandleScope scope;
                ^
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:816:13: note: declared protected here
  V8_INLINE HandleScope() {}
            ^
../dtrace_provider.cc:25:55: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type
      'v8::Handle<v8::Value> (const v8::internal::Arguments &)'
    Local<FunctionTemplate> t = FunctionTemplate::New(DTraceProvider::New);
                                                      ^~~~~~~~~~~~~~~~~~~
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:3435:16: note: passing argument to parameter 'isolate'
      here
      Isolate* isolate,
               ^
../dtrace_provider.cc:26:58: error: 'New' is a private member of 'v8::PersistentBase<v8::FunctionTemplate>'
    constructor_template = Persistent<FunctionTemplate>::New(t);
                                                         ^
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:572:23: note: declared private here
  V8_INLINE static T* New(Isolate* isolate, T* that);
                      ^
../dtrace_provider.cc:26:28: error: too few arguments to function call, expected 2, have 1; did you mean
      'DTraceProbe::New'?
    constructor_template = Persistent<FunctionTemplate>::New(t);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                           DTraceProbe::New
../dtrace_provider.h:69:34: note: 'DTraceProbe::New' declared here
    static v8::Handle<v8::Value> New(const v8::Arguments& args);
                                 ^
../dtrace_provider.cc:27:25: error: member reference type 'Persistent<v8::FunctionTemplate>' is not a pointer;
      maybe you meant to use '.'?
    constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
    ~~~~~~~~~~~~~~~~~~~~^~
                        .
../dtrace_provider.cc:27:27: error: no member named 'InstanceTemplate' in 'v8::Persistent<v8::FunctionTemplate,
      v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
    constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
    ~~~~~~~~~~~~~~~~~~~~  ^
../dtrace_provider.cc:28:25: error: member reference type 'Persistent<v8::FunctionTemplate>' is not a pointer;
      maybe you meant to use '.'?
    constructor_template->SetClassName(String::NewSymbol("DTraceProvider"));
    ~~~~~~~~~~~~~~~~~~~~^~
                        .
../dtrace_provider.cc:28:27: error: no member named 'SetClassName' in 'v8::Persistent<v8::FunctionTemplate,
      v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
    constructor_template->SetClassName(String::NewSymbol("DTraceProvider"));
    ~~~~~~~~~~~~~~~~~~~~  ^
../dtrace_provider.cc:28:48: error: no member named 'NewSymbol' in 'v8::String'
    constructor_template->SetClassName(String::NewSymbol("DTraceProvider"));
                                       ~~~~~~~~^
../dtrace_provider.cc:30:31: error: no viable conversion from 'Persistent<v8::FunctionTemplate>' to
      'v8::Handle<v8::FunctionTemplate>'
    NODE_SET_PROTOTYPE_METHOD(constructor_template, "addProbe", DTraceProvider::AddProbe);
                              ^~~~~~~~~~~~~~~~~~~~
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:196:26: note: candidate constructor
      (the implicit copy constructor) not viable: no known conversion from 'Persistent<v8::FunctionTemplate>' to
      'const v8::Handle<v8::FunctionTemplate> &' for 1st argument
template <class T> class Handle {
                         ^
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:213:32: note: candidate template ignored: could not
      match 'Handle' against 'Persistent'
  template <class S> V8_INLINE Handle(Handle<S> that)
                               ^
/Users/michaelbenin/.node-gyp/0.11.14/src/node.h:227:72: note: passing argument to parameter 'recv' here
inline void NODE_SET_PROTOTYPE_METHOD(v8::Handle<v8::FunctionTemplate> recv,
                                                                       ^
../dtrace_provider.cc:31:31: error: no viable conversion from 'Persistent<v8::FunctionTemplate>' to
      'v8::Handle<v8::FunctionTemplate>'
    NODE_SET_PROTOTYPE_METHOD(constructor_template, "removeProbe", DTraceProvider::RemoveProbe);
                              ^~~~~~~~~~~~~~~~~~~~
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:196:26: note: candidate constructor
      (the implicit copy constructor) not viable: no known conversion from 'Persistent<v8::FunctionTemplate>' to
      'const v8::Handle<v8::FunctionTemplate> &' for 1st argument
template <class T> class Handle {
                         ^
/Users/michaelbenin/.node-gyp/0.11.14/deps/v8/include/v8.h:213:32: note: candidate template ignored: could not
      match 'Handle' against 'Persistent'
  template <class S> V8_INLINE Handle(Handle<S> that)
                               ^
/Users/michaelbenin/.node-gyp/0.11.14/src/node.h:227:72: note: passing argument to parameter 'recv' here
inline void NODE_SET_PROTOTYPE_METHOD(v8::Handle<v8::FunctionTemplate> recv,
                                                                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/DTraceProviderBindings/dtrace_provider.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/michaelbenin/.nvm/v0.11.14/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1059:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/Users/michaelbenin/.nvm/v0.11.14/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/michaelbenin/Projects/industryweek-node/node_modules/core-services-sdk/node_modules/core-service-discovery/node_modules/zkplus/node_modules/bunyan/node_modules/dtrace-provider
gyp ERR! node -v v0.11.14
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm WARN optional dep failed, continuing<EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /Users/michaelbenin/Projects/industryweek-node/node_modules/grunt-sass/node_modules/node-sass
> node scripts/install.js

Binary downloaded and installed at /Users/michaelbenin/Projects/industryweek-node/node_modules/grunt-sass/node_modules/node-sass/vendor/darwin-x64/binding.node

><EMAIL_ADDRESS>postinstall /Users/michaelbenin/Projects/industryweek-node/node_modules/grunt-sass/node_modules/node-sass
> node scripts/build.js

`darwin-x64` exists; testing
module.js:355
  Module._extensions[extension](this, filename);
                               ^
Error: Module did not self-register.
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/michaelbenin/Projects/industryweek-node/node_modules/grunt-sass/node_modules/node-sass/lib/index.js:181:15)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

npm ERR! Darwin 14.0.0
npm ERR! argv "/Users/michaelbenin/.nvm/v0.11.14/bin/node" "/Users/michaelbenin/.nvm/v0.11.14/bin/npm" "i"
npm ERR! node v0.11.14
npm ERR! npm  v2.0.0
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.
Michaels-Air-2:industryweek-node michaelbenin$

Same issue here

Ok after a bit of head bashing i figured out that with node 0.10.36 everything works fine, so it's a compatibility problem with the latest node release, using nvm i was able to achieve what i needed

I was just wondering... But I guess you are already working on a fix? Not sure how to start my first project now :)

@christianromeni I'm not sure if you are sarcastic or you actually mean that you don't know how to start your project. If the latter is the case than you can install one of the previous versions by executing: npm install @, I suspect that something earlier than version 2 should work for you

@christianromeni https://github.com/gruntjs/grunt-contrib-sass will work for you now. It is ruby based so you have to have that installed. Just look at the readme. I have heard it compiles a little slower than node-sass, but it probably won't be a big deal unless your project is huge.

Sorry, that was not beeing sarcastic.. I'm new to this...
I was trying not to use the grunt-contrib-sass because I didnt want to install ruby...
I'm currently installing by adding this line to my package.js: "grunt-bower-concat": "^0.4.0"
Could I just use a lower version (like 0.3.9??) and it will work?

@christianromeni I just looked at grunt-bower-concat dependencies and it doesn't look like it has anything to do with node-sass, so if you've got a problem using grunt-bower-concat than I would recommend filing an issue on their repo page. However if it's still a node-sass issue you should do as you described, but instead of changing version of grunt-bower-concat in your package.json you should find node-sass and set an earlier version number to something preceding version 2, than remove your node_modules folder and reinstall everything with npm install

Is it like the process stuck forever or it throws after sometime with an error message?

@am11 In my case it looks like it's stuck forever. I gave it a minute or two to compute but after no result I've just terminated the process, I believe it's enough time.

I believe it's enough time.

Well I waited for ~30 mins, when I first encountered this error on Win. Eventually installation went through successfully. We figured out where it was hanging and fixed it. Now testing binary step (where it was hanging) was temporarily disabled in version v2.0.0-beta. Now it is really hard to guess what might be going wrong without any verbose output.
If you don't have time for such kind of diagnostic, then wait for vNext. We have some fixes in that area as well.
Momentarily, does this help? (manually binary installation)

@am11 Finally I had a while to test a solution suggested by you and it does work indeed. Thanks.

@jakub-c, v2.0.1 (shortly after v2.0.0 stable) is released. Note that the current stable/production-ready version of node.js is v0.12. With node-sass v2+, we support both v0.10 and v0.12.
See node-sass release notes: https://github.com/sass/node-sass/releases/tag/v2.0.0
and that of node-sass-binaries: https://github.com/sass/node-sass-binaries/releases/tag/v2.0.0

Problem persists with iojs-v2.4.0 and nodejs-v0.12.7.

@Centaur you problem is likely unrelated. Please open a new issue with the output from our troubleshooting guide

I too thought there was a problem... After an hour: Ctrl + C
npm config set loglevel silly
npm install
.... It took 2 hours. But it finished. I'm using a shitty laptop and running from a USB root drive.


Unit tests

Trying to get up to speed with Golang again. Decided to work on these. The intention here was to remove the test tables from the code into a separate JSON file, which should allow for simpler tests in the future. Fixed some bugs, etc.

IMO splitting the test data from the source complicates the tests because it requires more concepts (e.g. tc.Type) and is not as common as far as I have seen.


[Berkeley] port replayer nonces repair script dump

Porting https://github.com/MinaProtocol/mina/pull/15278 into berkeley

!ci-build-me

!ci-build-me

!approved-for-mainnet


Exporting an entire vault with links

I have a vault with lots and lots of atomic notes, interlinked into a big ball of knowledge and thinking (I know you probably do, too).
I'd like to back it up as a physical book. To do that, I'd like to export the whole vault as a PDF, with the following features:

Notes alphabetically sorted by title (case insensitive).
Automatic page numbers.
An automatically-generated ToC referring to notes by page numbers.
An automatically-generated index, by tag, referring to notes by page numbers.
Each individual [[internal wikilink]]`` will have the relevant page number next to it, as [[internal wikilink]] (15)`.
Graphics would be embedded (not a must).
YAML front-matter would be printed as-is, in the context of a note.

I understand this plugin does not do all of this out of the box, but I also know Pandoc is powerful. Has anyone done anything like this using obsidian-pandoc? Is it remotely possible? (I am open to sponsoring this work as a paid open-source project.)

Thank you @transiscodev - this is a project I'm happy to sponsor and support financially. Email me<EMAIL_ADDRESS>and let's talk and see how we can make this happen!


Rename Xr to XrSystem

Motivation
XR has been renamed to XRSystem.
Proposed Solution
Rename Xr to XrSystem.
Alternatives
I'm not really sure what real alternatives there are, if any.
Additional Context
Issue which proposed renaming: https://github.com/immersive-web/webxr/issues/936
PR which implemented this: https://github.com/immersive-web/webxr/pull/948

I'm willing to deal with this and #2800 myself, I'm just not sure how.

Update: I seem to have figured it out. PRs inbound.


Add support for section length arithmetic using + sign as used in stm32f7xx-hal crate.

This change adds support for defining the RAM region's length as 10K + 10M. This type of notation is used in the stm32f7xx-hal crate and flip-link failed with the message MEMORY.RAM found after scanning linker scripts which was also fixed to add the missing not.

Yeah this seems fine to me, but it doesn't allow multiple RAM regions, right? Just addition in the length specification?

Yeah this seems fine to me, but it doesn't allow multiple RAM regions, right? Just addition in the length specification?

yeah, the title is not accurate: it doesn't enable multiple RAM regions; it enables arithmetic (addition) in the LENGTH info of RAM regions

PR #15 has landed. restarting CI still fails though (I re-started the CI job). I think rebasing (or maybe just pushing a new commit?) may be needed.
@matoushybl could you rebase this PR against the tip of the "main" branch?

Thank you for the fast review, CI seems to be fixed now. I have renamed the PR for future reference so that the name is not misleading.


Create SECURITY.md

I see what you're trying to do here now. I've created an internal issue for defining a security policy for this repository. Expect this policy to be added sometime in the near future. I will close out this PR in favor of the future PR that will be added for this.
Thank you for your PR, it pointed out to us that we were lacking a security policy.


Fix typo: reaquire -> reacquire

Sure, feel free to merge whenever it suits you. Thanks for accepting the PR!

Thanks again @lupino3!


Move the ts-results fork documentation out of the readme

Following up on the work started in [1].
Applied some necessary changes to the content since we're migrating from Markdown to reStructuredText.
[1] 633ccad330e8 ("Set up an initial documentation structure (#81)")

We're following https://diataxis.fr/ here.
Open question, should it be "Explanations" or maybe something else?

Key topics
Background
Explanation (note: no "s" at the end)
...

Yup, I'll change to Explanation


return empty strings last on an orderBy

Orderby returns something like ' ', ' ', 'a', 'b', 'c' by default. I'd like to retrieve 'a', 'b', 'c', ' ', ' '.
I can't find any examples or anything in the docs regarding this matter.
I wonder how would one go about using bookshelf to achieve this, or if I should use knex instead.
Thanks!

This depends on which flavour of SQL you are using. In PostgreSQL, this should work:
var sortColumn = 'column_name';
Model.query('orderBy',
  // First sort by whether the column is null or not.
  knex.raw('case ?? when '' then 0 else 1', sortColumn),
  // Break ties on the content of column.
  sortColumn
).fetchAll();

great thanks, for anyone reading, in mysql you need to add "end". Also it has to be then 1 else 0, the code below worked for me
var sortColumn = 'column_name';
Model.query('orderBy',
  // First sort by whether the column is null or not.
  knex.raw('case ?? when " " then 1 else 0 end', sortColumn),
  // Break ties on the content of column.
  sortColumn
).fetchAll();

just wanted to say that the solution I gave before doesn't work. It does put nulls at the end but sorts the rest of the collection by, apparently, the ids, and not the sortColumn I define. Trying stuff we've come up with:
var sortColumn = 'column_name';
Model.query('orderBy',
// First sort by whether the column is null or not.
knex.raw('case ?? when " " then 1 else 0 end', sortColumn))
.query('orderBy', sortColumn)
.fetchAll();
which seems to do the trick, eventhough it doesn't make much sense to me by looking at the code. So any explanation of why this could work would be cool!
Hope this helps...


missing images in getting-started-guides/logging

The images were removed in https://github.com/kubernetes/kubernetes/commit/3521a66dcec0347883e655594d264ba4c33f87c4 but the article was not updated. So there are broken images now in http://kubernetes.io/docs/getting-started-guides/logging/
I filed this issue originally here: https://github.com/kubernetes/kubernetes/issues/29545

Logging page has been moved and revised.


[Event Request] Codeunit 80 Sales-Post - procedure PostDropOrderShipment - OnAfterPostDropOrderShipment

Please add the following existing Event OnAfterPostDropOrderShipment to procedure PostDropOrderShipment in Codeunit 80 Sales-Post
[Event Request] Codeunit 80 Sales-Post - procedure PostDropOrderShipment
var
    PurchSetup: Record "Purchases & Payables Setup";
    PurchCommentLine: Record "Purch. Comment Line";
    PurchOrderHeader: Record "Purchase Header";
    PurchOrderLine: Record "Purchase Line";
    RecordLinkManagement: Codeunit "Record Link Management";
begin
    OnBeforePostDropOrderShipment(SalesHeader, TempDropShptPostBuffer);

    ArchivePurchaseOrders(TempDropShptPostBuffer);
    with SalesHeader do
        if TempDropShptPostBuffer.FindSet() then begin
            ...
                until TempDropShptPostBuffer.Next() = 0;
                TempDropShptPostBuffer.SetRange("Order No.");
                OnAfterInsertDropOrderPurchRcptHeader(PurchRcptHeader);
            until TempDropShptPostBuffer.Next() = 0;

            OnAfterPostDropOrderShipment(TempDropShptPostBuffer); // <-- NEW EVENT

        end;
end;

[IntegrationEvent(false, false)]
local procedure OnAfterPostDropOrderShipment(var TempDropShptPostBuffer: Record "Drop Shpt. Post. Buffer"  temporary)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52435.


Make arrow icons consistent

Review icons throughout app, use font-awesome consistently
Example:

vs.

to be addressed in #889


Provide async methods

In order to stay DRY, make the current methods async, then rewrite the sync methods by calling the async methods and Wait().

Usually you have 2 reasons to implement async:

Scalability - you can fire multiple concurrent requests at the same time, and given the server that receives the requests is not overloaded or limited, you might get the results faster.
Latency - High latency operations you have to wait for improves with async, as you don't have to wait for them.

Now, this API implementation does not benefit from 1, as we are limited to 4 requests each minute. Calling the API 4 times in a row vs. 4 times at once does not really make a big difference. I would also like to keep the VT public API free, which means no spamming of requests. They also support batch requests, which means you should ask for 4 hashes at the same time, instead of 4 requests with only 1 hash, making async even less efficient. Note that if this API ever evolve to support the private part of the VT API (it might happen within the next months), it would probably make a lot more sense to implement async.
As for reason 2, the VT API is relatively low latency. If you ask for 25 hashes, it will respond within a second in most cases. Currently, this does not warrant an implementation of async methods.
I see async methods as a feature, but there has to be a reason to implement that feature. Currently, I see little reason to add more complexity (threading) to the API. You have to consider the many people out there that are new to the Tasks framework in .NET, and think it is weird that all methods return a Task object instead of just returning their results. For the moment, I think it is reasonable for you to do new Task(() => vt.Scan("...")).Start(); instead of asking everyone else to do vt.Scan().Wait();
While I'm closing this issue, I consider it a feature request for the future, and your request is taken into consideration.

It's about asynchronous IO, not about multithreading. Anytime network requests are involved you're needlessly blocking the caller for a huge amount of CPU cycles (billions). Also, "a second" is a subjective experience, if you're on EDGE it might be a different story than broadband etc.
WIth RestSharp async is easy, you just do await ExecuteAsync() instead of Execute(). You can then expose two sets of methods: one is synchronous just like now (e.g. GetUrlReport()) and the other is asynchronous (e.g. GetUrlReportAsync()). To keep it DRY, the synchronous variant can be a one-liner that calls the asynchronous variant, e.g. return GetUrlReportAsync().Result;  For people who want to use the synchronous variant nothing changes.

"Anytime network requests are involved you're needlessly blocking the caller for a huge amount of CPU cycles (billions)"
That depends on how you wait. If you use reset events with WaitOne() as the underlying .NET framework does when waiting for a response, the CPU can effectively switch context to another thread, causing the waiting thread to use no CPU. If the methods were async, and you .Wait() on it instead, it is exactly the same waiting using reset events. In terms of performance, adding async would increase the number of threads, and therefore the number of wasted CPU cycles, it is however negligible.
Cluttering the API with sync and async methods does not make much sense to me. Again, you can easily call a synchronous method in an asynchronous fashion by creating a new thread, which is exactly what the async keyword does for you under the covers.

I didn't mean spinning (busy waiting) but rather blocking, i.e. the waiting thread can't do other stuff in the mean time. In a desktop application, your GUI will freeze.
Async/await does not create a new thread. See also.

That is not true. The blog/post you refer to are simplifying the issue and sums it up into a resounding "no". However, there are missing a few important details. Async does create threads when it encounters something CPU intensive, but it is also heavily optimized and can execute directly in the callers thread (and context) if the job takes little time, thus saving the overhead of creating a thread and new context (using a thread pool). It also have an optimization on IO bound operations where it uses IO completion ports, which can be more efficient in the case where multiple IO operations are queued - usually we create a thread and then queue the IO job, but with async/await, it queues the job from the callers thread to minimize overhead.
That being said, the results are still the same: there is an overhead in using async none the less from the fact that is has to measure execution calls, save contexts, multiple marshal calls to win32 and more. This is NOT a reason to not use async in the library, it is just to counter the argument that billions of CPU cycles are lost.
Also note that HttpWebRequest is not an awaitable and since the operation takes time, it will spawn a thread for each call anyway.

These posts are only about IO bound tasks (like HTTP requests), obviously if you have a CPU bound task it has to run somewhere and if it can't be the callers thread which it can't block then it must be another thread. But in this context here we're only talking about network requests (IO bound). The async/await keywords themselves never create new threads.
I'm not saying the CPU cycles are lost in the sense that the calling thread is consuming them without doing any real work (busy waiting). In the synchronous case the calling thread is just blocked (does nothing) for the amount of time the request takes to complete. So, if a request takes 10 seconds, the calling thread is blocked for 10 seconds. If that calling thread is the UI thread, your GUI will freeze for 10 seconds.
HttpWebRequest uses the traditional Asynchronous Programming Model (APM) and RestSharp wraps it to expose a Task based API. No threads.

You have to understand that I'm looking at it from a library point of view. Introducing new language features like async that depends on Task limits the portability of the library and force the library to be build with a newer version of .NET due to the TPL dependency. Hopefully this will change soon as .NET Core comes out and we can bundle the TPL dependency directly in the library.
There is also the issue with new users. Think back to when you first started C# development and you saw 100 methods/properties/fields in intellisense, and half of them you did not even understand how to call (async callbacks). I've always tried to keep it as simple as possible API wise and do all the complex stuff under the hood. In this case, the library is just a simple wrapper for the HTTP API with some methods for convenience.
95% of all projects don't care if you spawn another thread to do async work as the memory overhead is small(ish), and since this API is only targeting the VT public API where you have a limit of 4 request/sec, it really does not matter much at all, and the compromise between usability, simplicity vs. memory overhead is for me a no-brainer, so I go with usability and simplicity over async features.
That being said, I'm doing a large project with performance in mind, and I have to build it with the private VT API, so I'm kinda forced to rethink a lot of things. You mentioned rate limits in #16 as well as async in this issue. There have also been requests over the years for file extension filters, rotating API keys and much more, and usually the answer have been the same: YOU have to decide on how to do that stuff, this is not an enterprise API with "all you can do" features :)
However, as I'm going to rework a lot of things in the private VT API, async is not a bad idea, as well as simple work queuing (due to potential large amounts of work, and limited batch sizes can be sent to VT private API). So I'm reopening this issue as a reminder.

This has been implemented in 04c3f78710010372bb309dd4e6433515d85f55a3


Logs show block numbers in weird format

Hi
In v24 and prior the logs would show the block numbers

however from 25, 26 the logs seem to have a weird annotation for the block numbers. Is this correct and a new format? Or is it a bug? The block number is now hidden inside a bunch of new additional blurb

According to telemetry the nodes is all fine and in sync.

This impacts the monitoring on my nodes as I get info from the logs to do active alerts.
Thanks

This looks like the log lines are mixed. How do you run the node? Did you tried to just run it on the terminal?

I'm running it as a service as it is a validator node. So I read this in /var/log/syslog
I just tested it now on the terminal. It does not do this in the terminal.
It has a consistent pattern and if using a regex syntax you can pull out the number consistently. For some reason when writing to the log it has this extra text. If i revert back to version 24 it works fine. This is only visible from 25 and 26 which indicates something has changed from 25 that causes this.
Hope this helps

I suspect this commit: https://github.com/paritytech/substrate/commit/46faa92432e3b85fde64e7fa504839ab81a462d1
By running it as service you mean you run it as systemd service?

I think the "blobs" are just ANSI color codes.
We shouldn't be trying to print colors when not printing to the terminal.

By running it as service you mean you run it as systemd service?

yes, run as systemd service

Will be fixed by this: https://github.com/paritytech/substrate/pull/7525

noice


Redirect stdout en stderr to matlab command window

Instead of redirecting to file, it is probably possible to redirect to the matlab command window.
We would need to connect to matlab from c(++) code: https://nl.mathworks.com/help/matlab/apiref/matlab.engine.connectmatlab.html
Redirect the output streams in the c code (many stackoverflow questions)
And make it so the redirected stream is shown in the command window: https://nl.mathworks.com/help/matlab/matlab_external/displaying-output-in-matlab-command-window.html
Where instead of explicit call to displayOnMATLAB, that should be wrapped in the streambuf sync.

Part of this workflow can maybe be replaced with a piggyback on an existing neuron stdout redirection for python. That shold be looked into first.

I have tried to use mex functionality by giving generateLibraryDefinition the argument IncludePath=fullfile(matlabroot, "extern", "include").
If I then try to import "mex.h" (for using mexPrintf), I get the error:
error: Using MATLAB Data API with C Matrix API is not supported.
Importing "mex.hpp" and "mexAdapter.hpp" gives:
\extern\include\cppmex\detail\mexFunctionAdapterImpl.hpp(38):
error: incomplete type is not allowed

First (unsuccessful) try on a new branch exploration_connect_MATLAB_session: https://github.com/edovanveen/matlabneuroninterface/tree/exploration_connect_MATLAB_session


Run folders

It's already cumbersome naming the output log and execution record yaml using timestamp suffixes.  This might get even more cumbersome with individual step log files as in #5 .  I think we could refactor to have a timestamped execution folder that contains the various other output files.

Did this in c8f5ec3b02f22ffb6f83bfed2b239f6ff53ed159


Network support on Linux

Hey, hey, awesome project!
How hard, do you think, it would be to implement a simple virtio networking device which tunnels traffic to some external “port”?
I have never done any emulation work, so I am unaware, but I have heard virtio devices are really simple!


ByteStreamJVM.writeToOutputStream is documented as not closing the provided stream, but does close it

Describe the bug
ByteStreamJVM.writeToOutputStream is documented as This method does not flush or close the given OutputStream. but does close the stream (indirectly).
outputStream.sink() ultimately creates an okio.OutputStreamSink that has override fun close() = out.close()
We ran across this writing S3 objects (in a loop) to a ZipOutputStream that was closed after the first call to body.writeOutputStream(...).
Regression Issue

[x] Select this option if this issue appears to be a regression.

Expected behavior
Expecting that writing to a stream does not close it.  One may wish to write further data to the stream, as is the case with a ZipOutputStream with multiple entries.
Current behavior
writeOutputStream closes the stream, contradicting the documented behaviour.
Steps to Reproduce
Pass a stream into any ByteStream.writeToOutputStream and check its state after the call.
Possible Solution
Wrap in some form of close-suppressing sink, or a close-suppressing OutputStream.
We worked around this by doing body.toInputStream().copyTo(outputStream) (which isn't great, that InputStream may or may not need to be closed...)
Context
Good for now - pls restore the documented functionality!
AWS SDK for Kotlin version
1.3.52 (unclear where the regression happened, or if this ever worked as documented)
Platform (JVM/JS/Native)
JVM
Operating system and version
any

Hi, thanks for the report. I've set this as high priority and will begin working on it as soon I'm finished with unrelated work as part of my on call shift. Thanks again, I see how this is confusing.

Hello and thanks for the report, I was able to replicate the issue and am working on a fix.

Hello, we've merged a fix for this issue and it'll be included in an upcoming release. writeToOutputStream will maintain its existing behavior to ensure backwards compatibility, and a new appendToOutputStream method was added which does not close the stream.


Unable to run jest tests

Hi.
I'm using NVIM v0.7.0, just installed this plugin.
When i run TestSuite on a .test.js file, I'm getting the following error.
'node_modules' is not recognized as an internal or external command,
operable program or batch file.

My OS is windows. Could that be causing any problems?
Not sure if i'm doing something wrong.

I wonder if this a directory path issue for windows though if it can't read the path then it would default back to jest

I have this issue on windows as well. You need to add the following:
let g:test#javascript#runner = 'jest'
let test#javascript#jest#executable = 'npm test --'

Thanks @adam-r-kowalski. That worked for me. Closing this issue.
Is this documented somehwere?

I have this issue on windows as well. You need to add the following:
let g:test#javascript#runner = 'jest'
let test#javascript#jest#executable = 'npm test --'

This is a work around as it's overriding the test detection and configuring it to use the npm script instead so we should fix this issue. I wonder if it's node module binaries are handled differently on Windows 🤔


VLAZ: Watch adontec.com

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

adontec\.com has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Rubocop RSpec Defaults (Metrics/BlockLength) - Thoughts?

This in theory is a tiny PR. But first I wanted to get your take on it as contributors.
In Rubocop RSpec, every project I have ever used always adds 2 overrides, or ignores.
Metrics/BlockLength:
  Exclude:
    - *.gemspec # For whatever the name of your gem may be
    - spec/**/_spec.rb # nearly all spec files go over 25 lines

Should we add new upper limits / ignores for these 2 specific files. I personally think we should and it would save me overriding these in every project I work in.

Sure, I agree. Also CanCan abilities. And factories especially if nested factorys are used.
Can we override BlockLength in our config without breaking it for the rest of the directories?
I'm not sure we should add gemspec inclusion here, but pretty sure you didn't mean it, just added it as another example.

I actually did sorry. Most gemspecs are over 25 lines long. When you factor in all the options that are configured.
For each example of me creating a gem I have this override in. Also to my knowledge having an override which doesn't exist doesn't crash the system.

Metrics/BlockLength:
  Exclude:
    - *.gemspec

this is better be discussed in https://github.com/rubocop-hq/rubocop/issues then.
Otherwise, a pull request is appreciated.
So, the scenario is:

A repo locally excludes BlockLength for app/abilities
rubocop gem excludes *.gemspec in its config/default.yml
rubocop-rspec excludes spec/**/_spec.rb in its config/default.yml
it all works together and excludes all of that.

Chances are this may work by default, and in this case, it's enough to send two pulls, one -0 +1 to rubocop, another -0 +4 here, and fix it once and for all.
If it doesn't - I encourage you to look at inherit_mode.

I missed this response. Sorry. I'll actually look into doing this soon if you think it's a valid inclusion.
I agree the gemspec one should go to rubocop proper. And the rubocop-rspec should have exclude for Metrics/BlockLength.
Sorry for missing this all this time.

The gemspec one was already done. (Apologies for it being 3 months). And for some reason I wasn't picking it up. But evidently this is fixed. I'll look into the rspec one soon

Fixed in #1256 (unless I'm missing something).


Issue on docs multipart form im,age not upload

Path: /documentation/getting-started/rest/uploading-data

Hey, @hemakumarm72 , I'm unable to reproduce this issue. The image upload works fine for me. Could you please confirm if you're still experiencing this problem? If yes, could you provide more insight into the issue?


Module MsDtc missing in gallery

Find-Module MsDtc
PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'MsDtc'. Try Get-
PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:8879 char:9

    PackageManagement\Find-Package @PSBoundParameters | Microsoft ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Exceptio
n
FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage

Get-PSRepository
Name                      InstallationPolicy   SourceLocation

PSGallery                 Trusted              https://www.powershellgallery.com/api/v2
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 40455efa-c775-9b2c-b2dd-17475bb3d26a
Version Independent ID: e21ff031-2769-4a12-a691-037a8ebe105a
Content: MsDtc Module
Content Source: docset/winserver2019-ps/msdtc/MsDtc.md
Product: w10
Technology: windows
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20211205043622626 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20211205043622626 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
27272

Relevant Lines:
59354

💛  - Coveralls


Don't use absolute paths in commands

Problem
During the workshop, we often define paths in an absolute way as shown below.
kubectl apply -f ~/kubernetes-hackfest/labs/create-aks-cluster/create-namespaces.yaml

This is an issue because copy and pasting these commands only work if the participant

cloned the repo into his $HOME folder
named the folder kubernetes-hackfest (GitHub default is kubernetes-hackfest-master)
the above is never mentioned or advised

Possible solutions
I propose relative paths instead and would like to discuss that with you!
turn
kubectl apply -f ~/kubernetes-hackfest/labs/create-aks-cluster/create-namespaces.yaml

into
kubectl apply -f labs/create-aks-cluster/create-namespaces.yaml

or even
kubectl apply -f create-namespaces.yaml

(assuming that the user is in the same folder as the lab)
What do you think? Have there been any reasons for doing it the way it currently is? I am happy to file a PR, which addressed that issue, once discussed.

We had gone back and forth on this a while back. The idea was to make it super easy in the cloud shell, but I agree that it causes confusion.
I support the idea that the user is always in the kubernetes-hackfest directory. So paths are all relative to that. So something like:
kubectl apply -f ./labs/create-aks-cluster/create-namespaces.yaml

If you're willing to PR, that would be great. Just want to be sure we are consistent throughout the labs. And we need something in lab 1 to make sure they change dir to the root.
What do you think @jschluchter @dstrebel ?

I created a PR ☝ and decided to go with the following variant:
kubectl apply -f labs/create-aks-cluster/create-namespaces.yaml

This should be most flexible, as the users can clone the repo to wherever they want and just need to navigate to its root directory. From there, all commands can still be fired easily by copy-pasting them to any terminal.


Essentials V3 API

Adds support for the Candid Essentials V3 API. Some noteworthy changes include:

Adding a Candid::EssentialsV3 module, allowing API key configuration
Exposing a search_by_term method on that module that also supports filtering
Refactored some existing modules
Updated README

Double checking because I mess this up constantly -- is the PR meant to be against master?


[Bug] FE prod env is directing to BE dev env

Describe the bug
When the use is trying to authenticate he is redirected to the BE dev server instead of the prod one

PR:
https://github.com/data-for-change/anyway-newsflash-infographics/pull/950


Add framework for implementing Blockfrost queries

Pre-review checklist

[x] All code has been formatted using our config (make format)
[x] Any new API features or modification of existing behavior is covered as defined in our test plan
[x] The changelog has been updated under the ## Unreleased header, using the appropriate sub-headings (### Added, ### Removed, ### Fixed), and the links to the appropriate issues/PRs have been included

I think this closes #1120


fix ci

as title

Coverage remained the same at 98.463% when pulling 80eb0249ad4f777112e413b090b65a3fb308faab on xenoamess-fork:fix_ci into d3e74a7fb34fd3d8b470c695741b2b5591eda3c4 on apache:master.

@XenoAmess
Seems obsolete now?

Closing, obsolete, no reply.

@XenoAmess
Seems obsolete now?

Yep.
Too busy last month.
Sorry for the late reply.


Moving an animation track down in the track list does not work as intended

Godot 3.1 Stable. Windows 10.
Moving a track up in the animation track list seems to work alright but moving a track down swaps the tracks in some way.

Confirmed.  Encountered this just yesterday.  Also worth adding, unless I'm overlooking something, the property groups as a whole can't be moved or reorganized in anyway.


Add Installation and Running Instructions to README

Description
This pull request adds detailed instructions on how to install and run the project to the README file. These instructions will help new users and contributors get started quickly and easily.
Related Issues
Please review this changes and approve
fixes issue https://github.com/Priyaaa1/StartConnect-Hub/issues/671

Closes #671

Type of PR

[ ] Bug fix
[ ] Feature enhancement
[x] Documentation update
[ ] Other (specify): _______________

Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have performed a self-review of my code
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
Hello @Priyaaa1,
Please review the changes at your earliest convenience and consider merging them. Thank you!

@MastanSayyad Please review the changes

@MastanSayyad Will I get any points?

No, as minor changes in readme.md files are only worth gssoc label!, (as per the gssoc guidelines), so no points.


自动化任务的内容错误（Automated Task）

添加 延时更新，实际是 按键
添加 按键，实际是 延时更新

Oops, thank you.
It was fixed, I'm going to release v2.19.3 tomorrow.


Incomplete session data

Used in conjunction with:
import passport from 'passport';
import { Strategy } from 'passport-steam';

Session data generated is incomplete, an invalid json object.
Console output, debugging output of session variable:
23:43:52 - Starting compilation in watch mode...
[0]
[0]
[0] 23:43:53 - Found 0 errors. Watching for file changes.
[1] ⚡[server]: Server is running at https://localhost:3000
[1] {
[1]   id: 'CBpA13VXdJwuIFAkenkOzekaILnpMY_8',
[1]   sid: 'CBpA13VXdJwuIFAkenkOzekaILnpMY_8',
[1]   data: '{"cookie":{"originalMaxAge":86400000,"expires":"2022-04-30T21:43:25.453Z","httpOnly":true,"path":"/"},"passport":{"user":{"provider":"steam","_json":{"steamid":"7656xxxxx","communityv',
[1]   expiresAt: 2022-04-30T21:43:25.453Z
[1] }
[1] get(): SyntaxError: Unexpected end of JSON input
[1] GET / 500 21.584 ms - 566

data variable content:
{"cookie":{"originalMaxAge":86400000,"expires":"2022-04-30T21:43:25.453Z","httpOnly":true,"path":"/"},"passport":{"user":{"provider":"steam","_json":{"steamid":"7656xxxxx","communityv',

as can be seen the json content is incomplete
application crashes.

SyntaxError: Unexpected end of JSON input at JSON.parse () at PrismaSessionStore. (F:\x\node_modules@quixo3\prisma-session-store\dist\lib\prisma-session-store.js:310:54) at step (F:\x\node_modules@quixo3\prisma-session-store\dist\lib\prisma-session-store.js:63:23) at Object.next (F:\x\node_modules@quixo3\prisma-session-store\dist\lib\prisma-session-store.js:44:53) at fulfilled (F:\x\node_modules@quixo3\prisma-session-store\dist\lib\prisma-session-store.js:35:58)

@hugil - thanks for the report. Not sure what's going on here...

Did this happen once, or is it repeatable?
Have you been able to trace where the corruption of the session data originates?
Is it possible for you to post files for reproducing this situation?

@kleydon - thanks for looking into this

Did this happen once, or is it repeatable?
It happens 100% of the time.

Have you been able to trace where the corruption of the session data originates?
passport-steam returns a complete JSON object which is then passed into the session store, I output the sessionString variable before it parsed by this module and there it is completely fine, but after it gets parsed and put into the database I believe it is messing it up during the serialization process, however haven't had time to look into those details yet.

Is it possible for you to post files for reproducing this situation?
Yes, I will do so soon

Hi @hugil - I noticed that you and another user of prisma-session-store, @decifris - see issue #83 - are both using passport; maybe you can put your heads together on this issue, if its still occuring?

Hi. I'm having similar error using passport.
Data will get saved, but only part of them, not the user variable.
Table row example:
id: hDun73nT-sm4CS84tKj9hsqcaVWONxqa
sid: hDun73nT-sm4CS84tKj9hsqcaVWONxqa
data: {"cookie":{"originalMaxAge":604800000,"expires":"2022-06-26T21:16:58.261Z","httpOnly":true,"path":"/"}}
expiresAt: 2022-06-26 21:16:58.262

Error (happens on auth callback)
Error:
Invalid `this.prisma[this.sessionModelName].delete()` invocation in
C:\node_modules\@quixo3\prisma-session-store\dist\lib\prisma-session-store.js:266:91

  263 case 3:
  264     _a.sent();
  265     return [3 /*break*/, 6];
→ 266 case 4: return [4 /*yield*/, this.prisma[this.sessionModelName].delete(
  An operation failed because it depends on one or more records that were required but not found. Record to delete does not exist.
    at RequestHandler.request (C:\node_modules\@prisma\client\runtime\index.js:49022:15)
    at PrismaClient._request (C:\node_modules\@prisma\client\runtime\index.js:49919:18)

My schema;
model Session {
  id        String   @id
  sid       String   @unique
  data      String
  expiresAt   DateTime
}

Express session config:
app.use(
  session({
    proxy: true,
    secret: process.env.SESSION_SECRET,
    name: 'the_session',
    resave: true,
    saveUninitialized: false,
    store: new PrismaSessionStore(prisma, {
      checkPeriod: 2 * 60 * 1000,
      dbRecordIdIsSessionId: true,
      dbRecordIdFunction: undefined,
    }),
    cookie: {
      maxAge: 7 * 24 * 60 * 60 * 1000, //week
    },
  })```

A fix from PR #93 may improve matters, here; tbd.

A fix from PR #93 may improve matters, here; tbd.

First session store worked fine after upgrading the package. The next one throwed me same error.

Ok - good to know; thanks for the feedback.

Hi again,
Sorry for the delay on updates on this issue from my side.
Did some further investigation.
So it turns out that the issue is due to the MySQL default character limitation (191 characters)

The index key prefix length limit is 767 bytes for InnoDB tables that use the REDUNDANT or COMPACT row format. For example, you might hit this limit with a column prefix index of more than 191 characters on a TEXT or VARCHAR column, assuming a utf8mb4 character set and the maximum of 4 bytes for each character.

Attempting to use an index key prefix length that exceeds the limit returns an error.
Reference: https://dev.mysql.com/doc/refman/8.0/en/innodb-limits.html

@hugil - Glad the source of the problem finally revealed itself! Thanks for sharing what you discovered.


⚠ Bofrost.de has degraded performance

In 64a21ea, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1341 ms

Resolved: Bofrost.de performance has improved in ee43a62 after 36 minutes.


Delete unused initializer in Protected

Issue Link :link:
N/A
Goals :soccer:
Delete unused initializer
Implementation Details :construction:
N/A
Testing Details :mag:
N/A

@jshier
Understood, but I think we also can use the init(wrappedValue: T) initializer if we don't want to use it as a property wrapper.
Anyway, we can keep the init(_ value: T) initializer, but I suggest adding some comments about it, so users can better understand this property wrapper.


Change linked .md file from menu item "versions"

1.) Please link the following .md file to the main menu item "versions"
https://github.com/eclipse-tractusx/tractus-x-release/blob/main/CHANGELOG.md
2.) Please delete the old .md file afterwads
https://eclipse-tractusx.github.io/versions/

was solved by @santiagoejm  in #170
to 1.) for now you can use the following link https://eclipse-tractusx.github.io/CHANGELOG
to 2.) https://eclipse-tractusx.github.io/versions/ is not available anymore
@danielmiehle  because you already merged it would assume that this issue is obsolete for now, will close it


Fixed twitter hyperlink in README

Description
A very simple hyperlink update in the README

Ahhh single line prs fixing typos... Must be October... 🤣

This will merge down from the dev branch soon


Station Monitor vs Maintenance Reports Visits

Make it sure that the visit dates are matching between stations monitor and maintenance reports visualizations.

Fixes have been deployed to the cloud server


Better babel support / support for .babelrc file

Our current configuration of babel for microservices is a bit hard-coded. We should respect the users .babelrc configuration / make babel configurable in the stack tool.
see: https://github.com/Stackvana/stack/blob/master/lib/compileServiceCode/babel/index.js#L7
I'm not personally using babel for development, so it any babel users can assist here, it would be much appreciated.
cc @ljharb

You'll need to get their babel settings, but also the node modules that they depend on (ie, babel plugins and presets)

@ljharb -
Is there a module which will do this already?
Will the users have to modify package.json dependencies based on their config? Is this automated anywhere?
Trying to get a feel so that this will "just work" for babel users.
Essentially, we need to be able to clone this folder and run npm start https://github.com/Stackvana/microservice-examples/tree/master/babel-hello-world Current issue is that plugins and presets don't know where to resolve.

When running babel-hello-world as standalone.
ReferenceError: Unknown plugin "syntax-async-functions" specified in "base" at 0, attempted to resolve relative to "/Users/a/dev/stackvana/microservice-examples/babel-hello-world"
   at /Users/a/dev/stackvana/stack/node_modules/babel-core/lib/transformation/file/options/option-manager.js:177:17
   at Array.map (native)
   at Function.normalisePlugins (/Users/a/dev/stackvana/stack/node_modules/babel-core/lib/transformation/file/options/option-manager.js:153:20)
   at OptionManager.mergeOptions (/Users/a/dev/stackvana/stack/node_modules/babel-core/lib/transformation/file/options/option-manager.js:245:36)
   at OptionManager.init (/Users/a/dev/stackvana/stack/node_modules/babel-core/lib/transformation/file/options/option-manager.js:383:12)
   at File.initOptions (/Users/a/dev/stackvana/stack/node_modules/babel-core/lib/transformation/file/index.js:223:65)
   at new File (/Users/a/dev/stackvana/stack/node_modules/babel-core/lib/transformation/file/index.js:140:24)
   at Pipeline.transform (/Users/a/dev/stackvana/stack/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
   at Object.compileBabel [as babel] (/Users/a/dev/stackvana/stack/lib/compileServiceCode/babel/index.js:24:16)
   at _spawnService (/Users/a/dev/stackvana/stack/lib/spawn.js:186:58)

they need to be installed locally inside the project that references them, i think

That makes sense.
I guess best practice is for developers to specify the required deps in dev dependencies of the project.


Fixed #25797 -- Fixed regex for getting units from SRS WKT.

https://code.djangoproject.com/ticket/25797

merged in 717a54c88307eabda9240cd28f0c7851f18b45eb, thanks!


[v2] Firefox - source control doesnt show project names.

V2 Docker version of vs code in Firefox - project names are not displayed.
So it makes it really hard to know which project changes are from.
See image:

Git project names are visible just fine in chromium: 77.0.3865.90 on same box.
Firefox version: 69.0.3 on Fedora 30 linux.

Hey OP, I'll be closing this since Microsoft has stated they would want this be seen on the main vscode project. Make sure to prefix [web] and use the same exact details here (with the exception of code-server version). Thanks for helping us out spot bugs!


Cannot build bazel-deps

Issue description
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
ERROR: error loading package '': Encountered error while reading extension file 'scala/scala.bzl': no such package '@io_bazel_rules_scala//scala': Traceback (most recent call last):
        File "/build/output/external/bazel_tools/tools/build_defs/repo/git.bzl", line 166
                _clone_or_update(ctx)
        File "/build/output/external/bazel_tools/tools/build_defs/repo/git.bzl", line 72, in _clone_or_update
                fail(("error cloning %s:\n%s" % (ctx....)))
error cloning io_bazel_rules_scala:
+ cd /build/output/external
+ rm -rf /build/output/external/io_bazel_rules_scala /build/output/external/io_bazel_rules_scala
+ git clone git://github.com/bazelbuild/rules_scala /build/output/external/io_bazel_rules_scala
Cloning into '/build/output/external/io_bazel_rules_scala'...
fatal: unable to look up github.com (port 9418) (Name or service not known)

Steps to reproduce
nix-env -iA nixpkgs.bazel-deps
Technical details

system: "x86_64-linux"
host os: Linux 4.14.76, NixOS, 18.09.932.09195057114 (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.1
channels(bruno): "nixpkgs-19.03pre156996.c70ad805d21, unstable-19.03pre157646.f129ed25a04"
channels(root): "nixos-18.09.932.09195057114"
nixpkgs: /home/bruno/.nix-defexpr/channels/nixpkgs

@uri-canva ^

Sorry about that, seems like I broke it when I update bazel, I guess something changed with how bazel fetch works. The new version of bazel-deps has dependencies declared in a way that interacts correctly with bazel fetch in the current version of bazel, so I updated it: #49738.


Handle in custom Node Type isn't receiving nodeId

I have implemented a custom node type with an editable
 inside of it. I'm trying to replicate the input, default, and output nodes with the exception of the
 I mentioned.
I was able to implement this successfully, but I discovered that the Handles inside are giving me some issues. Primarily, clicking and dragging the mouse from a Handle does not show a new edge from the source. Investigating the DOM shows that the Handles aren't given the data-nodeid attribute.
I added a log in the onConnect property of the Handle component with the following line:
onConnect={(params) => console.log('handle onConnect', params)}
The output is: {   "source": null,   "sourceHandle": "source_node_hh700k",   "target": null,   "targetHandle": "target_node_4bg1u" }

I don't know why the Handles aren't finding either the source or the target.
The relevant node type code:
const NodeInput = ({ node_id, label }) => {
	const { elements, setElements } = useFlow();
	const [input, setInput] = useState(label || '');

	useEffect(() => {
		modifyNodeData(setElements, node_id, {
			label: input
		});
	}, [input]);

	const isEditable = getNode(elements, node_id)?.data?.editable || false;

	return (
		<div
			className={`k-node-input${isEditable ? ' nodrag' : ''}`}
			onBlur={ev => setInput(ev.target.textContent)}
			contentEditable={isEditable}
			suppressContentEditableWarning={true}
		>{input}

	);
};

const KInput = ({ id, data, isConnectable, sourcePosition }) => {
	return (
		<>
			<NodeInput
				node_id={id}
				label={data.label}
			/>
			<Handle
				type="source"
				position={sourcePosition}
				id={`source_${id}`}
				onConnect={(params) => console.log('handle onConnect', params)}
				isConnectable={isConnectable}
			/>
		</>
	)
}

Nodes are being created programmatically, I should add.
There's lots of code in my project, so I'm not sure what else to add. The primary things to note:

Dragging from a handle does not show a preview of the edge; it does nothing.
The handle element in the DOM does not have the data-nodeid attribute.
If I manually set the array of elements with an edge included (manually specifying the source and target), that appears to work. However, I cannot create a new edge by dragging. I can, however, attempt to move an existing edge to a new node, and that preview works, but when I release my mouse, the console warns: Can't create new edge. An edge needs a source and a target.
If I manually set the data-nodeid attribute on the <Handle /> component, there is no difference.
My code doesn't differ too much in implementation in comparison to the official Custom Node example
If I, for the purpose of this issue, temporarily change the type from kInput to input, everything works fine. Because of this, I know there's some issue with my node type implementation.
The node type components are not transformed in any way; they are piped directly to ReactFlow using the method described in the link above (using the nodeTypes={nodeTypes} prop).
If I replace the above Node Type code with the code from the ColorSelectorNode.js file found in the link above, the same thing happens: I can't create a new edge, edge previews aren't shown, etc.
If I add the onConnectStart prop to the main ReactFlow component, nothing happens on drag, click, etc. The message I added is not printing.

Package versions:

ReactFlow: 9.6.7
NextJS: 11.1.2
React: 17.0.2

You may find the relevant DOM elements useful:

Node

Does ReactFlow's logic depend upon the existence of the data-nodeid attribute to start dragging edges? It's weird that nothing happens when I drag.
I greatly appreciate any help you can provide.

The issue was that I was importing the nocss version. For some reason, using the default import react-flow-renderer instead of react-flow-renderer/nocss fixed my issue.
I'm going to leave this issue open because this may be an unintentional bug. As many users such as myself may assume, the nocss version should change nothing more than the CSS imports.


How to get result from third page after replace second page?

I use getx to navigate my app, then I want to get result from third page after replace second page.
In my first page, I write
var result = await Get.toNamed('/second-page');
in my second page, I write
await Get.offNamed('/third-page');
and in my third page, I write
Get.back(result: 'result');
but in my first page, I don't get the result. How can I make the result return to first page?

I can achieve it with
var result = await Get.toNamed('/third-page');
Get.back(result: result);

in second page


WikiFile::getInfo on deleted file gives PHP Notice

I discovered by chance, when a file existed but was subsequently deleted or moved to another path, that the MW API does not return the missing property for the requested path anymore. I guess it only does that when the path never existed in the first place.
In the following getInfo() excerpt:
        if (!isset($page['missing'])) {
                // Update the existence if the file is there
                $this->exists = true;
                // Put the content into info & history
                $this->info    = $page['imageinfo'][0];
                $this->history = $page['imageinfo'];
        }

this results in PHP notices:
PHP Notice:  Undefined index: imageinfo in /usr/local/share/wikimate/Wikimate.php on line 1104
PHP Notice:  Undefined index: imageinfo in /usr/local/share/wikimate/Wikimate.php on line 1105

That's logical as the imageinfo property array is not present for a non-existing file.
Also, a changelog typo regrettably slipped through the v0.12.0 release: it was named 0.11.0. Even two people can be oblivious to the obvious. :astonished:

Also, a changelog typo regrettably slipped through the v0.12.0 release: it was named 0.11.0. Even two people can be oblivious to the obvious. :astonished:

Wow, I can't believe I missed that. I guess we didn't have enough eyeballs to make that bug shallow :P


How about using mio-v0.8 in examples?

Current examples use a bit older version of mio (v0.6). So what do you think of updating the crate version?
I just tried modifying the examples to use mio-v0.8 (see sile/quiche#use-latest-mio-in-examples branch for the diff), and it wasn't a difficult task.
If there are no special reasons that this project needs to keep using the mio-v0.6, I'd like to create a PR from the above branch.

No reason, other than nobody worked on this before. Feel free to create a PR!

I see, thanks! I just created the PR: #1200


Tracking: streaming hash join optimization

This issue tracks the optimization of streaming hash join.

[ ] make stream chunk builder output indices aware. Previously done in #3588
[ ] avoid degree table cases in append-only hash join.
[ ] concurrent fetch hash join state #2428
[ ] (potential) vectorization for non-eq join condition.

For concurrent hash join fetch, I am thinking of implementing a prefetch API over the StateTable/StateStore interface instead of previously tried approach, since we only care about the latency over the network. So, we will allow prefetch to dump the data into block cache, and let the operator consume the stream chunks async while the data is in block cache, else await while the prefetch request is in-flight.

Actually, I realized that even a prefetch API doesn't totally solve application-side deduplication issue due to cache coherency i.e. a key that is not prefetched due to being prefetched may be evicted prior to the key being processed.
Hence, I think a "best effort" approach is suited here. We will try our best to prefetch all the keys not in cache. But, if some relevant keys in cache get evicted, we can still issue a fetch later on. We consider this pipeline stall ok as 1. we can still concurrently fetch other keys 2. probably the keys that are evicted are low-hit rate anyway, so hitting them is not likely.


[DatePicker][TextField] Integrating DatePicker with TextField

Problem Description
This is not necessarily an issue with material ui. I am trying to integrate TextField and DatePicker by setting the type of TextField to date. This adds an icon that allows you to open a date picker like this.

This DatePicker is not a material UI date picker though. Is there a way to hook the material ui date picker to that selection?
The motivation is to let the user type the date or select it using a material ui date picker. Looks like the current date picker does not allow that functionality.

Duplicate of #3933?

@oliviertassinari  Thanks man.


fix wording

This PR fixes the working of the sentence.

"Context switch" can be used as a verb. Thanks.


Refactor delete_object

Refactor delete_object and add new method delete_object_all as per the requirements described in the equivalent HashStore-java issue: Refactor deleteObjectfor new requirements

This has been completed via Feature-87: delete_object Refactor & Enhancements


Fix description for model overview

Description
Due to a recent change we're showing the new model overview description even in the old model overview. To avoid that, this PR moves the description inside the "if" cases.
The new "old" description:

Checklist

[x] I have added screenshots above for all UI changes.
[x] Documentation was updated if it was needed.
[ ] New tests were added or changes were manually verified.

Codecov Report

Merging #1425 (464213a) into main (c53ba4d) will increase coverage by 2.96%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1425      +/-   ##
==========================================
+ Coverage   85.91%   88.88%   +2.96%
==========================================
  Files         100       34      -66
  Lines        4801     1521    -3280
==========================================
- Hits         4125     1352    -2773
+ Misses        676      169     -507

Flag
Coverage Δ

unittests
88.88% <ø> (+2.96%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ponsibleai/responsibleai/_tools/shared/versions.py

...bleai/responsibleai/_tools/causal/causal_result.py

...bleai/responsibleai/_tools/causal/causal_config.py

...sibleai/responsibleai/rai_insights/rai_insights.py

...ibleai/_tools/causal/dashboard_schemas/__init__.py

...ai/responsibleai/_tools/error_analysis/__init__.py

...sibleai/responsibleai/_tools/shared/base_result.py

.../responsibleai/modelanalysis/constants/__init__.py

raiwidgets/raiwidgets/constants.py

responsibleai/responsibleai/_interfaces.py

... and 56 more

Continue to review full report at Codecov.

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


use standard component for players in rankings

fixes #277

Not sure what you mean compared to.
It looks more like the elements for peers/pros now, since it also uses TableHeroImage.

Sorry I misunderstood. I thought you meant the big blocks with hero images. I think we should use the Tabbar component for this and make those tabs interact with the URL so they are linkable and part of the history for the back button. What do you think? At the very least it should match the style.

We can, although maybe not for initial release.


[Question] Is this kind of modification a pull request? Another plugin?

Changed the full path to the path from the current directory.
Changed to display only files.
Should the above modifications be pulled? Or should it be treated as a separate plug-in?

It should be another converter like this.
https://github.com/Shougo/denite.nvim/blob/master/rplugin/python3/denite/filter/converter/relative_word.py
Because it should not be for file_rec source.

So that's it. understand.

Is it possible to make a converter plugin now?

word is changed to relative path like denite.nvim.

And directory items are ignored

Understand. thank you.


For production, do I need PM2 or what?

Hi. To make the server run in background and restart on failure and start automatically on server reboot, what would be the solution?
I read about PM2 - is it suitable, or is there an easier way?

I would definitely recommend PM2, it’s a solid product that may be a little tricky to set up, but it does everything you may want (and may not know you want) from a process manager. That said, I’m always looking for new and better process management solutions. I wouldn’t be opposed to a daemon mode for PostGraphQL in the future if there is enough demand.
You could also look at Ubuntu Upstart which I’ve used before, or similar platform specific solutions.

With PM2, the quickest and simplest version that worked for me is:
pm2 start postgraphql -- postgres://pool_user:PA$$WORD@localhost:5432/dbname --route=/graphql --secret=$ECRET --development

Is there a better way to pass db password and secret token without revealing it in e.g. logs?
Also, an offtopic question, but still about starting postgraphql, maybe you can easily see where the error is in this pm2_postgraphql.json file?

{
  "name":               "PostgrqphQL",
  "script":             "postgraphql",
  "args":               "postgres://pool_user:PA$$WORD@localhost:5432/dbname --route=/graphql --secret=$ECRET --development"
}

When configuring a pm2 service through a .json file, it does not seem to understand the arguments and instead tries to connect to the database as root (which fails).

Use environment variables to store secrets. Here’s a quick crash course on how to set environment variables: https://www.digitalocean.com/community/tutorials/how-to-read-and-set-environmental-and-shell-variables-on-a-linux-vps
Here’s the documentation I always use for PM2: http://pm2.keymetrics.io/docs/usage/application-declaration/
So a sample configuration may be:
{
  "apps": [{
    "name": "postgraphql",
    "script": "./node_modules/.bin/postgraphql",
    "args": "postgres://$DB_USER:$DB_PASS@localhost:5432/database --route graphql --secret $SECRET --development",
    "instances": 1,
    "exec_mode": "cluster",
    "env": {
      "DB_USER": "user",
      "DB_PASS": "password",
      "SECRET": "secret"
    }
  }]
}

I'll show what I've done:
The built file for production has private variables baked in. PM2 runs, restarts, etc. the built file.
/ecosystem.json
"apps": [
    {
      "name": "api",
      "script": "./build/dist/server.js"
    }
  ],

Gulp is used as the CLI for running the build. Gulp has access to /.env, which is git-ignored and used for private variables.
package.json
"scripts": {
  "setup": "cp -n .env.example .env || true",
  "dev": "gulp",
  "eslint": "eslint ./src",
  "test": "JWT_PRIVATE_KEY=foo NODE_ENV=test ./node_modules/mocha/bin/_mocha --opts ./spec/mocha.opts",
  "build": "rimraf build && gulp build",
  "start": "pm2 start ecosystem.json --env production",
  "restart": "pm2 restart ecosystem.json",
  "stop": "pm2 stop api",
 },

/gulpfile.babel.js
import config from './webpack.config';

function onBuild (done, logLevel) {
  return (err, stats) => {
    if (err) {
      console.log('Build threw error:', err);
    } else if (logLevel === 'debug') {
      console.log('[build stats]:', stats.toString());
    }

    if (done) {
      done();
    }
  };
}

gulp.task('build-server', (done) => {
  webpack(config).run(onBuild(done));
});

gulp.task('build', ['build-server']);

Webpack bundles the app src file. Webpack has an API for passing in env vars.
/webpack.config.js
import env from 'gulp-env';

if (!process.env.PRIVATE_IP) {
  env({file: './.env', type: 'ini'});
}

const {
  NODE_ENV,
  PRIVATE_IP,
  REVERSE_PROXY_PRIVATE_IP,
  PORT,
  DB_PORT,
  JWT_PRIVATE_KEY,
} = process.env;

...

plugins: [
  new webpack.DefinePlugin({
    'process.env': {
      NODE_ENV: JSON.stringify(NODE_ENV),
      PRIVATE_IP: JSON.stringify(PRIVATE_IP),
      REVERSE_PROXY_PRIVATE_IP: JSON.stringify(REVERSE_PROXY_PRIVATE_IP),
      PORT: Number(PORT),
      DB_PORT: Number(DB_PORT),
      JWT_PRIVATE_KEY: JSON.stringify(JWT_PRIVATE_KEY),
    },
  }),
  ...
],

Postgraphql middleware in an Express.js app that references private vars on process.env.
/src/index.js
import postgraphql from 'postgraphql';

const {
  NODE_ENV,
  PRIVATE_IP,
  REVERSE_PROXY_PRIVATE_IP,
  PORT,
  DB_PORT,
  JWT_PRIVATE_KEY,
} = process.env;

api.use(postgraphql(`postgres://${REVERSE_PROXY_PRIVATE_IP}:${DB_PORT}`, ['terrafarm'], {
  graphiql: NODE_ENV !== 'production',
  jwtSecret: JWT_PRIVATE_KEY,
});

api.listen(PORT, () => {
  console.log(`API listening at http://${PRIVATE_IP}:${PORT} 🌲`);
});

@calebmer :  I want to start postgraphql server in background.
so i am using this code in ecosystem.config .js as you suggested:
module.exports = {
   "apps": [
    {
      "name": "postgraphql",
      "script": "./node_modules/.bin/postgraphql",
      "args": "postgres://$DB_USER:$DB_PASS@localhost:5432/database --route graphql --schema canny --default-role canny_anonymous --secret $SECRET --token canny.jwt_token --cors",
      "instances": 1,
      "exec_mode": "cluster",
      "env": {
        "DB_USER": "NAME",
        "DB_PASS": "PASSWORD",
        "SECRET": "secret"
      }
    }
  ]
}

In above code i have extra added --token canny.jwt_token --cors .
i have schema name canny and using JWT Token canny.jwt_token for this but it give me error while i start it with pm2.
Error:
Error: Postgres token type "canny"."jwt_token" does not exist in your Postgres schema subset. Perhaps try adding schema "canny" to your list of introspected queries.
    at Object.getPgTokenTypeFromIdentifier [as default] (/home/sourabh/canny/node_modules/postgraphql/build/postgraphql/schema/auth/getPgTokenTypeFromIdentifier.js:13:15)
    at Object.<anonymous> (/home/sourabh/canny/node_modules/postgraphql/build/postgraphql/schema/createPostGraphQLSchema.js:49:65)
    at step (/home/sourabh/canny/node_modules/tslib/tslib.js:121:27)
    at Object.next (/home/sourabh/canny/node_modules/tslib/tslib.js:102:57)
    at fulfilled (/home/sourabh/canny/node_modules/tslib/tslib.js:92:62)
    at propagateAslWrapper (/usr/local/lib/node_modules/pm2/node_modules/async-listener/index.js:421:23)
    at /usr/local/lib/node_modules/pm2/node_modules/async-listener/index.js:458:70
    at process._tickDomainCallback [as _tickCallback] (internal/process/next_tick.js:129:7)

but when i run below command its works fine but i have to run this in background:
postgraphql -c \"postgres://USERNAME:PASSWORD@localhost/canny_dev\" --schema canny --default-role canny_anonymous --secret SECRET --token canny.jwt_token --cors
Please look into this. Thanks.

In args above you have postgres://$DB_USER:$DB_PASS@localhost:5432/database; but in the command line you replace database with canny_dev

@benjie: I just give reference. I have replaced database with canny_dev while trying this code . canny_dev is my DB name.

Well, not sure how much I can help if you don't provide the actually config; but it might be that you're lacking -c before the database URL right at the beginning of args

@benjie : Thanks. yes i have skipped -c with this option its works. but for this i have to pass direct DB_USER and DB_PASS in above url. Its not take it from env config.
Error:
error: role "$DB_USER" does not exist
Thanks again.

For those interested, I just blogged about using pm2 and postgraphile.

@omatrot -- I would love to read this but I am clicking on the link and it just gets me to a blank page?  Not sure what I am doing wrong..

@sjmcdowall Yeah sorry the link was incorrect. Now it should work.

Nice!  ALthough this seems a bit off topic -- but have you tried instances > 1 and how does that perform? In fact, how performant is postgraphile in general? Any gut feel for V4 with all the improvements?

You can read about performance here: https://www.graphile.org/postgraphile/performance/

(I only added that page a few days ago)

The solution using ecosystem.config does not work for me when using a plugin, see: https://github.com/graphile-contrib/postgraphile-plugin-connection-filter/issues/38

Does anyone fancy writing up a guide for the website on how to use PM2 in production?

[semi-automated message] We try and keep the open issues to actual issues (bugs, etc); this seems like more of a discussion right now, so I'm closing it but please feel free to keep discussing it below 👍


Broken links in gettingstarted.md prometheus-federator docs.

The link in the following sentence is broken see the (see the README.md on the Helm Char) for more information on how to optimally configure rancher-monitoring to work with Prometheus Federator).
The link embedded is https://github.com/rancher/prometheus-federator/blob/main/docs/packages/prometheus-federator/charts/README.md which takes to a 404 page.

Fixed and merged, thanks @stalin4suse


doesn't compile on esp-idf 5.3

C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c: In function 'dmx_uart_init': C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c:330:51: error: 'uart_signal_conn_t' has no member named 'module'   330 |   periph_module_enable(uart_periph_signal[dmx_num].module);       |                                                   ^ C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c:338:52: error: 'uart_signal_conn_t' has no member named 'module'   338 |     periph_module_reset(uart_periph_signal[dmx_num].module);       |                                                    ^ C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c: In function 'dmx_uart_deinit': C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c:384:56: error: 'uart_signal_conn_t' has no member named 'module'   384 |     periph_module_disable(uart_periph_signal[uart->num].module);

Yes, in IDF 5.3 structure uart_signal_conn_t now don't have member "module". Have only IRQ and pins:
IDF 5.3 vs IDF 5.1

It looks like this is a bug on the ESP-IDF side.
esp_dmx/src/dmx/hal/uart.c refers to uart_periph.h and expects to find a definition of uart_signal_conn_t that contains a 'module' member. Except it does not exist in the version of uart_periph.h as given.
uart_periph.h is both found in
/esp-idf/components/soc/include/soc/uart_periph.h
and in
/home/bert/esp/esp-idf/components/soc/esp32/uart_periph.c
The second version contains the right definition of uart_signal_conn_t as expected, but is included for the compiler AFTER the first version, so the wrong content is selected.
Up until commit dca7c286d009024d8bacab52425c93a91ffc49c7, the version that was in /components/soc/include/soc/uart_periph.h did contain the expected definition, but was removed. Commit found here