Refactor some of the LIR utilities.

The most interesting change here is that LIR::Range is no longer final and has been
split into two types: ReadOnlyRange and Range. The latter is used for subranges; the
former is used for ranges that are not subranges (i.e. blocks and scratch ranges).
LIR::Range has also been made the base type of BasicBlock, thus obviating the need
for the hokey pointer tricks it used to play for polymorphism. Because LIR::Range
is no longer a final class, it is now possible to slice range values. As a result,
viewing a BasicBlock as an LIR::Range now returns a reference to the range rather
than the range itself.
Although some pains have been taken to help guard against the existence of invalid
subranges, it remains possible to create them. For example, consider the following:
    // View the block as a range
    LIR::Range& blockRange = LIR::AsRange(block);

    // Create a range from the first non-phi node in the block to the last node in
    // the block
    LIR::ReadOnlyRange nonPhis = blockRange.NonPhiNodes();

    // Remove the last node from the block
    blockRange.Remove(blockRange.LastNode());

After the removal of the last node in the block, the last node of nonPhis is no
longer linked to any of the other nodes in nonPhis.
Other, smaller changes include:

LIR::Range::{Begin,End,EndExclusive} are dead. Long live {FirstNode(),EndNode()}.
Some code snippets that were calculating the last node of a block inline now use
BasicBlock::lastNode
BasicBlock::IsLIR() may now return true for an empty block. Blocks are marked as
LIR using a bit stolen from bbNum. HIR blocks are transitioned to LIR blocks
as part of rationalize, and all blocks that are created after rationalize are
automatically marked as LIR blocks.

@BruceForstall PTAL. This is a bit disruptive; I'm happy to wait until #23 is merged before merging this.

I should mention that there's one other fix in here: BasicBlock::isEmpty now accounts for GT_IL_OFFSET nodes when the block contains LIR.

Just finished looking at diffs: with the fix for BasicBlock::isEmpty, I no longer observe the missed flow graph opts that I was seeing earlier.

looking...

A few comments, but generally it looks really good.


PWM pulse not sent to servo as pin immediately pulled to 0

Connected to a Futaba S3305 servo, the servo diddn't move. We connected an oscilloscope to the pin and found that there was no signal being sent on the pin. Through a little trial and error we figured that immediately setting the pin to 0 did not allow enough time for anything to be sent - inserting a short sleep between writing the duty cycle and pulling the pin to 0 allowed the signal to be sent and the servo to be activated (verified via the oscilloscope first)
self.pin.write_analog(duty)
"""
We used a large value here to allow the servo time to complete its motion rather
than have a small one here and another in the main loop, but for library code this should
be smaller and the calling code account for the servo rotational speed
"""
sleep(1000)
self.pin.write_digital(0)  # turn the pin off

I just noticed this too. SparkFun have some similar code in their examples and they use a sleep(100) for 0.1s pause.
https://learn.sparkfun.com/tutorials/getting-started-with-micropython-and-the-sparkfun-inventors-kit-for-microbit/all
This is unlike other servo libraries though in that it always turns off the servo meaning it will not use the motor to hold its position.


feat: support unclear stale pvc

Pull Request template
Why is this PR required? What issue does it fix?:
fix: #166
What this PR does?:
Provide a switch to turn off the function of clearing stale pvc to avoid being cleared by mistake after restoring stale pvc.
Does this PR require any upgrade changes?:
If you need to turn off the clear stale pvc function, you need to provide environment variables (enabled by default)
        # OPENEBS_IO_NFS_SERVER_CLEANUP_STALE_PVC_ENABLE is used to enable/disable
        - name: OPENEBS_IO_NFS_SERVER_CLEANUP_STALE_PVC_ENABLE
          value: "false"

If the changes in this PR are manually verified, list down the scenarios covered::
ok      github.com/openebs/dynamic-nfs-provisioner/provisioner  83.492s coverage: 45.6% of statements

Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:

[x] Fixes #166
[ ] PR Title follows the convention of  <type>(<scope>): <subject>
[ ] Has the change log section been updated?
[ ] Commit has unit tests
[ ] Commit has integration tests
[ ] (Optional) Does this PR change require updating NFS-Provisioner Chart? If yes, mention the Helm Chart PR #
[ ] (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
[ ] (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

PLEASE REMOVE BELOW INFORMATION BEFORE SUBMITTING
The PR title message must follow convention:
<type>(<scope>): <subject>.
Where:
Most common types are:
* feat        - for new features, not a new feature for build script
* fix         - for bug fixes or improvements, not a fix for build script
* chore       - changes not related to production code
* docs        - changes related to documentation
* style       - formatting, missing semi colons, linting fix etc; no significant production code changes
* test        - adding missing tests, refactoring tests; no production code change
* refactor    - refactoring production code, eg. renaming a variable or function name, there should not be any significant production code changes
* cherry-pick - if PR is merged in master branch and raised to release branch(like v0.4.x)
IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.

1. My backup method
kubectl exec -n velero $(kubectl get po -n velero -l component=velero -oname | head -n 1) -it -- /velero backup create --include-namespaces=openebs --selector=nfs.openebs.io /nfs-pvc-name=nfs-pvc bk-pv-1

2. Create Disaster
# kubectl delete ns nginx-example

3. My way to restore

Restart nfs-provisioner pod to turn off stale pvc automatic cleaning

         - name: OPENEBS_IO_NFS_SERVER_CLEANUP_STALE_PVC_ENABLE
           value: "false"

Restore the rwo volume first

kubectl exec -n velero $(kubectl get po -n velero -l component=velero -oname | head -n 1) -it -- /velero restore create --restore-volumes=false --from-backup bk-resources- 1

Deploy the app and create a new rwx volume (it will automatically create a new nfs-pvc pod, svc)

kubectl apply -f with-rxw-pvc.yaml

Modify the nfs service of openebs and change the selector to the old nfs-pvc name to use the old rwo volume
Restart the pod that mounts the nfs rwx volume to remount the rwo volume with data
Restart nfs-provisioner pod to enable automatic cleanup of stale pvc

         - name: OPENEBS_IO_NFS_SERVER_CLEANUP_STALE_PVC_ENABLE
           value: "true"

@niladrih ptal. : )

Hi @njuptlzf, I can see a CI check failing, could you take a look at this?

Hi @njuptlzf, I can see a CI check failing, could you take a look at this?

I think it may be that the my golang version (the golang version I use go.mod) is inconsistent with the ci golang version(Still can't find it by looking at the ci log), causing go fmt to fail. But I have executed it myself and there is no problem. I will continue to output the same content with ci and correct it.

Sorry, it took me too long to reply to this PR. I just checked my local code. It was me debugging make test that caused the problem. It has been solved. @niladrih :)

@niladrih  ptal. :)

Codecov Report
Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (5f0b16d) 50.17% compared to head (65cb5c8) 50.01%.
Report is 8 commits behind head on develop.

Files
Patch %
Lines

provisioner/provisioner.go
0.00%
9 Missing :warning:

provisioner/env.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #167      +/-   ##
===========================================
- Coverage    50.17%   50.01%   -0.17%
===========================================
  Files           38       38
  Lines         2792     2801       +9
===========================================
  Hits          1401     1401
- Misses        1285     1294       +9
  Partials       106      106

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@njuptlzf -- This file https://github.com/openebs/dynamic-nfs-provisioner/blob/develop/deploy/kubectl/openebs-nfs-provisioner.yaml needs to have to ENV in a commented state.
        env:
        #   OPENEBS_IO_K8S_MASTER enables openebs provisioner to connect to K8s
        #   based on this address. This is ignored if empty.
        #   This is supported for openebs provisioner version 0.5.2 onwards
        # - name: OPENEBS_IO_K8S_MASTER
        #   value: "http://<IP_ADDRESS>:8080"
        #   OPENEBS_IO_KUBE_CONFIG enables openebs provisioner to connect to K8s
        #   based on this config. This is ignored if empty.
        #   This is supported for openebs provisioner version 0.5.2 onwards
        # - name: OPENEBS_IO_KUBE_CONFIG
        #   value: "/home/ubuntu/.kube/config"
        #   OPENEBS_IO_NFS_SERVER_NODE_AFFINITY defines the node affinity rules to place NFS Server
        #   instance. It accepts affinity rules in multiple ways:
        #   - If NFS Server needs to be placed on storage nodes as well as only in
        #     zone-1 & zone-2 then value can be:
        #     value:  "kubernetes.io/zone:[zone-1,zone-2],kubernetes.io/storage-node".
        #   - If NFS Server needs to be placed only on storage nodes & nfs nodes then
        #     value can be:
        #     value:  "kubernetes.io/storage-node,kubernetes.io/nfs-node"
        # - name: OPENEBS_IO_NFS_SERVER_NODE_AFFINITY
        #   value: "kubernetes.io/storage-node,kubernetes.io/nfs-node"
        #
        #   Provide a switch to turn off the function of clearing stale pvc to avoid
        #.  garbage collecting an NFS backend PVC if the NFS PVC is deleted.
        # - name: OPENEBS_IO_NFS_SERVER_GARBAGE_COLLECTION_ENABLED
        #.  value: false

You may want to add the change in the helm chart as well, but that needs to be in a separate PR. We merge all helm chart changes at release-time, and I'd be able to pull in your change if you raise a commit with the helm chart change separately.
Unique use-case! Thank you for the contribution.

@njuptlzf -- This file https://github.com/openebs/dynamic-nfs-provisioner/blob/develop/deploy/kubectl/openebs-nfs-provisioner.yaml needs to have to ENV in a commented state.
        env:
        #   OPENEBS_IO_K8S_MASTER enables openebs provisioner to connect to K8s
        #   based on this address. This is ignored if empty.
        #   This is supported for openebs provisioner version 0.5.2 onwards
        # - name: OPENEBS_IO_K8S_MASTER
        #   value: "http://<IP_ADDRESS>:8080"
        #   OPENEBS_IO_KUBE_CONFIG enables openebs provisioner to connect to K8s
        #   based on this config. This is ignored if empty.
        #   This is supported for openebs provisioner version 0.5.2 onwards
        # - name: OPENEBS_IO_KUBE_CONFIG
        #   value: "/home/ubuntu/.kube/config"
        #   OPENEBS_IO_NFS_SERVER_NODE_AFFINITY defines the node affinity rules to place NFS Server
        #   instance. It accepts affinity rules in multiple ways:
        #   - If NFS Server needs to be placed on storage nodes as well as only in
        #     zone-1 & zone-2 then value can be:
        #     value:  "kubernetes.io/zone:[zone-1,zone-2],kubernetes.io/storage-node".
        #   - If NFS Server needs to be placed only on storage nodes & nfs nodes then
        #     value can be:
        #     value:  "kubernetes.io/storage-node,kubernetes.io/nfs-node"
        # - name: OPENEBS_IO_NFS_SERVER_NODE_AFFINITY
        #   value: "kubernetes.io/storage-node,kubernetes.io/nfs-node"
        #
        #   Provide a switch to turn off the function of clearing stale pvc to avoid
        #.  garbage collecting an NFS backend PVC if the NFS PVC is deleted.
        # - name: OPENEBS_IO_NFS_SERVER_GARBAGE_COLLECTION_ENABLED
        #.  value: false

