How to display the test case name in mobile device while flutter integration test is being executed.!

Hi Team,
Currently when we run the flutter integration test by flutter test integration_test/app_test.dart, we are seeing Test Starting.. text in the mobile device/simulator screen(Screenshot Attached)

when we have multiple test cases in app_test.dart (Say 10 TCs)

In order to see which Test case is currently being executed, is there any way we can display the test case name in mobile device/simulator screen?
Or can we override Test Starting..?
Or can we add a watermark text on screen?

Any help highly appreciated.!

Hi @jagadeeshpurplle,
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and places where you can ask questions like this.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


fresh install on GKE 1.12.6 prometheus not logging to kibana or stackdriver

What logs are you missing in Kibana? Not sure I understand the issue

I installed the kube-prod per instructions, no errors were thrown, everything installed as expected. Before the install I changed the kubeprod-manifest.jsonnet file to add a couple of static scrapes.
was looking to see if the scrapes wen't OK so I wanted to examine the logs of the prometheus server. When I click on "container logs" in the GKE console there are no logs. When I search for prometheus in kibana I see nothing. From what I can tell prometheus is not logging anything to anywhere.

@timuckun Wow, that must be frustrating.
First thing's first: Is prometheus even running?  (What does kubectl -n kubeprod describe statefulset prometheus and kubectl -n kubeprod get pods -l name=prometheus show?)

Yes prometheus is definitely running. I can log into it at the prometheus URL and see that the targets are set up.
To answer your question.
kubectl -n kubeprod describe statefulset prometheus
Name:               prometheus
Namespace:          kubeprod
CreationTimestamp:  Thu, 18 Apr 2019 12:22:15 +1200
Selector:           name=prometheus
Labels:             kubecfg.ksonnet.io/garbage-collect-tag=kube_prod_runtime
                    name=prometheus
Annotations:        kubecfg.ksonnet.io/garbage-collect-tag: kube_prod_runtime
Replicas:           1 desired | 1 total
Update Strategy:    RollingUpdate
Pods Status:        1 Running / 0 Waiting / 0 Succeeded / 0 Failed
Pod Template:
  Labels:           name=prometheus
  Annotations:      prometheus.io/path: /metrics
                    prometheus.io/port: 9090
                    prometheus.io/scrape: true
  Service Account:  prometheus
  Containers:
   prometheus:
    Image:      bitnami/prometheus:2.6.0-r2
    Port:       9090/TCP
    Host Port:  0/TCP
    Args:
      --config.file=/opt/bitnami/prometheus/conf/custom/prometheus.yml
      --storage.tsdb.retention=183d
      --web.console.libraries=/opt/bitnami/prometheus/conf/console_libraries
      --web.console.templates=/opt/bitnami/prometheus/conf/consoles
      --web.external-url=http://prometheus.gke-primary.xerra.nz/
      --web.enable-lifecycle
    Requests:
      cpu:        500m
      memory:     500Mi
    Liveness:     http-get http://:web/ delay=1200s timeout=1s period=10s #success=1 #failure=3
    Readiness:    http-get http://:web/ delay=5s timeout=1s period=10s #success=2 #failure=3
    Environment:  <none>
    Mounts:
      /opt/bitnami/prometheus/conf/custom from config (ro)
      /opt/bitnami/prometheus/data from data (rw)
   configmap-reload:
    Image:      jimmidyson/configmap-reload:v0.2.2
    Port:       <none>
    Host Port:  <none>
    Args:
      --volume-dir=/config
      --webhook-method=POST
      --webhook-url=http://localhost:9090/-/reload
    Environment:  <none>
    Mounts:
      /config from config (ro)
  Volumes:
   config:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      prometheus
    Optional:  false
Volume Claims:
  Name:          data
  StorageClass:
  Labels:        name=data
  Annotations:   <none>
  Capacity:      7905Mi
  Access Modes:  [ReadWriteOnce]
Events:          <none>

 kubectl -n kubeprod get pods -l name=prometheus
NAME           READY   STATUS    RESTARTS   AGE
prometheus-0   2/2     Running   9          8d

In the last couple of days the container logs have errors like this
{
 insertId:  "4y7ske0249r2krakz"
 labels: {…}
 logName:  "projects/project-name/logs/stderr"
 receiveTimestamp:  "2019-04-26T03:00:08.378196691Z"
 resource: {
  labels: {
   cluster_name:  "cluster-name"
   container_name:  "prometheus"
   location:  "australia-southeast1"
   namespace_name:  "kubeprod"
   pod_name:  "prometheus-0"
   project_id:  "project-id"
  }
  type:  "k8s_container"
 }
 severity:  "ERROR"
 textPayload:  "level=info ts=2019-04-26T03:00:06.62778596Z caller=compact.go:369 component=tsdb msg="compact blocks" count=3 mint=1556215200000 maxt=1556236800000 ulid=01D9BSBWVKC7C3ZNSM66XGB6FF sources="[01D9B4RP7Z110NTR3A4PJHMRX5 01D9BBMDG44WCC7HEPTZFNXFXP 01D9BJG4R0BR8XTBSRRC8BDFK2]" duration=496.677036ms
"
 timestamp:  "2019-04-26T03:00:06.628091089Z"
}

When I log into kibana and do a search for
kubernetes.container_name: "prometheus"
I get no results.
If I do
kubernetes.container_name: kibana (or nginx or whatever) I do get results

huh, this is interesting.
Not sure why Kibana is classifying those logs with the ERROR severity. They are usual Prometheus TSDB compactions 🤔

Note those logs are in stackdriver and are emitted by the container engine AFIK.  Kibana has nothing prometheus related  at all in it.

This is still marked waiting for more information. Do you need any more information from me?


error while loading shared libraries: libgtk-3.so.0

Initializing...
An error occured Failed to launch chrome!
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

OS: Debian Jessie
Node version: v8.6.0

#22 #9

bacınızı sikwem


Background and viewport addons should have active states in the Toolbar

Describe the bug
The "IconButtons" for Background and Viewports should have active states when they are active. Maybe abstract this behavior so other addons can use it as well?
To Reproduce
Steps to reproduce the behavior:

Change the Background or Viewport by clicking on one of these buttons
See that they are not highlighted despite the user having activated them

Expected behavior
The Background and Viewports icons should have an active state that looks like this so that users can discern when they're activated.

I'm on it

Whoopee!! I just released https://github.com/storybooks/storybook/releases/tag/v5.0.0-rc.7 containing PR #5749 that references this issue. Upgrade today to try it out!
Because it's a pre-release you can find it on the @next NPM tag.
Closing this issue. Please re-open if you think there's still more to do.


C# language support

C# language support
Added C# support.
Checklist

[X] Auto complete (detect_functions and detect_variables)
[X] Comments (not sure if they're good though)
[X] Syntax highlighting (most of the code was generated by MonarchToGriddyPlug, which I still haven't open sourced yet)

Additional Info
Fixes #53

A. Wow, ok then I guess
My cs.lua is still incomplete as well (my braincells were unable to figure out a detect functions/detect variables functions) so I guess I'll just upload it here just in case?
Note: Zipped becuase github doesn't like .lua files in PR comments..
cs.lua.zip

A. Wow, ok then I guess My cs.lua is still incomplete as well (my braincells were unable to figure out a detect functions/detect variables functions) so I guess I'll just upload it here just in case?
Note: Zipped becuase github doesn't like .lua files in PR comments.. cs.lua.zip

Look at the difference between the variable declaration and assignment syntax,
you'll see there's 2 words for the declaration and 1 for the assignment,
so make the regex match those 2 words, split it by the spaces, and index to the relevant part.
Use a Lua pattern viewer (i.e. this one) and a Lua pattern tester (i.e. this one)

The reason why this is still marked as a draft is because the variable and function auto complete seem to not work on 1.1.1. I need to test.

I tried many patterns but just couldn't get it to work, so I'm just leaving this on to ya :3

Just found out that detect_functions doesn't work on Lua 5.4 because match:split DOESN'T EXIST??? And match is a string...

Lua doesn't even have string.split???

splitstr()

no lol, our bussin overlord gave us a splitstr() func tho

Ok, I've made a polyfill so that it works on garbage Lua 5.4, I'm going to commit it now.

no lol, our bussin overlord gave us a splitstr() func tho

imagine using a language but you have to provide a splitstr function because the language you're using doesn't have a built in split function 💀

tested it, works :shipit:.

anyways, I need to fix the pattern, it will only work if the type and name are letters.

I didn't fix it, but I added @-variable support, actual fix should be worked on now.

I didn't fix it, but I added @-variable support, actual fix should be worked on now.

I'd say that this is done. Anything else can be a review and I can edit it until we're ready.

I finally open sourced my Monarch language to GriddyCode plugin! Here: https://github.com/RealPacket/MonarchToGriddyPlug

LGTM


[BUGFIX] some multiple choice questions in pools changed to short answer [MER-2668]

Some multiple choice questions in pools get converted into short answer (textarea) questions. Seen in several cases in Logic and Proofs, which is distinctive in using inline assessments that draw from pools.
This happens because (1) mcqs have different representations in formatives and summatives (in formatives they have no “input” level wrapping choices); (2) pool items go through the summative-to-formative conversion; but (3) if the mcq is already in the formative form, as in the L&P cases, this restructures it into a form whose type is not recognized by subsequent code. Question type detection then falls through cases ending up on short answer questions by default.
Fix suppresses certain conversion step in case where mcq already in formative form (no input element wrapper).

More general solution is to properly allow for pools using the formative (inline) assessment DTD by (1) detecting the pool format from the DOCTYPE and (2) avoiding conversion of formative format pools.


bug: Custom format of TODOs

Did you check docs and existing issues?

[X] I have read all the todo-comments.nvim docs
[X] I have searched the existing issues of todo-comments.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.0~ubuntu1+git202304122019-23e9d625c-9b397864c-bbbf5d237~ubuntu20.04.1
Operating system/version
Ubuntu 20.04.6 LTS
Describe the bug
I am trying to configure the regex for the search pattern to pickup how we are supposed to write TODO in our repo. Valid TODOs are typically in the form of TODO(ABC-123): message where ABC-123 is an issue in our issue handling system. This is to provide traceability for the technical debt (we have compliance processes).
I have written some regex to be able to grep these patterns, but I cannot get it to work with this plugin. Below is a screenshot showing the configuration plus the result of the plugin:

Running this lua file through ripgrep shows that the regex is correct:
rg --color=never --no-heading --with-filename --line-number --column "\b(TODO)(\([-[:alnum:]]+\))?:" lua/plugins/todo_comments/init.lua
lua/plugins/todo_comments/init.lua:3:4:-- TODO: foo
lua/plugins/todo_comments/init.lua:4:4:-- TODO(Dave): foo
lua/plugins/todo_comments/init.lua:5:4:-- TODO(ABC-123): foo

How am I supposed to write the regex in the configuration?
Working regex can be seen here https://regex101.com/r/UjhTkd/1.
Please note that this issue does not concern highlighting.
Steps To Reproduce
Using the attached repro.lua file:

nvim -u repro.lua repro.lua
Invoke :TodoLocList
Only one of the three TODOs is listed

Expected Behavior
Given a set of TODOs with formats mentioned above and with the regex in the description, I expect all TODOs to be listed in the location list.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "nvim-lua/plenary.nvim",
  "folke/tokyonight.nvim",
  "folke/todo-comments.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

require("todo-comments").setup({
  search = {
    pattern = [[\b(KEYWORDS)(\(\[-\[:alnum:\]\]+\))?:]]
  }
})

-- TODO: message
-- TODO(Dave): message
-- TODO(ABC-123): message

I believe your issue is that \b in vim's regex engine matches backspace, not a word boundary. You're looking for \<. See :h /character-classes and :h pattern-atoms for details.

Additionally, \( and \) do the opposite of what you're expecting--you want \((...)\) instead of (\(...\)) here.

I believe your corrected pattern should be \<\(KEYWORDS\)\(([-[:alnum:]]\+)\)\?: (you'll need to escape the brackets or use a different lua string syntax, but I've omitted that for clarity). Note the escaped \+ as well.

Oh, and I think you'll need to escape the backslashes in the string, i.e. \\ instead of \, except when escaping brackets for the string.

Thanks for your suggestions. This may help with the highlighting part which uses vimregex, but the search uses ripgrep. It is nice that the plugin uses raw string literals however; makes for fewer obscure escapes :)

If the search is using rg, then the only thing you should have to change here is changing [-[:alnum:\]\] to [[:alnum:]-]. You can't escape a ]] in a lua bracketed string, so you have to instead just never have ]] appear in your string.

Here is how it looks with the corrected regex for rg:

I also tried expanding the [:alnum:] part to a-zA-Z0-9 to ensure that there was no mischief going on with the strings in Lua...

Huh, you got me there. I'm out of ideas.

Huh, you got me there. I'm out of ideas.

:cry:
Thanks anyway for your help. If nothing else I learned about some new help pages that will come in handy :)

This works on my Arch machine:
systemctl --version:  systemd 253 (253.1-3-arch)
uname -r:                 6.2.8-arch1-1
ripgrep --version:     13.0.0

I'll try a different version of ripgrep on my Ubuntu machine when I'm back at work tomorrow. But this isn't an issue with this plugin so this issue can be closed. Thanks @willeccles for your help.


Update oop-extensibility-model-overview.md

Updated wording/casing.  Also removed 'Gladstone' as that might have been the project's codename.  Not sure.

Thanks! I will be merging this request.


common.js library to use across Keep Network projects

The library currently define a function that pulls contract address from
a Truffle's artifact that is located in node_modules.

I'm not clear on what this is "common" for. Are we introducing a dependency from other repos to local-setup?

We use it in keep-ecdsa and tbtc migrations. Example: https://github.com/keep-network/keep-ecdsa/pull/774/commits/416c532b6a6f95c40287a0d4a0737258b49781f6
I wasn't sure if it's worth creating a separate repo, so placed it here for now. I'm open to any suggestions.


element removal and recreation by snabbdom causes events to unhook

Problem is caused by skipRepeats() in index.js.

Issue is also reported here: https://github.com/paldepind/snabbdom/issues/36
If it's fixable, then you can probably close this issue.

This should be solved with commit https://github.com/motorcyclejs/motorcycle-dom/commit/c7f6480dbc44c0967f1183b80d7ad760e6699962. I've opened #4 in order to find/track a better way to add/remove eventListeners.


Add converted perf json files for TMA4.7

This update includes

All the converted JSON file for TMA4.7 under the script/perf directory.
Remove script/perf from .gitignore

I have a few questions / future contributions related to this pull request. Will open and link GitHub Issues to discuss them further.


Argmax error on deeplab quantized model with tflite hexagon delegate

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04.4 LTS
TensorFlow installed from (source or binary): Source
TensorFlow version:  Build from: git clone --recurse-submodules https://github.com/tensorflow/tensorflow.git
Python version: 3.6.9
Bazel version (if compiling from source): 2.0.0, 1.14
GCC/Compiler version (if compiling from source):gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Device: Redmi Note 7 Pro (Hexagon 685 DSP),  Android 10.0; MIUI 11

Describe the current behavior
When i try to run the official deeplab model with quantization aware training in tflite benchmark  using hexagon delegate, it fails with the following error:-
`adb shell /data/local/tmp/benchmark_model --graph=/data/local/tmp/frozen_inference_graph_dm05_5.tflite --use_hexagon=true hexagon_profiling=true
adb: /opt/intel/intelpython27/lib/libcrypto.so.1.0.0: no version information available (required by adb)
STARTING!
Min num runs: [50]
Min runs duration (seconds): [1]
Max runs duration (seconds): [150]
Inter-run delay (seconds): [-1]
Num threads: [1]
Benchmark name: []
Output prefix: []
Min warmup runs: [1]
Min warmup runs duration (seconds): [0.5]
Graph: [/data/local/tmp/frozen_inference_graph_dm05_5.tflite]
Input layers: []
Input shapes: []
Input value ranges: []
Input layer values files: []
Use legacy nnapi : [0]
Allow fp16 : [0]
Require full delegation : [0]
Enable op profiling: [0]
Max profiling buffer entries: [1024]
CSV File to export profiling data to: []
Max number of delegated partitions : [0]
Enable platform-wide tracing: [0]
Use gpu : [0]
Allow lower precision in gpu : [1]
Use Hexagon : [1]
Hexagon lib path : [/data/local/tmp]
Hexagon Profiling : [0]
External delegate path : []
External delegate options : []
Use nnapi : [0]
Use xnnpack : [0]
Loaded model /data/local/tmp/frozen_inference_graph_dm05_5.tflite
INFO: Initialized TensorFlow Lite runtime.
loaded libcdsprpc.so
INFO: Created TensorFlow Lite delegate for Hexagon.
INFO: Hexagon delegate: 71 nodes delegated out of 71 nodes.
Applied Hexagon delegate, and the model graph will be completely executed w/ the delegate.
The input model file size (MB): 0.746232
Initialized session in 315.521ms.
Running benchmark for at least 1 iterations and at least 0.5 seconds but terminate if exceeding 150 seconds.

Timestamp: Tue Mar 24 18:13:02 2020
Log
hexagon/ops/src/op_argminmax_8_d32.c:119:argminmax_8_d32 out too small
hexagon/src/execute.c:142:execute() failed on node id=37b err=-1
hexagon/src/interface.c:1174:fail in execute_inner()

ERROR: Failed: Failed to execute graph.. STATE: FAILED_TO_EXECUTE_GRAPH
ERROR: Node number 71 (TfLiteHexagonDelegate) failed to invoke.

Timestamp: Tue Mar 24 18:13:02 2020
Log
hexagon/ops/src/op_argminmax_8_d32.c:119:argminmax_8_d32 out too small
hexagon/src/execute.c:142:execute() failed on node id=37b err=-1
hexagon/src/interface.c:1174:fail in execute_inner()

ERROR: Failed: Failed to execute graph.. STATE: FAILED_TO_EXECUTE_GRAPH
ERROR: Node number 71 (TfLiteHexagonDelegate) failed to invoke.

Timestamp: Tue Mar 24 18:13:02 2020
Log
hexagon/ops/src/op_argminmax_8_d32.c:119:argminmax_8_d32 out too small
hexagon/src/execute.c:142:execute() failed on node id=37b err=-1
hexagon/src/interface.c:1174:fail in execute_inner()

ERROR: Failed: Failed to execute graph.. STATE: FAILED_TO_EXECUTE_GRAPH
ERROR: Node number 71 (TfLiteHexagonDelegate) failed to invoke.

Timestamp: Tue Mar 24 18:13:02 2020
Log
hexagon/ops/src/op_argminmax_8_d32.c:119:argminmax_8_d32 out too small
hexagon/src/execute.c:142:execute() failed on node id=37b err=-1
hexagon/src/interface.c:1174:fail in execute_inner()

ERROR: Failed: Failed to execute graph.. STATE: FAILED_TO_EXECUTE_GRAPH
ERROR: Node number 71 (TfLiteHexagonDelegate) failed to invoke.

Timestamp: Tue Mar 24 18:13:03 2020
Log
hexagon/ops/src/op_argminmax_8_d32.c:119:argminmax_8_d32 out too small
hexagon/src/execute.c:142:execute() failed on node id=37b err=-1
hexagon/src/interface.c:1174:fail in execute_inner()

ERROR: Failed: Failed to execute graph.. STATE: FAILED_TO_EXECUTE_GRAPH
ERROR: Node number 71 (TfLiteHexagonDelegate) failed to invoke.

Timestamp: Tue Mar 24 18:13:03 2020
Log
hexagon/ops/src/op_argminmax_8_d32.c:119:argminmax_8_d32 out too small
hexagon/src/execute.c:142:execute() failed on node id=37b err=-1
hexagon/src/interface.c:1174:fail in execute_inner()

ERROR: Failed: Failed to execute graph.. STATE: FAILED_TO_EXECUTE_GRAPH
ERROR: Node number 71 (TfLiteHexagonDelegate) failed to invoke.

Timestamp: Tue Mar 24 18:13:03 2020
Log
hexagon/ops/src/op_argminmax_8_d32.c:119:argminmax_8_d32 out too small
hexagon/src/execute.c:142:execute() failed on node id=37b err=-1
hexagon/src/interface.c:1174:fail in execute_inner()

ERROR: Failed: Failed to execute graph.. STATE: FAILED_TO_EXECUTE_GRAPH
ERROR: Node number 71 (TfLiteHexagonDelegate) failed to invoke.
count=7 first=84641 curr=81095 min=79276 max=84641 avg=80591 std=1766
Benchmarking failed.`
I removed argmax and model worked with nearest neighbor resizing.The model does not seem to work with int32/int64 argmax as the final layer; even though the operator is supported by hexagon delegate. The final resize has output shape [513,513], so i tried replacing bilinear resize with  nearest neighbor resizing; but the benchmark still failed . I also verified the setup by  correctly running mobienet_v2 quantized model. Both models with int32 and int64 argmax seems to give same error: argminmax_8_d32 out too small
Hexagon library: v1.14
Describe the expected behavior
The benchmark model should run the quantized deeplab model without any problems.
Other info / logs
Android NDK: 20, Benchmark tool built from latest source with bazel 2.0
Here are the three models that i've tried :-
quant_aware_deeplab_dm05_513.zip

