[improve][broker] Skip unloading when bundle throughput is zero (ExtensibleLoadManagerImpl only)

Motivation

If throughput is zero, we better skip the unloading. Otherwise, leader could keep unloading zero throughput bundles back and forth.
Modifications

do not report zero throughput bundles in the bundle load reporter
do not unload zero throughput bundles  in the TransferShedder

Verifying this change

[x] Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

/pulsarbot run-failure-checks

Codecov Report
Attention: Patch coverage is 62.50000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 74.33%. Comparing base (bbc6224) to head (0d7d60a).
Report is 741 commits behind head on master.

Files with missing lines
Patch %
Lines

...dbalance/extensions/scheduler/TransferShedder.java
40.00%
1 Missing and 2 partials :warning:

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23626      +/-   ##
============================================
+ Coverage     73.57%   74.33%   +0.76%
- Complexity    32624    34454    +1830
============================================
  Files          1877     1944      +67
  Lines        139502   147144    +7642
  Branches      15299    16228     +929
============================================
+ Hits         102638   109383    +6745
- Misses        28908    29328     +420
- Partials       7956     8433     +477

Flag
Coverage Δ

inttests
27.34% <37.50%> (+2.75%)
:arrow_up:

systests
24.34% <0.00%> (+0.02%)
:arrow_up:

unittests
73.72% <62.50%> (+0.87%)
:arrow_up:

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

Files with missing lines
Coverage Δ

...ker/loadbalance/extensions/models/TopKBundles.java
91.13% <100.00%> (+0.34%)
:arrow_up:

...dbalance/extensions/scheduler/TransferShedder.java
81.11% <40.00%> (-1.81%)
:arrow_down:

... and 659 files with indirect coverage changes

----
🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests
JS Bundle Analysis - Avoid shipping oversized bundles


[Hello World]:  Added comment to stub and Instruction Append

Please see this forum discussion for details.
Added a comment to warn students that they need to adjust the export line in the stub file:
  (func (export "hello") (result i32 i32)
    (i32.const 64) (i32.const 14)
  )

"Goodby, Mars!" is 14, but "Hello, World!" is 13, so if (i32.const 14) is not changed, the student won't pass the tests.
Also added a caution level instruction append to alert students.
Conversely, the stub can be altered so that it is already 13 -- but then it won't match "Goodby, Mars!".

Thank you! 💙
@ErikSchierboom You happy with this - if so, let's merge it before Nov starts pls! :)

LGTM. A tiny nit is that "Web Assembly" should be written as one word "WebAssembly." I've approved because it's not worth delaying this given how close we are to the start of the month.

@bushidocodes  -- corrected.  Thanks for pointing it out!  😄

@ErikSchierboom @bushidocodes  - ready for merge (I think!).

Thanks!


How to change the S3 bucket and location

Hey,
Is it possible to change the S3 bucket, path and file name?
I'm using Lambda so I can't save it locally and upload it.
Thanks

Ended up using copyObject and delete it after.


OCR TFLITE

Previously we succesfully created TFLite models for CRAFT text detector. But text detectors are generally aren't much use if it's not combined with OCR and I think there aren't much opensource tflite models are available in OCR. So I did as small research and initially converted captcha ocr to tflite which is giving almost same results as original model.
Please find this repo for the source code.
FYI : Also observed that training with tf-nightly resulted in improvement of accuracy (Compared with tensorflow-2.3 keeping all other parameters kept constant)
@sayakpaul

On-device OCR is pretty useful in my opinion.
Just for more clarification, @tulasiram58827 took the model as shown in this official Keras example, was able to successfully convert it to TFLite. He also plans to try out EasyOCR to see if their pre-trained models could be converted to TFLite. This will be particularly useful since EasyOCR has multilingual support and the performance of their pre-trained models is vetted.
@tulasiram58827 could you send a PR enlisting this project?
Cc: @khanhlvg @margaretmz

Created PR

Hi everyone, While converting EasyOCR to ONNX I am facing not supported operator issues. So I decided to convert Keras OCR to TFLite and succesfully converted to TFLite. Also succesfully did inference and also benchmarked the dynamic range and float16 quantized model. I am in the process of creating small dataset required for integer quantization.
Please follow this notebook for the conversion process and inference and also the benchmarks. @sayakpaul
CC: @khanhlvg @margaretmz

This is really wonderful.
Keras OCR is indeed a fantastic project that allows us to run off-the-shelf OCR inference and even fine-tune OCR models. @tulasiram58827 I would suggest publishing these models on TF Hub as well.
Also, here are a couple of comments on the notebook -

Provide citation to the code where needed.
It looks like you have uploaded images to the Colab runtime for inference purposes. I would suggest hosting those images first (you can imgbb.com), retrieve them on Colab using wget or something similar and then do the inference part. This makes it fully executable on Colab without any problems.
With respect to "Note : Support for CTC Decoder is not available in TFLite yet. So while converting we removed CTCDecoder in model part. We need to run Decoder from the output of the model." I would recommend adding a few more sentences to point out to the exact code that was used to achieve this. You can also add comments in the code snippets.
Include the inference results.
In the Benchmark sections, just include the information that matters. Memory usage, inference latency, for example.
Maybe run an ls for the TFLite model sizes?

Created PR for publishing TFLite Models. Updated Notebook with all the points mentioned.

Looks good to me.
So, in build_model the CTC Decoder part is being discarded. Right? You can lament about it in the notebook. You can also clear out the unnecessary outputs. The rest of the things look pretty good.

Done.

Problems with Integer Quantizations:
1. Integer Quantization:
I am successfully able to convert using Integer Quantization . But while doing inferencing I am facing issues:

RuntimeError: tensorflow/lite/kernels/kernel_util.cc:309 scale_diff / output_scale <= 0.02 was not true.Node number 22 (FULLY_CONNECTED) failed to prepare.

2. Fully Integer Quantization:
This is the error log while converting using Fully Integer Quantization technique:

RuntimeError: Quantization not yet supported for op: 'FLOOR'.
Quantization not yet supported for op: 'CAST'.
Quantization not yet supported for op: 'CAST'.
Quantization not yet supported for op: 'CAST'.
Quantization not yet supported for op: 'FLOOR'.
Quantization not yet supported for op: 'CAST'.
Quantization not yet supported for op: 'CAST'.
Quantization not yet supported for op: 'CAST'.
Quantization not yet supported for op: 'ADD_N'.
Quantization not yet supported for op: 'REVERSE_V2'.
Quantization not yet supported for op: 'REVERSE_V2'.
Quantization not yet supported for op: 'EXP'.
Quantization not yet supported for op: 'DIV'.

You can reproduce the same with this Notebook
@khanhlvg

Hi @khanhlvg
I have been working on conversion of EasyOCR to TFLite . I have been getting this error while converting to TFLite.

ConverterError: input resource[0] expected type resource != float, the type of assignvariableop_resource_0[0]
In {{node AssignVariableOp}}

I successfully converted the PyTorch Model to ONNX and ran the inference with sample data and the results are matching correctly. So I hope there are no issues in PyTorch --> ONNX conversion. Even there are no issues in converting to TensorFlow SavedModel. I am getting the error while converting the SavedModel to TFLite.
FYI: Model consists of 2 layer Bi-Directional LSTM cells.
I have attached all the details in this Notebook . To reproduce the above error you can use the same Notebook.

Hi @khanhlvg
To study the above issue further and find out the reason I created a simple LSTM layer model in PyTorch and tried converting to TFLite. I came across the same error mentioned in the previous comment. Sharing the Notebook with you. Hope it helps you.

The issue came from the fact that the SavedModel contains mutable variable, which isn't supported by TFLite Converter. I think it may come from the PyTorch -> ONNX -> TF conversion pipeline rather than from the fact that it's a LSTM and not being supported. I'm waiting for a TFLite engineer do take a further investigation. I'll keep you posted.

Okay. Thanks, @khanhlvg for the update.

What about this one @khanhlvg?
https://github.com/ml-gde/e2e-tflite-tutorials/issues/38#issuecomment-734921176
Could you shed some light on it?

#38 (comment)
Could you shed some light on it?

Unfortunately they are the limitation of the current TFLite integer quantization engine. There isn't much we can do about that.

Using Keras OCR (TFLite model) in an end-to-end scenario (Colab Notebook)
Keras OCR Models on TensorFlow Hub


Test/update action

Coverage remained the same at 75.655% when pulling 0627b87fa3a7b2be0e934171f58507fb6c39483f on Rory-Z:test/update-action into abd65057fc9df58427b38de51b6449449b308159 on emqx:main.


Doesn't work requires "Owner" field non-existent

This looks like great work so far, and I would like to start using it but it is requiring a field "Owner" when trying to create a virtual server that doesn't exist or apply to my use case.

This looks like great work so far, and I would like to start using it but it is requiring a field "Owner" when trying to create a virtual server that doesn't exist or apply to my use case.

Hi @dmoormann-worldline
I think owner should be mandatory when looking up and contacting. You can create an onwer from the contact available in the netbox.
Therefore we still keep this information field.
In case the onwer cannot be identified, assign it to yourself.


The add script button does not update its state

Godot version
v3.5.rc6.official [f05cecdc4]
System information
win10 64
Issue description
In this gif you can see that the add script button still indicates that it is possible to add a script even though the node already has a script added and assigned.
To update the button you must deselect the node and select it again.

Steps to reproduce
See the gif
Minimal reproduction project
...

Duplicated:
https://github.com/godotengine/godot/issues/55237


[One Thing] does not appear in the Menu Bar upon setting. Happens on Mac Sonoma 14.3.1 on M2 Pro

Extension
https://www.raycast.com/pernielsentikaer/one-thing
Description
It worked before I did the system update. Right now upon setting I only see a small popup in the bottom center of the screen (last screenshot) but it never appears in the Menu Bar

Steps To Reproduce

Set One Thing using Raycast Command Bar

Current Behaviour
It does not appear in the Menu Bar
Expected Behaviour
It appears in the Menu Bar

Do you have space in the menubar for the icon (Since it stops a bit before the notch if your machine has that)


Uncaught Exception: Update check failed: (null)

An uncaught exception was reported.
Info:
OS: darwin
Arch: x64
GPMDP Version: 3.0.0
Time: Sun Mar 06 2016 19:46:53 GMT-0500 (EST)
Error:
Update check failed: (null)
Error: Update check failed: (null)
    at Error (native)

This issue was created automatically inside the uncaughtException handler

Raised on electron


Adds max_pending_accept_reset_streams for legacy

Adds this missing function to the legacy client.
#90 was merged with half of #78. This PR is the other half.

Seems the code itself is wrong. I made a patch at https://github.com/hyperium/hyper-util/pull/119.
@allan2 Feel free to merge my commit into this patch. Or @seanmonstar can review #119 instead as I'll actively respond.
Credits are retained. My main target is moving this forward and then https://github.com/hyperium/tonic/pull/1670.

Here you need to update the hyper dependency in Cargo.toml to 1.3.x, because hyper::client::conn::http2::Builder in 1.2.x does not have the max_pending_accept_reset_streams method. The hyper of Cargo.toml of the current master branch is still 1.2.0.


If Eth gas station is down or has not responded use reasonable gas estimate

Currently if will instead just be blank and try to use a 0 gas price.

Can one of you guys (just assigned) do this issue? IMO default to 3


