haiku.lift doesn't work inside an RNN. Parameters are repeated for every unroll iteration.

Below is some self-contained code:
import jax
import jax.numpy as jnp
import haiku as hk
import functools
from pprint import pprint

def multihead_lift(x, fn):
  """create N parallel copies of fn with their own parameters.
  supports functions that return multiple outputs as tuples or list.

  Args:
      fn (TYPE): function to copy
      x (TYPE): data (N x D). N = heads. D = dim of data.

  Returns:
      TYPE: Description

  Raises:
      RuntimeError: error if x is not jnp.ndarray
  """
  assert len(x.shape)==2, "only know how to deal with N x D"

  # inner function will vmap over dimension N
  N = x.shape[0]
  functions = [fn() for i in jnp.arange(N)]

  # nested transforms for all 8 + extract inits + applies
  init_applies = jax.tree_map(lambda net: hk.transform(net), functions)  # nested transform
  inits = [i.init for i in init_applies]

  # get lifted parameters for each linear
  params = [hk.lift(inits[i], name=f"lift")(hk.next_rng_key() if hk.running_init() else None, x) for i in range(N)]
  # take first set of parameters and change to mutable dict.
  # will be used for parallel processing along with first apply fn
  storage = hk.data_structures.to_mutable_dict(params[0])
  keys = list(storage.keys())

  # stack all the parameters so they're in one dict
  # need to do this because they have different "types"?
  # here, "linear", "linear1", etc. Don't really understand.
  # > print(jax.tree_map(lambda x:x.shape, params)):
  # >   FlatMap({'linear': FlatMap({'b': (64,), 'w': (128, 64)})}), FlatMap({'linear_1': FlatMap({'b': (64,), 'w': (128, 64)})}), ...
  just_params = [next(iter(p.values())) for p in params]

  # stack params and place in first params dict
  stacked_params = jax.tree_map(lambda *arrays: jnp.stack(arrays), *just_params)
  assert len(keys)==1, "don't know how to deal with more complex yet"
  storage[keys[0]] = stacked_params

  def apply_fn(params, x):
      key = hk.next_rng_key()
      return init_applies[0].apply(params, key, x)

  # paralell over 0st dim of params, 1st dim of data
  x = jax.vmap(apply_fn, in_axes=(0, 0), out_axes=0)(storage, x)

  return x

class CustomLSTM(hk.RNNCore):
  def __init__(self):
    super().__init__()

  def __call__(
      self,
      x: jnp.ndarray, # [B, N, D]
      prev_state: hk.LSTMState,
  ):
    """Just pass x through linear function N times inside RNN"""

    vmap_func = functools.partial(multihead_lift, fn=lambda: hk.Linear(64))
    x = hk.vmap(vmap_func, in_axes=0, split_rng=False)(x)

    return x, prev_state

  def initial_state(self, batch_size=1, heads=8) -> hk.LSTMState:
    return hk.LSTMState(hidden=jnp.zeros([batch_size, heads, 128]),
                      cell=jnp.zeros([batch_size, heads, 128]))

T, B, N, D = 10, 1, 8, 128

########
# REGULAR LINEAR
########
def linear(x):
    vmap_func = functools.partial(multihead_lift, fn=lambda: hk.Linear(64))
    x = hk.vmap(vmap_func, in_axes=0, split_rng=False)(x)

    return x

x = jnp.zeros((B, N, D))
init, apply = hk.transform(linear)
params = init(jax.random.PRNGKey(42), x)

apply = jax.jit(apply)
y = apply(params, jax.random.PRNGKey(42), x)
print('linear output', y.shape)

########
# WITH RNN
########
def rnn(x):
    lstm = CustomLSTM()
    state = lstm.initial_state()
    x, new_state = hk.static_unroll(lstm, x, state)
    return x

x = jnp.zeros((T, B, N, D))

init, apply = hk.transform(net)
params = init(jax.random.PRNGKey(42), x)

apply = jax.jit(apply)
y = apply(params, jax.random.PRNGKey(42), x)
print('rnn output', y.shape)

Error:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Input In [25], in <cell line: 117>()
    114 x = jnp.zeros((T, B, N, D))
    116 init, apply = hk.transform(net)
--> 117 params = init(jax.random.PRNGKey(42), x)
    119 apply = jax.jit(apply)
    120 y = apply(params, jax.random.PRNGKey(42), x)

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/transform.py:113, in without_state.<locals>.init_fn(*args, **kwargs)
    112 def init_fn(*args, **kwargs):
--> 113   params, state = f.init(*args, **kwargs)
    114   if state:
    115     raise ValueError("If your transformed function uses `hk.{get,set}_state` "
    116                      "then use `hk.transform_with_state`.")

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/transform.py:335, in transform_with_state.<locals>.init_fn(rng, *args, **kwargs)
    333 with base.new_context(rng=rng) as ctx:
    334   try:
--> 335     f(*args, **kwargs)
    336   except jax.errors.UnexpectedTracerError as e:
    337     raise jax.errors.UnexpectedTracerError(unexpected_tracer_hint) from e

Input In [14], in net(x)
     85 lstm = CustomLSTM()
     86 state = lstm.initial_state()
---> 87 x, new_state = hk.static_unroll(lstm, x, state)
     88 return x

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/recurrent.py:128, in static_unroll(core, input_sequence, initial_state, time_major)
    126   else:
    127     inputs = jax.tree_map(lambda x, _t=t: x[:, _t], input_sequence)
--> 128   outputs, state = core(inputs, state)
    129   output_sequence.append(outputs)
    131 # Stack outputs along the time axis.

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/module.py:433, in wrap_method.<locals>.wrapped(self, *args, **kwargs)
    430   local_name = module_name.split("/")[-1]
    431   f = stateful.named_call(f, name=local_name)
--> 433 out = f(*args, **kwargs)
    435 # Module names are set in the constructor. If `f` is the constructor then
    436 # its name will only be set **after** `f` has run. For methods other
    437 # than `__init__` we need the name before running in order to wrap their
    438 # execution with `named_call`.
    439 if module_name is None:

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/module.py:284, in run_interceptors(bound_method, method_name, self, *args, **kwargs)
    282 """Runs any method interceptors or the original method."""
    283 if not interceptor_stack:
--> 284   return bound_method(*args, **kwargs)
    286 ctx = MethodContext(module=self,
    287                     method_name=method_name,
    288                     orig_method=bound_method)
    289 interceptor_stack_copy = interceptor_stack.clone()

Input In [25], in CustomLSTM.__call__(self, x, prev_state)
     72 """Just pass x through linear function N times inside RNN"""
     74 vmap_func = functools.partial(multihead_lift, fn=lambda: hk.Linear(64))
---> 75 x = hk.vmap(vmap_func, in_axes=0, split_rng=False)(x)
     77 return x, prev_state

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/stateful.py:717, in vmap.<locals>.mapped_fun(*args)
    714   saved_rng = state.rng
    715   state = InternalState(state.params, state.state, rng)
--> 717 out, state = mapped_pure_fun(args, state)
    719 if split_rng:
    720   state = InternalState(state.params, state.state, saved_rng)

    [... skipping hidden 3 frame]

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/stateful.py:697, in vmap.<locals>.pure_fun(args, state_in)
    693   state_in = InternalState(state_in.params, state_in.state, rng)
    695 with temporary_internal_state(state_in), \
    696      base.push_jax_trace_level():
--> 697   out = fun(*args)
    698   state_out = difference(state_in, internal_state())
    699   return out, state_out

Input In [25], in multihead_lift(x, fn)
     31 inits = [i.init for i in init_applies]
     33 # get lifted parameters for each linear
---> 34 params = [hk.lift(inits[i], name=f"lift")(hk.next_rng_key() if hk.running_init() else None, x) for i in range(N)]
     35 # take first set of parameters and change to mutable dict.
     36 # will be used for parallel processing along with first apply fn
     37 storage = hk.data_structures.to_mutable_dict(params[0])

Input In [25], in <listcomp>(.0)
     31 inits = [i.init for i in init_applies]
     33 # get lifted parameters for each linear
---> 34 params = [hk.lift(inits[i], name=f"lift")(hk.next_rng_key() if hk.running_init() else None, x) for i in range(N)]
     35 # take first set of parameters and change to mutable dict.
     36 # will be used for parallel processing along with first apply fn
     37 storage = hk.data_structures.to_mutable_dict(params[0])

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/lift.py:155, in lift.<locals>.<lambda>(*a, **k)
    153 params_and_state_fn, updater = lift_with_state(init_fn, name)
    154 updater.ignore_update()
--> 155 return lambda *a, **k: params_and_state_fn(*a, **k)[0]

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/lift.py:234, in _to_callable.<locals>.<lambda>(*a, **k)
    232 """Enapsulates the given callable inside a lambda."""
    233 # Prevents us from leaking methods other than __call__ on `f`.
--> 234 return lambda *a, **k: f(*a, **k)

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/module.py:433, in wrap_method.<locals>.wrapped(self, *args, **kwargs)
    430   local_name = module_name.split("/")[-1]
    431   f = stateful.named_call(f, name=local_name)
--> 433 out = f(*args, **kwargs)
    435 # Module names are set in the constructor. If `f` is the constructor then
    436 # its name will only be set **after** `f` has run. For methods other
    437 # than `__init__` we need the name before running in order to wrap their
    438 # execution with `named_call`.
    439 if module_name is None:

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/module.py:284, in run_interceptors(bound_method, method_name, self, *args, **kwargs)
    282 """Runs any method interceptors or the original method."""
    283 if not interceptor_stack:
--> 284   return bound_method(*args, **kwargs)
    286 ctx = MethodContext(module=self,
    287                     method_name=method_name,
    288                     orig_method=bound_method)
    289 interceptor_stack_copy = interceptor_stack.clone()

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/lift.py:99, in LiftingModule.__call__(self, *args, **kwargs)
     97 inner_params, inner_state = self._init_fn(*args, **kwargs)
     98 # Lift parameters into this transform's params_dict.
---> 99 pack_into_dict(inner_params, outer_params, self._prefix_name)
    100 pack_into_dict(inner_state, outer_state, self._prefix_name, state=True)
    101 return inner_params, inner_state

File ~/miniconda3/envs/acmejax/lib/python3.9/site-packages/haiku/_src/lift.py:50, in pack_into_dict(src, dst, prefix, state)
     48   new_key = key
     49 if new_key in dst:
---> 50   raise ValueError(
     51       f"Key '{new_key}' already exists in the destination params. To "
     52       "prevent accidental parameter re-use during lift, you can't re-use a "
     53       "parameter already defined in the outer scope.")
     54 value = dict(value)
     55 if state:

ValueError: Key 'custom_lstm/lift/custom_lstm/linear' already exists in the destination params. To prevent accidental parameter re-use during lift, you can't re-use a parameter already defined in the outer scope.

Note that this is using pip install git+https://github.com/deepmind/dm-haiku@main

As a note, this error doesn't come up if I set the init data to have T=1 time-steps, but my architecture uses the difference of the rnn across time-steps, so that I need an initialization with T>=2 I believe.

Hi @wcarvalho,
Thanks for reporting this issue! I recently hit a similar issue (namely performing a hk.lift within hk.scan) and submitted  #384 that we hope should also fix your use case. Do let us know if this works out for you.
Thanks again!


Hardware acceleration as a flag for ffmpeg+opencv

Need to build ffmpeg with hardware acceleration (for Nvidia cards for starters)

As desribed in this answer:- https://stackoverflow.com/a/44518572 ?
Steps are given on Nvidia's page - https://developer.nvidia.com/ffmpeg

This documentation might be helpful @rajat2004
https://trac.ffmpeg.org/wiki/HWAccelIntro#NVENC

Can be closed after https://github.com/markus-perl/ffmpeg-build-script/pull/34 is merged


unsupported mime types

Following mime types does not mapped from mime-type module.

'application/gzip'
'application/x-gzip'

So, mimeTypes.extension(contentType) return to false;  (https://github.com/feathersjs/feathers-blob/blob/master/src/index.js#L51)
my-iso.tar.gz or my-iso.tgz files saved as follows:
400414b1bc866859d49190883e6886698fa14ab77d7d58df35534d6d8f94bde8.false
Is it possible to add custom mime/extension mappings ?

Looking at the mime-types module you should be able to add you own extensions to therequire('mime-types').extensions object.

Hey David,
Thanks for the tip, following code solved the issue:
var custom = {
    'application/gzip': ['gz'],
    'application/x-gzip': ['tar.gz','tgz','gz'],
};

Object.assign( require('mime-types').extensions, custom);

Awesome. I'm going to close this then.


T5 revert fp16 clamping removal

What does this PR do?

Clamps inf values in hidden state tensors to stabilise fp16 training

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Offer a way to update php.ini at startup based on FILE_UPLOAD_SIZE_LIMIT

Changing the FILE_UPLOAD_SIZE_LIMIT while bookstack does not error out, php.ini dictates the max file is 10M hardcoded.
Alternatives:
Display a log message when FILE_UPLOAD_SIZE_LIMIT is changed informing user that has to bind mount a modified php.ini file
Thanks

Take a look at the linked PR. I'll happily review a PR to make changes to php.ini if you bring one forward.


Automated data daily report

[x] Capture statistic page to picture used by PhantomJS

#309 #308


Host status is no longer properly reflected

If the host become disconnected or unavailable the UI will no longer properly reflect the state.

@ibuildthecloud This is a good issue to fix...


[Suggestion] Dungeon generation branching bias as customizable option

Title pretty much sums it up.
Basically a setting that allows players to choose on how a dungeon is generated on a scale from Complex/branched to linear/deep.

Title pretty much sums it up.
Basically a setting that allows players to choose on how a dungeon is generated on a scale from Complex/branched to linear/deep.

I still not looked on how work DunGen, if you tell me where is this setting in the dungeon flow or the runtime dungeon i may add a setting
that will be usefull too for when i'll work on the dungeon support in the SDK

Personally haven't tinkered with any of it either but apparently DungeonFlow.BranchCount.Min/Max can be set.
Saw it on this mod Coomfy Dungeon by Coomfy [Source]


Possibly-unsafe use of "system" in Linux connectivity manager

Problem
src/platform/Linux/ConnectivityManagerImpl.cpp has code like so:
            sprintf(cmdBuffer, CHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD, CHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME);
            int dhclientSystemRet = system(cmdBuffer);

which seems like a pretty likely vector for problems.
Proposed Solution
We should figure out whether there's a better way to do this, that does not use system.

Issue Scrub: Assigning to @tcarmelveilleux to resolve for 1.1.


Wrong implementation of requested event from ticket #16102

The event requested in ticket https://github.com/microsoft/ALAppExtensions/issues/16102 was implented incorrectly by MS and does not allow to filter the "TempFromASNLine" record variable, which was the reason for the event request.
Current implementation (as found in BC19.5):
OnBeforeCopyAsmOrderToAsmOrder(TempAsmHeader, TempAsmLine, ToSalesLine, ToAsmHeaderDocType, ToAsmHeaderDocNo, InclAsmHeader);
Requested and required:
OnBeforeCopyAsmOrderToAsmOrder(TempFromAsmHeader, TempFromAsmLine, ToSalesLine, ToAsmHeaderDocType, ToAsmHeaderDocNo, InclAsmHeader);
Could you kindly have a look at that and correct it?
Thanks a lot for your support.
Matthias

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


Fix to install dev tools from test repo inside virtual env

Latest version of Azure dev tools was installed to run test for already released packages and this has caused an issue due to new kwargs passed from test resource creation logic in latest dev tools and test failed with an unknown kwarg error.
Fix is to install dev tools from the repo checked out to run tests for released package versions.

Successful run for azure-core:
https://dev.azure.com/azure-sdk/playground/_build/results?buildId=261072&view=results

Successful run for azure-core from internal pipeline:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=261188&view=results


calling next with error instead of calling errorHandler directly - issue #106

https://github.com/danielfsousa/express-rest-es2017-boilerplate/issues/106


The app should maintain single active instance

Is it an actual bug?
Yes, it does not make sense to have multiple active instances with same icon and open files in the tray
Did you check if the bug has already been reported?
Yes
Describe the bug
It is possible to launch multiple instances of the app
To Reproduce
Steps to reproduce the behavior:

Pin Sleek icon to start for ease of access
Go to Start menu, click Slick
Go to Start menu, click Slick again
Go to Start menu, click Slick again
Actual Result: 3 icons in tray (setting enabled), Expected result: 1 icon in tray (perhaps bring app to front if already active)

Do you see any error entries in sleeks developer tools?
No
Expected behavior
Exactly one active instance in tray (perhaps bring app to front if already active)
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Pro, latest updates
Version of sleek 1.1.1

FYI, if you are on Linux, you can map Sleek to a shortcut, e.g. CTRL-ALT-S and have that exectute wmctrl -xa Sleek || /usr/bin/sleek which will look for an active instance, and focus on it if it exists, otherwise open Sleek as new instance.

This particular issue has been solved and released in v1.1.6


SSL-Certificate invalid for bytebin.lucko.me

When I try to open an editor with /lp editor or look at the tree view with /lp tree it gives me this output in the console:
[18:26:44 WARN]: java.lang.RuntimeException: Error uploading data to bytebin
[18:26:44 WARN]:        at me.lucko.luckperms.common.web.WebEditor.post(WebEditor.java:151)
[18:26:44 WARN]:        at me.lucko.luckperms.common.commands.misc.EditorCommand.execute(EditorCommand.java:175)
[18:26:44 WARN]:        at me.lucko.luckperms.common.command.abstraction.SingleCommand.execute(SingleCommand.java:50)
[18:26:44 WARN]:        at me.lucko.luckperms.common.command.abstraction.SingleCommand.execute(SingleCommand.java:42)
[18:26:44 WARN]:        at me.lucko.luckperms.common.command.CommandManager.execute(CommandManager.java:204)
[18:26:44 WARN]:        at me.lucko.luckperms.common.command.CommandManager.lambda$executeCommand$1(CommandManager.java:145)
[18:26:44 WARN]:        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764)
[18:26:44 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[18:26:44 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[18:26:44 WARN]:        at java.base/java.lang.Thread.run(Thread.java:832)
[18:26:44 WARN]: Caused by: javax.net.ssl.SSLPeerUnverifiedException: Hostname bytebin.lucko.me not verified:
[18:26:44 WARN]:     certificate: sha256/wFlRiNhq/i08PSvadw0ph+B1MyPMkQVYGXeN9gC/9Hg=
[18:26:44 WARN]:     DN: CN=search.dnsadvantage.com
[18:26:44 WARN]:     subjectAltNames: [search.dnsadvantage.com]
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:350)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:300)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.connection.RealConnection.connect(RealConnection.java:185)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.connection.Transmitter.newExchange(Transmitter.java:169)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
[18:26:44 WARN]:        at me.lucko.luckperms.lib.okhttp3.RealCall.execute(RealCall.java:81)
[18:26:44 WARN]:        at me.lucko.luckperms.common.web.AbstractHttpClient.makeHttpRequest(AbstractHttpClient.java:47)
[18:26:44 WARN]:        at me.lucko.luckperms.common.web.BytebinClient.makeHttpRequest(BytebinClient.java:69)
[18:26:44 WARN]:        at me.lucko.luckperms.common.web.BytebinClient.postContent(BytebinClient.java:94)
[18:26:44 WARN]:        at me.lucko.luckperms.common.web.WebEditor.post(WebEditor.java:146)
[18:26:44 WARN]:        ... 9 more

