Discussion about the Conclusion Part

I came across your simulation and want to discuss with you about your last paragraph. Were you indicating most blockchain ideas are useless or inefficient?

Were you indicating most blockchain ideas are useless or inefficient?

Well yes. Agreed the end was mostly a rant, some stuff i wrote should be taken with a grain of salt (never bothered to update that thing, it's not like this repo is important for anyone). Yet i still believe in the general idea.
I'm gonna retract the thing about databases and integers. That was imprecise and blocks can have any payload. Do you have more specific questions or things you disagree with? I don't really know where to start and what your assumptions are so difficult to explain myself. The general intuition behind my critics are:

pow is a funny hack for rate-limiting that combines well with broadcast and cryptographically append-only things but well, its based on slowness, no hard commit, etc
trust is out-of-band, it is preexisting to any system; acting like there is no trust involved somewhere is illusory (eg there actually is, see various blockchain forks); blockchains act as if there is no outside world, no external stake (that is what byzantine behavior is); SCP gets this right
blockchains are overwhelmingly ill-motivated (encouraging addictive behavior, fame seeking, outright scams) and foster a big ecosystem of anti-science, technological bloat, closed-source bs, short-term thinking
interesting applications which would only need the low guarantees currently provided already have better solutions (certificate transparency, git/torrent-like content certification)

Were you indicating most blockchain ideas are useless or inefficient?

Well yes. Agreed the end was mostly a rant, some stuff i wrote should be taken with a grain of salt (never bothered to update that thing, it's not like this repo is important for anyone). Yet i still believe in the general idea.
I'm gonna retract the thing about databases and integers. That was imprecise and blocks can have any payload. Do you have more specific questions or things you disagree with? I don't really know where to start and what your assumptions are so difficult to explain myself. The general intuition behind my critics are:

pow is a funny hack for rate-limiting that combines well with broadcast and cryptographically append-only things but well, its based on slowness, no hard commit, etc
trust is out-of-band, it is preexisting to any system; acting like there is no trust involved somewhere is illusory (eg there actually is, see various blockchain forks); blockchains act as if there is no outside world, no external stake (that is what byzantine behavior is); SCP gets this right
blockchains are overwhelmingly ill-motivated (encouraging addictive behavior, fame seeking, outright scams) and foster a big ecosystem of anti-science, technological bloat, closed-source bs, short-term thinking
interesting applications which would only need the low guarantees currently provided already have better solutions (certificate transparency, git/torrent-like content certification)

@DanielTongAwesome i'm genuinely curious why someone would think otherwise; i doubt your reasons will surprise me but please do contradict me: maybe we will both better understand the deeper reasons why we think about this the way we do. I'm always in the search for arguments that have weaker premises (hence stronger arguments) and thus that more people can accept, and for this i need people explain to me why their view doesn't accept my points.


How grunt-scss-lint can exclude some files or directory?

I am using grunt-scss-lint with sucess.
but I wanna exclude a folder or files, but after runt he task still catching the folder, any idea how to exclude the file or directory?
in the docs says:
exclude

Type: String or Array
Default: null
Exclude one or more files from being linted.
grunt task

scsslint: {
        allFiles: [
          'scss/_main.scss',
        ],
        options: {
          config: 'scss/.scss-lint.yml',
          reporterOutput: '.tmp/scss-lint-report.xml',
          colorizeOutput: true,
          compact:false,
        },
        exclude: [
            'scss/vendor/font-awesome/font-awesome.scss'

          ]
      },

any ideas?

fixed exclude should go inside options.
      allFiles: [
         'scss/_main.scss',
       ],
       options: {
         config: 'scss/.scss-lint.yml',
         reporterOutput: '.tmp/scss-lint-report.xml',
         colorizeOutput: true,
         compact:false,
         exclude: [
           'scss/vendor/font-awesome/font-awesome.scss'
         ]
       },
     },


Time zone file access error when trying to open the settings page (Miniflux 2.0.7 arm7)

I got the following error when trying to access settings page:
Internal Server Error: unable to fetch timezones: pq: could not stat "/usr/share/zoneinfo/US/EVP_PKEY_CTX_set_cb.3ssl.gz": No such file or directory

As far as I know, EVP_PKEY_CTX_set_cb is the name of an OpenSSL function. It is strange.

This is probably related to your Postgresql installation. Perhaps, you should try to run this SQL query SELECT name FROM pg_timezone_names(); to see if you have the same error.

Thanks.
You are right, I have the same error.


SISTR v1.1.1 is not compatible with pandas >= 1.1.0 due to failed EmptyDataError exception import

Just for future reference, in pandas 1.1.0 the EmptyDataError exception definition is no longer defined in pandas/io/common.py submodule causing from pandas.io.common import EmptyDataError statement, defined in sistr/src/blast_wrapper/__init__.py, to fail. The import statement requires to be changed to from pandas.errors import EmptyDataError. Could be addressed in next SISTR release. This is now handled by new conda recipe v1.1.1  build 2 restricting pandas version to <= 1.0.5

Thanks @kbessonov1984 👍

Amazing! Just came across this bug, your fix worked for me thanks @kbessonov1984

Just a note for this issue. If you already have a conda environment with pandas > 1.0.5 and then install sistr (via conda) it does not downgrade pandas to 1.0.5. But if you install sistr to a new environment it will install pandas 1.0.5.


Switches to DependencyLinker, passing all tests

depends on https://github.com/openzipkin/zipkin/pull/1184


Couldnot compile zone file.

I have installed NSD v-4.3.6 in my Alpine Linux 3.14 vm. I could not find the nsdc package to compile the zone file. Is it not shipped with the package. Where do I find the nsdc package, or how do I compile the zone file. I am following the setup guide provided in the u/m link https://wiki.alpinelinux.org/wiki/Setting_up_nsd_DNS_server. I am setting up an authoritative-only dns server for my office LAN.

The nsdc utility is from older versions of NSD. The NSD 4.x versions can have nsd read the zonefile. In recent releases the nsd-checkzone utility can be used to parse a zone file to see if it has errors.

Thanks for replying at the earliest. The nsd-checkzone shows no error, prints it properly, but the /var/lib/nsd.db file is not created neither the log file is created. The path for both are mentioned in the /etc/nsd/nsd.conf file. Can you please guide me how I can build this db file and how can I map the log file.

The nsd-checkzone utility only checks for errors. The zone is loaded by nsd itself, when it is started. The nsd.db file is not created by an outside utility. The setting database: "" is a good option to use. If set like that no nsd.db file is used. The zonefile is read by nsd, and for secondary servers, the zonefile is written when it gets updated.
The nsd.db file was created by an outside utility, nsdc, in older versions of NSD. But not in the recent versions, 4.x.

Thank you for the quick response and support Sir, I got it working, Mistake in configuration file was the issue. Thanks Once again.

Just left the office now. Will try again tomorrow and let you know. Thank
you once again for giving fast response.
On Thu, 6 Oct, 2022, 18:58 Wouter Wijngaards, @.***>
wrote:

The nsd-checkzone utility only checks for errors. The zone is loaded by
nsd itself, when it is started. The nsd.db file is not created by an
outside utility. The setting database: "" is a good option to use. If set
like that no nsd.db file is used. The zonefile is read by nsd, and for
secondary servers, the zonefile is written when it gets updated.
The nsd.db file was created by an outside utility, nsdc, in older versions
of NSD. But not in the recent versions, 4.x.
—
Reply to this email directly, view it on GitHub
https://github.com/NLnetLabs/nsd/issues/235#issuecomment-1270048893, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AK3WC2BHFOTVSYQTUBSEWGTWB3HXVANCNFSM6AAAAAAQ6TCL2E
.
You are receiving this because you authored the thread.Message ID:
@.***>


Week 1 Review Ticket

Points will be awarded on these three key elements

[x]  Seeing that you understand how to use Code.org and that you used it to complement your learning on primitives. Up to Lesson 5 in the OOP assignment.

Productive Blogging

[x]  Create a Jupyter Notebook(s) using IJava kernel and that you could use it to capture key learning on Primitives. LINK

[x]  Create a Jupyter Notebook using Bash and that you could use it to show that you have all the key tools installed. This should also be a Blog for your own personal memory. LINK

[x]  Each student captures information in Fastpages thinking ... how they are going to capture information that will grow to 10 college board units ... how they will recognize something as PBL vs College Board. LINK

2.7, Meets all basic requirements and did a good job at them


linux: Add systemd-socket activation

At the moment, crc daemon must be run manually before one can use its HTTP API, or when using usermode networking. Using systemd socket activation would let systemd listen for HTTP/vsock connection attempts, and tell it to automatically start the daemon when such a connection attempt is made.
The end result is that after this PR, it's possible to do
crc config set network-mode user
crc cleanup
crc setup
crc start

without having to run crc daemon explicitly
After this PR, systemctl --user status crc-http.socket crc-vsock.socket crc-daemon.service knows about these 3 new units.
The socket units are listening/running, and the daemon is by  default not started. As soon as something interacts with the sockets in ~/.crc, the daemon starts (can be tested with nc -U ~/.crc/crc-http.sock).
Fixes: Issue https://github.com/code-ready/crc/issues/2556
Proposed changes
List main as well as consequential changes you introduced or had to introduce.

running crc daemon manually is no longer needed
if one wants to keep running crc daemon manually, the new preflight check for systemd socket units needs to be disabled

CI is failing because the code in preflight: Add symlink to crc binary in ~/.crc/bin does not deal with the situation where crc is in the path and is started with just crc. https://golang.org/pkg/os/exec/#LookPath needs to be used somehow.

The latest CI failure is more problematic (on ci.centos.org):
level=info msg="Setting up crc daemon systemd socket units"
Executing systemctl action failed:  exit status 1: Failed to connect to bus: No such file or directory

Not sure what to do about this one :-/

Phew, made progress with CI. Looks like non-obvious steps are involved to use systemctl --user as a different user which is different from the one who logged in (ie use of su or runuser). I had to add:
# this creates /run/user/1000/ even if crc_ci is not logged in
$ loginctl enable-linger crc_ci
$ export XDG_RUNTIME_DIR="/run/user/$UID"
$ export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"

and only after this would systemctl --user list-units work without complaining about the bus not being found, or systemd not being found.

/retest

centos CI is failing with
13:39:10   Scenario: Bundle generation check # features/basic.feature:147
13:39:10     Given executing "crc bundle generate -f" succeeds # features/basic.feature:151
13:39:10       Error: command 'crc bundle generate -f', expected to succeed, exited with exit code: 1
13:39:10 Command stdout:
13:39:10 Command stderr: level=info msg="Removing user's pull secret from instance disk and from cluster secret..."
13:39:10 Error removing pull secret from cluster: Temporary error: machine config is not rendered after removing pull secret (x22)

but I don't think that's related to this PR.

/lgtm


set extension defaults with custom format

rearranged the content into a custom format posit-docs
sample: https://connect.posit.it/drafts/posit-doc-theme/

My testing steps:

Pulled branch locally
Created a new quarto website project locally (Desktop dir)
From terminal, cd into new quarto project
quarto add /path/to/local-repo/branch/location
Y to confirm install
Run quarto preview to view "base" without theme applied
Followed README and added project: type: posit-docs and format: posit-docs-html:default.
Saved/preview.
Verified that theme changes were applied.
I also verified that the scss file was present/what I had added.


Come up with better SMS schedule

We shouldn't just send SMS every 3 hours: we probably want to start getting smart about what qualifies as a valid time to alert someone.
We need to think about this and come up with a set of rules.
CC @wdanfort .

Closed in #167


[BUG] Nightly Upgrade test: offline node test is failing and causing all following tests to fail.

Describe the bug
Failed offline node test will cause all it's following tests to fail, since Node will not start up after test is done.
To Reproduce
Steps to reproduce the behavior:

Install Longhorn v0.8.1
Upgrade to Longhorn master
Run offline node test

Expected behavior
On teardown, test should wait for instance to startup after being shutdown, an report ready state to API server.
Log
Error Message
test teardown failure
Stacktrace
def finalizer():
        node_worker_label = 'node-role.kubernetes.io/worker'

        k8s_api_client = get_core_api_client()
        longhorn_api_client = get_longhorn_api_client()
        cloudprovider = detect_cloudprovider()

        for node_item in k8s_api_client.list_node().items:
            if node_worker_label in node_item.metadata.labels and \
                    node_item.metadata.labels[node_worker_label] == 'true':
                node_name = node_item.metadata.name

                if is_node_ready_k8s(node_name, k8s_api_client) is False:
                    node = cloudprovider.node_id(node_name)

                    cloudprovider.node_start(node)

                    node_up_k8s = wait_for_node_up_k8s(node_name,
                                                       k8s_api_client)

>                   assert node_up_k8s
E                   assert False

test_infra.py:140: AssertionError

Environment:

Longhorn version: master
Kubernetes version: 1.17
Node OS type and version: Ubuntu 18.04

Additional context
Add any other context about the problem here.

Observations:

node shutdown command reported failure each time after instance been deployed, however the instance will be powered off.
if instance is restarted, test will pass.

We will disable the node offline integration test by default for now. Move the issue to the next release.

Affected by: https://github.com/longhorn/longhorn-tests/pull/538
We have moved nightly tests to use aws, so we need a new implementation for communicating with AWS APIs.

Considering increase the priority of the issue. Offline node test is critical for the stateful workload.

@meldafrawi Please summarize the status as we discussed. Thanks.

Update:

I was able to move offline node tests from DO to AWS, but still some changes has to be made to integrate the test to our nightly tests framework.
we've some changes in node failure handling, so test_offline_node_with_attached_volume_and_pod will not reflect the current system behavior, so I will remove it

Update:

PR is ready for Review
test_infra result (local):

<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite errors="0" failures="0" hostname="longhorn-test" name="pytest" skipped="0" tests="1" time="378.484" timestamp="2021-07-12T21:45:25.504118"><testcase classname="tests.test_infra" file="tests/test_infra.py" line="130" name="test_offline_node" time="378.067"></testcase></testsuite></testsuites>bash-5.1#

@meldafrawi close this if the test passes later. Thank you.

Test is passing on amd64, but failing on arm64 arch, since k3s is not setting kubernetes.io/worker=true label, so we need to adjust for running on k3s, ans possibly RKE2 in the future.

Fixed in https://github.com/longhorn/longhorn/issues/7463.


Add max mods per peptide to gptmd

#1049
There's some hacky stuff going on where some notches are combined and others aren't. I left a note in the xaml about it:
"The maximum number of modifications allowed for a single notch. The current implementation does not combine notches EXCEPT for those with masses annotated in "...\MetaMorpheus\Data\combos.txt". In MetaMorpheus near the top left, click "Data", select "Open folder with mods/data files", and open the "Data" folder. Implementing and increasing this parameter may result in high search times and high FDRs."


Using lookahead to detect generic JSX elements?

Initially from a couple different comments, but elaborated here.
Currently, in order to use a generic JSX element, you must alias both the type and interface to a non-generic specialization.
class Select<T> extends React.Component<SelectProps<T>, any> {}

// Alias
type StringSelect = new () => Select<string>
const StringSelect = <StringSelect> Select

const Form = () => <StringSelect items={['a','b']} />

It would be a lot more convenient and consistent to use something like this:
const Form = () => <Select<string> items={['a', 'b']} />

In order to differentiate the latter, you can use a single token of lookahead in the parser to know if it's a generic JSX element:

If the next token is a <, like in < Select <, then consume the rest of the type as a generic type. After consuming that:

If the next token is a >, then finish the type as a generic type cast.
If the next token is an identifier or a { (for spread attributes, when they get implemented), then parse the rest as a JSX element.
Otherwise, parse the rest as a type cast.

If the next token is a >, like in < Select >, then finish the type as a simple type cast.
If the next token is an identifier or a {, then parse the rest as a JSX element.
Otherwise, consume the rest as a type cast.

I don't know of any reason that wouldn't be feasible to do, considering async arrow functions, which are already implemented, require potentially a whole call expression of parsing to differentiate between let f = async (x, y), which is a call expression, and let f = async (x, y) => x, which is an async arrow function. (I feel sorry for whoever ends up implementing that in V8, which doesn't support any backtracking or much lookahead for memory reasons.)
/cc @RyanCavanaugh

We've gotten this request a number of times and it does seem reasonable in terms of parsing.

Accepting PRs.
This should be easy to parse but I think it's going to be some rather difficult work in the checker.

@RyanCavanaugh whats status of this issue?
It's very impotant functionality.

import * as React from 'react';

interface MyTestProps<T> {
    values: Array<T>;
    selectHandler: (selectedVal: T) => void;
}

export class MyTest<T> extends React.Component<MyTestProps<T>, {}> {

    render() {
        return (

                { this.props.values.map(val =>

{val}

                ) }

        );
    }
}

class TestMyTest extends React.Component<{}, {}> {
    render() {
        return (
            <MyTest values={[1, 2, 3, 4]} selectHandler={(val) => { } } />
        );
    }
}

compiler throws error "type number[] is not assignable to type T[]"
But in this example

import * as React from 'react';

interface MyTestProps<T> {
    values: Array<T>;
    selectHandler: (selectedVal: T) => void;
}

export class MyTest<T> extends React.Component<MyTestProps<T>, {}> {

    render() {
        return (

                { this.props.values.map(val =>

{val}

                ) }

        );
    }
}

new MyTest({ values: ['a', 'b'], selectHandler: (v) => { v.length } });

selectHandler param v have type string;

meanwhile, I use this shortcut to alias the non generic specialization:
Alias:
const StringSelect = Select as new () => Select<String>;
Usage:
const Form = () => <StringSelect items={['a', 'b']} />

@RyanCavanaugh Could this be part of a future planned milestone? 2.1 or 2.2?

We'll be basically redoing JSX typechecking in 2.1 or 2.2 and can probably look at this at that time.

Cool. Thank you for the update! :)

Any update ?

@RyanCavanaugh Please consider supporting at least type inference when possible. No need to add new syntax. Just having a generic component infer its type parameters solve a huge number use-cases.

@alitaheri I believe the existing JSX work going on at #12107 will enable that scenario

Still not working on<EMAIL_ADDRESS>The typescript team is making an incredibly good job making typescript and react such a good combination, but this issue is still quite painful.
The workaround works fine (
const BooleanSelect: new () => SingleColumnSelect<boolean | null> = SingleColumnSelect;
<BooleanSelect values={[null, true, false]}/>
) but it's not only ugly and un-elegant, it is also really unclear for newcomers to react&typescript
Either solution (allowing to specify the generic inside jsx or using type inference) would be really really welcome

@MastroLindus in the meantime you might consider this workaround, which I find to be a bit simpler to read and write:
class Select<T> extends React.Component<...> {...}
class BooleanSelect extends Select<boolean> {}
class SomeComponent extends React.Component<{}, {}> {
  render() {
    return <BooleanSelect />; // this works fine
  }
}

@zzzev I am aware of it( or others, like just a simple cast) but to define a new class just for the workaround somehow it feels even dirtier to me, even if in practice the two forms are not that much different... I simply cannot find one that I am really satisfied about

We are still need a way to infer type parameter in the original example for generic React class component but here are some possible work around in some cases:
(Note this is for 2.3 compiler)
** Using SFC **
as mentioned by @RyanCavanaugh's comment, compiler now can infer type parameter in SFC
import * as React from "react";

type SelectProps<T > = { items: T[] }
function Select<T>(attr: SelectProps<T>) {...}

const someItems = [1, 2, 3, 4];
const someItems2 = ["ss"];

function renderJsx() {
    return <Select items={someItems} />; // Ok
}

Nightly & future 2.3.3
Using default type parameter (in this example, it may not be desirable to do so but the compiler will not give you error for being generic)
import * as React from "react";

type SelectProps<T > = { items: T[] }
class Select<T = any> extends React.Component<SelectProps<T>, any> { }

const someItems = [1, 2, 3, 4];
const someItems2 = ["ss"];

function renderJsx() {
    return <Select items={someItems} />; // OK
}

Would love to have this feature - would enable a lot of good scenarios :)

Is this likely to ever be merged?

Would also like to ping this topic.
I'm implementing a smoother way of handling forms in react and it really depends on having generic types. The workaround brings back much of the boilerplate I'd like to avoid :/

what I've noticed:
import * as React from 'react';

interface Props<T> {
  a: T
  b: T[]
}

function Comp1<T>(props: Props<T>) {
  return null
}

class Comp2<T> extends React.Component<Props<T>> {
  render(){
    return null
  }
}

const props = {
  a: '',
  b: [2],
}

const a = <Comp1 {...props} /> //error here

React.createElement(Comp1, props)

const b = <Comp2 {...props} />

React.createElement(Comp1, props)

So, createElement every time passing T=any.
When using jsx and component is Stateless Component - checking works. So, workaround for now could be to wrap your generic components with Stateless comp.

Still as annoying as ever :D

So it's more than a year now since the issue was opened, we are going for a Typescript 2.8 and is not even on the roadmap? I don't get it...

maybe not so trivial to do

@antanas-arvasevicius Apparently, the checker is the difficult part. If you read my initial bug, it was me addressing one implementation aspect mentioned in comments there.

This should in theory become easier (possibly even trivial) once @weswigham 's work to refactor JSX typechecking is complete.
I checked, and idle complaining that we haven't implemented popular a feature request has not caused new engineer time to appear.

We actually do inference and generic instantiation for generic JSX components as of our last release, so we don't even actually really need anything more than the parse step for this anymore (I mean, ofc the call resolution need to be modified to check for type arguments before doing inference, but still - more done than before).

Also, the OP is a tad out of date; Unless I'm mistaken, we don't even support parsing angle bracket style typecasts in JSX files, so the described ambiguity wouldn't exist.

<T>e expressions aren't supported in JSX. The only exception to <T> in a leading expression position starting a JSX element is a generic arrow function <T>(x: T) => e, which I believe has some limited lookahead to try to disambiguate (or maybe we required you to write T extends {} ? I'd have to check).

We require a constraint on the first type parameter.

I stand corrected, idle complaining actually did improve the situation 😆

:D how about other issues related to TSX? Especially deprecating magic in
global JSX namespace and instead using type inference directly from
createElement? Allowing multiple JSX definitions would allow to use not
only react, but create many html like DSL's for e.g. database schema
definitions, permission roles, state machines which "config like
structures" could be directly translated to js.
On Fri, 9 Mar 2018 at 01:05, Ryan Cavanaugh<EMAIL_ADDRESS>wrote:

I stand corrected, idle complaining actually did improve the situation 😆
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/TypeScript/issues/6395#issuecomment-371655555,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEAcnO_LOm60bVGqc6cTk5FYGTTvR85zks5tcbk2gaJpZM4HBBqf
.

@antanas-arvasevicius We've merged code that allows us to look up the current global types in a namespace local to the factory function instead of globally already, which should be a significant improvement once libraries move to utilizing it.
We want to move to just using the factory function's signature, but there's a slight problem - to create a perfectly well-typed factory function that we can actually do inferences for, you need ReturnType (and InstanceType and FirstArgument) conditional type-types that are overload-aware (otherwise you need compiler internal magic that assumes how the factory function works or looks things up in a namespace, like we do now). As is, we could basically do it, but we'd break overloading on stateless function components (we'd always pick the last signature), which would be no bueno; so fully moving away from the JSX namespace (anywhere) might require that we either improve conditional types or implement real "call" types first. We're actively looking at it, though!