fix the bug of the last batch

This is to fix the last-batch bug which causes the issue https://github.com/bioinf-jku/TTUR/issues/31

Indeed, looks like this commit https://github.com/bioinf-jku/TTUR/commit/a8102a160e40c9034714d08d15b802a163e4bedd#diff-16a2b3d514d50eb45874d4a8d4746357 is the cause of the errors

This is to fix the last-batch bug which causes the issue #31

Thanks for your  contribution, it works for me.


Cross Platform as in Mac, Windows, Linux ?

First i'd like to say 👏 good job on Chromely, Second i like to know whether i can deploy to Mac Os and what is/are the requirements needed.

[x] Question

"First i'd like to say 👏 good job on Chromely , ..."
Thank you.
No Mac OS is not currently supported. Only Windows and Linux. This is highlighted in README.md.
"Chromely uses Windows and Linux native GUI API as chromium hosts.", "Cross-platform - Windows, Linux."
But help and contribution is welcome. I am just not familiar with MacOS. As .NET Core is supported in some versions of MacOS this should be possible with CefGlue using Chromely.CefGlue.Gtk with some tweak.
For Linux, the project is - Chromely.CefGlue.Gtk. This runs on both Windows and Linux.
I have been able to run Chromely.CefGlue.Gtk on Windows. Please see.
I am however having some issues with running on Linux - no errors, but blank screen. I am not sure quite sure if this is because of the known issue with CefGlue on Linux or because of the environment I am testing on. I am using Chromebook. I plan to revisit this with newer version of CefGlue 63.0.3239.132 and a different Linux environment. This is work in progress. But also help is welcome here too.

Recent comment on CefGlue Linux - Comment No. 3

@pushqrdx please see - https://github.com/chromelyapps/Chromely/issues/135


General feedback

Just came across this project and it looks really, really awesome!
I wanted to provide some constructive feedback and ask some questions that might help.
Suggestions

demo url is missing from the github repo settings (I usually skim new projects and this is one of the most important signals I look for)
demo should use more common defaults; asm => typescript or javascript; atom-dark => default or dark; disable line numbering by default
the API seems like it may be a drop-in replacement for prismjs which is awesome, but I don't see this mentioned anywhere. maybe add a "migrating from prism" section or a comparisons section w/ notes about other options?
the demo styling could use some love; on wide screens maybe set the content max-width to be centered at 1000px or something
would love to see a section on how to use w/ react, vue, etc. happy to contribute a minimal react demo or a react npm package wrapper it it helps

Questions

are there other planned packages outside of speed-highlight/core?
const { setTheme, printHighlight } = require('@speed-highlight/core/dist/node/term.js');
what is term? any chance you could make this import a little more clean?

Note: I don't usually provide this level of feedback, but I really like what you've built (I've been struggling w/ prismjs recently), and I see it having the potential to become widely used.

Hello,
Thanks for this amazing feedback, I tried to take all of your suggestions.
I did not create a demo or package for frameworks but you can give it a try if you want.
For the moment there is no package planned outside of speed-highlight/core
And term (now terminal) is an adaptor that allows you to print in the terminal with syntax highlighting on a node or a deno server
Thanks, Mathias


Benchmark Search Algorithm

It would be ideal if there was some sort of integration test that would help gauge changes to the search engine algorithm (such as PageRank boosting, text in <h1> tags, etc).
The only non-trivial, freely available judgement scores I could find are for a medical database (linked to from this article).

FWIW, it would be easier to just scrape Google search results of various static sites instead of manually ranking them.  I strongly suspect that this will still just become a zombie ticket :P

In the past I have looked into creating something like this, I initially looked into using the cranfield dataset as it is probably more of the kind of size that something like Lunr is more commonly used with. I think I ran into problems with translating the description of the query into something that Lunr would understand.
The dataset you linked to seems interesting, though perhaps larger than the typical index size for Lunr. The other thing to keep in mind is that search relevancy isn't exact, and these datasets would only be able to give an indication of results for one kind of data set / use case. If I've learn't anything over the years of developing and maintaining Lunr its that it is used in many varied ways!
I'm more than happy to help though if you are interested in taking something like this on. It would be interesting to compare different search libraries also to see how they compare.

Spent more time on this, there are data sets from Yahoo and Bing for Learn To Rank competitions.  We can use a random subset to train the SVM and go from there.  I've decided to turn this into my lunchtime distraction.

Spent a lot more time on this, found some datasets that are more suitable to the task.  However, it looks like the scoring is not normalized and the min/max values depend on the exact mix of fields being used.  Is this correct?


Propagate sigstore opts to rego data

Ref: EC-447

LGTM, not sure about the ConfigProvider as a name, can't think of anything better though; PolicyConfig PolicyData...

Yeah. I don't love it either. Let's merge it as is. It should be trivial to rename it later when we're wiser.


Azure Cost Utilization overview data

Hi,
First of all, thank you for this script which provides the all necessary inventory data in one excel sheet however I was wondering if you have any plans to incorporate the cost utilization report with TAG columns so that we can also know the exact cost per TAGs across all the subscription? Thank you for this script. :)

Hi,
Thanks for your comment.
We do have plans to release a parallel project named Azure Cost Inventory. But the presentation and the type of data to be presented is going to be slightly different from ARI. I believe it is going to be made available in the late Aug.
Thanks

That's Great news!
Would appreciate if we can pull cost utilization using tags.
Looking forward for the cost inventory  :)
On Fri, 19 Aug 2022, 10:05 pm Claudio Merola, @.***>
wrote:

Hi,
Thanks for your comment.
We do have plans to release a parallel project named Azure Cost Inventory.
But the presentation and the type of data to be presented is going to be
slightly different from ARI. I believe it is going to be made available in
the late Aug.
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/ARI/issues/75#issuecomment-1220874033, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXV4D4PX7WP64AOY7X7UAULVZ6ZVNANCNFSM56RMNYZA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi,
Checking back if the Azure inventory is publicly available? :) Would appreciate if you can update this thread with the link when the project is released. Thanks again.

Hello,
The powershell script to make the inventory is complete for a while, in fact just need to check if it's still working as expected.
I'm waiting for some colleges to finish the presentation part that is going to be a little different there. Hope we can get that before Oct.


LFX Mentorship Task 1 and 2 for Anurag Bhandari (WhiteWolf47)

I have performed both the task with my utmost potential given the time constraint. I'm very thankful for giving me the oppurtunity to take part in this pretest. (i have made separate gh repos for both the tasks which I have mentioned in the md files I have added in https://github.com/WhiteWolf47/ianvs/blob/main/examples/cityscapes/lfx_pretest_WhiteWolf47/task1.md and https://github.com/WhiteWolf47/ianvs/blob/main/examples/cityscapes/lfx_pretest_WhiteWolf47/task2.md)

Thank you for the participation~ After LFX, this PR could be discarded, or replaced as other contents.
Looking forward to seeing you in KubeEdge. :D


Multi-Source Event Processing

Sorry for joining the conversation, but I did not found a description. Is this pr about adding the possibility to track multiple event buses/message sources with a single tracking processor?

@OLibutzki Per my conversations with @smcvb it is indeed.


Enhance NUMA stability and make scheduling more versatile

The schedular is no longer limited to two NUMA domains and the number of partitions per NUMA domain can be adjusted by the CLI option partitions_per_domain

Nice work :)


Reorder the list of parameters on the GetPagedList and GetPagedListAsync so they are the same

Just a little one and low priority, but a nice to have.  The includes parameter is at the end of the async params, but 3rd (or 4th) on the non async.