You may want to add the change in the helm chart as well, but that needs to be in a separate PR. We merge all helm chart changes at release-time, and I'd be able to pull in your change if you raise a commit with the helm chart change separately.
Unique use-case! Thank you for the contribution.

@niladrih Must! In addition to helm, are there any other files that need to be modified?

@njuptlzf -- No. The helm chart is all that is left functionally. But, I'd invite you add a test in tests directory (ginkgo test), and add a .md file in the docs/tutorials directory explaining how this feature works.


Use Socket::write_2 (renamed to write) everywhere

This change is

r? @canndrew
(maidsafe_highfive has picked a reviewer for you, use r? to override)

src/socket.rs, line 176 [r2] (raw file):

                        } else {
                            EventSet::writable()
                        };

I don't think this is more readable or prettier than the previous one. There is no significant improvement (in my opinion in particular there's no improvement at all) and uses 3 extra lines of code. Should we revert this ?

Comments from Reviewable


<EMAIL_ADDRESS>Hash fix

Five issues were mistakenly checked and closed before.

#5895
#5891
#5882
#5877
#5876

The hash is correct. It is china only problem


too many "Server throttling - sleeping for a bit" Warnings

I have them like 1-3 times / minute with 25 Workers think that isn't good

Do you have encounter/spinning/bag-cleaning enabled?
I'm not getting these currently, but it's quite possible that the delay times for some of those features need to be tweaked.

yep I had (spinning/bag-cleaning), but I checked the times and they are fine, I can do the stuff in the same time +/- 0.3 seconds, except for cleaning with +50 items, but adding a +count*0.05 to the action hasn't fixed it

Did 3bb0e1c fix this for you?

I currenlty kind of lack the time to rebase my branch and merge it - I may check it this weekend

the Warnings have gone down to about 10-20 / day with 150 Workers & 5k spawns, so I'd say this should be fine


Cant remove anything from interface

Error: "Could not reach the Singularity API. Please make sure SingularityUI is properly set up.
If running through locally, this might be your browser blocking cross-domain requests."
REQUEST:
`Request URL:http://<IP_ADDRESS>:7099/singularity/api/requests/request/test-service
Request Method:OPTIONS
Status Code:204 No Content
Remote Address:<IP_ADDRESS>:7099
Response Headers
view source
Allow:OPTIONS,GET,DELETE,HEAD
Date:Fri, 03 Jun 2016 13:09:14 GMT
Request Headers
view source
Accept:/
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-US,en;q=0.8,ru;q=0.6,be;q=0.4
Access-Control-Request-Headers:accept, content-type
Access-Control-Request-Method:DELETE
Connection:keep-alive
Host:<IP_ADDRESS>:7099
Origin:http://fr2-hv-60-53.iv:7099
Referer:http://fr2-hv-60-53.iv:7099/singularity/requests
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36`

Thanks for the heads up, @brat002. It looks like you're having issues with CORS -- would you mind including a gist of your config YAML?

`# Run SingularityService on port 7099 and log to /var/log/singularity-access.log
server:
type: simple
applicationContextPath: /singularity
connector:
type: http
port: 7099
requestLog:
appenders:
- type: file
currentLogFilename: /var/log/singularity-access.log
archivedLogFilenamePattern: /var/log/singularity-access-%d.log.gz
mesos:
master: zk://{{zk_line}}/mesos
defaultCpus: 1
defaultMemory: 128
frameworkName: Singularity
frameworkId: Singularity
frameworkFailoverTimeout: 1000000
credentialPrincipal: xxx
credentialSecret: xxxxxxxxx
zookeeper:
quorum: {{zk_line}}
zkNamespace: singularity
sessionTimeoutMillis: 60000
connectTimeoutMillis: 5000
retryBaseSleepTimeMilliseconds: 1000
retryMaxTries: 3
logging:
loggers:
"com.hubspot.singularity" : TRACE
enableCorsFilter: true
sandboxDefaultsToTaskId: false  # enable if using SingularityExecutor
ui:
title: Crowd Singularity
baseUrl: http://{{ip}}:7099/singularity/
`

Sorry for formatting.

No worries, thanks. Is {{ip}} equal to fr2-hv-60-53.iv:7099, or <IP_ADDRESS>:7099? If you set it to the hostname (fr2-hv-60-53.iv:7099) I think things should start working, but regardless, enableCorsFilter: true should have made things work. I'll look into that.

@tpetr is correct that setting that to the hostname (fr2-hv-60-53.iv). enableCorsFilter didn't work in this case because its default methods are GET, POST, HEAD. We might want to update our CorsFilterBundle to add DELETE for our use case here


Update 'yield[...effects]' to 'yield all([...effects])'

This PR is dedicated to preventing deprecation warnings from clogging the console.
Happy using this library in a separate project, but the logs were driving me crazy.

The following works:
diff --git a/src/routinesWatcherSaga.js b/src/routinesWatcherSaga.js
index a8ce422..cd7cf0c 100644
--- a/src/routinesWatcherSaga.js
+++ b/src/routinesWatcherSaga.js
@@ -1,4 +1,4 @@
-import { takeEvery, take, race, put, call } from 'redux-saga/effects';
+import { takeEvery, take, race, put, call, all } from 'redux-saga/effects';
 import { PROMISE_ACTION } from './constants'

 const getPayload = (data) => (data && data.payload) || data;
