Use case: Allow for jupyter or interactive notebooks via jobset

Interactive jobs can be a very common usecase in HPC and/or DS/ML.
I wanted to play around with using jobsets and I have the following example which creates a jupyter pod and a service.  However, maybe I don't understand headless services, but I am unable to access this service via a port-forward.
My JS job:
apiVersion: jobset.x-k8s.io/v1alpha1
kind: JobSet
metadata:
  name: jupyter
spec:
  suspend: false
  replicatedJobs:
  - name: rj
    network:
      enableDNSHostnames: true
    template:
      spec:
        backoffLimit: 0
        template:
          spec:
            containers:
            - name: jupyterlab
              imagePullPolicy: IfNotPresent
              image: jupyter/tensorflow-notebook:latest
              securityContext:
                runAsUser: 1000
              resources:
                limits:
                  memory: 1Gi
                  cpu: 1
                requests:
                  memory: 1Gi
                  cpu: 1
              ports:
                - containerPort: 8888
                  name: jupyterlab
              env:
              - name: JUPYTER_TOKEN
                value: testing

I can create an example usecase with a Job and a service manually.  Is it in scope to allow for jobset to support something like this?
apiVersion: batch/v1
kind: Job
metadata:
 name: jupyter-job
spec:
 backoffLimit: 0
 template:
   metadata:
     labels:
       app: jupyter
   spec:
     restartPolicy: Never
     containers:
     - name: jupyterlab
       imagePullPolicy: IfNotPresent
       image: jupyter/tensorflow-notebook:latest
       securityContext:
         runAsUser: 1000
       resources:
         limits:
           memory: 1Gi
           cpu: 1
         requests:
           memory: 1Gi
           cpu: 1
       ports:
       - containerPort: 8888
         name: jupyterlab
       env:
       - name: JUPYTER_TOKEN
         value: testing
---
apiVersion: v1
kind: Service
metadata:
 name: jupyter-service
spec:
 selector:
   app: jupyter
 ports:
   - protocol: TCP
     port: 8888
     targetPort: 8888

@danielvegamyhre or @ahg-g any thoughts on this?

@kannon92 I tried this out - and it works OK for me. Could it be something about your development environment? I was using kind on ubuntu 22.04. Here is what I did: https://github.com/researchapps/jobset-jupyter

But I don't think this uses anything with the headless service? I just turned it off, and the notebook still forwards. I think it would mostly be important if different things within a jobset (e.g., more than one pod) needed to communicate. For a one off pod serving something on a single port, we don't need JobSet / the extra DNS.

Thanks @vsoch! I didn’t realize I could use the pod. 🙃
so in our usecase we would want to eventually use an ingress without requiring users to port-forward a pod.  Is it possible to use a headless service with an ingress?

o play around with using jobsets and I have the following example which creates a jupyter pod and a service. However, maybe I don't understand headless services, but I am unable to access this service via a port-forwar

Sorry, I missed this.
The headless service that JobSet creates doesn't create a virtual IP, what it does is trigger creating of the dns records of the pods so that they can be reached using their hostnames. If you notice, the API we have in JobSet is enableDNSHostNames and the headless service is just the implementation detail.

@kannon92 do you want to try anything else? I'm happy to help (with slightly more experience than the first time we chat)!

I don't think there is anything to be done here on the JobSet side. It would be nice to have an example in the repo though.

okay - I updated my example to use a newer (and now pinned) version of JobSet, changed the port-forward to ingress proper, and added the appropriate configs. I'm good to close here if @kannon92 is. We don't have a CLA yet so I can't contribute formally from my work but would be happy to if/when we get that!

This sounds good! Happy to leave it open as a reminder to you @vsoch for the example once you are able to contribute.
Or we can close this for now.

Either works for me - I'm not able to give a good time table for when the lab will have the CLA signed. It's been a hot minute so far. :laughing:

Regardless of the issue I'll add this to my master TODO as a reminder for me.

TODO sounds good then! Thanks for looking into this.


gh-1821 - update to treat nulls as empty strings, with tests

Codecov Report

Merging #1823 into develop will increase coverage by 0.06%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop    #1823      +/-   ##
=============================================
+ Coverage      66.29%   66.36%   +0.06%
- Complexity      2106     2110       +4
=============================================
  Files            838      838
  Lines          27367    27367
  Branches        3490     3490
=============================================
+ Hits           18143    18161      +18
+ Misses          7807     7789      -18
  Partials        1417     1417

Impacted Files
Coverage Δ
Complexity Δ

...ava/uk/gov/gchq/gaffer/types/TypeSubTypeValue.java
91.48% <100%> (+21.27%)
16 <0> (+2)
:arrow_up:

.../main/java/uk/gov/gchq/gaffer/types/TypeValue.java
89.18% <100%> (+21.62%)
13 <0> (+2)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a444662...25e7cfa. Read the comment docs.


Update store_borrow checking in MemoryLifetimeVerifier and fix ForEachLoopUnroll and GenericCloner

We were creating end_borrow of store_borrow after dealloc_stack of its destination. Add verification to raise error in this case and fix ForEachLoopUnroll and GenericCloner where we were doing this.

@swift-ci test


Add NSE Nifty symbol into list.

Add NSE Nifty symbol into list.
Screener: india
Exchange: NSE
Symbol: BankNifty
Description: NSE BankNifty Index

Indices (index) are not supported by TradingView nor the tradingview-ta library (see README.md). Also a duplicate of #14. Closing this issue.


Full end2end training test

lets adda a full end2end training test

Should we test this train function too?

Yeh we probably should


time stamp parses to date

I'm not sure if this is expected behaviour but when automatic parsing is on, a time stamp parses to today's date.

This is expected behaviour as there is no discretion with automatic parsing.
My suggestion is to just use semi-automatic. This seems to be the more popular choice; gives you the control you need but quick to activate as well.


[chip-test] chip_rv_dm_ndm_reset_req_when_ibex_halted

Test point name
chip_rv_dm_ndm_reset_req_when_ibex_halted
Host side component
No response
OpenTitanTool infrastructure implemented
No response
Contact person
msfchaffner, gregac
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[ ] Host-side component developed
[ ] HJSON test plan updated with test name (so it shows up in the dashboard)
[ ] Test added to dvsim nightly regression (and passing at time of checking)

@tjaychen - I see you are working on chip_rv_dm_ndm_reset_req https://github.com/lowRISC/opentitan/issues/15795

hmm... it is very similar. I think @sriyerg will be able to say better whether this should be a separate test or we can roll it into the existing. The current ndm test does not do the specific things this test is looking for, but it would not be hard to roll in (i think).

I am working on this test now. I will consider merging the intent of this test into the existing chip_rv_dm_ndm_reset_req test.

Referencing in https://github.com/lowRISC/opentitan/issues/14145#issuecomment-1314565971 that @tjaychen highlighted. Based on the discussion there about rv_dm work being post M2, this is not an immediate M2 essential task, but @sriyerg is already working on it.


LSEQ and causal tree

First of all thanks for a great writeup on the case study, it's very clear and easy to understand.
Just wondering the LSEQ data type you picked is any different from a causal tree? or they are essentially the same thing just in different names? Thanks.

I'm glad you enjoyed the case study!
In regards to your question, I'm not too familiar with casual trees though they seem somewhat similar. Causal trees are used for tracking the cause and effect relationships between events, right? I suppose that could describe LSEQ, though it's not a perfectly accurate description.
LSEQ isn't so much a data type as it is a data allocation strategy. It keeps track of all of the characters that have already been inserted into the document and is used to determine the position of a new character when it is inserted. When a new character is inserted, it will look at the position of the character before it and after it on the tree and generate a position between them.
It follows a tree structure, but LSEQ trees are dynamic and grow according to how large the document is. That also means that nodes in an LSEQ tree are removed when the corresponding characters are removed. Also, the behavior of an LSEQ tree depends on what level of the tree you're on and which allocation strategy you chose to use.
I think they are different, though I could be wrong.
To read more about it, I would suggest this paper: LSEQ Strategy

Thanks for the explanation, makes perfect sense to me.
I first read about causal tree here, which in turn came from the swarmjs lib, and seemed they were both based on the paper you provided, hence the question :)
That being said, conclave is by far the most concisely implemented and easily understandable version of them all, you guys really did a great job!


Anerdw: Watch venom-3-thaidub.myikas.com

Anerdw requests the watch of the watch_keyword venom-3-thaidub\.myikas\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

venom-3-thaidub\.myikas\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


[WIP] Decommission a worker

What changes are proposed in this pull request?
Add decommision a single worker command.
Why are the changes needed?
https://github.com/Alluxio/alluxio/issues/15343
Does this PR introduce any user facing changes?
Yes, I'll add in the future.
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

@YichuanSun Thanks for your contribution, it looks you have commit a lot of class files and other no need version control files.
BTW, this PR looks redundant to https://github.com/Alluxio/alluxio/pull/14000 , you are always welcome to give any suggestions for https://github.com/Alluxio/alluxio/pull/14000

Sorry, I commit a wrong branch. I will commit a new one later.


Cpp benchmark success but python benchmark failed