Which makes me not able to even look at the current permission setup of my server

This is likely an issue at your end, not mine.
Maybe a firewall or filter policy is blocking the connection?

It can't be on my end since i have no firewall policy that could block it and it says the ssl is invalid and not that the connection was blocked (or something like that)

this issue also occurs for me when trying to download the latest version then i get redirected to some other website which says that the domain is malicious

Are you hosting this on your own computer?

No i'm hosting it on a rpi4b-8gb with Ubuntu server 20.04 for rpi

on your raspberry pi, can you access https://bytebin.lucko.me ?

I think I tried with wget and it didn't work

ah if you can't connect to https://bytebin.lucko.me means there is definitely some issue with your network or network config on your raspberry pi.

With wget https://bytebin.lucko.me I get this output
https://bytebin.lucko.me/
Resolving bytebin.lucko.me (bytebin.lucko.me)... <IP_ADDRESS>, <IP_ADDRESS>, 2606:4700:3036::ac43:c82e, ...
Connecting to bytebin.lucko.me (bytebin.lucko.me)|<IP_ADDRESS>|:443... connected.
ERROR: no certificate subject alternative name matches
        requested host name ‘bytebin.lucko.me’.
To connect to bytebin.lucko.me insecurely, use `--no-check-certificate'.```

Can you do wget -v <URL> and show the output?

wget -v https://bytebin.lucko.me
https://bytebin.lucko.me/
Resolving bytebin.lucko.me (bytebin.lucko.me)... <IP_ADDRESS>, <IP_ADDRESS>, 2606:4700:3037::681b:966a, ...
Connecting to bytebin.lucko.me (bytebin.lucko.me)|<IP_ADDRESS>|:443... connected.
ERROR: no certificate subject alternative name matches
        requested host name ‘bytebin.lucko.me’.
To connect to bytebin.lucko.me insecurely, use `--no-check-certificate'.

My apologies I meant wget -dv https://bytebin.lucko.me

wget -dv https://bytebin.lucko.me
Setting --verbose (verbose) to 1
Setting --verbose (verbose) to 1
DEBUG output created by Wget 1.20.3 on linux-gnu.

Reading HSTS entries from /home/<user>/.wget-hsts
URI encoding = ‘UTF-8’
Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8)
https://bytebin.lucko.me/
Resolving bytebin.lucko.me (bytebin.lucko.me)... <IP_ADDRESS>, <IP_ADDRESS>, 2606:4700:3037::681b:966a, ...
Caching bytebin.lucko.me => <IP_ADDRESS> <IP_ADDRESS> 2606:4700:3037::681b:966a 2606:4700:3030::681b:976a 2606:4700:3036::ac43:c82e
Connecting to bytebin.lucko.me (bytebin.lucko.me)|<IP_ADDRESS>|:443... connected.
Created socket 3.
Releasing 0x0000aaaad4524740 (new refcount 1).
Initiating SSL handshake.
Handshake successful; connected socket 3 to SSL handle 0x0000aaaad45258d0
certificate:
  subject: CN=search.dnsadvantage.com
  issuer:  CN=RapidSSL RSA CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US
ERROR: no certificate subject alternative name matches
        requested host name ‘bytebin.lucko.me’.
To connect to bytebin.lucko.me insecurely, use `--no-check-certificate'.
Closed 3/SSL 0x0000aaaad45258d0

Ok. Somehow you're being connected to a weird host.
Does the name "search.dnsadvantage.com" or "dnsadvantage.com" say anything to you?


1.2.0: pop/click in Neural mode when loading plugin/project

If I have the plugin in Neural mode, it makes a pop/click sound when I load a project. This is in REAPER x64 on Windows 10 Pro 20H2 x64. Both the VST2 and VST3 have this behaviour. There's also a pop/click when switching between the modes.
Also, when rendering in REAPER the pop/click gets rendered in the beginning of the file, and this project I'm working on has a guitar track with KlonCentaur send to a delay and reverb (which also the pop/click goes through and overlaps the intro in the rendered file).

@pauleye thanks for the detailed bug report, sorry it's taken me a couple days to get to it.
I've put together a fix, and generated some new builds for Windows. If you have a minute, could you download the new build and give it a try in Reaper? The new builds can be downloaded here.

@pauleye thanks for the detailed bug report, sorry it's taken me a couple days to get to it.
I've put together a fix, and generated some new builds for Windows. If you have a minute, could you download the new build and give it a try in Reaper? The new builds can be downloaded here.

Thanks for the reply, and don't worry about a few days delay :)
Unfortunately, this is what I get when loading my project, latest REAPER version (currently 6.21)

This is with the VST3 version. I don't have a project with the VST2 version right now, but I can do a test project if needed. The project does reference the correct plugin file name (as of course I replaced the release version with this new build).
What's strange is that I can load the plugin into a new project and it works fine. I can also remove it from, and then re-add it to my project, and it also loads fine. I did have to revert to the release version and save the settings as a preset of course (and the preset does load the correct values in the new build).
So there seems to be an incompatibility between the 2 versions. I don't know if it's REAPER specific, and I don't have any other DAW to test with.

Thanks for the reply, and don't worry about a few days delay :)
Unfortunately, this is what I get when loading my project, latest REAPER version (currently 6.21)

This is with the VST3 version. I don't have a project with the VST2 version right now, but I can do a test project if needed. The project does reference the correct plugin file name (as of course I replaced the release version with this new build).
What's strange is that I can load the plugin into a new project and it works fine. I can also remove it from, and then re-add it to my project, and it also loads fine. I did have to revert to the release version and save the settings as a preset of course (and the preset does load the correct values in the new build).
So there seems to be an incompatibility between the 2 versions. I don't know if it's REAPER specific, and I don't have any other DAW to test with.

Hmm, that is very strange... I wonder if Reaper doesn't like that I'm giving it a different binary with the same version number. I tried making a new build, now with the version 1.2.1. Could you check if that works for you? Downloads are at the same link.
Thanks,
Jatin

Hmm, that is very strange... I wonder if Reaper doesn't like that I'm giving it a different binary with the same version number. I tried making a new build, now with the version 1.2.1. Could you check if that works for you? Downloads are at the same link.
Thanks,
Jatin

Unfortunately, that didn't work either. I did save a new version of my project with the previous 1.2.0 test build and that project loads without problems with the 1.2.1 build.
Maybe it's something REAPER specific then. I could post this (and link to this issue if that's OK) on the REAPER forums and see if anyone has an idea what's the problem here?

Unfortunately, that didn't work either. I did save a new version of my project with the previous 1.2.0 test build and that project loads without problems with the 1.2.1 build.
Maybe it's something REAPER specific then. I could post this (and link to this issue if that's OK) on the REAPER forums and see if anyone has an idea what's the problem here?

That would be great! Yes, definitely feel free to link to this issue.
Just to double check, is the clicking behaviour better with the new builds?

That would be great! Yes, definitely feel free to link to this issue.
Just to double check, is the clicking behaviour better with the new builds?

Just to double check, is the clicking behaviour better with the new builds?

There still is a faint click that peaks at around -92dB with default settings and Neural mode (compared to around -21dB with the release version) so at least it's not audible anymore. This is in a 1-track test project with no other plugins, track fader at unity. In a mix it'll obviously be lower :)

Just to double check, is the clicking behaviour better with the new builds?

There still is a faint click that peaks at around -92dB with default settings and Neural mode (compared to around -21dB with the release version) so at least it's not audible anymore. This is in a 1-track test project with no other plugins, track fader at unity. In a mix it'll obviously be lower :)

Okay, great! I'll see if I can tweak things a little more, and hopefully eliminate that click altogether :).

Okay, great! I'll see if I can tweak things a little more, and hopefully eliminate that click altogether :).

Here's my post on the REAPER forum: https://forum.cockos.com/showthread.php?t=248504
Let's hope someone figures out what causes this :)

Here's my post on the REAPER forum: https://forum.cockos.com/showthread.php?t=248504
Let's hope someone figures out what causes this :)

Since the original issue on this thread is fixed, I'm going to go ahead and merge these changes. I'll keep an eye on the Reaper Forum thread, in hopes that someone with some experience can help there!

Thanks.
There doesn't seem to be a new build (yet?). Would be nice to test the fixed version :)
And it seems like the REAPER thread didn't really pick up anyone's attention, unfortunately.

Ah, sorry I had forgottento generate new builds. Try these: https://github.com/jatinchowdhury18/KlonCentaur/tree/master/bin

Thanks, the pop/click issue is fixed now :)
Unfortunately the loading issue in REAPER is still there. Maybe I could post on KVR, see if it's just a REAPER issue or if it affects some other DAWs too.
I did save a new version of my project with the newest build, and I'll probably stick to that for the time being.


python: define test workflow + fix engine constructor

Cousin to https://github.com/envoyproxy/envoy-mobile/pull/1334, except it's from a branch on this repository so we can make sure it works by testing the workflow.
Description: Sets up the GH workflow to execute python tests in CI. Also adds a logger as a parameter to run_engine.
Risk Level: Low
Testing: This!
Docs Changes: N/A
Release Notes: N/A

I wonder if the workflow didn't work because GH had already seen this latest commit in the other PR. I'm going to try an empty commit and see if it generates the workflow.

Running into ye olde compiler differences 🙁


Make the README.md creative - with installation guide

need the README.md a bit informative - having some installation guide, how to use and all

Reading through the repo code and pubspec.yaml, this is a flutter package. How do you want the readme? Installation process on how to use the package?
I feel an example app would also be helpful. Let me know your thoughts.