Thank you for review of what's going on, it is more complicated/interesting
than it looked :) One year ago I had a trouble with JSX that I couldn't
declare that ElementType would be dependable on InstanceType e.g.
would return real instance of object which is list and not an ADT like
structure as react vdom because not all frameworks works in vdom mode
extjs, isomorphic smartclient etc, but their GUI could be represented in
jsx way, my opened issue
https://github.com/Microsoft/TypeScript/issues/13890
Please consider it also, and if factory function is difficult/impossible to
implement maybe that proposal for ElementType could be released?
On Fri, 9 Mar 2018 at 01:36, Wesley Wigham<EMAIL_ADDRESS>wrote:

@antanas-arvasevicius https://github.com/antanas-arvasevicius We've
merged code that allows us to look up the current global types in a
namespace local to the factory function instead of globally
https://github.com/Microsoft/TypeScript/pull/22207 already, which
should be a significant improvement once libraries move to utilizing it.
We want to move to just using the factory function's signature, but
there's a slight problem - to create a perfectly well-typed factory
function that we can actually do inferences for, you need ReturnType (and
InstanceType and FirstArgument) conditional type-types that are
overload-aware (otherwise you need compiler internal magic that assumes how
the factory function works or looks things up in a namespace, like we do
now). As is, we could basically do it, but we'd break overloading on
stateless function components (we'd always pick the last signature), which
would be no bueno; so fully moving away from the JSX namespace (anywhere)
might require that we either improve conditional types or implement real
"call" types first. We're actively looking at it, though!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/TypeScript/issues/6395#issuecomment-371662348,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEAcnNcLWtsZ97TrJo3wowHEyXSiZzpRks5tccBngaJpZM4HBBqf
.

Since this is not compatible with the JSX spec as it is right now, it would’ve been good to have the discussion over on the JSX spec repo.
JSX already allows for nested elements in the attribute position <Foo foo=<Foo /> /> so it’s possible this wouldn’t play well with other additions. I don’t see an immediate problem but would be good to take a pass over there in the future like we agreed to do for other additions.

I don’t see an immediate problem but would be good to take a pass over there in the future like we agreed to do for other additions.

Apologies - we've had this issue open for over two years with a pretty straightforward design desired from the beginning (implementation of typechecking being the real blocker, which we quietly implemented without the syntax in 2.7); I wasn't aware we had (or needed, since it's a type-based syntax addition, like type arguments for call or new expressions) any renewed outreach set up around this (probably something to do with me not having worked on it 3 years ago XD).

JSX already allows for nested elements in the attribute position <Foo foo=<Foo /> />

As an aside, occasionally I've heard people familiar with the jsx spec point that out (within the team, I think it's a favorite "I bet you didn't know x was valid jsx" fact). We still don't parse it - it's been years since we first noticed it and still haven't gotten a serious issue for it. Still seems underused. It is still broken in babel 6. (fixed in the 7 beta though, so it's got that going for it, though fragments are broken right now) Given how it was spoken of the last time it came up, its future isn't exactly golden (FYI, babylon7 is the only parser on ASTExplorer that can parse the fragment production, but babel can't actually transpile it right now. heh.).
But it was brought up while I implemented this, IIRC 😉 We don't think there are any obvious conflicts (beyond the ones we already have to disambiguate with leading generic parameters and occasionally left shift token that occur elsewhere), either (unless someone's going to start suggesting silly things like jsx elements as property names in fragments or something). If you're looking for a brief on how it was implemented, in our case it's just, after the JSXElementName production in opening/self closing tags,  (optionally) a one-token lookahead for <, followed by our TypeArgumentList production (I'm not sure how you'd try to represent leaving space for such a thing in the JSX spec) and a required closing > (before continuing with standard JSX production).