I run the cpp benchmark with
./gptSessionBenchmark --model llama --engine_dir /app/tensorrt_llm/examples/llama/tmp/llama/70B/trt_engines/int4_GPTQ/1-gpu/ --batch_size 1 --input_output_len 128,128.
and run python benchmark with
python benchmark.py -m llama_70b --mode plugin --batch_size 1 --input_output_len 128,128 --engine_dir /app/tensorrt_llm/examples/llama/tmp/llama/70B/trt_engines/int4_GPTQ/1-gpu/，then got an error:
File "/code/tensorrt_llm/benchmarks/python/benchmark.py", line 322, in <module>     main(args)   File "/code/tensorrt_llm/benchmarks/python/benchmark.py", line 219, in main     benchmarker = GPTBenchmark(   File "/code/tensorrt_llm/benchmarks/python/gpt_benchmark.py", line 173, in __init__     self.decoder = tensorrt_llm.runtime.GenerationSession(   File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 430, in __init__     raise RuntimeError( RuntimeError: Tensor names in engine are not the same as expected, to use this GenerationSession, you need to use GPTLMHeadModel.prepare_inputs to create TRT Network inputs.

Could u plz try the latest code base to see if the issue still exists or not?
And do u still have further issue or question now? If not, we'll close it soon.


CCSMCDS-115/116 Fix two Toggle issue

This PR fixes two issues related to Toggle buttons

Change code and valueCodeableConcept of Immuno Suppressed observation to match CQL library
Preseve the original pregnant status from Patient's FHIR data

Comments adopted and fixed


⚠ SceneTime has degraded performance

In be713f1, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1445 ms

Resolved: SceneTime performance has improved in a6eda90 after 8 minutes.


MB-6460 Add light link to Storybook

Description
This branch adds the light link styling to the links page in storybook. It also adds styling to the overrides.scss file where the other default link styles reside.
Reviewer Notes
If anyone has specific opinions on how the class was named for this, I would appreciate feedbac on that. Setting global styles can be risky and I want to assure we are all in alignment on how global styles are called.
Setup
yarn-storybook

Global > Typography > Links
Code Review Verification Steps

[x] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[x] Request review from a member of a different team.
[x] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Screenshots
default state:

hover:

focus:

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

Messages

:book:
:link: MB-6460

  Generated by :no_entry_sign: dangerJS against 33f1ff7f5bd1f8b510dca6113917ef4bc5d93a3e

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

Messages

:book:
:link: MB-6460

  Generated by :no_entry_sign: dangerJS against 33f1ff7f5bd1f8b510dca6113917ef4bc5d93a3e


PyArrowFileIO.parse_location return error path for hdfs location.

Apache Iceberg version
None
Please describe the bug 🐞
parse_location method in PyArrowFileIO return error path as follow.

how to fix this bug? I change 'location' to 'uri.path' but still get some errors.
(unable to get root cause for java.lang.NoClassDefFoundError)
(unable to get stack trace for java.lang.NoClassDefFoundError)
hdfsBuilderConnect(forceNewInstance=1, nn=hdfs://xxxxxx, port=0, kerbTicketCachePath=(NULL), userName=(NULL)) error:
(unable to get root cause for java.lang.NoClassDefFoundError)
(unable to get stack trace for java.lang.NoClassDefFoundError)
/arrow/cpp/src/arrow/status.cc:155: Failed to disconnect hdfs client: IOError: HDFS hdfsFS::Disconnect failed. Detail: [errno 9] Bad file descriptor
Traceback (most recent call last):
File "", line 1, in
File "/home/j7nhai/third-party/iceberg-python/pyiceberg/catalog/hive.py", line 312, in create_table
self._write_metadata(metadata, io, metadata_location)
File "/home/j7nhai/third-party/iceberg-python/pyiceberg/catalog/init.py", line 651, in _write_metadata
ToOutputFile.table_metadata(metadata, io.new_output(metadata_path))
File "/home/j7nhai/third-party/iceberg-python/pyiceberg/io/pyarrow.py", line 422, in new_output
fs=self.fs_by_scheme(scheme, netloc),
File "/home/j7nhai/third-party/iceberg-python/pyiceberg/io/pyarrow.py", line 361, in _initialize_fs
return HadoopFileSystem.from_uri(f"{scheme}://{netloc}")
File "pyarrow/_hdfs.pyx", line 134, in pyarrow._hdfs.HadoopFileSystem.from_uri
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
OSError: HDFS connection failed

Hi @luocan17 thank you for raising this issue. I have a PR up to attempt a fix. Could I ask for your review on: https://github.com/apache/iceberg-python/pull/668

Fixed both by @syun64 and @frankliee


ActiveJob::DeserializationError in sidekiq#mailers

Error in Event Data Backend
ActiveJob::DeserializationError in sidekiq#mailers
Error while trying to deserialize arguments: could not obtain a database connection within 5.000 seconds (waited 5.000 seconds)
View on Bugsnag
Stacktrace
vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:189 - block in wait_poll

View full stacktrace

This issue has been unlinked from an error in Bugsnag
ActiveJob::DeserializationError in sidekiq#mailers


QR Code Generation Broken

Before you submit this bug report check that you have run the required setup correctly. Follow the steps on the wiki.
Describe the bug
QR Code is never regenerated even after token revoke. This prevents the easy setup feature from working in the mobile app.
To Reproduce
Steps to reproduce the behavior:

Try to use QR Code
Get invalid token error
Look at token
Realize it is not changing at all...
Lie down and cry

Expected behavior
I wish to be able to use the QR Code for setup.
Screenshots

Desktop (please complete the following information):

OS: macOS 10.13.4
Browser: Google Chrome
Version: sharkNet

Smartphone (please complete the following information):

Device: PH1
OS: Android Pie
Browser: SocialFish
Version: 1.0

Hello, you found a bug. Thanks by reporting to us. We'll work on that soon.

I have created a PR,
https://github.com/UndeadSec/SocialFish/pull/158


Add typing to script functions

Add typing to script functions

fixes #

Checklist:

[ x ] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[ x ] Add or update relevant docs, in the docs folder and in code.
[ x ] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[ x ] Add .. versionchanged:: entries in any relevant code docs.
[ x ] Run pre-commit hooks and fix any issues.
[ x ] Run pytest and tox, no tests failed.

pre-commit.ci is complaining about these two files even though I didn't touch them in this PR:
src/jinja2/nodes.py:138:30: B905 zip() without an explicit strict= parameter.
src/jinja2/compiler.py:1350:29: B905 zip() without an explicit strict= parameter.


Not Working

I have installed the tool and tried the sample check its not working.
Not Working  : By not working i mean there are no trace i can see.
I have added the extension and php.ini parsing and execution where susccessfull

Could you paste command that you run?

Hi @monque  its been around 8 months since i used it.I must have followed the getting started / quick started if any.
FYA am using ubuntu 14.04
uname -a
Linux sarath-exotel 3.13.0-65-generic #105-Ubuntu SMP Mon Sep 21 18:50:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Thanks, I'll check on ubuntu :smile:


We could add a destructor to command objects that prints a warning if they've never been run. (I think the Rust equivalent of this would be the #[must_use] attribute.

God I do this all the time in the repl...


VECTORIZE GEP rule refactor

Branched from PR #5322

In the future, add [run_process_replay] to the title of PRs like this.


Add language identifiers

@NextTurn : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@NextTurn : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Invalid postprocessing?

| Camera Model                       | D415|
| Firmware Version                   |11.6 |
| Operating System & Version | Win10|
| Platform                                 | PC|
| SDK Version                            |2.21|
| Language                            |Matlab |
I set post-processing in the viewer, but there is no post-processing for the depth and point cloud of re-convert.exe. Why?

@nevynwong hi , the post-processing is an on-demand feature that is integrated into the customer code and is not a part of a core data streaming..
While the purpose of rs-convert tool is to transcode depth data into additional formats. Modifying the data on-the-fly is an extension use-case that is not in the scope of the tool.
You can privately modify rs-convert to also include depth post-processing, but it can require significant refactoring as the Temporal filter need multiple (8) consecutive frames to run properly and the rs-convert tool tries to run as much frames as possible in parallel - therefore assumes that there is no inter-frame dependencies.

@ev-mp hi ,It may be difficult for me to modify rs-convert.exe for post-processing, so how do I get the post-processing results?Is there any other way?
Thank you.

You can see how each of the SDK tools are implemented and modify it to your needs.
I'd recommend looking into python APIs.


[ISSUE] Android TV app not launching after simulator launches

Describe the bug
Android TV simulator launches without an error, but the renative starter template  is not launching and dones't seem to be installed.
To Reproduce
rnv run
select androidtv
simulator launches
no app installed
No errors in terminal.
Tried adding Android X Support in case.
Tried cleaning and rebuilding with rnv run -p androidtv -r
Expected behavior
On some of the other renative simulators (tvos for example) the simulator and app launch together.
Screenshots or copy&paste

Desktop (please complete the following information):

OS: MacOS Sonomo 14.1.1
Node Version: v18.19.0
RNV Version: 1.0.0-rc.11 (starter template and CLI)
Android TV Simulator version: 34

Additional context
Simply looking at confirming feasibility of compiling and running on all TV platforms.
Appreciate the help and package. 👋

@iAMkVIN-S thanks for reporting this, what version of renative and template-starter are you using, was this on new project (created via rnv new)?

@iAMkVIN-S thanks for reporting this, what version of renative and template-starter are you using, was this on new project (created via rnv new)?

Hey @pauliusguzas - Thank you for the prompt reply!

RNV Version: 1.0.0-rc.11 (starter template and CLI)

To confirm with the above information, I'm using the most up to date RC version of both the CLI and Template-starter. This was a fresh installation and used the rnv new as documented!

@iAMkVIN-S my bad, somehow missed that you wrote versions already, will check this and get back to you

@iAMkVIN-S could you also add logs of what cli is showing when you are doing run and where is it getting stuck?

I will get the logs for you ASAP - but if memory serves me well, there is no obvious errors shown!

npx rnv run

┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.11                                                  │
│        https://renative.org                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv run                                                         │
│        Start Time: 2024-02-27, 11:11:29 a.m.                                 │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

[ task ] registerEngine:engine-core[1]
[ task ] configureRuntimeDefaults[1] appId:undefined
[ task ] checkAndMigrateProject[1]
[ task ] loadPluginTemplates[1]
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] generatePlatformTemplatePaths[1]
[ task ] checkAndBootstrapIfRequired[1]
[ task ] loadIntegrations[1]
[ task ] loadEngines[1]
[ task ] loadEnginePluginDeps[1]
[ task ] loadEnginePackageDeps[1]
[ task ] findSuitableTask[1]
[ task ] registerAllPlatformEngines[1]
[ task ] registerEngine:engine-rn[1]
[ task ] registerEngine:engine-rn-tvos[1]
[ task ] registerEngine:engine-rn-next[1]
[ task ] findSuitableTask[2]
? Pick a platform for run androidtv
[ info ] Current Engine: engine-rn-tvos path: ./node_modules/@rnv/engine-rn-tvos
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] run
[ task ] => [run]
[ task ] [run] checkIfProjectAndNodeModulesExists[1]
[ hook ] [run] executePipe ('run:before')
[ task ] [run] taskRnvRun[1] parent:undefined port:NaN target:undefined hosted:undefined
[ task ] => [run] => [configure]
[ hook ] [configure] executePipe ('configure:before')
[ task ] [configure] taskRnvConfigure[1]
[ task ] => [configure] => [platform configure]
[ hook ] [platform configure] executePipe ('platform:configure:before')
[ task ] [platform configure] taskRnvPlatformConfigure[1]
[ task ] => [platform configure] => [project configure]
[ hook ] [project configure] executePipe ('project:configure:before')
[ task ] [project configure] taskRnvProjectConfigure[1]
[ task ] [project configure] checkAndMigrateProject[2]
[ task ] [project configure] loadPluginTemplates[2]
[ task ] [project configure] parseRenativeConfigs[2]
[ task ] [project configure] getWorkspaceDirPath[2]
[ task ] [project configure] generatePlatformTemplatePaths[2]
[ task ] => [project configure] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [project configure] <= workspace configure
[ task ] [project configure] checkIfTemplateConfigured[1]
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[1] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] [project configure] checkCrypto[1]
[ task ] [project configure] configureRuntimeDefaults[2] appId:app
[ task ] [project configure] applyTemplate[1] @rnv/template-starter=>undefined
[ task ] [project configure] _applyTemplate[1] current:@rnv/template-starter selected:undefined
[ task ] [project configure] configureRuntimeDefaults[3] appId:app
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[2] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] => [project configure] => [app configure]
[ hook ] [app configure] executePipe ('app:configure:before')
[ task ] [app configure] taskRnvAppConfigure[1]
[ task ] [app configure] listAppConfigsFoldersSync[1] ignoreHiddenConfigs:true
[ task ] [app configure] loadPluginTemplates[3]
[ task ] [app configure] parseRenativeConfigs[3]
[ task ] [app configure] generateBuildConfig[1] size:195.04 KB
[ task ] [app configure] getWorkspaceDirPath[3]
[ task ] [app configure] generateBuildConfig[2] size:195.04 KB
[ task ] [app configure] generateBuildConfig[3] size:195.04 KB
[ task ] [app configure] generateBuildConfig[4] size:195.04 KB
[ task ] [app configure] generatePlatformTemplatePaths[3]
[ task ] [app configure] generateBuildConfig[5] size:208.1 KB
[ task ] [app configure] generateBuildConfig[6] size:208.1 KB
[ task ] [app configure] getWorkspaceDirPath[4]
[ task ] [app configure] generateBuildConfig[7] size:208.1 KB
[ task ] [app configure] generateLocalConfig[1] resetAppId:false
[ task ] [app configure] generateBuildConfig[8] size:208.1 KB
[ info ] [app configure] Current App Config: app
[ hook ] [app configure] executePipe ('app:configure:after')
[ task ] <= [project configure] <= app configure
[ task ] [project configure] versionCheck[1]
[ task ] [project configure] versionCheck:rnvRunner:1.0.0-rc.11,rnvProject:1.0.0-rc.11[1]
[ task ] [project configure] configureEngines[1]
[ task ] [project configure] resolvePluginDependants[1]
[ task ] [project configure] configurePlugins[1]
[ task ] [project configure] configureRuntimeDefaults[4] appId:app
[ task ] [project configure] copyRuntimeAssets[1]
[ task ] [project configure] configureTemplateFiles[1]
[ task ] [project configure] checkAndCreateGitignore[1]
[ task ] [project configure] generateRuntimeConfig[1]
[ task ] [project configure] overrideTemplatePlugins[1]
[ task ] [project configure] parsePlugins[1]
[ info ] [project configure] /react-native-gesture-handler/ios/Handlers/RNHoverHandler.m overriden by: /rnv/pluginTemplates/react-native-gesture-handler/overrides.json
[ info ] [project configure] /react-native-gesture-handler/ios/RNGestureHandlerButtonComponentView.mm overriden by: /rnv/pluginTemplates/react-native-gesture-handler/overrides.json
[ info ] [project configure]<EMAIL_ADDRESS>overriden by: /rnv/pluginTemplates/<EMAIL_ADDRESS>[ info ] [project configure]<EMAIL_ADDRESS>overriden by: /rnv/pluginTemplates/<EMAIL_ADDRESS>[ info ] [project configure]<EMAIL_ADDRESS>overriden by: /rnv/pluginTemplates/<EMAIL_ADDRESS>[ info ] [project configure] Plugin overrides disabled for: next with disablePluginTemplateOverrides. SKIPPING
[ task ] [project configure] parseFonts[1]
[ task ] [project configure] parsePlugins[2]
[ hook ] [project configure] executePipe ('project:configure:after')
[ task ] <= [platform configure] <= project configure
[ task ] [platform configure] isPlatformSupported[1]
[ task ] [platform configure] isBuildSchemeSupported[1]
[ info ] [platform configure] Current Build Scheme: debug
[ task ] [platform configure] checkAndConfigureSdks[1]
[ task ] [platform configure] checkAndConfigureAndroidSdks[1] (/Users/samdore/Library/Android/sdk)
[ task ] [platform configure] checkSdk[1]
[ task ] [platform configure] checkAndroidSdk[1]
[ task ] [platform configure] _isSdkInstalled[1]
[ task ] [platform configure] checkAndConfigureAndroidSdks[2] (/Users/samdore/Library/Android/sdk)
[ task ] [platform configure] configureRuntimeDefaults[5] appId:app
[ task ] => [platform configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[3] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [platform configure] <= install
[ task ] [platform configure] [1] taskRnvPlatformConfigure hasBuildFolderPresent:true
[ task ] [platform configure] createPlatformBuild[1]
[ task ] [platform configure] injectPlatformDependencies[1]
[ hook ] [platform configure] executePipe ('platform:configure:after')
[ task ] <= [configure] <= platform configure
[ task ] [configure] configureEntryPoint[1]
[ task ] [configure] configureGradleProject[1]
[ task ] [configure] copyAssetsFolder[1]
[ info ] [configure] Found custom assetFolderPlatform: android. Will use it instead of deafult androidtv
[ info ] [configure] Found custom assetSources at ./node_modules/@flexn/assets-renative-outline/assets/android. Will be used to generate assets.
[ task ] [configure] configureAndroidProperties[1]
[ task ] [configure] configureProject[1]
[ task ] [configure] parsePlugins[3]
[ task ] [configure] parseFonts[2]
[ task ] [configure] parsePlugins[4]
[ task ] [configure] parseAppBuildGradleSync[1]
[ task ] [configure] parseGradleWrapperSync[1]
[ task ] [configure] copyGradleProjectTemplate[1]
[ task ] [configure] parseAndroidManifestSync[1]
[ task ] [configure] parsePlugins[5]
[ task ] [configure] _checkSigningCerts[1]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/app_androidtv)
[ task ] [configure] parsePlugins[6]
[ task ] [configure] jetifyIfRequired[1]
[ hook ] [configure] executePipe ('configure:after')
[ task ] <= [run] <= configure
[ task ] [run] getAndroidDeviceToRunOn[1] default:Android_TV_720p_API_22
[ task ] [run] getAndroidTargets[1] skipDevices:false skipAvds:false deviceOnly:false
✔ Executing: /Users/samdore/Library/Android/sdk/platform-tools/adb devices -l
✔ Executing: /Users/samdore/Library/Android/sdk/emulator/emulator -list-avds
[ task ] [run] composeDevicesString[1] numDevices:0
[ task ] [run] composeDevicesString[2] numDevices:4
? What emulator would you like to use? Android_TV_720p_API_24 | TV 📺  | arch: x86 | udid: unknown
[ task ] [run] launchAndroidSimulator[1] target:Android_TV_720p_API_24 independentThread:true
[ task ] [run] checkForActiveEmulator[1]
[ task ] [run] getAndroidTargets[2] skipDevices:false skipAvds:true deviceOnly:false
✔ Executing: /Users/samdore/Library/Android/sdk/platform-tools/adb devices -l
✔ Waiting for emulator to boot...
✔ Executing: /Users/samdore/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell wm size
✔ Executing: /Users/samdore/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell wm density
✔ Executing: /Users/samdore/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[ success ] [run] Found active emulator! emulator-5554. Will use it
[ task ] [run] startBundlerIfRequired[1]
[ task ] [run] isBundlerActive[1] (http://<IP_ADDRESS>:8084)
[ task ] => [run] => [start]
[ hook ] [start] executePipe ('start:before')
[ task ] [start] taskRnvStart[1] parent:run port:8084 hosted:false
[ task ] [start] startReactNative[1]

Dev server running at: http://<IP_ADDRESS>:8084/index.bundle?platform=android

[ hook ] [start] executePipe ('start:after')
[ task ] <= [run] <= start
⠋ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[1]
[ task ] [run] _isBundlerRunning[2] (NO)
⠋ Waiting for bundler to finish...warn From React Native 0.72, your metro.config.js file should extend'@react-native/metro-config'. Please see the React Native 0.72 changelog, or copy the template at:
https://github.com/facebook/react-native/blob/main/packages/react-native/template/metro.config.js
warn Falling back to internal defaults.

                        ▒▒▓▓▓▓▒▒
                     ▒▓▓▓▒▒░░▒▒▓▓▓▒
                  ▒▓▓▓▓░░░▒▒▒▒░░░▓▓▓▓▒
                 ▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓
                 ▓▓░░░░░▒▓▓▓▓▓▓▒░░░░░▓▓
                 ▓▓░░▓▓▒░░░▒▒░░░▒▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▒▒▒▒▓▓▓▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░▓▓
                 ▓▓▒░░▒▒▓▓▓▓▓▓▓▓▒░░░▒▓▓
                  ▒▓▓▓▒░░░▒▓▓▒░░░▒▓▓▓▒
                     ▒▓▓▓▒░░░░▒▓▓▓▒
                        ▒▒▓▓▓▓▒▒

                Welcome to Metro v0.76.7
              Fast - Scalable - Integrated

[ task ] [run] _isBundlerRunning[3]
[ task ] [run] _isBundlerRunning[4] (YES)
✔ Waiting for bundler to finish...
[ task ] [run] runAndroid[1] target:emulator-5554
[ task ] [run] _runGradleApp[1]
/bin/sh: adb: command not found
error No Android device or emulator connected.
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  BUNDLER STARTED | 2024-02-27, 11:11:50 a.m.                             │
│  $ npx rnv run                                                               │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.11                                               │
│  Project Name ($package.name): githubtest                                    │
│  Project Version ($package.version): 0.1.0                                   │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): androidtv                                                    │
│  Engine ($.platforms.androidtv.engine): engine-rn-tvos                       │
│  Template<EMAIL_ADDRESS>                               │
│  App Config (-c): app                                                        │
│  Build Scheme (-s): debug                                                    │
│  Target (-t): Android_TV_720p_API_22                                         │
│  Supported Platforms: android, androidtv, firetv, web,                       │
│  tvos                                                                        │
│  Env Info: darwin | x64 | node v18.19.1                                      │
│  Executed Time: 0h:0m:21s:112ms                                              │
│                                                                              │
│ [ success ] [run] Found active emulator! emulator-5554. Will use it
│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/app_androidtv                                              │
└──────────────────────────────────────────────────────────────────────────────┘