Yes, I very very want to reorder. But, this is a breaking change, can we postpone to release v2.0? This feature is PR from @msavencov (#15), u can review our discuss.

Done by v2.0.0


Labels options don't work in Voronoi Treemap

In which chart does the bug happen?

Voronoi (Treemap)

RAWGraphs Version
dev
Issue
"Show outline" ans "Show hierarchy" labels option don't work

the labels are there – you can see the bottom of the letters… but it's unreadable because the text is not using inset margins

@redalearning could you provide an example? thanks!

Challenge
Priority

Community engagement and support
56

Knowledge, attitudes, behaviors and motivation of health workers
40

Planning and coordination
22

Monitoring and evaluation
22

Access to reliable and up-to-date information on COVID-19
20

Availability and quality of data
20

Demand generation and communication
17

Financial resources
17

Vaccine distribution, cold chain and logistics
15

COVID-19 surveillance
12

Training and supervision
11

The act of immunization
9

Surveillance for adverse events (AEFIs)
9

I do not know
3

Prioritization and targeting
2


Fix and clean rh.configs.get("token") and similar usages

After introducing better token getting and setting (including how test_account is set and
supporting RH_TOKEN env vars), this cleans up various token usages which either get
the token directly from the config file (bypassing the locally set token and env var), or
worse, write it directly out to the config file (again, incorrectly).
This also introduces support for finding the .env in the base runhouse package path even
when running tests from a different cwd (which Pycharm does by default).

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #294

PR #318

PR #319   👈

This stack of pull requests is managed by Graphite.


Tasks don't run in Python3

Specifically I'm running a simple email task in python 3.4 and the task doesn't run. When I run the process_tasks management command it is just silent. This is even with --log-level=DEBUG.
The same tasks work fine with Python 2.7.

Could you post your tasks.py please?

Regarding the logging mechanism, please see #16.

from background_task import background
from django.conf import settings
from django.core.mail import EmailMessage

from .search_indexes import full_index

@background
def reindex(config_slug, email_address):
    subject = '{} reindex complete.'.format(config_slug.title())
    msg = 'Reindex for {} finished successfully.'.format(config_slug)
    try:
        full_index(config_slug)
    except Exception as e:
        subject = '{} reindexing failed.'.format(config_slug.title())
        msg = 'There was an error while reindexing {}:\n{}'.format(config_slug, e.args)

    email = EmailMessage(subject, msg)
    email.to = [email_address]
    if settings.EMAIL_ADMINS_ON_REINDEX:
        email.bcc = list(settings.ADMINS)

    print('Sending email to {e}:\nSubject: {s}:\n{m}'.format(e=email_address, s=subject, m=msg))
    email.send()

This task works fine in Python2.

Change the relative import (.search_indexes) to an absolute one and it will work.

Made that change and it still isn't working.
The log says, INFO:root:Running Task(myapp.tasks.reindex) when I trigger the task, but the task in the database doesn't get the attempted count incremented and it doesn't move to completed tasks.

Could you give it a try with an empty method to test if it's the background_task that has the Py3 issue or something different, eg something related to full_index.

I reduced the task to:
@background
def reindex(a, b):
    print('done')

This works in python 2 when running the process_tasks command. In python 3 it is silent. Num attempts isn't increased.
I'll create a django project from scratch in python 3 to see if I can reproduce in the simplest state.

I'm not exactly sure what is going on but I did the following to reproduce and this time got an exception (in my actual project, it looks like it is just failing silently).

Created a new django project (called core) in its own virtualenv with Python 3.4 and Django 1.7.10.
Installed django-background-tasks.
Created a tasks.py file with the simple task:

@background
def test():
    print('done')

Imported and ran the test task from the django shell.
Ran ./manage.py process_tasks

I get the following exception:
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/background_task/management/commands/process_tasks.py", line 81, in handle
    if not tasks.run_next_task():
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/background_task/tasks.py", line 107, in run_next_task
    return self._runner.run_next_task(self)
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/django/db/transaction.py", line 394, in inner
    return func(*args, **kwargs)
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/background_task/tasks.py", line 230, in run_next_task
    self.run_task(tasks, task)
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/django/db/transaction.py", line 394, in inner
    return func(*args, **kwargs)
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/background_task/tasks.py", line 220, in run_task
    tasks.run_task(task.task_name, args, kwargs)
  File "/home/chadgh/.virtualenvs/tmp-3b687c658fb88a5/lib/python3.4/site-packages/background_task/tasks.py", line 100, in run_task
    proxy_task = self._tasks[task_name]
KeyError: 'core.tasks.test'

I also attempted this whole process by adding the task calling in a view and hitting the view in a running runserver, then running the process_tasks command. I got the exact same result.

We will try to reproduce this. Did you have specified something in the settings.py and are you using the latest release? Thanks for the additional information @chadgh .

settings.py wasn't changed except for the addition of background_task in the INSTALLED_APPS list.
I've reproduced this using the latest from PyPI (django-background-tasks==1.0.5).

I have the same issue and I created an example django project to reproduce this:
https://github.com/hnakamur/django-background-tasks-example
I attached results for Python 2 and Python 3 to the README at this page.
@philippeowagner Could you have a look at the example above? Thanks!

We fixed the bug, could you @hnakamur @chadgh please give a try to django-background-tasks-1.0.7? It's on PyPI. Thanks.

@philippeowagner I tried django-background-tasks-1.0.7 with Python 3.4.3 and confirmed it works correctly.
https://github.com/hnakamur/django-background-tasks-example/commit/feac03e566023c679c204b4c42a464af60f179e8
Thanks for the quick fix!

BTW @hnakamur you example project is awesome and could help noobies to set up django-background-tasks. It should be mentioned in the README. Is this in your interest as well (or will you drop it as it's fixed?)?

@philippeowagner It's my pleasure! Actually I am a newbie too and thought it is helpful if there is an example project using django-background-tasks.

Great @hnakamur , I will mention it in the README.  :-)

@chadgh feel free if you still perform any issues.

Looks like it is working now. Thanks @philippeowagner @hnakamur for the fix!


Pagination support

#7
Added basic pagination for the ListModelMixin, test passed.
Still needs some revision before merge, somethings could be done better.

This is nice !! thank you for adding this.
I would love to also add a Page streaming option were the WS response with the first page then immediately after the next page and the next without the client requesting the follow up pages. Maybe it would be better to have the an explicit PaginatedList mixin rather than role it into the default list mixin.

This is nice !! thank you for adding this.
I would love to also add a Page streaming option were the WS response with the first page then immediately after the next page and the next without the client requesting the follow up pages. Maybe it would be better to have the an explicit PaginatedList mixin rather than role it into the default list mixin.

Yes, I saw #8 were you request that.
This should be a default behavior? or an attribute to enable it? or a mixin class for it?

This should be a default behavior? or an attribute to enable it? or a mixin class for it?

I think best would be if there are 2 different mixin classes PaginatedList and StreamedList this way it is explicit.

This should be a default behavior? or an attribute to enable it? or a mixin class for it?

I think best would be if there are 2 different mixin classes PaginatedList and StreamedList this way it is explicit.

Ok! and last, should I add LimitOffset pagination only? or the basic PagePagination too?

Ok! and last, should I add LimitOffset pagination only? or the basic PagePagination too?

If you have time to add PagePagination that would be cool but having LimitOffset is already great

@hishnash check the solution seems to work


Improvement: Use CSV for events instead of json (if #13 does not work)

If #13 is not possible, we can also use a csv (as Jekyll supports that as well) for easier management of the events. Currently in the PoC it's a json.

As #13 is possible, we don't need this one.


Provide an option to download pod spec from an external source

fixes #78

The property SpecifiedUsingPodConfiguration should be deprecated in the release notes. And, removed in 3 months time. This property has been replaced by PodSpecType. Acceptable values for PodSpecType are properties, yaml, remote.

The elastic profile config that exists in cruise-config.xml will continue to work until SpecifiedUsingPodConfiguration is removed. However,

if the profile is opened to edit in the profile view, then the plugin validation for required property PodSpecType will occur.
if the profile config is updated via the API, then the plugin validation for required property PodSpecType will occur.

Errors when a pod cannot be created will be logged. Since this plugin does not currently display anything in the server health message when a pod can't be created, the plugin logs are the only source to detect this.

cc @sheroy , @GaneshSPatil , @arvindsv

From an idea perspective, this looks ok to me. I suppose file:/// URLs also work.
/cc @GaneshSPatil

I suppose file:/// URLs also work.

Haven't tried. But, yes. Anything else you want me to check?
Will also add more logging around this.

@varshavaradarajan No. I think that's all. It would have been nice to handle the move from:  (SpecifiedUsingPodConfiguration => true) + body to (PodSpecType => remote) + body  upon starting the UI, but it doesn't fully handle the migration if someone doesn't open it anyway. So, it's ok to document it.

@arvindsv -  Sorry I wasn't clear. If you have a elastic profile config with (SpecifiedUsingPodConfiguration => false) and open that with the new UI, it would have selected pod yaml (PodSpecType => yaml). But you still need to save it for PodSpecType property to appear in the elastic profile config. At least that's what I remember from checking the last time. Will do it again.
It would have been nice to handle the move from: (SpecifiedUsingPodConfiguration => true) + body to (PodSpecType => properties) + body, you mean?

but it doesn't fully handle the migration if someone doesn't open it anyway

Yes, because we do not validate plugin properties when someone edits the xml directly.

It would have been nice to handle the move from: (SpecifiedUsingPodConfiguration => true) + body to (PodSpecType => properties) + body, you mean?

Yes, that. If they've specified properties earlier, it should continue to use it. If they've specified YAML earlier, then it should also use the right radio button selection for it, is what I was thinking. Of course, it won't persist till you click on "Save".

Okay, I'll check that and see if I have to make a change at https://github.com/gocd/kubernetes-elastic-agents/pull/80/files#diff-f511a7b2684c88ecfda256c032a5e2b5R105 to include SpecifiedUsingPodConfiguration till that property is removed. Thank you!

@varshavaradarajan - Thank you for the PR :). A plugin release with your changes is available here. Do you mind updating helm chat with it?
PS: In case if you are submitting the PR on the gocd helm, After this change ElasticProfile config in  preconfigure_serve.sh is not valid.


Add more Markdown & Technical Writing guidelines

Goal of this PR
This PR adds more guidelines to the Markdown style guide, and splits it into multiple sections to make it easier to follow and to reference. The new elements are mostly coming from feedback gathered on the ongoing draft PRs of the repository.

After discussing it, it seems like using American English is not as obvious a decision as I thought :p
What are your preferences team? Vote with emojis
🚀 -> US English
🎉 -> British English
👀 -> Whatever

After discussing it, it seems like using American English is not as obvious a decision as I thought :p

I prefer British in theory, but US in practice 😅 I don't mind it greatly, but I do think we should be consistent.

It's a question that is often asked and has no definitive answer. I've seen some sources for technical writing that advise using Global English rather than US or UK English, but Global/International English tends to use US spellings anyway.
What usually makes the distinction is that:

In the scientific realm, there are more publications written in American English so scientists may have more exposure to it.

And this also applies to tech in general, so it's most often chosen, but I'm also fine with going the other way.


Adds option to date-time component to render date only

Trello

Updates view
Updates documentation
Updates spacing for consistency

These changes add an option to the Datetime fields component to allow the user to choose to render the date fields only.
This option defaults to false so that it is compatible with existing uses of the component.
When set to true it removes the time fields and the “Date” heading, which becomes superfluous in this use case.
It also applies a small change to the vertical spacing between the date and time fields for consistency when only one of these is displayed. This applies in particular when error messages are included.

Great job @davidtrussler 👍🏽


Allow empty claim value to mimic behavior of ASP.NET RequireClaim(type)

Fixes / New Feature #
???
Proposed Changes

Allow empty claim value to mimic behavior of ASP.NET RequireClaim(type)
Refactored the code to remove warnings and messages of compiler in the same file

Hi Ihor!
Thanks for your interest in Ocelot!
Is this PR related to some issue?

The feature branch has been rebased onto ThreeMammals:develop!
Code review has started...

@iam-black Ihor,
Did you create an issue for this?
Or, is the PR related to an existing issue?


update omniauth-oauth2 dependency version from '~> 1.3.1' to '>= 1.5'

👍 @kelevro has this been tested?


Ignore dependabot upgrades for react 18 types (#3308)

Pull request opened by the merge tool on behalf of #3308

Merged in 39563ec91b4216c9031152c562874265752c1699


update the protoc version to 3.12.3 in readme

We use protoc v3.12.3 now (ref: https://github.com/prometheus/prometheus/blob/master/scripts/genproto.sh#L13). Update the readme content.
Signed-off-by: Luke Chen<EMAIL_ADDRESS>

Thanks!


Debugging: Simplification / debug approaches

While looking through #475 it occurred to me that there are a few things about the code that we could simplify that may help with the MacOS rendering issue:

~The in function parameter modifier is used but many functions do not guarantee that the uniform is set. We should ensure all structs are initialized on creation and inout is used if a function will not guarantee the struct is fully written to. Otherwise undefined values could be left in the structs (see this three-mesh-bvh issue)~
Ensure all structs and in out variables are correctly initialized
Cut down on returning within branch conditions (ie set a local result and return that, instead)
Avoid passing global structures to functions where possible. Ie just use the global uniform instead of stringing it through functions if possible.
Potentially related to recursive use of out qualifier parameters?

cc @robertoranon

Note that both gpu path traced examples in the three-mesh-bvh project still work. And swapping to the "OpenGL" backend from "default" (metal) does not fix the issue.

It seems that commenting out the "directLightContribution" function fixes the issue. All other FEATURE_MIS code blocks are still enabled.
// next event estimation
#if FEATURE_MIS

    gl_FragColor.rgb += directLightContribution( - ray.direction, surf, state, hitPoint );

#endif


Investigating code scanning issues

This PR contains the comments and issues that have been identified in the migration steps. It also fixes a bug of not using the correct endpoint for identifying whether there are analyses present.
There is a test file that I added has managed to capture the errors that can and do get generated when toggling the API for security and scanning features, we get 403 and 422 errors that the migration script will need to accommodate and might require some additional sleeping when the settings are toggled, which is present in the test script. Basically when run on the repository (you need to set an environment variable GH_TES_TOKEN) you will see the full end to end situation that needs to be built into the migration script steps.

Looking into this.


Promote slack channel

joinslack.astropy.org

invite sent to<EMAIL_ADDRESS>Let's populate a bit and then invite astropy-dev, eventually astropy and maybe Python FB group.
Also wait to see how many folks we get to ask about upgrading and getting video chat feature (could be really useful for screen sharing).

This was done.


Account

I have my NAMI wallet phrase, but I cannot recover my wallet

@betaconversion are you sure you are imputing the correct thing

@betaconversion Talk to Cardano Support on the Live support page so that your issue can be looked into.


fix(github): update prBodyClosePattern to adapt new github options

Summary

According to pr #3927 , we combined owner and repo into name, so we also need to update prBodyClosePattern
add lodingTemplate of tapd

Does this close any open issues?
relate to #3468
Screenshots
in new pr, we can successfully collect refs_issues_diffs

Other Information
Any other information that is important to this PR.

LGTM.


support external-module-auto-packaging

external-modules-auto-packaging
external-modules-auto-packaging feature allow user to defines externals modules in webpack and the plugin will parse the compilation stat, find out all external packages, include the excluded modules in node_modules within artifact if it is stated as production dependency in package.json.
To enable this feature, simply defines externals in webpack config file and set webpackIncludeModules custom key to be true in serverless.yml. eg.
// webpack.config.js
var nodeExternals = require('webpack-node-externals')

modules.export = {
  // we use webpack-node-externals to excludes all node deps. You can manually set
  // the externals too.
  externals: [nodeExternals()],
}

# serverless.yml
custom:
  webpackIncludeModules: true # enable auto-packing

By default, the plugin will use the package.json file in working directory, If you want to
use a different package conf, set packagePath to your custom package.json. eg:
# serverless.yml
custom:
  webpackIncludeModules:
    packagePath: '../package.json' # relative path to custom package.json file.

Noted that only relative path is supported now.

hey @thenikso . I have created the PR according to what we have discussed in #18 . Wanna have your feedback. 😄

I'll be checking this out asap. thanks @cyyuen!
We should also think how to address #21

@thenikso this new approach will also take the version into account. So #21 should be solved in this way.

I like it 👍 @cyyuen could you please fix the conflicts?
Also if you could also try it all with Serverless rc1 maybe you catch something I'm missing (also in the rest of the plugin). see #28
thanks!


aztk spark cluster submit doesn't work

(envs/python35)  % aztk spark cluster submit --id test_aztk --name pipy examples/src/main/python/pi.py 1000
-------------------------------------------
Spark cluster id:        test_aztk
Spark app name:          pipy
Wait for app completion: True
Application:             examples/src/main/python/pi.py
Application arguments:   ['1000']
-------------------------------------------
Task is waiting to be scheduled.
Task is waiting to be scheduled.
/usr/bin/python3: can't open file '/batch/workitems/test_aztk/job-1/pipy/wd/Users/ges/Work/Trial/azure/data/azuretk/aztk/examples/src/main/python/pi.py': [Errno 2] No such file or directory
Spark application is completed!

I have exactly the same issue, this is a blocker to use aztk, please assist.

Hhm, I wonder if this has to do with it mapping the absolute path on the VM.
Can you in the meantime go on the portal or batchlabs or ssh on the node to see what this wd contains and if this file is at the wrong place or not.
I'll take a look at it today.

actually I was able to repo on OSX

@timotheeguerin
This looks weird to me:
/usr/bin/python3: can't open file '/batch/workitems/test_aztk/...'
Shouldn't the path be /mnt/batch/tasks/workitems/... ? I can't remember the path is remapped once the container is loaded...

I dont think that's the issue @paselem . i think test_aztk is just the pool name. I'm able to repro on OSX

The same errors occurs both on OSX and ubuntu (xenial):
ubuntu@ubuntu-xenial:~/azuretk$ aztk spark cluster submit --id test_aztk --name pipy200 aztk/examples/src/main/python/pi.py 1000
-------------------------------------------
Spark cluster id:        test_aztk
Spark app name:          pipy200
Wait for app completion: True
Application:             aztk/examples/src/main/python/pi.py
Application arguments:   ['1000']
-------------------------------------------
Task is waiting to be scheduled.
Task is waiting to be scheduled.
Output file hasn't been created yet
/usr/bin/python3: can't open file '/batch/workitems/test_aztk/job-1/pipy200/wd/home/ubuntu/azuretk/aztk/examples/src/main/python/pi.py': [Errno 2] No such file or directory
Spark application is completed!

@jiata - I didn't mean the test_aztk is the issue, but rather the initial path. By default on Batch it is /mnt/batch/tasks, but here the path is /batch/workitems/. That looks strange unless were are doing some remapping of /mnt/batch/tasks -> /batch/. If we are, we should probably remove that unless there is a very compelling reason to do so.

We do remap /mnt/batch/tasks to /batch, here. Not entirely sure why that is done except for convenience.

just merged a fix can you guys pull and try again and let us know if it still fails

this issue fixed, thanks.
Now this command does not work anymore, maybe it is related
`aztk spark cluster ssh --id aztk_test_cluster --username spark
bash: sudo docker exec -it spark /bin/bash: No such file or directory`

#157

@davidgreenshtein Just put in a PR to fix your issue. #157


Chat on Whatsapp option appears even when there's no Emergency phone number

Describe the bug
An empty phone number is being passed for Chat on Whatsapp feature even when there's no emergency contact number
To Reproduce
Steps to reproduce the behavior:

Go to '/patients'
Select any patient without emergency contact number
See error

Expected behavior
Click on whatsapp should appear only if that particular number exists
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version Latest

@rithviknishad @Jacobjeevan I'd like to work on this issue

The real issue here is, how are we having patient records without emergency phone number? It is a mandatory field.

I think those patient's data were added before when the emergency phone number was not a mandatory field.

Potentially Create a separate issue to migrate out old data with an empty Emergency Number


feat: port Probability.Process.Filtration

[ ] depends on: #5193

This PR/issue depends on:

leanprover-community/mathlib4#5193
By Dependent Issues (🤖). Happy coding!


Tic Tac Toe game

hello @pranay-poddar i would like to work on this java project so please assign me this issue ;)

Please assign me this issue. I would like to contribute in it under hacktoberfest.

Tic tac toe is already present


enable-auto-commit is not working

The new Spring Boot property spring.kafka.consumer.enable-auto-commit is ignored.
Expected behavour:
When spring.kafka.consumer.enable-auto-commit=false the Message Header should contains Acknowledgment
Workaround:
The autoCommitOffset=false make it work as expected

@ilayaperumalg do you think this is a bug?

These are two different properties.
The first is a kafka client property - the kafka client takes care of the commits itself.
The binder uses the spring-kafka ConcurrentMessageListenerContainer - it has acknowledge modes where the container can commit the offset after the listener has processed a record. You could call it "container commit mode".
Only when using a MANUAL commit mode does the Acknowlegment appear as a header - in MANUAL modes, the user is responsible for acking the message and the container won't do it for you.
In many cases, the container commit modes are all that's needed.
The binder autoCommitOffset property (when false) sets the containers commit (ack) mode to MANUAL.

@garyrussell thank for the explanation but still think it's the same.
Let me know if I'm wrong: Setting the commit to MANUAL in Spring Kafka (enable-auto-commit=false) or Spring Cloud Streams Kafka (autoCommitOffset=false) allows the consumer to Acknowledge the message.
Knowing this, shouldn't Spring Cloud Streams take in consideration enable-auto-commit from Spring Boot when creating the Consumer?

No; as I said they are different.
enable-auto-commit maps to the kafka consumer property enable.auto.commit. When true, the client itself commits offsets (on a schedule).
The container has a bunch of ack modes which apply when enable.auto.commit is false (RECORD, BATCH, ..., MANUAL).
The binder currently does not expose all those modes, just a simple boolean autoCommitOffset which sets the AckMode to MANUAL (instead of the default, BATCH).
In summary, there are 3 types of offset commits

client acks on its own
container acks on behalf of the listener (using several different options)
application acks - enabled by MANUAL ackmode on the container.

Knowing this, shouldn't Spring Cloud Streams take in consideration enable-auto-commit from Spring Boot when creating the Consumer?

Since it means something different, we can't assume the container mode from the client boolean.

Clear. Thank you again!


feat(npm): use executables in path

This PR updates most NPM scripts to not use the relative path but instead leverage the NPM PATH in it's environment: https://docs.npmjs.com/misc/scripts#path
This should address #36

Does PATH include locally installed modules or are we expected to install all of the dependencies in the global context?

:+1:


Age Calculator using Js

Title and Issue number

Build an age calculator using HTML, CSS, and javascript.
Close #496

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

Duplicate project


Is there a way to adjust the color scheme?

I see here that regardless of the original color scheme, the UI scheme is constant. Wondering if there is a good way to match the theme.

You just have to redefine the highlights from https://github.com/rcarriga/nvim-dap-ui/blob/master/lua/dapui/config/highlights.lua. You can do so by using the same command without the default argument.

Ok Thanks.


Nebula on host throws x25519 error on setup

I am trying to setup Nebula on a linux machine (nebula-linux-amd64.tar.gz), followed the instructions up to step 7 but once I get to step 7 and try to run Nebula on my host I get a response of:
FATA[0000] error while unmarshaling ...bytes did not contain a proper nebula X25519 private key banner
I have tried to create my key with openssl, but so far no luck.
Any help is appreciated.

Hi @josh-ho. OpenSSL does not support creation of Nebula certificates. You will need to use the bundled nebula-cert tool to generate Nebula certificates.
Closing for now, thanks!

@rawdigits I've tried to generate a cert with ./nebula-cert ... but I am still getting the same error

My guess would be your config references a pki.key file that exists but is corrupt or empty. We'd need to see your config and key file if they look correct to you.


[doc] Document the distinct types of transactions and their differences

This came up in https://docs.google.com/document/d/1LYTRODgj5GuufocEqKTqzozJJ7MusFOK_s0f8JKoEaw/edit?disco=AAAAWBkBmgk:

The only way to transfer it would be that the bored ape contract defined a transfer API that allows me to call into
That's correct. In the future, you could imagine (e.g.) a transfer ability (and corresponding verifier pass) that allows a programmer to express the intention of this type to be used in unconditional transfers + that would allow us to use the native API on such types.

IOW, native transfers are only available for coin objects. We should document this in https://github.com/MystenLabs/fastnft/blob/main/doc/transactions.md at a high level (at the start of the document), to make the difference between the cold abstract notions of "move call transaction" and "native transaction" more concrete in terms of what they can be used for.

Adding Janet as she's looking for status on this.


ElasticsearchContainer - Multiple instances created when discovery.type=single-node

I am trying to create an elasticsearchcontainer for my CI process but find that the start up time is too long since there are 3-4 instances being launched. I am using scala 2.12 with testcontainers version 1.15
My code:
  val container: ElasticsearchContainer =
    new ElasticsearchContainer("docker.elastic.co/elasticsearch/elasticsearch:7.10.0")
      .withExposedPorts(9300, 9200)
      .withEnv("discovery.type", "single-node")
  container.start()

Result logs:
                     2020-11-23 09:29:44,408 [main] INFO  o.t.utility.RegistryAuthLocator -  Failure when attempting to lookup auth config. Please ignore if you don't have images in an authenticated registry. Details: (dockerImageName: testcontainers/ryuk:0.3.0, configFile: /home/doug/.docker/config.json. Falling back to docker-java default behaviour. Exception message: /home/doug/.docker/config.json (No such file or directory)
                     2020-11-23 09:29:47,803 [main] INFO  o.testcontainers.DockerClientFactory -  Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
                     2020-11-23 09:29:47,806 [main] INFO  o.testcontainers.DockerClientFactory -  Checking the system...
                     2020-11-23 09:29:47,806 [main] INFO  o.testcontainers.DockerClientFactory -  ✔ Docker server version should be at least 1.6.0
                     2020-11-23 09:29:48,164 [main] INFO  o.testcontainers.DockerClientFactory -  ✔ Docker environment should have more than 2GB free disk space
                     2020-11-23 09:29:48,184 [main] INFO  ?.e.c.10.0] -  Starting an elasticsearch container using [docker.elastic.co/elasticsearch/elasticsearch:7.10.0]
                     2020-11-23 09:29:48,208 [main] INFO  ?.e.c.10.0] -  Creating container for image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0
                     2020-11-23 09:29:48,209 [main] INFO  o.t.utility.RegistryAuthLocator -  Failure when attempting to lookup auth config. Please ignore if you don't have images in an authenticated registry. Details: (dockerImageName: docker.elastic.co/elasticsearch/elasticsearch:7.10.0, configFile: /home/doug/.docker/config.json. Falling back to docker-java default behaviour. Exception message: /home/doug/.docker/config.json (No such file or directory)
                     2020-11-23 09:29:48,489 [main] INFO  ?.e.c.10.0] -  Starting container with ID: 8d74e2b0fccb10114301bdaaefec2203804abbc537f059fbea810a4d6ed82e15
                     2020-11-23 09:29:49,378 [main] INFO  ?.e.c.10.0] -  Container docker.elastic.co/elasticsearch/elasticsearch:7.10.0 is starting: 8d74e2b0fccb10114301bdaaefec2203804abbc537f059fbea810a4d6ed82e15
                     2020-11-23 09:29:49,405 [main] INFO  o.t.c.wait.strategy.HttpWaitStrategy -  /loving_wozniak: Waiting for 300 seconds for URL: http://localhost:32799/
                     2020-11-23 09:30:19,193 [main] INFO  ?.e.c.10.0] -  Container docker.elastic.co/elasticsearch/elasticsearch:7.10.0 started in PT30.982S
                     2020-11-23 09:30:19,498 [main] INFO  ?.e.c.10.0] -  Starting an elasticsearch container using [docker.elastic.co/elasticsearch/elasticsearch:7.10.0]
                     2020-11-23 09:30:19,498 [main] INFO  ?.e.c.10.0] -  Creating container for image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0
                     2020-11-23 09:30:20,472 [main] INFO  ?.e.c.10.0] -  Starting container with ID: a8cf1585aa55f5692afaee95c5643f206161913ce3269b6130fb16db89fc56e3
                     2020-11-23 09:30:21,708 [main] INFO  ?.e.c.10.0] -  Container docker.elastic.co/elasticsearch/elasticsearch:7.10.0 is starting: a8cf1585aa55f5692afaee95c5643f206161913ce3269b6130fb16db89fc56e3
                     2020-11-23 09:30:21,721 [main] INFO  o.t.c.wait.strategy.HttpWaitStrategy -  /dazzling_lichterman: Waiting for 300 seconds for URL: http://localhost:32801/
                     2020-11-23 09:30:47,293 [main] INFO  ?.e.c.10.0] -  Container docker.elastic.co/elasticsearch/elasticsearch:7.10.0 started in PT27.795S
                     2020-11-23 09:30:47,295 [main] INFO  ?.e.c.10.0] -  Starting an elasticsearch container using [docker.elastic.co/elasticsearch/elasticsearch:7.10.0]
                     2020-11-23 09:30:47,296 [main] INFO  ?.e.c.10.0] -  Creating container for image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0
                     2020-11-23 09:30:47,701 [main] INFO  ?.e.c.10.0] -  Starting container with ID: 248ec0908480e7b52b9dfb3f23cc728829ac8592db9ad46439c21fca05466714
                     2020-11-23 09:30:48,680 [main] INFO  ?.e.c.10.0] -  Container docker.elastic.co/elasticsearch/elasticsearch:7.10.0 is starting: 248ec0908480e7b52b9dfb3f23cc728829ac8592db9ad46439c21fca05466714
                     2020-11-23 09:30:48,689 [main] INFO  o.t.c.wait.strategy.HttpWaitStrategy -  /jovial_cartwright: Waiting for 300 seconds for URL: http://localhost:32803/
                     2020-11-23 09:31:11,353 [main] INFO  ?.e.c.10.0] -  Container docker.elastic.co/elasticsearch/elasticsearch:7.10.0 started in PT24.058S
                     2020-11-23 09:31:11,356 [main] INFO  ?.e.c.10.0] -  Starting an elasticsearch container using [docker.elastic.co/elasticsearch/elasticsearch:7.10.0]
                     2020-11-23 09:31:11,356 [main] INFO  ?.e.c.10.0] -  Creating container for image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0
                     2020-11-23 09:31:11,666 [main] INFO  ?.e.c.10.0] -  Starting container with ID: 5340ea3df2e6cb4d16953e92852abbdd7c64fa104599ff3608df0df5cf875b23
                     2020-11-23 09:31:12,747 [main] INFO  ?.e.c.10.0] -  Container docker.elastic.co/elasticsearch/elasticsearch:7.10.0 is starting: 5340ea3df2e6cb4d16953e92852abbdd7c64fa104599ff3608df0df5cf875b23
                     2020-11-23 09:31:12,765 [main] INFO  o.t.c.wait.strategy.HttpWaitStrategy -  /sad_poitras: Waiting for 300 seconds for URL: http://localhost:32805/
                     2020-11-23 09:31:37,367 [main] INFO  ?.e.c.10.0] -  Container docker.elastic.co/elasticsearch/elasticsearch:7.10.0 started in PT26.011S