Added 'WAITFORIT_' to HOST, PORT, and TIMEOUT variables

Added WAITFORIT_ to HOST, PORT, and TIMEOUT variable names to address the concerns of these variables being commonly used and potentially causing conflict.

HOST -> WAITFORIT_HOST
PORT -> WAITFORIT_PORT
TIMEOUT -> WAITFORIT_TIMEOUT

https://github.com/vishnubob/wait-for-it/issues/23

Why isn't this merged yet?

Thanks @ltburruel , and sorry for the delay. Now covered by #44 and merged in.


General artistic style

I premise i haven't read the paper yet.
But one thing that comes to mind is that it'd be interesting to extract the style not from just one painting but from many of the same author.

That would be cool, and might actually be doable with the current method. Instead of computing the target feature correlation matrix from one image, you could compute an aggregate correlation matrix from multiple images; once you have that then the rest of the code / method would be unchanged.

I'm really new to all this, i know only the basics of machine learning and i'm pretty unfamiliar with Torch, but i'd love to understand more of this.
I'm writing a thesis for my last year in school and i'd like to feature this into my document as one of the examples and applications of machine learning if the creators of the project agree obviously

That's fine with me.


Latest LND with Older Bitcoind (v<IP_ADDRESS>)

Background
After upgrading to the latest lnd version (from 0.11.1_beta to 0.14.2-Beta) My https url is not working (https://:10010)
Your environment

version of lnd
0.14.2-Beta
which operating system (uname -a on *Nix)
Ubuntu 16 LTS
version of btcd, bitcoind, or other backend
v<IP_ADDRESS>
any other relevant environment details
I am running LND as a Dockerised version

Steps to reproduce
While accessing the URL :: https://myip:16010/v1/getinfo
I am getting the following error.
{"code":2,"message":"expected 1 macaroon, got 0","details":[]}
But the same worked fine with the lnd version 0.11.1-Beta

That error message has nothing to do with bitcoind. You need to send a macaroon when calling an lnd REST endpoint. Not sure why this worked before, how does your lnd config look like?

I am passing it as environment variables in docker-compose file.
NB: URL :: https://myip:16010/v1/getinfo is a self-signed SSL, There is no SSL provided.
services:
  lnd:
    image: lnd_image:0.14.2-Beta
    hostname: lnd
    restart: unless-stopped
    ports:
      - "$lnd_http:10010"
      - "$lnd_rpc:10009"
      - "$lnd_port:9735"
    volumes:
      - lnd-data:/root/.lnd/
    networks:
      - workspace
      - default
    environment:
      DEBUGLEVEL: debug
    command: lnd --maxpendingchannels=10 --alias=${project}_lnd_1 --tlsextradomain=mydomain.com --tlsextraip=mylocalIP --externalip=public_ip:$lnd_port --listen=<IP_ADDRESS>:9735 --tlscertpath=/root/.lnd/tls.cert  --adminmacaroonpath=/root/.lnd/admin.macaroon --readonlymacaroonpath=/root/.lnd/readonly.macaroon --invoicemacaroonpath=/root/.lnd/invoice.macaroon --rpclisten=<IP_ADDRESS>:10009 --restlisten=<IP_ADDRESS>:10010 --bitcoin.active --bitcoin.testnet --bitcoin.node=bitcoind --bitcoind.rpchost=bitcoin:18332 --bitcoind.rpcuser=user --bitcoind.rpcpass=pass --bitcoind.zmqpubrawblock=tcp://bitcoin:28332 --bitcoind.zmqpubrawtx=tcp://bitcoin:28333
networks:

As mentioned before, I don't know how this worked before without a macaroon. What's behind the port 16010? Is that some sort of proxy? Or is that the HTTP port directly?
You need to add a custom header field with the macaroon, see https://github.com/lightningnetwork/lnd/blob/master/docs/macaroons.md#using-macaroons-with-grpc-clients.
I don't think we changed anything with authentication between v0.11.x-beta and v0.14.x-beta. So this should also fail with the same error message on v0.11.x-beta. Or did you use the --no-macaroons flag before? (don't use that flag on mainnet, ever)

What's behind the port 16010? Is that some sort of proxy? Or is that the HTTP port directly?

HTTP port (10010) directly

Using an LND browser extension( Third-party) I am able to connect it before, where I can add my macaroon file.

Attached error for your reference.
Failed to connect to node
Request failed with the message "Internal Server Error"

If you're sure you've setup your node correctly, try clicking this link and making sure it loads correctly. If there are SSL errors, click "advanced" and proceed to accept the certificate.

Maybe your deployment is specific to this later version of bitcoind, but I would highly recommend you upgrade to a more recent non-EOL version

@Crypt-iQ You mean which deployment ? Browser extension third party application?
Since I can login into my lnd container and executing the getinfo command and it is working fine.
bash-5.1# lncli --macaroonpath=root/.lnd/admin.macaroon getinfo
{
    "version": "0.14.2-beta commit=v0.14.2-beta",
    "commit_hash": "1e5xxx9f",
    "identity_pubkey": "03a1516566xx84",
    "alias": "six_lnd_1",
    "color": "#3399ff",
    "num_pending_channels": 0,
    "num_active_channels": 0,
    "num_inactive_channels": 0,
    "num_peers": 3,
    "block_height": 2196444,
    "block_hash": "00000xxxd31",
    "best_header_timestamp": "1650442011",
    "synced_to_chain": true,
    "synced_to_graph": true,
    "testnet": true,
    "chains": [
        {
            "chain": "bitcoin",
            "network": "testnet"
        }
    ],
    "uris": [
        "03a151xxxxx@ip:16735"
    ],

@Crypt-iQ You mean the third-party browser extension deployment?
Since I can log in into my LND container and execute "lnd getinfo" command working fine.
bash-5.1# lncli --macaroonpath=root/.lnd/admin.macaroon getinfo
{
"version": "0.14.2-beta commit=v0.14.2-beta",
"commit_hash": "1e5xxx9f",
"identity_pubkey": "03a1xx6xx84",
"alias": "six_lnd_1",
"color": "#3399ff",
"num_pending_channels": 0,
"num_active_channels": 0,
"num_inactive_channels": 0,
"num_peers": 3,
"block_height": 2196444,
"block_hash": "00000xxxd31",
"best_header_timestamp": "16xxx42011",
"synced_to_chain": true,
"synced_to_graph": true,
"testnet": true,
"chains": [
{
"chain": "bitcoin",
"network": "testnet"
}
],
"uris": [
"03a151xxxxx@ip:16735"
],


Wrong Implement?

Your implement can run but get bad result,because in network.py global and local discriminator are wrong implemented,would you please right it as soon as possible?

Yup. Just checked the code and made an update. The new code, however, will not be able to use the weights I uploaded..

Thanks for your quick reply,but if the input size is 64x64,the local and global discriminator will be wrong,because your networks are deep. I wish you can run your code on your own machine,thanks!

Hi, have you completed the full code? @LinXXXX

@LeonCurry I have found another code.

Can you share your another code with me? Thank you very much!

@LinXXXX   Can you share your anther code with me? Thank you very much! I have modified this for a few hours. Though the train.py can run, I am not sure if the training process of the code is correct.

@LeonCurry https://github.com/tadax/glcic

Thank you very much! @LinXXXX

@LeonCurry Your are welcome.

Can you tell me your QQ or Wechat Number? In order to we can communicate easily. @LinXXXX

@LeonCurry<PHONE_NUMBER>2 wechat


Big image upload fails

An image is more than 2MB fails to upload to the server.

Seems solved by the server change. Thanks to OVH fire :D


Fuzzy Files: Not opening files from current directory

Splitting this out from #503 (opening multiple files) - from @CrossR:

Normally I'd use some form of fuzzy file opener to just open up more tabs/splits, but I'm also having an issue where that isn't opening the current directory...I can open a separate issue for that though.

This occurs with 0.25 and 0.26rc in Windows 10.

And it looks like the behavior is as follows:

It's not empty, it's just regardless of where my file is open, it only shows files relative to oni in some fashion, I think the electron folder. If I swap the search command to the suggested windows one in Config.ts, It swaps to the program files folder that oni is installed in.

Just a couple of follow-up question on my end (and thanks @bert88sta for drilling into the behavior)

How are you opening up Oni? Is it via the start menu or some other way?
What does ":pwd" return? This is the current working directory Neovim knows about.

Right now the Fuzzy Files / QuickOpen experience uses the current working directory from Neovim, and it defaults to wherever Oni was opened.
It sounds like the expectation here is to set the working directory along with opening the file, which makes sense to me. It doesn't really make sense for Oni to have the working directory stick around as the install directory when you explicitly open a file.
Maybe a behavior we can start with here is that, if the working directory hasn't been changed (is the install folder), we should just change it with the first file that is opened - that would smooth out this experience.
This also aligns a bit with the autochdir setting in Vim/Neovim.
A couple of other things I'm thinking about that don't have answers right now:

For projects like Node or C#, where we can determine a root folder, like a package.json or *.csproj respectively - would it make sense to be smart and look upwards to grab that folder? This is something a plugin could also handle, or the language client could handle, since it does this traversal anyway.
For multi-selection - default to the last open file?
Maybe it makes sense to have an Open Folder option that just changes the working directory?

So, normally I'm opening Oni via the start menu. Using :pwd like that returns F:\Program Files\Oni, which is the install directory I have.
Opening it via cmd/powershell, :pwd instead returns the folder I was in when I opened Oni.
So yeah, it is set to wherever Oni is started from. From the shell that is the current folder, but from the Start menu this is just the Program files folder.
Incidentally, setting the "autochdir" flag in my init.vim made this work as I'd expect. Each tab and split had its own fuzzy files in the folder the file resides in, which is at least better than only having it in the install dir. From looking on the vim wikia, it seems this option doesn't always play nice with plugins, so maybe its worth looking into a more permanent solution. It does mention using autocmds instead for the same effect.
As for the other considerations:

That would certainly be useful, and would bring it close the the Ctrl-P vim plugin. It has the option of scanning upwards looking for git/svn/etc files, which is very useful. Being able to open a file anywhere in a project and access the whole project would be nice. Looks like this hooks in with #68.
The open folder in VSCode is certainly useful, and setting the current folder is definitely useful for things like file browsers, as well as the fuzzy matching.

Incidentally, setting the "autochdir" flag in my init.vim made this work as I'd expect.

As a short-term solution to this issue, should we add autochdir to Oni's default init.vim?

A further interesting effect of note is that if in init.vim you set it to automatically cd to a directory you desire then even though the pwd suggests you are at that directory the fuzzy search still works from the oni directory as if no cd happened. However you are actually at the new directory and if you cd up or down 1 directory then fuzzy search starts to work properly. So essentially I assume Oni needs a check on startup to have the fuzzy search's current directory updated if it gets changed in the init.vim.

...if in init.vim you set it to automatically cd to a directory you desire then even though the pwd suggests you are at that directory the fuzzy search still works from the oni directory as if no cd happened. However you are actually at the new directory and if you cd up or down 1 directory then fuzzy search starts to work properly.

Oh, interesting, thanks for the note @kornabert . Oni listens to the DirChanged autocmd from Neovim - I wonder if in the autochdir case that autocmd isn't being triggered?

I suggest whenever you are in the in QuickOpen, and you call show()
if you are in the install directory (is this possible to make a global var/envionrment var when installing?) instead of
        UI.Actions.showPopupMenu("quickOpen", [{
            icon: "refresh fa-spin fa-fw",
            label: "Loading Files...",
            detail: "",
            pinned: false,
        }])

show something along the lines of bookmarks the user can set in the config file, which then will change to a directory, which will make fuzzy finding work in that new directory.
I know you are working on #554 issue with async handling for large directories, but this might be a neat feature for if you start oni from a desktop icon.
I don't know typescript very well but I can try hacking at it when I get some time tomorrow, I will let you know if I make any strides, assuming you like this idea.

Thanks for the idea, @cyansprite ! Having QuickOpen show files from the install directory is almost never what the user would intend, or expect, so showing bookmarks or projects set in the config file sounds like a great option. I like the idea a lot!

is this possible to make a global var/envionrment var when installing?

We can actually figure out the install directory based on the value of process.execPath. For example, for Oni, installed in Windows, process.execPath is C:\Program Files (x86)\Oni\Oni.exe on my machine. The nesting is a bit different for OSX and Linux, but in all cases, we can derive the install directory from this variable.
So it sounds like there would be 3 parts to this:

Figure out the install directory, as described above
Add a configuration setting for project paths. Maybe something like project.paths or bookmark.paths. The place to add this would be oni/browser/src/Config.ts.
Update the QuickOpen logic to check for the install directory (using the logic in #1), and if that is the case, popup a menu showing the bookmarks / projects specified in the config. Most of that logic is in oni/browser/src/Services/QuickOpen.ts, in the show  method.

Thanks for offering to hack at it - if you want to give it a shot, that would be great! Let me know if get stuck or need help.

I split out #566 from this - which is specifically adding an "Open Folder" option to the menu. This could be done separately from the items called out above (adding projects / bookmarks), so I thought it made sense to have a separate issue

Can you assign me?
I don't know how assigning works, I've never worked on github with anyone.

Oh and we need a folder icon?

But i have it working :)

for now I'm using this "chain"
http://fontawesome.io/icon/link/

I submitted a pull request, let me know what you think.

@extr0py Can you assign me?
I don't know how assigning works, I've never worked on github with anyone.

It's weird - looks like only collaborators (so myself & keforbes) show up in the assignees list. Looks related to this github issue: https://github.com/isaacs/github/issues/100
But it's great to have you working with us 😄

for now I'm using this "chain"
http://fontawesome.io/icon/link/

Perfect! We'll probably need to experiment a bit and see what an intuitive experience for this is, but I think the chain represents the bookmark/link idea.

I have it working but when building the exec path is pointed to electron under the oni github directory, is there a way for me to package it and download it to ensure it works?

Yes, just depends which OS you're on. I'm assuming you've done a build (npm run build) prior.
Windows

npm run dist:win
npm run pack:win

After those two commands, you should now have a setup exe in your oni\dist folder
OSX & Linux

npm run pack

You'll find the output in the same place - oni\dist.
I use these a lot when testing the installer scenarios. Let me know if you have issues getting those work.
I'll take a look at the PR shortly!

@extr0py
Okay the run dist:win and pack:win it's not working debugging as to why right now, will make another commit and update PR. Thank you!
I will also test on Linux later. Won't be home much today but I will try  to get it done

Also we should check if ~ because i doubt the user would ever want that as well.

Okay the run dist:win and pack:win it's not working debugging as to why right now, will make another commit and update PR. Thank you!

Bummer, @cyansprite - let me know if you're getting an error message or something. I can help you troubleshoot a bit!

Also we should check if ~ because i doubt the user would ever want that as well.

Good call.. both #554 and #177 are related to this!

Also i noticed that if you select loading files it tried to open loading files..
Going to fix that and also going to detect if bookmarks is empty then offer to direct to oni config.

Also with my plugin im making I've researched file types that are never to be opened so i compiled a list and I think i can write some kind of binary checker to ensure we don't open binary files or show them such as .exe

Almost done :)...

@extr0py npm run pack

if on ubuntu need to run (if not already)
sudo apt install rpm

that way you have rpmbuild


⚠ Bofrost.de has degraded performance

In 6bdea9e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1485 ms

Resolved: Bofrost.de performance has improved in a16b1b5 after 5 hours, 33 minutes.


Lower data-tiled multi_mma to intrinsics.

This lowers multi_mma with DataTiledMMAAttr down to amdgpu intrinsics.

I had to move things around to break a Bazel circular dependency. That's the last commit here.


New repository: managed-rbac: Multi-cluster RBAC management

see the proposal at: https://github.com/open-cluster-management-io/enhancements/pull/91
CC @qiujian16 @jnpacker

Owners file:
approvers:
- jnpacker
- mikeshng
- xiangjingli
reviewers:
- jnpacker
- mikeshng
- xiangjingli

do we need to wait until the proposal is merged?

Yes, you are right we should wait.

/close


Configuration settings and Qualimap

Hi!
Looking at the qualimap output, I notice that the strand specificity and the library design in the input settings is set to default. I was wondering why doesn´t the qualimap input inherit the settings defined in the configuration?
Regards
Zahra

Hi @zahrahaider,
thanks a lot for the feedback. I added the option at 3dec798ba145de0fef00dc923cab8cd195fe63b6 commit. The last development version should have it.
cheers


feature: push down topN through join

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


fix for correct sample ids (0-255)!

Scope of the local variable "b"  used in def read(n) was wrong and resulted (at least) in wrong sample ids!
Renameing the variable to "bb" resolved the ambiguity and fixed the problem.

@Frederik-D-Weber can you explain why this will result in wrong sample ids? As far as I can tell, by creating an inner function read(), doesn't that create a new scope for the b variable? Also, b is only referenced when parsing the start byte and not used for parsing the packet_id or the other data, so I don't see how it will affect the sample id.
Nonetheless, I agree that having a different variable name will be better for readability.

Hi,
I concur with @yufengwng, this patch improves slightly readability even if I don't see the side effect.

@yufengwng @jfrey-xx , sorry for your inconvenience, indeed the inner scope was just shadowed by the variable but did not introduce any problems.
Coincidentally, as I renamed the variable (as suggested by IDE) this seemingly fixed the wrong sample id issue I had while debugging. I switched the variable names between "bb" and "b" at least twice to re-created or abolished the sample id issue back then, thus I thought it might relate to very weird scope bug (which I could not explain myself). I posted a fix in the hope to be enlightened about this weird behavior. However I can confirm now it was just coincidence now, since I failed to recreate the error. Coincidental bug-like behavior is just the worse (-;


[DO NOT MERGE] WIP: Retry container create at failure.

When container create fails, swarm manager should retry create according to preference. This PR has dependency on https://github.com/samalba/dockerclient/pull/194.
Signed-off-by: Dong Chen<EMAIL_ADDRESS>

@dongluochen Needs a golint check :bowtie:

@dongluochen Also this needs a Godep update to pick the change in dockerclient :)

@aluzzardi @abronan and I had a discussion on this reschedule problem. We decide to use response from dockerclient to fail node fast. I'll put this PR on hold while I work on that.

@dongluochen Any news on that PR? Should we go along with that?
If so this needs a rebase :bowtie:

@abronan Part of the work is done in #1600. I'll close this PR for now.


docs: refine the getting started md

closes #22

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

v0.0.7
GitHub release

Your semantic-release bot :package::rocket:


test(e2e): make chainsaw really assert status

It turns out that chainsaw doesn't read the assert resources as kuttl did, so we have been running without asserting tests since https://github.com/statnett/image-scanner-operator/pull/794. 😆
@eddycharly is fixing this issue in chainsaw now, but until a new release of chainsaw is available, this PR implements a workaround suggested on Slack.

It seems like @eddycharly is a bit in doubt about how this should behave in chainsaw. Since the modified syntax is a bit more expressive, I think we could/should consider this PR as a justified change, and not a simple short-term workaround.


zulip_ops: Add configuration for Vector Akamai stats.

Akamai writes access logs to S3; we use an SQS events queue, combined with Vector, to transform those into Prometheus statistics.

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks reasonable to me!


[Bug] The project page and partners page are not responsive at mobile view

Description of the bug
The project page and the partners page are not looking good in mobile view. I can fix it by using tailwind breakpoints.
Please add screenshots (if applicable)

Add any other context about the problem here
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey, #219 deals with the responsiveness of projects page. It's pending to be merged as of now

Hi @Anuran12 ! #219 fixed the responsive!
Let's chat on the discord to see what issue we can open here! :smile:

@mkubdev OK.. 😁

Hey..... @mkubdev Please add "hacktoberfest" label and "hacktoberfest-accepted" label


Mwe of a toml config defining a custom group

solving https://github.com/PyMoDAQ/PyMoDAQ/issues/473
In order to use more the plugin config file, it would be nice if a toml entry could be linked to a custom ParameterItem in the ParameterTree in the GUI. For instance a "group" (assigned to a ParameterGroup in the GUI) could be transformed into a scalable group, that would allow to add quickly some configurations. For instance, a keithley instruments can have dozens of channels. Adding some in the configuration file using a scalable group would be nice
The solution introduced by this PR is to add a parameter_type entry in the toml. The toml to Parameter parser would then try to load the corresponding Parameter or the default if no parameter_type is set!
a mwe is written in examples

I don't have access to the add button when i run it in standalone.
Is there something in particular to add ?

So it's wonderful, i'll be saving a lot of time and it's a nice enhancement to have for people to manage their configuration from the GUI.
Shouldn't we save the GroupParameter name in the toml ?
If i want a more evolved choice than just in a choice in a list (like a checkbox list), is it ok to add some gui logic in the ScalableCustomGroup.addNew ? Or should we have something in the pymodaq_gui ? or elsewhere in the plugin ?

I don't understand why the customgroup from toml can't be loaded as scalable GroupParameter, becoming then removable :)
The limits and so on that aren't stored in the toml are in the scalable group anyway.
Saving the xml wouldn't serve any purpose, we shouldn't be able to insert scalable groups from files.

being removable has nothing to do with scalable. It just means the parameter has a "removable" option set to True. But how to store this in a minimal toml file? One option could be to store the options into a dedicated group, ie:
afloat = 12.3
abool = true
[agroup]
anotherfloat=2.7
awhatever= false
[agroup.param_options]
type = 'customgroupparameter'
removable = true
tip = "a scalable group to display instrument features"

```

but not sure it is the role of a toml to store this especially because we are having these in XML file already...

being removable has nothing to do with scalable. It just means the parameter has a "removable" option set to True. But how to store this in a minimal toml file? One option could be to store the options into a dedicated group, ie:
...
but not sure it is the role of a toml to store this especially because we are having these in XML file already...

Could we provide this using the custom GroupParameter using a property or providing a constructor (method) from template (as the Add new is doing) ?


Enhancements to Content-Level Metatadata View/Edit

Following up on #2813, I'm moving the remaining suggested work that was in the comments to the issue here as a new issue. The original work on #2813 is complete and deployed with the 1.19 release, so I'm creating this issue so we can close the other one. The following suggestions were made by @Lizabrazil

[ ] 1. When right clicking on a file, irrelevant options for content types should be disabled (greyed out) in the "Set Content Type" context menu.
[ ] 2. Once the user clicks to "Add metadata" to a file, the right-side panel should automatically open the template to fill in the metadata.
[ ] 3. The Add Metadata green icon should also appear in the right side panel so it is less hidden behind a right click. That is - in edit mode, when you select a file in the content area, the metadata area (right panel) should have a link and message to add metadata. Leave the right click add metadata there in the context menu as it is now.

@horsburgh No. 2 and No. 3 have been implemented here and are waiting on code review:
https://github.com/hydroshare/hydroshare/pull/3112

@Maurier - thanks. I just verified that 1 is actually implemented. When I looked at the right click options the first time they didn't look like they were disabled, but they are. I'm going to close this one since 1 is done and 2 and 3 are in #3112.


Daemon

Create a master program that could theoretically be used as a daemon. The following changes would be needed:
New lemmy_nhl_bot.py

[x] This will need to be able to read the schedule and start bot.py functions at game time
[x] run stat_bot.py and standings_bot.py once per week

in config.py:

[x] scrape schedule to database

in bot.py, stat_bot.py, standings_bot.py:

[x] rename functions to something unique that can be called.

Optional: Redefine draft bot to support this. This would require:

[ ] renamed functions
[ ] a new way to scrape the start time of the draft rounds

adding a few more tasks to this:

[ ] create systemd and init.rc files to support Linux/FreeBSD
[ ] create installers (.deb, .pkg for FreeBSD) using pyinstaller.

adding a few more tasks to this:

[ ]  create systemd and init.rc files to support Linux/FreeBSD
[x]  create setup.py to package in pip

The pip package has been tested, for Documentation:

[ ] FreeBSD might not have python in path, add note on adding to path if needed.


sesh -c not showing defined sessions when combined with other flags

What happened?
Description
I want to see the combination of tmux, zoxide and config results.
To achieve this I've tried using sesh list -iztc but to my surprise config results were not there. I checked it and it turns out config results only show when -c flag is used alone without any other flag.
Steps to reproduce
$ sesh list -c
🛠  Utils

$ sesh list -c -t
tmux-session-1
tmux-session-2
tmux-session-3

My ~/.config/sesh/sesh.toml
[[session]]
name = "🛠 Utils"
path = "~/"

Expected behavior
$ sesh list -iztc
🛠  Utils
tmux-session-1
tmux-session-2
tmux-session-3
zoxide-1

Version:
$ sesh --version
sesh version dev

Version
sesh version dev
Relevant log output
No response
Reviewed

[X] Reviewed existing issues and made sure this bug has not already been submitted.
[X] I have read the documentation and understand how sesh works before submitting this bug

Sesh currently will hide config option if an active tmux session's directory is the same as the config path.
So I'm guessing one of your sample tmux session's path is ~/ which cases your custom 🛠  Utils to be filtered out.
I understand this isn't intuitive or explained. I'm currently rewritting sesh and overhauling how this logic works, which  will be more simple and predictable.

Okay, thanks for the quick reply and explanation.
Thanks for this project. It helps me perform my everyday tasks a lot quicker.
Have a great day!


[i2c] Add loopback support for target mode

fixes #17016

I ran the test with my latest #16941 and it shows setup time violation.
cmd:
./util/dvsim/dvsim.py ./hw/ip/i2c/dv/i2c_sim_cfg.hjson -i i2c_loopback -r 1 -v m -s 1 -w fsdb
Test use tSetupBit 6 cycles

i'm having a look right now.


layout engine

Hi,
that's not an issue: I am watching you since a while and I just wanted to let you know there is a 'Docker' library: https://github.com/WebCabin/wcDocker. I integrated this in my IDE without bigger hassle and the results are really great; it gives you basically the richness as seen in Eclipse or similar.
I also tried 'dockspawn.com' but it isn't really easy to port over to JS.
And if you like 'Ribbons', here is another library I can recommend: https://github.com/mc007/ribbon-js.
If you need a require-js port of these libs, let me know.
g

well, never mind :-(


Update varnish3.rb

-F option to have varnishd in foreground that the LaunchRocket start/stop manager works properly

Is this still useful? Are there any downsides to accepting this/Will it cause problems for anything else?

Hi Tom,
for my usage it's mandatory..
On the dev side, Launchrocket is useful to stop/start services easily.
On a productive side, it could be problematic, but i don't know if some are using varnish a mac as a server service..
Best regards


Solver initial guess requires abilities not yet unlocked

Required Information
Class: Blacksmith
Level: 60
Craftsmanship: 611
Control: 571
CP: 283
Recipe Name: Wolfram ingot
Recipe Level: 50 3-star
Solver Seed:<PHONE_NUMBER>511 (if using all abilities)
Expected Behaviour
Letting me run the solver
Actual Behaviour
"Initial guess" includes abilities that are unlocked at later levels and thus not available (such as patient touch), and grays out the "start" button as a result. If I select the actions it wants in the initial guess it allows me to use the solver but, of course, a level 64 ability is not available to a level 60 blacksmith and so the solver result is useless.
Steps To Reproduce
Options beyond available abilities do not matter. Simply try to run the solver as a level 60 blacksmith making wolfram ingots and the "start" button will be greyed out until you select abilities you can't use.

The initial guess is entirely under your control. You can edit it to remove the unusable abilities in the Simulator and then start the Solver from that edited sequence.

The initial guess is entirely under your control. You can edit it to remove the unusable abilities in the Simulator and then start the Solver from that edited sequence.

Huh, wow - so I can. That's on me indeed, I got so focused on the "initial guess" part that when I tried editing it I didn't notice that the "solver result" included more actions than the guess did.


Time to bid issue in dapp!!!

It is about 4:30 am CDT and I looked up a name, the name says it is available at 6:17 am CDT however the registrar dapp states less than an hour for bidding.

This is caused here: https://github.com/ethereum/ens-registrar-dapp/blob/3bff5b175663f5677198d87b52e7d66e856477f9/app/imports/templates/components/nameStatus.js#L288 - the test should be >= 1, not > 1.

fix upcoming


How do I invoke my own Execution provider from winML application?

I'm submitting a…

Sample app request
Current behavior
I am using winMLRunner to run CNN models and want to use my own execution provider. Is there a way where I can provide my execution provider using winML application?

Hi, thanks for posting. WinML is optimized for the Windows OS and DirectML is the chosen execution provider. If you would like to use your own execution provider, we recommend building ONNX Runtime from source.

@nums11 Thank you for the response, I have already build ONNX Runtime from source and I can see my execution provider in the list of execution providers.  So basically I can see 2 execution providers in the list now -

CPUExecutionProvider(default)
TestExecutionProvider(Added by me).

When I do inferencing now using WinMlRunner application, I see that CPUExecutionProvider(default) is used, Can you help me with a Sample app which can help in changing the Execution Provider.
Thanks in Advance !!!

Hi,
Onnxruntime provides a similar tool to WinMLRunner called Onnxruntime Perf Test in which target execution provider can be provided as an argument.
You can see if you can modify the source and build the tool to use your TestExecutionProvider. See the commandline parser here
You can provide your own specific input tensor with protobuf pb file or you can generate an input tensor with -I flag.

@ryanlai2 As far as I understand your comment, Onnxruntime perf test can be used to test Onnxruntime. What I am looking for is winml using my execution provider. Does winmlrunner have an option to select execution provider.

Thanks for your response. WinML Runner only allows selecting between CPU or DirectX. If you would like to use a custom execution provider, you would have to modify the WinML source. Currently there is no sample that does this, but referencing how the DirectML device is created may help.


Add Pull Request Template

Add a PR Template to the repository.

What fields would you like? I can add this.

I guess this would come down to our "Quality Standards" or rather Contribution Guidelines As We have never formally laid those out, we might best start with those?
For this I would like to create a dedicated issue that allows for a discussion.
Other Awesome Lists have done similar, and I guess we could take inspiration from them i.E.:

https://github.com/veggiemonk/awesome-docker/blob/master/.github/PULL_REQUEST_TEMPLATE.md
https://github.com/sindresorhus/awesome-nodejs/blob/main/.github/pull_request_template.md


Support Go templating syntax

It would be great to have go-mode support syntax highlighting for .tmpl files (without code completion), kinda like vim-go.
I guess code completion for objects under {{.}} cursor would be difficult without knowing the objects passed to Execute beforehand!

I'd accept patches for this, but it's not a high priority. At least one 3rd party mode, web-mode, supports Go templates.

Thanks! I didn't know that. The web-mode seems to be working.
So far, so good.
Closing 🍺


Stop recording the ecosystem param

I'm starting a broader project to re-think how we instrument the ecosystem (language * package manager) versions.
As part of this, the shape of the data that is sent to the internal API is changing, and the ecosystem param is no longer a separate k/v param.
Although the cloud version of the API no longer uses/requires this param, customers running GHES could upgrade their version of dependabot-core but against an older version of the API which still requires/uses this param. So I continued to send the param, but as a placeholder string of "deprecated", so that nothing breaks.
Again, this param is no longer used by the cloud's version of the API, so it will never see the ecosystem placeholder value.

Changing to draft as it may be simpler to do all this work as a one-time flip to the new data format rather than pull it off piecemeal and then adding it back...

This is ready for review.
Smoke test failures are expected, TBH it might be simplest to fix them after merging the related PR's so that I don't have to keep re-doing them in lockstep.
But keeping the PR's here in core separate for easier bite-size review.


'module' object is not callable

when I try to run the example code:
from mpu6050 import mpu6050
sensor = mpu6050(0x68)
print(sensor.get_accel_data())
It prints out an error on line 2 stating: 'module' object is not callable
I've installed it correctly, and there's no error when importing the module

Hi @Georg2K2, thank you for using my library!
I have only been able to reproduce this issue by incorrectly importing the module.
>>> import mpu6050
>>> sensor = mpu6050(0x68)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'module' object is not callable

You can either import the module using from mpu6050 import mpu6050 and call the class constructor with mpu6050(0x68) or import the module using import mpu6050 and call the constructor with mpu6050.mpu6050(0x68).
I hope this fixes your issue.

Like stated above, I import the module like:
from mpu6050 import mpu6050
and use it like described by you, but it still doesnt work for me :c

Hm. That is really weird. Does the example script (in the repository bin/mpu6050-example) work for you?

I get the error: No module named 'mpu6050'
I tried running the setup.py again, sadly it doesn't work. (also you might edit the instructions from "python setup.py install" to "sudo python setup.py install")
I tried doing the pip install, restarted and now I get "TypeError: 'module' object is not callable" on the example script

Which version of python are you using? If your system has both python 2.7.x and python 3, are you consistently using the same python version while testing?

im using python python 3

but I got it working now on Python 2.7.13!

Nice that it works now, could you maybe explain what you did differently with python 2.7? In the case that someone else might ever stumble on the same issue as you.

I just launched the script with python 2 instead of 3... ¯_(ツ)_/¯

I just launched the script with python 2 instead of 3... ¯_(ツ)_/¯

can you please tell the command you used to launch python 2 in raspberry pi??? I'm having the same error.....

I just launched the script with python 2 instead of 3... ¯_(ツ)_/¯

if you're using python 2, doesn't it create problem in other operations???

I didn't run into any other problems... I haven't used that pi in years, I would have to google it again as well, sorry :/ maybe something like 'python2.7' in cmd, I'm not a huge Ubuntu buff...


Push docker image produces docker Client.Timeout exceeded error

When I try push a docker image using cf push hello-Docker -o tutum/hello-world I get the following error message:

Failed to talk to docker registry: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Failed to talk to docker registry: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Staging process failed: Exit trace for group:
builder exited with error: failed to fetch metadata from [tutum/hello-world] with tag [latest] and insecure registries [] due to Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Exit status 2
Staging Failed: Exited with status 2

This is a really basic docker image which you can read about here https://hub.docker.com/r/tutum/hello-world/. I does not seem to matter which docker image I try as they all produce the same results.
Setup Check List:

Use Google's DNS servers
Windows 10 Pro (with all of the updates)
Windows Firewall disabled and no other firewall installed
Small home, LAN setup (using cable Internet) with only three systems in total
No proxy

I tried stopping and starting PCF Dev a number of times and when that did not change anything I've restarted my computer a number of times.

Can you confirm that your VM has internet access? If you run cf dev ssh and then ping <IP_ADDRESS>, what output do you get?

Here are the results:
C:\Users\pete>cf dev ssh
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 4.2.0-42-generic x86_64)

Documentation:  https://help.ubuntu.com/
New release '16.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: Wed Feb 21 13:32:05 2018 from <IP_ADDRESS>
vcap@agent-id-pcfdev-0:~$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=56 time=17.1 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=56 time=17.3 ms
^C
vcap@agent-id-pcfdev-0:~$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=56 time=17.3 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=56 time=15.8 ms
^C

If it helps at all, I get the previously stated error message in about two to  three seconds after executing the cf push command.

I think that I've narrowed it down to my Windows 10 Pro system, by using a trying the same push command on a Ubuntu 17.10 server system. When I run the same command on the Ubuntu system everything works as expected. I'll see what I can do to solve this and post back when/if I am able to.

Solved, here are the steps that I preformed:

Rebuild TCP/IP stack, only need one or two commands which you should be able to find easily enough.
Removed all network devices using the Windows Device Manager.
Rebooted
Reinstalled Virtual Box
Destroyed the cf dev image

I'm not too sure if you need to do all of those steps or what the exact order should be for some of them. However it's working for me and I'm happy about that.


dylandomain: documenting constants

We need a new object type for constant.
An example of this can be found in the transcendentals documentation:
$single-pi
----------

Constant
--------

Summary

The value of π as a single precision floating point number.

Type

<single-float>

Superclass

<float>

Description

The value of π as a single precision floating point number.

See also

See the constant `$double-pi`_.

I don't think a constant should have a superclass.


Merge fixed clustering from lauren_branch

Changing calibClust to cleaned up version (new version worked for several people)

Hi @lbeesleyBIOSTAT, this merge can't be completed because your branch wasn't created from the most recent state in the master branch. You can attempt to merge by clicking Update branch -> Update with merge commit. You will be prompted for additional action if needed.


Synonyms::addStripped() incorrectly assumes ascii-nul termination

Synonyms::addStripped() assumes that stripAccentMarks() outputs a NUL-terminated string, which it doesn't, leading to SafeBuf::safeStrcpy() scanning beyond buffer end.
Solved in our fork, commit https://github.com/privacore/open-source-search-engine/commit/f3153425a7807e26e5f2eae58e800620be6248eb

thanks, incorporated.


alphabetical  order

would be nice to have all entry to be in  alphabetical order
CUSTOM PLUGINS (LOVELACE)
CUSTOM INTEGRATIONS
CUSTOM INTEGRATION REPOSITORIES
CUSTOM PLUGIN REPOSITORIES
right now when you add card etc, they all show in order of installation, would be nice to have them re arrange in alphabetical order

This was included in the 0.5.0 release


Provide correct example of initial presence members

The README has examples like this:
let chan = pusher.subscribe("presence-channel")
print(chan.members)

This is misleading: the chan.members at that point is empty, because the subscription has not yet succeeded. I assumed that the call must be blocking.
It wasn't blocking. I then assumed that the optional onMemberAdded/onMemberRemoved callbacks would be called when the subscription succeeded, so I implemented that. But this was not the case either.
Eventually I found I had to:

implement PusherConnectionDelegate
set pusher.connection.delegate
get the members property only when the channel with the right name comes through in the subscriptionDidSucceed callback, like so:

    func subscriptionDidSucceed(channelName: String) {
        if channelName == "presence-foo" {
            print(self.presenceChannel!.members, "\n");
        }
    }

I think there are similar misleading examples like chan.me() which should also be fixed.

I think just below that example is where I explained it: https://github.com/pusher/pusher-websocket-swift#presence-channels, with the comment about how there's the subscribeToPresenceChannel function available, if you want to have direct access to the members, me etc functions without having to cast.
Although your comment seems to be more about how they don't return anything useful until a successful subscription occurs, which is also a good point.
Two things:

I thought it would be confusing to have the onMemberAdded event fire for the client itself being added as a member, so made it not do that. I could, however, make it fire for that case. What I think I would prefer to do though is...

Adding a function that you can chain to subscriptions on presence channels which would look something like:

let presenceChan = pusher.subscribeToPresenceChannel("presence-chan") { chan in
  // then in here you have can add some code you want to be run
  // only when connection has succeeded
}

Or maybe a docs change is enough?
@jameshfisher WDYT?

I think a docs change is enough:

I didn't even see the subscribeToPresenceChannel bit because I didn't read that far!

I'd remove any mention of pusher.subscribe("presence-my-channel") if we want to replace it with subscribeToPresenceChannel

Remove any examples which imply that members etc are synchronously populated

Expand the single example of subscribeToPresenceChannel to show how to:

get the current set of members
get changes to the set of members

Updated the docs to make working with presence channels a lot clearer. See 5cd469c8 for reference.

Much better! Thanks!


fix status controller not reconcile when federation has no readyCluster

Issue:https://github.com/kubernetes-sigs/federation-v2/issues/677

@k8s-ci-robot /ok-to-test

@k8s-ci-robot /ok-to-test

That command does nothing in this repo, the bot assumes prow but we use travis.  If you look at the checks, CI has run and is passing.

@shashidharatd Would you be able to review this?

@braceinhz, apologies for the delay in review. Thanks for the fix !
/lgtm
/approve


Consider using Go 1.6+'s vendor directory

Using the vendor directory makes offline and reproducible builds easy. Speaking as one of the maintainers of the Homebrew package manager, we especially encourage its use. We'd really appreciate it if you could adopt the vendor system at some point. Thanks.
P.S. elvish was added to Homebrew recently:

https://github.com/Homebrew/homebrew-core/pull/4724;
https://github.com/Homebrew/homebrew-core/blob/master/Formula/elvish.rb)

This will be done before the next preview release (0.4).

👍

Fixed by e6648ffd921cec91bcd10d4fcbd67a290675fb25. I have also tagged 0.4.

Thank you!


nagios: 4.4.4 -> 4.4.5

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/nagios/versions.
meta.description for nagios is: '"A host, service and network monitoring program"'.
meta.homepage for nagios is: '"https://www.nagios.org/"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 4.4.5 with grep in /nix/store/68db14x0grcljrhdddaq6dwbijn44kln-nagios-4.4.5

directory tree listing: https://gist.github.com/3e638cf4c785d300fbe096b16a20e92a

du listing: https://gist.github.com/a2fc1acc0df8c4424786127c72a7e05c

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
nagios

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/68db14x0grcljrhdddaq6dwbijn44kln-nagios-4.4.5 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A nagios https://github.com/r-ryantm/nixpkgs/archive/b93dd3d2c5424f5f75e2d2743dcb5e7648a03395.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/68db14x0grcljrhdddaq6dwbijn44kln-nagios-4.4.5
ls -la /nix/store/68db14x0grcljrhdddaq6dwbijn44kln-nagios-4.4.5/bin

cc @thoughtpolice @relrod for testing.

https://github.com/NagiosEnterprises/nagioscore/blob/master/Changelog


How to contact the developer to join in the communication channel?

Dear developer, I am a PhD student from The Hong Kong University of Science and Technology and my research topic is distributed machine learning. I am quite interested in this software. However, I found that the communication channel link does not work well. It seems that the source code of Swarm Node is not published. I really want to join in you and do this project. My mentor also agree with that. Could you please tell me how to contribute this software especially on the application of blockchain and merging algorithms? Thank you so much!

Good to know you are interest on using Swarm learning for your research.
Could you please explain which communication channel link didn't work for you?

Good to know you are interest on using Swarm learning for your research. Could you please explain which communication channel link didn't work for you?

Thank you for your reply. I tried to join in the channel by using your provided link before and I used my HEP account email to sign in. However, it always told me the incorrect email address and there was no account on HPE tied to my email address. I am very sure that I can use it sign in through this https://www.hpe.com/us/en/home.html. Thank you in advance for your support and I am eager to start my research on this topic as soon as possible.

Good to know you are interest on using Swarm learning for your research. Could you please explain which communication channel link didn't work for you?

The following link provided in the section of getting in touch.
https://hpe.enterprise.slack.com/?redir=%2Fr-t1723025465828%3Fredir%3D%252Farchives%252FC02PWRJPWVD

Sorry for the delayed response. We will look at slack channel issue first. Please give us sometime to contact you.

I am looking forward to your further reply. We would like to start our research at this topic as soon as possible. Thanks.

Sorry for the delayed response. We will look at slack channel issue first. Please give us sometime to contact you.

Hi, I have already accepted your invitation. However, it seems that the invitation is canceled by Hewlett Packard Enterprise. I am not sure what the problem is. Could you please give me some suggestion? Thanks.

Hello?

I have the same problem. I can't join the slack channel with my email address. Have you solved this problem?

I have the same problem. I can't join the slack channel with my email address. Have you solved this problem?

Not yet. The invitation was canceled for twice.

Please note we have new Slack channel.
Join the HPE Developer Slack Workspace and start a discussion in our #hpe-swarm-learning channel.


Add a Python page

All things python with a landing.

First step: find a volunteer in our python channel to give us some good tutorials, first steps, blogs etc.

Closing this out due to lack of activity. Please feel free to open a new issue if this is still needed.


add casparcg to graphics section

Latest version supports NDI I/O

Thanks for the pull request! I considered adding CasparCG but since NDI wasn't supported in the version linked to on the website, I decided against it. But you're right, CasparCG is too big an asset to the broadcast community to leave behind. I've updated the pull request to link directly to the release on GitHub that supports NDI, that should prevent some confusion.


feature request: subfigures

As described at https://www.overleaf.com/learn/latex/How_to_Write_a_Thesis_in_LaTeX_(Part_3)%3A_Figures%2C_Subfigures_and_Tables. Pretty sure I'll want this for my paper. Might hack something in.

Some more info, for posterity:
In addition to 59f3f1f, which hacked in LaTeX support for subfigures, I also did 379c483b91e7e082372f83c6e5480f4db2e47784, which hacked in HTML support (much easier).
Using subfigures, in source, looked like:
::: figure {#notebook_vs_canvas}
:::: {.subfigure style="width: 30%" latex_width=0.3\columnwidth}
![](assets/2022-09-10-16-54-40.png)
::::
:::: {.subfigure style="width: 65%" latex_width=0.65\columnwidth}
![](assets/2022-09-10-16-58-15.png)
::::
| (a) A [Notebook]{.toolname} in which a user builds an arrow graphic for a vector. (b) A [NotebookCanvas]{.toolname} consisting of the same cells, but arranged spatially.
:::

In this example, I just use a normal caption, on the figure. You might instead want to use "subcaptions" on each subfigure, which could be made by using a | line within the subfigure. I used these at one point, so 59f3f1f handles them.


Stack HCI SandBox deployment fails

Hello. thank you always.
When I tried to create a Stack HCI verification environment on Azure using the code provided here, it fails when running PowerShell after VM deployment.
I got the following error message, is there any way to fix it?
PS C:\AzHCI_Sandbox\AzSHCISandbox-main> & C:\AzHCI_Sandbox\AzSHCISandbox-main\New-AzSHCISandbox.ps1 VERBOSE: Enabling PS Remoting on client... VERBOSE: Performing simple validation of Product Keys VERBOSE: No Multiple Hyper-V Hosts defined. Using Single Hyper-V Host Installation VERBOSE: Testing VHDX Path VERBOSE: Generating Single Host Placement
VERBOSE: Creating Internal Switch
VERBOSE: Creating NAT Switch
VERBOSE: Creating Internal NAT Switch: Internal NAT
VERBOSE: Applying IP Address to NAT Switch: Internal NAT
VERBOSE: Creating new NET NAT
VERBOSE: Getting local Parent VHDX Path
VERBOSE: Configuring Hyper-V Settings on localhost
VERBOSE: Copying VHDX Files to Host
VERBOSE: Copying C:\AzHCIVHDs\gui.vhdx to V:\VMs\GUI.VHDX
VERBOSE: Copying C:\AzHCIVHDs\azshci.vhdx to V:\VMs\AzSHCI.VHDX
VERBOSE: Generating the VM: @{AzSHOST=AzSMGMT; VMHost=ASHCIHost001}
VERBOSE: Virtual Machine FABRIC NIC MAC is = xx-xx-xx-xx-xx-xx
VERBOSE: Returned VMMac is xx-xx-xx-xx-xx-xx
VERBOSE: Generating the VM: @{AzSHOST=AzSHOST1; VMHost=ASHCIHost001}
VERBOSE: Virtual Machine FABRIC NIC MAC is = xx-xx-xx-xx-xx-yy
VERBOSE: Returned VMMac is xx-xx-xx-xx-xx-yy
VERBOSE: Generating the VM: @{AzSHOST=AzSHOST2; VMHost=ASHCIHost001}
VERBOSE: Virtual Machine FABRIC NIC MAC is = xx-xx-xx-xx-xx-zz
VERBOSE: Returned VMMac is xx-xx-xx-xx-xx-zz
VERBOSE: Performing offline installation of Hyper-V to path \ASHCIHost001\V$\VMs\AzSMGMT.vhdx
VERBOSE: Installation started...
Install-WindowsFeature : The request to list features available on the specified server failed.
The image could not be mounted.
The I/O operation has been aborted because of either a thread exit or an application request. Error: 0x800703e3
At C:\AzHCI_Sandbox\AzSHCISandbox-main\New-AzSHCISandbox.ps1:545 char:9

Install-WindowsFeature -Vhd $path -Name Hyper-V, RSAT-Hyper-V ...

   + CategoryInfo : InvalidOperation: (@{Vhd=\\ASHCIHo...Name=localhost}:PSObject) [Install-WindowsFeature],
   DeploymentProviderException
   + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Mount_Image,Microsoft.Windows.ServerManager.Commands.AddWindows
  Feature Command

Thank you.
Sayo

Thanks Sayo, this repo is no longer being maintained and I have redirected all the new code into the Jumpstart HCIBox. Please use that to deploy the latest version of the HCIBox to evaluate all aspects of Azure Stack HCI and Azure Arc Hybrid Solutions. Thanks for your interest and time.

Thank you mgodfre3 for your reply.
I will try to build a jump start HCI Box as you taught me.
thank you.


Advertising, scan and connection parameters

Hi! In order to make our application faster and improve the user experience, I'd like to change the default advertising, scan and connection parameters (mainly I'd like to change advertising interval and connection interval) but I'm not able to find the functions in the library to do so.
Are there functions currently in the library to set these paremeters? If not, do you have plans to add this feature in a near future?
Thanks a lot

There are no DBus apis to change any of these. However, you can modify some of them by editing the Bluez config file.

https://github.com/bluez/bluez/blob/master/src/main.conf

Understood. Thank you!


Blogging

As a API owner I would like to write blog entries about API economy and APIs related topics. Blog should be available for all signed up users.

An idea can be to incorporate both Blogging and Use case story under a single tab in API profile.

Recreating blogging functionalities is maybe redundant when there are plenty of good blogging platforms (medium, wordpress,...). Would it be possible to somehow use existing platforms and integrate instead?

Here is an idea about blogging specific to an API.
A separate tab in API profile would allow users to add both blog entries and use cases.
There would be an advanced editor to provide different features (manual entry, linking to a blog existing in a separate platfom, giving code snippets/use cases, etc.)
Previous entries can also be seen there.
Writer's name and association with the API (owner/consumer) may come with the blog posts.
blog entries can be liked, shared and reply threads can be initiated.

Based on recent discussions, we agreed to build in oembed support. This means we should be able to add content from any provider with oembed compatibility.
As a related note, Medium does not appear to support oembed:

https://help.medium.com/hc/en-us/articles/216566288-Can-I-embed-Medium-on-other-sites-
https://github.com/nfl/jquery-oembed-all/issues/47

Also, we will need to consider approval flow. API owners should be able to control the content the developers are adding for a particular API. Should the developers add content as a suggestion and owners need to approve that? Or can anything be added and it will be publicly shown immediately, but owners and admins have the privilege to reject afterwards?

In API profile details tab, Oembd contents appear in a separate pane, under "Make a call to API" section.
The contents appear as cards in the pane, with pagination options to show more entries.
Based on the user role, the Oembd pane may either appear with Add button and cards having edit and delete buttons (API manager)

or they may simply appear as normal cards in the Oembd Pane. (API consumers / anonymous users)

(alternative: the add button can be displayed all the time for anonymous users as well. However, when they click it, they are prompted to log in or sign up. This ensures that logged in users, i.e. API managers and API consumers can both add Oembd content. We still need to decide if only API manager should have the right to delete any content preview.)
Oembd contents appear as cards that shows the content name(hyperlink - clicking this leads to the original content), description (if given) and a preview of the content type (e.g. youtube video, tweet, wordpress content, etc.).
The preview appears if API manager allows it while adding the oembd content.
The name becomes hyperlinked once the API owner adds link to the original article in the add pane.

On API Profile detail page, a button for adding Oembd content will appear on the Oembd Pane.
On clicking the button, a dialogue would appear with necessary fields to add a new Oembd contents.
Fields included: Name, URL, Description, Preview checkbox (checking this would show in which platform the original content is added. e.g. Youtube, Twitter, Wordpress, etc.

APInf will support a possibility to add oembed content during February 2017.


Add missing dash for -shared

Arg! Somehow the initial dash in -shared got dropped in the table reformat. Let's fix that!

@thomasnyman  @gkunz - Can I have a quick thumbs-up and/or merge here?


rancher reinstall with new domain name,but import cluster script is old one

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
1.helm uninstall rancher -n cattle-system
2.helm install rancher rancher-stable/rancher
--namespace cattle-system
--set hostname=rancher.new.com
--set ingress.tls.source=secret
3. menu: globao->add cluster->add an existing cluster
curl --insecure -sfL https://rancher.old.com/v3/import/ps9knz89vjw2vjz7f7gbrj9cpvl455gvkksltmxthbj5w56zwstvx2.yaml | kubectl apply -f -

Result:
the domain name is old one
Other details that may be helpful:
nothing
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):v2.3.5
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): hosted
Machine type (cloud/VM/metal) and specifications (CPU/memory):vm
Kubernetes version (use kubectl version):

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.2", GitCommit:"cff46ab41ff0bb44d8584413b598ad8360ec1def", GitTreeState:"clean", BuildDate:"2019-01-10T23:35:51Z", GoVersion:"go1.11.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.2", GitCommit:"59603c6e503c87169aea6106f57b9f242f64df89", GitTreeState:"clean", BuildDate:"2020-01-18T23:22:30Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

$ docker version
Client:
 Version:           18.06.3-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        d7080c1
 Built:             Wed Feb 20 02:26:51 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.3-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       d7080c1
  Built:            Wed Feb 20 02:28:17 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Hi, I just wanted to report something familiar. Might be related:
we also made a HA installation of rancher setting hostname flag in Helm (version 3.0.3) to loadbalancer.company.com. Afterwards we got a DNS entry and made helm upgrade with hostname: dnsentry.company.com.
Afterwards we got this behaviour in the kubectl shell launched form the web:
# Run kubectl commands inside here
# e.g. kubectl get all
> kubectl get nodes
error: the server doesn't have a resource type "nodes"
> kubectl get pods
error: the server doesn't have a resource type "pods"
> cat .kube/config
apiVersion: v1
kind: Config
clusters:
- cluster:
    api-version: v1
    server: "https://loadbalancer.company.com/k8s/clusters/local"
    certificate-authority: /nonexistent/.kube/certs/ca.crt
  name: "Default"
contexts:
- context:
    cluster: "Default"
    user: "Default"
  name: "Default"
current-context: "Default"
users:
- name: "Default"
  user:
    token: "kubectl-shell-user-94kjw:wtnkgm7bvdlr6txms2hvvgl4plv9bkjjmlkqthz2rnh597j8b7m7gh"
> vi .kube/config # set server to dnsentry.company.com
> kubectl get pods
No resources found in default namespace.
> kubectl get nodes
NAME                                  STATUS   ROLES                      AGE     VERSION
ra001-k8s-cdl-d.ddc.teliasonera.net   Ready    controlplane,etcd,worker   4h49m   v1.17.2
ra002-k8s-cdl-d.ddc.teliasonera.net   Ready    controlplane,etcd,worker   4h49m   v1.17.2
ra003-k8s-cdl-d.ddc.teliasonera.net   Ready    controlplane,etcd,worker   4h49m   v1.17.2

Manually updating the kube/config file solved that problem. Resolution right now: re-install rancher. However according to above that might not work either.
rancher: 2.2.5, docker 19.03.5.
regards

And the ENV CATTLE_SERVER is old one in cattle-cluster-agent and  cattle-node-agent

fixed by following this :
https://docs.rancher.cn/rancher2x/admin-manual/replace-ip-domain.html#_1-准备所有集群的直连kubeconfig配置文件


chg:usr:improve: Fixed paper1 review comments and merge issue

I have rebased my repository to have latest tex and generated pdf. Not sure why I get conflicts