The only warning I see is ⠋ Waiting for bundler to finish...warn From React Native 0.72, your metro.config.js file should extend'@react-native/metro-config'. Please see the React Native 0.72 changelog, or copy the template at: https://github.com/facebook/react-native/blob/main/packages/react-native/template/metro.config.js and I've tried running it with the modified metro-config and it errors out and doesn't even launch.

/bin/sh: adb: command not found
error No Android device or emulator connected.

these two lines indicate me that adb is not working properly for the you, could you try doing commands like adb devices on same terminal, rnv uses adb, and if adb command is not working it can't install app

/bin/sh: adb: command not found
error No Android device or emulator connected.

these two lines indicate me that adb is not working properly for the you, could you try doing commands like adb devices on same terminal, rnv uses adb, and if adb command is not working it can't install app

Thank you for the prompt reply.
We had focused on the No Android device or emulator connected which happens to be followed by  [ success ] [run] Found active emulator! emulator-5554. Will use it and completely ignored the adb above. Our apologies.
Fixed ✅


Evaluation issue:

I wrote a script for evaluation,but I encoutered a issue then:
1、script:
from vbench import VBench
import torch
device = torch.device("cuda")
my_VBench = VBench(device, "VBench_full_info.json", "evaluation_results")
my_VBench.evaluate(
videos_path = "./videocrafter/spatial_relationship", #there are several videos  in this directory
name = "spatial_relationship",
dimension_list = ["spatial_relationship"],
)
2、issue:
RuntimeWarning: invalid value encountered in scalar divide
ret = ret.dtype.type(ret / rcount)
3、evaluate results:

Hi, thanks for your interest in our work!
The issue may be attributed to the wrong sampled video format. As we mentioned in the How to Sample Videos for Evaluation section, the names of videos should be in the form of $prompt-$index.mp4. You can refer to the $dimension_full_info.json in the evaluation_reuslts/ folder to check if the sampled videos exist in the “video_list" key of each prompt.

Thanks for your information！I‘ll try it later！

Hi, we're closing this issue as it appears your questions have been addressed. However, feel free to open a new issue or reopen this one, if you have further questions or if anything else comes up related to this issue.

still getting NaN with generated input from Mochi g-drive, for example:
An astronaut feeding ducks on a sunny afternoon, reflection from the water.-4.mp4


Automatically update store.html with latest sims

We should adapt getSimArray.js so that it regularly updates store.html.
Possible options:

migrate it to store.html.

This may end up sending too many metadata api requests to the website

Change the script so that it automatically writes to store.html instead of stdout and runs on a weekly cron job

Sims may not get updated instantly

Change the script so that it automatically writes to store.html instead of stdout and runs when build-server does a production deploy.

Introduces additional dependencies to a separate repo.

@zepumph - this would be good to look at when time allows, let me know if you have any questions or want to pair.

From status this morning, people seem to be using office-mix more these days, we should bump the priority on this issue.

@mattpen I think that either option (2) or (3) would be best. What do you think? Hasn't the project worked pretty hard to keep perennial dependency free? Other developers may not like (3) for this reason.

OK, yes we should probably keep it out of perennial.  I think it would be ideal if it ran on demand instead of on a cron job though.  How about this?
Option 3(b): Change the script so that it automatically writes to phet-server:/data/web/static/phetsims/office-mix/store.html.  The script would be run on phet-server and would be called by the website by DeployProjectPage.deploy().

@mattpen and I are going to get together on Friday at 9:15 for this.

@zepumph and I added a script to automatically synchronize office-mix once a week.  The script has been tested and added to the cron job. We are going to check on Monday morning to verify that the cron job worked correctly.

The cron job is run by phet-admin.

It does not appear that the cron job ran over the weekend.  I'm going to add logging and try again.

The logs of stdout will now be stored in /home/phet-admin/office-mix-out.log.

Looks like the cron job had this: /data/share/phet/phet-office-mix/synchronizeOfficeMix.sh (spelled correctly) but the file was called /data/share/phet/phet-office-mix/syncronizeOfficeMix.sh.
I changed the name so all is spelled correctly now. Lets checking next week.

I see nothing in the log, but perhaps that isn't all bad. Here is the line in ls -la
-rw-r--r--.   1 phet-admin phet           0 Mar 20 01:09 office-mix-out.log
And here is the cron job
9 1 * * 1 /data/share/phet/phet-office-mix/synchronizeOfficeMix.sh >> ~/office-mix-out.log
It looks like it was modified (albeit blank) at the right time.
listing all of /data/web/static/phetims/offixe-mix shows:
phet-admin@phet-server:/data/web/static/phetsims/office-mix$ ls -la
total 380
drwxrwsr-x.  3 tomcat phet   4096 Mar 10 10:09 .
drwxrwsr-x. 18 tomcat phet   8192 Mar 14 18:23 ..
drwxrwsr-x.  2 tomcat phet   4096 Mar 10 09:38 icons
-rw-rw-r--.  1 tomcat phet 185823 Mar 15 17:46 jquery.d.ts
-rw-rw-r--.  1 tomcat phet  16716 Mar 15 17:46 knockout.d.ts
-rw-rw-r--.  1 tomcat phet  73502 Mar 15 17:46 labs-1.0.4.d.ts
-rw-rw-r--.  1 tomcat phet   3431 Mar 15 17:46 site.css
-rw-rw-r--.  1 tomcat phet  45391 Mar 15 17:46 store.html
-rw-rw-r--.  1 tomcat phet   9672 Mar 15 17:46 store.js
-rw-rw-r--.  1 tomcat phet  10814 Mar 15 17:46 store.ts

Those dates modified don't make me feel as good.
@mattpen do you have any thoughts as to why there was no log but it didn't work? does >> cover std error as well?

The permissions of the file look good:
-rwxrwxr-x.  1 phet-admin phet  323 Mar 10 10:03 synchronizeOfficeMix.sh

I think >> only redirects stdout.  To redirect stderr you need to do 2>>target.

@zepumph - It looks like it may be a problem with the github credentials.  There was no push from the script yesterday recorded.

I think we may need to setup a git credential store for phet-admin on phet-server in order to actually get the git interaction to work.
@jbphet - If we setup a generic phetadmin account on github, would it be useful to use for the rosetta/babel interaction as well?  I think right now it is just using your creds.

We are using my credentials because when we first set this up the GitHub user account requirements specifically prohibited what it called, "machine accounts".  I just looked up the policies, and it looks like this rule may have changed.  Take a look at the link below, but what I'm seeing that seems new is the part that says

We do permit machine accounts.

Followed by:

A machine account is an account set up by an individual human who accepts the Terms on behalf of the account, provides a valid email address, and is responsible for its actions. A machine account is used exclusively for performing automated tasks. Multiple users may direct the actions of a machine account, but the owner of the account is ultimately responsible for the machine's actions. You may maintain no more than one free machine account in addition to your free personal account.

I've pasted this information into the issue in case it changes again - we want to have a record of what we based our decision on.  Here's the link: https://help.github.com/articles/github-terms-of-service/#2-account-requirements.
So yes, given the updated GitHub policies, I am all for setting up a machine account and using it for rosetta's interactions with babel and any other automated actions that we need, such as the items discussed above.

Carry on discussion in https://github.com/phetsims/special-ops/issues/66

There was the same problem Monday night. I changed the cron job to run in 30 minutes, and I got it to append stderr as well.
 0 10 * * 2 /data/share/phet/phet-office-mix/synchronizeOfficeMix.sh >> ~/office-mix-out.log 2>>&1

Alright I did some work and got the logging to work, and the git stuff to work. I used this as my resource to help change permissions. It worked.
http://stackoverflow.com/questions/6448242/git-push-error-insufficient-permission-for-adding-an-object-to-repository-datab
Here is what the crontab looks like now:
# Download any changes to sims and republish them in /office-mix on the phet website.
  30 1 * * 1 /data/share/phet/phet-office-mix/synchronizeOfficeMix.sh >> ~/office-mix-out.log 2>> ~/office-mix-out.log

Let's checkin next monday and close if all looks good. I also added the date to stdout, so the log will have that.

I checked today.  The office-mix app has unit rates added AND there was a successful git push on Monday.  The script ran successfully the previous Monday, but there was no git commit because there were no major/minor/maintenance releases in the week prior.
It appears everything is working as designed.  Closing.


Quiz exercises: Fix an issue where the icons for the questions overlap the page

Checklist
General

[x] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I strictly followed the client coding and design guidelines.
[x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[x] I added multiple screenshots/screencasts of my UI changes.

Motivation and Context

It fixes #9023.
Description

I added a custom sticky top css class to be able to modify top property, so we can specify the threshold, where it is treated as fixed positioned after certain point. This will be the case only for preview mode.
Steps for Testing

Prerequisites:

1 Instructor
1 Quiz exercise with multiple mc questions (at least 5 questions)

Log in to Artemis
Navigate to Course Administration
Go to Exercises
Click on "Preview Quiz"
Scroll down
Verify that the icons for mc questions on the left do not overlap the page header anymore

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.

Review Progress

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Screenshots

Before

After

Summary by CodeRabbit

Style

Updated the quiz navigation element to use a new CSS class for improved sticky behavior on quizzes.

Hi!
Tested on TS3. Code LGTM.
Small sidenote: For me it still overlaps with the footer (the timer has z-index: 30). However, I dont think this will become an issue, since no user will have such a tiny window.

Thanks for detecting, great catch 👍 I can adjust z index according to that


code-snippets

Issue Type: Bug
Add it to your name.code-snippets file and you will find something unexpected.
"snip":{
		"prefix": "snip",
		"description": "It may be a bug",
		"body": "\\\\"
	}

If you use this snippet in your code, it can only show one \ instead of two.
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
11.89GB (6.35GB free)

Process Argv
--crash-reporter-id 12c1efa4-8fe6-4429-b496-ef700fe1acc9

Screen Reader
no

VM
50%

Extensions (5)

Extension
Author (truncated)
Version

latex-workshop
Jam
8.15.0

vscode-language-pack-zh-hans
MS-
1.52.2

jupyter
ms-
2020.12.414227025

latex-utilities
tec
0.3.7

latex-support
tor
3.5.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
openlogontheside:30221877
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30211401
wsl2prompt:30224612
pythonvsdeb440cf:30242243
unusedpromptcf:30224611
folderexplorer:30224614
openfilemenu:30224647
pythonvsded773:30236629
pythonvspyt600cf:30247032

I have only one .code-snippets file in my project. In addition, it work expectedly when I create a new empty folder and do it as
Typing doesn't trigger snippets in JSON string (#110058)
I create a new foler named test. The structure of this test project is shown below.

test

.vscode

test.code-snippets
test.code-workspace

test.txt

In test.code-snippets
{
	"snip": {
		"prefix": "snip",
		"body": "snipped!"
	}
}

In test.code-workspace
{
	"folders": [
		{
			"path": ".."
		}
	],
	"settings": {
		"editor.quickSuggestions": {
			"other": true,
			"strings": true
		}
	}
}

I don't know whether I understand Typing doesn't trigger snippets in JSON string (#110058) clearly,
but when I type snip in test.txt, as expected, it turned into snipped!.

I have only one .code-snippets file in my project. In addition, it work expectedly when I create a new empty folder and do it as
Typing doesn't trigger snippets in JSON string (#110058)
I create a new foler named test. The structure of this test project is shown below.

test

.vscode

test.code-snippets
test.code-workspace

test.txt

In test.code-snippets
{
	"snip": {
		"prefix": "snip",
		"body": "snipped!"
	}
}

In test.code-workspace
{
	"folders": [
		{
			"path": ".."
		}
	],
	"settings": {
		"editor.quickSuggestions": {
			"other": true,
			"strings": true
		}
	}
}

I don't know whether I understand Typing doesn't trigger snippets in JSON string (#110058) clearly,
but when I type snip in test.txt, as expected, it turned into snipped!.

I don't see how comment 1 and 2 are related

I don't see how comment 1 and 2 are related

Comment 2 want to check if it is already covered by an existing snippets setting, but I have only a .code-snippets file in my project. I don't know how to check it...... You can ignore comment 2.
But you can easily test comment 1 in your computer. Maybe it is only the problem in my computer.

Comment 2 want to check if it is already covered by an existing snippets setting, but I have only a .code-snippets file in my project. I don't know how to check it...... You can ignore comment 2.
But you can easily test comment 1 in your computer. Maybe it is only the problem in my computer.

/duplicate of https://github.com/microsoft/vscode/issues/33933#issuecomment-328793257

/duplicate of https://github.com/microsoft/vscode/issues/33933#issuecomment-328793257


st2ctl restart should reload nginx

please

I'm not sure if that's a good idea for st2ctl to reload nginx.
As noted in #community, that's because instead of nginx there could be _any_ other replacement like apache or whatever proxy.
Brings more freedom on user's side.

Apart of that, this issue reminds me discussions about including nginx as a dependency for st2web package.
We had pretty hot discussions about that. I remember @enykeev and @emedvedev wanted to do this. While it wasn't good time to do that before (too early), maybe it's good time to reconsider it.
Nowadays nginx feels like pretty much native part of the system, however bringing it to packaging right & less error-prone would be hard, considering certificates stuff, nginx configs, existing nginx installation cases and so on permutations (but doable).

^^ Probably good food for discussion in https://github.com/stackstorm/st2-packages

Closing, as said nginx is just a proxy and could be replaced with any other service.
Because of that, at the moment there is no reason to hardcode it in st2ctl.


feat: update e2e test to incorporate isbsvc look up with "promoted" label

Fixes #469
Modifications
Following a previous PR for pipelines and monovertices, we are updating the e2e test to accommodate for testing progressive upgrade strategy with isbservices. This is done by querying the isbservices with the promoted and parent rollout labels instead of getting them with a constant name.
Verification
Running make test-e2e after running PROGRESSIVE=true make start a few times.
Testing that CI is working properly.
Backward incompatibilities
No changes will impact backwards compatibility as this is a testing update.

this looks good. Do you want it as "Draft" still?


API to perform incremental scaling

I'm looking at a simple solution to auto scale swarm services based on their respective stats stream. This seems trivial until to the point that you need to tell swarm to scale up your service. Current docker service scale service-a=x command require you to provide the desired number of instances. This would mean that, utility issuing this command would have to keep track of cluster state. Since swarm is already doing that, it would be nice to be able to say something like
docker service scale add x max y.
Is there an easier way to do this already without maintaining the cluster state or could this be a handy addition to swarm?

related issue https://github.com/moby/moby/issues/32054


Tutorial adding command: Remark

Add new Remark command for AddressBook3, along with the relevant JUnit tests.

Codecov Report
Base: 72.15% // Head: 72.19% // Increases project coverage by +0.03% :tada:

Coverage data is based on head (0de2fe1) compared to base (16023aa).
Patch coverage: 69.84% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master       #6      +/-   ##
============================================
+ Coverage     72.15%   72.19%   +0.03%
- Complexity      399      415      +16
============================================
  Files            70       73       +3
  Lines          1232     1284      +52
  Branches        125      130       +5
============================================
+ Hits            889      927      +38
- Misses          311      323      +12
- Partials         32       34       +2

Impacted Files
Coverage Δ

.../seedu/address/logic/parser/AddressBookParser.java
88.88% <0.00%> (-11.12%)
:arrow_down:

...eedu/address/logic/parser/RemarkCommandParser.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
25.00% <14.28%> (+5.00%)
:arrow_up:

...c/main/java/seedu/address/model/person/Remark.java
75.00% <75.00%> (ø)

...java/seedu/address/logic/commands/EditCommand.java
97.05% <100.00%> (+0.04%)
:arrow_up:

...va/seedu/address/logic/commands/RemarkCommand.java
100.00% <100.00%> (ø)

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <100.00%> (ø)

...ain/java/seedu/address/logic/parser/CliSyntax.java
85.71% <100.00%> (+2.38%)
:arrow_up:

...c/main/java/seedu/address/model/person/Person.java
97.82% <100.00%> (+0.20%)
:arrow_up:

... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix added Nocursor function in CodeEditor when in Readonly [ADUI4507]

Added a function in the root component that grab the true value and switch it to "nocursor". Thus giving us the functionalities that we want.

Codecov Report

Merging #1158 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1158      +/-   ##
==========================================
+ Coverage   99.74%   99.74%   +<.01%
==========================================
  Files         350      350
  Lines        8530     8532       +2
  Branches     2028     2029       +1
==========================================
+ Hits         8508     8510       +2
  Misses         22       22

Impacted Files
Coverage Δ

...s/react-vapor/src/components/editor/CodeEditor.tsx
95.55% <100%> (+0.2%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe05e79...14cd3c3. Read the comment docs.

Live demo of react-vapor and vapor.

Le demo plante ?


Typescript: Update Imports On File Move does not show prompt, gets error from tsserver.

VSCode Version: 1.29.1 / 1.31.0-insider
OS Version: macOS Mojave 10.14.1

Does this issue occur when all extensions are disabled?: Yes
I'm not able to get the update on file move working properly for my project. I can set up a simple test project with two folders and move files between them, and vscode will prompt me for refactoring. But on my current, bigger project it never prompts me. This is my tsserver.log
tsserver.log
I assume it has something to do with this, but it really doesn't tell me much:
Exception on executing command {"seq":16,"type":"request","command":"getEditsForFileRename","arguments":{"file":"/Users/arbo/repos/graphql/src/auth/access.helper.ts","oldFilePath":"/Users/arbo/repos/graphql/src/helpers/access.helper.ts","newFilePath":"/Users/arbo/repos/graphql/src/auth/access.helper.ts"}}:

    Debug Failure. False expression.

Full error stack from logs:
Err 29    [11:38:51.10] Exception on executing command {"seq":16,"type":"request","command":"getEditsForFileRename","arguments":{"file":"/Users/arbo/repos/graphql/src/auth/access.helper.ts","oldFilePath":"/Users/arbo/repos/graphql/src/helpers/access.helper.ts","newFilePath":"/Users/arbo/repos/graphql/src/auth/access.helper.ts"}}:

    Debug Failure. False expression.

    Error: Debug Failure. False expression.
        at computePositionOfLineAndCharacter (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:6429:22)
        at Object.getPositionOfLineAndCharacter (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:6419:16)
        at processMapping (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:64837:26)
        at Object.arrayFrom (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:1172:31)
        at getDecodedMappings (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:64851:35)
        at getGeneratedMappings (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:64883:39)
        at Object.getSourcePosition (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:64910:37)
        at Object.tryGetSourcePosition (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:103733:63)
        at /Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:100079:61
        at _loop_3 (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:100171:30)
        at updateImports (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:100202:13)
        at /Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:100071:13
        at Function.ChangeTracker.with (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:107457:17)
        at Object.getEditsForFileRename (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:100069:49)
        at Object.getEditsForFileRename (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:117509:23)
        at /Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:125354:146
        at /Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:123757:36
        at /Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:122055:25
        at Map.forEach (<anonymous>)
        at ProjectService.forEachProject (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:122049:41)
        at ProjectService.forEachEnabledProject (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:122053:22)
        at combineProjectOutputFromEveryProject (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:123756:28)
        at IOSession.Session.getEditsForFileRename (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:125354:31)
        at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:124199:61)
        at /Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:125531:88
        at IOSession.Session.executeWithRequestId (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:125522:28)
        at IOSession.Session.executeCommand (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:125531:33)
        at IOSession.Session.onMessage (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:125553:35)
        at Interface.<anonymous> (/Users/arbo/repos/graphql/node_modules/typescript/lib/tsserver.js:126811:27)
        at emitOne (events.js:116:13)
        at Interface.emit (events.js:211:7)
        at Interface._onLine (readline.js:282:10)
        at Interface._normalWrite (readline.js:424:12)
        at Socket.ondata (readline.js:141:10)
        at emitOne (events.js:116:13)
        at Socket.emit (events.js:211:7)
        at addChunk (_stream_readable.js:263:12)
        at readableAddChunk (_stream_readable.js:250:11)
        at Socket.Readable.push (_stream_readable.js:208:10)
        at Pipe.onread (net.js:594:20)

Somewhat similar looking to #25844. @weswigham can you please take a look

Also @arvidboivie, are you able to share a project that reproduces this issue?

(Also, does it still repro using the @next language service?)

@mjbvz @weswigham
Wen't back today to try to reproduce, and now I can't reproduce at all. Problem solved. Annoying to not understand why.


unstable test "fullstack-test/mpp/rollup_tpcds.test"

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftiflash%2Frelease-8.5%2Fpull_integration_test/detail/pull_integration_test/14/pipeline/
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
master, release-8.5 branch

According to the log, it took about 4 seconds to create an empty table when the CI environment is busy.


Kernel Panic: El Cap, mid-2009 MBP, CAT v2.2, dongle

Installation appeared to work fine, until I restarted my computer. At that point, there was a kernel panic on boot. Ended up restoring from Time Machine backup.

Same for me…

On 19 Oct 2015, at 16:08, mh1914<EMAIL_ADDRESS>wrote:
Installation appeared to work fine, until I restarted my computer. At that point, there was a kernel panic on boot. Ended up restoring from Time Machine backup.
—
Reply to this email directly or view it on GitHub https://github.com/dokterdok/Continuity-Activation-Tool/issues/240.

Which dongle do you have?

GMYLE (http://www.amazon.com/gp/product/B007MKMJGO)

Asus BT-400 http://www.amazon.com/ASUS-Adapter-Bluetooth-USB-BT400-Model/dp/B015094QWI/ref=pd_sim_sbs_147_2?ie=UTF8&refRID=11KS1E0XXXJ8Z9RN3TTZ&dpID=419n6p4IjtL&dpSrc=sims&preST=AC_UL160_SR160%2C160

On 19 Oct 2015, at 16:12, sysfloat<EMAIL_ADDRESS>wrote:
Which dongle do you have?
—
Reply to this email directly or view it on GitHub https://github.com/dokterdok/Continuity-Activation-Tool/issues/240#issuecomment-149224880.

Me too Mine is the iogear
http://www.amazon.com/IOGEAR-Bluetooth-Micro-Adapter-GBU521/dp/B007GFX0PY/ref=sr_1_1?ie=UTF8&qid=1445333676&sr=8-1&keywords=iogear+bluetooth

Weird, most of those dongles worked fine while beta testing..
Did anyone of you had CAT installed previously or used a "clean" installation of OS X e.g. fresh installation or uninstalled CAT before using the new one?

This was a clean install for me -- had not previously installed CAT.
On Tue, Oct 20, 2015 at 12:32 PM, sysfloat<EMAIL_ADDRESS>wrote:

Weird, most of those dongles worked fine while beta testing..
Did anyone of you had CAT installed previously or used a "clean"
installation of OS X e.g. fresh installation or uninstalled CAT before
using the new one?
—
Reply to this email directly or view it on GitHub
https://github.com/dokterdok/Continuity-Activation-Tool/issues/240#issuecomment-149624341
.

I installed new clean El Capitan installation on second partition and after CAT kernel panic also...
Sent from my iPhone 5s

On 20 Oct 2015, at 18:31, sysfloat<EMAIL_ADDRESS>wrote:
Weird, most of those dongles worked fine while beta testing..
Did anyone of you had CAT installed previously or used a "clean" installation of OS X e.g. fresh installation or uninstalled CAT before using the new one?
—
Reply to this email directly or view it on GitHub.

Same here, kernel panic on MacBook Pro 13'' late 2009, Asus BT-400 :(

Same here I had a clean install and everything
I went thru the CAT process twice and it had a kernel panic both times

here some details about the panic:
kernel extensions in backtrace:
com.apple.driver.AirPort.Brcm4360(1010.14.1a4)
dependency: com.apple.driver.corecapture(1.0.4)
dependency: com.apple.driver.mDNSOffloaderUserClient(1.0.1b8)
dependency: com.apple.iokit.IO80211Family(1101.24)
dependency: com.apple.iokit.IOPCIFamily(2.9)
dependency: com.apple.iokit.IONetworkingFamily(3.2)

Fixed.
Start your Mac in recovery mode (CMD + R), choice terminal and write:
rm -r /Volumes/MYDISK/System/Library/Caches/*
rm -r /Volumes/MYDISK/Library/Caches/*
now you can..
OR replace totally your extensions folder from a backup:
rm -r /Volumes/MYDISK/System/Library/Extensions/*
rm -r /Volumes/MYDISK/Library/Extensions/*
cp -r /Volumes/BACKUPDISK/System/Library/Extensions/* /Volumes/MYDISK/System/Library/Extensions/*
cp -r /Volumes/BACKUPDISK/Library/Extensions/* /Volumes/MYDISK/Library/Extensions/*
kextcache -system-caches
reboot
OR replace only two hext files from your corrupted DISK:
cp -r /Volumes/MYDISK/Users/MYUSER/KextBackupBeforePatch/* /Volumes/MYDISK/System/Library/Extensions/*
kextcache -system-caches
reboot

@sysfloat : any ideas on this problem?

I experienced the same issue with my Macbook Pro mid 2010 and IOGEAR Dongle. Couldn't use the fix sysfloat wrote so I just booted in my Backup Drive and restored the original Kexts from the KextBackupBeforePatch, then kextcache -system-caches via Recovery mode.
Also I was getting this note in the System Diagnostics:

Your hardware doesn't support Bluetooth 4.0, necessary for Continuity.

Don't think that is related though . . .

Have same problem - Kernel Panic after installation reboot on 10.11.1 with the newest version of cat. My Wifi Card is BCM94322HM8L

Mine still has a kernel panic after i tried everything everyone said.
@sysfloat is there a fix you can make?

I still don't really know what excactly is causing the problem.
Is it true that all of you who got a kernel panic got this message in System Diagnostics? "Your hardware doesn't support Bluetooth 4.0, necessary for Continuity. Current LMP Version=4, expected 6."

@sysfloat mine didn't just kernel panic after reboot.

@sysfloat i had just kernel panic, without errors..
On Sat, Oct 24, 2015 at 1:01 AM -0700, "thestation"<EMAIL_ADDRESS>wrote:
@sysfloat mine didn't just kernel panic after reboot.
—
Reply to this email directly or view it on GitHub.

@sysfloat same for me, no errors but kernel panic on reboot...

@sysfloat Yes, I get the "Your hardware doesn't support Bluetooth 4.0" message when I run system diagnostics.

Same to me, everything ok on the installation but after reboot??.
http://1drv.ms/1NsWNkL

Mine kernel panic looks exactly the same as on the foto

I'm using ASUS BT dongle

From what I saw it looks like the 3411 kext plugin in io80112family.kext is gone on the continuity after patch folder when you show the package contents. I don't if it is supposed to do that or not.
Josh

On Oct 24, 2015, at 11:06 AM, daueee<EMAIL_ADDRESS>wrote:
I'm using ASUS BT dongle
—
Reply to this email directly or view it on GitHub.

@sysfloat still no ideas on this? would be really nice to get it running!

@mercuri0 not really tbh. I don't have enought data to isolate the problem.
I've made a google spreadsheet to gather some more data.
Please fill that out.
To get your LMPVersion run "ioreg -l | grep LMPVersion" in terminal (without the quotes)

@sysfloat thanks for the information! Is there some infromation I could collect to help you tracking down the problem? (I mean something other than the kernel panic data maybe...)
I hope everyone here fills out the list so we may get some insight in the problem!

same here for me with iMac an 10.11.1. Already placed my notes in your spreadsheet

Oops Ive just had a kernel panic with version 2.2.2 on MacBook 5.1 with but dongle. @sysfloat any ideas what I can do to get the CAT to work? I can follow the terminal commands to restore the Kexts but would like to get this working

any updates?

Same problem for me OS X 10.11.1 on late 2008 MB using Asus BT400  "Your hardware doesn't support Bluetooth 4.0, necessary for Continuity Current LMP Version=4, expected 6. Aborting" error. CAT v 2.2.2

OK i forced it through now im stuck with a kernal panic reboot loop. Is there a way to reverse the chages in terminal so that i dont have to reinstall OSX or restore from a backup?

Hello, any updates?

Can everyone post a link to a folder with the following contents. Modified Yosemite Kext, Modified El Capitan Kext, Original Kext from both OS. Use dropbox or something if need be.
Also can everyone please add their boot-args(check from recovery), SIP status(check from recovery), and Kext-dev-mode status(check from recovery) to the doc created by sys float?
If anyone is able to boot using safe mode, please include a console dump of the system logs so we can take a look at that.
@sysfloat If you don't mind I can help you get this error corrected over the next couple of days.

@claywd1210 sure. Send me an email at<EMAIL_ADDRESS>if you want to contact me directly.

I have a mid 2009 MacBook Pro which I updated to El Capitan and also have the Asus bt400. So as of right now everyone is getting a kernel panic issue after restart? I was about to install cat but I saw this thread and decided not to yet.

i have the same problem
using gmyle 4.0
kernel panic
b4 it restarted i rmb seeing a part tht stated somethin along d lines of "unable to backup bluetooth drives" or somethin like that
could that be due to permission problems?

Same here
MBP 17 early 2009 (MacBookPro5.2)
OSX 11.3

Not working on mine too.
Tried uninstalling CAT then reinstalled but getting same issue.
mbp late 2008
Iogear - gb521

Same here. Installed CAT. Kernel Panic after reboot.
MBP 13" Mid 2009 (MacBookPro5,5)
OS X 10.11.4
IOGear GB521

I have a Late 2008 aluminium MacBook, and I'm trying to get my Asus USB-BT400 to work. CAT doesn't seem to detect the USB dongle, and when I forced it, I get a kernel panic from IO80211Family.kext.
My WiFi:
Interfaces:
en1:
Card Type:	AirPort Extreme  (0x14E4, 0x8D)
Firmware Version:	Broadcom BCM43xx 1.0 (<IP_ADDRESS>.24)
MAC Address:	00:23:12:55:aa:ed
Locale:	ETSI
Country Code:	DE
Supported PHY Modes:	802.11 a/b/g/n
Supported Channels:	1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140
Wake On Wireless:	Supported
AirDrop:	Supported
Status:	Connected
My built-in Bluetooth:
BRCM2046 Hub:
Product ID:	0x4500
Vendor ID:	0x0a5c  (Broadcom Corp.)
Version:	1.00
Manufacturer:	Apple Inc.
Location ID:	0x06100000
Bluetooth USB Host Controller:
Product ID:	0x8213
Vendor ID:	0x05ac  (Apple Inc.)
Version:	2.08
Serial Number:	0023125BA80F
Manufacturer:	Apple Inc.
Location ID:	0x06110000

cat not work with my macbook pro 2009 ( 10.11.5 ) and asus bt400

I have the same problem :-(
MacBook Pro mid 2009 5,5, 10.11.5

Any fix or progress for that kernel panic?
Same problem - mid 2010 13", Sierra.

Facing the same kernel panic on a MacBook Pro 13'' mid 2010 with a bluetooth-4.0-dongle. Please, anyone who's more of a computer-wizzard than me, fix this issue! My eternal gratitude is guaranteed!

fake AirPortBrcm4331.kext  as AirPortBrcm4360.kext
Yosemite possible
El Capitan  impossible

Do you know why El Capitan makes it impossible?

well glad i found this post.  I do also have MBP mid 2009 5,3 15" anti glare El Cap and BT400.
I did remove SIP,
use admin user
plug USB
use CAT from download link
run test, all ok
activate, all OK
reboot = panic

enable SIP
no BT, no network
did not know much what do to so restore backup
BT400 is detected I see from system info.
Open for suggestion,
upgrade to Sierra? why not but Apple won't let me download the code...

@eric-in-to Have you managed to get working solution for BT400 + 10.11.x ?
To turn it off, use @gali8  tips: https://github.com/dokterdok/Continuity-Activation-Tool/issues/240#issuecomment-149971872

Run in "Recovery Mode" (hold cmd+alt+r on startup, Open Terminal
diskutil list will shoe you list of your disk, find your system disk there (e.g. Macintosh HD)
now mount it: diskutil mountDisk /dev/diskN, e.g. disk0 in my case
Replace patched KEXT from backup: cp -r /Volumes/MYDISK/Users/MYUSER/KextBackupBeforePatch/* /Volumes/MYDISK/System/Library/Extensions/, fix your user name and disk name
kextcache -system-caches
reboot
Optional: open ContinutiyActivationTool, ask it to uninstall patch, reboot in Recovery mode and enable SIP


[@svelteuidev/demos] Fix modal docs example and target problem

Fix missing target for Modal demos in docs (using body now)
Fix Affix type problems
Fix target check for Modal

Before submitting the PR, please make sure you do the following

[X] Read the Contributing guide
[X] Prefix your PR title with [@svelteui/core], [@svelteui/actions], [@svelteui/motion], [@svelteui/core], [core], or [docs].
[X] This message body should clearly illustrate what problems it solves.

Tests

[X] Run the tests with npm test and lint the project with yarn lint or just run yarn repo:prepush and check to see if it's passing.

I'm gonna revert the changes to the target (since the problem in the docs was another), but there are still some valid fixes in this PR


Bootstrap overwrites previously generated secrets

Describe the bug: (a clear and concise description of what the bug is)
To Reproduce
Steps to reproduce the behavior:

Introduce some settings so deployment cannot succeed
Deploy otomi from chart
Observe that second attempt to deploy otomi overwrite existing secrets

Expected behavior: (a clear and concise description of what you expected to happen)
Bootstrap does not overwrite secrets
Screenshots: (if applicable, add screenshots to help explain your problem)
Cluster(s):

Cloud: [e.g. aws]
Cluster: [e.g. demo]

Versions: (seen in console's /settings)

Core Version [e.g. 0.12.34]
Console Version: [e.g. aws]
API version: [e.g. 0.4.56]

Desktop: (if relevant)

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone: (if relevant)

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context: (add any other context about the problem here)

attempt1

attempt2

From the logs I see that bootstrap discovers existing passwords but does not take it into account while saving final values.

I am currently adding a unit test for bootstrap

I have observed that the issue is still there

fixed in bootstrap PR after caught with new test setup.


1 gang Zigbee dimmer module

Hi Johan,
I got a problem whit me 1 gang Zigbee dimmer module.
It works fine with Homey. But when I use the manual rocker switch it dims I whant it to turn of en on. When I flip the switch it dims out en when i flip it again the module flips on but lights stay of because of the dimm level. I ame on the experimental software. Can u solve this? Ore is this a hardware error? It's my first time that I use the dimmer module every were in home I have the switch module's

Hi Johan,
I got a problem whit me 1 gang Zigbee dimmer module.
It works fine with Homey. But when I use the manual rocker switch it dims I whant it to turn of en on. When I flip the switch it dims out en when i flip it again the module flips on but lights stay of because of the dimm level. I ame on the experimental software. Can u solve this? Ore is this a hardware error? It's my first time that I use the dimmer module every were in home I have the switch module's

Sounds like the switch you are using is a normal rocker switch, could it be that you need a “reset light switch”.

Hi,
I was playing with a similar dimmer from Moes and it looks like there is exactly the same issue. When the dimmer is On and you set dim to 0, the light is on minimum but still on, so it’s but in this state if you turn dimmer Off and On again the light stays off until dim is greater than 0. So it looks like we need to automatically set dim to non zero value if it equals to zero when turning to On state.

Hi Johan,

I got a problem whit me 1 gang Zigbee dimmer module.

It works fine with Homey. But when I use the manual rocker switch it dims I whant it to turn of en on. When I flip the switch it dims out en when i flip it again the module flips on but lights stay of because of the dimm level. I ame on the experimental software. Can u solve this? Ore is this a hardware error? It's my first time that I use the dimmer module every were in home I have the switch module's

Sounds like the switch you are using is a normal rocker switch, could it be that you need a “reset light switch” (retractive switch).

No, the module is for a normall rocker switch.

@danielgajdos, I hope there comes a new update for this driver. The problem is in the software of the device. It's my first dimmer module whit neutral. I don't know if je turn it in of position that it schould dom out or just go's out like te relais module. The normal on/of.

Hi,
I was playing with a similar dimmer from Moes and it looks like there is exactly the same issue. When the dimmer is On and you set dim to 0, the light is on minimum but still on, so it’s but in this state if you turn dimmer Off and On again the light stays off until dim is greater than 0. So it looks like we need to automatically set dim to non zero value if it equals to zero when turning to On state.

Already did this. It works now but I ThinQ should be updated because it's for normal rocker switch use, hope the update comes soon

@JohanBendz do you have some info about this problem? Thx Johan


Unable to query bosun after running for a minute

I have installed Hbase, opentsdb and bosun on a machine running Centos7.
I can see the bosun website fine, but any query I try to run from the graph page is giving some error.
I've put the bosun output into a log file, and there are 2 kinds of errors that pop up. Sometime it's too many open files:

2016/03/04 11:10:23 error: queue.go:102: Post http://localhost:8070/api/put: dial tcp <IP_ADDRESS>:8070: socket: too many open files

Sometimes it's just a timeout.

2016/03/04 11:14:06 error: queue.go:102: Post http://localhost:8070/api/put: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Sometimes restarting seems to help, other times not so much. The longest I've had bosun running without these errors is a day.

What version of Bosun / scollector?
On Fri, Mar 4, 2016 at 6:29 AM, VictoriaD<EMAIL_ADDRESS>wrote:

I have installed Hbase, opentsdb and bosun on a machine running Centos7.
I can see the bosun website fine, but any query I try to run from the
graph page is giving some error.
I've put the bosun output into a log file, and there are 2 kinds of errors
that pop up. Sometime it's too many open files:
2016/03/04 11:10:23 error: queue.go:102: Post
http://localhost:8070/api/put: dial tcp <IP_ADDRESS>:8070: socket: too many
open files
Sometimes it's just a timeout.
2016/03/04 11:14:06 error: queue.go:102: Post
http://localhost:8070/api/put: net/http: request canceled (Client.Timeout
exceeded while awaiting headers)
Sometimes restarting seems to help, other times not so much. The longest
I've had bosun running without these errors is a day.
—
Reply to this email directly or view it on GitHub
https://github.com/bosun-monitor/bosun/issues/1649.

I’m currently using the latest version of the binaries downloaded from here:
https://github.com/bosun-monitor/bosun/releases/download/0.5.0-alpha/bosun-linux-amd64
From: Kyle Brandt<EMAIL_ADDRESS>Sent: 04 March 2016 14:30
To: bosun-monitor/bosun
Cc: Victoria Duncan
Subject: Re: [bosun] Unable to query bosun after running for a minute (#1649)
What version of Bosun / scollector?
On Fri, Mar 4, 2016 at 6:29 AM, VictoriaD<EMAIL_ADDRESS>wrote:

I have installed Hbase, opentsdb and bosun on a machine running Centos7.
I can see the bosun website fine, but any query I try to run from the
graph page is giving some error.
I've put the bosun output into a log file, and there are 2 kinds of errors
that pop up. Sometime it's too many open files:
2016/03/04 11:10:23 error: queue.go:102: Post
http://localhost:8070/api/put: dial tcp <IP_ADDRESS>:8070: socket: too many
open files
Sometimes it's just a timeout.
2016/03/04 11:14:06 error: queue.go:102: Post
http://localhost:8070/api/put: net/http: request canceled (Client.Timeout
exceeded while awaiting headers)
Sometimes restarting seems to help, other times not so much. The longest
I've had bosun running without these errors is a day.
—
Reply to this email directly or view it on GitHub
https://github.com/bosun-monitor/bosun/issues/1649.

—
Reply to this email directly or view it on GitHubhttps://github.com/bosun-monitor/bosun/issues/1649#issuecomment-192302726.

Please consider the environment before printing this e-mail or any attachments.
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you have received this message in error, please notify us and remove it from your system.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of  UK Mail Group Plc or any of its subsidiaries.
UK Mail Group Plc is registered and incorporated in England.
Registered Office: Express House, 120 Buckingham Avenue, Slough, SL1 4LZ, United Kingdom.
Registered Company No.: 02800218

Can you try the more recent RC1 and see if the problems continue?
https://github.com/bosun-monitor/bosun/releases/tag/0.5.0-rc1
On Fri, Mar 4, 2016 at 9:32 AM, VictoriaD<EMAIL_ADDRESS>wrote:

I’m currently using the latest version of the binaries downloaded from
here:
https://github.com/bosun-monitor/bosun/releases/download/0.5.0-alpha/bosun-linux-amd64
From: Kyle Brandt<EMAIL_ADDRESS>Sent: 04 March 2016 14:30
To: bosun-monitor/bosun
Cc: Victoria Duncan
Subject: Re: [bosun] Unable to query bosun after running for a minute
(#1649)
What version of Bosun / scollector?
On Fri, Mar 4, 2016 at 6:29 AM, VictoriaD<EMAIL_ADDRESS>wrote:

I have installed Hbase, opentsdb and bosun on a machine running Centos7.
I can see the bosun website fine, but any query I try to run from the
graph page is giving some error.
I've put the bosun output into a log file, and there are 2 kinds of
errors
that pop up. Sometime it's too many open files:
2016/03/04 11:10:23 error: queue.go:102: Post
http://localhost:8070/api/put: dial tcp <IP_ADDRESS>:8070: socket: too
many
open files
Sometimes it's just a timeout.
2016/03/04 11:14:06 error: queue.go:102: Post
http://localhost:8070/api/put: net/http: request canceled
(Client.Timeout
exceeded while awaiting headers)
Sometimes restarting seems to help, other times not so much. The longest
I've had bosun running without these errors is a day.
—
Reply to this email directly or view it on GitHub
https://github.com/bosun-monitor/bosun/issues/1649.

—
Reply to this email directly or view it on GitHub<
https://github.com/bosun-monitor/bosun/issues/1649#issuecomment-192302726>.

Please consider the environment before printing this e-mail or any
attachments.
This email and its attachments may be confidential and are intended solely
for the use of the individual to whom it is addressed. If you have received
this message in error, please notify us and remove it from your system.
Any views or opinions expressed are solely those of the author and do not
necessarily represent those of UK Mail Group Plc or any of its subsidiaries.
UK Mail Group Plc is registered and incorporated in England.
Registered Office: Express House, 120 Buckingham Avenue, Slough, SL1 4LZ,
United Kingdom.
Registered Company No.: 02800218
—
Reply to this email directly or view it on GitHub
https://github.com/bosun-monitor/bosun/issues/1649#issuecomment-192303246
.

This is still giving the timeout errors:
2016/03/04 14:45:17 error: check.go:605: Post http://localhost:4242/api/query: net/http: request canceled
2016/03/04 14:45:17 error: check.go:530: Error checking alert disk.is.almost.full: Post http://localhost:4242/api/query: net/http: request canceled

Please consider the environment before printing this e-mail or any attachments.
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you have received this message in error, please notify us and remove it from your system.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of  UK Mail Group Plc or any of its subsidiaries.
UK Mail Group Plc is registered and incorporated in England.
Registered Office: Express House, 120 Buckingham Avenue, Slough, SL1 4LZ, United Kingdom.
Registered Company No.: 02800218

Sounds like maybe something is using too many files, in Linux connections are files. Can you check the file limits and current number of files used for bosun, opentsdb, and hbase related processes?

OK, how do I do that? I don’t know what commands to use.

Please consider the environment before printing this e-mail or any attachments.
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you have received this message in error, please notify us and remove it from your system.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of  UK Mail Group Plc or any of its subsidiaries.
UK Mail Group Plc is registered and incorporated in England.
Registered Office: Express House, 120 Buckingham Avenue, Slough, SL1 4LZ, United Kingdom.
Registered Company No.: 02800218

[root@co-tsdb01 ~]# grep 'open files' /proc/$(pidof bosun)/limits
Max open files            65536                65536                files
[root@co-tsdb01 ~]# ls -l /proc/$(pidof bosun)/fd/ | wc -l
412

etc...

Oh, and maybe just go to the opentsdb web interface (usually on port 4242) and see if you have any query issues there. You can also see OpenTSDB's logs in that interface.

This is the result I got from the bosun process:
[root@bosun-test ~]# grep 'open files' /proc/15371/limits
Max open files            1024                 4096                 files
[root@bosun-test ~]# ls -l /proc/15371/fd/ | wc -l
157
I don’t know specifically which processes are for opentsdb and hbase, but I think they are labelled java. These are the results from my 2 java processes:
[root@bosun-test ~]# grep 'open files' /proc/11048/limits
Max open files            4096                 4096                 files
[root@bosun-test ~]# ls -l /proc/11048/fd/ | wc -l
240
[root@bosun-test ~]# grep 'open files' /proc/11102/limits
Max open files            65535                65535                files
[root@bosun-test ~]# ls -l /proc/11102/fd/ | wc -l
3465
The web page for opentsdb just gave “Error The requested URL could not be retrieved”. Do I need to open the port for this?

Please consider the environment before printing this e-mail or any attachments.
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you have received this message in error, please notify us and remove it from your system.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of  UK Mail Group Plc or any of its subsidiaries.
UK Mail Group Plc is registered and incorporated in England.
Registered Office: Express House, 120 Buckingham Avenue, Slough, SL1 4LZ, United Kingdom.
Registered Company No.: 02800218

I opened port 4242 on that machine, and am trying to get to it through firefox, but just getting a spinning wheel at the moment. But not the error message like before.

Please consider the environment before printing this e-mail or any attachments.
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you have received this message in error, please notify us and remove it from your system.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of  UK Mail Group Plc or any of its subsidiaries.
UK Mail Group Plc is registered and incorporated in England.
Registered Office: Express House, 120 Buckingham Avenue, Slough, SL1 4LZ, United Kingdom.
Registered Company No.: 02800218

Opentsdb log files? In /var/log/opentsdb/ in my setup.
What sort of resources does this machine have, and how many things are sending it to it (to get a rough idea of load)?

We use cloudera manager to setup hbase. That can help show if there are problems on the hbase side of things ( documented our setup the other day at http://kbrandt.com/post/bosun_arch/ )

This is the result of top:
top - 15:29:18 up 7 days,  1:02,  1 user,  load average: 0.00, 0.01, 0.05
Tasks:  95 total,   2 running,  93 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1.7 us,  0.3 sy,  0.0 ni, 98.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  1884512 total,   658552 free,   551428 used,   674532 buff/cache
KiB Swap:  2097148 total,  2097148 free,        0 used.  1049824 avail Mem
And I’ve got 13 scollectors pointing at it from elsewhere. They are each sending about 50 metrics, once a minute.
I’ve found my opentsdb log files in the same place you suggested.
The error one has a time stamp from last week on it. The out one has stuff from yesterday, but mostly marked [INFO]. The only error seems to be this, which doesn’t seem relevant:
11:44:25,848 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@28:27 - no applicable action for [appender-ref], current ElementPath  is [[configuration][appender-ref]]

Please consider the environment before printing this e-mail or any attachments.
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you have received this message in error, please notify us and remove it from your system.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of  UK Mail Group Plc or any of its subsidiaries.
UK Mail Group Plc is registered and incorporated in England.
Registered Office: Express House, 120 Buckingham Avenue, Slough, SL1 4LZ, United Kingdom.
Registered Company No.: 02800218

Thanks for making that available! I will take the time to read it through. It may be that InfluxDB is a better option for me than Hbase – I haven’t used Hbase before, and have no on site knowledge to tap into either!
Is it easy to set up and get Influx going with Bosun? Does it replace both OpenTSDB and Hbase, or just Hbase?

Please consider the environment before printing this e-mail or any attachments.
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you have received this message in error, please notify us and remove it from your system.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of  UK Mail Group Plc or any of its subsidiaries.
UK Mail Group Plc is registered and incorporated in England.
Registered Office: Express House, 120 Buckingham Avenue, Slough, SL1 4LZ, United Kingdom.
Registered Company No.: 02800218

Are you open to joining our chat, http://bosun.org/slackInvite , might help to get some additional input, and a fair amount of back and forth here for troubleshooting.
Logback is the Java mechanism for logging with opentsdb. If it is throwing an error, maybe it can get it's logs anywhere else without configuration.
InfluxDB would be a replacement for both OpenTSDB and HBase. Basically bosun queries stuff for time series, InfluxDB is another time series database option.

I’ve joined the general channel just now

Please consider the environment before printing this e-mail or any attachments.
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you have received this message in error, please notify us and remove it from your system.
Any views or opinions expressed are solely those of the author and do not necessarily represent those of  UK Mail Group Plc or any of its subsidiaries.
UK Mail Group Plc is registered and incorporated in England.
Registered Office: Express House, 120 Buckingham Avenue, Slough, SL1 4LZ, United Kingdom.
Registered Company No.: 02800218