Is there any way to only create one container for elasticsearch or is this expected behavior?

From the logs it is clear that you're starting the container multiple times. I just tried the following test and it started the container only once (as expected):
https://github.com/testcontainers/testcontainers-java/blob/1e597ccd4fa1a7113d3077599e0b13237c1fef51/modules/elasticsearch/src/test/java/org/testcontainers/elasticsearch/ElasticsearchContainerTest.java#L86-L92
Refer to your test engine's docs on how to reuse resources between the tests or use the singleton container approach.

@bsideup thank you for your help. That was indeed the issue :)


Calender is showing every date on sunday

Project Details are :
https://paste.apache.org/cpo8y
Test case is available on VDI.
Go to Sales from Select in Menu
Go to Temperature Compensation from Setups in Menu
File : com/dbz/modules/SAL/dbzTemperatureCompenSetup.mxml
Every Date is labelled with sunday

@aharui Thank u so much


Panic with fleetctl query

What version of fleet are you using (fleet version --full)?
2.0.0rc1
What operating system are you using?
ubuntu 16.04 but running in alpine 3.7 docker container using the default binary compiled by kolide
What did you do?
./fleetctl query --query 'select * from osquery_info;' --labels='All Hosts'
What did you expect to see?
some results as I see in the fleet UI
What did you see instead?
$ ./fleetctl query --query 'select * from osquery_info;' --labels='All Hosts'
⠋ panic: interface conversion: interface {} is nil, not *service.targetTotals
goroutine 1 [running]:
github.com/kolide/fleet/server/service.(*LiveQueryResultsHandler).Totals(...)
/Users/marpaia/go/src/github.com/kolide/fleet/server/service/client_live_query.go:46
main.queryCommand.func1(0xc420248420, 0x0, 0x0)
/Users/marpaia/go/src/github.com/kolide/fleet/cmd/fleetctl/query.go:112 +0xcbb
github.com/kolide/fleet/vendor/github.com/urfave/cli.HandleAction(0x150a0a0, 0xc4201e1080, 0xc420248420, 0xc4201f8500, 0x0)
/Users/marpaia/go/src/github.com/kolide/fleet/vendor/github.com/urfave/cli/app.go:490 +0xc8
github.com/kolide/fleet/vendor/github.com/urfave/cli.Command.Run(0x15c117a, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x15c8111, 0x10, 0x15cda73, ...)
/Users/marpaia/go/src/github.com/kolide/fleet/vendor/github.com/urfave/cli/command.go:210 +0xa36
github.com/kolide/fleet/vendor/github.com/urfave/cli.(*App).Run(0xc4202044e0, 0xc4200c00f0, 0x5, 0x5, 0x0, 0x0)
/Users/marpaia/go/src/github.com/kolide/fleet/vendor/github.com/urfave/cli/app.go:255 +0x6a0
github.com/kolide/fleet/vendor/github.com/urfave/cli.(*App).RunAndExitOnError(0xc4202044e0)
/Users/marpaia/go/src/github.com/kolide/fleet/vendor/github.com/urfave/cli/app.go:276 +0x53
main.main()
/Users/marpaia/go/src/github.com/kolide/fleet/cmd/fleetctl/fleetctl.go:53 +0x8ef
Also was seeing these errors on the fleet server logs:
{"err":"sending: sockjs: session not in open state","msg":"error writing to channel","ts":"2018-06-13T03:30:29.170054645Z"}