@Mastersam07 yes, I need it something like that...
Actually, there was an example app as well... but I have deleted it...
I have changed my mind and I'm letting the users use it as they want... cuz they must be testing it with their own server's APIs and handling it will become a bit trickier and so, I won't be committing the example app fro now... but yes... we can do that in future :grinning:

At the moment since the package have not been made live to pub.dev, then the installation in dependencies would be as shown below:
APIManager-Flutter:
    git:
      url: https://github.com/101Loop/APIManager-Flutter.git
      ref: master

You could assign this to me and I would look into it

@Mastersam07 yes exactly... but the package is flutter_api_manager :sweat_smile:
Assigning this to you!

Okay. Would work on it 😄

@Mastersam07 any update?? been 3 weeks now... :sweat_smile:

Hey, somehow I forgot. I will send a PR soon.

sure, don't forget to update your fork


Allow saving remote schema to file

Add extra option remote_schema_output_path. If set, save the downloaded remote schema to file in SDL format.
Related to #211.

Superseded by #264
Thank you for getting this rolling!


It always revert to normal collision

We need to store old collision type and revert to it instead of reverting to normal collision

Reported from https://steamcommunity.com/workshop/filedetails/discussion/1230723021/2906376154329475787/#c1637536330458731509


Add support for Azure

Depends on https://github.com/submariner-io/cloud-prepare/pull/203
Signed-off-by: Janki Chhatbar<EMAIL_ADDRESS>

go.mod needs to be updated with the cloud-prepare commit id providing azure pkg

@Jaanki @aswinsuryan not sure if it's tracked separately, but we need to update the docs as well.

@Jaanki @aswinsuryan not sure if it's tracked separately, but we need to update the docs as well.

@nyechiel  Created an issue


Toasts dont work

Hello, toasts dont work and... i dont really know why... i would like to see some advice, if it's ok to you.
"Enabled toasts, show toasts when chat is active, show own and others rolls" is enabled
Foundry vtt Version 12 Stable 331
Dnd 3.3.1

Hi @Sivernian
Can you try changing a tick box then saving the settings. Once this is done refresh. I suspect there is a bug with the initial settings.
Let me know your results:)

Hi @Sivernian, maybe you're having the same issues with initial setup as I had?
See https://github.com/awarenet/foundry-roll-toasts/issues/7#issue-2526339796, maybe that is of any use to you.

Fixed in V1.2 - now live on foundry

@awarenet
i dont know what did you do, but well... it works in new update! Sorry, i couldnt see your message :(


Is posible to use a stack view as collapsable container for display childs components on expand ?

Select one ...  (check one with "x")
[ ] bug
[ ] feature request
[X ] enhancement

Expected behavior
Use a stack view as collapsable container for display childs components on expand. Thua child component must occupy the 100% width
Actual behavior
Can use as collapsable container but stack-label is always present
Environment details

Angular version:
5

Clarity version:
0.11.0

OS and version:

Browser:
all

Like an accordion?
This question was addressed in https://github.com/vmware/clarity/issues/250


Using sdk should not entail compiling rocksdb

See https://old.reddit.com/r/rust/comments/pheews/rustanalyzer_slow_and_makes_huge_folders/ – someone is having trouble writing a near contract, because SDK is too big.
I quickly looked at what their project produces, and one things that jumps at me is rocksdb:
 λ dust -n 10 -w 40
 955M ┌── deps
 150M │ ┌── db
 308M │ ┌─┴ rocksdb
 320M │ ├── librocksdb.a
 645M │ ┌─┴ out
 646M │ ┌─┴ librocksdb-sys-d36a00c91..
 1.0G ├─┴ build
 1.9G ┌─┴ debug
 1.9G ┌─┴ target
 1.9G ┌─┴ .

650M is nothing to sneeze at, and compiling rocksdb takes a lot of time. Here's the Cargo.toml that produces this output:
 [package]
 name = "neart"
 version = "0.1.0"
 authors = []
 edition = "2018"

[lib]
 crate-type = ["cdylib", "rlib"]

[dependencies]
 near-sdk = "3.1.0"
 near-contract-standards = "3.1.0"
 uint =

 { version = "0.9.0", default-features = false }

[dev-dependencies]
 near-sdk-sim = "3.2.0"

[profile.release]
 codegen-units=1
 opt-level = "z"
 lto = true
 debug = false
 panic = "abort"
 overflow-checks = true

I don't think anything here fundamentally requires rocks. I think it is used by simulator for some caches, but, given the size of dependency, it's better to write some code to use the file system directly – we don't care about durability in sim, but we do care about people running cargo check not not being surprised by the amount of dependencies.

Good call, we should make this change to come in with the next nearcore releases (since we need borsh and licenses updated in a release anyway). rocksdb is nested a few levels into sim as near-runtime -> near-store -> rocksdb. Will add to my TODO to look into how extensive this change would need to be. Quick look at it seems like can just gate out rocksdb stuff with a feature flag to disable, and there is a TestDB which is an in memory store, but I'll have to think more about the implications and connections.

Looked into this a bit today. The connection of rocksdb is pretty tightly coupled, and given that sim tests are being deprecated soon, it doesn't make sense to go through this effort to prune out the rocksdb dependency from the nearcore dependencies.
I might come back to this to see if there is a cleaner solution later

Removing rocksdb from near-store is one of the final steps in making nearcore compilable in Wasm.  The other is using an interpreter for the Wasm VM.

Closing this because this was only connected to near-sdk-sim, which was removed


Alarm Trigger = Only Once/Every Time

@hschickdevs Thanks for this fantastic bot
Alarm is trigger once, It will be deleted after notification
Please add an option to make an alarm always used. (every time)
For example, when the price of Bitcoin reach 37500 to warn every time Until the alarm is removed.
(of course, to prevent spam, you can set a minute limit, if the price is still 37500 every x minutes)
can set an expiration date like TradingView for Alarms.

Hi @abtahizadeh! Thank you so much for the contribution and suggestion. I will definitely take this into account.
I love this idea. Would you rather this be an optional parameter when creating each alert, or a global parameter that you can set in the config which applies to all alerts?

Hello @hschickdevs
I think both options are effective.
For example the command line be added after which any added alarm will be permanent
Of course, your opinion is more important for the command text
/alarms expire 0 (never)
/alarms expire 2d (2days)
/alarms expire 1w (1week)
or
/newalert BTC/USDT PRICE ABOVE 35700 NoExpire

This is great advice @abtahizadeh !
I will update the issue once this is implemented. Stay tuned!

Thank you @hschickdevs
I think this issue should be taken into consideration
for example, when the price is in that range
Alert every 5 , 15 minutes or 1 hour (Warning that the price is still 37500)
Because the robot may give a repeated warning whenever that price is reached

@abtahizadeh yea, we can do it this way! There are many ways to handle this issue

Hello @hschickdevs
Not specified when you can add this feature?

Hello again @abtahizadeh, I apologize as I've been very busy with my full-time work. I will try to add this feature this coming weekend (July 5-7). Thank you for your patience.

Hello again @hschickdevs,Thank you
I hope you find an opportunity to add this feature.

Writing this here for notes, this issue has been raised by another user of the bot. Here are their ideas:
for indicator alerts:

use the provided interval to validate the alert trigger on every new candle (corresponding interval)
for example: RSI alert for 4h interval if above 70 -> alert is fired every 4h as as long as the RSI stays over 70

for simple price checks (percentage):

if set in percentage change (24h), validate alert trigger every 24h for percentage change in relation to the initial set price (first trigger) / last trigger price (further alert trigger)

for simple price checks (absolut):
-i guess only one shot alert makes sense here
you could also define a new parameter on alert creation like "trigger" to be able to set to:

single (oneshot)
minute (every minute)
candle / interval (every defined interval length)


Is moved code range correct?

@hediet not sure if it a bug report or question, but I notcied that moved lines range is not correct:

why it is written that lines are moved from 16-21? Shouldn't they be marked as "moved from 16-20"? The same question is about "moved to".

Verification steps:
Notice that the line numbers are correct here (click on compare with latest-dev).


Mesos API doesn't follow "latest" symlink when reading logs.

Need to give it the explicit path.

Merging now so logs hopefully start working again. Please review in the morning.


How to set-up m3u playlist

telly release with the issue:
telly, version 1.5.0 (branch: HEAD, revision: d56d29269ca121a00d0cd2340b67be284a33f719)
  build user:       root@873a25215547
  build date:       20180916-03:58:34
  go version:       go1.10.3

Operating environment (Docker/Windows/Linux/QNAP, etc.):
I'm working on Linux, Ubuntu 18
Description of problem:
Hi All,
I am having difficulty determining the correct commands to hook up my m3u playlist. One website told me to use:
./telly --playlist="xyz.m3u"
The readme documentation says to do this...
./telly --iptv.playlist="abc.m3u"
But in either case, it returns with
unknown shorthand flag: 'p' in --playlist=  or unknown shorthand flag: 'i' in --iptv.playlist=, respectively.
Contents of telly.config.toml [if you're using a version above 1.1]:

REMEMBER TO DELETE ANY CREDENTIALS IN CONFIG FILES OR COMMAND LINES

I don't use telly.config.toml. Should I be? How do i do this?

telly or docker log:
This is the result when i run telly...  same as with using ./telly --help, I don't get any indication of what I should be doing to load my m3u file as playlist and iptv.playlist are not there.
Usage of ./telly:
  -c, --config.file string          Path to your config file. If not set, configuration is searched for in the current working directory, $HOME/.telly/ and /etc/telly/. If provided, it will override all other arguments and environment variables. $(TELLY_CONFIG_FILE)
  -d, --database.file string        Path to the SQLite3 database. If not set, defaults to telly.db. $(TELLY_DATABASE_FILE) (default "./telly.db")
      --log.level string            Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal] $(TELLY_LOG_LEVEL) (default "info")
      --log.requests                Log HTTP requests $(TELLY_LOG_REQUESTS)
      --version                     Show application version
  -l, --web.listen-address string   Address to listen on for web interface, API and telemetry $(TELLY_WEB_LISTEN_ADDRESS) (default ":6077")
unknown shorthand flag: 'p' in --playlist="/path/to/m3uplaylist.m3u"

Refer to the wiki for the most accurate information.  The readmes are branch-specific, and outside docs typically don’t identify which version they are referring to.
The syntax you reference is for 1.0 (master branch).
The config file method is used by 1.1 (dev branch).
1.5 is largely undocumented at this time as it’s an early alpha release.
1.1 is the most stable and most widely used.

Hi @chazlarson.
Thanks so much for the info!


Add NoOp --check paramater

I would like to see the changes before an import will run and agree on the import.

maybe a --check to just check and return the promt
make a -- noverify to just execute
default ask for confirmation from user before importing


CLOUDSTACK-10436:remind users to use correct permission for tmp dir

Description
I think there is a potential securiry issuse in createUniqDir#JavaStorageLayer
public File createUniqDir() {
    String dirName = System.getProperty("java.io.tmpdir");
    if (dirName != null) {
        File dir = new File(dirName);
        if (dir.exists()) {
            String uniqDirName = dir.getAbsolutePath() + File.separator + UUID.randomUUID().toString();
            if (mkdir(uniqDirName)) {
                return new File(uniqDirName);
            }
        }
    }
    return null;
}

So if a user do not specify the "java.io.tmpdir",  we will use the default tmp dir "/tmp" whose mode is 777. Even users specify the "java.io.tmpdir", they may also forget to set the file mode as 700, hence the tmp dir is still worldreadable.  Our code then create create UniqDir  in tmp dir, and it is also worldreadable.
createUniqDir will be called by swiftUploadMetadataFile and registerTemplateOnSwift in NfsSecondaryStorageResource. Hence the MetadataFile will be written in tmp dir and is also worldreadable.
Hum, assums that cloudstack runs on  a server as root, and there are also some regualr users on this  server. These regualr users (they even do not belong to cloudstack group) can read these medadatafile, which is undesirable.
I think this is similar to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8908 .
This PR will remind users to use correct permission for tmp dir.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[x] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[x] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

Hi @lujiefsi have you reproduced any issue on management server? I maybe wrong but many of the template related registration and operations actually run in ssvm which is not generally accessible.

Hi @rhtyd  Yes, most  the template related registration and operations actually run in ssvm which is not generally accessible.  what I concern is below code:
`   protected boolean swiftUploadMetadataFile(SwiftTO swift, File srcFile, String containerName, String uniqueName) throws IOException {
    File uniqDir = _storage.createUniqDir();
    String metaFileName = uniqDir.getAbsolutePath() + File.separator + _tmpltpp;
    _storage.create(uniqDir.getAbsolutePath(), _tmpltpp);// metafile is created

    long virtualSize = getVirtualSize(srcFile, getTemplateFormat(srcFile.getName()));

    File metaFile = swiftWriteMetadataFile(metaFileName, uniqueName, srcFile.getName(), srcFile.length(), virtualSize);///metafile is written with uniquename,filename,size,virtualsize

    SwiftUtil.putObject(swift, metaFile, containerName, _tmpltpp);
    metaFile.delete();
    uniqDir.delete();

    return true;
}`

are the uniquename,filename,size and virtualsize  sensitive? If not, that's ok. But i still think we need follow The Principle of Least Privilege (PoLP), see https://www.cyberark.com/what-is/least-privilege/
I also still have another concern, that is if others take JavaStorageLayer as library for future, thay maybe not aware that the tmp dir created by createUniqDir is worldreadable.
Meanwhile, i give a new commit to fix the potential NPE when the tmp dir does not exist.

@lujiefsi we should not encourage people to make '/tmp/' have mode 700. That is not a valid mode for /tmp on a unix system. it must have 1777 as mode. You could make sure "java.io.tmpdir" is a subdir of /tmp and it has good rights, but I'm -1 as is.

@DaanHoogland Yes, we should not encourage people to make '/tmp/' have mode 700. But we still need to encourage users to override "/tmp" with "java.io.tmpdir". repush the new commit,

@DaanHoogland Yes, we should not encourage people to make '/tmp/' have mode 700. But we still need to encourage users to override "/tmp" with "java.io.tmpdir". repush the new commit,

ok, I can live with it this way ;) (:+1: )

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 167

Trillian test result (tid-888)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43741 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5066-t888-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 86 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true
Failure
326.65
test_routers_network_ops.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
529.07
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Error
529.09
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Failure
503.60
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Failure
494.77
test_vpc_redundant.py

Trillian test result (tid-908)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 33039 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5066-t908-kvm-centos7.zip
Smoke tests completed. 88 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

@rhtyd do you approve?
@lujiefsi have you tested? do we need more testing?

@rhtyd do you approve?
@lujiefsi have you tested? do we need more testing?

YES, I have tested this patch!

can @lujiefsi get a seconf LGTM (@rhtyd @andrijapanicsb @GabrielBrascher ... and others)?

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 409

Hi @lujiefsi looks like all the reviews have been addressed, can you please mark them as resolved?
@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian.  I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian.  I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1104

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1111

@blueorangutan test

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-1953)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34204 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5066-t1953-kvm-centos7.zip
Smoke tests completed. 89 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Nullable - lifted boolean xor

Steps To Reproduce
https://dotnetfiddle.net/5BDyZm
https://deck.net/ce92ef0e2f31d9b19bd8453ee0c3fb98
public class App
{
    public static void Main()
    {
        bool? a = true, b = true, c = false, d = false;

        Assert.AreEqual(false, a ^ b);
        Assert.AreEqual(true, a ^ c);
        Assert.AreEqual(true, c ^ a);
        Assert.AreEqual(false, c ^ d);
    }
}

It is currenly passed as 0/1 considered "equals" to false/true values. However underlying type of a ^ b result is a number (0/1).  The following sample shows booleans  in Bridge console True/False:
bool? a = true, b = true;
var r = a ^ b;
Console.WriteLine(r);
Console.WriteLine(a ^ b);

As Bridge translates it with boxing:
var a = true, b = true;
var r = System.Nullable.xor(a, b);
System.Console.WriteLine(Bridge.box(r, System.Boolean, System.Nullable.toStringFn($box_.System.Boolean.toString), System.Nullable.getHashCode));
System.Console.WriteLine(Bridge.box(System.Nullable.xor(a, b), System.Boolean, System.Nullable.toStringFn($box_.System.Boolean.toString), System.Nullable.getHashCode));

To show the real underlying value of a^b result we can use the following code (that outputs 0 not False):
bool? a = true, b = true;
var r = a ^ b;
object o = null;
//@ o = r;
Console.WriteLine(o);

@LeonidVeriga, doesn't this operator do the same as not equals.

@michaelcheers, that is true - it is Xor.


Ability to specify HTTP[S] URL as audio input source