@@ -6,13 +6,13 @@ const getPayload = (data) => (data && data.payload) || data;
 export function* handlePromiseAction(action) {
   const { data, params, defer: { resolve, reject } } = action.payload;

-  const [ { success, failure } ] = yield [
+  const [ {success, failure} ] = yield all([
     race({
       success: take(params.SUCCESS),
       failure: take(params.FAILURE),
     }),
     put(params.trigger(data)),
-  ];
+  ]);

   if (success) {
     yield call(resolve);
diff --git a/test/routineWatcherSaga.js b/test/routineWatcherSaga.js
index 52408c7..8cc87f8 100644
--- a/test/routineWatcherSaga.js
+++ b/test/routineWatcherSaga.js
@@ -1,6 +1,6 @@
 import { describe, it } from 'mocha';
 import { expect } from 'chai';
-import { takeEvery, take, race, put, call } from 'redux-saga/effects';
+import { takeEvery, take, race, put, call, all } from 'redux-saga/effects';

 import routinesWatcherSaga, { handlePromiseAction } from '../src/routinesWatcherSaga';
 import { PROMISE_ACTION } from '../src/constants';
@@ -34,10 +34,10 @@ describe('handlePromiseAction saga', () => {
   const run = (winner) => {
     // check if race between SUCCESS and FAILURE started
     // check if request action raised
-    expect(iterator.next().value).to.deep.equal([
+    expect(iterator.next().value).to.deep.equal(all([
       race({ success: take(routine.SUCCESS), failure: take(routine.FAILURE) }),
       put(routine.trigger(data)),
-    ]);
+    ]));

     const getPayload = (data) => (data && data.payload) || data;
     const result = winner.success ? call(resolve) : call(reject, getPayload(winner.failure));

Thank you, guys


bug: pipelines defined/registered directly from a notebook fail mysteriously

tl;dr something about jupyter/dill interactions at a low level breaks remote pipeline execution in mysterious ways if the pipeline was defined and registered in a notebook, including a rare pure-python segfault when deserializing locally and an implausible AttributeError: 'dict_itemiterator' object has no attribute 'environ' when deserializing remotely.
When trying to execute a pipeline which was registered directly from a notebook, like this example:

we get the mysterious error message
TaskExecutionFailed:
    Traceback (most recent call last):
      File "<string>", line 35, in inner
    AttributeError: 'dict_itemiterator' object has no attribute 'environ'

The File "<string>" bit is because the error is coming from something we exec'd in __main__, which seems to be the garden_ai_compose_functions helper (which does indeed access os.environ on its 35th line, but os is a builtin module not a dict_itemiterator, so ???).
Adding to the mystery: an identical pipeline, registered from a pipeline.py (literally copy-pasted, works both when registered via CLI or client) runs fine on the same endpoint (dlhub) in the same fixed container ("7172db12-791c-4e1d-b675-07218f89c82b", has torch 1.8.0 and numpy 1.21.1 pinned).

update: almost certainly something with the notebook is weird, when I try and register like this (from the notebook):
bragg_ok = garden_ai.utils._meta._load_pipeline_from_python_file("pipeline.py")
client.register_pipeline(bragg_ok, container_id)

I reproduce the error that I couldn't otherwise reproduce with the pipeline.py version

update: I can consistently reproduce this by registering the following extremely simple pipeline from both a regular script and from a jupyter notebook:
@step
def run_inference(
    input_arg: object,
) -> object:
    return input_arg

dummy_pipeline: Pipeline = client.create_pipeline(
    title="dummy pipeline",
    steps=(run_inference,),
    authors=["Owen"],
    doi="10.23677/jcc7-5r19"
    short_name="dummy_pipeline",
)

for debugging, I tweaked globus compute to additionally dump the dill-serialized function to a file in both cases. Not only does the version serialized from a notebook fail when called, it even segfaults:
  with open("direct_registration.dill", "rb") as fp:
      content = fp.read()
      func = dill.loads(content)
      print(func(42))  # prints 42

  with open("notebook_registration.dill", "rb") as fp:
      content = fp.read()
      func = dill.loads(content)
      print(func(42))  # Job 1, 'python -m pipeline' terminated by signal SIGSEGV (Address boundary error)

update: silly not to try this sooner, but turns out that deserializing from a notebook instead of a script has a problem with the opposite serialization environment -- the notebook_registration.dill deserializes and executes fine in a notebook. Since that won't be the case on the remote endpoint, I think we may just not be able to support pipelines defined in notebooks. Maybe in the future we can do something clever to figure out what kind of environment we're running in, and write the user's pipeline to a tempfile or something so we can register it with a separate non-notebook process?

another update: apparently this isn't a universal problem -- @isaac-darling hasn't had any trouble registering/executing his foundry_example seedling, which breaks for me (in basically same ways as the other pipelines I've tried above)

Closing as stale - I don't think this Python mismatch is a possibility any more


soy nuevo

me pide contraseña pa instalar  cual es

From here: link

The default user on both the CD and development hard disks is local with password local. You may also make use of the root user, with password toor, but a sudo implementation is available if you need to perform privileged tasks as a regular user.

Por favor use el inglés, o nadie entenderá usted, gracias.

Both the boot menu:

... and the tutorial:

... clearly inform you of the default username and password for the live CD.


Enchanter

i thought that will be good add the posibility of disable the enchanter table.
Me and more people (imagine) would prefer the vanilla system of obtain book enchants.

Use minetweaker to remove recipes.


hemk.es

Personal site: www.hemk.es

Thank you for creating this issue. I am afraid I am not going to add this website to the list right now. Google Chrome shows a transfer size of 119 kB. It does not satisfy rules 1, 4, and 5 at this time.
$ node src/metrics.js https://www.hemk.es/
url: https://www.hemk.es/
htmlSize: 1296
jsonSize: 0
imageSize: 8326
base64Size: 0
videoSize: 0
cssSize: 8894
jsSize: 0
webfontSize: 128102
otherSize: 0
contentSize: 9622
extraSize: 136996
totalSize: 146618

total size: 143.2 KB
content size: 9.4 KB
content ratio: 7%


Camera Feed Not Shown In Microsoft Edge

OS: Linux (Solus)
Browsers: Firefox (Nightly), Edge (Dev)
Webcam: Logitech B525
Hello, I usually use QR Code Scanner as a PWA on my desktop and laptop, however lately I have noticed that the camera Feed simply does not show up, with only a grey background appearing.
From my testing, QR Code Scanner simply does not work on Edge, however it does work on Firefox (which does not support PWAs), and other sites (such as Microsoft Teams or Jitsi, as well as an assortment of webcam testing sites, work just fine on Edge.

@moriel5 I haven't testing this out in Linux. If the edge is chromium based it should work as expected.
Can you let me know if the Egde browser you are using in chromium based or not?

Yeah, Edge on Linux cannot be anything but Chromium-based, as that was what had allowed it to be cross-platform in the first place.
So yes, it is Chromium-based.

@moriel5 Not sure how to reproduce this as I don't have linux system. Can you try out now and tell me this issue still exists or not. Thanks

Currently this needs to be put on hold, as I had reinstalled Solus, and still need to package Microsoft Edge.

@moriel5 Alright, keep us posted. Thanks.

No problem, this will take some time, however, as I have other tasks that are more urgent, and I an going to need to prepare the package.yml (the "recipe" for packaging) for Edge from scratch (I accidentally wiped all of my package.ymls and was unable to restore them).

OS: Android
Browsers: Edge Canary
It can't be used on edge android, but I can see that the camera is already turned on through access dots. I tried other online scaners to use the camera. but qrcodesan.in not work.
test url : https://www.online-qr-scanner.com/

@hi-lay Can you try this in the stable browser instead of Canary and let me know?

@hi-lay Can you try this in the stable browser instead of Canary and let me know?

I tried the edge standard version and had the same problem.
Edge Version: 93.0.961.53

@hi-lay Can you try this in the stable browser instead of Canary and let me know?

@hi-lay Can you try this in the stable browser instead of Canary and let me know?

I tried the edge standard version and had the same problem.
Edge Version: 93.0.961.53

The upper left corner of the picture represents that the camera is being used and is detected by Access Dots.

@hi-lay I see got it. Not sure why its not working. I will check it out. Thanks for reporting.


Why doesn't updating RBAC with hot reload take effect on existing connection

I'm trying to use RBAC to build a IP whitelist for TCP. My envoy is configured with dynamic filesystem: https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/configuration-dynamic-filesystem
lds.yaml file:
resources:
- "@type": type.googleapis.com/envoy.config.listener.v3.Listener
  name: listener_openfire_tcp
  address:
    socket_address: {protocol: TCP, address: <IP_ADDRESS>, port_value: 21000}
  filter_chains:
  - filters:
    - name: envoy.filters.network.rbac
      typed_config:
        "@type": type.googleapis.com/envoy.extensions.filters.network.rbac.v3.RBAC
        stat_prefix: ingress_tcp
        rules:
          action: ALLOW
          policies:
            "ip-whitelist":
              permissions:
              - any: true
              principals: [{direct_remote_ip: { address_prefix: <IP_ADDRESS>, prefix_len: 32}}]
    - name: envoy.filters.network.tcp
      typed_config:
        "@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
        stat_prefix: ingress_tcp
        cluster: cluster_tcp

cds.yaml file:
resources:
- "@type": type.googleapis.com/envoy.config.cluster.v3.Cluster
  name: cluster_tcp
  type: STATIC
  connect_timeout: 2s
  load_assignment:
    cluster_name: cluster_tcp
    endpoints:
    - lb_endpoints:
      - endpoint:
          address:
            socket_address: {address: <IP_ADDRESS>, port_value: 21000}

As you see, only <IP_ADDRESS> can get access to the tcp proxy. It works as expected. The client <IP_ADDRESS> can communicate with <IP_ADDRESS>.
Then I create another lds.yaml, whose direct_remote_ip under RBAC config is <IP_ADDRESS> and I execute the command mv ./lds.yaml ~/enovy/lds.yaml to replace the current lds.yaml with the new one. Now the hot reload of envoy should be triggered.
However, I find that the connection, which existed before the hot reload of envoy, is still alive.
So why doesn't updating RBAC with hot reload take effect on existing connection?

cced code owner @yangminzhu @yanavlasov


Episode show-notes overlay appears over wrong podcast

Describe the bug
If I click on an an episode from any podcast the show-notes overlay for that episode appears. If I click "back" in the browser, without closing the show-notes, and then select another podcast the previous show-notes overlay appears.
Reproduction
Select a podcast from the "All Subscriptions" menu and click on any episode. When the show notes appear, click "back" on the browser. Click on any other podcast from your "All Subscriptions" page. The show notes from the first podcast appear.
System Info
System:
    OS: Linux 5.4 Linux Mint 20.3 (Una)
    CPU: (8) x64 AMD FX(tm)-8350 Eight-Core Processor
    Memory: 5.76 GB / 23.42 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 10.19.0 - /usr/bin/node
    npm: 6.14.4 - /usr/bin/npm

Browsers tested:
    Brave
    Firefox
    Vanadium (Chromium fork)

Podfetch version:
    v4.2.2-267fdf7e (HEAD)

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Hi @Ethanol6. Good to see you and thank you for the extensive testing and description of the problem.


fix Fix incorrect command for cloud run_all_tests.sh

llvm-profdata merge -o doesn't need a quoted param.

run buildall

run buildall


Debugger not initializes in Sandbox Environment

AL Extension Version: 3.0.121490

Server Version: ES Dynamics NAV 13.5 (32250)

Last days, when I try to use the debugger in the Sandbox Environment I can’t use it. When I try to publish  with debugger (F5) it always said me   The request for path /v1.0/sandbox/dev/apps?SchemaUpdateMode=synchronize failed with code 422. Reason: “There are multiple extensión pusblished with same parameters”

Hi @BCRog ! Could you please open a support case so that our CSS team can gather the information needed to resolve your issue?

The error-la:
Publishing AL application using launch configuration 'Microsoft cloud sandbox'.
…
The request for path /v2.0/SandboxCopy/dev/apps?SchemaUpdateMode=synchronize failed with code 422. Reason: Multiple published extensions match the specified parameter values. You must specify more information to indicate which extension to use.
Can be relate to a conflict between Dev (VS Code) extension and PTE (Per-Tenant-Extension) extension.
A PTE (Per-Tenant-Extension) extension is an extension that is installed from the extension management page (web client) via uploading the app and a DEV extension is an app that is deployed via visual studio code. Right now.. there is a uniqueness requirements for coexistence of these 2 kinds of extensions. If a PTE extension is installed on an application service a DEV extension cannot be deployed there.
you can read about it here: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-deploy-tenant-customization#extension-uniqueness-requirements
Potential solution: unpublished the PTE in sandbox and changed the id, name, version and publisher of DEV extension
P.S. maybe Development base on 'Microsoft cloud sandbox' not best choice. I think better use docker container.

Thanks for helping, @finn777 ! I will close this issue for now.


Adding Unit test coverage to the Java/Kotlin code

We are always looking to increase the test coverage in our app and want to get to a high coverage. Please feel free to add more unit tests to the ones already existing and following the same style please.

Hello, I'm beginner at programming in java... can i try to do some unit test?

Hi @danielochka yes please feel free to have a go at adding a unit test

@jhanna60 thank you


Selection with assets

showImagePickerWithSelectedAssets
Not Working
 let allAssets = PHAsset.fetchAssets(with: PHAssetMediaType.image, options: nil)
        var evenAssets = [PHAsset]()

        allAssets.enumerateObjects({ (asset, idx, stop) -> Void in
            if idx % 2 == 0 {
                evenAssets.append(asset)
            }
        })

        let imagePicker = ImagePickerController(selectedAssets: evenAssets)
        imagePicker.settings.fetch.assets.supportedMediaTypes = [.image]

        self.presentImagePicker(imagePicker, select: { (asset) in
            print("Selected: \(asset)")
        }, deselect: { (asset) in
            print("Deselected: \(asset)")
        }, cancel: { (assets) in
            print("Canceled with selections: \(assets)")
        }, finish: { (assets) in
            print("Finished with selections: \(assets)")
        })

i'm trying to select 4-4 photos but the previous selection was gone....
please help
Thanks & Best

Fixed - will release a new version soon.

Try 3.1.5

Hello Team,
Please give an insight on saving the selected images in CoreData.


polygon obstacles

After the algorithm is reproduced in ROS, I just replaced the pointobstacles with polygonobstacles. But the result is shown in the figure. I would like to ask what causes this.After debugging, it is found that g2o recorded this obstacle when creating edges.I don't know why this happens, so I'd like to ask you guys.
thanks！！！

same issue here

have you solved the problem?

have you solved the problem?

I just activate via sep points to avoid this issue


fix/type_tag_mismatch: resolve structured data type tag mismatch issue

Resolved Structured Data default type tag as 500 and versioned as 501.

This change is

r? @ustulation
(maidsafe_highfive has picked a reviewer for you, use r? to override)


Optimize method: PoolChunk#allocateRun(int)

Motivation:
when removeAvailRun(queue, handle) is called within the allocateRun(int), the handle is already removed from queue. So, no need to iterate through entire queue to remove the handle.
Modification:
Moved the logic for removing the handle from the queue to a more appropriate location.
Result:
Removed unnecessary iteration.

@jchrys Will you make a 4.1 PR as well, assuming this is also applicable there?

Sure, let me create it. Thanks very much!

I just opened a PR for 4.1 x https://github.com/netty/netty/pull/13136


Upgrade: define new release repos and remove old

Needs role's README update with new vars

Needs role's README update with new vars, otherwise LGTM.

Well, I don't think those variables should be changed by user - but then probably we should move them to vars/ instead of defaults/.


Double and triple "?"'s

I see some comments/strings containing double and triple "?"'s and "!"'s.
Is this nessesary?
Perhaps just use one.
#. ???
#: if_tcl.c:757
msgid "cannot set line(s)"

#. could not (re)open the swap file, what can we do????
#: memline.c:716
msgid "E301: Oops, lost the swap file!!!"

#: memline.c:951
msgid "E304: ml_upd_block0(): Didn't get block 0??"

#: os_amiga.c:1036
msgid "mch_get_shellsize: not a console??\n"

#. don't overwrite messages here
#. must give this prompt
#. don't use emsg() here, don't want to flush the buffers
#: fileio.c:5374
msgid "WARNING: The file has been changed since reading it!!!"

#. could not (re)open the swap file, what can we do????
#: memline.c:716
msgid "E301: Oops, lost the swap file!!!"

Also some strings have space before "?" and "!" and some strings does not.
Perhaps some spaces should be removed.
#: os_amiga.c:957
msgid "cannot change console mode ?!\n"

I see some strings containing double and triple "?"'s.
Is this nessesary?
#. ???
#: if_tcl.c:757
msgid "cannot set line(s)"

#. could not (re)open the swap file, what can we do????
#: memline.c:716
msgid "E301: Oops, lost the swap file!!!"

#: memline.c:1480
msgid "???MANY LINES MISSING"

#: memline.c:1496
msgid "???LINE COUNT WRONG"

#: memline.c:1503
msgid "???EMPTY BLOCK"

#: memline.c:1529
msgid "???LINES MISSING"

#: memline.c:1567
msgid "???BLOCK MISSING"

#: memline.c:1583
msgid "??? from here until ???END lines may be messed up"

#: memline.c:1599
msgid "??? from here until ???END lines may have been inserted/deleted"

#: memline.c:1619
msgid "???END"

#: memline.c:1687
msgid ""
"E312: Errors detected while recovering; look for lines starting with ???"

Perhaps just use one "?".

No, please keep the ???.  These are markers that are inserted when
recovering a file with errors.  If the user doesn't have another way to
restore the text, searching for ??? will find the places where Vim was
unable to recover the text.

Same for "!":
#. don't overwrite messages here
#. must give this prompt
#. don't use emsg() here, don't want to flush the buffers
#: fileio.c:5374
msgid "WARNING: The file has been changed since reading it!!!"

#. could not (re)open the swap file, what can we do????
#: memline.c:716
msgid "E301: Oops, lost the swap file!!!"

These are just to emphasise the text, as in shouting.

Also some strings have space before "?" and "!" and some strings does not.
Perhaps some spaces should be removed.

Examples?
--
hundred-and-one symptoms of being an internet addict:
80. At parties, you introduce your spouse as your "service provider."
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

It seems you quoted the initial text i wrote but i edited the text after that so its different now.

These strings are not questions are they?:
cannot change console mode ?!
mch_get_shellsize: not a console??

Maybe it should be:
cannot change console mode!
mch_get_shellsize: not a console!

Or:
cannot change console mode
mch_get_shellsize: not a console

Instead of:
??? from here until ???END lines may be messed up
??? from here until ???END lines may have been inserted/deleted
???END

Maybe use placeholder %s to insert the "???END" string so its the same:
??? from here until %s lines may be messed up
??? from here until %s lines may have been inserted/deleted
???END

In some translations like cs.po its translated like this which im guessing is not correct:
msgid "??? from here until ???END lines may be messed up"
msgstr "od ??? po ???END mohou být øádky pomíchané"

msgid "??? from here until ???END lines may have been inserted/deleted"
msgstr "od ??? po ???END mohou být vlo¾ené/smazané øádky"

msgid "???END"
msgstr "???KONEC"

These strings are not questions are they?:
cannot change console mode ?!

This is a "what happened here" remark.

mch_get_shellsize: not a console??

This is a "that's really weird" remark.

Maybe it should be:
cannot change console mode!
mch_get_shellsize: not a console!

Or:
cannot change console mode
mch_get_shellsize: not a console

That takes the fun out of the messages.
--
From "know your smileys":
:-{}	Too much lipstick
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Also could remove space before "!" in these two strings:
(NFA) COULD NOT OPEN %s !
E874: (NFA) Could not pop the stack !

Also could remove space before "!" in these two strings:
(NFA) COULD NOT OPEN %s !
E874: (NFA) Could not pop the stack !

The first message is only for debugging.  I don't think we should bother
translating it.
The other space should indeed be dropped.
--
From "know your smileys":
%	Bike accident.  A bit far-fetched, I suppose; although...
o      _     _         _
o     /_   _ \o  ()_/o  ()
< _   >() ()/<_    _| \   |/' /
()>() ()        ()   ()    (_)'  \o
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

E871: (NFA regexp) Can't have a multi follow a multi !

If strings like "(NFA) COULD NOT OPEN %s !" is not suppose to be translated then perhaps remove it from the po files so people dont translate it.

Fixed by https://github.com/vim/vim/commit/3c867daaf09e8ac6ce4b9d43d6fbbfdd7689702d


[Settings] Add visual preview of appearance settings for FZ

Summary of the Pull Request
This PR introduces a visual that shows the user a preview the visual settings that can be set to update the appearance of FancyZones zones.

Quality Checklist

[ ] Linked issue: #xxx
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

It would be cool to use the users Wallpaper instead of a default one.

It would be cool to use the users Wallpaper instead of a default one.

Yep I agree, unfortunately there's no easy way to do this AFAIK.

It would be cool to use the users Wallpaper instead of a default one.

Yep I agree, unfortunately there's no easy way to do this AFAIK.

A quick google search gave me many results of how you can get the path to the file. It's stored in the registry.

It would be cool to use the users Wallpaper instead of a default one.

Yep I agree, unfortunately there's no easy way to do this AFAIK.

A quick google search gave me many results of how you can get the path to the file. It's stored in the registry.

I wouldn't use regedit because you can assign wallpapers per virtual desktop.
Fast search shows that there is a com object api.

@niels9001 if you want to take a look I have created a POC for desktop wallpaper using interop: https://github.com/microsoft/PowerToys/commit/02184787c9ee043b2ca850eacb60f24135985bcf

Very nice!
Working as expected.
Minor issue: brush is not updated on theme changed until you change page.

Yeah, it's because we set it in code behind. Not ideal :(.

@niels9001 if you want to take a look I have created a POC for desktop wallpaper using interop: https://github.com/microsoft/PowerToys/commit/02184787c9ee043b2ca850eacb60f24135985bcf

That's awesome :)! Feel free to PR against this, or commit directly if you have that access!

Very nice!
Working as expected.
Minor issue: brush is not updated on theme changed until you change page.

Yeah, it's because we set it in code behind. Not ideal :(.

I think it's fine. Wallpaper have the same issue.
Detect wallpaper change will be hard since we are using interop 😄

@niels9001 if you want to take a look I have created a POC for desktop wallpaper using interop: 0218478

That's awesome :)! Feel free to PR against this, or commit directly if you have that access!

Change pushed! Can you give a try?
@jaimecbernardo can we have another review here?

Should we add a not on the right side of the preview that wallpaper changes won't be updated at real time or something? Or don't we expected many issues because of that?

Looks very nice! Minor thing, definitely not a blocker: is it possible to get a window color instead of a default wallpaper when a solid color is set as a background?

@davidegiacometti Might make sense to just show nothing at all when a solid color is selected, right?

Should we add a not on the right side of the preview that wallpaper changes won't be updated at real time or something? Or don't we expected many issues because of that?
I don't think we need a message for this.

@niels9001 @SeraphimaZ I like the fallback to the Windows 11 wallpaper if the desktop image path isn't read.
I have looked into a better solution:

Registry: but I think this isn't the right choice 😄
UWP: can't find an API except for set wallpaper
Interop using IDesktopWallpaper that should be a better solution but more complex: can read both wallpaper and color.

@davidegiacometti Let's keep it as is then :)!


Adding multiple NICs using resource ddcloud_server vs. ddcloud_server_nic

What is the preferred method of getting this done?  The new resource will add the NIC but requires a restart of the target VM which isn't so much a big deal.  But, a customer may want to try to include the multi-NIC definition in the resource ddcloud_server.  I didn't happen to see it in the documentation so not sure if that's an option.  Thoughts?

Unfortunately this isn't really practical - consider it a mismatch between how Terraform works and limitations of the CloudControl API. I can explain further if you're interested but the key point here is that we can't reliably identify the various individual NICs if they appear under the ddcloud_server resource (because all NIC properties are mutable).
If we treated them as separate resources but still allowed them to appear inside the ddcloud_server then it would look awkward because each ddcloud_server_nic would need to still specify the target server Id as one of its properties.
On 25 Oct. 2016, at 9:11 am, wninobla <notifications<EMAIL_ADDRESS>wrote:
What is the preferred method of getting this done? The new resource will add the NIC but requires a restart of the target VM which isn't so much a big deal. But, a customer may want to try to include the multi-NIC definition in the resource ddcloud_server. I didn't happen to see it in the documentation so not sure if that's an option. Thoughts?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABkezKyv0Lj4DzsPQlstXzElCAdmPptfks5q3Sz9gaJpZM4KfV_Z.
itevomcid

Ah - do you mean creating the server with all the NICs already present from the start? Could be tricky.
But we might be able to move the additional NIC resources under the server if we add an arbitrary "index" property to each NIC.
On 25 Oct. 2016, at 9:11 am, wninobla <notifications<EMAIL_ADDRESS>wrote:
What is the preferred method of getting this done? The new resource will add the NIC but requires a restart of the target VM which isn't so much a big deal. But, a customer may want to try to include the multi-NIC definition in the resource ddcloud_server. I didn't happen to see it in the documentation so not sure if that's an option. Thoughts?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABkezKyv0Lj4DzsPQlstXzElCAdmPptfks5q3Sz9gaJpZM4KfV_Z.
itevomcid

Yes - from the start.  I can live with the other method of adding after the fact.  However, if we're going about spinning up infrastructure as a final configuration from the get go it would stand to reason we'd be able to specify this in the ddcloud_server resource all at once as ollosed to relying on the other method that will add that as an infrastructure change/upgrade.
Regards,
William Ninobla
Sr. Solutions Architect
Cloud Business Unit
Dimension Data

From: Adam Friedman<EMAIL_ADDRESS>Sent: Saturday, October 29, 2016 1:12 PM
To: DimensionDataResearch/dd-cloud-compute-terraform
Cc: William Ninobla (ITaaS); Author
Subject: Re: [DimensionDataResearch/dd-cloud-compute-terraform] Question - Adding multiple NICs using resource ddcloud_server vs. ddcloud_server_nic (#39)
Ah - do you mean creating the server with all the NICs already present from the start? Could be tricky.
But we might be able to move the additional NIC resources under the server if we add an arbitrary "index" property to each NIC.
On 25 Oct. 2016, at 9:11 am, wninobla <notifications<EMAIL_ADDRESS>wrote:
What is the preferred method of getting this done? The new resource will add the NIC but requires a restart of the target VM which isn't so much a big deal. But, a customer may want to try to include the multi-NIC definition in the resource ddcloud_server. I didn't happen to see it in the documentation so not sure if that's an option. Thoughts?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABkezKyv0Lj4DzsPQlstXzElCAdmPptfks5q3Sz9gaJpZM4KfV_Zhttps://github.com/notifications/unsubscribe-auth/ABkezKyv0Lj4DzsPQlstXzElCAdmPptfks5q3Sz9gaJpZM4KfV_Z>.
itevomcid

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39#issuecomment-257113288, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQe9vwud-sPg6AAl_DdA2oTqUWvXGbEtks5q46jKgaJpZM4KfV_Z.

Actually that might not be a meaningful distinction in the Terraform model. Will explain when I get behind a real keyboard :)
On 30 Oct. 2016, at 10:54 am, wninobla <notifications<EMAIL_ADDRESS>wrote:
Yes - from the start. I can live with the other method of adding after the fact. However, if we're going about spinning up infrastructure as a final configuration from the get go it would stand to reason we'd be able to specify this in the ddcloud_server resource all at once as ollosed to relying on the other method that will add that as an infrastructure change/upgrade.
Regards,
William Ninobla
Sr. Solutions Architect
Cloud Business Unit
Dimension Data

From: Adam Friedman <notifications<EMAIL_ADDRESS>Sent: Saturday, October 29, 2016 1:12 PM
To: DimensionDataResearch/dd-cloud-compute-terraform
Cc: William Ninobla (ITaaS); Author
Subject: Re: [DimensionDataResearch/dd-cloud-compute-terraform] Question - Adding multiple NICs using resource ddcloud_server vs. ddcloud_server_nic (#39)
Ah - do you mean creating the server with all the NICs already present from the start? Could be tricky.
But we might be able to move the additional NIC resources under the server if we add an arbitrary "index" property to each NIC.
On 25 Oct. 2016, at 9:11 am, wninobla <notifications@github.commailto:notifications<EMAIL_ADDRESS>wrote:
What is the preferred method of getting this done? The new resource will add the NIC but requires a restart of the target VM which isn't so much a big deal. But, a customer may want to try to include the multi-NIC definition in the resource ddcloud_server. I didn't happen to see it in the documentation so not sure if that's an option. Thoughts?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39<https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39>>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABkezKyv0Lj4DzsPQlstXzElCAdmPptfks5q3Sz9gaJpZM4KfV_Zhttps://github.com/notifications/unsubscribe-auth/ABkezKyv0Lj4DzsPQlstXzElCAdmPptfks5q3Sz9gaJpZM4KfV_Z<https://github.com/notifications/unsubscribe-auth/ABkezKyv0Lj4DzsPQlstXzElCAdmPptfks5q3Sz9gaJpZM4KfV_Zhttps://github.com/notifications/unsubscribe-auth/ABkezKyv0Lj4DzsPQlstXzElCAdmPptfks5q3Sz9gaJpZM4KfV_Z>>.
itevomcid

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39#issuecomment-257113288https://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39#issuecomment-257113288>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AQe9vwud-sPg6AAl_DdA2oTqUWvXGbEtks5q46jKgaJpZM4KfV_Zhttps://github.com/notifications/unsubscribe-auth/AQe9vwud-sPg6AAl_DdA2oTqUWvXGbEtks5q46jKgaJpZM4KfV_Z>.

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39#issuecomment-257122956, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABkezPEGqRzyT7r1fNTcY_-zriMhLuOkks5q49y8gaJpZM4KfV_Z.

Ok, so here's the thing. A server and its various NICs are part of the same configuration (in Terraform terms) because they appear across one or more files in the same folder (or module). So from that perspective at least it doesn't make a difference whether they are under a single resource (the ddcloud_server) or appear as separate related resources. They'll have to be created separately and managed separately by Terraform although the overall operation still appears as a single terraform apply.

Now we could maybe make additional NICs behave more like disks but, like disks, internally we'd still have to manage each one individually.

BTW, looks like the Hashicorp devs are considering improved support for nestable resources. Perhaps that would make this easier to handle?

This could work maybe...  But not sure if its worth the effort.  The workaround for now as long as we know it works is fine short term.  We can follow whatever the community dictates after I suppose. =)
Regards,
William Ninobla
Sr. Solutions Architect
Cloud Business Unit
Dimension Data

From: Adam Friedman<EMAIL_ADDRESS>Sent: Saturday, October 29, 2016 8:56 PM
To: DimensionDataResearch/dd-cloud-compute-terraform
Cc: William Ninobla (ITaaS); Mention
Subject: Re: [DimensionDataResearch/dd-cloud-compute-terraform] Adding multiple NICs using resource ddcloud_server vs. ddcloud_server_nic (#39)
BTW, looks like the Hashicorp devs are considering improved support for nestable resourceshttps://github.com/hashicorp/terraform/issues/2275. Perhaps that would make this easier to handle?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/39#issuecomment-257130591, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQe9v-hgpJXCBpW8sBfHJadIDcEBFDkCks5q5BVtgaJpZM4KfV_Z.
itevomcid

Ok, I'm going to close this for now; we can reopen it if we decide to alter the implementation :)


Update 2020-04-28-history-of-bel.md

I have spent a little time updating things from memory.. would be happy to help further...  - Keith

Dear Keith @senecacreek,
I really appreciate that you're willing to share your insight. I think this will be really helpful for anyone else who is reading in the future, especially the subtle corrections you made. I've left a few comments in this PR that would be great if you could respond to.
Thanks again
-Charlie

Hi Charlie,
I am happy to share my insights... I would also love to talk with you about
how we might keep pushing the platform forward.  I think that there is
still a very large opportunity for this approach, and that the
technology can quickly be brought up to date to move it forward.
Would love to meet up with you sometime if you have the time.
Best,
Keith
On Mon, Oct 5, 2020 at 6:51 AM Charles Tapley Hoyt<EMAIL_ADDRESS>wrote:

Dear Keith @senecacreek https://github.com/senecacreek,
I really appreciate that you're willing to share your insight. I think
this will be really helpful for anyone else who is reading in the future,
especially the subtle corrections you made. I've left a few comments in
this PR that would be great if you could respond to.
Thanks again
-Charlie
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cthoyt/cthoyt.github.io/pull/10#issuecomment-703554855,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADB5N5LR643GIWOLKPGKRA3SJGQKJANCNFSM4SDIAVPA
.

--
Keith O. Elliston, PhD
President and Managing Director
Seneca Creek Research, Inc.
<EMAIL_ADDRESS>My Linkedin Profile https://www.linkedin.com/in/keithelliston
Phone: +1.978.652.9260


Unable to run in windows

CMake Error at flutter/ephemeral/.plugin_symlinks/smart_bluetooth_pos_printer/windows/CMakeLists.txt:11 (add_library):
Cannot find source file:
smart_bluetooth_pos_printer_plugin.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
CMake Error at flutter/ephemeral/.plugin_symlinks/smart_bluetooth_pos_printer/windows/CMakeLists.txt:11 (add_library):
No SOURCES given to target: smart_bluetooth_pos_printer_plugin
CMake Generate step failed.  Build files cannot be regenerated correctly.
Exception: Unable to generate build files

I have the same issue, were you able to solve it?


Enhancements to better compete with requests/unittest combination

Currently there are a lot of users that are torn between PyRestTest (YAML) and requests/unittest combination (pure Python) for their REST API testing needs.
Story: As a PyRestTest user I would like to have features to make it easier to use PyRestTest within a python environment.  I would like to offer a python builder API that is similar to frisby.js for constructing and running tests, something that is in a fluent style but generates test/testset/testconfig objects just like the existing YAML.
There are a couple outstanding issues that would build in this direction:
https://github.com/svanoort/pyresttest/issues/29 - better logging when invoking directly from Python
https://github.com/svanoort/pyresttest/issues/43 - provide xUnit compatible output, preferably by wrapping unittest compatibility.
https://github.com/svanoort/pyresttest/issues/146 - setup/teardown (as part of v2.0)
Current PyRestTest strengths:

Extensibility (easy to add some custom validation options, do extraction & comparsions on data)
Dynamic variable handling, allows for setting up more complex scenarios
Supports extraction & more complex validation of data
Tests are linear, so you can build up complex scenarios

Current PyRestTest weaknesses:

Test object structure and properties are kind of complex
Log output is not always easy to work with/clean
Configuration has a distinction between command-line / testconfig / test level (being addressed in v1.8/v1.9)
Logging isn't always helpful, and it can be hard to determine how to get more information in logs (request bodies, headers, etc)
Tests do not have a true setup/teardown functionality

Thoughts on what is particular helpful / unhelpful here for your uses?
@nitrocode
@lerrua
@jewzaam (I'm aware you guys were using a legacy fork based off pre 0.x version)
@MorrisJobke
@jeanCarloMachado
Edit: Scope limits
Unix philosophy: one tool for one task, not One Tool To Rule Them All™ - the goal is to keep PyRestTest focused on what it does well, while letting it grow.

Top-level execution options should only support the most common, global settings

Failfast, parallel options, logging verbosity, HTTPS options, interactive mode, input files, URL, and top-level variables

No conditionals or executable code in YAML: more complex custom scenarios need to be implemented in python via extensions or by writing Python code to compose from the libraries here.

Macros allow for custom execution pipelines and special scenarios

Every new function needs to make sense for both YAML syntax and Python APIs, nothing that is usage-specific

Here are some suggestions. Some of these may overlap.

Faster yaml parsing or whatever is taking a while to start the initial curl request
Stronger documentation and many more use cases
I'm having on again and off again issues with pycurl and ssl for some reason even with requests[security] installed.
It may be just me, but I'm having trouble wrapping my head around building extractors / validators / generators.
Maybe a use case of requests / unittest2 to verify fields in python and then converting to YAML and the respective benchmarks in comparison would be a good addition.

Thank you

@nitrocode  Thanks for your feedback!

Yes, I think it may be worth doing a little benchmarking here (easy to add).
I'd love PRs to help build out documentation.  Do you feel like the docs changes here help: https://github.com/svanoort/pyresttest/issues/100 and  https://github.com/svanoort/pyresttest/issues/151
Ugh. This one is tricky, because I don't have a lot of familiarity with the different SSL implementations and issues.  I know there are some subtle issues around the SSL libs pycurl is built with (I don't have a ref handy, but it's in issues if you look). Unfortunately, I don't have an easy way to replicate or debug these at this time (may be worth building out the functional test harnesses, but requires).
I was hoping the test flow diagram would help a little bit, but what would you like to see in advanced_guide??  I know more examples will be helpful (part of PRs in 2), but am not sure how to better explain this.
Perhaps.  I don't want to get too far down that path of comparison (since it's kind of apples-to-oranges comparison here); my main concern is to remove any significant regressions and see if there's optimizations.

I'd like it if this can support the following as a testing tool (not for benchmarks):
Suppose, I have 4 filters (as GET params) in an API endpoint. I want all of them, and their combinations to be tested with their possible values and values which are not allowed.
So if I had filter params:
max_age (integers), name (regex, string), country (regex, string), employed (boolean, true, false).
I want a way to generate all or some combinations of these from a provided list (return value checks are not necessary).
Maybe something like:
- test:
  - combinator: {name: 'filter', type:'form', params: {max_age: [10, 20, 30, 40, 50], name: ['Doe', 'Jane']}}
  - url: '/api/v1/person.json?$filter'

# `type` can be json/xml/form so it could be used to generate test data
# This would in turn create test values for `$filter` like:
# max_age=10&name=Doe
# max_age=20&name=Doe
# ... and so on ...

This may not always be necessary, because the above example looks like something that a testing suite DB layer itself should handle. But there are other areas where this can be quite helpful (params that have less to do with the database and are some business logic things). I looked hard in the documentation, but couldn't locate anything that can do this.
Also thank you for the work on this great tool!

@n9986 Thank you for your feedback!  I'll  look into how something like this could be incorporated.

Thought: perhaps the best way to approach this is as a piece-at-a-time utility from the python side.
This is easy enough to build out: rather than trying to replace unittest + requests in pure-python use, offer up the extensible components as ways to decorate & easy test cases.
For example, validation of response bodies/headers, extract data from HTTP responses, do templating/generation on request bodies, etc.
This is complementary to the effort to provide unittest outputs and better python APIs for working with tests/testsets/etc.

Sorry for taking to long to answer, here it goes. I'm from an outer context, only pyresttest runs on python on my project.
Anyway there some features that I would like to see in pyresttest.

As you said xUnit compatible output, currently I end up writing my own pyresttest
manager in bash which does this;
Better differentiation between error messages and context, the debug flag is too simplistic, so when I got an failure the dump is huge and hard to debug;
A way to run it in parallel batches, I have many tests and they are taking too long for developers to keep waiting to do the merge of their pull requests, probably I'll write a way to run batches on the manager I wrote;
A way to set all the things I mentioned above through a configuration file.

@jeanCarloMachado Thank you for your feedback, and feedback at any time is welcome.  To give some idea on timelines, the current full roadmap runs about a year out, and I aim for a major release with a couple big changes + several smaller feature additions & bugfixes every 3-6 months.
Between this and the other feedback, I've bumped the priority of xUnit compatible output up several notches, and it is planned for the next release.  The dynamic/flexible variable binding got bumped down in priority to allow for this.
Logging is getting some extra love as well with https://github.com/svanoort/pyresttest/pull/171 and I'll factor in ways to improve the signal-to-noise ratio here.
Config files: I've added https://github.com/svanoort/pyresttest/issues/177 to include this.  It depends on several planned features in future releases, so it will be a while out, but it's factored into design planning now.
Parallel: yes, I agree this would improve speed a lot.  It is a rather complex, multi-step process to get there, but here are the rough design plans. I'm open to ideas or examples if people have good samples that may help:

Parallel execution depends on tests/benchmarks handling their own execution (and a resttest runner that is smart enough to fire them async). The first part is already about halfway there with https://github.com/svanoort/pyresttest/pull/171 and will get there within the next release.
Using the CurlMulti object instead of individual Curl handles allows for concurrent requests (and if we do requests compatibility, they have something similar using gevent.
It's probably easiest to implement parallel execution a batch at a time, rather than true async, initially.
Unfortunately, the dynamic variable binding mechanism (variables/generators/extractors/validators/templating) will cause problems if tests are not executed in the correct order.

For this reason, v1 will be something crude, where you have to explicitly mark testsets or tests for parallel execution.  Only sequential, parallelizable tests will be run in parallel (to preserve correctness).
Then we worry about tracking what can safely run in parallel and automatically doing so.
v2 of the feature would only run where no generator/variable re-binding/extractor binding is being used (all configuration uses an unchanged Context).
v3 would evaluate predictable variable bindings before each test and pass the results in, then fall back to serial execution where extractors are being used at all.
v4 would look at which variables are changing, and create a directed acyclic graph of variable modifications, and only disable parallel where variables are changing in unpredictable ways.

Happy wall-of-text! :-)

Its been over a year that I saw any activity. @svanoort Are you still actively maintaining this?


Standardize CLI options on dashes or underscores

CLI options are inconsistent in format e.g. --fail-fast (with dashes) and --line_number (with underscores). Ideally each option would be listed with dashes, but support both dashes and underscores, but that probably requires hacking into optparse. Short of that, we should standardize on dashes or underscores and deprecate the non-standard ones.
Argument for dashes - they tend to be more standard and are slightly easier to type.
Argument for underscores - they align with the RSpec.configure options, which use underscores because they are method names.
Comments welcome.

This is a tough one, but I'd go with dashes. Currently, there are only 2 options that use underscores (one was added by me!): line_number and default_path.


Question about type_edges in structural attention

Hi!
First of all, thank you for the great work!
I have a quick question about type_edges that you added in structural attention.
Is type_edges fixed as ((1, 1), (2, 2), (1, 2), (2, 1), (3, 1), (3, 2), (1, 3), (2, 3))?
If it is, then why?
If it is not, then where can I find type_edge values of each input?
Thank you!
Hope you have a great one!
Best,
Paul

Hi Paul,

First of all, thank you for the great work!

Thank you!

Is type_edges fixed?

Yes.

If it is, then why?

We use type_edges to create the attention mask based on token types. (a,b) means there are attention flows from a to b. As written in the docstring, we assign 1&2 for metadata tokens and 3 for cell tokens. (We assign type ids during preprocessing.) So the default type_edges will mask attention flows between all cell tokens. And the attention between cell tokens in the same row/column is unmasked later.
Best regards,
Fei

Thank you for kindly answering my question!
I have one more quick question!
Does each value of type_ids, row_ids and col_ids indicate each token or each character of tokens?
Does it count the tokens like <page title>, <section title> as well?
It seems, but I'm just asking.
Thank you once again! :)
Hope you have a great one!
Best,
Paul

Hi Paul,
Yes, in train.csv, type_ids, row_ids, and col_ids are character-level, which are assigned during preprocessing.
These character-level ids are then mapped to token-level after tokenization at the beginning of training.
Best regards,
Fei

Thank you for quick response! :)
Also, if there are two token types (type_ids), then should type_edge also be changed like ((1, 1), (2, 2), (1, 2), (2, 1))?
This might be depended on the what type_ids are, but I'm just asking!
I'm new to this kind of task with using PLMs.
Sorry for bothering and thank you once again for your kindness!
Best,
Paul

Hi Paul,
If you want to construct a complete attention flow, then yes. You can use type_edge to mask any specific attention flow from one type of nodes to another type of nodes.
Best regards,
Fei

Thank you!
Hope you have a great one!
Best,
Paul

Hi Fei!
I have a quick question for your ablation study.
If I want to run the experiment that uses only structure-aware self-attention, then should I just take out compute_invariant_bias function in modeling_t5.py?
Thanks!
Hope you have a good one!
Best,
Paul

Can you please answer the above question?
And is there a purpose for assigning the ids with character-level? Can we just assign those ids as token-level directly?
Thank you! :)
Best regards,
Paul


Update expressroute-nat.md to clarify SNAT

Update expressroute-nat.md to clarify SNAT requirements for Microsoft-sourced traffic. The potential asymmetric routing issues are buried much later in the documentation.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@MattKazmar : Thanks for your contribution to the Azure documentation! The author, @cherylmc, has been notified to review your proposed change.

@ganesr - can you please take a look?

#sign-off

#sign-off

#sign-off


Issue#63 - Adding Nullable checks

Hi @rubo @flcl42 kindly review the PR for resolving the build warnings for nullable references.

Hey @flcl42, for the solution level, I was previously getting 60 warnings. I have reduced them down to 25 now. But now, I am not sure about the null checks because they are causing some other issues when adding nullables there.

Hey @flcl42, for the solution level, I was previously getting 60 warnings. I have reduced them down to 25 now. But now, I am not sure about the null checks because they are causing some other issues when adding nullables there.

You can propose solution and let me help you with comments


Q: Are you publishing this pypi?

I was just looking into a Python library for this format and found your fork. Are you publishing to pypi?

Hi @andrewkcarter.  This repo contains a few fixes to the code that is published to pypi, but we haven't published it back to pypi anywhere.  Your question is a good reminder that we need to reach out to the original author and see if we can take over the project.

That would be great. I couldn't find the original author's project anywhere, which is why I would prefer to use your version of it (in addition to the bug fixes). In the meantime, I'll have to put it into a private pip repo. Thank you for making your fixes available.


Device client using greater than 99% CPU usage.

Describe the bug
Device client is using greater than 98% CPU usage consistently on the NXP S32G with Yocto Linux
To Reproduce
./aws-iot-device-client --config-file /etc/aws-iot-device-client.json

Expected behavior
Device should use less than 10% CPU usage
Actual behavior
Device Client is using consistently between 98-99% CPU usage
Logs
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ps aux | grep device
root         338 99.9  0.1 306316  7320 pts/0    Sl   14:54  15:05 ./aws-iot-device-client --config-file /etc/aws-iot-device-client.json
root         358  0.0  0.0   3188   820 pts/0    S+   15:09   0:00 grep device

2021-06-08T15:25:04.794Z [INFO]  {Main.cpp}: Now running AWS IoT Device Client version v1.1.0
2021-06-08T15:25:04.799Z [INFO]  {SharedCrtResourceManager.cpp}: SDK logging is disabled. Enable it with --enable-sdk-logging on the command line or logging::enable-sdk-logging in your configuration file
2021-06-08T15:25:04.800Z [DEBUG] {Retry.cpp}: Retryable function will retry until success
2021-06-08T15:25:04.818Z [INFO]  {SharedCrtResourceManager.cpp}: Establishing MQTT connection with client id S32_Secure_Tunneling_Thing...
2021-06-08T15:25:05.439Z [INFO]  {SharedCrtResourceManager.cpp}: MQTT connection established with return code: 0
2021-06-08T15:25:05.439Z [INFO]  {SharedCrtResourceManager.cpp}: Shared MQTT connection is ready!
2021-06-08T15:25:05.440Z [INFO]  {Main.cpp}: Jobs is disabled
2021-06-08T15:25:05.440Z [INFO]  {Main.cpp}: Secure Tunneling is disabled
2021-06-08T15:25:05.440Z [INFO]  {Main.cpp}: Device Defender is disabled
2021-06-08T15:25:05.440Z [INFO]  {Main.cpp}: Pub Sub is disabled
2021-06-08T15:25:06.586Z [INFO]  {Main.cpp}: Received signal: (2)
2021-06-08T15:25:06.586Z [DEBUG] {SharedCrtResourceManager.cpp}: Attempting to disconnect MQTT connection
2021-06-08T15:25:06.587Z [INFO]  {SharedCrtResourceManager.cpp}: MQTT Connection is now disconnected
2021-06-08T15:25:09.903Z [WARN]  {FileUtils.cpp}: Permissions to given file/dir path '/etc/' is not set to recommended value... {Permissions: {desired: 745, actual: 755}}
2021-06-08T15:25:09.904Z [INFO]  {Config.cpp}: Successfully fetched JSON config file: {
	"endpoint": "<endpoint-removed>-ats.iot.us-west-2.amazonaws.com",
	"cert": "/home/root/securetunneling_certs/cert.pem",
	"key": "/home/root/securetunneling_certs/private.pem.key",
	"root-ca": "/home/root/securetunneling_certs/AmazonRootCA1.pem",
	"thing-name": "S32_Secure_Tunneling_Thing",
	"logging": {
		"level": "DEBUG",
		"type": "FILE",
		"file": "/var/log/aws-iot-device-client/aws-iot-device-client.log"
	},
	"jobs": {
		"enabled": false,
		"handler-directory": "replace_with_path_to_handler_dir"
	},
	"tunneling": {
		"enabled": false
	},
	"device-defender":	{
		"enabled": false,
		"interval": 300
	},
	"fleet-provisioning": {
		"enabled": false,
		"template-name": "replace_with_template_name",
		"csr-file": "replace_with_csr_file_path",
		"device-key": "replace_with_device_private_key_file_path"
	},
	"samples": {
		"pub-sub": {
			"enabled": false,
			"publish-topic": "replace_with_publish_topic",
			"publish-file": "replace_with_publish_file",
			"subscribe-topic": "replace_with_subscribe_topic",
			"subscribe-file": "replace_with_subscribe_file"
		}
	}
}
2021-06-08T15:25:09.904Z [DEBUG] {Config.cpp}: Did not find a runtime configuration file, assuming Fleet Provisioning has not run for this device
2021-06-08T15:25:09.904Z [INFO]  {Main.cpp}: Now running AWS IoT Device Client version v1.1.0
2021-06-08T15:25:09.910Z [INFO]  {SharedCrtResourceManager.cpp}: SDK logging is disabled. Enable it with --enable-sdk-logging on the command line or logging::enable-sdk-logging in your configuration file
2021-06-08T15:25:09.910Z [DEBUG] {Retry.cpp}: Retryable function will retry until success
2021-06-08T15:25:09.929Z [INFO]  {SharedCrtResourceManager.cpp}: Establishing MQTT connection with client id S32_Secure_Tunneling_Thing...
2021-06-08T15:25:10.548Z [INFO]  {SharedCrtResourceManager.cpp}: MQTT connection established with return code: 0
2021-06-08T15:25:10.548Z [INFO]  {SharedCrtResourceManager.cpp}: Shared MQTT connection is ready!
2021-06-08T15:25:10.549Z [INFO]  {Main.cpp}: Jobs is disabled
2021-06-08T15:25:10.549Z [INFO]  {Main.cpp}: Secure Tunneling is disabled
2021-06-08T15:25:10.549Z [INFO]  {Main.cpp}: Device Defender is disabled
2021-06-08T15:25:10.549Z [INFO]  {Main.cpp}: Pub Sub is disabled

Environment (please complete the following information):

OS: Yocto Linux with meta-aws on Gatesgarth branch
Linux s32g274ardb2 5.4.69-rt39+gb0f1da540d2c #1 SMP PREEMPT Tue May 25 15:48:54 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Device Client commit: https://github.com/awslabs/aws-iot-device-client/tree/v1.1/

Additional context
Using the device client for secure tunneling, but the behavior persists even when all services are disabled.

Hello, thanks for providing detatils. We are working on it right now will make updates once we find solution

Hi, we have fixed this and overall cpu utilization will be down to around 1% when device client's running. Please let us know if you have any other issue about this

Thank you!


Help with displaying entire set of characters on Vim

I was wondering if anyone has any tips for displaying all the characters used in Jelly in Vim. I am using Vim 8 and have already set up the digraphs for use in Jelly. However, I am unable to display most of the jelly characters and they instead show up as question marks. Does anyone know that the proper fontset would be to display all of these at a reasonable width?

I'm on windows, if you need that.

DejaVu Sans Mono works well with Jelly's code page.
https://dejavu-fonts.github.io/Download.html

And do you know what file encoding and other options I should set to use it correctly? I've set my guifont=DejaVu_Sans_Mono:h12:cANSI, but the digraphs and other unicode characters still show up as question marks.

Set the encoding to UTF-8. I'm afraid I can't really help with anything specific to vim and/or Windows.

Dang. Do you by chance use Linux?


samanthazoe

Not sure what you are trying to do, but I don't think this is the right repository to open a PR in …

@kawinette This looks like a misdirected pull request to me, thus closing for now. Please get back to me if there's something I can do!

what talk french
2016-03-03 17:11 GMT-05:00 Martin Afanasjew<EMAIL_ADDRESS>
@kawinette https://github.com/kawinette This looks like a misdirected
pull request to me, thus closing for now. Please get back to me if there's
something I can do!
—
Reply to this email directly or view it on GitHub
https://github.com/UniqMartin/binwalk/pull/1#issuecomment-191989583.


Missing live reload functionality on files inside lib.

Is there a way to specify what folders are watched? It seems I'm not getting reloads when I edit my:
lib/my_app/i18n/en.ex file inside of Phoenix.

Nothing in lib is reloaded.
Move it it to web if you want to reload it.
--
José Valim
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

@josevalim thanks!

@josevalim moving lib/my_app/i81n/en.ex to web/i81n/en/ex makes it so that my module isn't found anymore. Is there any literature on the load path for phoenix you can point me to?

@jontonsoup You need to update your locale file path references to take the new location into consideration. i.e. locale "en", Path.join([__DIR__, "../config/locales/en.exs"]) or whererver you have your locales located.

This seems to work for me FYI:
config :hello_phoenix, HelloPhoenix.Endpoint,
  reloadable_paths: ["lib"],
  reloadable_compilers: [:elixir]


404 - Page not found: /threat-protection/windows-defender-exploit-guard/troubleshoot-asr

Address: https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-exploit-guard/troubleshoot-asr
This page is opened when user clicks on the notification about blocked application from Windows Defender.

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

ID: 751781d9-0e3b-85ea-21c7-2714a39041f5
Version Independent ID: b14c1d00-5f56-d3c6-0847-8d2967740680
Content: Evaluate attack surface reduction rules - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/evaluate-attack-surface-reduction.md
Product: m365-security
Technology: mde
GitHub Login: @levinec
Microsoft Alias: ellevin

@jozefizso Can you please share a screenshot of the notification you refer to so I can check internally?
Thanks.

We are going to add a redirection from https://docs.microsoft.com/windows/security/threat-protection/windows-defender-exploit-guard/troubleshoot-asr to https://docs.microsoft.com/windows/security/threat-protection/microsoft-defender-atp/troubleshoot-asr but we still would like to trace the location that is using the previous link.

The redirection is live. Will keep the issue open for a few more days to try and get a screenshot of the issue.

I don't have screenshot for the notification, but it is an standard notification users get when Windows Defender blocks an application for running.

This issue seems to be resolved with the redirect, so I'm closing the issue.


Share your favorite papers with me, plz :)

Welcome to share your favorite papers here, and I'll read and write some notes if I think it is interesting, too :)
gaocegege ❤ papers
Notice: No AI please, it is too magic. Prefer papers about systems :)

no way

Do you want me to introduce girls to you?

https://www.datastax.com/dev/blog/consensus-on-cassandra  Cassandra use Paxos without ZK (well, you can't say ZK is Paxos strictly)

http://www.nowpublishers.com/DBS  awesome collection of survey on DB

Corfu and vCorfu, shared log (dual log) for consensus and flush

https://blog.acolyer.org/2017/05/02/corfu-a-distributed-shared-log/
https://blog.acolyer.org/2017/05/03/vcorfu-a-cloud-scale-object-store-on-a-shared-log/

What can Corfu do? just like paxos?

@gaocegege it can cook you tofu :dog: It's a shared cluster of flash, you can use it as drop in replacement for paxos, built distributed flash based file system, K-V, Object store, bla bla bla.

Is it optimized in flash storage?

@gaocegege kind of, because you can't have only one read on HDD because there is just one head, while for SSD this is not the case, fast random read. Another is SSD has the problem of wearable, thus you should write to same unit as less a possible, by using the cluster, you sort of balanced the load. The idea of using a global log and virtualize it is the most interesting thing.

whereas vCorfu starts with a global shared log as a source of serialization and virtualizes it,
other transactional distributed data platforms do precisely the opposite: They partition data into shards,
and build distributed transactions over them

OSDI 16 Just Say NO to Paxos Overhead: Replacing Consensus with Network Ordering (这题目真是吊的不行)
https://www.usenix.org/conference/osdi16/technical-sessions/presentation/li

这篇我读过，还人肉了一下一作。。。沈阳小哥

@gaocegege 所以大概讲了个啥？ 懒得读了 /w\

大概讲了就是题目说的。。

https://research.google.com/pubs/DistributedSystemsandParallelComputing.html 这里有好多...

这都是谷歌的论文吧，我其实只关心调度方面的。

@gaocegege 他山之石可攻玉啊 (要不看点材料的论文?

http://jeffhuang.com/best_paper_awards.html /w

https://www2.eecs.berkeley.edu/Pubs/TechRpts/2017/EECS-2017-159.pdf?source=techstories.org A berkeley view of systems challenges for AI

评估的策略这边，最简单的方式就是用传统 evaluate model 的方式，划分训练集和验证集。但是这样的验证方式是非常浪费硬件资源的。为了降低资源使用的问题，performance can be estimated based on lower fidelities of the actual performance after full training (also denoted as proxy metrics)

.... 楼上你走错帖子了

@at15 在线跟，跟到了这里...

@at15 @xieydd 不好意思，打开的 Tab 太多，有点意识模糊

看着评论很有趣啊，一路说着说着，发现都是中国人么？各位大兄弟？


Message search with Radical Native doesn't work when updating

When updating Radical in the same browser session it seems that Radical Native doesn't inform Radical reliably about it's presence which makes it so that message search is not active directly after an update. What helps is dis/enable Radical Native and reloading Radical. It'd be nice if message search also keeps working after an update so no messages in the index are missing. The nicest solution would be to embed RN directly as lib into R.

Fixed with #32


Need guideline / examples to move Camera View along the map street

Background
In my application, I want to move the Camera View along the map street as the car is driving. Is there any guideline / hint / example to do this? Thanks!

You can try using FirstPersonView with Deck's views prop.

Hi @Pessimistress ,
Thank you very much for the hint. I will give it a try.  :)

Hi @Pessimistress,
I am trying to make the FirstPersonView (as you suggested) to move from point A to B (with hard-coded value coordinate) for below example [1].
I tried to replace the OrbitView (used in the example) with FirstPersonView with different parameters. I also tried to find out how the FirstPersonView is used in the existing code base (both from tests and examples). However, due to my limited knowledge of DeckGL and 3D know-how, it doesn't work.
I am really grateful if you can provide sample code that works for [1] with above requirement. Thank you very much!
Have a nice day,
Cheers,
Khon
[1] http://deck.gl/#/examples/core-layers/point-cloud-layer


add windows and osx support

Right now the build is failing on:
Cannot start ChromeHeadless
	Can not find the binary /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
	Please set env variable CHROME_BIN
ChromeHeadless stdout:
ChromeHeadless stderr:
java.lang.IllegalStateException: Errors occurred during launch of browser for testing.
- ChromeHeadless
Please make sure that you have installed browsers.
Or change it via
browser {
    testTask {
        useKarma {
            useFirefox()
            useChrome()
            useSafari()
        }
    }
}

I am trying to figure if I really need osx to build js? I guess not and only native is needed. need to check how to instruct that.

Right now the build is failing on:
Cannot start ChromeHeadless
	Can not find the binary /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
	Please set env variable CHROME_BIN
ChromeHeadless stdout:
ChromeHeadless stderr:
java.lang.IllegalStateException: Errors occurred during launch of browser for testing.
- ChromeHeadless
Please make sure that you have installed browsers.
Or change it via
browser {
    testTask {
        useKarma {
            useFirefox()
            useChrome()
            useSafari()
        }
    }
}

I am trying to figure if I really need osx to build js? I guess not and only native is needed. need to check how to instruct that.

https://docs.travis-ci.com/user/chrome

https://docs.travis-ci.com/user/chrome

Thanks! trying that


what is the latest version?

what is the latest version

v2.0.2
You can always check for the latest version here


[docs] Get ready for the TestCafe Studio official release

\cc @DevExpress/testcafe-docs
[WIP] because links to the article are not yet finalized.
So, here I:

add links to an article to FAQ and the GitHub README.md
update texts (corrected by Vova)
change the GitHub README.md 'Different versions' section - replaced lists with a table, like on the website
update the Studio animation on GitHub README.md

Extracted release-related README changes to https://github.com/DevExpress/testcafe/pull/3707
This PR can be merged ahead.


Send  AGIAction to FastAGI and get a response

I create a AGIAction and how to send this to FastAGI ?
eg: **AgiAction agi = new AgiAction("SIP/1004", "MusicOnHold"); **

Please post your extensions.conf file so we can see what you're trying to do. You need to send the channel to async agi using the AGI Dial Plan application to even be able to operate on it like that.


Add dotnet workload maui

Tool name
dotnet workload maui
Tool license
MIT
Add or update?

[X] Add
[ ] Update

Desired version
latest
Approximate size
No response
Brief description of tool
We are going to be build .NET MAUI applications. Our build step to install all required workloads takes several minutes:
dotnet nuget locals all --clear
dotnet workload install maui --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json
dotnet workload install android ios maccatalyst tvos macos maui wasm-tools --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json

In order to avoid this repetitive steps we would like to have these workloads pre-installed on windows agent.
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[X] Azure DevOps
[ ] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[X] Windows Server 2022

Can this tool be installed during the build?
dotnet nuget locals all --clear
dotnet workload install maui --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json
dotnet workload install android ios maccatalyst tvos macos maui wasm-tools --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json

Tool installation time in runtime
8min+ on windows agents
Are you willing to submit a PR?
No response

In continuation of this discussion: https://github.com/actions/runner-images/issues/5720
@timheuer could you please assist again?
Currently Windows 2022 image with .NET 7 SDK has that list of preinstalled workloads:
Installed Workload Id      Manifest Version       Installation Source
---------------------------------------------------------------------
maui-windows               7.0.52/7.0.100         VS 17.4.33205.214
maui-maccatalyst           7.0.52/7.0.100         VS 17.4.33205.214
maccatalyst                16.1.1477/7.0.100      VS 17.4.33205.214
maui-ios                   7.0.52/7.0.100         VS 17.4.305.214
ios                        16.1.1477/7.0.100      VS <IP_ADDRESS>
maui-android               7.0.52/7.0.100         VS 17.4.33205.214
android                    33.0.4/7.0.100         VS 17.4.33205.214
wasm-tools                 7.0.1/7.0.100          VS 17.4.33205.214

But what do you think about .NET 6 SDK workloads both for Windows 2019 and Windows 2022?
cc @mikhailkoliada

As far As I understand maui has a number of components, but given that we do not see high demand of them, we would not like to pre-install them for the time being, but it may change in the future, please continue installing all the needed components in runtime

Thanks on your reply. I was checking again and tried to build my MAUI project on Windows-2022 image without installing MAUI workload manually. Unfortunately restoring the project is failing with following error message:
Determining projects to restore...
C:\hostedtoolcache\windows\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: maui-tizen [D:\a\1\s\XXX\xxx.csproj::TargetFramework=net7.0]
C:\hostedtoolcache\windows\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [D:\a\1\s\XXX\xxx.csproj::TargetFramework=net7.0]

That´s a snippet of my pipeline without the manual installation step:
- stage: Build
  jobs:
  - job: BuildAndroid
    displayName: Build Android App
    pool:
      vmImage: 'windows-2022'
      demands:
      - MSBuild

    steps:
    - task: UseDotNet@2
      displayName: .NET Version
      inputs:
        packageType: 'sdk'
        version: '$(DotNetVersion)'

    - task: Bash@3
      displayName: Restore nuget
      inputs:
        targetType: 'inline'
        script: |
          cd xxx
          dotnet restore $(Project)

    - task: Bash@3
      displayName: Build Android App
      inputs:
        targetType: 'inline'
        script: |
          cd xxx
          dotnet publish $(Project) -f net7.0-android -c $(BuildConfiguration)

Parts of my .csproj:
<PropertyGroup>
		<TargetFrameworks>net7.0;net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
		<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
		<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
		<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
    <OutputType Condition="'$(TargetFramework)' != 'net7.0'">Exe</OutputType>
		<RootNamespace>xxx</RootNamespace>
		<UseMaui>true</UseMaui>
		<SingleProject>true</SingleProject>
		<ImplicitUsings>enable</ImplicitUsings>

		<!-- Display name -->
		<ApplicationTitle>xxx</ApplicationTitle>

		<!-- App Identifier -->
		<ApplicationId>xxx</ApplicationId>
		<ApplicationIdGuid>xxx</ApplicationIdGuid>

		<!--  I’m currently restoring a .NET MAUI project supporting iOS and Android on windows-latest without installing MAUI and without any issues.


Support for parsing parial JSON strings in Python

As requested by @jxnl, add allow_partial argument to python parsing.

Thanks, with this we'll be able to stream a little bit cleaner.


Allow transcribe streaming endpoint

This service has released in other SDKs but requires HTTP/2 support. This whitelists this service as known despite not being supported in our SDK.

Codecov Report

Merging #1864 into develop will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1864      +/-   ##
===========================================
+ Coverage    92.56%   92.59%   +0.03%
===========================================
  Files           53       53
  Lines        10000    10000
===========================================
+ Hits          9256     9259       +3
+ Misses         744      741       -3

Impacted Files
Coverage Δ

botocore/credentials.py
98.86% <0%> (+0.34%)
:arrow_up:

Continue to review full report at Codecov.

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


Conditionally color sparkline

I've noticed on the Robinhood app that scrubbing over portions of the sparkline that are after-hours will tint market and pre-market hour portions to a darker color while keeping the scrubbed over region the same. Is this conditional tinting possible with the default sparkview and if so, is there any guidance as far as coloring or tinting regions of the sparkline based on adapter data?

Unfortunately, it's not easily achievable using Spark. We've got some custom internal modifications that made this possible, but didn't clean up well enough to be able to push to Spark. We hope to do this eventually, but likely won't be any time soon.


Optimizer state is not saved

Hi,
I noticed that, while saving the checkpoints, you do not include the state of the optimizer.
I think this can result in unwanted behavior, when resuming training from a checkpoint.

The issue was meant for the repository semantic-segmentation-pytorch.
Sorry for the confusion .


Any Update Or is okay to use in production

@winstongubantes Happy New Year !
Is any update coming and can you say this can be use in production today?
Thanks for this library and God bless you real good!.
Chris

@winstongubantes ?

Hi @chrisgate ,
I apologize for the late response. Your question about when is it a production ready? The answer is yes, in fact i am using this on 2 of my clients project until this day. I only recommended this on a simple project that doesn't require per property history(i may implement this one day when needed) .


Add BigQueryTemplate to BigQuery Module

This refactors the BigQueryFileMessageHandler to extract the complex work of writing data to tables into a template class.
The template class is now scoped to the BigQuery datasetName.
Note: In BigQuery, hierarchy of data is as follows:
GCP Project Account > Dataset Name > Table Name

Just fixed the error message in bigquery template, ptal :)


feat: add setServerUrl api

Summary

Checklist

[ ] Does your PR title have the correct title format?
Does your PR have a breaking change?:

User might pass the EU batch endpoint. It also ends with batch but it is https://api.eu.amplitude.com/batch
Refer to https://developers.amplitude.com/docs/batch-event-upload-api
With current logic, I believe it will be treated as a normal endpoint.
cc: @qingzhuozhen

@haoliu-amp
setServerUrl  only used for setting amplitude endpoints, right?
Can I use the batch keyword in the endpoint to determine if it's a regular request or batch request?


Service test changes

This adds another test to service.rs that tests connecting 3 peers via rendezvous connect and sending a bunch of data between them.
It also improves the UtpWrapper implementation to make it more efficient.

r? @vinipsmaker
(maidsafe_highfive has picked a reviewer for you, use r? to override)

your change needs Rust unstable: https://travis-ci.org/maidsafe/crust/jobs/110108351#L421

It's failing to build on Rust stable: https://travis-ci.org/maidsafe/crust/jobs/111444771

It's weird, but start_three_service_udp_rendezvous_connect is failing on stable Rust on CI machines. It works on my local machine.

I fixed a bug in start_three_service_udp_rendezvous_connect, but it's not the one that's causing those failures. Those failures seem to be because udp is currently disabled on master.

I've rebased this PR off of master and reenabled udp rendezvous connect. The current connect logic is:

Try connecting to all tcp endpoints in sequence and return if any are successful
Try to do udp rendezvous connect

Whether this is the best logic is certainly up for debate but for now at least we can connect over both protocols and all tests should pass.

Reviewed 1 of 4 files at r1, 1 of 2 files at r3, 3 of 3 files at r7.
Review status: all files reviewed at latest revision, 6 unresolved discussions.

Comments from the review on Reviewable.io


TestRenewToken test flake

https://prow.istio.io/view/gcs/istio-prow/logs/unit-tests_istio_postsubmit/1626

The root cause is the same as https://github.com/istio/istio/issues/21626. Need to fix the racing condition to deflake both tests.

https://prow.istio.io/view/gcs/istio-prow/logs/unit-tests_istio_postsubmit/2028

This is still the SSL handshake issue. I am trying to reproduce it.
E0406 21:47:08.948987820    8236 ssl_transport_security.cc:1246] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED