Configure default infrastructure and secrets file for a CLI profile

I often use a different CLI profile for each LangStream environment, local dev, remote test, and remote production. In most cases, I use a different infrastructure and secrets file for each of those profiles with a name like secrets-prod.yaml. It would be handy to be able to associate a default infra and secrets file with the CLI profile I am using. Then I would be able to deploy/update my app without having to specify those options. Of course, I would want to be able to override the default with the command line options.
A few thoughts on how this might work:

A set command that accepts an infra/secrets file and saves it as part of my profile
A get command to retrieve the default files so I can view them or save them as a file
An edit command would let me edit the default file in place (nice to have)
A mechanism to specify the file in base64 encoding so it can be completely specified using a command line (for automation tooling, nice to have)

Makes sense to me


Getting error 'The server rejected the request because the client has exceeded request limits.'

Hi,
We're getting this error when running. I had thought the action would only use the changed resources, but it's attempting to do the whole of all our files (we have 6 files for our convenience of finding things). It's managing to translate 19 batches of the first file before hitting this error, translating to 3 different languages. We're using the latest version of the action (2.1.7). It then continues to try and do the rest of the files but we've already exceeded our limits.
So, firstly, why is it trying to do the whole file instead of just the changes? Secondly, Azure aren't terribly helpful from what i've seen on the list of errors. Is this something that could pass in a matter of minutes? Could we add the ability to slow down to not hit the limit? Is this a daily or hourly limit?
The whole run time is just over a minute. I'd have no problem if i could set a variable to build in a slow down if that's what it takes!
Thanks
Julie

Hi @Julie-House,
I have no idea how I missed this issue. Are you still trying to use this GitHub Action? I've been stretched thin and haven't had time to work on side projects lately, but ideally this would be rate limit aware.

Hi @IEvangelist !
I would really like to use this action. It would help us immensely. As it happens, our desire to go multi-lingual was put on hold so I never had to find a solution, but I was thinking I would need to fork and fix this (if I could figure it out!). We do plan on moving forward with this in the version we have just started though, so if you can come up with something in the next couple of months, that would be awesome!

Hi again, @Julie-House - are you using the free Azure Cognitive Services API? There are different rate limits in place: Request limits for Translator.
I could potentially expose a consumer-defined setting, that shares their service tier, with that we could then employ a rate-limit aware mechanism that aligns with those rules. It could be an optional setting to avoid breaking any existing users. It could default to free tier, and consider error codes, latency, and request limits.

@IEvangelist ,
yes, we're using the free version. I'm not sure if we might have scope to upgrade, would like to think maybe we could. But as with all things, until it's out and being used by customers, they don't want the upfront costs.
Choosing a tier would be a suitable thing to do.
The main thing was that it seemed to be translating all the files instead of only the few changes that may have been made. We've got the initial set of translations, I just want this to run after each PR (or maybe once a day), and if changes are detected in the resx files, to only run for the new resource values. Once we start getting someone verifying and updating the foreign files we don't necessarily want those to be automatically regenerated.
It's been a long time since I looked at this too! I'll do a bit of digging to see where I got up to and what I felt was outstanding and see what other info I can provide you with.


Implement DROP CASCADE behavior

This PR tries to implement DROP CASCADE behavior to avoid using the legacy_alter_table hack/workaround.
Start with 3 models whose materializations are table -> view -> table.
The code for cascading drop in this branch needs a ton of work but is functional, if your SQL is super simple. But dbt doesn't seem aware of the dropped view that occurs when the 1st table gets dropped, so it tries to rename it to a backup, and fails. Oddly, this failure happens every other invocation of "dbt run".
To add to the complication, I'm not sure I need the call to get_live_relation_type in rename_relation, but if I take that out and use from_relation.type instead, I get the same exact result as above.
My guess is that something is broken in this adapter, whereby dbt's DAG isn't being updated after drop_relation? But I'm not sure where to look.

This has been superceded by PR #2 which simplifies materializations instead. There are too many limitations in sqlite to make it work without a ton of effort, though it's possible. Leaving this PR open for now for notes towards that goal.

Closing this out, I don't think this is worth it.


Disable dash blur but keep speed lines when dashing

Is it possible?

That's also a thing I would like to see if it's possible. The blur effect makes me nauseous but the speed lines are nice.


Linking project overview dashboard to README

Adding a shield to the header. Dashboard describes overall project structure and dependencies. Will be useful for new developers looking to contribute to the project.

This is only a documentation update (link to https://sourcespy.com/github/apacheincubatorstreampipes/). Can @tenthe merge it? Thank you!!


Choosing timezone for container

Time in container is different than on the system - it's about 2 Hours away from correct (I'm using UTC time on the machine). Is there a way how to set time with env variables ?

Closing issue - you can change the timezone directly in fail2ban.

See #56 and #56
Timezone is now supported by setting the TZ environment variable.


Some keras layers do not support bfloat16 datatype

Please go to TF Forum for help and support:
https://discuss.tensorflow.org/tag/keras
If you open a GitHub issue, here is our policy:
It must be a bug, a feature request, or a significant problem with the documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
Here's why we have that policy:.
Keras developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.8.2, 2.9.0
Python version: 3.7.13
Bazel version (if compiling from source): N/A
GPU model and memory: N/A
Exact command to reproduce: Please see the colab link below.

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with:
python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the problem.
Describe the problem clearly here. Be sure to convey here why it's a bug in Keras or why the requested feature is needed.
When I set the datatype of the layer's weights and the input to bfloat16, some layers (e.g., Conv1D, ) crash when doing the inference with no meaningful error message and some layers (keras.layers.Softmax(), keras.layers.BatchNormalization) can do the inference normally.
Describe the current behavior.
Some layers crash when inferencing under bfloat16 setting.
Describe the expected behavior.
If the bfloat16 datatype is a valid datatype for DNN layers, all layers should pass when dtype=bfloat16.
If the bfloat16 datatype is not allowed, it would be better if you can refine the error message or raise an exception when constructing the model.
Contributing.

Do you want to contribute a PR? (yes/no): please let me know if I can help
If yes, please read this page for instructions
Briefly describe your candidate solution(if contributing):

Standalone code to reproduce the issue.
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
https://colab.research.google.com/drive/1z7oNTLxhHWxc_ZIT7q4ni_FQZ27WCaV0?usp=sharing
Source code / logs.
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
Error Message:
InternalError: Graph execution error:

Detected at node 'model_10/conv1d_4/Conv1D' defined at (most recent call last):
    File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
      "__main__", mod_spec)
    File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
      exec(code, run_globals)
    File "/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py", line 16, in <module>
      app.launch_new_instance()
    File "/usr/local/lib/python3.7/dist-packages/traitlets/config/application.py", line 846, in launch_instance
      app.start()
    File "/usr/local/lib/python3.7/dist-packages/ipykernel/kernelapp.py", line 612, in start
      self.io_loop.start()
    File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", line 132, in start
      self.asyncio_loop.run_forever()
    File "/usr/lib/python3.7/asyncio/base_events.py", line 541, in run_forever
      self._run_once()
    File "/usr/lib/python3.7/asyncio/base_events.py", line 1786, in _run_once
      handle._run()
    File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
      self._context.run(self._callback, *self._args)
    File "/usr/local/lib/python3.7/dist-packages/tornado/ioloop.py", line 758, in _run_callback
      ret = callback()
    File "/usr/local/lib/python3.7/dist-packages/tornado/stack_context.py", line 300, in null_wrapper
      return fn(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/tornado/gen.py", line 1233, in inner
      self.run()
    File "/usr/local/lib/python3.7/dist-packages/tornado/gen.py", line 1147, in run
      yielded = self.gen.send(value)
    File "/usr/local/lib/python3.7/dist-packages/ipykernel/kernelbase.py", line 365, in process_one
      yield gen.maybe_future(dispatch(*args))
    File "/usr/local/lib/python3.7/dist-packages/tornado/gen.py", line 326, in wrapper
      yielded = next(result)
    File "/usr/local/lib/python3.7/dist-packages/ipykernel/kernelbase.py", line 268, in dispatch_shell
      yield gen.maybe_future(handler(stream, idents, msg))
    File "/usr/local/lib/python3.7/dist-packages/tornado/gen.py", line 326, in wrapper
      yielded = next(result)
    File "/usr/local/lib/python3.7/dist-packages/ipykernel/kernelbase.py", line 545, in execute_request
      user_expressions, allow_stdin,
    File "/usr/local/lib/python3.7/dist-packages/tornado/gen.py", line 326, in wrapper
      yielded = next(result)
    File "/usr/local/lib/python3.7/dist-packages/ipykernel/ipkernel.py", line 306, in do_execute
      res = shell.run_cell(code, store_history=store_history, silent=silent)
    File "/usr/local/lib/python3.7/dist-packages/ipykernel/zmqshell.py", line 536, in run_cell
      return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2855, in run_cell
      raw_cell, store_history, silent, shell_futures)
    File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2881, in _run_cell
      return runner(coro)
    File "/usr/local/lib/python3.7/dist-packages/IPython/core/async_helpers.py", line 68, in _pseudo_sync_runner
      coro.send(None)
    File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 3058, in run_cell_async
      interactivity=interactivity, compiler=compiler, result=result)
    File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 3249, in run_ast_nodes
      if (await self.run_code(code, result,  async_=asy)):
    File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 3326, in run_code
      exec(code_obj, self.user_global_ns, self.user_ns)
    File "<ipython-input-20-9db1ea7150c1>", line 9, in <module>
      res = model.predict(input)
    File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 64, in error_handler
      return fn(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1982, in predict
      tmp_batch_outputs = self.predict_function(iterator)
    File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1801, in predict_function
      return step_function(self, iterator)
    File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1790, in step_function
      outputs = model.distribute_strategy.run(run_step, args=(data,))
    File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1783, in run_step
      outputs = model.predict_step(data)
    File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1751, in predict_step
      return self(x, training=False)
    File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 64, in error_handler
      return fn(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/keras/engine/base_layer.py", line 1096, in __call__
      outputs = call_fn(inputs, *args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 92, in error_handler
      return fn(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/keras/engine/functional.py", line 452, in call
      inputs, training=training, mask=mask)
    File "/usr/local/lib/python3.7/dist-packages/keras/engine/functional.py", line 589, in _run_internal_graph
      outputs = node.layer(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 64, in error_handler
      return fn(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/keras/engine/base_layer.py", line 1096, in __call__
      outputs = call_fn(inputs, *args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 92, in error_handler
      return fn(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/keras/layers/convolutional.py", line 248, in call
      outputs = self.convolution_op(inputs, self.kernel)
    File "/usr/local/lib/python3.7/dist-packages/keras/layers/convolutional.py", line 240, in convolution_op
      name=self.__class__.__name__)
Node: 'model_10/conv1d_4/Conv1D'
Missing 0-th output from {{node model_10/conv1d_4/Conv1D}} [Op:__inference_predict_function_1187]

If it helps, I find out that, if I use tensorflow 2.0.0, this bug does not exist. I guess it may be a regression bug?

@gowthamkpr,
I was able to reproduce the issue on tensorflow v2.8, v2.9 and nightly. Kindly find the gist of it here.

@maybeLee,
The root cause of this is tensorflow/tensorflow#56680
A fix is being worked on right now.

@maybeLee this is now fixed in tf-nightly, which you can install by doing !pip install tf-nightly.
Closing this issue.


Travis CI builds fail - due to --no-80chars-check

Maybe consider changing to --no-140chars-check ?
Thanks!

We need to modulesync again @igalic. :/

@jyaworski should we make modulesync_config → auto-pr?

@igalic @petems we need to actually add better Windows support to modulesync.... this is a mess in .sync.yml.

i nominate @petems as chief window cleanupper

I think this is solved. I see that 140 is in the Rakefile.


test function to notify workers that have not ever been approved or rejected

boto function is here @IanEisenberg will need your assistance to be the worker!

I'm free to test this tomorrow.
On Thu, May 5, 2016 at 8:55 PM, Vanessa Sochat<EMAIL_ADDRESS>wrote:

boto function is here
http://boto.cloudhackers.com/en/latest/ref/mturk.html#boto.mturk.connection.MTurkConnection.notify_workers
@IanEisenberg https://github.com/IanEisenberg will need your assistance
to be the worker!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/expfactory/expfactory-docker/issues/143

--
Best,
Ian

boom

yes, success. closing!


Add remarkable-tablet topic

https://remarkable.guide/devel/github.html#remarkable-tablet-topic

Done.
Thanks for the hint.


Can you improve the color scheme for project management? 能不能改进一下项目管理这块的颜色？

Feature Description
Can you improve the color scheme for project management? The color I set looks too ugly and eye-catching. My suggestion is to have colors for the title part and outline of each stage, but not for the content part.
能不能改进一下项目管理这块的颜色， 这个我设了颜色之后太难看了， 太剌眼了。我的建议是， 每个阶段的标题部分有颜色，阶段的轮廓线线也有颜色， 内容部分不要有颜色
Screenshots

i think u are right, may i handle this work? :-)

i think u are right, may i handle this work? :-)

我是一个后端程序员， 前端不太懂。我遇到的几个后端问题我都自已修了
I am a backend programmer and not very familiar with the frontend. I have fixed several backend issues myself.

You can have a new option for that but not make a break change?


Reimplement buffer tests

Reintegrated and fixed test code for buffer tests buffer_read_half and
buffer_write_half tests.
Added mem_alloc_ref_flags test code, as was previously non-existent,
to test CL_MEM_ALLOC_HOST_PTR. This flag was otherwise untested and
as similar tests within the suite are used to test other cl_mem_flags
it has been assumed that this was the purpose of the test.
Fixes #439
Signed-off-by: Ellen Norris-Thompson<EMAIL_ADDRESS>

@Jeremy-Kemp sorry didn't realise you'd already reviewed this! I've just updated commit messages and added a final commit to remove unused code


[SPARK-29336][SQL] Fix the implementation of QuantileSummaries.merge (guarantee that the relativeError will be respected)

What changes were proposed in this pull request?

Reimplement org.apache.spark.sql.catalyst.util.QuantileSummaries#merge and add a test-case showing the previous bug.
Why are the changes needed?

The original Greenwald-Khanna paper, from which the algorithm behind approxQuantile was taken, does not cover how to merge the result of multiple parallel QuantileSummaries. The current implementation violates some invariants and therefore the effective error can be larger than the specified.
Does this PR introduce any user-facing change?

Yes, for same cases, the results from approxQuantile (percentile_approx in SQL) will now be within the expected error margin. For example:
var values = (1 to 100).toArray
val all_quantiles = values.indices.map(i => (i+1).toDouble / values.length).toArray
for (n <- 0 until 5) {
  var df = spark.sparkContext.makeRDD(values).toDF("value").repartition(5)
  val all_answers = df.stat.approxQuantile("value", all_quantiles, 0.1)
  val all_answered_ranks = all_answers.map(ans => values.indexOf(ans)).toArray
  val error = all_answered_ranks.zipWithIndex.map({ case (answer, expected) => Math.abs(expected - answer) }).toArray
  val max_error = error.max
  print(max_error + "\n")
}

In the current build it returns:
16
12
10
11
17

I couldn't run the code with this patch applied to double check the implementation. Can someone please confirm it now outputs at most 10, please?
How was this patch tested?

A new unit test was added to uncover the previous bug.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Test build #4892 has started for PR 26029 at commit 5cbcc1c.

Test build #4892 has finished for PR 26029 at commit 5cbcc1c.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

This test breaks, but I guess it was not testing the right thing.
It checks if with a higher accuracy we get a lower error for a specific query. The issue is that the algorithm guarantees that the maximum error for all queries will reduce with accuracy: it is bounded by count / accuracy. However, it can be the case that for some queries the measured accuracy is much higher than that maximum.
The test in question does a single query against a dataset of 1000 elements, with accuracies 1, 10, 100, 1000 and 10000. Before the patch the measured error was 249, 97, 9, 1, 0 and now it is 249, 40, 0, 1, 0. Both respect the maximum errors of 1000, 100, 10, 1, 0, we just got lucky in the third case now.
I'll modify this test case to test for the respect of the reducing maximum bound instead. If you have other suggestions, please let me know.

Test build #4893 has started for PR 26029 at commit 02af468.

Test build #4893 has finished for PR 26029 at commit 02af468.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master

anyone tell me , if this is incorporated in 2.4.4 version ?

Please have a look at the JIRA - https://issues.apache.org/jira/browse/SPARK-29336
No, it's in 3.0

Hello, I know this is an "ancient" PR, but it seems like it caused a severe performance regression.
I made a jira issue with it https://issues.apache.org/jira/browse/SPARK-47836
I'll also ping @cloud-fan and @viirya  because you were active in the previous jira discussion


Incompatibility of node_encrypt::certificates with Puppet 5

Puppetserver log files show:
2017-09-27 18:02:51,273 ERROR [puppetserver] Puppet Denying find request for /file_metadata/public_certificates on fileserver mount 'public_certificates'. Use
 of auth directives for 'fileserver.conf' mount points is no longer supported. Remove these directives and use the 'auth.conf' file instead for access control.
2017-09-27 18:02:51,276 ERROR [puppetserver] Puppet Server Error: Not authorized to call find on /file_metadata/public_certificates with {:rest=>"public_certi
ficates", :links=>"manage", :checksum_type=>"md5", :source_permissions=>"ignore"}

So it seems that even though https://docs.puppet.com/puppet/5.2/config_file_fileserver.html#deprecated-security-directives still says that auth directives in fileserver.conf are only deprecated, they are actually not supported anymore.
Trying with allow *, things work.
I guess that to fix this correctly, https://github.com/puppetlabs/puppetlabs-puppet_authorization should be used to add an auth-stanza.

Agh, just had this issue after upgrading PE to 2017.3.1 :(

yeah still a major problem blocking us from upgrading our Puppet open source to 5.x and enterprise to 2017.3.1 as above 😡

I'll get that handled today and push up a release.

Legend!
Thank you!
--
Sam

On 26 Oct 2017, at 2:38 am, Ben Ford<EMAIL_ADDRESS>wrote:
I'll get that handled today and push up a release.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


String that includes a valid url returns true, expect false

Is this expected to return true? Because the whole string is not a valid URL, so I would expect it to return false on this string.
const testString = 'https://test.com/test.jpg" alt="GIGACHAD"';
// returns true
isUrlHttp(testString)

If I change the order in the string it returns false:
const testString = 'alt="GIGACHAD" https://test.com/test.jpg" ';
// returns false
isUrlHttp(testString)

Hello,
Yes because URL constructor turns " alt="GIGACHAD" as part of the URL:
> const testString = 'https://test.com/test.jpg" alt="GIGACHAD"';
undefined
>
> new URL(testString)
URL {
  href: 'https://test.com/test.jpg%22%20alt=%22GIGACHAD%22',
  origin: 'https://test.com',
  protocol: 'https:',
  username: '',
  password: '',
  host: 'test.com',
  hostname: 'test.com',
  port: '',
  pathname: '/test.jpg%22%20alt=%22GIGACHAD%22',
  search: '',
  searchParams: URLSearchParams {},
  hash: ''
}
>


⚠ ClamAV has degraded performance

In b6c6684, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 204 ms

Resolved: ClamAV performance has improved in 9f6fb55.


Tweak glossary entry for kube-apiserver

Tweak https://kubernetes.io/docs/reference/glossary/?all=true#term-kube-apiserver

Change title to “API server” with “kube-apiserver” listed as an AKA
the title change also puts the entry under “A” in the glossary, rather than after “Z”
use “control plane” rather than “master”
other rewording

NB Every existing reference to this glossary entry uses the term “API server” or a variant.
Preview

/assign @rajakavitha1

/lgtm
/approve


Request/Idea: Toggleable "adjustment mode"

I've been screwing around with Linux lately and found Pop!_OS has a nice tiling manager built in, but only allows you to move/resize windows in an "adjustment mode" that you enter and exit with keyboard shortcuts.
This might be a handy feature to have, it would free up a lot of keys to be used as shortcuts. Example: Normally, the H key is reserved for... The letter H. However, if I entered "adjustment mode", the H key could then be used for moving windows, and wouldn't perform its normal functions until adjustment mode was exited.
Not sure if this is really even possible, honestly.

You can setup modal keybindings with SKHD.
For instance in my setup I have what I call Window Mode, when I press Fn+Esc which allows me to manage, resize, adjust windows.


Issue with k8s.io/docs/concepts/workloads/controllers/statefulset/

This is a Bug Report

Problem:
Third bullet in the "limitations" section says "Deleting and/or scaling a StatefulSet down will not delete the volumes associated with the StatefulSet".
It is not wrong, but not totally right. I think it should better refer to the PVCs created from the statefulset's volumeClaimTemplate than to the pre-provisioned or dynamically created PVs boudn to those PVCs (note also that removing/not removing those PVs is really related to the PV/StorageClass set reclaimPolicy .. once PVC and PV are unbound, of course)
Proposed Solution:
Following text proposed for that third bullet in the "statefulset - limitations" subsection (changed text remarked with bold letters)

Deleting and/or scaling a StatefulSet down will not delete the persitent volumes claim objects created from any volumeClaimTemplates included in the StatefulSet. This is done to ensure data safety, which is generally more valuable than an automatic purge of all related StatefulSet resources.

Page to Update:
https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#limitations

Thanks for the suggestion!

/language en

/assign

/priority backlog

/remove-lifecycle stale
/help
(almost a good-first-issue, too, IMO)

/retitle Improve wording for StatefulSet limitations around storage


Increase height of .ms-list

Hi,
I have multiple select box on a page but I want to increase only once select box height.
How can I do this?
Thanks

I fixed this problem with the following:
HTML:
<select cssclass="custom-css-class" class="select-multiple-placement" multiple="multiple">
...
</select>

JS:
$('.select-multiple-placement').each((index, elem) => {
       $elem = $(elem);
       $elem.multiSelect({ cssClass: $elem.attr('cssclass') })
    });

CSS:
.custom-css-class.ms-container .ms-list {
    /* Custom Height here */
    height: 80px;
}

Why not use CSS ID's or simply an alternative class name for each?


Use of "shutters" instead of "sensors" or "switches" as accessories?

Is it possible to use shutters as accessories?  Up_url /down_url nstead of on_url / off_url?
Thanks.

To which plugin do you refer here?

Oh sorry...
https://www.npmjs.com/package/homebridge-http-webhooks


black background

If the scanned pixel is black, the program crashes and you get a "ZeroDivisionError".
You can fix the problem by putting it in a try/except statement

fixed


Devise + Mongoid store wrong data in session

I'm using Devise 3.2.3 + Mongoid 4.0.0.beta1 and when I try to call current_user I get:
The operation: #<Moped::Protocol::Query
  @length=125
  @request_id=18
  @response_to=0
  @op_code=2004
  @flags=[]
  @full_collection_name="orodruin_development.users"
  @skip=0
  @limit=-1
  @selector={"$query"=>{"_id"=>{"$oid"=>BSON::ObjectId('530a1ec84e49550fbd000000')}}, "$orderby"=>{:_id=>1}}
  @fields=nil>
failed with error 10068: "invalid operator: $oid"

See https://github.com/mongodb/mongo/blob/master/docs/errors.md
for details about this error.

Bug is somewhere where this is set:
warden.user.user.key: [[{"$oid"=>BSON::ObjectId('530a1ec84e49550fbd000000')}], "$2a$10$/J1DMorvMdGZm6aQicsYL."]

:heart:

Just fixed this bug on Mongoid side https://github.com/mongoid/mongoid/commit/658a5d4e55e0ff94fb89fa1e7b970edcc7c4283d , it will be included in the next release , 4.0.2
thanks all

@arthurnn any specific date on when 4.0.2 will be released?

@almnes , soon, probably today or tomorrow.

Ping for a 4.0.2 release. :)

done https://rubygems.org/gems/mongoid/versions/4.0.2

Obrigado!
--
José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Lead Developer

I know I'm late to the party here but just wanted to say thanks to everyone on this thread, I have a case where I have some data migrated from Postgres and therefore some records with integer IDs and other with ObjectID IDs, the information here helped me put together this little hack that fixed my problem, on my User model:
  def self.serialize_from_session(key, salt)
    record = to_adapter.get(key[0])
    record ||= to_adapter.get(key[0].to_i)
    record if record && record.authenticatable_salt == salt
  end


pull request for e2e test at 12/15/2016 15:26:17

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Method Signature forcing multiline despite unset [function_signature_rule_force_multiline]

Expected Behavior

So currently in my .editorconfig I have set, among others, the following
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = unset
ktlint_function_signature_body_expression_wrapping = default

Below is my expectation
@Operation(summary = "random Events Handler", description = "Endpoints for receiving random events")
@ApiResponse(responseCode = "200")
@PostMapping("/random")
fun handleEvent(@RequestBody event: Event) = service.handleEvents(event)

Observed Behavior

I have a method with one parameter that has an expression that is within my 140 character limit, and yet ktlint formats to add a new line within the parantheses as-well as a comma after the first parameter. I've scoured the ruleset and tried modifying values to no avail.
Ktlint formats as
@Operation(summary = "RandomEvents Handler", description = "Endpoints for receiving random events")
@ApiResponse(responseCode = "200")
@PostMapping("/random")
fun handleEvent(
    @RequestBody event: Event,
) = service.handleEvents(event)

So it properly retains the expression to one line, but the signature get's placed on a multiline. Maybe I'm not fully understanding the documentation, but I have tried it to various setting with no luck
Steps to Reproduce

Your Environment

Version of ktlint used: 1.2.1
Relevant parts of the .editorconfig settings

[*.{kt,kts}]
# Ktlint Configuration
ktlint_code_style = ktlint_official
ktlint_chain_method_rule_force_multiline_when_chain_operator_count_greater_or_equal_than = 3
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = unset
ktlint_ignore_back_ticked_identifier = true
ktlint_function_naming_ignore_when_annotated_with = unset
ktlint_function_signature_body_expression_wrapping = default
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = unset
ktlint_argument_list_wrapping_ignore_when_parameter_count_greater_or_equal_than = 8
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_string-template-indent = enabled

# General Configuration
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 140
end_of_line = lf

# Intellij Configuration
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_packages_to_use_import_on_demand = *,java.**,javax.**,kotlin.**,^
ij_kotlin_imports_layout = *,java.**,javax.**,kotlin.**,^
ij_kotlin_line_break_after_multiline_when_entry = true

Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task): N/A as occurs with ktlint intellij plugin as-well
Version of Gradle used (if applicable): v7.4.2
Operating System: Windows 10
Version: 10.0.22631 Build 22631

This is expected behavior. Annotated parameters are always wrapped by the parameter-list-wrapping rule. https://pinterest.github.io/ktlint/latest/rules/standard/#parameter-list-wrapping


Including timestamp with tf.Print?

I'm trying to implement a batched version of the Inception example for TensorFlow Serving, and I'd like to benchmark the performance.
Is it possible to have tf.Print emit a timestamp along with the logging information? Particularly if the op is bundled via tensorflow_serving.session_bundle.exporter?
I think it's possible to do with:
x = tf.Print(x, [x], "(%s) Obtained: " % asctime())
although I'm not sure if this will work appropriately when exported.

That won't work, I'm afraid: asctime() will be evaluated once when you build the graph in Python, and all log entries will include the same timestamp. The tf.Print() op uses the standard logging implementation in TensorFlow, which does not have a particularly rich feature set.
It might be useful to add a timestamp to all log entries, but that would be a fairly invasive change. Alternatively, one could add some ops (perhaps in tf.contrib) that returned/formatted the current time, so that you could build whatever log you wanted.
I'll mark this one contributions welcome.

@eriophora you can use a placeholder
x=tf.placeholder(tf.string,shape=(1,1))                                            z=tf.constant(10)                                                                  y=tf.Print(z,[x,z])                                                                with tf.Session() as sess:                                                                 for i in range(10):                                                                    time.sleep(1)                                                                      ti=time.asctime()                                                                  xx=np.array([ti],ndmin=2)                                                          y.eval(feed_dict={x:xx})

blocked by #5682

Are we ready to proceed on this?

drpngx@ should be merged soon.

One second granularity is a bit too coarse for benchmarking, it would be nice to get microsecond granularity like LOG statements , ie, using NowMicros instead of NowSeconds. Maybe something like this in GenerateLogMessage?
char time_buffer[time_buffer_size];
uint64 micros = env_time->NowMicros()
time_t now = static_cast<time_t>(micros/1000000);
strftime(time_buffer, time_buffer_size, "%Y-%m-%d %H:%M:%S:%d", localtime(&now));
fprintf(stderr, "%s:%ld: %c %s:%d] %s\n", time_buffer, micros%1000000, "IWEF"[severity_], fname_, line_, str().c_str());


fix when prefer_replica set to true, master node is nil

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


how to stop beacon from ranging if already found

how to stop beacon from ranging if already found which beacon I want
this my code. _streamRanging.cancel(); is never called because beacon always ranging even though I break the looping
bool found = false;
var _streamRanging = flutterBeacon.ranging(regions).listen((RangingResult result) {
        for (var element in result.beacons) {
          if (element.proximityUUID.toString() == proximityUUID
              && element.major.toString() == major
              && element.minor.toString() == minor){
            setState(() {
              found = true;
            });

            print("SUCCESS");
            break;
          }
        }
      });

      if(found) {
        _streamRanging.cancel();
      }

You should store the stream subscription as a property in the widget so you can cancel it in the setState and set it to null

If you don't need the loop, you can try removing the repeating values and only display your updated uniques-beacons.
Try to make a new Map of your ranging then join to the map the result with a forEach, you can delete all duplicates values with this:
setState(() {
_regionBeacons[result.region] = result.beacons;
          _beacons.clear();
          final Map<dynamic, Beacon> profileMap = new Map();
          result.beacons.forEach((item) {
            profileMap[item.macAddress] = item;
          });
          _beacons.addAll(profileMap.values);
          _beacons.sort(_compareParameters);
        });


Multiple sample values for array(list) of enum type

Hello,
is there a way to define multiple sample values for an array(list) of some enum type?
Example:
## CarBrand (enum)
+ VW
+ Audi
+ Porsche

## StockInformation
+ availableBrands (array[CarBrand])

That renders
{
    availableBrands: [
        "VW"
    ]
}

however I would like to render sample with more than value from the enum. Something like:
{
    availableBrands: [
        "VW",
        "Audi"
    ]
}

Hi @davidkaya, that is possible.
You can add additional sample values under the array. As example:
# Data Structures

## CarBrand (enum)

+ VW
+ Audi
+ Porsche

## StockInformation

+ availableBrands (array[CarBrand])
    + Audi (CarBrand)

{
  "availableBrands": [
    "VW",
    "Audi"
  ]
}


meson: Use pkg-config generator and some cleanups

When using library() instead of shared_library() and static_library,
meson will build shared, static, or both depending on the
value of static_library option.
As far as I know extract_all_objects() was uses as workaround for Meson
bugs fixed a while ago when using not installed static libraries.

@tp-m FYI, this is needed to get openh264 static linked into gstreamer-full.

@xclaesse are you sure that is sensible in general? Only Cisco is allowed to distribute OpenH264 binaries with the patent license so static libraries are problematic for most parties.

@nanonyme on the contrary, by default openh264 currently installs both shared a static libraries. With this PR by default it will only install shared library because meson defaults to default_library=shared. You have to build with --default-library=both or --default-library=static to get the static library with my change.

That being said, I didn't check the license, I'm not distributing openh264 I just saw this inconsistency in the build system with my Meson developer hat ;-)

Right. I was largely referring to that ffmpeg-full use case you mentioned. Expected way is someone builds openh264, Cisco puts it available and end user downloads it directly from Cisco where it's plugged to ffmpeg or whatever. So from that point of view even allowing static linkage seems strange. Maybe there simply should be no static version? Does anyone need it? It seems like a legal footgun to me.

If someone is building OpenH264 for themselves they should already know the H.264 licensing situation. Dynamic or static library build doesn't make a difference - the code license permits either.
If you want to take advantage of Cisco's H.264 licensing you need to get the binary from them. For iOS a static library is appropriate and provided:
https://github.com/cisco/openh264/releases

@thaytan are you sure iOS usage is appropriate? It does not sound possible to fulfill the requirement there that customer gets OpenH264 through Cisco (not developer but customer).  The patent grant is not generally considered to allow redistribution.

@nanonyme I don't think this is an accurate depiction of the legal situation at all to be honest, it only reflects a particular distro perspective/pov really. But even if it were there are many people that do not distribute the software they build to third parties but simply use it locally. Lots of other people can distribute their own openh264 builds entirely legally too, it just happens that Cisco makes builds available for distros to use. Anyway, I think this consideration is entirely irrelevant to this MR anyway to be honest :)
The MR is a clean-up that embodies meson best practices, and if it works correctly it should be merged.

Fixed by https://github.com/mesonbuild/meson/pull/5936
This requires bumping the minimum version of meson to 0.52 to guarantee that no one tries building it using versions of meson from before the fix.
Other than that... this results in a more idiomatic meson.build with a dozen fewer lines, so it seems like a no-brainer to merge :) the licensing situation seems quite tangential.

@xclaesse Could you bump the minimum meson version?

@xclaesse Could you bump the minimum meson version?

done.
@nanonyme I think we answered your concerns, do you think we can go ahead with this PR?

@nanonyme kind reminder to review this PR please :)

Sure, do go ahead. I wasn't aware I was a blocker.

I don't have merge permission, who does?

@xclaesse
CI build failed. can you help to check?

@GuangweiWang The CI failure is because commit d5dbb59a7f134e0c1df79d4e784a7a3bf00196c5 (and the current state of the github actions workflow) pins an exact version of meson to install in the CI.
This pre-existing PR bumped the minimum version of meson from 0.50 to 0.52 and thus meson failed because it detected that the version installed from pip install is too old to handle the project.
I'm not sure I understand the point of pinning an old version here. If you just want to prevent breaking the minimum version, meson warns you if you use too new features (and you can make that into failure by passing --fatal-meson-warnings).

failed reason:
Run meson builddir
The Meson build system
Version: 0.50.1
Source dir: /home/runner/work/openh264/openh264
Build dir: /home/runner/work/openh264/openh264/builddir
Build type: native build
meson.build:1:0: ERROR: Meson version is 0.50.1 but project requires >= 0.52.0.
A full log can be found at /home/runner/work/openh264/openh264/builddir/meson-logs/meson-log.txt
Error: Process completed with exit code 1.

Rebased this PR and removed the parts that got already merged in separate PRs.

@xclaesse can you help to resolve the conflicts? thanks

@xclaesse can you help to resolve the conflicts? thanks

done.
While at it, what's the plan for the next release? Currently the latest release to totally broken when building with Meson unfortunately.


Centos 7.6.1810 - SELinux violation

In working through this ansible script, I received a failure on php-fpm when it tried to start:
Fatal error:  PHP Startup: apc_mmap: mmap failed: in Unknown on line 0

Tracking this down led to an SELinux violation.  To fix it I had to do the following:
ausearch -m avc -i -ts recent | audit2allow -a -M php-fpm
semodule -i php-fpm.pp

The above commands needed to be repeated twice on my system to catch all of the violations.  Once done, php-fpm starts as expected and the script continues.

i'm ausearch/audit2allow/semodule are not a valid solution with ansible playbook.
i guess during the run of the play are no entries in the audit.log file to search.
i tried to fix the part of the playbook but couldn't get it working.
https://github.com/ReinerNippes/nextcloud/blob/0d59b4e412bb2fb4510703580c5c85f6dcb1858b/roles/prep_nextcloud/tasks/main.yml#L30

ansible shouldn't be the problem.
the selinux conf is set here:
https://github.com/ReinerNippes/nextcloud/blob/ad8daf53188c0399fbf8d53cd42a6f13390cb86f/roles/prep_nextcloud/tasks/main.yml#L30
according to the nextcloud manual:
https://docs.nextcloud.com/server/16/admin_manual/installation/selinux_configuration.html

@ebdavison you may try the latest version of the fedora branch. should be fixed there.


chore: correct dependencies in packages config

Fixes cdk-experimental being set up to have a dependency on material, as well as material-experimental having a dependency on cdk-experimental. Also adds cdk and material as dependencies to material-examples.

Yeah, material-experimental can import from cdk-experimental, but no need to codify that until we really need it.


todo: add JSDoc examples to simple functions

Most functions in /utils are simple functions that could do with a little documentation. Objectives:

Provide a short description of what the function does and/or its purpose.
Provide an @example snippet.
Keep It Simple, Stupid (KISS)
Link to relevant documentation, if needed.

Targets:

[ ] /utils/db.ts
[ ] /utils/http.ts
[ ] /utils/islands.ts
[ ] /utils/payments.ts
[ ] /utils/posts.ts

Great! I think it'd be best if we tackled this in chunks - like one PR per file.

Alright, that’s fine

I see 👀 there are some functions still, I would like to work on this as well.
@iuioiua could you assign me to this?

Hi @roberto-morado, I realised it'd be best if I were the one to work on this one, given I know the context and nuances behind a lot of this functionality. I assigned myself to make this clear. Thanks anyway for offering!

No problem 👍

This has been completed in a number of the related PRs.


How to remove the thin line surrounding the edge of the object after background removal?

I tried to remove the background of a product from a blue background. After that, the product has some blue color on the edge of the product. How can I remove it?

Another example, there is also shadow remained after the removal

I'm having the same problem. Have you solved it yet?

I'm having the same problem. Have you solved it yet?

Yes I do, you will need to use another model - this won't work to remove shadow.


Windows Desktop applications support

It will be very good feature: to support windows desktop (c++) application, WinAppDriver, Appium.

Win32 apps with FlaUI maybe


Use latest .NET & workloads

Doing a PR for this to see if CI is still working.

GitHub Actions has been failing here, going to merge.


DROOLS-1434 Refactor core API and FEEL API into kie-dmn-api module

Initial proposal I'm going to comment in the relevant parts below.

@tarilabs lets talk tomorrow about this PR

@tarilabs I think it looks good, I am just moving the DMNExpressionEvaluator and EvaluatorResult interfaces back into core, as I don't think it needs to be public. I will close this PR and open a new one with the changes.


traefik_open_connections metric drifts down until negative

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I configured Prometheus monitoring on a traefik instance with --metrics.prometheus=true on a separate entrypoint (for a separate port) with no other Prometheus specific configuration, so I got the default set of metrics. I can query the /metrics allright and I would expect traefik_open_connections to stay at 5 (as that’s my load, 5 clients from a load testing tool).
What did you see instead?
The value of the traefik_open_connections metric goes down over time, until it even gets negative, which doesn’t make sense for a connection count (how can you have -1 open connections…).
See this excerpt from the /metrics:
# HELP traefik_open_connections How many open connections exist, by entryPoint and protocol
# TYPE traefik_open_connections gauge
traefik_open_connections{entrypoint="metrics",protocol="TCP"} -1
traefik_open_connections{entrypoint="traefik",protocol="TCP"} 0
traefik_open_connections{entrypoint="web",protocol="TCP"} -1

and this screenshot from Prometheus:

In the screenshot, the metric is supposed to stay at a constant 5 connections.
As a proof that there is actually still 5 connections, here is the output of ss (where we also see the connections to the backend service):
State           Recv-Q           Send-Q                           Local Address:Port                                 Peer Address:Port           Process
ESTAB           0                0                                   <IP_ADDRESS>:42488                                  <IP_ADDRESS>:8000            users:(("traefik",pid=2506,fd=19))
ESTAB           0                0                                   <IP_ADDRESS>:32842                                  <IP_ADDRESS>:8000            users:(("traefik",pid=2506,fd=18))
ESTAB           0                0                                   <IP_ADDRESS>:38010                                  <IP_ADDRESS>:8000            users:(("traefik",pid=2506,fd=17))
ESTAB           0                0                                   <IP_ADDRESS>:36600                                  <IP_ADDRESS>:8000            users:(("traefik",pid=2506,fd=16))
ESTAB           0                0                                   <IP_ADDRESS>:35230                                  <IP_ADDRESS>:8000            users:(("traefik",pid=2506,fd=23))
ESTAB           0                0                          [::ffff:<IP_ADDRESS>]:80                        [::ffff:<IP_ADDRESS>]:57220           users:(("traefik",pid=2506,fd=12))
ESTAB           0                0                          [::ffff:<IP_ADDRESS>]:80                        [::ffff:<IP_ADDRESS>]:57206           users:(("traefik",pid=2506,fd=10))
ESTAB           0                0                          [::ffff:<IP_ADDRESS>]:80                        [::ffff:<IP_ADDRESS>]:57250           users:(("traefik",pid=2506,fd=14))
ESTAB           0                0                          [::ffff:<IP_ADDRESS>]:80                        [::ffff:<IP_ADDRESS>]:57234           users:(("traefik",pid=2506,fd=13))
ESTAB           0                0                          [::ffff:<IP_ADDRESS>]:80                        [::ffff:<IP_ADDRESS>]:57222           users:(("traefik",pid=2506,fd=11))
ESTAB           0                0                          [::ffff:<IP_ADDRESS>]:8089                      [::ffff:<IP_ADDRESS>]:34364           users:(("traefik",pid=2506,fd=20))

What version of Traefik are you using?
Version:      3.0.0
Codename:     beaufort
Go version:   go1.22.2
Built:        2024-04-29T14:25:59Z
OS/Arch:      linux/amd64

What is your environment & configuration?
      --entrypoints.web.address=:80
      --entryPoints.web.asDefault=true
      --providers.docker
      --providers.docker.exposedbydefault=false
      --api.dashboard=true
      --api.insecure=true
      --entryPoints.metrics.address=:8089
      --metrics.prometheus=true
      --metrics.prometheus.entryPoint=metrics

The labels on the backend container discovered by the docker provider:
     - "traefik.enable=true"
     - "traefik.http.routers.app.rule=PathPrefix(`/`)"
     - "traefik.http.services.app.loadbalancer.server.port=8000"

The load on the service is a constant 5 clients repeatedly requesting the service, generated by locust (a python load testing tool). The backend is a python app that can handle one client at once and takes around 110ms for one request, so with a load of 5 clients it handles around 9 req/s with a latency of 550ms.
If applicable, please paste the log output in DEBUG level
No response

Digging a bit more… I don’t really speak Go but I’ll try… Clearly this function RemoveConnection is being called too much, or AddConnection not enough.

Errr, so something looks off to me, but probably is not. Reproducing the code of RemoveConnection here:
func (c *connectionTracker) RemoveConnection(conn net.Conn) {
	c.connsMu.Lock()
	delete(c.conns, conn)
	c.connsMu.Unlock()

	if c.openConnectionsGauge != nil {
		c.openConnectionsGauge.Add(-1)
	}
}

Is it normal that the Gauge decrementation is outside of the mutex section ? I guess the instrumentation library is threadsafe already, is it ?

@rtribotte I see that you authored this highly relevant commit https://github.com/traefik/traefik/commit/7c2af10bbd7791241cea2dce52abf5899e75f3c4 from PR #9656, might you be able to chip in ?

I have an issue too
my metrics:
HELP traefik_open_connections How many open connections exist, by entryPoint and protocol
TYPE traefik_open_connections gauge
traefik_open_connections{entrypoint="metrics",protocol="TCP"} 2
traefik_open_connections{entrypoint="traefik",protocol="TCP"} -26
traefik_open_connections{entrypoint="web",protocol="TCP"} -26
traefik_open_connections{entrypoint="websecure",protocol="TCP"} 8

Hello @navaati, thanks for opening this!

Is it normal that the Gauge decrementation is outside of the mutex section ? I guess the instrumentation library is threadsafe already, is it ?

It should be threadsafe indeed (https://github.com/prometheus/client_golang/blob/release-1.17/prometheus/gauge.go#L122C1-L130C2), Have you had a chance to try the alternative (protect with the mutex)? Did it fix the bug?

Hi.
No, I haven’t tested anything yet: I first need to figure out how to build the binary then the container, for which I haven’t found instructions yet (at least nothing in the contributing documentation).
I’ll find and try to test, although with that link you dug I don’t have much hope. Is it actually the official prom client which is being used here though ? I see the type of the gauge is gokitmetrics.Gauge.

Yeah no, it’s just an abstraction layer over the official prom client: https://github.com/go-kit/kit/blob/dfe43fa6a8d72c23e2205d0b80e762346e203f78/metrics/prometheus/prometheus.go#L84.

I just realized there was a major Træfik version release during my development cycle ! That’ll teach me not pinning containers…
Anyway, just for the record I tested with container tag v2.11.3 and the result is much more stable (although I understand there were other problems with the former traefik_entrypoint_open_connections metric versus the new traefik_open_connections one):

Now I’ll test a modified v3.0 with the +1/-1 in the mutex critical section.

I don't have much useful information other than to say that I am running 3.0.2 and I have had -50 indicated open connections. My prometheus data confirms that this has not been an issue before.
I have added two extra queries to demonstrate:

You can see min-2.0 never goes below 0, while min-3.0 maxed out at almost 500.
The two fields used are:
traefik_open_connections (3.0 >)
traefik_entrypoint_open_connections (< 2.x)

Hello @navaati @dennorske,
I opened #10905, which should fix this issue.

Ah, thanks a lot @rtribotte ! Any idea what was the root cause of the bug ? It remains a mystery to me x).

Hello @navaati,
I couldn't identify the root cause, nevertheless, the RemoveConnection was called on the Close method call on the connection, which, I suspect, could happen multiple times in some cases. In any case, it is more accurate and simple to reflect the connection count in the gauge.

Ok, makes sense, thanks for your answer.


Joystick

Added joystick library.

Does the joystick library require the HUDentity that you included it in your pr?

Oh damn I didn't see that. I'll redo this.


Generate reference documentation at build time

This replaces the use of @enterprise-contract/reference-antora-extension with code generation that is run at build time. The documentation should resemble the existing documentation generated at website build time, only the point at which the documentation is generated has changed. Also the documentation is now versioned in the git repository, so a check was added to make sure the documentation is up to date, i.e. doesn't need to be regenerated.
Reference: EC-513

Seeing no space left on device in acceptance tests (couple of times now):
Error: Error: error committing container for step {Env:[TARGETOS=linux TARGETARCH=amd64 PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.21.9 GOTOOLCHAIN=local GOPATH=/go] Command:run Args:[go mod download] Flags:[] Attrs:map[] Message:RUN go mod download Original:RUN go mod download}: error copying layers and metadata for container "8924fe433c972777d9489c2da568c88ae84b0c323ecfe5dac3f864ee1cc986ff": writing blob: adding layer with blob "sha256:58d35786ffbb7cb6bbce67c4e1dd4e4db22123cd112978fb2b227676ecb0e46a": Error processing tar file(exit status 1): write<EMAIL_ADDRESS>no space left on device


Solid Shading renders all black

Steps
Open .obj file without materials.
test-level.obj (attached as txt, because github...)
Result
Everything is render in the same color (black) as if there was no light.

Expected Result
Simple phong shading with a default light (maybe there are some light settings, but I couldn't find them).
IDE Details
CLion 2022.3.2
Build #CL-223.8617.54, built on January 25, 2023
Licensed to Lars Maier
Subscription is active until November 7, 2023.
Runtime version: 17.0.5+1-b653.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.2.1-arch1-1
GC: G1 Young Generation, G1 Old Generation
Memory: 12288M
Cores: 8
Registry:
debugger.new.tool.window.layout=true
run.processes.with.pty=TRUE
ide.experimental.ui=true
cidr.max.intellisense.file.length=5000000
ide.images.show.chessboard=true
Non-Bundled Plugins:
it.czerwinski.intellij.wavefront (1.3.0)
GLSL (1.24)
org.rust.lang (<IP_ADDRESS>05-223)
com.tang (1.3.8-IDEA223)
izhangzhihao.rainbow.brackets (2023.2.5)
artsiomch.cmake (223.8.0)
artsiomch.cmake.plus (223.8.0)
Current Desktop: KDE

do you need anything from my side? 🙂

do you need anything from my side? 🙂

No, I'm pretty sure where the problem is. Just having a bit of other urgent work at the moment. Will try to do some bug fixing next week.
In short, if texture coordinates are not defined (or are the same for all vertices), tangent and bitangent are (0, 0, 0), which breaks some calculations. I need to fix it for solid (and possibly wireframe) shading, as those are not needed.

Great! Thank you so much!

https://plugins.jetbrains.com/plugin/14843-wavefront-obj/versions/stable/307415

Thanks! It works! 🙂


ci: pin cross and rust versions

This pull request includes updates to the Rust toolchain and the Makefile to ensure specific versions are used and to include new components and targets. The most important changes include updating the rust-toolchain.toml file to use Rust version 1.75.0 and updating the install-cross target in the Makefile to specify a specific commit when installing cross.

Confirmed that an older cross image ghcr.io/cross-rs/x86_64-unknown-linux-musl:main@sha256:a8a5f982bca1a7c91227bb342749282a2eebc93daef16ce0 works. The newer image introduces the PIE build issue.

It looks like the enable-default-pie flag was removed in this PR.

https://github.com/cross-rs/cross/pull/1418 this PR adds PIE back.

Nice work locking in the version to avoid the PIE compilation issue.

Thanks! Just to clarify, locking in the version did not fix the PIE compilation issue. The fix was on upstream cross repo to enable PIE compilation in musl library.


Follow up fix for vm wait states

On reboot no state change can be determined from the API.
Thus we define the safe default and wait for the ReadyRole
even though the vm might already be in that state before
reboot

In reply to information from @smarlowucf

This is similar across the other providers (GCE, EC2). State doesn't change on a soft reboot. Don't
think there's a way to detect a soft reboot has finished aside from establishing an SSH connection.
Ran into this issue with the testing framework. Had to force hard reboot and stop sshd prior to
shutdown to prevent SSH  connection prior to reboot actually initiating.

IMHO the best option is to keep it consistent with the other waits and  just wait for 'ReadyRole' similar
to __start_instance even though it doesn't change.

I agree to let's wait for the ready role on reboot

@rjschwei could you check again if the changes meets your request ? Thanks


Add impossible_comparisons

What it does
Checks for double comparisons that can never succeed
Why is this bad?
The whole expression can be replaced by false, which is probably not the programmer’s intention
Example
if status_code <= 400 && status_code > 500 {}

Hi @0xLucqs can I work on this?

Yes ! Do you have any idea on how to do it ?

If I start the issue, I can reassign it again.


Default prefix

to_css method fails because of nil in prefix variable. To be consistent with README it should be changed as this.

Apologies, I hadn't touched this repo in a long while so the Travis CI configuration had succumbed to bit-rot and was failing.  I just fixed this in master -- can you please rebase your branch against master so the integration tests run, and then I will review?  Thanks!

done and green

Great!  Thanks so much for your contribution.

Released to rubygems.org as v0.0.2


[Bug]: Bitkit widget playground auth

Describe the bug
I connected to the Playground by scanning the QR code and it works.
The widget appears on my Bitkit mobile application (iOS and Graphene OS)
However when we  trying to login from BK is where we end up with a 404 error
Reproduce

Go to '(https://slashtags.to/playground/accounts)'
Scann the QR Code
3 Click on 'Sign' from the Bitkit widget
See error

Screenshots / Recording
No response
Operating system
iOS et Graphene OS
Bitkit version
v37
Log output
No response

Hey @JeanlChristophe
I've tested this issue and found the cause.
After you click on the sign in button in the bitkit widgets session, the app redirects you to the playground website.
But to the wrong URL, example:
https://www.synonym.to/products/slashtags/playground/accounts?user=r99915xj9c7m11z4xeap3n4oepkur8upwptsdxpohrz9zbre1fzy
The right URL should be something like:
https://slashtags.to/playground/accounts?user=r99915xj9c7m11z4xeap3n4oepkur8upwptsdxpohrz9zbre1fzy
@Nazeh should I re-assign this issue to you?

@Nuhvi

@JeanlChristophe already fixed https://github.com/synonymdev/slashtags-playground-auth-demo/pull/3 @rbndg can you merge and deploy it?

Thanks, I am cling the ticket


Fix HDFS container dying in Kerberos Docker Compose setup

Description:
Currently, the HDFS container in our Kerberos Docker Compose setup sometimes stops when the stop-dfs.sh script is run when trying to restart HDFS to apply Kerberos settings. Ideally, the HDFS container should stay alive the entire time.
Acceptance Criteria:

Modify the scripts to allow HDFS container to live

Resolved by Alexey's PR into the kerberos_docker branch.


inference issue for switch expression with generic type

Using dart 3.0.5, flutter 3.10.5 on Linux
I was confused why the following switch expression infers as nothing more specific than Object:
    ImageProvider<Object> func(ProductImageProviderValue value) => switch (value) {
      ProductImageProviderNone() => const AssetImage('assets/placeholder_square.png'),
      ProductImageProviderLoading() => const AssetImage('assets/placeholder_square.png'),
      ProductImageProviderSome(:final imageUrl) => NetworkImage(imageUrl),
    } as ImageProvider<Object>; // necessary cast

I'd like it to infer as the type ImageProvider<Object> and afis the expression should be assignable to it , but if I don't do the cast I get a compile time error saying the type Object isn't assignable to the type ImageProvider.
The type ProductImageProviderValue here is defined as a sealed class:
sealed class ProductImageProviderValue {}

class ProductImageProviderLoading extends ProductImageProviderValue {}

class ProductImageProviderNone extends ProductImageProviderValue {}

class ProductImageProviderSome extends ProductImageProviderValue {
  ProductImageProviderSome(this.imageUrl);
  final String imageUrl;
}

Is this working as intended ?

thanks for explaining that! 😃


Fix Reorder Omega's insertion of the interface and settings menu

There was an issue where the interface would periodically fail to insert itself when starting lessons. It also would fail to insert the menu link for the Settings on the first load but successfully do so when changing the preset during the quiz.
Also finally figured out how to compile to es6 instead of it defaulting to es3. Truthfully I think it can be compiled to es2020 without issue but this is fine.

:heart:


Write unit tests for AccountId

Signed-off-by: Austin Littley<EMAIL_ADDRESS>Resolves #77

Stale


Bugfix/issue 102

This is a huge update of block puller code, which is aimed to fix #102 as well as prepare grounds for fixing other related issues.
This also adds loggers to block pulling code, which were not there before. So newly it is possible to add logs to this code.
It was uneasy to make somehow incremental changes, because the fundamental change was done - separating BlockPullerBehavior to separate file as non-data inner classes tend to produce poor design especially in multithreading environment. This PR does not preserve the original logic of the block puller in many places, but the overall approach was not changed.
I've introduced a lock protecting the integrity of the data, which should prevent the problems of #102. However, at the same time I've identified problem with the QualityScore calculate, which could lead (and in my tests it leads) to a problem that many or all peers end with very low score, which leads to work being reassigned very often, which leads to blocks being delivered by peers that no longer are assigned to download them (the task was assigned to other peer). This leads to great waste of resources and slowing down the download process.
This is a big change and should be tested very carefully and many times again and again as there are no unit tests for this AFAIK.

I get the rational of adding a lockobject, synchronizing access to 3 separate dictionaries is complicated and just asking for concurrency bugs.
Good job.

There is one more bug I am rarely getting, but can't see it, but will fix before submitting latest changes.

One more thing I would suggest is writing unit tests on the puller, we would then be more confident with changes, but that may go as a separate PR.

Yes, tests for the puller would be nice, that was actually where I started more than week ago, but I was not able to make the setup because some classes for that don't support testing yet, or maybe my experience with the code base is not on that level yet.
Anyway, I did analyze the bug and I don't quite understand what happened there, but I added a sanity check that will prevent the crash and won't damage anything, so the bug should be fixed by now.
I've made all requested changes except for this. prefixing for methods as explained.


add compose to fedora

Signed-off-by: baude<EMAIL_ADDRESS>

Hmmm, dunno why this PR didn't automatically merge (seems like it should have).  @baude want me to manually merge it?

OIC...the "commits must have verified [GPG] signatures" setting is turned on...

@Mergifyio refresh

c4704091098054656


Env Management Documentation

Fixes https://github.com/jameshopkins/webapptest/issues/25

@lithin can you review this, since you were the one who created the original issue?


fix(api): make hs wait until idle on deactivate shake

Closes RSS-66
Overview
The above issue seems to be a race condition where hardware control internal state sometimes doesn't update before by the next awaited poll. So this PR adds a wait until h/s state updates to reflect IDLE state.
Changelog

added _wait_for_shake_deactivation

Review requests
I wasn't able to repro the original issue but as long as this fix doesn't cause any existing functionality to fail, and we don't get the above error with the fix, I think we should be okay to call it fixed.
Here's a protocol for testing:
import time

metadata = {
    'protocolName': 'Heater-shaker race condition checker',
    'author': 'Opentrons<EMAIL_ADDRESS>    'apiLevel': '2.13'
}

def run(context):

	p10rack = [context.load_labware('opentrons_96_tiprack_10ul', '5')]
	p20 = context.load_instrument('p20_single_gen2', 'right',
		                                        tip_racks= p10rack)

	# Load Heater-shaker module
	hs_mod = context.load_module("heaterShakerModuleV1", 1)

	# Load adapter + labware on module.
	hs_plate = hs_mod.load_labware("opentrons_96_flat_bottom_adapter_nest_wellplate_200ul_flat")
	other_plate = context.load_labware("biorad_96_wellplate_200ul_pcr", 11)
	reservoir = context.load_labware('usascientific_12_reservoir_22ml', 7)

	p20.pick_up_tip()
	for x in range(10):
		hs_mod.close_labware_latch()
		hs_mod.set_and_wait_for_shake_speed(rpm=300)	# Waits until H/S has reached 300rpm speed. Should retract pipettes before
		context.delay(seconds=5)
		hs_mod.deactivate_shaker()
		hs_mod.open_labware_latch()

Risk assessment
Low if QA H/S protocols work as expected.

Tested on a heater-shaker w/ above protocol.


[Meshery Operator] Meshery Operator Deployment for Multi Cluster Management

_
See mesheryctl Command Tracker for current status of commands.
Replication Steps
To replicate this issue carry out the following steps:

Create two independent minikube clusters using profiles e.g (minikube start --driver=hyperkit -p profile1 & minikube start —-driver=hyperkit -p profile2)
Switch to profile1 and deploy Meshery in the cluster.
Navigate to the Meshery UI(Lifecycle > Connections), where profile1 should appear as a registered cluster.
Ideally, profile2 should also be registered with the Meshery operator deployed, but this is not the case. To register profile2, switch to profile2 and  run mesheryctl system config minikube. This will upload the profile2 kubeconfig to the Meshery UI.

5. In the Meshery UI, click on each cluster to view the status of deployed operators and controllers
6. Profile1 correctly shows the Meshery operator as deployed, but profile2 does not have the operator deployed.
This issue tracks and aims to troubleshoot why profile2 is not properly showing the Meshery operator as deployed after registration and others.
Current Behavior

Meshery is a multi-cluster manager, leveraging the Meshery Operator. The Meshery Operator is a Kubernetes operator responsible for managing the lifecycle of critical Meshery components in each Kubernetes cluster.
The following relationships define how Meshery works with clusters:

One-to-One Relationship: Each Kubernetes cluster should have exactly one Meshery Operator deployed. This applies to both the cluster where the Meshery Server is running (e.g profile1) and any additional registered clusters (e.g., profile2).

Many-to-One Relationship: A single Meshery Server can manage multiple Kubernetes clusters, each with its own Meshery Operator.

However, there is an issue with the current behavior causing meshery not to identify and manage the second cluster:

When profile1 (the cluster where the Meshery Server is deployed) is registered, the Meshery Operator is correctly deployed and its status is displayed in the UI.
When profile2 (a second cluster added using its kubeconfig) is registered, the Meshery Operator is not deployed in this cluster, even though the cluster appears in the Meshery UI as a registered cluster.

This breaks the expected behavior where every cluster managed by Meshery should have its respective Meshery Operator deployed and actively managed.
In summary, we seem to have a broken API service in which Meshery Operators are not properly deployed to “registered” clusters.
Desired Behavior

When mesheryctl system start is executed, this should automatically initiate connections to all active clusters listed in the kubeconfig file. This includes registering each cluster in the Meshery UI and ensuring that the Meshery Operator is deployed in each active cluster.
Related Child Issues

#12705
#12707
#12715
#12716

Other Related Issues

#12704
#12717

Contributor Resources

⌨ mesheryctl Contributing Guide
Beginner's guide to contributing to Meshery and mesheryctl
mesheryctl Command Tracker
Meshery CLI Commands and Documentation
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@Alero-Awani @leecalcote , is this issue up for grabs?
Currently, I'm trying to replicate this, if no one is working on, then may I give it a try?


Empty query params in hapi framework

Issue
When I make a GET request to hapi.js based server like http://localhost:8000?ekstern_id=astrinfsds&name=elo, request.query in handler function is empty {}
In my code snippet, I included test functions for request-promise-native(deprecated), Axios, curl calls - that works - query params are present - same as when doing request from the browser.
Reproduction
Steps to reproduce the behavior:

npm i<EMAIL_ADDRESS><EMAIL_ADDRESS>request-promise-native axios
run server

const Hapi = require('@hapi/hapi');//<EMAIL_ADDRESS>but even @latest

const init = async () => {

  const server = Hapi.server({
    port: 8000,
  });

  server.route({
    method: 'GET',
    path: '/',
    handler: function (request, h) {

      console.log(request.query, request.payload);
      return [];
    }
  });
  await server.start();
  console.info('Server started on ' + server.info.uri + '.');
}

process.on('unhandledRejection', (err) => {
  console.error(err.message, err);
  process.exit(1);
});

init();

Run test functions and see what is logged by the route handler function

const fetch = require('node-fetch'); //<EMAIL_ADDRESS>const url = 'http://localhost:8000?ekstern_id=astrinfsds&name=elo';
async function getData() {

  const response = await fetch(url);
  const users = await response.json();
  console.log(users, users.length);
}

const request = require('request-promise-native');
async function getData2() {
  const response = await request(url, {
    method: 'GET',
    json: true,
    body: undefined,
    headers: {
      Accept: 'application/json'
    },
    resolveWithFullResponse: true,
  });
  console.log(response.body)
}
const axios = require('axios');
async function getDataAxios() {
  const response = await axios.get(url);
  console.log(response)
}

//curl -H "Content-Type: application/json" -X GET "http://localhost:8000?ekstern_id=astrinfsds&name=elo"

Expected behavior
request.query in hapi handler is not empty
Your Environment

software
version

node-fetch
2.6.6

node
14.18.1 locally, but also 10.17 on production

npm
8.1.2

@hapi/hapi
18.4.1 but also @latest

Operating System
ubuntu locally, but also alpine based image on prod

Additional context
I'm using custom module to sign requests between backend servers - and this library is using node-fetch, therefore I very much need it to support query params - since I'm not able to replace nor update framework and service that is using it

Nvm, it seems that I was testing with scratch file in project with version 2.6.3 - which - using latest node shows upon installing
"npm WARN deprecated<EMAIL_ADDRESS>v2.6.3 cause bug where query params where not included"
I will retest this using latest package only, and close the issue then.


Getting DB/table information

Hi there, first of all thanks for writing this awesome project.
What are you thoughts on adding a way to get db/table size to this library? I was thinking something along the lines of:
db = DB(profile='default')
db.size  # Returns db size
db.tables.my_table.size  # Returns table size
db.tables.my_table.rows  # Returns number of rows

The ability to run EXPLAIN statements would also be really useful.

What do you mean by table/db size?

For example, postgresql has "pg_database_size(name)" that returns the disk size used by the DB.

It's a sysadmin's related feature, I think it's getting out of project focus.

This issue can be closed. The pull request 64 already merged, meet the needs of this request.

Well, it depends on how you look at it I suppose. I would think this project's focus is to make it easier to talk to databases and that includes getting information about them or the tables inside.
Just my two cents though ;)


Keyboard Shortcut

Would it be possible to add a keyboard shortcut for the FUBAR button? Or to bring up the mod UI?
When switching back and forth between triple screens my ui elements go off the screen and I can't access the mod menu anymore.
Also can you tag this as being compatible with game version 0.2.0?

Sure, I could add a keybind that triggers the UI, that's a good idea.

Solved in https://github.com/Falki-git/I-Wish-They-Made-UI-Customizable/pull/4

Thank you!


[SMALLFIX] Minor javadoc cleanup

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/6726/
Test FAILed.

Jenkins, test this please

LGTM

+1 LGTM

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/6740/
Test PASSed.


Proposal: Use in-house mirroring for slow internet connections

Docker 1.3 made it fairly simple to use an in-house registry to pull public docker images: https://github.com/docker/docker/blob/master/docs/sources/articles/registry_mirror.md
Providing a deisctl command to use an in-house registry when your outbound internet connection is slow, would allow pre-seeding, faster new node boot times and decrease the overall deis download size as layer downloads like ubuntu-debootstrap are shared between nodes.
//cc @aledbf , @jperville
This would allow to remove all download timeout hacks like https://github.com/deis/deis/pull/2305 and the local building of slugrunner and -builder.

A fixed version of docker is now available in CoreOS stable and I created a PR #2981.


How to use a tracking image?

How to use a tracking image? clients that have javascript disabled.

Hello, same https://github.com/mikecao/umami/issues/1128 :)

There is no way currently. It is something on our roadmap.


Fix exported image can't be deleted after volume removed

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Problem:

deletionTimestamp will be updated when vmImage is deleted, which triggers webhook of vmimage. Since PVC no longer exists, validate failed.
Solution:

if deletionTimestamp is not zero(deleting vmimage), ignore vmimage update validate
only check pvc exist when vm create
user cannot change spec.sourceType, spec.pvcNamespace, spec.pvcName

Related Issue:
#1602
Test plan:

case 1：

create vm "vm-1"
create a image "img-1" by export the volume used by vm "vm-1"
delete vm "vm-1"
delete image "img-1"
image "img-1" will be deleted

case 2：

create vm "vm-1"
create a image "img-1" by export the volume used by vm "vm-1"
delete vm "vm-1"
update image "img-1" labels
image "img-1" will be updated

Skipping validation on deletion may not cover all cases. Consider the following one:

Create a VMImage from a volume. Wait until it's imported.
Delete the volume.
Now updating the VMImage(e.g., set labels) results in the same error given that the source PVC in its spec is gone. This image is still valid and the operation should be supported.

I think we should skip the source PVC check after an image is imported.

Updated


Fix Select2 RustDoc

The Select2 struct's RustDoc incorrectly refers to the no longer extant merge combinator. I've updated the RustDoc to refer to the select2 combinator instead, and added a link to that method.

Thanks!


Bug Report: Chart Crashing

Idk how this happened, but when i tried to grab a psych engine chart that had no events, and then that happened.

make sure there's a Inst.ogg (at least) in Your Mod/songs/your song/

there was both an inst, and a voice file, but it does that anyways.

Fixed the FlxBar issue in the new update.


activate GitHub pages

could you activate GitHub's "pages" option in the settings of this repo so github hosts this repo as a web page?
This would make it easy to see how the cp.css looks in action.

There is github pages already, maybe it should be linked as home page https://susam.github.io/spcss/
I would add twitter card and Facebook open graph images so it look better on twitter and Facebook. So you get more users because less people will click the link.
NOTE you can also add image to GitHub repo in settings so it will attract more users.

i see.
closed this ticket, since demo link in reame is now clearer and links to github oages,


web chat 404

jdk21
pinpoint v3.0.1
웹에서 오류가 발생했습니다. 캡처는 다음과 같습니다.
모두 404

Hello @srchen1987
Please refer to the guide article below to enable the feature.
https://pinpoint-apm.gitbook.io/pinpoint/documents/new-inspector

Hello @srchen1987 Please refer to the guide article below to enable the feature. https://pinpoint-apm.gitbook.io/pinpoint/documents/new-inspector

txh


[NO-JIRA] - Syncing  Kustomize and Openshift Template manifests

Signed-off-by: Mauricio Magnani<EMAIL_ADDRESS>Insert JIRA Issue number and update link
PR owner checklist
Please make sure that your PR meets the following requirements:

[ ] Your code is properly formatted according to this configuration.
Run mvn clean verify -DskipTests so that imports are correctly set.
[ ] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[ ] The layers in the kustomize folder have been updated accordingly.
[ ] All new functionality is tested
[ ] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

PR reviewer(s) checklist

[ ] Check if code and Github action workflows have been modified and if the modification is safe
[ ] If the modification is safe, add the safe to test label

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

Deploy BOT
Comment with `/deploy <dev,stable> when the PR has been merged to deploy to a target environment.

Just add an empty line in the root pom.xml and the CI will be triggered


Ensure log messages are flushed

In a console log like this
Building contracts/cw3-flex-multisig ...
   Compiling cw4 v0.6.0-beta1 (/code/packages/cw4)
   Compiling cw3-flex-multisig v0.6.0-beta1 (/code/contracts/cw3-flex-multisig)
    Finished release [optimized] target(s) in 30.73s
Building contracts/cw4-group ...
   Compiling cw-controllers v0.6.0-beta1 (/code/packages/controllers)
   Compiling cw4-group v0.6.0-beta1 (/code/contracts/cw4-group)
    Finished release [optimized] target(s) in 21.40s
Building contracts/cw4-stake ...
   Compiling cw4-stake v0.6.0-beta1 (/code/contracts/cw4-stake)
    Finished release [optimized] target(s) in 15.80s
Building contracts/cw721-base ...
   Compiling cw721 v0.6.0-beta1 (/code/packages/cw721)
   Compiling cw721-base v0.6.0-beta1 (/code/contracts/cw721-base)
    Finished release [optimized] target(s) in 26.00s
done.
Optimizing artifacts in workspace...Optimizing ../target/wasm32-unknown-unknown/release/deps/cw1155_base.wasm...done.
Optimizing ../target/wasm32-unknown-unknown/release/deps/cw1_subkeys.wasm...done.
Optimizing ../target/wasm32-unknown-unknown/release/deps/cw1_whitelist.wasm...done.
Optimizing ../target/wasm32-unknown-unknown/release/deps/cw20_atomic_swap.wasm...done.

Too long with no output (exceeded 10m0s): context deadline exceeded

it is hard to understand at which point exactly the build hangs. Part of it is because it is not shown which file is currently optimized. It is very unlikely that the echo command causes problems. But because we use echo -n it is likely the console log is printed but not flushed (by the shell, by docker or by cirlceci). I think we should remove the -ns in order to get partial information directly.

Yes. I did that as part of my experiments yesterday. See https://app.circleci.com/pipelines/github/CosmWasm/cosmwasm-plus/1148/workflows/26b91932-deeb-4738-ba31-ae64d84679d7/jobs/20398
The information is more clear, but I didn't change it, because I wanted to do minimal changes to make it work. OK with changing it.


Change Deleted Flag to Active

The models currently have a deleted flag that is set by default to false and gets set to true if that object is deleted. Because it's set to false when they're active, the admin page shows a negative red picture. For better user experience I think this should be changed to an active flag that shows a green checkmark instead.

Was completed in PR #108


Web UI initial code

This PR is a tentative to add a web UI to the wallet.
Test with

scripts/preprodLocalNode.sh in one terminal
scripts/preprodLocalWallet.sh in another
access http://localhost:8090 from the browser

superseded by  #4712


Speedlimit signs

Great job for this game! Congratulations.
But I've a problem. I can't see numbers in speedlimit signs. Any suggestion?
I open the

I'm seeking in dashboard.css
I think that it about z-index property.

@oskiitar
What browser on your device?
Just checked, on the phone in safari and in firefox could not reproduce this problem.

Google Chrome. Thanks
Im trying in mozilla firefox with same result.
El mié., 30 sept. 2020 11:39, Dmitriy<EMAIL_ADDRESS>escribió:

@oskiitar https://github.com/oskiitar
What browser on your device?
Just checked, on the phone in safari and in firefox could not reproduce
this problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mike-koch/ets2-mobile-route-advisor/issues/185#issuecomment-701281065,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHHKKBJOKITDMBCOVKBKJPDSIL4DLANCNFSM4PBLIZYA
.

use safari

Go to dashboard.js, search for speedLimit and if you see something like this:     data.navigation.speedLimitMph = data.navigation.speedLimit * .621371; remove * .621371. I don't know if it works for mph tested for km/h and it works


Replace libdparse with DMD in StyleChecker

https://github.com/Dlang-UPB/D-scanner/pull/64 cont.
This check signals declarations that don't follow the Dlang style guidelines:

Modules / Packages
Variables
Classes
Structs
Interfaces
Unions
Enums
Templates
Functions
Windows functions with no body are exempt from this check

mind the conflict.