What does this error mean: argminmax_8_d32 out too small?
Is there any way by which i can make it work, like changing shape, operator type etc?

I have a fix for the issue. Sorry for the trouble. Will be pushed soon.
Thanks


api/currency/get results in "405 Method Not Allowed"

I can see the 2 currencies I created in the ledger_currencies, table yet a get request with the json body below gives an error:
{
    "code": "CAD"
}

CAD is one of the currencies in the table.

This should be fixed in 1.9.0.


file-age: if providing a directory, check the age of the newest/oldest file found within it

perfect for checking backup folders

This could collide with the check of the file age of the folder itself.

good point, probably should be a parameter


How can we ensure the writing process is finish when we doing it in background thread

Goals

We are going to move the writing process to the background thread and all other threads can get the updated detached result.
Expected Results

Save realm object in a specific background thread
Delete that realm object in the same background thread
When querying the object, it returns nil

Actual Results

When querying that object, I still can get the object.
Steps for others to Reproduce

Run the unit test
Code Sample

class Database: DatabaseProtocolForConfig {
    private let queue = DispatchQueue(label: "DATABASE_QUEUE", autoreleaseFrequency: .workItem)

    func saveObject<T: Object>(config: Realm.Configuration, model: T, isTest: Bool) {
        queue.async {
            do {
                let realm = try Realm(configuration: config)
                realm.beginWrite()
                realm.add(model, update: .modified)
                try realm.commitWrite()
            } catch {
            }
        }
    }

    func deleteObject<T: Object>(config: Realm.Configuration, model: T, isTest: Bool) {
        queue.async {
            do {
                let realm = try Realm(configuration: config)
                if let key = type(of: model).primaryKey(),
                   let value = model.value(forKey: key),
                   let obj = realm.object(ofType: type(of: model), forPrimaryKey: value),
                   !obj.isInvalidated {
                    realm.beginWrite()
                    realm.delete(obj)
                    try realm.commitWrite()
                }
            } catch {
            }
        }
    }

    func queryObject<T: Object>(config: Realm.Configuration, type: T.Type, filterQuery: String?, isTest: Bool) -> T? {
        do {
            let realm = try Realm(configuration: config)
            var objects = realm.objects(T.self)
            if let filterQuery = filterQuery {
                objects = objects.filter(filterQuery)
            }
            let object = objects.first?.detached()
            return object
        } catch {
            return nil
        }
    }

Detaching helper
protocol DetachableObject: AnyObject {
    func detached() -> Self

}

extension Object: DetachableObject {
    func detached() -> Self {
        let detached = type(of: self).init()
        for property in objectSchema.properties {
            guard let value = value(forKey: property.name) else { continue }
            if let detachable = value as? DetachableObject {
                detached.setValue(detachable.detached(), forKey: property.name)
            } else if let list = value as? DetachableObject {
                detached.setValue(list.detached(), forKey: property.name)
            } else {
                detached.setValue(value, forKey: property.name)
            }
        }
        return detached
    }
}

extension Sequence where Iterator.Element: Object {

    public var detached: [Element] {
        return self.map({ $0.detached() })
    }
}

extension List: DetachableObject where Element: Object {
    func detached() -> List<Element> {
        let detached = self.detached
        let result = List<Element>()
        result.append(objectsIn: detached)
        return result
    }
}

The failed unit test
class DatabaseTest: XCTestCase {
    func test_save_delete_query() {
        let id = "dog 1"
        let dog1 = getDog(with: id)
        guard let config = config else {
            return
        }
        database.saveObject(config: config, model: dog1, isTest: true)

        guard let detachedDog1 = database.queryObject(config: config, type: Dog.self, filterQuery: "id = 'dog 1'") else {
            XCTFail()
            return
        }

        database.deleteObject(config: config, model: detachedDog1, isTest: true)

        let object = database.queryObject(config: config, type: Dog.self, filterQuery: "id = '\(id)'", isTest: true)
        XCTAssertNil(object)
    }
}

model
class Dog: Object {
    override class func primaryKey() -> String? {
        return "id"
    }
    @objc dynamic var id = ""
    @objc dynamic var name = ""
    @objc dynamic var age = 0
}
func getDog(with uniqueId: String) -> Dog {
    let id = uniqueId
    let name = "popo"
    let age = 11

    let mockDog = Dog()
    mockDog.id = id
    mockDog.name = name
    mockDog.age = age
    return mockDog
}

Version of Realm and Tooling

Realm framework version: v5.4.3
Realm Object Server version: ---
Xcode version: Xcode 12.1
iOS/OSX version: 10.15.7
Dependency manager + version: carthage 0.36.0

@gogovan-anthonychan You need to observe the Realm collection for changes, as the test will continue without waiting for the write to finish. Once the change has been observed you can let your test continue. One way to implement this 'traffic light' system is to use a semaphore
Also see observing a collection a Realm: https://realm.io/docs/swift/latest/#collection-notifications

@leemaguire We have thought about this approach. Sometimes, we would like to make it synchronous. Save an object and then query it from other place. How can we ensure that the saving process finish other than realm notification?

To make it synchronous you will need to run everything off the same queue, otherwise the use of a semaphore is needed to ensure all other tasks have completed before continuing to the next.

@leemaguire if delete and save are running in the same queue, and the order is save -> delete. Does it finish save process before delete every time?

Yes as long as you are using a serial queue.

@leemaguire  I think you have solved my problem so I close this issue. Thank you.


release artifacts for release v0.0.6

Improved logging with runtime v0.3.0

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license.

/lgtm


Clean up tool execution in Unit Tests

Fixed with https://github.com/Microsoft/vscode-python/pull/345


fix: parse CA certs from headers file

- What I did
Created a file named cacerts.h containing a collection of some of the CA certificates used by our servers.
- How I did it
When a connection is established, a certificate chain is created from the variables defined in cacerts.h, which will be used to verify and confirm the authenticity of the certificates sent to us by the servers to which connections are being made. This helps to prevent potential spoofing/mitm attacks.
Reading certificates directly from a file has not been possible due to a problem related to how different compiled programs interpret a variable that defines a path relative to their location. This problem only left us with the solution of locating this file in a known path (eg: ~/.atsign/at_c/, which could cause problems for embedded systems), or downloading the certificates from the internet and storing them locally (which could also be a problem).
- How to verify it
Try the pkam_authenticate example or print information about the certificate chain by adding the following code after the mbedtls_x509_crt_parse method call in the connection.cfile:
mbedtls_x509_crt *crt = &(ctx->cacert);
while(crt != NULL) {
    char buf[1024];
    mbedtls_x509_crt_info(buf, sizeof(buf) - 1, "", crt);
    printf("%s\n", buf);

    crt = crt->next;
}

- Description for the changelog

Closes #49

@realvarx I've set this to draft whilst you figure out the issue with the tests. Set it back when you're ready for review.

@realvarx I left this one for you to merge. Is there still something else to be done?

@realvarx I left this one for you to merge. Is there still something else to be done?

No, everything is fine. I just forgot to merge it


Much smarter tab autocomplete

I'm pretty sure it would at least be possible to set it so that from n[tab] could autocomplete against available tables that start with the letter n.
My hunch is that the way to implement this would be using tree sitter, in particular https://github.com/grantjenks/py-tree-sitter-languages which has support for SQLite as-of a few days ago.

Relevant code: https://github.com/simonw/sqlite-utils-shell/blob/1f962969da0ab1eaed0873f15de551f51fd36dfe/sqlite_utils_shell.py#L10-L30

https://github.com/simonw/sqlite-utils-litecli solves this already.


python3Packages.mandown: 1.6.0 -> 1.6.1

Description of changes
https://github.com/potatoeggy/mandown/releases/tag/v1.6.1
https://github.com/potatoeggy/mandown/compare/v1.6.0...v1.6.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Closing in favor of #277903


issue with parsing guards for state machines

The following example passes the passing phases and generates a wrong code. The issue is with the wrong format for the guard  [(x>+2)]
class A{
		Integer x;
		Integer y;
	status {
		on{
			turnOff [(x>+2)] -> off;
		}
		off{
			turnOn-> on;
		}
	}
}

The generated code for Java:
        if ((getX()>+2))
        {
          setStatus(Status.off);
          wasEventProcessed = true;
          break;
        }

What's the desired output, a compile error as (x>+2) does not make any sense to me

ohhh. wait "+2" as in just "2"?  So x>2.

Yes. It should not be parsed and it must show an error.

Another example that is not working:
class A{
		Integer x;
		Integer y;
	status {
		on{
			turnOff [x>(y+2)] -> off;
		}
		off{
			turnOn-> on;
		}
	}
}

The transition turnOff [x>(y+2)] -> off; is not going to be part of the model because of the parantheses.

We do need to get these things to parse and generate properly @opeyemiAdesina is working on this as he needs it for his thesis. @amidzak also was involved in some changes to parsing constraints recently

I was working with @opeyemiAdesina and thought it's better to have this issue as a track issue. He's going to create another issue with more details about the problems.

As per the last conversations (@TimLethbridge and @vahdat-ab) on this subject matter, I have raised a detailed issue on the problems associated with the parsing of guards in Umple. This presents a grammar-like formats for composing non-parsing guards. Besides, a set of examples derived from the formats and tested in Umple is presented. Hope this will be sufficient to track all bugs in this category.

See also #734


feat: add cloudflare provider

https://github.com/mr-karan/nomad-external-dns/issues/7

@mr-karan is this going to be released anytime soon? :)

Haven't had the chance to finish this, but will take a look at it again soon.


Add validation check for desired count in warmpool config

Issue #, if available:
Description of changes:
DesiredCount parameter in the WarmPool config should be a positive integer. A zero or negative integer as the desired count of the warmpool instances is invalid.
This PR adds a validation check in the config loader to validate that the DesiredCount is a positive integer.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Let's revisit this later!


