I got this issue whenever i try to retrain pretrained model

I used pretrained model and model which is trained by me using traintripletloss.  How to retrain pretrained model in facenet?
Traceback (most recent call last):
File "train_tripletloss.py", line 490, in
main(parse_arguments(sys.argv[1:]))
File "train_tripletloss.py", line 177, in main
saver.restore(sess, os.path.expanduser(args.pretrained_model))
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 1802, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1135, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1316, in _do_run
run_metadata)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1335, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Tensor name "InceptionResnetV1/Block8/Branch_0/Conv2d_1x1/BatchNorm/beta" not found in checkpoint files /home/dosepack/Documents/kunal/codes/20180408-102900/model-20180408-102900.ckpt-90.index
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
[[Node: save/RestoreV2/_1849 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_306_save/RestoreV2", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]]
Caused by op 'save/RestoreV2', defined at:
File "train_tripletloss.py", line 490, in
main(parse_arguments(sys.argv[1:]))
File "train_tripletloss.py", line 154, in main
saver = tf.train.Saver(tf.trainable_variables(), max_to_keep=3)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 1338, in init
self.build()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 1347, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 1384, in _build
build_save=build_save, build_restore=build_restore)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 835, in _build_internal
restore_sequentially, reshape)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 472, in _AddRestoreOps
restore_sequentially)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 886, in bulk_restore
return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 1463, in restore_v2
shape_and_slices=shape_and_slices, dtypes=dtypes, name=name)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 3392, in create_op
op_def=op_def)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 1718, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
NotFoundError (see above for traceback): Tensor name "InceptionResnetV1/Block8/Branch_0/Conv2d_1x1/BatchNorm/beta" not found in checkpoint files /home/dosepack/Documents/kunal/codes/20180408-102900/model-20180408-102900.ckpt-90.index
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
[[Node: save/RestoreV2/_1849 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_306_save/RestoreV2", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]]

How did you solve it?

are you getting same error? if yes then send command you use to retrain facenet model


Make secrets.json optional

Related to issue #23.
I think that if someone doesn't want secrets.json, they shouldn't be required to create it.
This PR just checks if secrets.json exists before trying to load it. Otherwise, it inserts an empty object so no errors are thrown.

Seems like a good idea to me. Definitely feel like this is the most user-friendly solution.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/eventing-writers
/assign knative-sandbox/eventing-writers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/reconciler-test 0cfde63...c8b6d66:
  > c8b6d66 Removal of deprecated, unused functions. (# 365)
  > b82e1da :bug: Eventshub tests work on Windows (# 361)
bumping knative.dev/hack 65c463a...782bbaa:
  > 782bbaa drop warning (# 204)
  > 92c7e36 Fix the buoy invocation (# 203)
  > 123a278 :broom: Migrate to using the `go run` instead of `go install` (# 172)
  > a645040 Update community files (# 201)
  > 81e30c2 remove references to git markdown checking (# 199)
  > e3be8da Update community files (# 197)
bumping knative.dev/pkg e60d250...ed7ab1d:
  > ed7ab1d upgrade to latest dependencies (# 2559)
  > 6c9c1c6 remove defunct markdown linting variable (# 2552)
  > 3764d73 fix linting (# 2555)
  > a286510 upgrade to latest dependencies (# 2554)
  > 1a5e168 Update community files (# 2553)
  > c488837 Add reconcile for ValidatingWebhookConfiguration and MutatingWebhookConfiguration. (# 2550)
  > 1ad02a5 Drop error from changeset.Get signature (# 2549)
  > 473ba31 Bump min go version to  1.18 && read build info from embedded binary (# 2548)
  > f1f36a2 Fix subresource update logic. (# 2546)
  > 418e138 Update community files (# 2545)

closing to pick up new changes on next run
/close


fix: make getGamesForGuild to return games

getGamesForGuild always returns nothing (causes generating empty CSV), so make it to return games.

Ah great catch, totally missed this ❤


Behavior Trees: Freeze in BehaviorTree#step() in certain conditions

Issue details
First of: I don't know whether this is just a misunderstanding or something that could really be improved.
Now this is clearly a "fault" in my trees, but it would be good if step() wouldn't freeze indefinitely.
See the following behavior tree: Approach will always fail (due to a problem in my code), thus InRange will be irrelevant here and untilSuccess will start to loop Approach indefinitely.
This means step() will freeze until Approach succeeds, which in turn blocks my update loop entirely.
Solutions would be an optional timeout for step() or even better, have step() only handle one iteration of a loop decorator.
Or is there something I am overlooking?
Reproduction steps/code
($notInRange) untilSuccess
    sequence
       Approach
       InRange range:2 # Re-Approach when range is broken.

Version of gdx-ai and/or relevant dependencies
'com.badlogicgames.gdx:gdx-ai:1.8.1'

TBH I don't think it's a good idea to make changes to avoid these kind of programming errors.
It would be like changing the while loop in Java by adding a timeout to remedy any condition always true.
Closing this for now. Feel free to reopen if I missed something.

Well, yes and no.
My proposal wouldn't only apply to endless loops but anything that takes reasonably long.
I would think like having tick() only execute one leaf task (not guard) ever per tick.
I haven't thought this reasonably through but there don't have to be hard programming errors, but things that "take a while", think:
untilSuccess
   sequence
      TryUnlockDoor
      BlahBlah

I can imagine two things here:

Unlocking the Door takes a few tries or it is blocking (Status.RUNNING) for 5 seconds until the door is open.

Call this one mis-design, but when executing from the update loop, the whole game is frozen and thus the animation doesn't show a door opening. But there it gets worse:
2. When TryUnlockDoor requires update() to do something, say it starts a process and then update() is doing something every frame to open the door, until TryUnlockDoor succeeds.
Do you have another idea on how to completely bypass all these problems? Because I want my users to be able to add in behavior trees as well as I wouldn't know how to properly avoid these issues. Especially it seems like this kind of behavior depends on the "iterator" or decorator, because I am certain I already have some tasks which "block" for a few frames.

Non sure what's your exact use case.
But it's very likely that one of the several BT constructs supported by gdx-ai might cover it.
For instanse, have you considered using parallel?
With its policies and orchestrators is likely the most powerful and versatile construct.


Not able to manually switch to stream

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
Please ask your question

On trying to forcefully switch to a given stream on 3016 , it does not switch rather it just pauses the player
Why does this happen?

Code:
onVariantUpdate: (variant, shouldBlackList) => {
  variant['allowedByBrowser'] = !shouldBlackList;
  // const currentPeriod =
  //     this.getPresentationPeriod_() || this.manifest_.periods[0];
  shaka.log.info('Ihrr', this.abrManager_.getVariants());
  let fil = this.abrManager_.getVariants();
  if (fil !== null) {
    let filteredVariants = fil.filter((abrVar)=> abrVar.id !== variant.id
      && abrVar.id !== 23);
    this.abrManager_.setVariants(filteredVariants);
    let chosenVariant = this.abrManager_.chooseVariant();
    shaka.log.info('Chosen variant from here', chosenVariant);
    let bandwidthEstimate = this.abrManager_.config_.
    bandwidthEstimator.getBandwidthEstimate(
      this.abrManager_.config_.defaultBandwidthEstimate);
    shaka.log.info('Bandwidth estimate', bandwidthEstimate);
    let currentBandwidthKbps = Math.round(bandwidthEstimate / 1000.0);
    shaka.log.info('current bandwidth kbps', currentBandwidthKbps);
    shaka.log.info(
      'Calling switch_(), bandwidth=' + currentBandwidthKbps + ' kbps');
    shaka.log.debug(
      'Calling switch_(), bandwidth=' + currentBandwidthKbps + ' kbps');
    // eslint-disable-next-line max-len
    // If any of these chosen streams are already chosen, Player will filter them
    // out before passing the choices on to StreamingEngine.
    this.abrManager_.switch_(chosenVariant);
    shaka.log.info('Perfect switch');
  }

this is called during error recovery controller whenever onerror is thrown
called like
this.playerInterface_.onVariantUpdate(activeVariant, true);
const activeVariant = blacklistedVariant ||
    this.playerInterface_.getActiveVariant();

@joeyparrish  - please help resolving.

Error 3016 is unrecoverable.  You can check the severity of the error object and see that error.severity == shaka.util.Error.Severity.CRITICAL.
See the definition of Severity from the docs at https://shaka-player-demo.appspot.com/docs/api/shaka.util.Error.html#.Severity :

Name
Value
Type
Description

RECOVERABLE
1
number
An error occurred, but the Player is attempting to recover from the error. If the Player cannot ultimately recover, it still may not throw a CRITICAL error. For example, retrying for a media segment will never result in a CRITICAL error (the Player will just retry forever).

CRITICAL
2
number
A critical error that the library cannot recover from. These usually cause the Player to stop loading or updating. A new manifest must be loaded to reset the library.

But we are changing the recoverability from to RECOVERABLE - when we are throwing the error.
Why is it still not possible then?
@joeyparrish

@joeyparrish , any update on this?
Please let me know.

The reason we label that error as critical is because the playback stack has to be torn down, all the way to the browser.  Changing the enum value doesn't change that fact.
The enum value is a description of what is wrong.  The enum value is not the thing that keeps it from working.
The only thing you can do after a decoder or demuxer error from the browser is call load() to restart the entire stack.
Does this help?

Absolutely. We are trying to give a seamless experience on 3016, from our end.
Will raise a PR if we are able to do this.
Thanks a lot for your clarification @joeyparrish !
Cheers. 👍

Resolved.


[react libdef] SyntheticDragEvent dataTransfer incorrectly typed any

From dom:
declare class DragEvent extends MouseEvent {
  dataTransfer: ?DataTransfer; // readonly
}

As currently typed:
declare class SyntheticDragEvent<+T: EventTarget = EventTarget>
  extends SyntheticMouseEvent<T> {
  dataTransfer: any;
}

I just can into this issue


Any trick to improve the performance?

Have you trained in SBD dataset?

No I just trained on my dataset

I have updated the code, please try again.

I find the same problem about miou=0.5 .Have you had any solutions?


Master

Hey, this still has merge conflicts and the image is still giving me issues. You need to do a pull and fix the merge errors before you make the pull request. Also, I think the image that you currently have is corrupted, so if you could re-create it and re-add it to git that would be awesome. You can email me at<EMAIL_ADDRESS>if you have any questions.


Allow a fixed RPS rate

Description of issue / feature request
Please allow specifying a fixed RPS rate.
While the current model is nice for modelling users, it is not very useful for modelling more complex modern web applications which often will exhibit an exact known waiting behavior rather than something controlled by a more unpredictable distribution.
Currently, I see no good way modelling this with locust and we are having huge trouble in our current project working around by guessing settings needlessly to roughly get to the actual RPS the web app knowingly sets off.
Expected behavior
RPS setting is available as alternative (including a way to guarantee e.g. exactly 1 request per second even if the actual request itself has a varying duration, e.g. a 200ms request response and a 500ms request response won't lead to strong variations of the interval)
Actual behavior
I can't find an RPS setting, and requests taking longer seems to make users wait more instead of allowing to have some sort of predictable fixed interval behavior (as is unrealistic for real users of course, but not unrealistic for many automated web clients).

RPS setting is available as alternative (including a way to guarantee e.g. exactly 1 request per second even if the actual request itself has a varying duration, e.g. a 200ms request response and a 500ms request response won't lead to strong variations of the interval)

Have you looked at min and max wait? Setting them to both be 1000 (ms) would result in locust making 1 request/sec per client which seems to be exactly what you are looking to do.

@aldenpeterson-wf are you sure it won't result in 1000/(1000ms + request time milliseconds) requests per second? Because that is what we seem to be seeing

@JonasT you're right! this is 1000/(1000ms + request time milliseconds) exactly.

@mambusskruj yea and that's not 1 RPS but rather something lower.. so not what we're looking for

@JonasT the problem is to calculate different wait time based on response time. So, the right calculating is: 1000/(x wait time ms + request time milliseconds) where x will calculating all the time during test process.

@mambusskruj
It's not really hard to do:
import time

request_ts = time.monotonic()
RPS = 1.0
while True:
    do_request()
    request_ts += (1.0/RPS)
    now = time.monotonic()
    if now < request_ts:
        time.sleep(request_ts - now)

The main problem is really that locust appears to have no option to request such a behavior, hence this ticket.

@aldenpeterson-wf any chance such an option would be considered? It would be somewhat useful for simulating certain kinds of automated clients..

I don't think this is a common enough use-case to warrant a feature in Locust.
However, it wouldn't be hard to implement this in the test scripts yourself. Something like this should work (note: not tested):
from time import time

class ConstantWaitTimeTaskSet(TaskSet):
    wait_time = 1000

    def __init__self(self, *args, **kwargs):
        super(TaskSet, self).__init__(*args, **kwargs)
        self._time_waited = 0

    def wait():
        t = max(0, self.wait_time - self._time_waited) /  1000.0
        self._sleep(t)
        self._time_waited = 0

    def get(self, *args, **kwargs):
        start = time()
        response = self.locust.cient.get(*args, **kwargs)
        self._time_waited += (time() - start) * 1000
        return response

(You'd then use self.get() in the tasks to make GET requests. It should also be possible to override HttpLocust.client so that one doesn't have to change how HTTP requests are made)

@heyman is it not common to test API clients? Since REST APIs are so common, this seems a bit surprising to me.
While I agree it's not that hard to implement, the length of your response makes me already wonder if it wouldn't be better off adding this to locust itself instead of having everyone testing automated clients redo this.

@JonasT There are a lot of API clients that doesn't make requests at a fixed interval. And out of those that do, I believe it should be at least as common that they have a fixed wait time between calls, and that they do not take the request time of the previous request(s) into consideration.
This is the first time this feature has been requested (I believe). That tells me it can't be extremely common. If you think it's something a lot of people would want, or if you want this in multiple projects, I think it would be a good idea to make it as a separate python package.
Doing this:
from locust_fixed_interval_taskset import FixedIntervalTaskSet

should be (almost) as easy as doing this:
from locust import FixedIntervalTaskSet

What web app would use a blocking request? Most of them would use setInterval in the background, which would exhibit the behavior I described. I think the more likely explanation didn't really care much about the inaccuracy of their simulation enough to file a ticket, not that this isn't a common requirement..

@JonasT Ah, for JavaScript that's probably true in quite a few cases (though it's probably not very uncommon that the next API call is scheduled once the previous response comes in).
I'm also wondering, for such apps - where periodic API-requests are being made at a set interval - does the model of tasks and TaskSets really make sense?
Does anyone else have thoughts on this?

I can only say that we tested a web app with locust at a really large scale and we essentially 1.) ignored the RPS problem, 2.) used a single task instead of multiple with task probabilities so we could set the intervals exactly to how the web app behaves.
As far as our use case is concerned, the best thing would be something entirely separate from the task set which can be used in addition, since we still have user prompted tasks for which the given TaskSet infrastructure is perfect in combination with background tasks of the web app for which we needed a fixed RPS model.

+1 for this feature
In my use case need to able figure out what the RPS we can support on a server for a certain API. Instead of simulating user behavior, I want to increase the RPS of a certain API  up to a certain level in certain steps from 0 to the desired level

+1 As well for the reasons listed above, Locust is fairly flexible but it would be nice to have this feature built into the framework.

Guys, you can have a look at boomer or locust4j, they have built-in Max RPS support.
See https://docs.locust.io/en/latest/third-party-tools.html

One reason I liked iago was exactly its ability to send traffic at a constant request rate at which you could then observe your app's behaviour. I'm no expert but I think its quite hard to achieve if you want a distributed load tester to keep its request rate constant irrespective of the delays of the client being tested.

Could you please tell me when is this feature goint to be released and in which version of locust?

@contactparthshah depends on when/if someone is motivated enough to write it, I suppose.

Hello all.
I think such a feature would be very useful. Actually, I would need it right now. I will try the proposed hack but am not really familiar with the internals of locust so it may take me a while to get it working.
Thanks.

We'd love this too! I don't think this is uncommon.

+1, I think this is a really needed and a common feature too. Coming from the LoadRunner background, it has this feature where the load generators have to wait for unfinished api calls. LoadRunner maintains different states of users, Running, Ready and Stopped among others (See below).

When you incorporate synchronization in your scripts, only when the required number of virtual users are in ready state, all the requests are made at once. In other words, if the requirement is to have a 1000 RPS and 999 users are in Ready state but one user isn't done completing the request, all other users have to wait for the one user to get in the Ready state.

I think it has been established that a fixed request rate would be a popular feature.   ... but it's vaporware at the moment.

Hi,
+1 for this feature.
Any updates ?

updates would be posted here.

Hi,
+1 for this feature. It'd be very helpful! Thanks!

This is how good os projects die I guess. I guess have to go use vegeta now.

@Reifier unless you have a rejected PR those type of comments are just plain rude. OSS contributors are not some people in the cloud doing your bidding for free.
Get involved or move on. That attitude is extreme.

If vegeta suits your needs better, that's great.   drilling HTTP services with constant request rates is not really a strength of Locust.  Locust's strength is modelling more complex user behavior in Python.
I don't see how lack of interest in generating constant RPS workloads would mean the project is dying?

@thedeeno I never said anyone has to do my bidding, I'll just find another solution. So yes, I am moving on.

Coming back to this, it was not that difficult to implement it within the locust file. Sure, it won't give you a fancy GUI with a big red button letting you control the RPS, but its enough.
The key part of the solution is the self._sleep(t) function which waits the specified time without blocking.
time_to_wait = 10

# Get starting time
start = time.time()

# Do some HTTP stuff
self.client.request("GET", url="http://example.org/")

# Get ending time
end = time.time()

# Wait if we were too fast
if end - start > time_to_wait:
  self._sleep(start + time_to_wait - end)

@contactparthshah,
Indeed, this code won't provide a fixed RPS in all circumstances. Particularly if the servers are too slow, or have a high response time jitter.
There is no such thing as instantaneous RPS anyway. If what you want is something that provides a fixed RPS on a longer time range, then you can still use self._sleep but by averaging the expected time for multiple requests instead of just one.
This approach also only looks at one single simulated user. Something more sophisticated could use some shared structure (with locking) in order to synchronize the users within a given slave. Doing the same thing across slaves is also possible, but widely more complex.
The previous code snippet is enough for what I want to do though. It works like a charm, and I suspect it might be the same for others.

In my opinion, the above code/snippet is sufficient for most scenarios because once you hit the server limit, you unavoidably lose connections or slow down (even with "perfect" client code). Since this will be observable in your graphed data by observing the request numbers (you'll see them suddenly dip down/hit a ceiling), the same as you'd see failing requests in the graphs, it's just a different additional indicator to see that you've hit the server limit - the finding of which is the usual reason why you're using locustio in the first place. So I don't see this as a problem if you know what to look out for when doing the test.
Without the snippet / the current locustio behavior however, you'll get a much more gradual slowdown as requests gradually get slower and therefore the clients very gradually go down in their request rate, which is harder to observe and is also unrealistic for a certain kind of fixed interval client - so that's why I made the feature request. (Just to make a full circle in my explanation)

I fount and realized 2 ways to generate the fixed RPS count

To change the users count during the test run from hooks:

Listeners:
`def on_report_to_master(client_id, data, **kw):
# Executes before on_slave_report
# Validate data statistics on slave
clients_number = runners.locust_runner.num_clients
hatch_rate = runners.locust_runner.hatch_rate
print("Clients number: {}".format(clients_number))
rps_mid = data['stats_total']['num_reqs_per_sec'].values()
print(rps_mid)
if len(rps_mid) >= 1:
rpss = list(rps_mid)
rpss.sort()
print("Max {}".format(max(rpss)))
print("Mid {}".format(median(rpss)))
if max(rpss) < 100:
clients_number += 2
runners.locust_runner.start_hatching(clients_number, hatch_rate)
events.hatch_complete.fire(user_count=clients_number)
if max(rpss) >= 103:
clients_number -= 1
runners.locust_runner.start_hatching(clients_number, hatch_rate)
events.hatch_complete.fire(user_count=clients_number)
def on_slave_report(client_id, data, **kw):
# Executes after on_report_to_master
# Print data statistics on master
rps_number = runners.global_stats.total.current_rps
clients_number = runners.locust_runner.num_clients
hatch_rate = runners.locust_runner.hatch_rate
print("Users number: {}".format(data['user_count']))`
Locust File:
`
RPS listeners WORKING ONLY WITH ONE NODE and MASTER mode
events.report_to_master += on_report_to_master
events.slave_report += on_slave_report
`

Hi! I have implemented a different solution, inspired by Jmeter's constant throughput timer. I think it will be more accurate than looking at locust's current_rps tracker, especially at low load.
rps = float(os.environ["LOCUST_RPS"])

class TaskSetRPS(TaskSet):
    def __init__(self, parent):
        super().__init__(parent)
        self.previous_time = 0.0

    def rps_sleep(self, rps):
        current_time = float(time.time())
        next_time = self.previous_time + runners.locust_runner.num_clients / rps
        if current_time > next_time:
            if runners.locust_runner.state == runners.STATE_RUNNING:
                logging.warning("Failed to reach target rps, even after rampup has finished")
            self.previous_time = current_time
            return

        self.previous_time = next_time
        gevent.sleep(next_time - current_time)

class UserBehavior(TaskSetRPS):
    @task
    def my_task(self):
        self.rps_sleep(rps)
        <the rest of your task>

I've implemented it as a separate python module and a Docker image.
pip install locust-fixed-interval

from locust_fixed_interval import FixedIntervalTaskSet

class MyTaskSet(FixedIntervalTaskSet):

  def setup(self):
      self.interval = 2.5

  @task
  def task1(self):
    #...

https://pypi.org/project/locust-fixed-interval/
https://hub.docker.com/r/algattik/locust-fixed-interval
https://github.com/algattik/locust_fixed_interval

I have released my code as part of locust-plugins: https://github.com/SvenskaSpel/locust-plugins/blob/master/locust_plugins/tasksets.py
I have also built support for this into my tool for automated distributed locust runs: https://github.com/SvenskaSpel/locust-plugins (basically it just divides the RPS rate equally between all locust processes)

Solved by #1118. For global RPS control (as opposed to per-locust control) you still need to have some custom code (like the one provided by locust-plugins)

@dterei Yes, that is correct. We're user centric rather than RPS centric. Locust provides you with a framework to define user behaviour using code, and then you select the number of these simulated users that you want to run against the system you're load testing.
In many cases it's much more relevant to be able to say "our system can handle X number of simultaneous users", than "our system kan handle Y requests/second". Even though it's often quite easy to determine Y as well, by just simulating more users until the system that is being tested can no longer handle the load.

I am late to this, but let me say that this is true for websites. But different kinds of platforms can be load-tested. In my case I deal with IoT systems, where a request does not usually depend on the response time of the previous one.
There are (several) scenarios in which a constant rate makes fully sense.

I fount and realized 2 ways to generate the fixed RPS count
1. To change the RPS count from wait_function changing (recommended way):
This wait function generates stable 100 RPS in the desired ranges with 100 users
The start wait time should be 1000 ms.
class LoadTests(HttpLocust):
    host = base_uri
    task_set = UserScenario
    wait_function = lambda self: self.fixed_rps_wait_function(100)

    def __init__(self):
        super(LoadTests, self).__init__()
        self.my_wait = 1000

    def fixed_rps_wait_function(self, desired_rps):
        # Will increase and decrease tasks wait time in range of 99.8 - 100.7 rps
        current_rps = runners.global_stats.total.current_rps
        if current_rps < desired_rps - 0.2:
            # the minimum wait is 10 ms
            if self.my_wait > 10:
                self.my_wait -= 4
        elif current_rps > desired_rps + 0.7:
            self.my_wait += 4
        print("Current RPS: {}".format(current_rps))
        print("Default wait is: {}".format(self.my_wait))
        return self.my_wait

2. To change the users count during the test run from hooks (only for master mode, and hard to adapt to the desired number of slaves):
hatching and killing users to get desired RPS count during the LoadTest (desired - 100 RPS using 100 users)
Hooks:

##### Every slave will spin up 2 users
####### The users count and desire_rps should be counted according to the slaves number
def on_report_to_master(client_id, data, **kw):
    # Executes before on_slave_report
    # Validate data statistics on slave
    clients_number = runners.locust_runner.num_clients
    hatch_rate = runners.locust_runner.hatch_rate
    print("Clients number: {}".format(clients_number))
    rps_mid = data['stats_total']['num_reqs_per_sec'].values()
    if len(rps_mid) >= 1:
        rpss = list(rps_mid)
        rpss.sort()
        if max(rpss) < 100:
            clients_number += 2
            runners.locust_runner.start_hatching(clients_number, hatch_rate)
            events.hatch_complete.fire(user_count=clients_number)
        if max(rpss) >= 103:
            clients_number -= 1
            runners.locust_runner.start_hatching(clients_number, hatch_rate)
            events.hatch_complete.fire(user_count=clients_number)

def on_slave_report(client_id, data, **kw):
    # Executes after on_report_to_master
    # Print data statistics on master
    rps_number = runners.global_stats.total.current_rps
    clients_number = runners.locust_runner.num_clients
    hatch_rate = runners.locust_runner.hatch_rate
    print("Users number: {}".format(data['user_count']))

Add hooks to locustfile
###### RPS listeners WORKING ONLY WITH ONE NODE and MASTER mode
events.report_to_master += on_report_to_master
events.slave_report += on_slave_report

@savvagen
Can u please explain me  the wait_function more accurately? How u have calculated this thing?

@cyberw I'm trying to use your solution in locust version 1.2.3. It seems  runners does not have the attribute runners.locust_runner. Can you specify the version for your code?

Hi @guwenyu1996 ! Unfortunately I havent had time to keep that up to date (and I had some weird issues with the RPS rate). You're on your own for now...


JSONLD context should use DC Terms title, not DC Elements

Creator's not moving over to Plum either, but it's because CC is using DCT.creator which seems quite restrictive.


bug: containerized transformer checks fails on s390x machine

Describe the bug
Check step of pulling and running https://quay.io/repository/konveyor/hello-world image is failing as the image is not supported for s90x platform
Expected behavior
https://quay.io/repository/konveyor/hello-world image for s390x should be available on quay

@kmehant can we close this? you pushed the hello-world image right?


[BUG] inter_sample_shift cannot always be found for phase shift

For some reason, the spikeinterface-generated inter_sample_shift property is not always found on SpikeGLX files. This leads phase-shifting to fail with the error
Traceback (most recent call last):
  File "/ceph/neuroinformatics/neuroinformatics/scratch/jziminski/ephys/code/swc_ephys/swc_ephys/examples/./example_full_pipeline.py", line 18, in <module>
    run_full_pipeline(
  File "/ceph/neuroinformatics/neuroinformatics/scratch/jziminski/ephys/code/swc_ephys/swc_ephys/pipeline/full_pipeline.py", line 93, in run_full_pipeline
    data = preprocess(data, pp_steps, verbose)
  File "/ceph/neuroinformatics/neuroinformatics/scratch/jziminski/ephys/code/swc_ephys/swc_ephys/pipeline/preprocess.py", line 55, in preprocess
    perform_preprocessing_step(
  File "/ceph/neuroinformatics/neuroinformatics/scratch/jziminski/ephys/code/swc_ephys/swc_ephys/pipeline/preprocess.py", line 179, in perform_preprocessing_step
    data[new_name] = pp_funcs[pp_name](last_pp_step_output, **pp_options)
  File "/nfs/nhome/live/jziminski/.conda/envs/swc_ephys/lib/python3.10/site-packages/spikeinterface/core/core_tools.py", line 28, in reader_func
    return source_class(*args, **kwargs)
  File "/nfs/nhome/live/jziminski/.conda/envs/swc_ephys/lib/python3.10/site-packages/spikeinterface/preprocessing/phase_shift.py", line 42, in __init__
    assert "inter_sample_shift" in recording.get_property_keys(), "'inter_sample_shift' is not a property!"
AssertionError: 'inter_sample_shift' is not a property!

For example this is currently occurring with run_full_pipeline.py:
base_path = Path(
    r"/ceph/neuroinformatics/neuroinformatics/scratch/jziminski/ephys/test_data/steve_multi_run/1119617"
    r"/time-mid"
)
sub_name = "1119617"  # "cut_same_name"
run_names = ["1119617_LSE1_shank12",
             "1119617_posttest1_shank12",
             "1119617_pretest1_shank12"]

config_name = "test"
sorter = "kilosort2_5"

I am 99% sure this was due to an issue in exporting cut-down versions of test files, and is not observed for 'real' data. Will re-open if this comes up again.


Adding new volumesnapshotclass chart based on storageclass

Hi @ameijer. Not sure if you've seen this, but I don't seem to be able to add you as a reviewer. It appears that a workflow needs to be approved by you in order to proceed.  Thanks!

thank you @damonconway !


LVM support for "Restore individual files" script

If a VM that has LVM on the OS and/or data disks is backed-up using Azure Backup and then, on the same VM is used the "Restore individual files" script, the LVM from the backup disks will not get mounted. The reason is that the backup disk will be an exact clone of the original VM, meaning the LVM configuration (VG, PV, LV) will be identical (same names, same UUIDs).
The problem can be solved, in some cases, by manipulating the attached disks VG and PV UUIDs and VG names, but this is not always possible.
Another way of overcoming this is by running the "Restore individual files" script on a machine that is created from a different base image than the original VM used for backup. Even so, the LVM will not get mounted automatically, but it's easy to mount it manually (the internet is full with guides on that), retrieve the needed files and transfer them to the desired VM using scp/rsync or any other mean.
Please update the documentation to reflect the lack of support for LVM, considering the above scenario.

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

ID: e09a82ff-c7bb-2895-6177-79bbebe05710
Version Independent ID: d20a401d-dadc-2d3a-c32c-f0dc492dc4ff
Content: Tutorial - Restore files to a VM with Azure Backup - Azure Backup
Content Source: articles/backup/tutorial-restore-files.md
Service: backup
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

#reassign:pvrk

@marinnedea : Thanks for your response.
Yes, customers can probably can change VG, PV, UUIDs but we didn't actively recommend that. That is because if customers did something wrong, it may affect the original data itself. Hence we didn't document this aspect.
So, customer can choose to run on any other machine. I understand that this already covers the "different base image" point too.
So, can you please elaborate on the exact changes you want in this document?

Thank you for your suggestion. We've changed the documentation to reflect your recommendation, and the page should be updated in the next 24 hours.
#please-close


Should be accessable everywhere easily

In many countries the many of the services are blocked, like in China Google services are mostly inaccessible. For this reason the website loads partially, can we build the site in such a way so that we can visit and show others easily.
Website: http://creativecommons.org
Browser details: https://aboutmybrowser.com/pH6DF4H3
Screenshot: the website does not loads at wall, so there is no screenshot.

Yes, we're looking into that https://github.com/creativecommons/creativecommons.org/issues/305


Thanks for your great work! When will you release the dataset and code.

Hello, the data and visualization code is live.
Please checkout.


Feature request: Multilevel dropdowns

One of the things I really missed in Bootstrap 3 was the ability to add multilevel dropdowns. It would be really nice not having to look for extensions to allow this, as it makes it even harder to convert to WordPress. I'm still pretty new to coding, so it might just be me...

This has been requested in the past. You can read some of the previous responses here:
https://github.com/twbs/bootstrap/issues/424
https://github.com/twbs/bootstrap/issues/160

Oh, Sorry!


[WIP] Remap of a product field.

Remap of a product field us while preserving bounds of s, which is defined pointwise as s = us /u.
Implemented only for the flux-based FCT option. The method is different than the BLAST version, as it satisfies local bounds (when possible, depending on the LO solution) that don't depend on the full advection stencil. The notion of boolean dofs is introduced.
The product bounds are guaranteed only for backward Euler, due to the nonlinearity of doing the division (which is an issue in BLAST as well). This will be addressed in the future.

@tzanio @artv3  I'm merging this!


os/exec: exec.CommandContext(...).Output() does not respect context timeout

What version of Go are you using (go version)?

$ go version
go version go1.19 darwin/arm64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
I create the following two files
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/levkhotov/Library/Caches/go-build"
GOENV="/Users/levkhotov/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/levkhotov/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/levkhotov/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.19.4"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/levkhotov/anki-rest-helper/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/3k/z3gl3j7n0p5cr2z0kh6xftcw0000gn/T/go-build1154024858=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Create two files:
main.go
package main

import (
	"context"
	"fmt"
	"os/exec"
	"time"
)

func main() {
	ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
	defer cancel()

	if _, err := exec.CommandContext(ctx, "./hang.sh").Output(); err != nil {
		fmt.Println("cmd: ", err.Error())
		fmt.Println("ctx: ", ctx.Err().Error())
	}
}

hang.sh
#!/usr/bin/env bash

sleep 100
echo 'foo'

Then run
chmod +x hang.sh
go run ./main.go

What did you expect to see?
I expect the program to complete in approximately 1 second with the following output:
cmd:  signal: killed
ctx:  context deadline exceeded

What did you see instead?
Program completes with the expected output, but only after 100 seconds.
Interestingly enough, when I replace .Output() with Run(), the program completes in 1 second as expected.

Duplicate of #23019


HTML DNS Prefetching is available for most desktop browsers except IE<9, unsure about mobile.  He...

HTML DNS Prefetching is available for most desktop browsers except IE<9, unsure about mobile.  Helps with CDN & sub-domain lookups.
https://github.com/h5bp/html5-boilerplate/wiki/DNS-Prefetching

This issue was imported from Google Moderator
Moderator votes: +24
Issue added by tomByrer on 2012-04-27
To vote this issue up or down, simply include +1 or -1 in your comment.

Now available at http://caniuse.com/#feat=link-rel-dns-prefetch
I don't know of a way to test support for this, so information comes from other sources. Unfortunately I've not yet been able to find out any support info on some of the mobile browsers, so those have been left as unknown for now.


Pie chart how to break line in dataLabels?

I want to let my dataLabels break line,how do i do?
now:

I wnat this:

I have try \n,\r\n, but not work.
my code now is:
dataLabels: {                     enabled: true,                     style: {                         fontSize: '15px'                     },                     formatter: function (value, opts) {                         return [opts.w.globals.labels[opts.seriesIndex], value + '%']                     }                 },

There seems to be no other option to do that other than modifying chart yourself, I have been working on similar functionality and here is a solution modified for your use case:
function break_lines(chartContext, config){ 	chartContext.w.globals.dom.baseEl.querySelectorAll('.apexcharts-pie-label tspan').forEach((el)=>{ 		var index = Array.prototype.indexOf.call(el.parentNode.childNodes, el); 		el.setAttribute('x', el.parentNode.getAttribute('x')); 		if(index) el.setAttribute('dy', '1.2em'); 	}); }
This function will adjust the tspan's inside labels below each other. It should be called after each chart redraw. The most relevant events for that are 'mounted' and 'updated'.
chart: { 	... 	type: 'pie', 	events: { 		mounted: break_lines, 		updated: break_lines, 	} },
Unfortunately 'updated' event seems to be raised not immediately after redraw, so labels will appear on a single line for a moment when browser window is resized.

I

There seems to be no other option to do that other than modifying chart yourself, I have been working on similar functionality and here is a solution modified for your use case:
function break_lines(chartContext, config){
chartContext.w.globals.dom.baseEl.querySelectorAll('.apexcharts-pie-label tspan').forEach((el)=>{
var index = Array.prototype.indexOf.call(el.parentNode.childNodes, el);
el.setAttribute('x', el.parentNode.getAttribute('x'));
if(index) el.setAttribute('dy', '1.2em');
});
}
This function will adjust the tspan's inside labels below each other. It should be called after each chart redraw. The most relevant events for that are 'mounted' and 'updated'.
chart: {
...
type: 'pie',
events: {
mounted: break_lines,
updated: break_lines,
}
},
Unfortunately 'updated' event seems to be raised not immediately after redraw, so labels will appear on a single line for a moment when browser window is resized.

I tried this but my pie chart looks like this:

Any idea why?

Hi,
I using 3.22.2 and try this, but still get error, cause in "apex-types.d.ts" formatter is still this:
line 708:
formatter?(val: string | number | number[], opts?: any): string | number;`
Thanks for your help!

Hello I have same issue
`    dataLabels: {
enabled: true,
style: {
fontSize: '16px',
fontWeight: 'medium',
colors: ['#7F56D9', '#F4EBFF'],
},
  textAnchor: 'middle',
  formatter: function (val, { seriesIndex }) {
    return seriesIndex === 0 ? `$${state?.series[0]}` : `$${state?.series[1]}`;
  },
},`

colors are not working it show gray color

anyway to fix this issue? I'm using "apexcharts": "^3.37.0",


feat: port Algebra.Order.Group.Units

mathlib3 a95b16cbade0f938fc24abd05412bde1e84bab9b
Porting notes:

the module docstring title in mathlib3 was incorrect (probably a relic of a hasty split), I have changed it here without backporting
one elaboration issue, see Zulip
same issue with instance names as in #890, and I made the same choice about how to fix it

bors merge


doc: Bluetooth: Document issue with Qualcomm controllers

Certain Qualcomm controllers do not accept our settings for Host Buffer
Size:
< HCI Command: Host Buffer Size (0x03|0x0033) plen 7       #19 [hci0]
22.391048
ACL MTU: 27   ACL max packet: 6
SCO MTU: 0    SCO max packet: 0

HCI Event: Command Complete (0x0e) plen 4                #20 [hci0]
22.391525
Host Buffer Size (0x03|0x0033) ncmd 1
Status: Invalid HCI Command Parameters (0x12)

Likely due to the fact that we do not reserve space for any SCO packets
in the Host.
Document this fact in the User Guide so that users know what to do when
this happens.
Signed-off-by: Carles Cufi<EMAIL_ADDRESS>

cc @Daniel-Christian-CardinalPeak


[multikueue] KEP add subcomponents and integration details.

What type of PR is this?
/kind documentation

What this PR does / why we need it:
Add subcomponents and integration details in MultiKueue's KEP.
Which issue(s) this PR fixes:

Relates to #693
Special notes for your reviewer:
Does this PR introduce a user-facing change?

None

/hold
for #2373

/unhold
/cc @tenzen-y

/retest

/lgtm
/approve
Many thanks!


Color encoding the help menu using Rainbow

It would be great if support was added to output the help menu in colors when the terminal supports it.  This can be done using Rainbow

From my experience, most terminal applications don't color the output in the help menu. As such, I'm not sure it makes sense to include this functionality in SwiftCLI. It would however be extremely for one to do in their own project by implementing custom message generators and Rainbow, so I would encourage you to do that:
public protocol UsageStatementGenerator {
    func generateUsageStatement(for command: Command, optionRegistry: OptionRegistry?) -> String
}

public protocol MisusedOptionsMessageGenerator {
    func generateMisusedOptionsStatement(for command: Command, incorrectOptionUsage: IncorrectOptionUsage) -> String?
}


Create Posts “20221108-performance-swap-vs-shift”

Automatically generated by Netlify CMS

👷 Deploy Preview for monetaboot processing.

Name
Link

🔨 Latest commit
7a1765a20aacc2ab4be071d7e31fe2c5054008fc

🔍 Latest deploy log
https://app.netlify.com/sites/monetaboot/deploys/6369c9675c386c0008400d8f


Unknown cpu and motherboard

Debug info

OS: Windows 10 Home
Uptime: 1 day, 6 hours, 29 minutes and 49 seconds
Local IP: <IP_ADDRESS>
Motherboard: DL (Tulip_DA)
CPU: AMD Athlon Silver 3050U with Radeon Graphics
GPU: AMD Radeon(TM) Graphics
Memory: 3.1GiB / 5.9GiB (51.66%)
Disk: C: 70.4GiB / 118.1GiB (59.58%)
D: 199.7GiB / 931.5GiB (21.43%)
G: 72.8GiB / 118.1GiB (61.6%)
H: 5.3GiB / 15.0GiB (35.65%)
[KeyError]: 'Font:'[KeyError]: 'Font:'----run_rpc----
uptime in epoch:<PHONE_NUMBER>.6531107
cpuid:<PHONE_NUMBER>65942099
cpuappid:<PHONE_NUMBER>79197462
----out.py----
----DE/WM----
----GPU INFO----
gpuinfo: AMD Radeon(TM) Graphics
gpuvendor: amd
----CPU INFO----
cpuvendor: amd
cpumodel: Athlon Silver
cpuinfo: AMD Athlon Silver 3050U with Radeon Graphics
cpuline item 0: AMD Athlon Silver 3050U with Radeon Graphics
memline: 3.1GiB / 5.9GiB (51.66%)
----OS INFO----
sysosline: Windows 10 Home
sysosid:<PHONE_NUMBER>65942099
diskline: C: 70.4GiB / 118.1GiB (59.58%)
----testing.py----
Unknown motherboard, contact us on github to resolve this.
moboid:<PHONE_NUMBER>79197462
moboline: DL (Tulip_DA)
----GPU INFO----
gpuvendor: amd
----CPU INFO----
cpumodel: Athlon Silver
Requested item
addition of this cpu with integrated gpu
Neofetch noart give this
OS: Windows 10 Home
Uptime: 1 day, 6 hours, 31 minutes and 4 seconds
Local IP: <IP_ADDRESS>
Motherboard: DL (Tulip_DA)
CPU: AMD Athlon Silver 3050U with Radeon Graphics
GPU: AMD Radeon(TM) Graphics
Memory: 3.1GiB / 5.9GiB (53.01%)
Disk: C: 70.4GiB / 118.1GiB (59.57%)
D: 199.7GiB / 931.5GiB (21.43%)
G: 72.8GiB / 118.1GiB (61.59%)
H: 5.3GiB / 15.0GiB (35.65%)

Hello, is it an Acer Aspire A314-22 ?

Please note that I only added the athlon cpu's for now, since I don't know your laptop brand yet.

Its defiantly a Acer laptop ill grab its proper name next time im on it as
there is no external markings indacateing this
On Fri, 30 Jul 2021, 6:13 a.m. BlivionIaG, @.***> wrote:

Please note that I only added the athlon cpu's for now, since I don't know
your laptop brand yet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MrPotatoBobx/FetchCord/issues/160#issuecomment-889356230,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGYPJ24Y5DAKM7ZN253N4PDT2GK4VANCNFSM5AQUV2HA
.

found unintenional bug
https://reubendollmanyt.is-inside.me/FNnGfkHq.png
thinks win 11 is linux

So it's not really a "bug", it's just that "windows 11" hasnt been added to the main branch yet

Hello, is it an Acer Aspire A314-22 ?

Just looked this is correct


Handle assistant messages with 'tool_calls'

Changes

The core change here is

-pub type MessageContent = Either<String, Vec<IndexMap<String, String>>>;
+pub type MessageContent = Either<String, Vec<IndexMap<String, Value>>>;

Also, change BasicProcessor to use template_action() -> MessagesAction::Keep (instead of MessagesAction::FlattenOnlyText) .

Fixes

#793

Friendly ping @Jeadie

Will do today

I don't seem to have visibility into the failing check: https://github.com/EricLBuehler/mistral.rs/actions/runs/11357273044/job/31589861979?pr=824

@Jeadie I reran the check and it passed. Please let me know when this is ready for review!

This is ready to review

@Jeadie I noticed there are some outstanding merge conflicts, could you please resolve those? Thanks.

@EricLBuehler Updated, thanks.

Thank you!


How to use it, there are code examples

How to use it, there are code examples

It's just a snapshot of the code. Far from usable way. At least in the sense I would expect from any library.
At the moment, it's possible to read database, enumerate nodes, and write another copy:
import sys
import mmdb

db = mmdb.read_database(sys.argv[1])

def visitor(node, path):
    pass

mmdb.walk_tree(db, visitor)

if len(sys.argv) > 2:
    db.write(sys.argv[2])

It's possible to change nodes to some extent. But there is no way to create new nodes or remove them. Also there are no tests at all.
I don't have plans to develop it further, in observable future.


API-DRFL with RTNet

Hi there @doosan-robotics,
in IIT HHCM (https://hhcm.iit.it/) we bought a Doosan H2515 cobot for carrying out the EU funded project MAGICIAN (https://www.zabala.eu/projects/magician/) and I am trying to control the robot in RT using XENOMAI and RTNet, however it looks like it is not possible or I am probably doing something wrong: the open_connection method is always failing, can you please help us on this?
There was a closed issue related few years ago https://github.com/doosan-robotics/API-DRFL/issues/13
Thanks a lot!

Dear @liesrock ,
Please refer to check #51


Fix Sim3D Cutting

This is another thing that has been broken by the recent changes to the core library.
Functions should be re-written such that they are in their respective classes instead of all being in one static class.
Make use of the BlockDivider Algorithm for vertex proximity checks to speed up the existing algorithms.

The block hash algorithm seems to be slow due to the fact that we have to recalculate the hashes every time a vertex's position is changed, dropping the FPS by over 200, down to just about 12 which is absolutely horrible.
Have to find a way to get around this.

This issue is not going to be resolved for I created a new algorithm 'LineHash' which does things much much more effectively by essentially compiling the tool path for the current movement command (G0/G1 derivate), freeing the execution time for the actual simulation rather than calculating which vertex needs to be cut or recalculating vertex box bounds with the 1.st (Legacy) and 2.nd (Vertex Box Hash) algorithm.


Closes #2040 Update admiral.test to pharmaversesdtm

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

@jeffreyad Think the staged_dependencies.yaml needs to be modified to then properly make it through the check?

@manciniedoardo @jeffreyad Looks like there is some relatively "hard-coded" things with related to admiral_smq_db / smq_db with respective to the get_terms() function. Looks like all instances in this file for `get_terms any mention of "admiral_" needs to be removed to make this work?

@millerg23 @kaz462 hey all - I want to get this merged in ASAP as we are close to deadline.  Is there any other concerns here?  Apologies, I have not been following the development of this package, but everything looks like it is working to me??

Looks good to me. The only thing is, didn't we get a request from users not to have just "ae" or "dm" and to add the "admiral_" prefix so it was clear where it was coming from? Thats why we added "admiral_" prefix, should we have "sdtm_" or something. I am fine with whats been done, just seem to recall this being a request.

@millerg23 thanks for the background information about the prefix! we removed the prefix "admiral_"/"raw_" for simplicity, and decided to go with domain_TA_others (others go from broader categories to more specific ones, e.g., rs_onco_irecist).
what do you think of the current naming conventions? maybe we can consider the prefix if we receive request in the future?

ummm....this is unfortunate that we lost the prefix.  A few users requested this update to use admiral_ to help head off issues where you load the template scripts but are using your own dm, ex, suppdm datasets and not have any weirdness pop up.
I guess if folks identify it again we can make the update


Learn More about OCR Module

Hi, thanks for the incredible research.
I really wanted to learn more about the OCR module used in this paper. Can anyone help me to understand what type of OCR are being used? Also the methods on integrate it with the Icon Description model and Icon Detection Model?
Thanks, really looking forward for your replay.

the OCR model from this is from EasyOCR and PaddleOCR


Query notifications

Refactor notifications to use query parameters.
Considering we duplicated the routine for marking notifications as read/marked here, it might be worth moving that into a utility as well.
Please Note: This still requires minor adjustments to be compatible with the latest changes in notifications and probably some syntax issues need fixing. Will look into that asap.
cc @vevix

Should be ready to squash+merge, once Travis has finished.

Should be ready to squash+merge, once Travis has finished.
I forgot how to git for a second.

Technically, this is cleaned up and ready for merge.
Might want to hold off until @NuckChorris fixed the feed issues, so I can test it again locally. I guess we want to make super-sure nothing more breaks right now.

@cybrox I will push this to staging

Looks like it's working. I should probably add some code to mark the notification as read client-side as well, if it loaded (=visible in the notification dropdown)

Yep, good catch.


Initial plugin

Part of this work:

https://github.com/simonw/llm/milestone/5
https://github.com/simonw/llm/issues/207

The LLM embeddings documentation expects this to provide a default model ID of:
sentence-transformers/all-MiniLM-L6-v2

Currently I do this:
@llm.hookimpl
def register_embedding_models(register):
    model_id = "sentence-transformers/all-MiniLM-L6-v2"
    register(SentenceTransformerModel(model_id, model_id), aliases=("all-MiniLM-L6-v2",))

https://www.sbert.net/docs/pretrained_models.html is a list of models supported by the library - I think it's over 100.
I think this should work like llm-mlc and llm-llama-cpp - where there is an extra command that you can use to register additional models, which end up in a JSON file in user_dir.

I'm going to call the command here register and have it default to triggering a call to the model in order to have it download, but you can add a --lazy option for not doing that:
llm sentence-transformers register all-mpnet-base-v2 --lazy --alias mpnet

Note that --alias won't work until:

https://github.com/simonw/llm/issues/192

Got this working:
% llm embed -m sentence-transformers/all-mpnet-base-v2 -c 'hello world' mpnet 1 --store
% llm embed -m sentence-transformers/all-mpnet-base-v2 -c 'hello world again' mpnet 2 --store
% llm similar mpnet -c 'hello'
{"id": "1", "score": 0.7560133473178037, "content": "hello world", "metadata": null}
{"id": "2", "score": 0.6822571567925636, "content": "hello world again", "metadata": null}

Tests won't pass yet because LLM release isn't out.

Still needs documentation, and a dependency on llm>=0.9.

It would be neat to actually test an embedding in CI, caching the model download in between runs.


Documentation for Phoenix

It would be great if there was a way to deploy Phoenixapps (https://github.com/phoenixframework/phoenix) to Heroku with exrm-heroku.

Has anyone deployed one to heroku with exrm-heroku?

Bump!

Try this instead: gjaldon / phoenix-static-buildpack

Yes, we have deployed a couple of multi-environment apps using this, we will publish some documentation for Phoenix soon

"soon"? :-)


SD CivitAit Browser not working

Hi,
the mentioned extension for downloading from CivitAI is not working properly. I guess that there was some change.
I tried this fork, and it works: https://github.com/axsddlr/sd-civitai-browser

Can confirm, but that fork also has some problems.

try this fork.

thanks @etherealxx ❤

Hi @etherealxx 👋 is it possible to add something like this https://github.com/camenduru/sd-civitai-browser/pull/2 other then update_info = gr.Button(value='1st - Get Model Info')

Hi @etherealxx 👋 is it possible to add something like this camenduru/sd-civitai-browser#2 other then update_info = gr.Button(value='1st - Get Model Info')

maybe i'll figure it out. in the meantime, check out this branch that supports LORA.

For your colab, tick that additional-networks box. Hope things doesn't break.

thanks @etherealxx ❤ it is working great 🎉 I merged your lora to v2.0 and main to v1.6


TS:1.0 - font weight error

Type '"500"' is not assignable to type 'Globals | ScaleValue | FontWeight | undefined'.

this happened when using css override, but prob happens everywhere:
<Component css={{ fontWeight: '500' }}

Fixed in d6a594c

Fixed in V1. Please refer to migration guide and changelog


Option to apply ratelimiting over a single API

Describe the bug
As of the now, the module provides a way to ratelimit all api except a few that are disabled using a decorator. There should be a way to ratelimit only a few of the many available apis.
Expected behavior
There should be a configurable default mode of ratelimiting for a microservice, if it is false, ratelimiting should be disabled for all APIs except those that are enabled using the decorator.

:tada: This issue has been resolved in version 4.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


runtime: gccgo internal compiler error bootstrapping master

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

gcc-go-5.3.1-2.fc23.x86_64

What operating system and processor architecture are you using (go env)?

GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr"
GOTOOLDIR="/usr/libexec/gcc/x86_64-redhat-linux/5.3.1"
CC="/usr/bin/gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="/usr/bin/g++"
CGO_ENABLED="1"

What did you do?

/usr/bin/go configured with update-alternatives to be /usr/bin/go.gcc.
did a GOROOT_BOOTSTRAP=/usr ./make.bash of master

What did you see instead?

##### Building go_bootstrap for host, linux/amd64.
runtime/internal/sys
runtime/internal/atomic
runtime
/home/albert/repos/go/src/runtime/alg.go:132: internal compiler error: panic during generic cse while compiling c64hash:

runtime error: index out of range

goroutine 16 [running]:
ssa.$nested0
    /home/albert/repos/go/src/cmd/compile/internal/ssa/compile.go:31
ssa.cse
    /home/albert/repos/go/src/cmd/compile/internal/ssa/cse.go:155
bootstrap_compile_internal_ssa.Compile
    /home/albert/repos/go/src/cmd/compile/internal/ssa/compile.go:64
gc.buildssa
    /home/albert/repos/go/src/cmd/compile/internal/gc/ssa.go:221
gc.compile
    /home/albert/repos/go/src/cmd/compile/internal/gc/pgen.go:409
gc.funccompile
    /home/albert/repos/go/src/cmd/compile/internal/gc/dcl.go:1305
bootstrap_compile_internal_gc.Main
    /home/albert/repos/go/src/cmd/compile/internal/gc/main.go:475
bootstrap_compile_internal_amd64.Main
    /home/albert/repos/go/src/cmd/compile/internal/amd64/galign.go:104
main.main
    /home/albert/repos/go/src/cmd/compile/main.go:32

Works fine with the go1.6 branch, so some of the new ssa code is making gccgo unhappy.
This is probably a rare bootstrap setup, but probably something to be aware of.

I don't know what went wrong here, but I just tried it with tip and it seemed to work fine.  Closing.


$mongoObject

I am following the tutorial, but when I try to add the $mongoObject using:
angular.module("socially").controller("PartyDetailsCtrl", ['$scope', '$stateParams', '$meteorObject',
     function($scope, $stateParams, $meteorObject){
   $scope.party = $meteorObject(Parties, $stateParams.partyId);
}]);

I get the following error:

Same here. Definitely have the 0.6.0-alpha package installed. $meteorCollection works fine but $meteorObject throws the above error. A quick search for the service shows the service doesn't exist.

Just released 0.6.0.
Please try doing
meteor update

in the command line and re-run


initial QA specs and instructions for Aleph

Creating an initial suite of some basic API and OPAC checks, along with instructions to follow.
This should close out ESU-973 and future enhancements can be done in other tickets.

Works for alephprod. Now we just have to figure out what is missing on the new Aleph23 servers. They don't yet pass.

There's more success if you add the --insecure flag after Aleph.postman_collection.json in the CLI. The RESTful and OPAC-Search tests themselves fail, but this could be a configuration or data issue.

I'm going to merge this as it is non-destructive. I will follow up with Aaron later.


VMAlert cannot find notifiers using selectors

I have VMAlert configured as such:
"notifiers": [
    {
        "selector": {
            "labelSelector": {
                "matchLabels": {
                    "app.kubernetes.io/name": "vmalertmanager"
                }
            }
        }
    }
],

I know this is valid because:
❯ k -n vm get po -lapp.kubernetes.io/name=vmalertmanager
NAME                  READY   STATUS    RESTARTS   AGE
vmalertmanager-vm-0   2/2     Running   0          4h39m
vmalertmanager-vm-1   2/2     Running   0          4h39m
vmalertmanager-vm-2   2/2     Running   0          4h38m
❯ k -n vm get svc -lapp.kubernetes.io/name=vmalertmanager
NAME                                   TYPE           CLUSTER-IP       EXTERNAL-IP                                     PORT(S)                      AGE
vmalertmanager-vm                      ClusterIP      None             <none>                                          9093/TCP,9094/TCP,9094/UDP   20h
vmalertmanager-vm-additional-service   LoadBalancer   <IP_ADDRESS>   vmalertmanager-unwind-k8s.tailnet-fbec.ts.net   80:30687/TCP                 20h

The operator is not happy about it though:
{"level":"error","ts":1690232686.7381282,"msg":"Reconciler error","controller":"vmalert","controllerGroup":"operator.victoriametrics.com","controllerKind":"VMAlert","VMAlert":{"name":"vm","namespace":"vm"},"namespace":"vm","name":"vm","reconcileID":"9badec29-fde0-4a0f-bb99-419bacab89d8","error":"cannot create or update vmalert: vm, cannot find any notifiers. At cr.spec.Notifiers, cr.spec.Notifier, cr.spec.notifierConfigRef and discovered alertmanager are empty","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:326\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234"}

I have a feeling this code is broken.
https://github.com/VictoriaMetrics/operator/blob/aff55e6191a844ee84e07ebc04116aa79853f961/controllers/factory/vmalert.go#L138-L164
It looks like cnt will be zero and cr.Spec.Notifiers = cr.Spec.Notifiers[:cnt] will just remove all found notifiers?

Ah, okay, I understand it's actually because it's supposed to select the VMAlertManager object and not the pods or services.


feat: tokio::time::sleep -> fedimint_core::task::sleep in Client NG

tokio::time::sleep doesn't work in WASM

Ban via semgrep as well (.semgrep.all.yaml)?

I wonder why CI didn't catch it, aren't we building client ng for wasm? I thought we do at least in parts …

@elsirion
nix/craneBuild.nix we're only building fedimint-client-legacy:
  client-pkgs = { target ? null }: self.pkgsCrossBuild {
    name = "client-pkgs";
    inherit target;

    pkgs = {
      fedimint-client-legacy = { };
    } // lib.optionalAttrs (target == null || target.name != "wasm32-unknown-unknown") {
      # broken on wasm32
      fedimint-sqlite = { };
    };
  };


How to pass custom arguments from command line in Flutter?

Use case

i want to use gradle plugins and cli to publish aab to google play，but flutter cli don't accept custom argument.
flutter build appbundle -t lib/main_${flavorName}.dart --flavor ${flavorName} --target-platform android-arm,android-arm64 --publish-to-play

                variant.assemble.doLast {
                    if (!target.hasProperty('publish-to-play')) {
                        return
                    }
                    publishToPlay(target, variant, mergePlay, false)
                }

                target.tasks.findByPath("bundle${variant.name.capitalize()}").doLast {
                    if (!target.hasProperty('publish-to-play')) {
                        return
                    }
                    publishToPlay(target, variant, mergePlay, true)
                }

Proposal

Duplicate of https://github.com/flutter/flutter/issues/33418

Hi I would like to point out that this is not a duplicate of #33418 (This mentions how to pass args to gradle).
Would it be possible to have application specific args?
Possibly by modifying this : https://github.com/flutter/flutter/blob/ee476a7bd15732ba64f6783b9304fa855e98ac66/packages/flutter_tools/lib/src/commands/run.dart

I would love to see this feature in Flutter

I have a use case where I want to send multiple arguments while building apk
flutter build apk --env=<env> --country=<country_code> --location=<loc>

env: dev1, dev2, tbd1, tbd2, prd
country_code: LK, UK
loc: loc1, loc2

There is no way to achieve this

Until I get a feature like that i'm going with environment_config.

add dependency in pubspec.yaml
add following line at end of pubspec.yaml

. environment_config:
  fields:
    env:
    country:
    location:

Now I have to split my commands

flutter pub get
flutter pub run environment_config:generate --env=tbd2 --country=LK --location=loc1
flutter run

Second command will create a environment_config.dart file in your lib with a class name of EnvironmentConfig and all your fields as static constants.
Now we can access it like any other dart class file EnvironmentConfig.env.
I'm adding this my .gitignore since this will change every time I run my project. And I will make sure to run in these commands in sequence.

@saahithyan this bug is about passing arguments to gradle. If you want to pass arguments to dart use dart defines:
    --dart-define=<foo=bar>                       Additional key-value pairs that will be available as constants from the String.fromEnvironment, bool.fromEnvironment, int.fromEnvironment, and
                                                  double.fromEnvironment constructors.
                                                  Multiple defines can be passed by repeating --dart-define multiple times.

@jonahwilliams I think dart-define is not possible to use right now due to the revert #52041.

@jonahwilliams I get bash: syntax error near unexpected token newline' error when I run
flutter build apk --dart-define=<foo=bar>

@saahithyan hmm yeah you shouldn't use <foo=bar>, it's the '>' that causes your error here. it's supposed to work like that : flutter build apk --dart-define=variable="value", later in your code you acces it with String.fromEnvironnment("variable") (which would equal to value).

@fouques1u it seems --dart-define is scheduled to next stable release (at least I hope), it's currently working in beta channel

--dart-define is working in the stable channel version 1.17

@jonahwilliams I think this issue can be closed since Flutter 1.17 fixes it
@saahithyan you probably can stop using environment config package in favor of Dart Defines (btw, I already updated description in this package)
Also, if anyone curious, I wrote a small article that explains how Dart Defines can be used in Dart, iOS and Android code. Here is a link with examples, how Dart Defines can be used

does '--dart-define' support '.env'?

flutter/android/ios flavors need more than 10 var

@v7lin it seems it's not( I created proposal issue to add some sort of config file OR .env support to flutter_tools. #56792


Width of DropDown reaches to screen size, if data source contains large strings.

you have to set the width manually after anchor view setup.if you want fixed width
yourDropDown.anchorView = anchorView
yourDropDown.width =  anchorView.frame.size.width


Logging tab

Clean out old logging/queue_control cruft
remove unused globals
clean up colors_dict access
clean up app and window globals
Add logging tab to application

Closes #12
Didn't quite get to filtering out, which is about 80% UI (at least provided you don't want to retroactively filter, which would be a pain)

In all, there is (as ever) additional polish that could be put on this (filtering, scrolling behavior, capping length) but I think this is a good MVP that we can push out and see how it goes.


Minor copy edits to Running Kubernetes Locally via Minikube

Removing an extra word and adding a comment.

This change is

I signed it!

Can you sync with branch with the master branch?

LGTM, other than the sync.

OK, sync is done, I believe. Please let me know if there's anything else.


New command: meeting attendancereport list. Closes #3907

New command: meeting attendancereport list. Closes #3907

Wonderfull job @stijnhaerkenss. We'll review it ASAP.

Merged manually, thank you very much!

Hey @waldekmastykarz we need scope OnlineMeetingArtifact.Read for this command to work. Can you add it to the app please? Thanks in advance


Syntax change survey

Currently, because I reuse the Python tokeniser, I can't use '.' as the lookup separator in expressions (because of ambiguities with floats).
Currently I'm using ':' but this plays double role with filter expressions.
Looking https://docs.python.org/2.7/reference/lexical_analysis.html#delimiters can anyone see a better symbol for this role?
I've currently a version of the code using '/'... it's easy to change.

If we expand the syntax to distinguish the different lookups, we can go back to using '.' for attr lookups.
Suggestion:
foo
foo.bar
foo['bar']
foo[bar.baz]
foo(bar, baz)

Given that I'm not really using any floats in my templates I would like the ability to look up with .

I'm also proposing dropping the "flow / filter" concept, so instead of :
{{ foo:bar|prefix:"six" }}

you would write:
{{ prefix(foo.bar, 'six') }}


Dashboard as Webapp on iOS / iPad OS (Proposed solution)

What I would like to achieve
I want to put a shortcut to my dashboard on the iPad-Homescreen, which opens the dashboard in its own window without the URL bar.
Current behavior
Currently it always opens a Safari window with a tab to the Dashboard.
Proposed solution
A simple solution would be to add a meta tag in the HTML head:
<meta name="apple-mobile-web-app-capable" content="yes">

Would be very happy if this would be integrated.

Duplicate of #5100


[PHP8.2] Support utf8_encode() and utf8_decode() deprecations

rfc: https://wiki.php.net/rfc/remove_utf8_decode_and_utf8_encode
might be worth checking if we can provide fixing to mb_convert_encoding, risky rule

Deprecated: Function utf8_decode() is deprecated in /Users/phil/Site/vendor/symplify/easy-coding-standard/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/BinaryOperatorSpacesFixer.php on line 590


Allow equivalent plans when replacing

Needed because our routines sometimes rewrite the plan

Follow-up to #746 making it slightly more forgiving when replacing, should fix issues when dealing with complex catalogs/blueprints

test failure is real, in CatalogResourceTest

For testOsgiBundleWithBom it's just an update needed to the test expectation - there are now more tags than before on the result:
    "equivalent-plan(A8FA402166F072F19CFE88AEA200B001)",
    "equivalent-plan(A74550A5F94D4AD144AC5EB816DE6C45)",
    {
      "traits": [
        ...
      ]
    }

thanks @geomacy - fixed and merged


Notify authors when their package blocks minor updates in LTS snapshots.

There are at least two incidents I know about where notification would helped:

https://github.com/fpco/lts-haskell/issues/103 text-<IP_ADDRESS> (noticed only now, while the package version was released Dec 27 2017 - 2,5 months ago)
https://github.com/fpco/stackage/issues/1874 (semigroups-0.18.2 not entering LTS snapshot in 2016)

LTS Snapshot implicitly promises that minor upgrades will be there, but now they are silently omitted.

I agree that we should develop a practice of notifications when minor bumps are not adopted in an lts. Perhaps a script that we run after the fact.


added to methods to EventClassifier

a hyperBinning method that output pandas groups
a level_populations method to equalize gamma and hadrons based upon
binning

When doing gamma hadron separation, it is common to wrangle input data equalising the number of entries for gammas and hadron in all the requested hyper-bins, before training the classifier.
This is different from the sklearn train_test_split in the sense that this levels the two populations based upon a previous binning over any requested feature.

you mean the StandardScaler efforts done in #459 ?

Yes, I was just wondering the advantage of binning vs weighting.  It would be good for one or both of you to add some info to the user docs (in docs/reco) explaining how to use either method.


chore(deps): bump https://github.com/zeebe-io/zeebe-cluster-helm from 0.0.71 to 0.0.72

Update zeebe-io/zeebe-cluster-helm from 0.0.71 to 0.0.72
Command run was jx step create pr chart --name zeebe-cluster --version 0.0.72 --repo https://github.com/zeebe-io/zeebe-full-helm.git

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: salaboy
If they are not already assigned, you can assign the PR to them by writing /assign @salaboy in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Examples using Leaflet.heat in R with %>% approach but more specifically using addressPoints or similar

Any examples of Leaflet.heat code following this structure would be very helpful eg.
L2 = leaflet() %>% addTiles()
L2 = L2 %>% registerPlugin(leafletHeatPlugin)
L2 = L2 %>% setView(29.7632836,  -95.3632715, 10)
L2 = L2 %>% addLayersControl(
baseGroups = names(esri),
options = layersControlOptions(collapsed = TRUE)
)
L2 = L2 %>% addAssets
L2 = L2 %>% addHeatmap(addressPoints)
L2 = L2 %>% add
the Leaflet.heat approaches that seem to sort of work use L2$ and yet many examples of Leaflet in R are given using %>%:
L2 <- Leaflet$new()
L2$setView(c(47.5982623,-122.3415519), zoom=10)
L2$tileLayer(provider="Acetate.terrain")
add heatmap plugin
L2$addAssets(jshead = c("http://leaflet.github.io/Leaflet.heat/dist/leaflet-heat.js"))
heatmap layer
L2$setTemplate(afterScript = sprintf("

", j
))

following too


fix: Fix Android tasks execution

What
This PR fixes Android tasks execution.
Changes
This PR changes the tasks order and prepare everything correctly to be executed by task externalNativeBuild.
Tested on
Local machine for example project and on AppCenter CI.
Related issues
* Fixes #338
* Fixes #388

looks like CI runs smoothly 💪
can anyone from #338 or #388 confirm that this PR fixes the issue?

thanks @bear-junior, awesome work! 🖤


[BUG]: .all() chain method does not exist #1999

What version of drizzle-orm are you using?
0.30.7
What version of drizzle-kit are you using?
0.30.7
Describe the Bug

Expected behavior
https://orm.drizzle.team/docs/joins#aggregating-results
Environment & setup
Using postgres for db

I was also wondering about this. Apparently there is no .all() for postgres and this must be solved with a subquery, which also worked for me. See https://discord.com/channels/1043890932593987624/1194927138420305972/1194927138420305972

.all() is available only for SQLite. We have imports from SQLite in the documentation but haven't mentioned it properly yet. We will update it soon.
For MySQL and Postgres, you should just await the query to get the result or use .execute.

I've also wasted a bit of time on this. Good to know now that it's just limited to sqlite but it would be good to get that clarified in the docs sooner rather than later to avoid any future people banging their head against the desk until they stumble upon this.
Since the ticket description has a screenshot of the error and not the error itself nothing came up in google when I was trying to track down why things aren't working. So to hopefully help others find this issue in future here's the error in plain text: Property 'all' does not exist on type 'Omit<PgSelectBase<


RTMP live transcoding is available?

I would like to ask if this possible to transcoding for example a live webcam to RTMP stream, like in CLI ffmpeg version. For example the incoming data from camera directly transcoded by FFMpeg.wasm to an RTMP server?
Main question is, is it possible to do something like that:
mediaRecorder.ondataavailable = async (data) => { ffmpeg.transcode_to_RTMP_server(new Uint8Array(await (new Blob([data])).arrayBuffer())) }
Thank you very much!

Currently the answer is no. I am stilling researching for how to integrate RTMP/RTSP library with ffmpeg.wasm, will announce once I have found the way. 😄

@jeromewu thank you for working on such a great project. If you find a way to do rtmp in the browser that would be a huge breakthrough for live streaming.

This could be extremely impactful to the live streaming community with developing browse based tools.  Could direct stream to Twitch/Youtube/Facebook straight from the browser without downloading OBS/Streamlab.

I did a bit of digging and found that Emscripten internally uses WebSocket to simulate POSIX TCP messages. This breaks RTMP for obvious reasons because RTMP servers don't understand WebSocket right out of the box.
There is a way to do this with a proxy server, but that requires a separate process being run locally.

@tjwudi is not possible to take WebRTC webcam media or screen share by getUserMedia() WebRTC API into ffmpeg.wasm then directly stream to youtube to any RTMP server?

@tjwudi is not possible to take WebRTC webcam media or screen share by getUserMedia() WebRTC API into ffmpeg.wasm then directly stream to youtube to any RTMP server?

news?

@tjwudi is not possible to take WebRTC webcam media or screen share by getUserMedia() WebRTC API into ffmpeg.wasm then directly stream to youtube to any RTMP server?

news?

mediarecorder api is also there? But how can we stream those recording to youtube or any rtmp server

mediarecorder api is also there? But how can we stream those recording to youtube or any rtmp server

It's unlikely this will ever be possible, as WASM isn't allowed to post any requests that aren't going through normal browser security rules and protocols, and browsers just don't support RTMP network protocol at all.

It's unlikely this will ever be possible, as WASM isn't allowed to post any requests that aren't going through normal browser security rules and protocols, and browsers just don't support RTMP network protocol at all.

This might be a job for a separate sister framework, but it'd be cool to implement a similar system within something like Electron. Since you can securely stream WebRTC from the Renderer process (Web) to a Preload/Main process (Node), I'd guess there is an existing library to create an RMTP stream over NodeJS (If not, possibly a Node Binary could fit in there?)
Just speculation, but would be awesome to see.

This might be a job for a separate sister framework, but it'd be cool to implement a similar system within something like Electron. Since you can securely stream WebRTC from the Renderer process (Web) to a Preload/Main process (Node), I'd guess there is an existing library to create an RMTP stream over NodeJS (If not, possibly a Node Binary could fit in there?)
Just speculation, but would be awesome to see.

Maybe with electron, as @hcatlin said I don't think wasm opens any new possibility to support RTMP

This would be very cool as currently there isn't any simple way to go live from the web to a rtmp streaming servers without an intermediary service.

How about live webcam streaming to an icecast2 server? ffmpeg does support indeed icecast2 output. And of course, from an icecast2 server, one can send the stream to any other destination.

Live streaming via HLS here: https://github.com/Kagami/ffmpeg.js/pull/166

Thanks!!

@rafael2k yes I've got a sample app but it's not quite ready yet.
Re DASH - as you can see from the commits, I did start with DASH but I didn't have an ingestion URL to test. It'd be possible to put it back in if I could test it.

Demo here: https://rawgit-now.netlify.app/davedoesdev/streamana/publish/site/streamana.html
Source: https://github.com/davedoesdev/streamana

Currently the answer is no. I am stilling researching for how to integrate RTMP/RTSP library with ffmpeg.wasm, will announce once I have found the way. 😄

@jeromewu Is this still pending?


Resolved #8: StagesController:getAllStages does not work with no pipeline ID

Thank you. This was fixed with the query builder modifications in https://github.com/pipedrive/client-php/pull/37 and https://github.com/pipedrive/client-php/pull/38 so an explicit check is no longer needed


🐛 NavigationPane + PaneDisplayMode.auto: state loss on window resize

Describe the bug
When using NavigationPane + PaneDisplayMode.auto the content state is loss when app window is resized
To Reproduce
Steps to reproduce the behavior:

Run the Example app (by default is configured used PaneDisplayMode.auto)
Go to "Forms" demo page
Change state, toggle disabled...
Resize the window
See error: all changes were reverted because whole subtree is regenerated.

Expected behavior
Content region state is preserved.
Screenshots
https://youtu.be/QMNz4xoFboY
Additional context
N/a

Maybe what I describe here: https://github.com/bdlukaa/fluent_ui/issues/203#issuecomment-1061490025 ?

@WinXaito Maybe I need to add a Key into my Content region widgets? Either it's an internal implementation issue, or a key needs to be used, because I can't think of any other alternative.

In my vision, the NavigationPane should be the same for all types.
With a difference in width and hidden widgets (Stack or Clip). And have the changes only using animations.
It avoids rebuilding and losing the widget, and it also allows to have something smoother and closer to the real behavior of WinUI3.
But this also requires a lot of refactoring work at this level.

The state is loss on the view itself, not on the content area

This makes sense. In my preliminary analysis I didn't found anything that could cause the issue... because I was looking for the wrong issue

"A key" was the key!
Well done @bdlukaa :)


fails with 'Malformed version' when constraint syntax used

Hi, great tool!
Unfortunately it fails when constraint syntax used https://www.terraform.io/docs/language/expressions/version-constraints.html#version-constraint-syntax
When you try to run it on:
terraform {
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 3.47"
    }
  }
}

It will return:
🔴 GIT_TOKEN not set, skipping private module checks
🔎 Start scanning for TF providers...  ⣟ Malformed version: ~> 3.47

It also seems it crash and stop processing other files.

Hi @elmariofredo, released a new version of tfu. This will address this issue. Updating only =x.y.z or x.y.z entries but keep the rest untouched. Thx for the feedback!

Great thanks! 🙂


Cosmetic enhancements to UWP example app

Added "tweetinvi purple" title bar and separated streaming text from
informational text.

Also migrated app to MVVM architecture

This is a great work, thank you.
This will be included in branch 1.2.


What is the rationale behind omission of "Requires-Dist" in sdist PKG_INFO?

I noticed that the sdist PKG_INFO file does not contain any of the dependencies of the package, neither the mandatory ones nor the optional ones, although it carries the Provides-Extra field.
Is there any reason this difference between sdist and wheel?

An sdist doesn't contain any static information about requirements, since they will vary depending on the platform the build is performed on. Say, it is allowed for an sdist to have different requirements on Linux and Windows. On the contrary, wheel is a static distribution format, which contains all information and files necessary, the installer only needs to extract it to the destination.

So, maybe the Provides-Extra is pointless?

Yeah I think so


Change fixPermissionsScript command

The user in the VM of the CI machine doesn't have root privileges and the commands in the container change the ownership of the files. This is a workaround for that.

!ci-build-me

This workaround is not needed.


Add endpoint for HyperVrecovery manager

Request to add the mapping for the Public endpoint ".hypervrecoverymanager.windowsazure.com" to its equivalent Government endpoint ".ude.hypervrecoverymanager.windowsazure.us".
May wish to verify this endpoint with the appropriate internal team prior to posting. I traced it down while troubleshooting some ASR connectivity. Gleaned this endpoint from the certificate CN of a site that was being blocked. Thank you!

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

ID: 1d0ab80e-bbb7-8eb9-f0b3-814f74e3a117
Version Independent ID: e9952267-ab66-50a3-d3b0-7d2d621d5a9b
Content: Azure Government developer guide
Content Source: articles/azure-government/documentation-government-developer-guide.md
Service: azure-government
GitHub Login: @smichelotti
Microsoft Alias: stemi

Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

I ran into this again today and while troubleshooting found two more domains in addition to the one I listed originally. *.ugv.hypervrecoverymanager.windowsazure.us and *.ugt.hypervrecoverymanager.windowsazure.us. Looking back at documents for ASR in Public cloud I realized that Microsoft recommends opening *.hypervrecoverymanager.windowsazure.com.
I'm going to revise my original guess that the appropriate URL to open for Azure Government is *.hypervrecoverymanager.windowsazure.us, with the understanding that may include multiple subdomain levels. Appreciate feedback if I am incorrect about the domain and thanks for your help!

API endpoints for Site Recovery were added a while ago.  It's not feasible to list API endpoints for every Azure services in this article.  Thank you for your feedback.

#please-close


Pressing on Sidebar list item could show content instead of just expanding content

I wonder if it possible to start showing content when pressing in the dropdowns of the Manager App like in the older version of Storybook. Hack Oregon is a good example
This image also shows the sidebar without dropdowns:

@bernatfortet So basically you want that when you click the dropdown menus, the first story (for example) would be immediately shown?

Closing this as a duplicate to #2863.


Add the 32px textures for remaining armors

Add the 32px textures for remaining armors from summerfields modpack, don't forget do resized it properly !
Also for the HG server

Pushed in f4194f14baeeb25c656b3e674f18134639a6500c
If it's okay for you, i'll push it to HG server too.

See my comment on your PR => https://github.com/MinetestForFun/server-minetestforfun/commit/f4194f14baeeb25c656b3e674f18134639a6500c

I will merge this night, can you over this issue before please ?


Parser errors attribute value states

Added only two new error types since I think the semantics are almost the same:

eof-in-attribute-value
unexpected-character-in-attribute-value

Added parse errors self-closing-tag

//cc @inikulin (updated all repos accordingly)

@inikulin You just do it to make me feel the pain of change the tests again don't you? :)
They make more sense now.
All changes made across 3 repos.

@inikulin Ready to go.

@inikulin Done, all repos should be updated accordingly


only use the default acceptance radius for checking mission feasibility

Using the acceptance radius from the navigator blocks a mission upload for VTOLs while in fixed-wing flight because takeoff altitude is most likely smaller than the current acceptance radius from the nav caps.
SITL tested

Rebased and applied.


Expose focusIn / focusOut signals.

This is not an API bug per se, but it just weird for it not to be a native feature.
What I needed was to simply add a callback to endFocus of an inputField; problem is, from what I looked on the code, InputElement does have public signals:
        public focusIn: Phaser.Signal = new Phaser.Signal();          public focusOut: Phaser.Signal = new Phaser.Signal();
But InputElement itself is a private element of InputElement, therefore hiding both signals from user access. My solution was to hardcode a callback using closures, as seen on this gist.
I think it would make more sense to expose both signals as events in the inputField object.
PS: I tried messing with the typescript code, but I'm a Grunt newbie and I couldn't build from source.

makes sense to me, consider it done


Added Truncate

Add truncate function to execution engine

This PR can now be closed and replaced with cmu-db#1090


Improve Export Settings for the LLM Chat View

Improve Export Settings for the LLM Chat View
:gear: Release Notes

Improves the LLM Chat view by allowing a user to define if the export button should be shown.
Fixes a small documentation inconsistency in the views.

:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

Closed in favor or #48


404 when access Home

When I access http://localhost:3000 It just show
{}

and show GET / 404 0.395 ms - 2 in terminal.
Please help me, I want to get the full db.json content.
I try this tool with those steps:

create db.json with

{
  "posts": [
    {
      "id": 1,
      "title": "json-server",
      "author": "typicode"
    }
  ],
  "comments": [
    {
      "id": 1,
      "body": "some comment",
      "postId": 1
    }
  ],
  "profile": {
    "name": "typicode"
  }
}

run json-server --watch ~/Desktop/AdJson/db.json
show message is

  \{^_^}/ hi!

  Loading /Users/z/Desktop/AdJson/db.json
  Done

  Resources
  http://localhost:3000/posts
  http://localhost:3000/comments
  http://localhost:3000/profile

  Home
  http://localhost:3000

  Type s + enter at any time to create a snapshot of the database
  Watching...

I got the same problem. Any solution?

@yumarsoto19831  I don't have any solution, sorry. I just install a Nginx and start a server to return the json file. The Nginx config file like this:
server {
    listen       80;
    server_name  <IP_ADDRESS>;
    charset utf-8,gbk;
    #access_log  logs/host.access.log  main;
    location ~* {
        add_header Content-Type "application/json";
        root   /home/z/json;
        if (!-f $request_filename) {
            rewrite ^/(.*)  /$1.json last;
        }
        index  index.php index.html index.htm;
    }
    error_page 405 =200 http://$host$request_uri;
}

server_name  <IP_ADDRESS> change ip to  your device ip
root   /home/z/json change path  to the folder contains your json file.
json file must end with .json

try link like this:
http://server_name/file_name_without_extension
and you will get your json file content .

@HongnianZhang. Thanks for your help!

Got the same issue today . Any other way to fix it ?