Hi, i would like to use various audio-sources available in my LAN in WAV format as audio input for hotword detection and STT. (Mostly old android devices refunctioned to alarm clocks and DPFs, running X-Server, PulseAudio, and IPWebcam)
These, and other devices offer a URL like http://device:8080/audio.wav , with header, for microphone data (e.g. though IPWebcam) , and the pulseaudio-server included with the X11-server permits audio output (but no access to microphone data, i think).
Following the documentation, I thus set PULSE-SERVER to "device:4712", and selected "Alsa (default device)" in the sound output configuration. That just worked, output from "Speak" is as expected (screen needs to be active).
For audio input, setting "Alsa default device" didn't work. I tried setting it to PyAudio, that did not work either. Just in-case it matters: This is on a raspian pi3b. My amd64/debian/venv installation with a local soundcard works fine. I tested the microphone through other means, so it's not broken.
The "command" option for the audio-recorder seems to be cut out for this, so i tried that next.
ffprobe -i says this about my audio stream:
Input #0, wav, from 'http://device:8080/audio.wav':
Duration: N/A, bitrate: 705 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s
So i set sample-rate to 44100 in rhasspy, and "command" to "curl" with "arguments" the URL of the stream. This doesn't work, i remember seeing an error similar to
curl: /usr/lib/rhasspy/rhasspy/libSomething: version `OPENSSL' not found (required by /usr/lib/arm-linux-somelib)
So i replaced curl with "ffmpeg -i http://<IP_ADDRESS>:8080/audio.wav -f s16le -ac 1 -ar 16000 -acodec pcm_s16le -"  (i think, this also strips the wav RIFF header), but I then got:
ffmpeg: /usr/lib/rhasspy/rhasspy/libstdc++.so.6: version GLIBCXX_3.4.25' not found (required by /usr/lib/arm-linux-gnueabihf/libopenmpt.so.0)         ffmpeg: /usr/lib/rhasspy/rhasspy/libz.so.1: version ZLIB_1.2.9' not found (required by /usr/lib/arm-linux-gnueabihf/libpng16.so.16)
I'm not quite sure, what to make of those errors right now, and could use a pointer.
At this point i though, it might be a useful feature in rhasspy to be able to directly specify a remote WAV feed. ;)
I installed rhasspy 2.5 successfully a few days ago on my Debian Buster laptop, and am very much looking forward to replacing my aborted SNIPS installation. Thank you! I love the sentence definiton page! But, also a suggestion here: Use some default "slots" like "rooms, devices, states, colors", and then add some more advanced example sentences like:
(tune|set|switch) [the] [$rooms {room}]   (TV [to]|to) [the] (  |  channel) [ $delay ]
Start $applications {app} [(in: (full screen):yes) {full-screen}] on [$rooms {room}]  $PicSink {device} [ $delay ]
Stream [$rooms {sourceRoom}] $PicSrc {sourceDevice} (to|on) [$rooms {destinationRoom}]  $PicSink {destinationDevice}
In case you are also looking for feedback on installation scenarios: My installation will be spoken to in EN75%, DE10%, and FR. (I'm german, and live in a french-speaking country), will use at least 3 "satellites" and is integrated with Node-red. I'm a native level speaker, and am willing to help out where i can with this great project, in exchange for a few pointers here and there ;)
Sorry, this got quite long ... thanks for your time and attention

I figured it out with
/usr/lib/rhasspy/rhasspy/rhasspy microphone-cli-hermes --sample-rate 44100 --sample-width 2 --channels 1 --record-com
mand 'wget -q -O - http://device:8080/audio.wav' --debug --host localhost --port 1884 --site-id foo
Using wget -q -O - did not complain about missing libraries, and i confirmed the flow of packets with tcpdump.


Bump google outbound provisioning version

note $subject
Related PRs: https://github.com/wso2-extensions/identity-outbound-provisioning-google/pull/26

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2461357778
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2463204527

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2463204527
Status: success

Closing PR as version is bumped already


⚠ SolarOscp has degraded performance

In 9b4866a, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 304 ms

Resolved: SolarOscp performance has improved in e2a8152 after 11 minutes.


Adding Richard Gibson to list of community contributors

Signed-off-by: Tihomir Surdilovic<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
Please specify parts this PR updates:

[ ] Specification
[ ] Schema
[ ] Examples
[ ] Extensions
[ ] Roadmap
[ ] Use Cases
[x ] Community
[ ] TCK
[ ] Other

What this PR does / why we need it:
Adding Richard Gibson to list of community contribs
Special notes for reviewers:
Additional information (if needed):

@gibson042 I added you to the "Independent" list as I didn't know if you wanted to be associated with a company or not. Let me know if I need to update. Thanks for your contributions and being part of the community!

"Independent" will be fine. Thanks!


[Improvement] - Heading component options has redundant entry in wrapperProps

The entry in the line below can be moved out with just tooltip which should pick up the content from aria-label prop
https://github.com/infinum/eightshift-frontend-libs-tailwind/blob/cb1ecb88e21dccc19b8b7f26418a774e6dd58df0/blocks/init/src/Blocks/components/heading/components/heading-options.js#L52

Fixed in 1.4.0


Support for array "license" field in npm packages

Obvious Fix. Some packages use an array in the "license" field, like this one : https://github.com/dominictarr/pause-stream/blob/master/package.json#L28. The current implementation crashes with such packages.

@dbousque Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@dbousque This Pull Request contains an obvious fix. Signing the Contributor License Agreement is not necessary.


Support reset cursor to a batch index for Pulsar Admin.

Need merge #8306 before
Motivation
Support reset cursor to a batch index for Pulsar Admin.
Verifying this change
Unit test added
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (no)

cherry-picked to branch-2.6(2.6.2)


Notification event handler not firing for remote notifications

Question
After updating to v1.2.0 and following the steps of the readme, I've started seeing two issues with how this module is handling remote events:

notification event doesn't fire when notification appears
localNotification event fires when the notification is clicked

Does this problem sound familiar to anyone? Have I mis-configured the module?

This turned out to be this issue: https://github.com/react-native-community/push-notification-ios/issues/63#issuecomment-625539451


Add negation

It should be possible to negate a keyword, like -is:thread to pull only top-level messages.

It appears that Slack's implementation of is:thread can include some top-level messages, namely those that have replies (and thus an associated thread). And -is:thread doesn't even work. 😑
Looking at my newest archive, all messages in a thread—including the initial one—have a thread_ts property. That may be what Slack's search is keying off of.
If we want to properly support -is:thread, that can be done by checking for a replies property when thread_ts is present:

Not a thread: No thread_ts
Initial message of thread: thread_ts and replies
Replies in thread: thread_ts but no replies


Move Retrieval CRUD to NextJS Server Side

Move the functionality from the Lambda function to the NextJS server side.
Considerations to take into account before completing
Are there any remaining Lambdas that require connectivity to the Retrieval endpoint and if so can they reach it the new endpoint if moved.
Benefits of completing
When there is low user traffic a new Lambda instance is needed to be spun up in order to answer the request from the NextJS server.

Duplicate of #481


Update google-cloud-nio to 0.124.18

Updates com.google.cloud:google-cloud-nio from 0.124.17 to 0.124.18.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-nio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.google.cloud", artifactId = "google-cloud-nio" }
}]

labels: test-library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #789.


Access violation handling in 0A8C and 0A8D.

no from me. not only it adds extra overhead to those widely used opcodes, but also leaves game state in undefined state.
it was discussed here and I agree with @thelink2012's  arguments

Ok. Implemented after testing someone else's report. Perhaps original author need to actually check if structure is initialized before trying to access it's member's.


Feature Request: Repository SBOM generation

While using the package v53.2.0 I was trying to fetch SBOM for a repository. But looks like that method is not yet implemented.
Please let me know if this is a valid feature request. If it is, I would love to open a PR.

Please let me know if this is a valid feature request. If it is, I would love to open a PR.

Yes it is. Thank you, @vandanrohatgi !  It's yours.
Please see CONTRIBUTING.md for details about writing PRs for this repo.

This would be an appreciated addition!


Add a configuration section and improve the usage section

Review will be highly appreciated!
Ping @eshepelyuk  @danyill

As a general comment, why not having README in AsciiDoct itself ? Only for sake of displaying README in NPM ?

As a general comment, why not having README in AsciiDoct itself ? Only for sake of displaying README in NPM ?

Yes and I'm not pleased... just look at this ugly table with inline HTML :nauseated_face:

As a suggestion - I would move Antora Integration into Install section, since I consider there're 3 different way of installation: nodejs, browser and antora.

That's a good idea :+1:

As a 2nd suggestion - I'd rename Usage to Supported diagram types

Not sure about this one. We could move the list of supported diagrams in "Supported diagram types" but I want to keep the Usage section to explain the syntax (macro, literal block), the attributes (target, format, generated file name...) and the options (inline, interactive...).

As a 2nd suggestion - I'd rename Usage to Supported diagram types

Not sure about this one. We could move the list of supported diagrams in "Supported diagram > types" but I want to keep the Usage section to explain the syntax (macro, literal block), the attributes (target, format, generated file name...) and the options (inline, interactive...).

Well, I suggest Configuration (i.e. supported attributes) should be the part of Usage in such case, along with beforementioned settings.

This would fix #39?

This would fix #39?

@marcelstoer Partially, as mentioned by @danyill  we will still need to define which attributes are available and what they do (ie. https://github.com/asciidoctor/asciidoctor-diagram#diagram-attributes)

Thanks for your review, that was really helpful!
I think I've addressed all your suggestions, feel free to review one more time before I merge :wink:

Just for me (and then we can close #81) can we change the browser example to begin with:
<!DOCTYPE html>
  <head>
    <meta charset="utf-8">

Then we're done (and we are reminded of why we do not love markdown!)

Oh I can't resist. Can we change the browser example to something which works like:
      var input = `
[plantuml,alice-bob,svg,role=sequence]
....
alice -> bob
....