Templates added to the hash calculation, fix for issue #241

Fix for issue #241

Thanks! Could you please squash this to a single commit?

There you are, squashed !

:+1:


carets (e.g. icono-caretLeft) do not work in Safari

Easily seen on http://saeedalipoor.github.io/icono/ where the carets shows as slightly skewed "x"s.

thanks, fixed :)


Broken on Safari on a fresh installation

If there's nothing in the storage, the ballot isn't created and the create file doesn't work, fails with "Failed to create file Untitled". Uploading a file fails similarly.
This is using Safari 10.0.3.

When trying to manually create a storage item, the reason is revealed:

window.localStorage.setItem("sol:test.sol", "contract{}")

QuotaExceededError (DOM Exception 22): The quota has been exceeded.

According to https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem:

Particularly, in Mobile Safari (since iOS 5) it always throws when the user enters private mode (Safari sets quota to 0 bytes in private mode, contrary to other browsers, who allow storage in private mode, using separate data containers).

I had it in private mode. Probably there's no way to workaround this, but at least better error reporting would be needed.

I think we should display a warning to the user if creating the ballot contract failed. This warning should explain the potential reasons, including Make sure to try without private browsing.


docs: v1 r_lang and julia packages

Signed-off-by: Keming<EMAIL_ADDRESS>One more thing, only install.julia_packages use names instead of name. Shall we align them? cc @VoVAllen @gaocegege

I think we should.

I think we should.

Do you mean changing to names or name in v1?

I think we should.

Do you mean changing to names or name in v1?

Yep

names

names could be name

Fixed. PTAL.


Improve JSDocs.

Types of params / return values should show up in JSDocs.
Maybe other things.

In 0.1.10.


No info about routing requirements at Local Network Gateway to route the NAT segment

We need precise explanation about how to handle the routing using the LNG to be able to have bidirectional network traffic using static nat rules.
As well adding more examples in the how to is needed. NAT is not only used when you have overlapping network segments.
More details about how to use ingress and egress with packet flows will be desirable

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

ID: 1130e194-0e0f-d7e9-1f5f-2101a173f9ff
Version Independent ID: 1f8e045c-4c83-f414-08aa-d68352e6abec
Content: Configure NAT on Azure VPN Gateway - Azure VPN Gateway
Content Source: articles/vpn-gateway/nat-howto.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@joteromontes , thank you for your feedback. We have assigned this to the content owner/author for review.
@cherylmc , for your review.

#reassign:deeharris-23

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


when will I use the pusher

Hello;
I'm confused; I do not know when and how to use the push. I followed the instructions as documented; but I do not see how this is what can help me; please help me understand the concepte of pusher.

A good example is here http://socketo.me/docs/push


[Bug]: Table column key error (starts with number)

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When a table column name starts with a number, it is not prefixed with _.
Therefore causing errors.

If the column name's first character is a number, we should prepend _. (Notice the added prefix when column name is 15)
Steps To Reproduce

Create a table
set tableData to

[
  {
	"15": "value",
	"15a": "value"
  }
]

Notice error in debug window.

Environment
Production
Version
Cloud

@sbalaji1192 can you tell us if we are talking care of this already or in v2, IN that case please close this issue and mention it on the table v2 epic

@somangshu This is taken care of in Table V2. Hence closing this.


Hard to handle GitHub API errors

I'm using this with your Sinatra gem.
After many debug prints, I found a bug here on this line:
https://github.com/atmos/warden-github/blob/master/lib/warden/github/oauth.rb#L50
That's basically assuming that any time we fail to get exactly what we want in response to authentication, we claim it's a Bad Verification Code, when really, any of the GitHub OAUTH errors will get pushed through there.
My workaround to figure out my problem was to split the line before the rescue into
params = decode_params(response.body)
params.fetch('access_token')

I could then look at the params in the rescue section, which revealed the problem I was having and the easiest way to test this:
I had my GitHub client secret wrong.
Specifically, I was getting the Invalid Client Credentials error from this page:
https://developer.github.com/v3/oauth/#common-errors-for-the-access-token-request

I wonder if it'd be advantageous to check these creds at startup and atleast warn that they're invalid. I'm a bit confused why the IndexError exception was raised for this.

Well, in the case that authentication fails, there is no "access_token" field in the json from the api (hence index error when trying to access it, i would suppose) but an error object instead - you can test this with something like postman.


Close the electron app properly.

Hi guys, I have successfully created my own app which is in .exe using the electron packager. But I face a problem where by when I close the app using the close button on the top right of the window, it still running in the background. I will have to go to task manager to end task the app only then I can run it again. Is there anyway to avoid this? How do we close the app properly?

I have tried using the below:
 app.on('window-all-closed', function() {
 if (process.platform != 'win32') {
     app.quit();
   }
});

But have no effect.

Hi there, I have successfully close the app by using the below:
 app.on('window-all-closed', function() {
  if (process.platform != 'darwin') {
      app.quit();
    }
 });

I'm using windows platform.

Does your app close in the way you expect when you use the first code snippet and run it Electron directly? (That is, without using electron-packager.)

I think the first code snippet is not for app in windows right?

That's correct. It's usually only needed for OS X, because it has a different concept of window management vs. app management.

Since the original issue reporter has not responded to the request for additional information in about two weeks, I'm going to assume that they either found the answer in another manner or decided not to pursue this issue. Additionally, this isn't really an electron-packager question, but more of an Electron question. So, I'm going to close this issue.


Generate initial list of exclusions

As I understand it, the general recommendation when starting with ATC rules on an existing project, is to initially suppress all failing rules in your Custom section in order to get back to ✅ state for the project, and then later clean up the code and remove the suppressions one by one in nice clean commits.
The challenge is that this initial suppression list takes a long time to hand-write. There is no easily translatable output from dotnet build that you can use unless you do serious amounts of manipulation (sorting, cleaning format etc.) in an editor or spread sheet to get the right format.
It would be really nice if we could somehow generate this list for the user. I am not really a .Net guy, so I don't know how this could be plugged into the ecosystem (as it is only dotnet build that knows which rules are violating it is probably not a good job for the atc updater to do this).
I envision the tool generating the actual syntax needed for insertion in the .editorconfig files, or even auto-adding to the custom sections. It would be a bonus if rues that only fail in test/ are only excluded in that folder, so as not to "cloak" future errors in production code.
Ideally, I would wish for a format where each line also contains information about the rule, e.g. the description and maybe link:
# StyleCop
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers
dotnet_diagnostic.SA1309.severity = none    # https://documentation.help/StyleCop/SA1309.html FieldNamesMustNotBeginWithUnderscore
dotnet_diagnostic.SA1402.severity = none    # https://documentation.help/StyleCop/SA1402.html FileMayOnlyContainASingleClass

# SonarSource
dotnet_diagnostic.S101.severity = none      # https://rules.sonarsource.com/csharp/RSPEC-101 Types should be named in PascalCase
dotnet_diagnostic.S108.severity = none      # https://rules.sonarsource.com/csharp/RSPEC-108 Nested blocks of code should not be left empty

# https://cezarypiatek.github.io/post/non-nullable-references-in-dotnet-core/
dotnet_diagnostic.CS8600.severity = none    # Converting null literal or possible null value to non-nullable type.
dotnet_diagnostic.CS8601.severity = none    # Possible null reference assignment.

# Meziantou
# https://www.meziantou.net/enforcing-asynchronous-code-good-practices-using-a-roslyn-analyzer.htm
dotnet_diagnostic.MA0002.severity = none    # https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0002.md IEqualityComparer<string> or IComparer<string> is missing
dotnet_diagnostic.MA0004.severity = none    # https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0004.md Use Task.ConfigureAwait(false)

The example above is a very shortened snippet from the hand-crafted exclusion list I made when adding ATC rules to a small Swagger API project. The full list originally contained > 100 rule suppressions, and adding the links and comments took quite a few hours, but I judged that it would be so much easier to motivate the developers to clean up the rules if they could actually read which one they were commenting out instead of just going by trial and error and having VS do useless Bing searches for help.
To me this sounds like a perfect use-case for automation.

@JKrag  - Work has commenced on this issue 😉


Error value of each action

Thank you for your work. I want to know where you get or how to get the error value of each action when you run the code？Looking forward to your reply.

please，can you help me，please

Hello，do you konw how to get the error value of each action when you run the code now？


Fix another endless loop bug in the DMDetector

The important change is the second commit. This is actually not a '3rd attempt' of fixing #30, it is fixing a different issue (which also resulted in an endless loop, though). Thanks @bommo1 for all the beta-testing ;).

There you go:

@huycn Please wait with merging that one as there is obviously more work to be done, still...

@axxel Maybe this info might help into further improving the detector:
Sometimes perfectly aligned dm-codes cannot be read, but after applying a small rotation they are.

I can provide more examples like this when necessary.

Interesting. Could you do me a favor and remove the 3 calls to moveHalfAPixel from SampleGrid and send see if you find more of those examples that still fail for only one of two orientations? Thanks.

Removing the calls to moveHalfAPixel helped in 3 out of 13 cases.
With the latest commit I couldn't reproduce until now the endless loop. I'll try some more.

If you have 13 pairs ready for testing, could you sent them to me somehow? Dropbox/Wetransfer/etc... ?

https://wetransfer.com/downloads/333c2eee1cd0b3b249c43edada16840920180212144403/939ef2002891cabbaceab0de5688b02d20180212144403/69e326

Your latest commit seams to solve the endless loop problem but has a side effect: more barcodes (around 3% in my testset) need now to be rotated in order to be read.

Can you give me one of those that need to be rotated to be detected after the latest commit? Or tell me the filename if it should be in the above zip? (thanks for that).

or in zip/with_moveHalfAPixel
11_orig.png
13_orig.png
17_orig.png
19_orig.png
1_orig.png
21_orig.png
23_orig.png
37_orig.png
3_orig.png
41_orig.png
47_orig.png
49_orig.png
51_orig.png
53_orig.png
57_orig.png
61_orig.png
63_orig.png
73_orig.png
75_orig.png
7_orig.png
9_orig.png

Actually the I get the best results without rotations using the code stand before the "endless loop" fixes.
https://github.com/nu-book/zxing-cpp/commit/ad994b3ae416ad149a80e82ad5e78f750472ca32

@huycn please merge: all known deadlocking examples work now.
@bommo1 the latest version is a slight improvement in detection quality (it detects one more of my own sample set) but still fails for about the same number of examples from your set. I spent quite some time looking at differences and double checking the sub-pixel precision placement of the 4 corner points determining the sample grid (like the moveHalfAPixel code) and am convinced that the current version is pretty much the best you can do.
Below is a set of images where one works and the other does not. You can see, the placing of the grid sample points is pretty much the same and about as good as it can get (and that is all the DMDetector is doing). The main differences come from the binarization, which is susceptible to slight  changes  in brightness coming from the interpolation during your rotation step.
The ones still not working are simple too blurry to be detected reliably, I'm afraid. If one really wanted to improve the situation, one would have to discard the hard binarization and use the grey-level info from the original inside the reed-solomon decoder. A simple scheme would be to randomly change those grid-points that are close to the black-white threshold. That would increase the risk of decoding something that was not really there, though. The basic approach of the whole library would need to change to explore that idea. I'm not going to go there at the moment.
I'f you have other ideas how to improve the detector, please let me know.
 (works)
 (fails)

@axxel thank you for the information!
Unfortunately I can still reproduce the endless loop:

Overall I still get better results with https://github.com/nu-book/zxing-cpp/commit/ad994b3ae416ad149a80e82ad5e78f750472ca32.

@axxel thank you again for your patience! (you probably want to shoot me by now :)

@huycn hit the pause button once again, please :-/
@bommo1 thanks for your patience and your constructive input.  As long as you come up with endless loop examples, I will fix them.

@bommo1 Latest endless-loop issue fixed + minor improvements that will not generally help with your blurred samples. I combined your two subfolders from the zip-file which now contains 86 files. 21 of them currently still fail. With the old version you mentioned, you will certainly get different results, maybe the total number is a bit smaller but it will generally be just other angles that fail.
I'll wait 24 hours before asking huycn to merge it, in case you find more endless loop samples ;).

There you go:

One example where the image looks perfectly fine but the code cannot be read:

That looks indeed pretty fine at a first glance.  Still, I'd like my detector to be able to cope with that and I have an idea what to do. But right now I have to stop with the fun stuff and do some work for a change ;). Expect this to work in the coming days. If you have 1 or 2 more samples like this one, that might help.

It looks good now. I couldn't generate any "endless loop" image.

Nice.
@huycn please unpause the merge button :)

Here are 2 more examples. I'll also try to naively un-distort (without prior calibration) the rectangle.

That is an impressive datamatrix ;). May I ask what application domain you have for those kind of input?
The first one might work with my idea, the second definitely not. The library currently works with 4 corner points and generates a regular sampling grid between those. It works with bended input as long as the module size is sufficient that you can still draw a straight line without crossing from one column to the next. The second example crosses like 3 columns on the right side.

Medical. The big one represents a "Medikationsplan".

So it's stable now ;) I will merge it since anyway, it works better than the head. If there is still problem, we just fire another issue.
Many thanks to @bommo1 for all the testings and samples and of course to @axxel for working on the issue. It's very much appreciated.

@bommo1 Standardisierte Medikationspläne? Interessant. Noch nie davon gehört. Mal telefonieren? -> PM an<EMAIL_ADDRESS>


update homepage link

The link from the web designer was incorrect

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


add R language

What does this implement/fix? Explain your changes.
Added support for R language. Should identify .r and .R files. Tested and working using "atom -d" on mac. Used implementation of lua language as a model for my changes.
Requires formatR package and R language to work. I did add an automatic installation of formatR if it does not exists, which is why the first time run takes a bit longer.
Does this close any currently open issues?
Issue #878 .... hopefully.
Any other comments?
I dont know how to do the travis CI and AppVeyor tests.
Checklist
Check all those that are applicable and complete.

[X] Merged with latest master branch
[X] Added examples for testing to examples/ directory
[x] Travis CI passes (Mac support)
[ ] AppVeyor passes (Windows support)

Seems appveyor failes for the same reason as other current pull requests, because of rubocop.
Travis CI seems to fail because it cannot find the command "Rscript", meaning that Travis does not have R installed.

Yeah, don't worry about appveyor right now.  Is there any way download Rscript as a package using something like NPM, homebrew, or some other package manager?

You can install R through homebrew, I know from firsthand experience.
I think this should do it:
brew tap homebrew/science
brew install r

Homebrew is not a deployment solution for Atom Beautify because while I really enjoy Homebrew it is OS specific.  It should work for some Travis.ci builds though now that OSX is a build deployment option.  I will hold out and see if Glavin has better advise.

I changed the name and link glavin specified.
I attempted to create an option for indent size but the option does not appear in atom-beautify settings. It seems the option does not successfully forward from r.coffee to r-beautifier/index.coffee (options.indent_size). Please advise if you see what I have missed.
Finally, Glavin what do you think about the issue that I discussed with prettydiff regarding the requirement of R for this to function correctly?

I will require that Travis CI passes. Could you change https://github.com/Glavin001/atom-beautify/blob/master/.travis.yml#L75 to support installing R, etc.
See https://github.com/Glavin001/atom-beautify/blob/master/.travis.yml#L101-L112 for example on how to install based on Mac or Linux. Thank you! Looking great so far!

The Travis CI fails for Linux and OSX, but after the R installation is completed. Is there anything I can do about this? For osx the issue is "npm install coffee-formatter" and for linux there is some issue with tapping homebrew/homebrew-php

For osx the issue is "npm install coffee-formatter"

Actually the error message is:
npm ERR! Failed to parse json
npm ERR! Unexpected token :
npm ERR! File: /Users/travis/build/Glavin001/atom-beautify/package.json
npm ERR! Failed to parse package.json data.

This is a simple fix :+1: . The problem is that package.json is not valid JSON. I looked and see a missing } bracket. Once you fix that it should pass.

The issue with Linux is related to Homebrew for Linux and homebrew-php. It is likely related to some change in homebrew-php. If you get Mac working, I will accept this Pull Request, as Mac support usually indicates Linux will also work, if setup properly.
Thank you!

Run npm run docs which in turn runs coffee docs/ and builds the markdown files in the docs/ directory as well as README.md with all of the updated usage information.
However, this does not affect the Atom-Beautify package options, as shown in your screenshot.

npm run docs gave me errors which I solved by changing "formatR" back to "R beautifier" in src/beautifiers/r-beautifier/index.coffee.  (this took me at least two hours to figure out :/)

I think the problem you are showing above is because of the pre-computed options. You can run npm run postinstall which runs node script/build-options.js. This will rebuild the file src/options.json which is used for package settings, as shown in your screenshot. Afterwards restarting Atom should resolve the problem shown in your screenshot above.

After this the setting for indent size showed up in Atom and changing it did influence the beautification of my test.r script!
I added everything except the changes in docs/code to the pull request.

Is there a way to run the examples expected test manually?
I think I fixed it this time but it was quite strange, a whitespace was disappearing at the end of line 16 for no apparent reason in the expected/test.r and it was making the example test fail (if I am right).

Is there a way to run the examples expected test manually?

I run tests in Atom with Window: Run Package Specs from the Atom command palette.

I think I fixed it this time but it was quite strange, a whitespace was disappearing at the end of line 16 for no apparent reason in the expected/test.r and it was making the example test fail (if I am right).

Take a look at the Whitespace package settings.
I believe this is what caused weird issues for me in the past.

It passed Travis-CI OSX!

Ugh. Sorry about this! I was just about to merge and realized there's merge conflicts. Would you be able to take a look and resolve those? Thanks in advance!

Fixed the merge conflicts. Should be good now I hope.

Thanks! Almost there. There is an extra folder & file, src/beautifiers/r-beautifier/index.coffee. It was renamed to formatR.
Also documentation needs to be re-generated.
Almost there!! 😄

Looks good to merge!  But yes, I hope in the future it gets replaced by a version that does not require R and installing an R package, like a perl script or something, but for now I think it works well =).
Thanks for all the help by the way!

Absolutely awesome work @Sebastian-D ! Thank you for sticking in there and contributing to Atom-Beautify! I know a lot of users, including myself, really appreciate it. 😃

Cheers! :)

Published to v0.29.12


Condition on README snippet seems inverted

Error condition on README async example for Kotlin seems to be inverted: https://github.com/kittinunf/Fuel/blob/62daa920d93fc1d7cc5ef1bd3dbbd7b6804c475c/README.md#L78

Can you elaborate a bit on that? Even better, if you can open a PR to resolve that.

Close this.


Allow deployment from entry point without package.json in directory. Fixes gh-717

Smoke Test
mkdir t2-no-package.json && cd t2-no-package.json;
t2 init;
rm {package.json,.tesselinclude};
ls -ah;
t2 run index.js;

Observed:
rwaldron at nova in ~/robotz
$ mkdir t2-no-package.json && cd t2-no-package.json;
rwaldron at nova in ~/robotz/t2-no-package.json
$ t2 init;
Initializing Tessel 2 Project...
Created package.json.
Created .tesselinclude.
Wrote "Hello World" to index.js
rwaldron at nova in ~/robotz/t2-no-package.json
$ rm {package.json,.tesselinclude};
rwaldron at nova in ~/robotz/t2-no-package.json
$ ls -ah;
.
└── [-rw-r--r-- rwaldron staff     287 Jun 10 17:51]  index.js

0 directories, 1 file
rwaldron at nova in ~/robotz/t2-no-package.json
$ t2 run index.js;
INFO Looking for your Tessel...
INFO Connected to Tessel-02A347EF35F2.
INFO Building project.
INFO Writing project to RAM on Tessel-02A347EF35F2 (3.072 kB)...
INFO Deployed.
INFO Running index.js...
I'm blinking! (Press CTRL + C to stop)

Expected Outcome
A new project is created, the package.json and .tesselinclude are deleted (the latter is not necessary), the index is deployed without failing to find a package.json
cc @HipsterBrown
Signed-off-by: Rick Waldron<EMAIL_ADDRESS>

Rad! I'll try this out tonight or tomorrow.

Did the smoke test with the following output:
Nicks-MacBook-Pro:t2-no-package.json hipsterbrown$ ls -ah;
.		..		index.js
Nicks-MacBook-Pro:t2-no-package.json hipsterbrown$ t2 run index.js
INFO Looking for your Tessel...
INFO Connected to j5.
INFO Building project.
INFO Writing project to RAM on j5 (3.072 kB)...
INFO Deployed.
INFO Running index.js...
I'm blinking! (Press CTRL + C to stop)
^CNicks-MacBook-Pro:t2-no-package.json hipsterbrown$

Success! LGTM 👍

Thanks for the review @HipsterBrown!


NOMERGE Run CI for ocis-reva + dep updates

Run CI for:

deps update https://github.com/owncloud/ocis/pull/334
ocis-reva upcoming PR https://github.com/owncloud/ocis-reva/pull/261

failures:
--- Failed scenarios:
/srv/app/testrunner/tests/acceptance/features/apiShareOperations/getWebDAVSharePermissions.feature:35
/srv/app/testrunner/tests/acceptance/features/apiShareOperations/getWebDAVSharePermissions.feature:36
/srv/app/testrunner/tests/acceptance/features/apiWebdavOperations/downloadFile.feature:118
/srv/app/testrunner/tests/acceptance/features/apiWebdavOperations/downloadFile.feature:119
/srv/app/testrunner/tests/acceptance/features/apiWebdavOperations/downloadFile.feature:145
/srv/app/testrunner/tests/acceptance/features/apiWebdavOperations/downloadFile.feature:146
/srv/app/testrunner/tests/acceptance/features/apiWebdavProperties/copyFile.feature:22
/srv/app/testrunner/tests/acceptance/features/apiWebdavProperties/copyFile.feature:23
/srv/app/testrunner/tests/acceptance/features/apiWebdavProperties/copyFile.feature:33
/srv/app/testrunner/tests/acceptance/features/apiWebdavProperties/copyFile.feature:34
/srv/app/testrunner/tests/acceptance/features/apiWebdavProperties/copyFile.feature:45
/srv/app/testrunner/tests/acceptance/features/apiWebdavProperties/copyFile.feature:46

This is a bit more than what we see on https://github.com/owncloud/ocis-reva/pull/261 which only has the copyFile failures

looks good, at least results are consistent with https://github.com/owncloud/ocis-reva/pull/261

acceptance tests passed, nice
let's see if Phoenix tests pass also.
we anyway will want to update ocis-phoenix soon


[BUG] Sheets don't add the animal ken skill dice to the total dice pool roll

When using the animal ken skill on any type of sheet it doesn't add the skill to the actual roll.

Thanks for letting me know! Should be fixed before the full 4.0.0 release.


[Discussion] Service Bus - Track 2 - Management client model changes

The intent of this issue is to solicit feedback from the community in advance of the GA of the next major version of the Service Bus library (which will follow several Preview releases).
As a reference, the .NET Azure SDK guidelines can be found here: https://azure.github.io/azure-sdk/dotnet_introduction.html
Terminology:
Track 0 refers to the WindowsAzure.ServiceBus library
Track 1 refers to the Microsoft.Azure.ServiceBus library
Track 2 refers to the new library, Azure.Messaging.ServiceBus, we are working on releasing.
In the Track 1 ManagementClient, there is a single model type, QueueDescription, that is used for both creating and updating queues. A similar pattern exists for topics, subscriptions, and rules. Since this same type is used for both creating and updating queues, all of the properties are settable even though only 5 of the 15 properties on a queue can actually be changed after the queue is created. If a user attempts to change one of the other properties, they will hit a runtime error.
In order to make these restrictions more evident in the API itself, we are proposing using two separate types to model each entity - one for creation, and one for updating. This new type will be named as Create(Queue|Topic|Rule|Subscription)Options. We are also proposing renaming (Queue|Topic|Rule|Subscription)Description to be (Queue|Topic|Rule|Subscription)Properties, as this is more idiomatic in the Azure SDK Track 2 landscape. In order to maintain consistency with the  (Queue|Topic|Rule|Subscription)Properties name, we also propose renaming (Queue|Topic|Subscription)RuntimeInfo to (Queue|Topic|Subscription)RuntimeProperties.
Creating a queue:
var options = new CreateQueueOptions(queueName)
{
    AutoDeleteOnIdle = TimeSpan.FromHours(1),
    DefaultMessageTimeToLive = TimeSpan.FromDays(2),
    DuplicateDetectionHistoryTimeWindow = TimeSpan.FromMinutes(1),
    EnableBatchedOperations = true,
    DeadLetteringOnMessageExpiration = true,
    EnablePartitioning = false,
    ForwardDeadLetteredMessagesTo = null,
    ForwardTo = null,
    LockDuration = TimeSpan.FromSeconds(45),
    MaxDeliveryCount = 8,
    MaxSizeInMegabytes = 2048,
    RequiresDuplicateDetection = true,
    RequiresSession = true,
    UserMetadata = nameof(BasicQueueCrudOperations)
};
QueueProperties queue = await client.CreateQueueAsync(options);

In order to update a queue, you would pass in the QueueProperties after making your changes. Only properties that can be changed on an already existing queue will have setters.
QueueProperties queue = await client.GetQueueAsync(queueName);
queue.MaxDeliveryCount = 5;
QueueProperties updated = await client.UpdateQueue(queue);

In order to support creating a new queue based on an existing queue, we will include a constructor for CreateQueueOptions that takes a QueueProperties:
QueueProperties queue = await client.GetQueueAsync(queueName);
var options = new CreateQueueOptions(queue);
options.Name = "new-queue";
QueueProperties newQueue = await client.CreateQueueAsync(options);

And to look up runtime properties:
QueueRuntimeProperties runtime = await client.GetQueueRuntimePropertiesAsync(newQueue.Name);

/cc @SeanFeldman @Einarsson @brandondahler @broloaugh @ankrause @GrimGadget @ShaneCourtrille @Pucmaster @Bnjmn83 @tomkerkhove @clemensv

For the get properties methods on the management client, e.g. QueueProperties, I would suggest to have a method that is less ambiguous than GetQueueAsync(queueName). A GetQueuePropertiesAsync(queueName) would be a better for intent revealing.

While I see the rationale behind the naming chosen for CreateQueueOptions and QueueProperties, I find it confusing to have "options" and "properties" while both stand for the same things. CreateQueueProperties and QueueProperties would resonate better with me.

I'm assuming along with QueueDescription there will be the analogous constructs for subscriptions, topics, and rules?

For the get properties methods on the management client, e.g. QueueProperties, I would suggest to have a method that is less ambiguous than GetQueueAsync(queueName). A GetQueuePropertiesAsync(queueName) would be a better for intent revealing.
While I see the rationale behind the naming chosen for CreateQueueOptions and QueueProperties, I find it confusing to have "options" and "properties" while both stand for the same things. CreateQueueProperties and QueueProperties would resonate better with me.

I'm assuming along with QueueDescription there will be the analogous constructs for subscriptions, topics, and rules?

GetQueuePropertiesAsync seems reasonable on its own, but would it be strange that we would still have a CreateQueueAsync method that returns QueueProperties?

I can see your point about having two distinct but similar suffixes here potentially adding to the cognitive burden, but we do try to use the options pattern across track 2 for input property bags containing optional properties, so hopefully it is a pattern that users will become accustomed to.

Yes, we will have analogous changes for the other entities.

GetQueuePropertiesAsync seems reasonable on its own, but would it be strange that we would still have a CreateQueueAsync method that returns QueueProperties?

GetQueuePropertiesAsync is a method to return queue properties. For the scenarios where a user wants to get queue properties, it will be natural to look for this method to invoke. GetQueue feels off as the name implies that you get a queue or a queue reference (see older Storage SDKs).
As for CreateQueueAsync, looking from a command-query separation perspective, yes, it's a bit odd. If the broker can return successfully and not apply all the properties, it would be a must to have the return value. As far as I know, that's not the case and the broker would throw if it cannot construct an entity with a given entity description (properties/create options). Ironically, I'll use your own design against your point here 😈: the method is provided with CreateQueueOptions but returns QueueProperties

Yes, we will have analogous changes for the other entities.

👍
You've got that in the issue description. Thank you.

GetQueuePropertiesAsync is a method to return queue properties. For the scenarios where a user wants to get queue properties, it will be natural to look for this method to invoke. GetQueue feels off as the name implies that you get a queue or a queue reference (see older Storage SDKs).

I would tend to agree that on its own GetQueuePropertiesAsync is preferable. The part I am less sure of is whether the tradeoff of changing this name is worth the slight inconsistency with the naming of and CreateQueueAsync.  As you mention though, the input type is already different for CreateQueueAsync, so maybe it wouldn't be that jarring for users.
The other piece that I hadn't thought of initially is what this would to the API that gets all queues in the namespace - would this be GetQueuesPropertiesAsync? Despite being an accurate name, it seems hard to read and less intuitive than the simple GetQueuesAsync. In the end, this will be a tradeoff one way or the other.

Personally, I'd take GetQueuesPropertiesAsync over GetQueuesAsync.

Personally, I'd take GetQueuesPropertiesAsync over GetQueuesAsync.

Will talk this over with feature crew and PG. Here is my summary of the tradeoffs:
GetQueueAsync/UpdateQueueAsync

consistent with CreateQueueAsync which is nice considering the return types are all the same.
not quite as accurate/descriptive as GetQueuePropertiesAsync, though the return type should hopefully clear up any confusion

GetQueuePropertiesAsync/UpdateQueuePropertiesAsync

would be inconsistent with CreateQueueAsync.
more descriptive and technically accurate
Would be forced into using the awkward name GetQueuesPropertiesAsync for the get all queues API.

I updated the issue description to mention that actually only 4 of the queue properties cannot be modified on created queues - EnablePartitioning, RequiresSession, RequiresDuplicateDetection, and Name. This arguably makes this change less of a slam dunk, but I still think it is an improvement and makes for a more intuitive API. Splitting into two types and requiring a get before an update also allows us to make the partial update semantics less ambiguous - previously a user would be able to new up a QueueDescription directly and attempt to make an update. Doing this would result in resetting all of the properties that they left blank to their default values, which may not be what users expect. With two separate types, we have restricted the ability to new up QueueProperties, so the user is forced to get the queue before doing an update.

Closing as this has been merged in https://github.com/Azure/azure-sdk-for-net/pull/13590


React to removal of Blazor VSIX

@dougbu asked me to open an issue to react to the removal of this
https://github.com/aspnet/AspNetCore/pull/13066#pullrequestreview-274000552
We no longer need to ship the Blazor VSIX from aspnet/AspNetCore

Believe I did the needful last week. Lemme know if anything is remaining.


fix: parentNode should be cleared in removeRangeFromContentState.updateBlockMapLinks function

Summary
In experimental mode. There is a blockMap

A has a child C
C has a child D
D is empty

if backspace block D, blockMap will be updated as follows:

set A as D's parent
update A's children list
remove C

But, C is still in A's children list due to the use of old newParent which is derived from blockMap

@mrkev May I ask for a look on this issue.
I am working on project https://github.com/ryuever/react-tapable-editor, and this issue really be a trouble..


Help : how to register a new service provider

Hello Helpers,
providers/MyName.js
const ServiceProvider = require('adonis-fold').ServiceProvider
 class MyNameProvider extends ServiceProvider {
    * register() {
        this.app.bind('Adonis/Provider/MyName', function() {
            return 'Navdeep Singh'
        })
    }
}

calling like
const myName = use('Adonis/Provider/MyName')

Seems not correct way.. got 'Cannot find module 'Adonis/Provider/MyName' '

Well I register my test npm package. And used that in code. That works.
My Question : how to add and register provider in /providers
thks!

@navdeepsingh You have to register it inside the bootstrap/app.js file.

@thetutlage can give me overview by registering my above provider. Because I tried, it seems only node_modules providers can be added.

@navdeepsingh Can u please share the code on how you are trying to add it.
Let's take this example
providers/MyName.js
const ServiceProvider = require('adonis-fold').ServiceProvider

class MyNameProvider extends ServiceProvider {
    * register() {
        this.app.bind('Adonis/Provider/MyName', function() {
            return 'Navdeep Singh'
        })
    }
}

module.exports = MyNameProvider

bootstrap/app.js
const providers = [
 path.join(__dirname, '../providers/MyName')
]

Usage
const MyName = use('Adonis/Provider/MyName')

@thetutlage  thks Paji!
Silly mistake! Was missed module.exports = MyNameProvider
Keep Rocking!!


Kover verify fails even though numbers in report are good

My report looks like that

Package
Class, %
Method, %
Branch, %
Line, %
Instruction, %

all classes
92.6%           (918/991)
91.2%           (1995/2188)
65.5%           (4049/6180)
92.2%           (8364/9071)
81%           (75129/92794)

But for some reason
tasks.koverMergedVerify {
    rule {
        name = "Minimal line coverage rate in percent"
        bound {
            minValue = 91
        }
    }
}

fails with the error
Execution failed for task ':koverMergedVerify'.
> Rule 'Minimal line coverage rate in percent' violated for 'katch': covered lines percentage is 66, but expected minimum is 91

TBH have no idea where this number 66 comes from 🤷

Is there any additional logging I can enable?
Or is there a way to test with coverage.xml to see what values does it get?

@shanshin warning is indeed a good idea, PTAL


StyleClass?

You mention StyleClass only in the summary -- not anywhere else. Is it out of date?

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

ID: f28d1a17-189a-7791-b44b-b84e94d8f7b6
Version Independent ID: 3ad8e76d-eaa6-18f9-c121-9cf4c2c1720f
Content: Creating a Custom Xamarin.Forms Theme - Xamarin
Content Source: docs/xamarin-forms/user-interface/themes/custom.md
Product: xamarin
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @grahampcharles
No - StyleClass is valid and useful. However, for various reason, it doesn't get much of a mention in the docs. I've created a backlog issue to rectify this.
Thanks for raising the issue.


Store Role Id's instead of Role Names in Session