Fixed in #1802 (not a part of RC1)

Closing this because we've already merged the fix.


Add deployments resource to the robot-deployer cluster role

In my testing, the cluster role also needed access to the deployments resource.

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Is this PR something that you can review and merge, @donmccasland?
(cc @jtnord)

It's been a year.  Time to let go an move on.


Configuration for .NET 8 (LTS) still pointing to rc2

Today, the github automated workflows switched from rc2 to 8.0.1 .NET release. However, this broke our web app deployment, as the Azure Web service is still using rc2. When is this supposed to switch over?
Azure Web App -> Configuration -> General Settings ->
Stack is .NET the Major Version is .NET 8 (LTS), the minor version is .NET 8 (LTS) (Early Access)
When I check logstream, this is still using rc2. I don't think I can force the settings to 8.0.1 without creating custom docker image?

I was able to manually work around this for now by customizing the download link in the github workflow file to point to rc2, it took a while though. I don't want to move to 8.0.1 online until the default azure app service points to it.


Logging FPS performance in VR Glass

@dingsing2021 @Lixming
We need to log FPS in VR Glass, in log_all_in_one.py, when we run it we saw:
There is no filename startswith 'applogcat' and endswith '.gz', 	pls check the log is whether complete!.
Can you provide the steps to run the Python logger?
Is there any preparation steps before running the logger?

Actually, to log in VR Glass, Getlog_HarmonyOS.bat should be executed firstly.

@Lixming   When executing Getlog_HarmonyOS.bat, there are a few missing dependencies/path, can you list what is required to run?

Please provide the complete steps. Thanks.

I think it has something to do with the date display format on your computer, which is about the file naming in the Getlog_HarmonyOS.bat file. In windows, it can be set as follow:
control panel --> Region --> Change date, time, or number formats -->Date and time formats
short date: yyyy/M/d
long date: yyyy ‘year’ M ‘month’ d 'day'
short time: h:mm:ss
long time:  h:mm:ss:tt
First day of Week: Monday
After correct setting, the file name of log in the figure above will be changed. For more details, please pay attention to the command instructions in the bat file. The following is a correct intermediate log file name：
Logs_3.52_20211011_113656