[graphviz]
....
digraph foo {
  node [style=rounded]
  node1 [shape=box]
  node2 [fillcolor=yellow, style="rounded,filled", shape=diamond]
  node3 [shape=record, label="{ a | b | c }"]
  node1 -> node2 -> node3
}
....
`

Based on @danyill feedback, I overhauled the "Browser" section to document what needs to be done if you want to use the macro form.

This is a great README! :100:
Thanks :clap: :clap:

Thanks again for your kind review, let's merge!


0.9.7 Traffic Manager in python API

hello,
where can i find documentation on how to use the new traffic manager in 0.9.7 in the python api?
in addition, is there a way to control the final destination of the vehicle? or at least help the car choose the right turn in junctions? some navigation control? or this is still unsupported?
if unsupported, is there any intention to do it? any time estimation about this feature/milestone?

Hello,
Documentation is a bit lacking, but soon it will be updated. Right now the vehicle has no exact destination, it computes a route and chooses randomly at intersections. You can change this random choosing and put a higher weight on the right turn.
However, navigation controls are implemented in the agents. Have you tried checking them?


Add travis integration

:+1:
On Oct 12, 2015 11:12 PM, "Zech Xu"<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/biocore/micronota/pull/5
Commit Summary

Add travis integration

File Changes

A .travis.yml
https://github.com/biocore/micronota/pull/5/files#diff-0 (31)

Patch Links:

https://github.com/biocore/micronota/pull/5.patch
https://github.com/biocore/micronota/pull/5.diff

—
Reply to this email directly or view it on GitHub
https://github.com/biocore/micronota/pull/5.

Is this ready to go?  (I don't have merge permissions btw)

Just asked Yoshiki for permission. You should be able to merge. before this
one, would you mind reviewing the other pull request (#4) and merge it if
no problem ?
On Tue, Oct 13, 2015 at 4:15 PM, mortonjt<EMAIL_ADDRESS>wrote:

Is this ready to go? (I don't have merge permissions btw)
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/micronota/pull/5#issuecomment-147879945.

On it

@mortonjt @wasade , updates ready for review/merge


omit default empty

Sometimes omit_default is not safe enough. For example you can have constant type field.
It is better to have separate omit_default_empty option to omit only empty lists/dicts or Nones

This issue is generalized by #289


Update discussion of perturbation networks

Proposed Change
Update the discussion of perturbation networks in the "Large-scale simulation planning" section, which was lifted from the V1 article.
Proposed Authors and Reviewers
Please volunteer (before the end of January) to author/ review and state when you're available. Authors, please say roughly when you plan to contribute the changes (no later than the end of May).
Proposed authors: @pitmanme @JenkeScheen?
Proposed reviewer: Volunteer wanted

I can review this section


Robotframewrok 4.1 release candidate test

Not looking to merge this, just taking a look to make sure there are not any large issues.

Coverage remained the same at 100.0% when pulling eb91911958ab006be47327c4753ff4a988c25e10 on RF-4.1-RC into 3e1fc639c74e792dc8f52261ad2f6880ad2a3531 on master.


ci: download trivy db from aws ecr

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.05%) to 57.343%

Files with Coverage Reduction
New Missed Lines
%

pkg/backend/telemetryapi/harvester.go
2
87.62%

Totals

Change from base Build<PHONE_NUMBER>4:
0.05%

Covered Lines:
15364

Relevant Lines:
26793

💛  - Coveralls


Update README.md

Added instructions for executing commands sequentially in terminals that do not support the ‘&&’ operator

Hi @FadyDhaim, Thanks for the suggestion..
Actually, using powershell 7.3 is mandatory, thus, nobody should come acroess the && issue!
Please, Don't hesitate to open pull requests in the future.


Catchup Master

Master Task for Designing and implementing catchup for consensus

[ ] https://github.com/EspressoSystems/HotShot/issues/1462
[ ] https://github.com/EspressoSystems/HotShot/issues/1463
[ ] https://github.com/EspressoSystems/HotShot/issues/1464

@bfish713 can we close this?


Clean up ROT.Map.Rogue

Nothing specifically addressed in #62, though it looks like there were additional unused variables that were initialized but never used.
Summary:
Removed unused variables.
Fixed spelling error in "_drawCorridore" method.
Made code style more internally consistent.

Thanks @ZLester for cleaning this up!


Draw again

Fix drawing example

Coverage increased (+0.2%) to 87.47% when pulling 367dcb3acbbb1fb6b6203755df1de764e55feda7 on draw-again into ff05531363f5a6249d5ba1338c533edea47a649e on master.


Default avatar

Hi there,
Should we return a default avatar for non-avatar users?
Let see:

(https://webpack.js.org)
Although in the json file (https://opencollective.com/webpack/backers.json?requireActive=false) returns the data of backers that contain the URLs of the avatars but they are empty.
Here are URLs:

https://opencollective-production.s3-us-west-1.amazonaws.com/danawoodmancom_7bada460-bd8b-11e6-9ca1-bb6c7a9a84e0.png - avatar of Dana Woodman https://opencollective.com/danawoodman
https://d1ts43dypk8bqh.cloudfront.net/v1/avatars/5e2529e2-ca5e-495c-8e2f-facb62961cdc  - avatar of Adam Howard https://opencollective.com/a

In opencollective.com avatars are default image: https://opencollective.com/public/images/users/avatar-01.svg

Have you read: https://medium.com/the-mission/silicon-valley-has-a-problem-problem-b34437a57e99 ?

we return avatars. re-open if this happens again


CASMINST-4091: Add logging for some goss tests

Summary and Scope
It can currently be difficult to debug failures of goss tests, particularly when they are intermittent, because the results include minimal information about the failure.
This PR creates a new script (log_run.sh) which is a wrapper script used when calling a command or test script. This wrapper logs what is being run, its stdout, its stderr, and its return code to a log file on the system. It is transparent to the caller, however -- it passes through all of stdout to stdout, all of stderr to stderr, and the return code of the command being run. The wrapper script itself generates no output except for usage errors if invalid arguments are used with it.
I modified several tests to make use of this wrapper script. There are many other candidates where it can be used, but I started with the lowest hanging fruit.
This PR also includes some minor fixes and enhancements to other tests, as well as increasing the timeouts of several tests (based on false failures I observed due to timeouts of these tests).
Issues and Related PRs
None
Testing
I tested on the PIT node on wasp, and on a master, worker, and storage node on hela. I also did testing of the wrapper script itself in isolation.
Risks and Mitigations
Low risk. I have not found any cases where the wrapper script altered the behavior of any of the tests.
Pull Request Checklist

[X] Version number(s) incremented, if applicable
[X] Copyrights updated
[X] License file intact
[X] Target branch correct
[N/A] CHANGELOG.md updated
[X] Testing is appropriate and complete, if applicable
[N/A] HPC Product Announcement prepared, if applicable

To simplify the code review process, I'm going to decline my current PR and break it into smaller ones. As it is I think the prospect of review may be daunting to some.

Reduced code PR (adding logging to only 2 tests) is here:
https://github.com/Cray-HPE/csm-testing/pull/220


missing file csv without hashes

I'm not clear what's happening here (though I haven't spent very long looking at the code yet, so maybe it's obvious and I just haven't seen it yet.
When I run any of the recent-ish scrapers on my arcade ROM sets it rarely finds any matches to output to gameslist.xml.  I thought I'd go update issue #20 but when I passed the -missing option, the CSV file shows up with barely any hashes listed too.  So I went to thegamesdb.com, picked out a handful of games that I could verify were there, dropped the ROMs in their own directory and ran scraper on them thus: scraper -missing file.csv.  The result is this:
Game,Error,Hash,Extra
aliensyn.zip,hash not found,,
galaga.zip,hash not found,d6cb439de0718826d1a0363c9d77de8740b18ecf,
pacman.zip,hash not found,,
rtype.zip,hash not found,60a394ab53afdcbbf9e88083b8dbe8c897170d77,
spyhunt.zip,hash not found,,

So I don't really have much to contribute to issue #20 even though, for example, I know galaga.zip with the apparent hash d6cb439de0718826d1a0363c9d77de8740b18ecf is game ID 7861.
Any idea what's happening here, such that I could contribute a useful list of hashes and game IDs?

Sorry, I haven't been active much lately. Like you noticed, the scraper doesn't hash arcade roms correctly. I never attempted to hash these but can pass -mame to tell it to look at the file names instead since that is how these are keyed. But I think there is an issue with the data source I'm using for arcade data.


token

cannot login using token
how exactly i should do?
where i can get latest akad?
i cannot login using token at all

-Post your output.
-How are you generating the token?
-Use the setup.py included here for akad

Please be specific when you make an issue, We have hard time to understand if you not providing any stack trace of what you already done...

here is the log

You are missing a dependency. Reinstall thrift using pip


Publishing  Docusaurus for GitHub Pages

Publish and push the code.
Follow this Guide

Hi, kindly assign this to me.

I had previously worked on this ....
I can work on this, assign this to me ..

Which platform do I have to use ??

ZEIT
2.Github pages
Netlify
render

Follow the guide above

This guide tells me different ways to deploy the site...
I'm asking that which platform should I use amongst thesd ??

@vngarg you should follow Github pages

@sarthology @sahilit While publishing it's showing me this error ...
Please help me with this ??

@sahilit @sarthology Please help me with the above problem ...

Have you made the build folder ?

Have you made the build folder ?

@sarthology Yes ..I have made the build folder inside /website folder..

Have you made the build folder ?

@sarthology Please help me with this problem ..

Send the PR I will do after that.

Send the PR I will do after that.

@sarthology I had created the PR #58 ..
Please merge it ..


Autodetect_column_names take header from second row

autodetect_column_name for csv plugin not able to take first row of csv file as header, instead it takes the second row of data as the header. The first run it managed to get the first row as header but if continue with another few times of re-run, the second row of data values are taken as header.

Version: Logstash 6.2.3

Operating System: CentOs

Config File:
input {
file {
path => "/home/data/file.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
filter {
csv {
separator => ","
autodetect_column_names => "true"
}

Sample Data: "manhatten" : "california"
desired output: "city": " california"

Steps to Reproduce:

Run logstash from command line:
bin/logstash -f /home/user/logstash_file.config --path.data /home/user/logstash-6.2.3/var/log/file
First time the header is correctly taken from first row in csv file, which is desired result.
For another few runs, the  header is then taken from the data row (second row) which is the row value as header fields.

Similar issues:
https://discuss.elastic.co/t/autodetect-columns-from-header-row-csv-ingest/92861
https://discuss.elastic.co/t/autodetect-column-is-taking-data-row-as-column-name-instead-of-header/126383

I've learned this from another thread, this is because the race issue for multiple workers. currently the workaround is to set "pipeline.workers: 1" in logstash.yml, it works for me.
It seems that when you have multiple workers, the order of lines could not be guaranteed, definitely this is a bug.

Hi siben168,
Thank you very much.  By setting the worker value to 1 has solved my issue.

Duplicate of #65

in case you don't have a logstash.yml, create a new one in settings/logstash.yml and paste this inside: pipeline.workers: 1
Reference: https://www.elastic.co/guide/en/logstash/6.3/logstash-settings-file.html

Duplicate, closing.


Advanced task and workflows 'apply' command

Checklist

[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated.
[ ] Changelog entry has been written

Explain the details for making this change. What existing problem does the pull request solve?
Changelog Entry

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

@timclifford is this still being worked on?


Flume Pipeline Failed when resolving to KG

After submitting a job to resolve the MCF against the KG I see the following error message with a FAILED job:
"ERROR: Flume pipeline failed: generic::internal: ... cloud/helix/flume ..." .

This issue happens when DataCommons has hit the Big Query limit for the day. Try to resolve locally maybe?


Finahub Bankinfo Coding Test

The file resource /WEB-INF/cxf.xml  is missing so we are unable to start the application. Please add that too.


[CI] Upgraded all Debian 10 based images to Debian 11

Debian 10 is long gone and it has too old cmake to get new Abseil.

We could arguably drop Debian 11 too. Based on the Foundational C++ support policy, Debian 11 is in an "extended support" lifetime (staffed only by volunteers IIUC), and quoting the doc:

We only support our libraries with distributions still under "Active" or "Full" support.

I used this table to determine its oldest version. This table says that Debian 11 will be supported by 2026-06-30. Debian typically provides 5 years of standard support (including security updates) and an additional 5 years of extended support. We aim to align with the 5-year standard support window for Debian but won't cover the extended support period.

Debian typically provides 5 years of standard support (including security updates) and an additional 5 years of extended support.

I believe our table is wrong. https://www.debian.org/security/faq#lifespan. Maybe this changed recently, but the Debian security team only supports a release until 3 years after its initial release. Which ended 1 week ago for Debian 11.
I don't think Debian 11 is the long pole in any of our future improvement hopes (C++17, etc), so I have no strong argument here.

This page says

The Debian 11 life cycle encompasses five years: the initial three years of full Debian support, until August 14th, 2024, and two years of Long Term Support (LTS), until August 31st, 2026. The set of supported architectures is limited during the Bullseye LTS term to i386, amd64, armhf and arm64. For more information, please refer to the Security Information webpage and the LTS section of the Debian Wiki.

5 years = 3 years of active support + 2 years of long term support.


Perform search indexing dry run as part of PR checks

See https://issues.redhat.com/browse/RHCLOUD-27749

Sample output of the new make command locally:
➜  chrome-service-backend git:(improve-search-pr-checks) make publish-search-index-dry-run
go run cmd/search/*
Publishing search index
Attempt dry run search index for stage environment.
[ERROR] Failed to deploy search index for stage environment.
[ERROR] parsing link for href entry at static/stable/stage/navigation/iam-navigation.json.navItems[3]
Attempt dry run search index for prod environment.
[WARN] Unable to convert link id  to string. map[appId:patch href:/insights/patch/systems product:Red Hat Insights title:Systems] in file static/stable/prod/navigation/insights-navigation.json.navItems[2].routes
[WARN] Unable to convert link id  to string. map[appId:patch href:/insights/patch/templates product:Red Hat Insights title:Templates] in file static/stable/prod/navigation/insights-navigation.json.navItems[2].routes
[WARN] Unable to convert link id  to string. map[appId:drift href:/insights/drift/ product:Red Hat Insights title:Comparison] in file static/stable/prod/navigation/insights-navigation.json.navItems[3].routes
[WARN] Unable to convert link id  to string. map[appId:drift href:/insights/drift/baselines product:Red Hat Insights title:Baselines] in file static/stable/prod/navigation/insights-navigation.json.navItems[3].routes
[ERROR] Failed to deploy search index for prod environment.
[ERROR] parsing link for href entry at static/stable/prod/navigation/insights-navigation.json.navItems[4]
Search index publishing failed. See above errors.
exit status 1
make: *** [publish-search-index-dry-run] Error 1


Version '5.6.30-0ubuntu<IP_ADDRESS>' for 'mysql-server-5.6' was not found

Cookbook version
8.0.1
Chef-client version
12.10.24
Platform Details
atlas: ubuntu/trusty64 (virtualbox, 20160714.0.0)
Vagrant: 1.8.1
Vagrant plugin: vagrant-omnibus (1.4.1)
Scenario:
#node:
"run_list": [
"recipe[apt]",
"recipe[app]"
],
"mysql": {
"version": "5.6",
"remove_anonymous_users": true,
"remove_test_database": true,
"bind_address": "<IP_ADDRESS>",
"allow_remote_root": false,
"server_root_password": "test"
},
In cookbook "app":
mysql_service 'default' do
port '3306'
version node['mysql']['version']
bind_address node['mysql']['bind_address']
initial_root_password node['mysql']['server_root_password']
action [:create, :start]
end
Cheffile.lock :
apt (4.0.1)
mysql (8.0.1)
Steps to Reproduce:
vagrant provider
Expected Result:
Install mysql-server-5.6
Actual Result:
==> default: [2016-07-22T11:03:12+03:00] ERROR: mysql_service[default] (app::default line 214) had an error: Mixlib::ShellOut::ShellCommandFailed: mysql_server_installation_package[default] (/tmp/vagrant-chef/3d0267c78fb353a2a79c902de75c4fab/cookbooks/mysql/libraries/mysql_service.rb line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: apt_package[mysql-server-5.6] (/tmp/vagrant-chef/3d0267c78fb353a2a79c902de75c4fab/cookbooks/mysql/libraries/mysql_server_installation_package.rb line 17) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
==> default: ---- Begin output of apt-get -q -y install mysql-server-5.6=5.6.30-0ubuntu<IP_ADDRESS> ----
==> default: STDOUT: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: STDERR: E: Version '5.6.30-0ubuntu<IP_ADDRESS>' for 'mysql-server-5.6' was not found
==> default: ---- End output of apt-get -q -y install mysql-server-5.6=5.6.30-0ubuntu<IP_ADDRESS> ----
==> default: Ran apt-get -q -y install mysql-server-5.6=5.6.30-0ubuntu<IP_ADDRESS> returned 100
==> default: [2016-07-22T11:03:12+03:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
.chef/cookbooks/mysql/libraries/helpers.rb :
  return '5.5.49-0ubuntu<IP_ADDRESS>' if major_version == '5.5' && precise?
  return '5.5.49-0ubuntu<IP_ADDRESS>' if major_version == '5.5' && trusty?
  return '5.6.30-0ubuntu<IP_ADDRESS>' if major_version == '5.6' && trusty?
  return '5.7.12-0ubuntu1.1' if major_version == '5.7' && xenial?

apt-cache policy mysql-server-5.6 :
mysql-server-5.6:
Installed: (none)
Candidate: 5.6.31-0ubuntu<IP_ADDRESS>
Version table:
5.6.31-0ubuntu<IP_ADDRESS> 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
5.6.16-1~exp1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

my mistake, I found the option: package_version

@theonedemon, how did you solve this? What did you set as your package_version option?

add option: package_version: "5.6.31-0ubuntu<IP_ADDRESS>"
and cookbook mysql 8.0.1 not work, downgrade to 7.2.0


ImagePlus from Dataset conversion issue

Since I have difficulties to use ImageDisplay.setPosition() using IJ2 interface (see https://github.com/imagej/imagej/issues/140) I try to do it with the IJ1 API.
While I can successfully convert a Dataset to an ij.ImagePlus, methods such as setSlice() does not work on  ij.ImagePluswhereas it's working fine using the ij.ImagePlus from Python annotations.
See the following code :
# @Dataset data
# @ImageDisplay image
# @ImageJ ij
# @ImagePlus im

from ij import ImagePlus

imp = ij.convert().convert(data, ImagePlus)

# Do nothing
imp.setZ(3);

# Work and change the Z position on the image display
im.setZ(3);

My workaround is to use ij.IJ.getImage(); but I don't really like it.

imp = ij.convert().convert(data, ImagePlus)

You're creating a new ImagePlus instance here. If you show() it, it seems to work fine:
imp.setZ(3)
imp.show()

Ok. Thanks for the precision, I didn't know that. Do you know if it's possible to get the Imageplus corresponding to a Dataset (the one that is displayed by the IJ1 interface) without using imagej-legacy ?

Do you know if it's possible to get the Imageplus corresponding to a Dataset (the one that is displayed by the IJ1 interface) without using imagej-legacy ?

No, imagej-legacy is the component for synchronizing Dataset and ImagePlus.
But, you have an ImagePlus parameter:

@ImagePlus im

so isn't that sufficient? Can you explain more about why you want to convert at all?

Ok I just didn't know about that. ImagePlus parameter is fine and I will use this. Thank you !


Change client-side credentials' use of gRPC Core

This depends upon pull request 13539 and is forward progress on issue 12531.

(Not sure what's up with GitHub but all tests have passed; submitting now.)


that.debug is not a function

debug=true throws an error
const smtpserver = new testSmtpServer({
      localhostOnly: true,
      debug: true,
      smtpPort: 2526,
    });

Log

     Uncaught TypeError: that.debug is not a function
      at SMTPServer.onAuth (node_modules/test-smtp-server/build/lib/test-smtp-server.js:78:22)
      at SMTPConnection.PLAIN_token (node_modules/smtp-server/lib/sasl.js:90:22)
      at SMTPConnection.SASL_PLAIN (node_modules/smtp-server/lib/sasl.js:19:26)
      at SMTPConnection.handler_AUTH (node_modules/smtp-server/lib/smtp-connection.js:1176:9)
      at SMTPConnection._onCommand (node_modules/smtp-server/lib/smtp-connection.js:520:17)
      at SMTPStream.SMTPConnection._parser.oncommand (node_modules/smtp-server/lib/smtp-connection.js:58:52)
      at readLine (node_modules/smtp-server/lib/smtp-stream.js:128:22)
      at SMTPStream._write (node_modules/smtp-server/lib/smtp-stream.js:132:13)
      at writeOrBuffer (node:internal/streams/writable:391:12)
      at _write (node:internal/streams/writable:332:10)
      at SMTPStream.Writable.write (node:internal/streams/writable:336:10)
      at TLSSocket.ondata (node:internal/streams/readable:754:22)
      at TLSSocket.emit (node:events:513:28)
      at addChunk (node:internal/streams/readable:315:12)
      at readableAddChunk (node:internal/streams/readable:289:9)
      at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
      at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)

Fix:
const smtpserver = new testSmtpServer({
      localhostOnly: true,
      debug: false,
      smtpPort: 2526,
    });

Thanks for the input.
The code has doc indicating the proper value is a function.  false works but not intentionally.  Would you want true to mean console.log() should be used?  The problem is there are a number of choices besides log().
I am curious about your environment.  What editor are you using?  Many editors would flag debug: true as an invalid parameter so I would like to understand if there is a problem with the jsdoc.