$_SESSION['roles'] => [$roleId => ['roleName' => $roleName, 'roleLevel' => $roleLevel, ...]


Add method to fetch measurements

Add method to fetch measurements

Codecov Report

Merging #15 (7e579c2) into main (eb98fa6) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          175       257   +82
  Branches        12        21    +9
=========================================
+ Hits           175       257   +82

Files Changed
Coverage Δ

src/aiowithings/models.py
100.00% <100.00%> (ø)

src/aiowithings/withings.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Should all hosts be passed to EnsureLoadBalancer

This is irrelevant now that we don't call EnsureLoadBalancer() anymore


fix issue 14946 - druntime coverage tests fail intermittently

https://issues.dlang.org/show_bug.cgi?id=14946
The solution is very unix specific, I'm not sure what happens on windows, but it doesn't appear to run those tests.
It's also specific to the way we construct the ROOT directory, but I'm not sure of a good way to do that from ROOT itself. This at least gets the job done.
I'd much rather see a good solution to this involving direction of the runtime on where to write the coverage data.

see #1352


Failed to integrate a large scRNA-seq dataset in my project

I integrated a large scRNA-seq dataset (300k+ cells) following the Tutorial using pre-annotation ( cellhint.integrate(adata, 'Data.sets', 'celltype')) or labels of celltypyist ( cellhint.integrate(adata, 'Data.sets', 'majority_voting')). But the results are strange:
pre-annotation labels:

celltypyist labels:

Can you give me some suggestions?

I adjusted sc.pp.highly_variable_genes(adata, batch_key = 'Data.sets', subset = True) to 'sc.pp.highly_variable_genes(adata,subset = True)'. After this adjustment, the results improved significantly. Therefore, the selection of highly variable genes is crucial. I am grateful for the excellent tool provided by the author!


front-end using SwiftUI/Swift

[x] user login page
[x] client list
[x] search/sorting
[x] detailed page
[ ] status updates (work with backend)

user login page done

working on client list

search/sorting function/personal detailed page


replace deepcopy with copy because of strange error "can't pickle gen…

Looks like I've used the wrong copy method in my original pull request, causing big problems now on reading valid ICS files:
-> please apply this fix asap and rebase 0.9.4 if possible.
Sorry for that, please also extend selftesting capabilities by using e.g. code from
https://github.com/pbiering/Radicale/blob/pbiering-testing/radicale-storage-check.py
and feed one VCARD and one ICS into.
  File "/path/to/radicale-storage-check.py", line 48, in <module>
    item_ser = item.serialize()
  File "/usr/lib/python3.4/site-packages/vobject/base.py", line 254, in serialize
    return behavior.serialize(self, buf, lineLength, validate)
  File "/usr/lib/python3.4/site-packages/vobject/behavior.py", line 166, in serialize
    out = base.defaultSerialize(transformed, buf, lineLength)
  File "/usr/lib/python3.4/site-packages/vobject/base.py", line 1002, in defaultSerialize
    child.serialize(outbuf, lineLength, validate=False)
  File "/usr/lib/python3.4/site-packages/vobject/base.py", line 254, in serialize
    return behavior.serialize(self, buf, lineLength, validate)
  File "/usr/lib/python3.4/site-packages/vobject/behavior.py", line 168, in serialize
    obj.transformToNative()
  File "/usr/lib/python3.4/site-packages/vobject/base.py", line 183, in transformToNative
    self_orig = copy.deepcopy(self)
  File "/usr/lib64/python3.4/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib64/python3.4/copy.py", line 300, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib64/python3.4/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib64/python3.4/copy.py", line 246, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib64/python3.4/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib64/python3.4/copy.py", line 246, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib64/python3.4/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib64/python3.4/copy.py", line 219, in _deepcopy_list
    y.append(deepcopy(a, memo))
  File "/usr/lib64/python3.4/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib64/python3.4/copy.py", line 300, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib64/python3.4/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib64/python3.4/copy.py", line 246, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib64/python3.4/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib64/python3.4/copy.py", line 294, in _reconstruct
    args = deepcopy(args, memo)
  File "/usr/lib64/python3.4/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib64/python3.4/copy.py", line 226, in _deepcopy_tuple
    y.append(deepcopy(a, memo))
  File "/usr/lib64/python3.4/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib64/python3.4/copy.py", line 300, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib64/python3.4/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib64/python3.4/copy.py", line 246, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib64/python3.4/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib64/python3.4/copy.py", line 219, in _deepcopy_list
    y.append(deepcopy(a, memo))
  File "/usr/lib64/python3.4/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib64/python3.4/copy.py", line 300, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib64/python3.4/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib64/python3.4/copy.py", line 246, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib64/python3.4/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib64/python3.4/copy.py", line 300, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib64/python3.4/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib64/python3.4/copy.py", line 246, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib64/python3.4/copy.py", line 174, in deepcopy
    rv = reductor(2)
TypeError: can't pickle generator objects

btw: an error test using the code extension is having an ICS with an invalid date, e.g.
DTSTART;TZID=Europe/Budapest:2016-03-01
resulting then in
vobject.base.ParseError: At line 12: In transformToNative, unhandled exception on line 12: <class 'ValueError'>: invalid literal for int() with base 10: '3-' (<DTSTART{'TZID': ['Europe/Budapest']}2016-03-01>)
(..) is appended
Once the original pull request was created, no good-case test was done afterwards with that particular code :-(

fix on top of https://github.com/eventable/vobject/pull/50/files

@pbiering would you be willing to write a test for this?

I can write a test if one point me which test code must be extended, is it test.py?


feat/ini testing deployer

chore: ini storage test
chore: update
chore: update
perf: ini deployer
chore: update
chore: update
chore: update
chore: update
chore: update
chore: update
chore: update
chore: update
chore: update
chore: update
chore: update
chore: update
chore: update

Codecov Report

Merging #130 (1dddfcb) into main (21e5a19) will increase coverage by 13.41%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            main     #130       +/-   ##
==========================================
+ Coverage   5.10%   18.51%   +13.41%
==========================================
  Files        570       40      -530
  Lines       4526      351     -4175
  Branches     876       45      -831
==========================================
- Hits         231       65      -166
+ Misses      4144      277     -3867
+ Partials     151        9      -142

Impacted Files
Coverage Δ

apps/app/src/components/SettingsUsername/index.ts

apps/app/src/components/NProgress/index.ts

apps/app/src/components/AssetDetailsNFT/index.ts

...pps/app/src/components/BaseLoading/BaseLoading.tsx

apps/app/src/components/HeaderMenu/index.ts

apps/app/src/hooks/useGalaxyOats/index.ts

...pps/app/src/hooks/useCyberConnectIdentity/index.ts

apps/app/src/components/NetworkStack/index.ts

...pp/src/components/AssetDetailsSegmentMeta/index.ts

...src/hooks/usePoapEventTokens/usePoapEventTokens.ts

... and 520 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Intermittent Stoppage of CompactConsumerFetcherThread

We have been experiencing an intermittent shutdown of the CompactConsumerFetcherThread(s) in our production environment. We can restart the workers to get things working again, but eventually uReplicator gets into a state where we can use 'jconsole' to observe that there are no running CompactConsumerFetcherThread instances.
DEBUG logging has not given us any additional information, and we have not been able to reliably replicate this.
Has anyone seen this or similar behavior before, and if so, do you have any details about what we could do to eliminate or even mitigate this problem?

@steve-tr If the CompactConsumerFetcherThread went down due to some exception, there should be an error log "error("Error due to ", e)" from ShutdownableThread class. Could you please check if you get any log like that?


Support for multiple GPUs

I noticed there's no code to set which GPUs are to be used. There's also no synchronisation code in the loss function for multiple GPUs.
How did you train it on 4 GPUs without this, or is it no longer needed in modern PyTorch?
I modified your QAMFace to include the support:
        if self.device_id == None:
            kernel_norm = l2_norm(self.weight, axis=0)
            cos_theta = torch.mm(embbedings, kernel_norm)
        else:
            x = embbedings
            sub_kernels = torch.chunk(self.weight, len(self.device_id), dim=1)
            temp_x = x.cuda(self.device_id[0])
            kernel_norm = l2_norm(sub_kernels[0], axis = 0).cuda(self.device_id[0])
            cos_theta = torch.mm(temp_x, kernel_norm)
            for i in range(1, len(self.device_id)):
                temp_x = x.cuda(self.device_id[i])
                kernel_norm = l2_norm(sub_kernels[i], axis = 0).cuda(self.device_id[i])
                cos_theta = torch.cat((cos_theta, torch.mm(temp_x, kernel_norm).cuda(self.device_id[0])), dim=1)

Looks like face.evolve has more balanced memory usage due to this change.
I can have two cards using 11.5/12GB each with that change.
However, with this repository, I get one card using 12.0 (and running out of memory) and the other using 11.0, at the same batch size (192).


Unable to publish app to playstore due to no 64-bit support

Since app updates are not allowed without including 64-bit support, One of our apps using this library cannot be published to play store as this library doesnt have 64-bit supported native library files (.so). Can you fix this?
References:
https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html
https://developer.android.com/distribute/best-practices/develop/64-bit

So there are no .so files, only Renderscript. After some research it seems that we need at least version 22: https://stackoverflow.com/a/56477402/774398
I will update and release a new version. I would invite you to test this new release and verify that this fix works.

Thanks for the reply.
When can we expect this to be released?
Right now, we had to disable the feature which uses this library and able to successfully publish the app to playstore. But now, we should decide on whether to go for alternatives or wait for the next release of this library. So it would be helpful, if you can give us some rough estimate.

I will update and release a new version. I would invite you to test this new release and verify that this fix works.

Sure. I would test it when the release is made.

I'll probably be able to release it EOD

New version 0.3.8 is out with updated renderscript target, @mani516 if you could, please check it this now works with the 64 bit requirements.
https://github.com/patrickfav/Dali/releases/tag/v0.3.8

Hey @patrickfav
I have tested the latest version. Now the issue has been fixed.
Thanks for the quick response.

Sure. Have a good release.
Cheers.


IBM MQ Integration

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Review checklist

[ ] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[ ] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes
Anything else we should know when reviewing?

Codecov Report

Merging #2154 into master will increase coverage by 2.58%.
The diff coverage is 82.14%.

@@            Coverage Diff             @@
##           master    #2154      +/-   ##
==========================================
+ Coverage   79.55%   82.14%   +2.58%
==========================================
  Files         204        6     -198
  Lines       13775      112   -13663
  Branches     1460        9    -1451
==========================================
- Hits        10959       92   -10867
+ Misses       2428       18    -2410
+ Partials      388        2     -386

Let's rebase

@gmmeyer do we have docs for this in the wings?


Adding hCaptcha proxy component & Bumping core component version

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@navneet-ag, please resolve the conflict.

@navneet-ag, please resolve the conflict.

Resolved


Usage with Flutter web

[x] I have read the Getting Started and Getting Started with coHost

[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
3.22.3

Plugin version
^3.13.5

Android version

iOS version

macOS version

Xcode version

Google Chrome version
131.0.6778.70

Device information:
Description
Expected behavior:
There is no mention in the documentation that this package cannot be used on Flutter web so I expected it to work.
Current behavior:
A platform exception is thrown when trying to start streaming.
Steps to reproduce

ZegoUIKitPrebuiltLiveStreaming(
          appID: appEnvironment.zegoAppId,
          userID: userId,
          userName: userName,
          liveID: roomId,
          token: token,
          config: (isHost ? hostConfig : audienceConfig)
)

Images

Stacktrace/Logcat

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following UnsupportedError was thrown building ZegoLiveStreamingPage(dirty, state:
_ZegoUIKitPrebuiltLiveStreamingState#a22d9):
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  ZegoUIKitPrebuiltLiveStreaming
  ZegoUIKitPrebuiltLiveStreaming:file:///C:/Users/anushka/Documents/work/fanclub/fan-club-app/lib/ui/page/video/broadcast/broadcast_live_page.dart:72:14

When the exception was thrown, this was the stack:
../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3            throw_
../dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                        _operatingSystem
../dart-sdk/lib/io/platform_impl.dart 56:40                                               get operatingSystem
../dart-sdk/lib/io/platform.dart 83:44                                                    get operatingSystem
../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1071:8       get
../dart-sdk/lib/io/platform.dart 156:50                                                   get isAndroid
../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1071:8       get
../packages/zego_uikit_prebuilt_live_streaming/src/components/live_streaming.dart 427:18  build

not support web


Create graphic for AGU screen for trying out new beta site

💡 Description
AGU is week of 12/9, let's put together a simple, clean graphic for a TV screen at AGU booth with QR code to get to new portal.
⚔ Parent Epic / Related Tickets
No response

@anilnatha let's create a simple graphic using either a screenshot or some preexisting graphic sitting alongside a QR code to get to the new site.


Add opt bin dirs to PATH if /usr/local is readonly

Similar to #55, when installing on an OS that has a readonly /usr partition we ensure that the rancher-system-agent env knows about the bin path of rke2/k3s by extending the PATH in the systemd env file.
The main thing this fixes is listing etcd snapshots on such an OS as the system-agent will call the rke2 binary for that.

You might consider doing this if /use/local is rw as well:
https://github.com/rancher/rancher/issues/40624#issuecomment-1652420486


Improve display for threads to know which tribe you are in

Task
When reading a thread, it isnt clear which tribe you are in:

Example: so this shot looks like I’m DMing Tobi. Maybe showing the tribe name next to the arrow on the upper left indicates it will  return the user to the tribe chat

This looks good, I had one thought that it would be nice to indicate which thread is currently highlight in the side bar. So in this example this block would be have a border or have an inidicator directing attention to the sidebar:

Here is a possible way we could highlight opened thread.
https://github.com/stakwork/sphinx-mac/assets/13258550/5da18c0c-155c-40bc-8ff6-133b21eecdd7

Looks great!


temporarily remove error details

ignoring timeouts in Lotus 0.9 as those are not related to the change


refactor: remove /new tag from crux api

Remove /api/new tag
Route /api to crux
Route /api/auth and /api/status to ui

Codecov Report
Patch and project coverage have no change.

Comparison is base (d3ad787) 18.04% compared to head (7904635) 18.04%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #567   +/-   ##
========================================
  Coverage    18.04%   18.04%
========================================
  Files           54       54
  Lines         5082     5082
========================================
  Hits           917      917
  Misses        4138     4138
  Partials        27       27

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


gitAndTools.svn-all-fast-export: 1.0.13 -> 1.0.16

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/svn-all-fast-export/versions.
meta.description for gitAndTools.svn-all-fast-export is: '"A fast-import based converter for an svn repo to git repos"'.
meta.homepage for gitAndTools.svn-all-fast-export is: '"https://github.com/svn-all-fast-export/svn2git"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.0.16 with grep in /nix/store/6nzhfvbc7pwsfjvk2qi2ilcps2f4xbs5-svn-all-fast-export-1.0.16
directory tree listing: https://gist.github.com/c4d09b0e4624e54af4fd2500e08d53d6
du listing: https://gist.github.com/796af41d3c20ff525d8815088bc6c7e4

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
gitAndTools.svn-all-fast-export
gitAndTools.svn_all_fast_export

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6nzhfvbc7pwsfjvk2qi2ilcps2f4xbs5-svn-all-fast-export-1.0.16 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gitAndTools.svn-all-fast-export https://github.com/r-ryantm/nixpkgs/archive/12ae350d367b739086b1a7b76d32c19a7ea6c620.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6nzhfvbc7pwsfjvk2qi2ilcps2f4xbs5-svn-all-fast-export-1.0.16
ls -la /nix/store/6nzhfvbc7pwsfjvk2qi2ilcps2f4xbs5-svn-all-fast-export-1.0.16/bin

cc @flokli for testing.

Darwin failure will be resolved with #60849


feat: worker host add file decoration api

Types

[x] 🎉 New Features

Background or solution

Changelog
worker host add file decoration api

Codecov Report

Merging #874 (5b0cad6) into main (83b7588) will increase coverage by 0.01%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main     #874      +/-   ##
==========================================
+ Coverage   58.59%   58.61%   +0.01%
==========================================
  Files        1213     1212       -1
  Lines       75118    75117       -1
  Branches    15633    15633
==========================================
+ Hits        44016    44027      +11
+ Misses      28342    28330      -12
  Partials     2760     2760

Impacted Files
Coverage Δ

...ion/src/browser/vscode/api/main.thread.api.impl.ts
40.93% <66.66%> (+0.36%)
:arrow_up:

packages/extension/src/common/vscode/index.ts
100.00% <100.00%> (ø)

packages/core-common/src/node/port.ts
43.93% <0.00%> (-3.04%)
:arrow_down:

...ages/file-service/src/node/file-service-watcher.ts
68.88% <0.00%> (-0.56%)
:arrow_down:

packages/core-browser/src/bootstrap/connection.ts
49.05% <0.00%> (-0.04%)
:arrow_down:

packages/connection/src/browser/index.ts
100.00% <0.00%> (ø)

packages/extension/src/hosted/ext.process-base.ts
0.00% <0.00%> (ø)

packages/connection/src/browser/connect.ts

packages/connection/src/common/message.ts
72.34% <0.00%> (+0.60%)
:arrow_up:

packages/terminal-next/src/node/pty.ts
80.83% <0.00%> (+2.50%)
:arrow_up:

... and 1 more

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 83b7588...5b0cad6. Read the comment docs.