@Lixming  Thanks that helps, I saw a lot of permission and path issues. Can you take a look?
####Current: 周二 2021/12/21 18:05:23.94
####start to get log to (C:\Users\xxxx\Downloads\log_Harmony\"Logs_3.52_周二 22112_180523")...
!!!!!!!!!!!!!!!!!cant find fastboot64 cmd!!!!!!!!!!!!1!!!
=====================GetLog version 3.52 ================================
Tue Dec 21 18:09:18 PST 2021
7TD0221327008389        device
####find devices ................ [hdb device] .........................
"111111111111111111111111111111111111111111111111111111111111111111111111111"
"Logs_3.52_周二 22112_180523"
"Logs_3.52_NOH-AN01_BSN_7TD0221327008389_Logs_3.52_周二 22112_180524"
"Logs_3.52_NOH-AN01_BSN_7TD0221327008389_Logs_3.52_周二 22112_180524"
####get bugreport to .\bugreport.txt at background
####get boardid to boardid.txt
cat: =============================================================================
WARNING: flat bugreports are deprecated, use adb bugreport <zip_file> instead
/dev/boardconfig_fs: No such file or directory
=============================================================================

####get boardname to boardname.txt
cat: /dev/boardconfig_fs: No such file or directory
####get modemid to modemid.txt
cat: /dev/boardconfig_fs: No such file or directory
adb: error: failed to stat remote object '/proc/device-tree/hisi,boardid': Permission denied
cat: /proc/device-tree/hisi,boardname: Permission denied
/system/bin/sh: can't create /sys/devices/platform/huawei_sensorhub_logbuff/logbuff_config: Permission denied
cat: /sys/devices/amba.0/e804e000.hifidsp/dspdumplog: No such file or directory
cat: /sys/devices/amba.0/0.hifidsp/dspdumplog: No such file or directory
cat: /proc/hifidebug/dspdumplog: No such file or directory
/system/bin/sh: can't create /proc/hi64xxdbg/hi64xxdebug: No such file or directory
####get dmesg to dmesg.txt ...
dmesg: klogctl: Operation not permitted
####get ps list to ps.txt ...
ps: Unknown option c (see "ps --help")
####get ps thread list to ps_t.txt ...
ps: Unknown option c (see "ps --help")
####get properties to prop.txt ...
####get cmdline to cmdline.txt ...
cat: /proc/cmdline: Permission denied
####get main logcat to logcat.txt ...
####get main logcat to logcat.txt ...
####get dontpanic to .\dontpanic ...
adb: error: failed to stat remote object '/data/dontpanic/': No such file or directory
####get pstore to .\pstore
/sys/fs/pstore/: 0 files pulled, 0 skipped.
####get dropbox to .\dropbox ...
adb: error: failed to stat remote object '/data/system/dropbox/': Permission denied
####get tombstones to .\tombstones ...
/data/tombstones/: 0 files pulled, 0 skipped.
####get data file list to .\userdata_check.txt ...
ls: /data: Permission denied
####get system file list to .\system_check.txt
ls: /system/bin/AGPService: Permission denied
ls: /system/bin/HwDistributedNet: Permission denied
ls: /system/bin/HwServiceHost: Permission denied
ls: /system/bin/adbd: Permission denied
ls: /system/bin/apexd: Permission denied
ls: /system/bin/art_apex_boot_integrity: Permission denied
ls: /system/bin/ashmemd: Permission denied
ls: /system/bin/audioserver: Permission denied
ls: /system/bin/auditctl: Permission denied
ls: /system/bin/bastetd: Permission denied
ls: /system/bin/blank_screen: Permission denied
ls: /system/bin/blkid: Permission denied
ls: /system/bin/bms_animation: Permission denied
ls: /system/bin/bootanimation: Permission denied
ls: /system/bin/bootstat: Permission denied
ls: /system/bin/bpfloader: Permission denied
ls: /system/bin/bundle_daemon: Permission denied
ls: /system/bin/cameraserver: Permission denied
ls: /system/bin/clatd: Permission denied
ls: /system/bin/cota_liveupdate: Permission denied
ls: /system/bin/cota_verify: Permission denied
ls: /system/bin/cust_init: Permission denied
ls: /system/bin/decouple_cache: Permission denied
ls: /system/bin/dex2oat: Permission denied
ls: /system/bin/dexoptanalyzer: Permission denied
ls: /system/bin/displayengineserver: Permission denied
ls: /system/bin/displayservice: Permission denied
ls: /system/bin/distributedfiledaemon: Permission denied
ls: /system/bin/distributedfileservice: Permission denied
ls: /system/bin/dnsmasq: Permission denied
ls: /system/bin/drmserver: Permission denied
ls: /system/bin/dubaid: Permission denied
ls: /system/bin/dumpstate: Permission denied
ls: /system/bin/e2fsck: Permission denied
ls: /system/bin/e2fsdroid: Permission denied
ls: /system/bin/emcomd: Permission denied
ls: /system/bin/fbe2_ca_mk: Permission denied
ls: /system/bin/flags_health_check: Permission denied
ls: /system/bin/fsck.exfat: Permission denied
ls: /system/bin/fsck.f2fs: Permission denied
ls: /system/bin/fsck.hmfs: Permission denied
ls: /system/bin/fsck_msdos: Permission denied
ls: /system/bin/fsverity_init: Permission denied
ls: /system/bin/gatekeeperd: Permission denied
ls: /system/bin/gpuservice: Permission denied
ls: /system/bin/hdbd: Permission denied
ls: /system/bin/healthd: Permission denied
ls: /system/bin/heapprofd: Permission denied
ls: /system/bin/hilogd: Permission denied
ls: /system/bin/hiview: Permission denied
ls: /system/bin/hivrarserver: Permission denied
ls: /system/bin/hwinit_hash_check: Permission denied
ls: /system/bin/hwnffserver: Permission denied
ls: /system/bin/hwpged: Permission denied
ls: /system/bin/hwservicemanager: Permission denied
ls: /system/bin/hwsyncd: Permission denied
ls: /system/bin/iGraphicsservice: Permission denied
ls: /system/bin/idmap: Permission denied
ls: /system/bin/idmap2: Permission denied
ls: /system/bin/idmap2d: Permission denied
ls: /system/bin/imagecoreserver: Permission denied
ls: /system/bin/incident_helper: Permission denied
ls: /system/bin/incidentd: Permission denied
ls: /system/bin/init: Permission denied
ls: /system/bin/installd: Permission denied
ls: /system/bin/iorapd: Permission denied
ls: /system/bin/kdump_gzip: Permission denied
ls: /system/bin/keystore: Permission denied
ls: /system/bin/lmkd: Permission denied
ls: /system/bin/logcatz: Permission denied
ls: /system/bin/logd: Permission denied
ls: /system/bin/logdeflatsvr: Permission denied
ls: /system/bin/lpdumpd: Permission denied
ls: /system/bin/make_f2fs: Permission denied
ls: /system/bin/make_hmfs: Permission denied
ls: /system/bin/mdmlogparsesvr: Permission denied
ls: /system/bin/mdnsd: Permission denied
ls: /system/bin/mediadrmserver: Permission denied
ls: /system/bin/mediaextractor: Permission denied
ls: /system/bin/mediametrics: Permission denied
ls: /system/bin/mediaserver: Permission denied
ls: /system/bin/migrate_legacy_obb_data.sh: Permission denied
ls: /system/bin/mke2fs: Permission denied
ls: /system/bin/mtpd: Permission denied
ls: /system/bin/netd: Permission denied
ls: /system/bin/netutils-wrapper-1.0: Permission denied
ls: /system/bin/nmbd: Permission denied
ls: /system/bin/odmf-data-chgrp.sh: Permission denied
ls: /system/bin/powerlogd: Permission denied
ls: /system/bin/pppd: Permission denied
ls: /system/bin/profman: Permission denied
ls: /system/bin/racoon: Permission denied
ls: /system/bin/recovery-persist: Permission denied
ls: /system/bin/rendercomposer: Permission denied
ls: /system/bin/resize.f2fs: Permission denied
ls: /system/bin/resize.hmfs: Permission denied
ls: /system/bin/rss_hwm_reset: Permission denied
ls: /system/bin/sa_main: Permission denied
ls: /system/bin/samgr: Permission denied
ls: /system/bin/sdcard: Permission denied
ls: /system/bin/selinux_dmd: Permission denied
ls: /system/bin/servicemanager: Permission denied
ls: /system/bin/sgdisk: Permission denied
ls: /system/bin/shex: Permission denied
ls: /system/bin/shs: Permission denied
ls: /system/bin/shutdownanimation: Permission denied
ls: /system/bin/simpleperfserver: Permission denied
ls: /system/bin/sload_f2fs: Permission denied
ls: /system/bin/sload_hmfs: Permission denied
ls: /system/bin/smbd: Permission denied
ls: /system/bin/statsd: Permission denied
ls: /system/bin/storaged: Permission denied
ls: /system/bin/surfaceflinger: Permission denied
ls: /system/bin/tee_auth_daemon: Permission denied
ls: /system/bin/thermal-daemon: Permission denied
ls: /system/bin/tombstoned: Permission denied
ls: /system/bin/traced: Permission denied
ls: /system/bin/traced_probes: Permission denied
ls: /system/bin/traceinfoserver: Permission denied
ls: /system/bin/tune2fs: Permission denied
ls: /system/bin/turbozoned: Permission denied
ls: /system/bin/uncrypt: Permission denied
ls: /system/bin/update_engine: Permission denied
ls: /system/bin/usbd: Permission denied
ls: /system/bin/vdc: Permission denied
ls: /system/bin/viewcompiler: Permission denied
ls: /system/bin/vold: Permission denied
ls: /system/bin/vold_prepare_subdirs: Permission denied
ls: /system/bin/volteencryptd: Permission denied
ls: /system/bin/wait_for_keymaster: Permission denied
ls: /system/bin/watchdogd: Permission denied
ls: /system/bin/wificond: Permission denied
ls<EMAIL_ADDRESS>Permission denied
ls<EMAIL_ADDRESS>Permission denied
ls: /system/etc/cgroups.json: Permission denied
ls: /system/etc/logctl_service.sh: Permission denied
ls: /system/etc/selinux/plat_hwservice_contexts: Permission denied
ls: /system/etc/selinux/plat_mac_permissions.xml: Permission denied
ls: /system/hwemui/aimodel: Permission denied
ls: /system/lib/bootstrap: Permission denied
ls: /system/lib64/bootstrap: Permission denied
####get D state process to dmesg_sysrq.txt ...
/system/bin/sh: can't create /proc/sys/kernel/sysrq: Permission denied
/system/bin/sh: can't create /proc/sysrq-trigger: Permission denied
dmesg: klogctl: Operation not permitted
####get all init service status to .\dmesg_service.txt
setprop: failed to set property 'sys.printservice' to 'all'
dmesg: klogctl: Operation not permitted
####get balong_power modem_state to .\modem_state.txt
ls: /sys/devices/platform/balong_power//uevent: Permission denied
ls: /sys/devices/platform/balong_power//modem_state: Permission denied
ls: /sys/devices/platform/balong_power//driver_override: Permission denied
ls: /sys/devices/platform/balong_power//state: Permission denied
ls: /sys/devices/platform/balong_power//modalias: Permission denied
cat: /sys/devices/platform/balong_power/state: Permission denied
cat: /sys/block/mmcblk0/device/name: Permission denied
####get android_logs to .\android_logs ...
adb: error: failed to stat remote object '/data/log/hilogs/': No such file or directory
File Not Found
File Not Found
File Not Found
File Not Found
====================history.log========================
./
        There is no filename startswith 'applogcat' and endswith '.gz',
        pls check the log is whether complete!
Press any key to continue . . .```

"Logs_3.52_NOH-AN01_BSN_7TD0000027008389_Logs_3.52_周二 22112_180524"
The path should not inlcude Chinese characters. Please check carefully for the date display format.

@Lixming the date format is fixed but how to fix the permission issues?
####Current: 2021/12/21 22:49:13.33
####start to get log to (C:\Users\xxxxx\Downloads\log_Harmony\"Logs_3.52_20211221_224913")...
!!!!!!!!!!!!!!!!!cant find fastboot64 cmd!!!!!!!!!!!!1!!!
* daemon not running; starting now at tcp:5037
* daemon started successfully
=====================GetLog version 3.52 ================================
Tue Dec 21 22:53:10 PST 2021
7TD0000027008389        device
####find devices ................ [hdb device] .........................
"111111111111111111111111111111111111111111111111111111111111111111111111111"
"Logs_3.52_20211221_224913"
"Logs_3.52_NOH-AN01_BSN_7TD0000027008389_Logs_3.52_20211221_224915"
"Logs_3.52_NOH-AN01_BSN_7TD0000027008389_Logs_3.52_20211221_224915"
####get bugreport to .\bugreport.txt at background
####get boardid to boardid.txt
cat: /dev/boardconfig_fs=============================================================================
: No such file or directory
WARNING: flat bugreports are deprecated, use adb bugreport <zip_file> instead
=============================================================================

####get boardname to boardname.txt
cat: /dev/boardconfig_fs: No such file or directory
####get modemid to modemid.txt
cat: /dev/boardconfig_fs: No such file or directory
adb: error: failed to stat remote object '/proc/device-tree/hisi,boardid': Permission denied
cat: /proc/device-tree/hisi,boardname: Permission denied
/system/bin/sh: can't create /sys/devices/platform/huawei_sensorhub_logbuff/logbuff_config: Permission denied
cat: /sys/devices/amba.0/e804e000.hifidsp/dspdumplog: No such file or directory
cat: /sys/devices/amba.0/0.hifidsp/dspdumplog: No such file or directory
cat: /proc/hifidebug/dspdumplog: No such file or directory
/system/bin/sh: can't create /proc/hi64xxdbg/hi64xxdebug: No such file or directory
####get dmesg to dmesg.txt ...
dmesg: klogctl: Operation not permitted
####get ps list to ps.txt ...
ps: Unknown option c (see "ps --help")
####get ps thread list to ps_t.txt ...
ps: Unknown option c (see "ps --help")
####get properties to prop.txt ...
####get cmdline to cmdline.txt ...
cat: /proc/cmdline: Permission denied
####get main logcat to logcat.txt ...
####get main logcat to logcat.txt ...
####get dontpanic to .\dontpanic ...
adb: error: failed to stat remote object '/data/dontpanic/': No such file or directory
####get pstore to .\pstore
/sys/fs/pstore/: 0 files pulled, 0 skipped.
####get dropbox to .\dropbox ...
adb: error: failed to stat remote object '/data/system/dropbox/': Permission denied
####get tombstones to .\tombstones ...
/data/tombstones/: 0 files pulled, 0 skipped.
####get data file list to .\userdata_check.txt ...
ls: /data: Permission denied
####get system file list to .\system_check.txt
ls: /system/bin/AGPService: Permission denied
ls: /system/bin/HwDistributedNet: Permission denied
ls: /system/bin/HwServiceHost: Permission denied
ls: /system/bin/adbd: Permission denied
ls: /system/bin/apexd: Permission denied
ls: /system/bin/art_apex_boot_integrity: Permission denied
ls: /system/bin/ashmemd: Permission denied
ls: /system/bin/audioserver: Permission denied
ls: /system/bin/auditctl: Permission denied
ls: /system/bin/bastetd: Permission denied
ls: /system/bin/blank_screen: Permission denied
ls: /system/bin/blkid: Permission denied
ls: /system/bin/bms_animation: Permission denied
ls: /system/bin/bootanimation: Permission denied
ls: /system/bin/bootstat: Permission denied
ls: /system/bin/bpfloader: Permission denied
ls: /system/bin/bundle_daemon: Permission denied
ls: /system/bin/cameraserver: Permission denied
ls: /system/bin/clatd: Permission denied
ls: /system/bin/cota_liveupdate: Permission denied
ls: /system/bin/cota_verify: Permission denied
ls: /system/bin/cust_init: Permission denied
ls: /system/bin/decouple_cache: Permission denied
ls: /system/bin/dex2oat: Permission denied
ls: /system/bin/dexoptanalyzer: Permission denied
ls: /system/bin/displayengineserver: Permission denied
ls: /system/bin/displayservice: Permission denied
ls: /system/bin/distributedfiledaemon: Permission denied
ls: /system/bin/distributedfileservice: Permission denied
ls: /system/bin/dnsmasq: Permission denied
ls: /system/bin/drmserver: Permission denied
ls: /system/bin/dubaid: Permission denied
ls: /system/bin/dumpstate: Permission denied
ls: /system/bin/e2fsck: Permission denied
ls: /system/bin/e2fsdroid: Permission denied
ls: /system/bin/emcomd: Permission denied
ls: /system/bin/fbe2_ca_mk: Permission denied
ls: /system/bin/flags_health_check: Permission denied
ls: /system/bin/fsck.exfat: Permission denied
ls: /system/bin/fsck.f2fs: Permission denied
ls: /system/bin/fsck.hmfs: Permission denied
ls: /system/bin/fsck_msdos: Permission denied
ls: /system/bin/fsverity_init: Permission denied
ls: /system/bin/gatekeeperd: Permission denied
ls: /system/bin/gpuservice: Permission denied
ls: /system/bin/hdbd: Permission denied
ls: /system/bin/healthd: Permission denied
ls: /system/bin/heapprofd: Permission denied
ls: /system/bin/hilogd: Permission denied
ls: /system/bin/hiview: Permission denied
ls: /system/bin/hivrarserver: Permission denied
ls: /system/bin/hwinit_hash_check: Permission denied
ls: /system/bin/hwnffserver: Permission denied
ls: /system/bin/hwpged: Permission denied
ls: /system/bin/hwservicemanager: Permission denied
ls: /system/bin/hwsyncd: Permission denied
ls: /system/bin/iGraphicsservice: Permission denied
ls: /system/bin/idmap: Permission denied
ls: /system/bin/idmap2: Permission denied
ls: /system/bin/idmap2d: Permission denied
ls: /system/bin/imagecoreserver: Permission denied
ls: /system/bin/incident_helper: Permission denied
ls: /system/bin/incidentd: Permission denied
ls: /system/bin/init: Permission denied
ls: /system/bin/installd: Permission denied
ls: /system/bin/iorapd: Permission denied
ls: /system/bin/kdump_gzip: Permission denied
ls: /system/bin/keystore: Permission denied
ls: /system/bin/lmkd: Permission denied
ls: /system/bin/logcatz: Permission denied
ls: /system/bin/logd: Permission denied
ls: /system/bin/logdeflatsvr: Permission denied
ls: /system/bin/lpdumpd: Permission denied
ls: /system/bin/make_f2fs: Permission denied
ls: /system/bin/make_hmfs: Permission denied
ls: /system/bin/mdmlogparsesvr: Permission denied
ls: /system/bin/mdnsd: Permission denied
ls: /system/bin/mediadrmserver: Permission denied
ls: /system/bin/mediaextractor: Permission denied
ls: /system/bin/mediametrics: Permission denied
ls: /system/bin/mediaserver: Permission denied
ls: /system/bin/migrate_legacy_obb_data.sh: Permission denied
ls: /system/bin/mke2fs: Permission denied
ls: /system/bin/mtpd: Permission denied
ls: /system/bin/netd: Permission denied
ls: /system/bin/netutils-wrapper-1.0: Permission denied
ls: /system/bin/nmbd: Permission denied
ls: /system/bin/odmf-data-chgrp.sh: Permission denied
ls: /system/bin/powerlogd: Permission denied
ls: /system/bin/pppd: Permission denied
ls: /system/bin/profman: Permission denied
ls: /system/bin/racoon: Permission denied
ls: /system/bin/recovery-persist: Permission denied
ls: /system/bin/rendercomposer: Permission denied
ls: /system/bin/resize.f2fs: Permission denied
ls: /system/bin/resize.hmfs: Permission denied
ls: /system/bin/rss_hwm_reset: Permission denied
ls: /system/bin/sa_main: Permission denied
ls: /system/bin/samgr: Permission denied
ls: /system/bin/sdcard: Permission denied
ls: /system/bin/selinux_dmd: Permission denied
ls: /system/bin/servicemanager: Permission denied
ls: /system/bin/sgdisk: Permission denied
ls: /system/bin/shex: Permission denied
ls: /system/bin/shs: Permission denied
ls: /system/bin/shutdownanimation: Permission denied
ls: /system/bin/simpleperfserver: Permission denied
ls: /system/bin/sload_f2fs: Permission denied
ls: /system/bin/sload_hmfs: Permission denied
ls: /system/bin/smbd: Permission denied
ls: /system/bin/statsd: Permission denied
ls: /system/bin/storaged: Permission denied
ls: /system/bin/surfaceflinger: Permission denied
ls: /system/bin/tee_auth_daemon: Permission denied
ls: /system/bin/thermal-daemon: Permission denied
ls: /system/bin/tombstoned: Permission denied
ls: /system/bin/traced: Permission denied
ls: /system/bin/traced_probes: Permission denied
ls: /system/bin/traceinfoserver: Permission denied
ls: /system/bin/tune2fs: Permission denied
ls: /system/bin/turbozoned: Permission denied
ls: /system/bin/uncrypt: Permission denied
ls: /system/bin/update_engine: Permission denied
ls: /system/bin/usbd: Permission denied
ls: /system/bin/vdc: Permission denied
ls: /system/bin/viewcompiler: Permission denied
ls: /system/bin/vold: Permission denied
ls: /system/bin/vold_prepare_subdirs: Permission denied
ls: /system/bin/volteencryptd: Permission denied
ls: /system/bin/wait_for_keymaster: Permission denied
ls: /system/bin/watchdogd: Permission denied
ls: /system/bin/wificond: Permission denied
ls<EMAIL_ADDRESS>Permission denied
ls<EMAIL_ADDRESS>Permission denied
ls: /system/etc/cgroups.json: Permission denied
ls: /system/etc/logctl_service.sh: Permission denied
ls: /system/etc/selinux/plat_hwservice_contexts: Permission denied
ls: /system/etc/selinux/plat_mac_permissions.xml: Permission denied
ls: /system/hwemui/aimodel: Permission denied
ls: /system/lib/bootstrap: Permission denied
ls: /system/lib64/bootstrap: Permission denied
####get D state process to dmesg_sysrq.txt ...
/system/bin/sh: can't create /proc/sys/kernel/sysrq: Permission denied
/system/bin/sh: can't create /proc/sysrq-trigger: Permission denied
dmesg: klogctl: Operation not permitted
####get all init service status to .\dmesg_service.txt
setprop: failed to set property 'sys.printservice' to 'all'
dmesg: klogctl: Operation not permitted
####get balong_power modem_state to .\modem_state.txt
ls: /sys/devices/platform/balong_power//uevent: Permission denied
ls: /sys/devices/platform/balong_power//modem_state: Permission denied
ls: /sys/devices/platform/balong_power//driver_override: Permission denied
ls: /sys/devices/platform/balong_power//state: Permission denied
ls: /sys/devices/platform/balong_power//modalias: Permission denied
cat: /sys/devices/platform/balong_power/state: Permission denied
cat: /sys/block/mmcblk0/device/name: Permission denied
####get android_logs to .\android_logs ...
adb: error: failed to stat remote object '/data/log/hilogs/': No such file or directory
File Not Found
File Not Found
File Not Found
File Not Found
====================history.log========================
./
        There is no filename startswith 'applogcat' and endswith '.gz',
        pls check the log is whether complete!
Press any key to continue . . .

Keep the developer option on in the phone settings. If it still doesn't work, you may need a mobile phone that is already root.

Ok, got another rooted phone and it can collect all applogcat files into a log file now.

12-13 19:11:24.049  4164  5198 I VRRenderWalleImpl: [@SDK][VRRenderWalleImpl.cpp:UpdateStatistics](1131): @@@ Render Debug info ::DBG INFO: fps0: 46.3, fps1: 46.2,fps2: 70.0. CPU_LVL: 2, GPU_LVL: 2. CPU_Temp: 0, GPU_Temp: 0.High FPS Mode: True

@Lixming can you explain the definition of:

fps0
fps1
fps2
Thanks

fps0: The frame rate at which the SDK submits the secondary rendering
fps1: The frame rate of rendering
fps2: the frame rate of  unity/unreal app submiting the first rendering

Thanks, for VR browser WebXR WebGL rendering fps, which one should I refer to?

fps0 and fps1 might be useful for you.


updated the plugin to the new build form and removed the git dependency

Hi - I noticed I couldn't use this plugin with the latest version of broccoli so I updated the plugin to use the latest version of broccoli-caching-writer. Seemed to work fine :)

I like what you did there!

cheers - have you taken the changes in - can I switch back to your original
npm repo?
B
2017-01-31 15:24 GMT+00:00 Guillaume Gérard<EMAIL_ADDRESS>
I like what you did there!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Globegitter/broccoli-browser-sync/pull/7#issuecomment-276393246,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AITqHPgEqMlOe9KlCAPQyTf7AtN9hgd2ks5rX1IZgaJpZM4LYkwr
.

AH sorry i'm not a maintainer of this addon :/
I'm just another developer who use this addon and would like to go on broccoli v1.x
But I hope the maintainer will merge it!

If you want the pull request to be merge you should rollback some package modification about name, urls and homepage ;) else we will have some problems for the next release

@Globegitter can this be merged?

Cool - me too
2017-02-04 11:34 GMT+00:00 Guillaume Gérard<EMAIL_ADDRESS>
AH sorry i'm not a maintainer of this addon :/
I'm just another developer who use this addon and would like to go on
broccoli v1.x
But I hope the maintainer will merge it!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Globegitter/broccoli-browser-sync/pull/7#issuecomment-277437787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AITqHF35rCQIVVKxFXjX3vdxbQNjz7Bqks5rZGIvgaJpZM4LYkwr
.

Made the modifications as I didn't know if you were going to merge, and I needed to merge, so was happy to maintain the branch. Will make the changes :)

@Globegitter - have a look at it now

@bvellacott thanks merged :)

Also if you give me your name on npm @bvellacott I can add you as an author there so you can push the update.

Nice job guys, I'm waiting the release :)

@Globegitter - Benjamin Vellacott is the name - cheers

@Globegitter - have you switched to webpack?

@bvellacott Well changed directions quite a bit. Working more on the backend now. The company I am working for now is using webpack but personally not the biggest fan of what I have seen of it :)

Also can not find your profile on npmjs. Can you just send me the link? e.g. https://www.npmjs.com/~globegitter is the one to mine :)

@Globegitter sure - https://www.npmjs.com/~bvellacott - I created a small project with webpack recently and was impressed by parts of it, but I don't know how it scales and I've been meaning to find out - what are your thoughts on webpack then ? - I wonder if I should put this in an email... :)

I use Broccoli and (sometimes) webpack together.
https://github.com/myfreeweb/broccoli-webpack
Sent from my iPhone

On Feb 6, 2017, at 10:22 PM, Benjamin Vellacott<EMAIL_ADDRESS>wrote:
@Globegitter sure - https://www.npmjs.com/~bvellacott - I created a small project with webpack recently and was impressed by parts of it, but I don't know how it scales and I've been meaning to find out - what are your thoughts on webpack then ? - I wonder if I should put this in an email... :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@dustinfarris ok - that's something to consider - cheers


Warning for unused variable file_path in activerecord.rb:24

Getting this warning on running tests
/lib/sinatra/activerecord.rb:24: warning: assigned but unused variable - file_path

Good catch! I will fix this soon

Resolved in https://github.com/sinatra-activerecord/sinatra-activerecord/pull/125


docker run hangs and host disconnects from SSH session with Write failed: Broken pipe

docker info
Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 3
Server Version: 1.13.1
Storage Driver: overlay
 Backing Filesystem: extfs
Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Security Options:
seccomp
 Profile: default
Kernel Version: 3.10.0-514.6.1.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.3 (Maipo)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.451 GiB
Name: Hostname
ID: BOIS:EOIV:GQZ7:VCKW:DKAW:WARD:ZWR7:ORCD:JFRB:GTSE:XXJ4:4CGE
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: true
docker version
Client:
Version:      1.13.1
API version:  1.26
Go version:   go1.7.5
Git commit:   092cba3
Built:        Wed Feb  8 06:38:28 2017
OS/Arch:      linux/amd64
Server:
Version:      1.13.1
API version:  1.26 (minimum version 1.12)
Go version:   go1.7.5
 Git commit:   092cba3
Built:        Wed Feb  8 06:38:28 2017
OS/Arch:      linux/amd64
 Experimental: false
Description
While running a docker run with the following options, docker hangs and freezes the SSH session. Control of the session is only available after the SSH session times out. These are the options,
docker run -d -m 128m --cpu-shares 512 -p 8080:80 --name=test centos7:v2
Running docker normally without the above options does not freeze the session.
Steps to reproduce the issue:
Login to server
Apply CIS security controls on the Docker host (https://benchmarks.cisecurity.org/tools2/docker/CIS_Docker_1.12.0_Benchmark_v1.0.0.pdf)
Run docker run with the above options.
Docker is running on a RHEL 7 host,
[root@hostname ~]# rpm -qa | grep docker
docker-engine-selinux-1.13.1-1.el7.centos.noarch
docker-engine-1.13.1-1.el7.centos.x86_64

It was finally determined that the cause of this issue was Trend Micro Deep Security running on the Docker host that is preventing the run of Docker. Stopping the Trend Micro service (ds_agent) enabled docker to run without issues again while bringing it back up reproduced the issue.
For those interested, the Trend Micro Deep Security Master was 9.6 while the agent version was 9.6.2-7599
Hope this helps someone.


Add eWeLink SA-003 (Already in Zigbee2mqtt)

Hi Friend
Can you please add support for eWeLink SA-003 ? It is recognized by zigbee2mqtt but not in domoticz.

jan 03 18:42:38 raspberrypi npm[461]: zigbee2mqtt:info  2020-01-03 18:42:38: Device '0x00124b001d436ada' is supported, identified as: eWeLink Zigbee smart plug (SA-003-Zigbee)

jan 03 18:42:38 raspberrypi npm[461]: zigbee2mqtt:info  2020-01-03 18:42:38: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x00124b001d436ada","model":"SA-003-Zigbee","vendor":"eWeLink","description":"Zigbee smart plug","supported":true}}'

Link:
https://www.zigbee2mqtt.io/devices/SA-003-Zigbee.html
Thanks!

Done! Could you please update plugin and check?

Thanks again! Works great! Best wishes!


feature: template ovf properties

Fixes #374

@blueorangutan package

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

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

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

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/436 (JID-2092)

cc @DaanHoogland Abhishek is done with the UI component, based on any changes in the API/response we may need to refactor this again (should be quicker now that we've the groundwork complete)

@blueorangutan package

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

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/436 (JID-2173)

Please merge latest master and fix any conflicts? Thanks.
@davidjumani please take over and discuss with @DaanHoogland for any changes in the API/response done in backend.

With @davidjumani

With @Pearl1594

Update - discussed with @DaanHoogland I'll review the backend PR and I'll make further changes in this PR

Tested with backend, will do a final test by tomorrow and merge.


In some web apps, there is an interaction with the JIT compiler that appears to result in the SHA libraries being run in interpreted mode

Here is the related Oracle bug report.
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8023983
Key features:

There is no reliable reproduction.
However, once reproduced in an application it is "always reproducible".
The issue impacts classloader and SSL communications

The classloader impacts can be sidestepped by preloading classes, but the SSL processing continues to be executed in interpreted mode. This provides a hint that that a JIT recompile may be having issues.

This is now listed as resolved on the Oracle bug database.


Any ideas to work around Firefox internal uuid and CORS?

Description
auth0-chrome along with webextension-polyfill makes cross-browser web extension development great, but I'm having an issue with CORS suddenly as I realize I can't possibly whitelist each potential user's Firefox extension internal UUID that auth0 requires.
According to MDN, the extension-uuid is randomly generated, but is static in Chrome.

moz-extension://<extension-UUID>/images/my-image.png"
<extension-UUID> is **not** your extension's ID.
This ID is randomly generated for every browser instance. This prevents websites from fingerprinting a browser by examining the extensions it has installed.

In Chrome, an extension's ID is fixed. When a resource is listed in web_accessible_resources, it is accessible as chrome-extension://<your-extension-id>/<path/to/resource>.

To try and get around the issue, I've tried setting the allowed origins to: moz-extension://* in auth0 but it doesn't seem to be working.
Any ideas on how to approach this?
Expected behaviour
Since Firefox extensions make requests from the internal UUID that's different for every client. This seems to be intentional by Mozilla, but without moz-extension://* support, I'm not sure how to make the extension work with Firefox.
Actual behaviour
The web extension complains: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://<domain>.auth0.com/oauth/token. (Reason: CORS header 'Access-Control-Allow-Origin' missing). This is followed by (Reason: CORS request did not succeed).
All works fine if I whitelist each of my three machine's moz-extension://<internal-uuid>
Steps to reproduce the problem

Follows steps in Getting Started Guide
Caveat - change Allowed Origins (CORS) section to: moz-extension://*
Leverage Webextension-polyfill in other words, require/import library and replace chrome with browser namespace.
Initialize:

const authResult = await new Auth0Chrome(auth0Env.AUTH0_DOMAIN, auth0Env.AUTH0_CLIENT_ID).authenticate({
  scope: 'openid profile offline_access email',
  audience: '<audience>',
  device: 'chrome-extension'
})

Language / Framework Versions

Javascript
No framework

Testing environment

MacOS v10.15.2
Mozilla Firefox v71.0

Screenshots

After reviewing as a team we’ve decided to deprecate this repository
in favor of focusing on more actively leveraged projects. We will be
closing all open issues and pull requests, as a result of these changes.
If you need any further help from our team you can reach out at
Community.Auth0.com -- Thank you for your contributions.


internal/contour: support named container ports

Fixes #175
WIP
Allow services to use a named target port, not just a port number.
In the case that a target port is named, the name will be used for the
name of the cluster. Otherwise, the port number will be used.
Signed-off-by: Dave Cheney<EMAIL_ADDRESS>

Closed by #215