Automount isn't working

I have the mounting set up in fstab to look like this:
goofys#<<mybucket>> 				/mnt/drive_z		fuse 	_netdev,allow_other,--dir-mode=0777,--file-mode=0777		0 	0

However when I look into the syslogs to find out why it didn't mount I get this:
Jan 20 17:37:57 localhost /usr/local/bin/goofys[1369]: s3.ERROR code=RequestError msg=send request failed, err=Head https://s3.amazonaws.com/<bucket-name>/pfoxgtph0qsjb70j6nta5vu3khezbdo1: dial tcp: lookup s3.amazonaws.com on <IP_ADDRESS>:53: dial udp <IP_ADDRESS>:53: connect: network is unreachable
Jan 20 17:37:57 localhost /usr/local/bin/goofys[1369]: main.ERROR Unable to access '<bucket-name>': RequestError: send request failed#012caused by: Head https://s3.amazonaws.com/<bucket-name>/pfoxgtph0qsjb70j6nta5vu3khezbdo1: dial tcp: lookup s3.amazonaws.com on <IP_ADDRESS>:53: dial udp <IP_ADDRESS>:53: connect: network is unreachable
Jan 20 17:37:57 localhost /usr/local/bin/goofys[1369]: main.FATAL Mounting file system: Mount: initialization failed

I understand _netdev is suppose to wait until we are connected to the internet, but the message seems to contradict this assumption of that option.  I have goofys automounting successfully on another computer without a problem in the same colo.

I'm also having this issue upon reboot with Wasabi
Feb 27 16:18:20 cloud /usr/bin/goofys[492]: s3.ERROR Unable to access 'my-bucket': dial tcp: lookup s3.wasabisys.com on [::1]:53: read udp [::1]:53870->[::1]:53: read: connection refused
Feb 27 16:18:20 cloud /usr/bin/goofys[492]: s3.ERROR code=RequestError msg=send request failed, err=Head https://s3.wasabisys.com/my-bucket/my-key: dial tcp: lookup s3.wasabisys.com on [::1]:53: read udp [::1]:60462->[::1]:53: read: connection refused#012
Feb 27 16:18:20 cloud /usr/bin/goofys[492]: s3.ERROR code=RequestError msg=send request failed, err=Head https://s3.wasabisys.com/my-bucket/my-key: dial tcp: lookup s3.wasabisys.com on [::1]:53: read udp [::1]:60462->[::1]:53: read: connection refused#012
Feb 27 16:18:20 cloud /usr/bin/goofys[492]: s3.ERROR code=RequestError msg=send request failed, err=Head https://s3.wasabisys.com/my-bucket/my-key: dial tcp: lookup s3.wasabisys.com on [::1]:53: read udp [::1]:60462->[::1]:53: read: connection refused#012
Feb 27 16:18:20 cloud /usr/bin/goofys[492]: main.ERROR Unable to access 'my-bucket': RequestError: send request failed#012caused by: Head https://s3.wasabisys.com/my-bucket/my-key: dial tcp: lookup s3.wasabisys.com on [::1]:53: read udp [::1]:60462->[::1]:53: read: connection refused
Feb 27 16:18:20 cloud /usr/bin/goofys[492]: main.FATAL Mounting file system: Mount: initialization failed

I can successfully mount the bucket after SSHing in and running mount -a

The differences between the other system was how we were setting up the network, after forcing network manager to control my setup, the auto-mount started working.  So changed to this:
This file describes the network interfaces available on your system
For more information, see netplan(5).
network:
version: 2
renderer: NetworkManager
ethernets:
enp3s0:
dhcp4: yes
for my netplan config file.


Start putting together a Dockerfile

The setup is not successful (yet).  The current error messages are:
#10 4.023 ADVERTISE_MASTER failed!  Use -verbose for more information.
#10 4.023 ADVERTISE_STARTD failed!  Use -verbose for more information.
#10 4.027 Requesting token from 'ap7.ospool.osg-htc.org'...
#10 4.223 Failed to request a new token: DAEMON:1:failed to start command for token request with remote daemon at '<<IP_ADDRESS>:9618?alias=ap2007.chtc.wisc.edu>'.|SECMAN:2007:Failed to end classad message.

Since this pull request was originally submitted, we've done some work on our own setup scripts. While they're still a work in-progress, they do aim to address the same problem as this PR.


Corrected typo in Pretty Printing docs.

Type of changes

[ ] Bug fix
[ ] New feature
[x] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[ ] I've run the latest black with default args on new code.
[ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[ ] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
Noticed when reading: “use” rather than “user”

Well spotted.


tableName ignored with discriminators

Describe the bug
If a tableName is defined on a root entity and a child entity is persisted, it will attempt to insert using the standard generated table name of the root entity.
To Reproduce
@Entity({ tableName: 'foobar', discriminatorColumn: 'type', abstract: true })
export default abstract class ParentMikro {

}

@Entity({ discriminatorValue: 'child' })
export class ChildMikro extends ParentMikro {

}

manager.persist(new ChildMikro());

The above will attempt to insert into the parent_mikro table.
Expected behavior
I would expect tableName to be inherited for all child entities.
Additional context
If i take abstract: true away, the queries attempt to include a generated discriminator value for the root entity (parent_mikro) which will break because it is a postgres enum column.
I can work around this by just duplicating the table name on all the child entities.
Versions
  "@mikro-orm/cli": "^4.5.9",
  "@mikro-orm/core": "^4.5.9",
  "@mikro-orm/nestjs": "^4.3.1",
  "@mikro-orm/postgresql": "^4.5.9",
  "@mikro-orm/reflection": "^4.5.9"

Can you also try this please? tableName is an alias for collection
@Entity({ collection: 'foobar', discriminatorColumn: 'type', abstract: true })
export default abstract class ParentMikro { ... }

@B4nan nope, same behavior

not reproducible in master, so already fixed (i can reproduce in v4)


Debugging private catalogs

Rancher versions:
rancher/server: v1.6.4
rancher/agent: v1.2.5
Infrastructure Stack versions:
healthcheck: v0.3.0
ipsec: 0.1.1
network-services: v0.2.3
scheduler: v0.6.2
kubernetes (if applicable): N/A
Docker version: (docker version,docker info preferred) 17.03.1-ce
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
Ubuntu 16.04.2
4.4.0-21-generic
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO) Internal dev cloud
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB) Single node, external DB
Environment Template: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Steps to Reproduce:
Start by adding a private Rancher catalog. Then:

Make changes to the latest version of the template.
Force a catalog refresh using the UI.
Repeat.

Results:
Sometimes the modified template won't be list in the Template Version dropdown.
I suspect this issue can be triggered by publishing a template version with syntax errors. Restarting Rancher server seems to fix the problem (granted the syntax errors on the template are fixed).
How can I debug this problem? Rancher server's output and /var/lib/cattle/logs don't have any error messages related to the catalogs.

+1  I'd personally like to see some sort of console when hitting the catalog reload button that let's me know when I blew up the yaml etc, this can lead to insanity.

Some sort of console or easy access to logging would be great. I have tried several times to add private self-hosted catalogs and while git has no problem cloning them (without any auth or anything) they just do not show up in the UI.

Displaying catalog-service errors when trying to pull a catalog would be the first item that could help with debugging.  https://github.com/rancher/rancher/issues/8438

@deniseschannon what is the status of this? Is there a way to have some feedback? It is really driving me crazy :(

@cianiandreadev
With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.
What are you specifically facing for an issue? Are your templates showing up or not?


add OSS_PAPER.md

Explainer on how to contribute to an open source paper.

@virgile-dev thanks for getting this started, I really liked the tone and overall context you provide to help anyone wanting to contribute feel more comfortable to do so.

In the end, how a paper is made can be almost as interesting as its content. What were the sections that the authors struggled with? What kind of concerns a specific idea raised?

Love that part, quite fitting after talking about POI in the meeting today


Create Docker images for master components

This is a step towards containerization of the various master components that run directly on host today.

assigning to Dawn for want of a better assignee, git blame wasn't too helpful

@dchen1107  thanks for reviewing the PR! I added some comments..

LGTM.

So this PR broke the Vagrant cluster... are we requiring docker to be installed before doing a cluster/kube-up now?

We do need docker to be installed to build docker images which then go into the server tarballs.
The salt-scripts install docker on the cluster, not on the machine which is building the tarballs.
Optionally, I could consider doing this as part of the deployment process, once salt-scripts have installed docker.

https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cluster/saltbase/salt/top.sls#L55
Looks to me that each kubernetes-master uses salt to install docker on the master , which is where this is erroring for me.

Ah, yes
I will do the fix.
On Mon, Apr 6, 2015 at 10:18 AM, Derek Carr<EMAIL_ADDRESS>wrote:

https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cluster/saltbase/salt/top.sls#L55
Looks to me that each kubernetes-master uses salt to install docker on the
master , which is where this is erroring for me.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/6326#issuecomment-90161030
.

@ArtfulCoder: I think one easy thing to do is just defer the "docker load" to a later Salt step. You can populate the pillar data as you're doing today, and just load after docker is ensured.

FYI I have both the master and node dockerize here https://github.com/mingfang/docker-kubernetes-master and here https://github.com/mingfang/docker-kubernetes-node in case you're interested.


🍒 Cherry pick PR #8916 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/8916 to staging 🍒

🚀 Cherry-picked to staging by @OSBotify in version: 1.1.57-12 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by @chiragsalian in version: 1.1.57-17 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Unregistered DNS causing the jsbin runner to not work

jsbin-dev.com has had its DNS records removed which are causing the js bin runner to not work as it relies on files that are served from this domain.
Console errors caused:

As we can see there are no DNS records:
Link

Wait, is this a local install or jsbin.com that you're referring to?

This is jsbin.com

Should be fixed - sorry, explanation on #3068 .

Thanks for resolving this issue


Only integer allowed

The Creator does not allow integer as input, while the character creator (e.g. Chest Shape) does.

Oooh, chest shape striking again. I'll get around to fixing this, in the mean time you can just edit the ini file it pops out in any text editor to add .5 if needed.

Tried doing that, but unfortunately the maker script also does not appreciate my floats 😄
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\mxrid\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__
  File "main.py", line 285, in run_program
  File "main.py", line 303, in main
  File "main.py", line 37, in read_config
  File "main.py", line 38, in <dictcomp>
ValueError: invalid literal for int() with base 10: '30.5'

It's not a big issue really, to manually change one slider after it's done, just would be awesome if it could support floats too in the future.


Fix pull request template

This is a bit meta, but your pull request template points to a nonexistent CONTRIBUTING.md. This PR fixes that link.

Forked from master, my mistake, re-opening a new PR.


Version number prints in lower left for first 16 frames

Minor issue but it might be better to put this info somewhere in the menu system.
If I do something like this:
4Dw....
..$ti:0
It prints every time the frame count resets to zero obscuring operator info.

aaaah I hadn't think of that. I'll fix that.
I'm just curious tho, why do you reset the time like that?

I was trying to find a way to re-sync increment operators on a slow clock. The clock operators are always a modulo of the frame count so when frame count is zero all clocks are reset. The increment operators are independent of both the frame count and each other. They only start at their zero when they are created or loop back around.

You could use something like 1x0 over the incrementer, if you bang it, it will reset the incremented value.
aV...............
.................
.......Va..Va..Va
.................
......1x0.1x0.1x0
.......I...I...I.
.......n...a...y.

Ohhhh! Yes - you did mention in your workshop that increment reads its output. very clever!

I think I like this behaviour better than anything else I can think of.
I'll close this for now.


set invalid_input error to grpc status code invalid_arg

grpc returns invalid arg code with error type INVALID_INPUT when encounter unmarshall errors, so that streaming-http-adapter can handle invalid json input as http 400 bad request

Related adapter PR is: https://github.com/projectriff/streaming-http-adapter/pull/64/

Bad request is an HTTP concept that isn't appropriate for a streaming protocol.
I do think it's worth being able to distinguish input related errors form function related errors (in HTTP speak 4xx errors from 5xx errors)

Hi @scothis As the PR implies, we'd like to communicate via HTTP error to the consumer of the function if the json payload they pass is malformed.  Do you have any guidance around how we could/should approach this?

Hi @scothis As the PR implies, we'd like to communicate via HTTP error to the consumer of the function if the json payload they pass is malformed. Do you have any guidance around how we could/should approach this?

I'm in favor of being able to respond to the HTTP request with an appropriate error code.  However, because HTTP is terminated in the streaming-http-adapter, HTTP semantics shouldn't surface within the invoker. Instead, we need to return an appropriate error code for a stream with an invalid message. Then in the streaming-http-adapter covert that streaming error into an HTTP 400 response.
The simplest possible way to enhance this PR to something that aligns is to rename BAD_REQUEST to BAD_INPUT (still not crazy about that name), but I'll defer to @fbiville for other name suggestions that are appropriate for a stream.

fbiville

@cz9779 BAD_INPUT or BAD_INPUT_SIGNAL sound like good options to me


docs(02-setting_options-s3.jmd): Add comma to object literal

Brief description of the changes [REQUIRED]
The JavaScript snippet wasn't valid. It is now valid.
What browsers and operating systems have you tested these changes on? [REQUIRED]
I used http://www.jslint.com/ on Chrome 54 on Debian Jessie.
Are all automated tests passing? [REQUIRED]
I hope so.
Is this pull request against develop or some other non-master branch? [REQUIRED]
No.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Thanks for catching and fixing this!


Components should allow out-of-sequence messages when a source component has previously gone offline

It will be common for source components which have gone offline to present a folio number which is considered out of sequence, because they have restarted their counter, or gone away for a long period of time. When such a source component is rediscovered, we should process any advertisement messages anyway which will bring the source back online and restore the sequence.

Although the message received is allowed, others are not because the folio is still out of sequence.


[stable-1.69] Add the Win32_System_Console feature since it is used

In src/cargo/core/shell.rs windows_sys::Win32::System::Console is used but the feature is not present in Cargo.toml.
I found it while updating cargo-c. (now for the 1.69.0 branch)

For reference, #12016  fixes this in master

@rfcbot fcp merge
@rust-lang/cargo I think it would be good to backport this to both stable and beta.  The current 0.70.0 release of the library doesn't build on Windows due to a missing feature.
This PR will also need to bump the patch version in Cargo.toml, and also backport #12011 to get CI to pass.  We can then publish the new version to crates.io (no need for a stable release of Rust itself).  I can handle those after this FCP passes.
The reason this happened is because cargo-util in tree includes the feature, but the version number of cargo-util was never bumped after it was changed, so the version of cargo-util on crates.io is outdated.
@weihanglo Part of the release process (documented here) is to check if any of the in-tree crate versions need to be bumped. It seems like this process broke down. Is there some way we can improve the process to make sure this doesn't happen in the future?
Also, does anyone have any ideas on how to catch this in CI?  I'm thinking of perhaps some way to check if cargo-the-library can be built, but that inherently needs its dependencies to be "published", which is the very reason this failed, so I'm not sure offhand how best to do that.

Part of the release process (documented here) is to check if any of the in-tree crate versions need to be bumped. It seems like this process broke down. Is there some way we can improve the process to make sure this doesn't happen in the future

A simple proposal: In CI, use git diff to compare latest version and current local If there are some changes, fail the CI and require at least a version bump. Also, we can leverage cargo-semver-checks to ensure the semver compatibility.

I opened #12033 to continue the discussion of how to deal with versioning. Feel free to leave ideas over there on how we can better manage them.

@bors r+

:pushpin: Commit 8cdc12cd0a741f88e43f72abfb2102ad8b6e6b2e has been approved by ehuss
It is now in the queue for this repository.

:hourglass: Testing commit 8cdc12cd0a741f88e43f72abfb2102ad8b6e6b2e with merge d71aa2ea36e86acb7dee949293a64ee6b0283c7e...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing d71aa2ea36e86acb7dee949293a64ee6b0283c7e to rust-1.69.0...


Fix cache relocatability in GenerateKotlinExtensionsForGradleApiSources

Context
This commit (Add @since to generated Kotlin extensions) and more specifically this line makes the gradleApiKotlinExtensions task cache non relocatable.
Here is the screenshot demonstrating the cost in such scenario

Fix
Using PathSensitive.RELATIVE fixes the cache misses, but I could be missing @eskatos why this was explicitly set to ABSOLUTE in the first place.

Thanks @jprinet! LGTM
@bot-gradle merge

I've triggered a build for you. Click here to see all failures if there's any.


IngestClient does not support multi-channel for batch transcription

Describe the bug
Given a multi-channel  audio file , Ingest Client batch mode does not support sending channels to Speech Service parameters
https://learn.microsoft.com/en-ca/azure/ai-services/speech-service/batch-transcription-create?pivots=rest-api#request-configuration-options
channels:[0,1]

As a result getting "Invalid Data" error

What is the source of your multi-channel audio.
This was designed to work with the microphone array in some of our speech development devices.
Depending on what you are trying to achieve, you might take a look at some of these samples, https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/ae1f23ea4afb7e34c5be2f2e88aa21b274b1c5c9/samples/cpp/windows/console/samples/speech_recognition_samples.cpp#L1164
Or if you really need to use the REST based batch APIs, I can ask one of the web services team to answer this question.
Let me know if that answers your question, or if you have more details about what you want to do.
Brian.

Closed as answered since no further updates.


Port Blog to Jekyll

As a DevExchange team member, I want the current blog to be ported from the current structure to the new Jekyll architecture so that it is more seamless integrated into the rest of the site, and content can be edited using git-based workflows and formats.

complete - please verify

OK - content is there


Refactor guild finding code (discord)

That package's errors.Wrap function is used frequently in my feature/transmitter branch: https://github.com/42wim/matterbridge/compare/master...qaisjp:feature/transmitter.
And this package is actually already pulled in by multiple things we depend on, and this just makes it available inside matterbridge:
https://github.com/42wim/matterbridge/blob/ad95e356877babdf38953a521f54b303e108d490/go.sum#L665-L669
Do you still want me to eliminate this dependency?

Hmm, looks like there's a "new" way of wrapping errors: https://blog.golang.org/go1.13-errors
I'll move the code I've written to do what that says, and get rid of github.com/pkg/errors

wrt pkg/errors, if you need it you can use it but I think there was no reason to use it here for what you are/were using it for :)


Google Sheets Cell Limit Reached

Issue
Creating a new sheet for each run of the pipeline  will eventually cause a failure due to the max cell count of "5000000".
Current Mitigation
As a stopgap measure to get the pipeline working, I added a small script to the gsheet which deletes all unused rows/columns with an offset of 5. This has resolved the issue for the time being.
Feature suggestion
Would recommend either implementing something similar to the above as part of the rds dashboard codebase, or, a better solution would be to build in some kind of archival process for old outputs so as not to clutter up the primary spreadsheet.

Handy to get the google sheets id
how to get google sheet id


if view and viewcontroller and ViewModel have own folder, how to binding path

if view and viewcontroller and ViewModel have own folder, how to binding path.
I don't create view and viewcontroller and ViewModel in same path. how to use navigation?

Hi,
The View, ViewModel, and Controller should be in the same namespace.
It's easiest when they are in the same folder because VS will automatically
set the namespace. But they don't have to be in the same folder, you can
manually change their namespace and it will work.
On Mon, May 27, 2019 at 7:45 AM tugodxx<EMAIL_ADDRESS>wrote:

if view and viewcontroller and ViewModel have own folder, how to binding
path.
I don't create view and viewcontroller and ViewModel in same path. how to
use navigation?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/michaelscodingspot/WPF_MVVMC/issues/11?email_source=notifications&email_token=AF5WVCMJ32DRHMZWQJIJUXDPXNRNLA5CNFSM4HPYQ3J2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GV6B65A,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5WVCPAKWPJOUJUYMUJWGDPXNRNLANCNFSM4HPYQ3JQ
.

--
Best Regards,
Michael Shpilt
Software Developer | CodeValue | michaelscodingspot.com


Aperture Macro - Correctly read subtraction operations and evaluations

The recent update in EasyEDA software exports aperture macros with non-evaluated subtraction operations.
Example-
%AMMACRO1*1,1,$1,$2,$3*1,1,$1,$4,$5*1,1,$1,0-$2,0-$3*1,1,$1,0-$4,0-$5*20,1,$1,$2,$3,$4,$5,0*20,1,$1,$4,$5,0-$2,0-$3,0*20,1,$1,0-$2,0-$3,0-$4,0-$5,0*20,1,$1,0-$4,0-$5,$2,$3,0*4,1,4,$2,$3,$4,$5,0-$2,0-$3,0-$4,0-$5,$2,$3,0*%
%ADD11MACRO1,0.1016X-0.7874X-0.85X-0.7874X0.85*%

The AM statement reader assumed the negative operations would be pre-evaluated and the command would contain only unary negative values. In the above example, operation 0-$2 was being read as 0, $2

@curtacircuitos poke :)

see see https://github.com/curtacircuitos/pcb-tools/issues/228


Antibody tagged with a reporter molecule [sf#127]

Reported by ksnyder77 on 2008-11-03 21:58 UTC
An antibody tagged with a reporter molecule (an enzyme or fluorophore) to enable specific protein identification in both in vitro (eg. Western Blotting) and in vivo assays (eg. Immunohistochemistry).  I am not certain if the parent term should be 'polypeptide' or 'antibody'.

Commented by batchelorc on 2008-11-04 14:26 UTC
Hello,
Thanks for your submission.
I wonder whether this, being a protein that has been chemically modified by somebody, probably a human being in a white coat, might fit better into OBI than SO---the OBI tracker is here:
https://sourceforge.net/tracker/?group\_id=177891&atid=886178
and they'd be delighted to hear from you.
Best wishes,
Colin.

Commented by eilbeck on 2009-01-22 21:08 UTC
Hi
I didn't hear anything back on this one, so I am going to close up the track.
Cheers,
Karen

Updated by eilbeck on 2009-01-22 21:08 UTC

status: open --> closed


Fix issue #288 (TypeError: 'fields' must be a sequence of (name, C type) pairs)

Fixes issue #288

Looks like I have to expand the testsuite to include windows ;)
Thank you for the help!

My pleasure 😄


Check the download client for windows compatibility

We have had feedback that the client as described in the README was not working on windows. We should investigate this so everyone can download the data

Completed as part of #49


cnm: Interface list has to be scanned from inside the network namespace

There was an error in the code about the scan of interfaces found.
Indeed, this scan has to be performed inside the right netns to be
right. Otherwise, we are scanning the host interfaces.

Coverage remained the same at 66.658% when pulling 4da8fc6b8676ca4f1d1efa3632e8ca0cf97beebb on sboeuf/fix_cnm into 6919e46f8f1a24a8f47069c81e26b4fa06d22d36 on sboeuf/hyperstart_network_setup.

lgtm


[Bug]: [CoreLocation] This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first.

Please check the following before submitting a new issue.

[X] I have searched the existing issues.
[X] I have carefully read the documentation and verified I have added the required platform specific configuration.

Please select affected platform(s)

[ ] Android
[X] iOS
[ ] Linux
[ ] macOS
[ ] Web
[ ] Windows

Steps to reproduce
Just trying to run my function getCurrentLocation
Expected results
should get the current position or else throw an error
Actual results
Screen unresponsive
Code sample
Just a function to get location
  Future getCurrentLocation({@required BuildContext buildContext, @required bool serviceEnabled, @required LocationPermission permission}) async {
    try {
      serviceEnabled = await Geolocator.isLocationServiceEnabled();
      if (!serviceEnabled) {
        return Future.error('services disabled');
      }
  permission = await Geolocator.checkPermission();
  print(permission.toString());
  if (permission == LocationPermission.denied) {
    permission = await Geolocator.requestPermission();
    if (permission == LocationPermission.whileInUse || permission == LocationPermission.always) {
        return await Geolocator.getCurrentPosition(
          desiredAccuracy: LocationAccuracy.medium,
          timeLimit: const Duration(seconds: 20),);
    }
    return Future.error('denied');
  }
  else if (permission == LocationPermission.deniedForever) {
    permission = await Geolocator.requestPermission();
    if (permission == LocationPermission.whileInUse || permission == LocationPermission.always) {
        return await Geolocator.getCurrentPosition(
          desiredAccuracy: LocationAccuracy.medium,
          timeLimit: const Duration(seconds: 20),);
    }
    return Future.error('permanently denied');
  } else {
    return await Geolocator.getCurrentPosition(desiredAccuracy: LocationAccuracy.medium,timeLimit: const Duration(seconds: 20),);
  }
} catch (e) {
  hideLoading();
  return null;
}

}

Screenshots or video

Screenshots or video demonstration
[Upload media here]

Version
9.0.2
Flutter Doctor output
Doctor output
[Paste your output here]

I'm also experiencing this issue

Did you find a solution for this.

I've also been experiencing this around May-June but I think they already merged a fix for this. They just haven't updated the package in pub.dev.

This issue has indeed been fixed in #1265. You can pull in the latest version of the geolocator_apple package by running dart pub upgrade. If you check your pubspec.lock file, you should see an entry saying
  geolocator_apple:
    ...
    version: "2.2.7"

Anything above 2.2.6 should include the fix.

@JeroenWeener my geolocator_apple is already version 2.3.2 but the problem seems to still exist...


Check the projection for the folder before attempting to delete

Because attempting to delete a folder placeholder is an expensive operation
especially when there are hundreds of thousands, we want to reduce the
number that we need to try to delete.  There are a few criteria for attempting
the delete.
First if the folder is in the folderPlaceholdersToKeep list it will not be
deleted.  Then if one of the following is true it will try to delete the folder placeholder.

If the path is no longer in the projection
If the path is in the projection but is a file and not a folder
If the path no longer exists on the file system - this is in the case
of tombstones on windows.

  With these changes it is only taking ~20 seconds.

/azp run Windows - Full Functional Tests

/azp run Windows - Full Functional Tests

@jrbriggs The issue with adding it to the large repo perf tests is the amount of time it takes to create a sufficient number of folder placeholders to get performance numbers.  Running a dir /s on my machine would take minutes when there were not any sizes to download and hours when it had to download all the sizes.  I will try it on some of the main folders and see if there is one that will have enough folders but not take too long.

/azp run Windows - Full Functional Tests


N.days.ago.beginningOfDay.time does not return the same value for subsequent invocations.

30.days.ago.beginningOfDay.time
The values are off by a few millis.
1508437800629
1508437800649
However Dates.today.endOfDay.time returns the same value for every invocation.

I have the same problem w/ endOfDay, it's not returning consistent milliseconds.


Update mrlearning-base-ch1.md

Docs Build status updates of commit 62529fc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mrlearning-base-ch1.md
:bulb:Suggestion
View
Details

mixed-reality-docs/mrlearning-base-ch1.md

Line 10: [Suggestion] Key 'ms.localizationpriority' is already defined, remove the duplicate key. NOTE: This Suggestion will become a Warning on 06/30/2020.

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


ci: 100 node scale - deploy prometheus from the beginning

As we want capture performance of Cilium Agent during bootstraping phase let's deploy first prometheus before creating 100 nodes.

/scale-100

/scale-100

/scale-100

/scale-100

/scale-100

/scale-100

/scale-100

/scale-100

/scale-100

/scale-clustermesh

/test

I've manually added ready-to-merge, I have no idea why it wasn't added automatically :shrug:


Add get_tree_string and get_tree_string_pretty methods to Node to complement printing methods

Add two methods to Node class:

get_tree_string that allows to return a string containing the tree in shape of a list
get_tree_string_pretty that makes the same thing but in a more convenient shape.
these methods complement the print_tree and print_tree_pretty methods.

proposal: https://github.com/godotengine/godot-proposals/issues/6288
(succesfully works with the latest code)

Is there a feature proposal for this? https://github.com/godotengine/godot-proposals
We need one to gauge interest from the community in adding more core methods.

Is there a feature proposal for this? https://github.com/godotengine/godot-proposals We need one to gauge interest from the community in adding more core methods.

yes it is: https://godotengine/godot-proposals/issues/6288

Old _print_string_pretty method code is now redondant. You should call your new method inside public print_tree_pretty()  to prevent duplicating logic, then _print_string_pretty will also not used  and should be removed.

Old _print_string_pretty method code is now redondant. You should call your new method inside public print_tree_pretty() to prevent duplicating logic, then _print_string_pretty will also not used anymore and should be removed.
Same thing with the not pretty methods.

yes but doing that will make my PR destructive and less easy to approve

Old _print_string_pretty method code is now redondant. You should call your new method inside public print_tree_pretty() to prevent duplicating logic, then _print_string_pretty will also not used anymore and should be removed.
Same thing with the not pretty methods.

yes but doing that will make my PR destructive and less easy to approve

ok no I understand what you means
I will maybe make it

@akien-mga excuse me, can you relaunch the workflow verifications please? Yesterday I have commited my repository and it has stopped the verification.

I would suggest squashing the commits first, as 12 commits is unnecessary for such a change.
See PR workflow for instructions.

I would suggest squashing the commits first, as 12 commits is unnecessary for such a change. See PR workflow for instructions.

i will make that this afternoon

I would suggest squashing the commits first, as 12 commits is unnecessary for such a change. See PR workflow for instructions.

here we go
squashing finished!

@akien-mga so now can you relaunch the workflows please?

ok yeah oops I forgot to update the Node doc
it will be made in minute

finally all is in order.
sorry for all the time I took to mainteners,
the PR is now fully ready to be verified with the workflows. It may not push any error.

what?! is there a place where I can read all the conditions to verify to be successfully checked?

I will rewrite the method references and verify it with make rst so as to have finally something that works with the workflows and to be merged.

the fail was in the fact that alphabetical order was not respected.
 I used the make rst command to verify it.
Finally.

why doesn't it work?!

why doesn't it work?!

You have an extraneous blank line in the doc/classes/Node.xml class reference XML.

Sorry, I accidentally renamed the branch used by this PR, so now the PR is here: https://github.com/godotengine/godot/pull/77072
Can you rewrite the labels and topics please?


Pdf motion export: Missing meta data (referring motions)

Description: The pdf motion export lacks in a specific meta data - "Referring motions". Also missing in the pdf output dialog menu is a button to turn this information on and off. The current workaround is to enter the referring applications in the application recommendation. This should not be the case.
Example of meta data:

Example of pdf export with missing meta information:

Reproduction:

open a meeting
open motions > create two motions with complex workflow
open workflows menu > activate in state for example zugelassen "Show recommendation extension field"
open settings > motions > add "ABK" in name of recommender field
open motions > open one motion > change recommendation to the state with an extension field and link the other motion. Now a reference should appear in the recommendation.
open the linked motion. In the meta data the referrenced motion should appear. > now export the pdf file

What should happen:
Necessary:

[ ] 1. The referrenced data should be included in the standard single motion pdf export in the meta data.
[ ] 2. Pdf export via multi selection in motions: The pdf dialog field should have a new button named "referrenced motions". So the user have the possibility to activate/deactivate the content

Nice to have:

[ ] 3. The pdf motion dialog field should have no Scrollbar. It would be great to integrate a line break to see all boxes without scrolling.

done in #2647


can't complete

Challenge Waypoint: Divide one Decimal by Another with JavaScript has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var quotient = 2.2;
quotient/=2.0;

// Only change code above this line.

(function(y){return 'quotient='+y;})(quotient);

This question is asking you to make 2.2 the result of diving by 2.0, which means that your first number needs to be 4.4
Closing as not an issue with the tests, but feel free to reply if you need further clarification.
Thanks and happy coding!

I know this is closed but thankful for answer as division was never my strong point


Downgrade tensorflow 1.14 to tensorflow 1.13

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 x64
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.14
Python version: 3.6.8
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:9.0/7.4
GPU model and memory: Nivida GeForce 840m 3 Go

Describe the current behaviour
I training a Resnet Model ( CNN) that detects an eye region with landmarks on real-time using Tensorflow library
For the first time, I have used Tensorflow library ( 1.13.1), the model gives sometimes results and for others times not for the webcam ( and for video from my dataset ).
I have upgrade Tensorflow to 1.14.1 recently and I have tested my webcam and I don't get any results contrary for a video the same result does not change when I upgrade the version of Tensorflow.
I have a little doubt that the problem may be can related to the version of Tensorflow.
My question is :

Can I downgrade the version of Tensorflow 1.14.1 to 1.13.1? ( all packages )

Yes. If you only used the binary package, you can uninstall and install with your package manager. Did you use pip or conda?
For example, for pip you can do:
pip uninstall tensorflow-gpu -y
pip install tensorflow-gpu==1.13.1

Yes, I have used pip.
Thanks for your answer.

When I tried this command I get this error:

pip install tensorflow-gpu==1.13.1
Collecting tensorflow-gpu==1.13.1
Could not find a version that satisfies the requirement tensorflow-gpu==1.13.1 (from versions: )
No matching distribution found for tensorflow-gpu==1.13.1

Can you please refer to the software requirements for tensorflow 1.13 and above.Thanks!

I solve the issue by changing , pip is related to python 2.x and pip3 is related to python 3.6.8

pip install tensorflow-gpu==1.13.1
pip3 install tensorflow-gpu==1.13.1

@abdou31 ,
Looks like issue is resolved,Can i close the issue.?Thanks!

Yes, I will close the issue.
Thanks.

For Conda user do the following :
conda uninstall tensorflow
conda install -c conda-forge tensorflow=1.13

ERROR: Could not find a version that satisfies the requirement tensorflow==1.13.1

ERROR: Could not find a version that satisfies the requirement tensorflow==1.13.1

Are you using conda env or python venv?
Also consider that:
Tensorflow only supports the 64-bit version of Python

Tensorflow only supports Python 3.5 to 3.8

So, if you're using an out-of-range version of Python (older or newer) or a 32-bit version, then you'll need to use a different version.

I tried both pip and pip3 to re-install
got the "no matching distribution" error for both

Github should allow images on these forms


Page transfer bug on Unifra Explorer

What command(s) is the bug in?
No response
Describe the bug
When accessing transaction statistics by wallet address, in the transition between pages, there are 3 errors as follows:
1- Although the number of transactions is not available, the page is still passable.
2- Odd-numbered pages like: 1-3-5-7-... repeat data.
3- Even-numbered pages like: 2-4-6-8-... are empty data.

Concrete steps to reproduce the bug. If it's able reproduce via testool, please share test_id from jenkins report
Step1: Go to https://scrollscan.co/
Step2: Fill in the wallet address
Step3: Choose the number of transactions per page (specifically 100/page)
Step4: Continuous page switching

Thanks for taking the time to raise the issue! This repo is dedicated to Scroll's zkEVM circuits, and this report is for a product made by a different team in our community. I'd recommend raising the issue here. Closing this issue.


Vision

https://docs.ftclib.org/ftclib/vision/computer-vision

Install EasyOpenCV Dependency
Since FTCLib depends on EasyOpenCV for vision, and because EasyOpenCV depends on OpenCV-Repackaged, you will need to copy libOpenCvAndroid453.so into the FIRST folder of the Robot Controller (i.e. connect the Robot Controller to your computer with a USB cable, put it into MTP mode, and drag 'n drop the file).

https://docs.ftclib.org/ftclib/vision/computer-vision


a 0.3.2 asset is missing?

@redtide : can you add a "sfizz-0.3.2-src.tar.gz (such as https://github.com/sfztools/sfizz/releases/download/0.3.1/sfizz-0.3.1-src.tar.gz).
Or maybe it isn't needed anymore and we can use https://github.com/sfztools/sfizz/archive/0.3.2.tar.gz?

Needed for:

https://github.com/sfztools/sfizz/tree/master/external
https://github.com/sfztools/sfizz/tree/master/vst/external/VST_SDK/VST3_SDK

there is some issue again with the Travis-CI, it should be an automated archive build, that was done because GitHub doesn't include submodules sources in its archive. Will add later manually.

done,  thanks people!


Assign @pyrsia/collaborators to all PRs

Description
Fixes #738

https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
Screenshots (optional)
PR Checklist

[x] I've read the contributing guidelines.
[x] I've read "What is a Good PR?"
[x] I've included a good title and brief description along with how to review them.
[x] I've linked any associated an issue.
[x] I've requested a review  from pyrsia/collaborators.

Quick note: may make sense to bundle with this PR an update to the PR template to remove the checkbox asking users to check they've assigned reviewers? 🤔
➡ https://github.com/pyrsia/pyrsia/blob/main/.github/pull_request_template.md

Quick note: may make sense to bundle with this PR an update to the PR template to remove the checkbox asking users to check they've assigned reviewers? 🤔

Excellent call out ✋


Feature Request: Customization of the search text field

I'm glad you have exposed various properties for search text field customization, I would really like to make more of what's exposed. I would like to change border radius, border with, border color. The best would be to expose the InputDecoration somehow. As minimum I would like borderRadius  or inputBorder and inputFocusBorder.

Added support for all these customizations.


ToolingAPI.ToolingAPIException: INVALID_TYPE : sObject type ‘CustomEntityDefinition’ is not supported.

When a non-admin (it works for admins) calls those methods in a "with sharing" controller extension:
public String getRelatedListId() {
String result = null;
        String soql = 'SELECT Id FROM CustomField WHERE DeveloperName = \'mdr_Travel\' AND TableEnumOrId = \'' + getExpenseObjectId() + '\'';
        List<ToolingAPI.CustomField> customFields = (List<ToolingAPI.CustomField>) toolingAPI.query(soql).records;

        if(customFields.size() == 1) {
                result = customFields.get(0).Id;
                result = result.Substring(0,15);
        }

    return result;
}

private Id getExpenseObjectId() {
    Id result = null;

    String soql = 'SELECT Id FROM CustomObject WHERE DeveloperName = \'Expense\'';
            List<ToolingAPI.CustomObject> customObjects = (List<ToolingAPI.CustomObject>) toolingAPI.query(soql).records;

            if(customObjects.size() == 1) {
                    result = customObjects.get(0).Id;
            }

    return result;
}

he receives a
UP2GO_ITE.ToolingAPI.ToolingAPIException: INVALID_TYPE : sObject type ‘CustomEntityDefinition’ is not supported.
Class.UP2GO_ITE.ToolingAPI.submitRestCall: line 1841, column 1
Class.UP2GO_ITE.ToolingAPI.submitRestCall: line 1782, column 1
Class.UP2GO_ITE.ToolingAPI.submitRestCall: line 1774, column 1
Class.UP2GO_ITE.ToolingAPI.query: line 105, column 1
Class.UP2GO_ITE.TravelCtrlExt.getExpenseObjectId: line 125, column 1
Class.UP2GO_ITE.TravelCtrlExt.getRelatedListId: line 109, column 1

Hi all - was this issue ever added to the known issues list?  I too have run into this and wondering if this is due to be sorted anytime soon.

Is there any update on this issue. We are still getting this issue.

@afawcett I just encountered this.  This seems to be an issue large enough to make this entire package useless... you have to have View All Data on the user level, otherwise you get this error?  That severely limits the capabilities of this API.

Yeah i think we should raise an Idea Exchange to see if this can be changed, see my update from the Tooling API developer earlier in this thread, there is perhaps some reasonable scope to allow this.

While we are waiting for a solution by Salesforce.com (Is there any update here or at least a published Know Issue?) is there a workaround using the e.g. the Metadata Api? (I used the Tooling API here to get field ids to prepolate Fields on Standard Layouts).

@afawcett I have no experience on how to write IdeaExchange entries with a high chance to get implemented in the next 5 years ;-). Would you be able to help me formulate an Ideaexchange entry for that one? (How to formulate what we want, describe the layers involed (our code, your wrapper))...

Title: Functional parity between Setup menu access to Custom Objects and Tooling API access
Background: As a non-admin user you can go to the Setup menu and review Custom Objects. If with the same user you, you make an API call to the Tooling API query operation to do the same is performed and error 'yyyyyyyy' is given (see case XXXXXX). This behaviour is inconsistent.
Solution Implications: API's like the Tooling API and Metadata API allow developers to build tools that help users do more in less time by automating Setup tasks or reducing setup time for partner or custom application solutions. Not being able to query Custom Objects without users of such tools being admins is a serious inhibitor to this objective.
Ask: Please allow query of the CustomObject object via the Tooling API query method without the user needing to be an administrator. As noted above, this behaviour is inconsistent with what the user perform by simply clicking on the Setup menu and navigating to the Objects menu item.

Hows that?

BTW, you can query this from Apex SOQL now.... https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_entitydefinition.htm
(blog on its way, as i'm finding a few other useful objects that can now be queried! :+1: )

@afawcett that awesome. Thanks a lot for formulating the idea text. Here is the idea.
IdeaExchange: Functional parity between Setup menu + Tooling API to access Custom Objects
I will also share it via Twitter and kindly ask you to pass it to the relevant persons at Salesforce.com that you mentioned in one of your ealier comments.

@afawcett Really we can query Field Ids with SOQL queries?! At least from looking at your link I didn't find out how. Really looking forward to you blog post!

Ah ok, i did provide it as a template, not that i used xxxxx and yyyy above for you to replace with the actual error and case number. Sadly i don't think you can edit an idea text now, you may be able to delete it and add a new one though?

@afawcett yes this was an accident. I had a version with replacements but then copied and saved with the wrong version :-(. My bad! I added a comment. Hope this will go through and Editing of ideas will be implemented soon.

BTW, you can query this from Apex SOQL now.... https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_entitydefinition.htm

(blog on its way, as i'm finding a few other useful objects that can now be queried! :+1: )

Andy - what do you mean by this - you're still linking to the tooling API - do you mean you can query it from the rest API or just that you can query the tooling API objects from APEX somehow? I'm trying to lookup the custom object id like this,
select id from customobject where developername='promotion_activity' and namespaceprefix=''
And getting the error for non-admins, what I'm after is getting the object id and field id for a custom object/field so that I can pass it to the filtered lookup salesforce popup window which requires the field id in the URL. Is this something you think you have a work-around for?
I was looking to see if you blogged about this but didn't see anything, I think I attended your session at Dreamforce btw ;)

You can for sure query the EntityDefinition object from Apex SOQL, little known, but works. :+1:  Hope you enjoyed the session!

The EntityDefinition definitely retrieves the IDs and other metadata but there is an issue calling this query from an ApexClass. I get no records returned for a query against something I know works when run inside of the dev console. I cannot really tell if the EntityDefinition will be query-able by non-admin users until that is resolved.

Very interesting @BCS-Chris thanks for sharing! :+1:

Thanks guys I was able to get the field and object ids from EntityDefinition and FieldDefinition objects without admin access from the tooling rest API using the DurableId field. Only trick was the FieldDefinition.DurableId appears to be the object id joined with the custom field id with ".". Documentation also warns not to use DurableId as it could change in future API versions, but I'll risk it for now since I don't know of another way to get this value without view all data (admin) access.

Ok sounds good. Question though, if your after the ID's to pre-populate fields via URL hacking, are you not worried about how the solution will work in Lighting Experience? Or is there some other use for field Id's that i'm missing? :+1:

My use case is working in the lightning experience, although the url that I am displaying is from salesforce classic. I am URL hacking the FK lookup popup, when the FK is on a custom object and is filtered I need specify the fieldId in the URL.

Ok thanks for the follow up, i didn't expect the field defaulting URL hack to still work in LEX tbh.

@BCS-Chris As it appears, there's only a few fields that can be queried. I do it (simplified) like this:
public static Map<String,List<String>> getFieldIdsByNameForSobjectType(SObjectType type, Set<String> fieldNames) {
    String objectTypeForQuery = type.getDescribe().getName().replace('__c', '');
    List<EntityDefinition> entityDefinitions = [SELECT Id, DurableId from EntityDefinition WHERE             DeveloperName = :strippedName AND NamespacePrefix = :namespacePrefix];
    for(String fieldName : fieldNames) {
        String fieldNameForQuery = fieldName.replace('__c', '');
        String fieldNamespacePrefix;
        if (fieldNameForQuery.contains('__')) {
            fieldNamespacePrefix = fieldNameForQuery.substringBefore('__');
            fieldNameForQuery = fieldNameForQuery.substringAfter('__');
        }
        if (fieldNamespacePrefix != null && fieldNamespacePrefix != '') {
            fieldDefinitions = [SELECT Id, DeveloperName, NamespacePrefix, DurableId FROM FieldDefinition WHERE EntityDefinitionId = :entityDefinitionId AND DeveloperName = :fieldNameForQuery AND NamespacePrefix = :fieldNamespacePrefix];
        } else {
            fieldDefinitions = [SELECT Id, DeveloperName, NamespacePrefix, DurableId FROM FieldDefinition WHERE EntityDefinitionId = :entityDefinitionId AND DeveloperName = :fieldNameForQuery];
        }
    }
}


Edit legend

When editing the legend to "open by default", it would be great if you could also choose which layers to include in the legend.
I just want the crime layer to display in the legend. The police zones are for background.

It would be nice to integrate that capability but this is not on our roadmap in the near future because of the complexity of developing such a component from scratch.
If we could integrate such a control, it's likely we would adopt it.
Workaround is to use Map Viewer.

Actually, I just realized I can use the 'Hide in Legend' option on the layer in the web map. The Map Journal honors that setting and does not show the layer in the legend.


How to customise TouchID popup

I want to customise the popup of TouchID.  There is a text as "Touch ID for 'ios'" in the TouchID alert.  I want to change this text and how to disable PIN authentication that we get when we are exceeding the limit of 3.  Please suggest

Please search the iOS docs on how to do those things and report back here. Thanks!


chore: refactor on to toolchain

#37
#36
#35
#34
#33  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NathanFlurry and the rest of your teammates on  Graphite


Fix compilation error in src/backend/image.ts that blob can be null

Compilation error was:
src/backend/image.ts:31:56 - error TS2345: Argument of type 'Blob | null' is not assignable to parameter of type 'Blob | MediaSource'.
  Type 'null' is not assignable to type 'Blob | MediaSource'.

31      canvas.toBlob(blob => resolve(URL.createObjectURL(blob)), "image/png");
                                                          ~~~~

Found 1 error in src/backend/image.ts:31

Hi @superkelvint ,
thanks for the PR. Are you aware of a particular situation where the toBlob fails to export the canvas? As far as I know, this would only happen with unsupported image format (and based on my experiments, browser just simply coerce to image/png instead).

No I'm not. I just had to make this change in order to build. Not sure why.
Anyway, thank you so much for this wonderful library/application. I love
the keyboard shortcuts and how everything is designed.
On Mon, Jun 10, 2024, 04:26 Ondřej Žára @.***> wrote:

Hi @superkelvint https://github.com/superkelvint ,
thanks for the PR. Are you aware of a particular situation where the
toBlob fails to export the canvas? As far as I know, this would only
happen with unsupported image format (and based on my experiments, browser
just simply coerce to image/png instead).
—
Reply to this email directly, view it on GitHub
https://github.com/ondras/my-mind/pull/180#issuecomment-2158082037, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFBLXMCENBLDEYAG23WO33ZGWEMRAVCNFSM6AAAAABI5CNPE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYGA4DEMBTG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Well, if we think that there is no reason for toBlob to fail, then a simpler build fix would be something similar to
URL.createObjectURL(blob!)


[JS] feat: add helper functions to to get Teams channels, members, and details

Linked issues
closes: #minor
Details
Provide a list of your changes here. If you are fixing a bug, please provide steps to reproduce the bug.
Change details

We have encapsulated three APIs from TeamsInfo class of botbuilder library: getTeamChannels, getTeamDetails, and getPagedMember, to facilitate easier proactive message sending. These three APIs have been wrapped as an initial sample. If this approach is deemed acceptable, we intend to extend this encapsulation to include additional APIs provided by TeamsInfo, such as sendMessageToListOfUsers, sendMessageToAllUsersInTenant, and more.

PM Contact: @MuyangAmigo
code snippets:
To use the APIs:
for (const reference of conversationReferences) {
  await app.sendProactiveActivity(
    reference,
    "Proactive message from RestifyNotiBot!"
  );

  if (reference.conversation?.conversationType === "channel") {
    const details = await app.getTeamDetails(reference);
    const teamMembers = await app.getPagedMembers(reference);
    console.log(details, teamMembers.members.length);
  }
}

screenshots:
Results are printed as belows, furthur

Attestation Checklist

[ ] My code follows the style guidelines of this project

I have checked for/fixed spelling, linting, and other errors

I have commented my code for clarity

I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient)

My changes generate no new warnings

I have added tests that validates my changes, and provides sufficient test coverage. I have tested with:

Local testing
E2E testing in Teams

New and existing unit tests pass locally with my changes

Additional information

Feel free to add other relevant information below

could you also add unit tests for the new code? thanks!

could you also add unit tests for the new code? thanks!

Thanks @corinagum, some unit tests are added for the codes. Please help to review, thanks!

@yiqing-zhao Thank you! Internally we are discussing some structural strategies that would affect these changes so this PR may not be merged immediately until we finalize on those decisions. We might need to iterate on your changes before merge as well, but we appreciate the contribution! I'll update this thread as more information becomes available.

@yiqing-zhao Thank you! Internally we are discussing some structural strategies that would affect these changes so this PR may not be merged immediately until we finalize on those decisions. We might need to iterate on your changes before merge as well, but we appreciate the contribution! I'll update this thread as more information becomes available.

Hey @corinagum have those discussions been finalized?


attaching data-disks requires different API interactions

I found while moving data-disks from one machine to another, that our current implementation cannot attach an existing, populated vhd file (page blob) to an instance.
The API is a bit ambiguous about it, with two arguments for supplying the URL of the vhd blob; we need to determine which arguments work in which cases, and code an appropriate fix.
The next comment will include a test matrix; I'll run through each scenario using the media_link argument, then with the source_media_link argument, and report results.

Test matrix

Case
media_link P/F
source_media_link P/F

create empty data disk with azurectl, attach to instance A

store some data on the disk (above), detach, attach to instance B

create data disk from the Azure legacy portal (attached to A); detach and re-attach

create data disk from the Azure new portal (attached to A); detach and re-attach

upload an image to storage, attach to instance A

detach a data-disk from instance A, copy with Storage Explorer to a different URL, attach to instance B

I noted in test 1, that the data-disk appears in the list after creating - DataDisk#create() calls the API to add a disk after it is populated in storage :
$ azurectl compute data-disk create --disk-basename=jmason-test-1-disk --size=10 --label "created with 'azurectl compute data-disk create'"
INFO: Created new data disk jmason-test-1-disk-data-disk-2017-02-15T17_07_03.234259

$ azurectl compute data-disk list
{
  "data-disks": [
...
    {
      "is_attached": false,
      "name": "jmason-test-1-disk-data-disk-2017-02-15T17_07_03.234259"
    },
...
  ]
}

I think this is key, as the data-disk metadata exists, including the URL of the data-disk.
Here's another example, un-attached:
$ azurectl compute data-disk create --disk-basename=jmason-test2-data-disk
INFO: Created new data disk jmason-test2-data-disk-data-disk-2017-02-15T17_23_18.664798

$ azurectl compute data-disk show --disk-name=jmason-test2-data-disk-data-disk-2017-02-15T17_23_18.664798
{
  "data-disk": {
    "affinity_group": "",
    "attached_to": {},
    "has_operating_system": "",
    "is_corrupted": "",
    "label": "jmason-test2-data-disk",
    "location": "West US 2",
    "logical_disk_size_in_gb": "10 GB",
    "media_link": "https://suserdwestus2.blob.core.windows.net/vm-images/jmason-test2-data-disk-data-disk-2017-02-15T17_23_18.664798.vhd",
    "name": "jmason-test2-data-disk-data-disk-2017-02-15T17_23_18.664798",
    "os": "Linux",
    "source_image_name": ""
  }
}

Test 5 was as expected; after uploading a vhd to storage, there's no entry in the data-disk list for it.
What we need is a function for binding a page blob in storage to the data-disk metadata.

Run 2 (source_media_link argument)... tests 1 & 2 had errors on the first pass, but succeeded on a second attempt. The fact that both failed with the same error suggests there may be a problem with using the argument for disks with existing data-disk metadata.

Findings
If data-disk metadata exists for the disk, e.g. it is present in the output of compute data-disk list or compute data-disk show then neither media link argument is required, and having the source_media_link argument is detrimental.
The compute data-disk create command performs two operations: stores a blank vhd file in page blob storage, of the specified size, and creates data-disk metadata referencing the vhd file.
The azure.ServiceManagementService.add_data_disk function, which is called by compute data-disk-attach can create the data-disk metadata for an existing vhd file, if the metadata does not exist, and the source_media_link argument is supplied.


Why directly passing an array in the call.request work? [Node.js]

Here is my .proto:
rpc GetAges(GetAgesRequest) returns (GetAgesResponse) {}

message GetAgesRequest {
  repeated string names = 1;
}
message GetAgesResponse {
  repeated string ages = 1;
}

and in JS client, these two different requests, but still are received the same by the server:
grpc.getAges(['john', 'steve'], result => console.log(result)); // I DIDN'T expect this to work, but obviously it works
grpc.getAges({ names: ['john', 'steve'] }, result => console.log(result)); // Here the request is defined according to the protobuf structure, I expect it to work

Why directly passing an array [ ] instead of a { arrayPropName: [ ] } works?
Is that related to some magic in protobuf.js ? I find it very suprising, even inconsistent...
Thank you ! :-)

This is actually a consequence of how gRPC passes inputs to Protobuf.js. gRPC calls the message constructor, which normally turns the JavaScript object you expect to work into a Protobuf.js message. But that constructor can also accept the members of that object as arguments, which is what you're seeing here. This behavior is not guaranteed to work.

I see. if this is how Protobuf.js works then...I admit it was a bit destabilizing. Thanks

This is a different issue. You're most likely passing the wrong set of options to the loader. Please read the package documentation for which option to pass.

It looks like you're the same person who asked this Stack Overflow question, so you can see my answer there.
For completeness, the problem is that you're passing the single field todos to an API that expects a full message object.

@murgatroid99 Thanks. It makes sense now.


Add fullBackupContent to Sample Android Manifest

...Does this really matter? It's a sample.

Not really I'd assume it's just a cosmetic change

Eh, whatever. Doesn't hurt, probably avoids a lint check.

@dlew yes it avoids a lint check


Persist ELK elasticsearch data across restarts

The data directory should be bind mounted

opened pr: https://github.com/enowars/EnoELK/pull/7


Save workspace popup flickering

VSCode Version: 1.15 Insiders
OS Version: macOS

Steps to Reproduce:

Open an empty workspace
Add a folder to this workspace
Open a new folder from Menu
Code asks you whether to save the workspace. Click yes
A dialog shows up, hide after a few milliseconds. Click on the editor brings it back

After reloading the window/workspace several times, I can no longer reproduce. Close it for now, I'll reopen if I see it again.


top navbar should remain consistent between terminal v2 and other pages

fixed in abstracting-terminal-reference branch.

Fulfilled by https://github.com/openh2labs/elastic-erga/pull/75


Fix single-choice to use radio buttons

Resolves #1.

I'll review this.

@yeexianfong This change looks good.
I'd also like you to implement a minimal automated test that verifies that this change fixes this issue.

@johngrimes just pushed my working tests, can you kindly review and i will merge the PR after

Looks good to me!


Language and instructions should be improved.

In step 9 it says select one of, then in step 15 it says select the other.  This is a poor explanation.
Either say select the first, then later say select the second or when you say select one of, later say select the other that was not previously selected.
But the language should be improved.
Step 2 should clarify that the steps are to be performed on the VM not the guest host.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 49d6fd82-29a9-ed74-00be-1576e5266bb8
Version Independent ID: 33578f4a-5fcc-bf56-92a8-c51e4f259328
Content: Create a new NIC Team on a host computer or VM
Content Source: WindowsServerDocs/networking/technologies/nic-teaming/Create-a-New-NIC-Team-on-a-Host-Computer-or-VM.md
Product: windows-server
Technology: networking
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Linked issue: #5471 (see https://github.com/MicrosoftDocs/windowsserverdocs/issues?utf8=✓&q="33578f4a-5fcc-bf56-92a8-c51e4f259328"&in=body for reference)

Thanks for raising this - I have made a change to make this clear, plus also fixed duplicate numbering and alignment.  The changes should be visible later today.
#please-close


Prevent instance assignment from falling below min

https://ocd.appscale.com:8080/job/Daily Build/3474/


V0.2.5 create position funcs

This adds most of the position functions.
These additions are unstable until the testing suite is updated.
Next phase will be to create a mock alpaca api, for testing.
Currently only testing in live paper account

possibly unstable position functions added. Needs testing


Using git submodule to manage patch and megatron version match

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.同润 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Fail to capture 400 status code

Thank you for very useful notebooks!
I encountered the following error during indexing:
HTTP request failed with status: 400 {“error”:“DatabricksServiceException: BAD_REQUEST: content size...
Then looking into the your code, I found the following logic in NotebookIndex Cmd 13 (getDBRestResponse).
 } else if (statusCode == 400 && content.contains("{\"error\":\"DatabricksServiceException: BAD_REQUEST: content size (14025371) exceeded the limit 10485760\"}")) {
But that criterion includes contents size number 14025371, so contains does not work.
It's better to relax the criterion as follows:
} else if (statusCode == 400 && content.contains("{\"error\":\"DatabricksServiceException: BAD_REQUEST")) {

Thank you for identifying this error.  I will plan to get this fixed later today and push an update.

This issue has been closed.  The fix is contained in NotebookDiscovery-1.0.1.dbc.


[CVAT-UI] Fixed displaying on canvas in some cases

Motivation and context
One of bugs affects some functionality, more specific - propagation (reported on gitter).
Resolve #1819
How has this been tested?
Manual testing
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[x] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 6283

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.02%) to 65.145%

Files with Coverage Reduction
New Missed Lines
%

datumaro/datumaro/components/extractor.py
1
91.01%

cvat/apps/engine/media_extractors.py
2
77.06%

Totals

Change from base Build 6272:
-0.02%

Covered Lines:
11047

Relevant Lines:
16548

💛  - Coveralls

I've confirmed that it now works. Thanks for the fix!!!

@csgwon Great, I will close the #1838


PLAT-68152: Improve Enact UI Test build speed

Enact-DCO-1.0-Signed-off-by: Jason Robitaille<EMAIL_ADDRESS>

@JayCanuck Can you add some more content to the PR description to describe the issue and resolution? We should add a PR template to the CLI repos as well to prompt for that detail.


iOS - No podspec found for flutter_bluetooth_basic_updated

When I run the command pod install --repo-update for iOS, I'm getting the error message ``` No podspec found for flutter_bluetooth_basic_updated in `.symlinks/plugins/flutter_bluetooth_basic_updated/ios````

it seems you have to rename the filename here and the s.name inside the podspec

anyway I'm getting another error after this
Launching lib/main.dart on iPad (10th generation) in debug mode...
Xcode build done.                                           14.0s
Failed to build iOS app
Error (Xcode): Building for 'iOS-simulator', but linking in object file (/Users/stefano/.pub-cache/hosted/pub.dev/flutter_bluetooth_basic_updated-0.1.8/ios/libGSDK.a[arm64][2](BLEConnecter.o)) built for 'iOS'

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPad (10th generation).

Um, I do not have any advice, sorry. I am not familiar with the IOS side of things for this project, but I would accept any pull requests.

I got new error with version 0.1.9:
The plugin flutter_bluetooth_basic_updated doesn't have a main class defined in /Users/macos/.pub-cache/hosted/pub.dev/flutter_bluetooth_basic_updated-0.1.9/android/src/main/java/com/tablemi/flutter_bluetooth_basic_updated/FlutterBluetoothBasicPlugin.java or /Users/macos/.pub-cache/hosted/pub.dev/flutter_bluetooth_basic_updated-0.1.9/android/src/main/kotlin/com/tablemi/flutter_bluetooth_basic_updated/FlutterBluetoothBasicPlugin.kt. This is likely to due to an incorrect androidPackage: com.tablemi.flutter_bluetooth_basic_updated or mainClass entry in the plugin's pubspec.yaml.


Camera Remains Active and Causes Lag After Closing Camera Screen

Describe the bug
I am experiencing a bug where the camera on my physical device remains active even after I close the camera screen. This causes the camera's green light to stay on, and my mobile device starts to lag.
To Reproduce:
Steps to reproduce the issue:
Open the application.
Navigate to the 'Launch camera' option.
Tap on 'Close camera.'
Notice that the camera's green light remains illuminated, and the mobile device begins to lag.
Expected Behavior:
The expected behavior is that the application should stop using the camera when the 'Close camera' option is selected, causing the camera's green light to turn off.
Screenshots:
Screenshots

Smartphone (please complete the following information):

Device: [e.g. iPhone 15 Pro Max]
OS: [e.g. iOS17.2]

Additional context
Also There are no backbutton when I launch group lens with no lens Id, no way to go back to flutter app. (Only way is use camera)

This is kinda serious I think. It effects performance of application. Memory usage increasing consistently and phone started to lagging

Any update on this behaviour ?

We're looking into it.

@dokind I cannot see any close camera option in the example. Can you please share a screenshot showing the Close Camera option.

Do we have close camera method?
After I received camera result I displaying video and I closed that screen
Hoe to close camera?

@dokind I cannot see any close camera option in the example. Can you please share a screenshot showing the Close Camera option.

That's what I looking for sir. I need close camera method because it's still working after I took result video

Hi @dokind, I identify this bug in current version and fixed in bug-fixes development branch.
Soon we will merge it and release the new 0.0.7 version for bug fixes and some improvements.
Thanks


Seed is not working in release

The NPM Release doesn't include Seed functionality.

Same problem.
"serverless-dynamodb-client": "0.0.2",
"serverless-dynamodb-local": "0.2.19",
"serverless-offline": "3.13.0",

running<EMAIL_ADDRESS>

Hi, I have updated the latest version to NPM registry.
To improve stability, I think one of the most important things missing is automated Unit Testing. @mhrisse What do you think?

This looks resolved now

@nenti @nielsgl I have tried 0.2.20over 0.2.19and while running 0.2.19 works, but does not seed. However, the just released 0.2.20 hangs the whole server. (same code otherwise).

Is serverless-offline up to date?
On Mon, Mar 27, 2017, 8:33 AM Matthias H. Risse<EMAIL_ADDRESS>wrote:
@nenti https://github.com/nenti @nielsgl https://github.com/nielsgl I
have tried 0.2.20over 0.2.19and while running 0.2.19 works, but does not
seed. However, the just released 0.2.20 hangs the whole server. (same code
otherwise).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/99xt/serverless-dynamodb-local/issues/85#issuecomment-289394975,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAG7iBxMU757hZZUNsyMOnGo8KkQmf07ks5rp3tFgaJpZM4MfPdA
.

@mhrisse This is related to the issue with 0.2.20 not automatically starting dynamodb on serverless offline command. Try to start you dynamodb separately with serverless dynamodb start until the issue is resolved.
It is currently discussed in #91

Hi! Sorry for the delay. Yes, it's all up to date. Seeding still does not work, but it tells me it is doing it. Table creation completed for table: mytable, no data in the db confirmed via dyno shell.
Sometimes, when I terminate with ctrl+c it tells me DynamoDB has an issue starting, sometimes not.

@mhrisse can you post your serverless.yml and seed files? It's working for me so I can compare our configs.

Are you using a seed argument? You need to specify the seeding categories via the CLI.
e.g. sls offline start --seed=domain_data,test_data

Hey, just opened the same issue, sorry didn't see this before.
It is still happening in version 0.2.24
Do you have any workaround or other seeding plugin? It would be nice to have one way to seed DynamoDB local or remote.


Create course and course view

Once the the teacher creates the course, they will be redirected to the course view, in which he will be able to see the details of the course,

@Mehdi-Yanat
model Course {
  id Int @id @default(autoincrement())
  title       String
  description String?
  teacher     Teacher   @relation(fields: [teacherId], references: [id])
  teacherId   Int
  iconId      Int?
  icon        File?     @relation(fields: [iconId], references: [id])  // Define the relation with File model for course icon
  createdAt   DateTime  @default(now())
  updatedAt   DateTime  @updatedAt
  chapters    Chapter[]
}

model Chapter {
  id          Int       @id @default(autoincrement())
  course      Course    @relation(fields: [courseId], references: [id])
  courseId    Int
  title       String
  description String?
  videoUrl    String
  views       Int       @default(0)
  rating      Float?
  createdAt   DateTime  @default(now())
  updatedAt   DateTime  @updatedAt
  attachments Attachment[]
}

model Attachment {
  id        Int      @id @default(autoincrement())
  chapter   Chapter  @relation(fields: [chapterId], references: [id])
  chapterId Int
  file      File     @relation(fields: [fileId], references: [id])
  fileId    Int
  createdAt DateTime @default(now())
}


Upgraded sufia to get bug fix for collections showing up in shared files list. Story psu-stewardship/scholarsphere#48

Looks :ok: to me!


Hungarian translation

Hi Geordan,
here is the Hungarian translation in cards-hu.coffee file.
After release, the Hungarian X-wing community will help me to find mistakes, so further requests are expected.
This is my very first pull request ever. :)
Thx,
Greg

Thanks!


Option to remove extra drop down space?

Is there an option to remove extra drop down space if you don't have enough option values to fill it? Couldn't find existing question in closed/open issues.
Example..

That’s weird. The Multiselect should automatically adjust to the content inside. See https://jsfiddle.net/shentao/0hLexkyz/. I think thee issue must be on your end.


[Samoa] Modify Wallet tab cells look and feel (no group/section) #2754

Closes #2754

NFT token cell not changed yet

@vladyslav-iosdev yeah, change NFTs too. It looks like this (CBF and CK) at the moment:

@hboon this one is ready for review.

Quick feedback.
a) We did a user test in the past where we a/b test the right part. What I marked here:

should not display the current market price, but the price change in USD in the last 24h.
b) https://zpl.io/aRnNBnz the bottom part, where we have "1.503 ETH" should be 15pt. The same to the part on the right with the price change. Make it larger - 15 pt.
c) the place where we have "2.53%" is currently in the brackets. Shouldn't be. And make it larger - 15pt.

@colourfreak could you help to create a new issue with this comment and mention this issue number? Clearer

@colourfreak could you help to create a new issue with this comment and mention this issue number? Clearer

https://github.com/AlphaWallet/alpha-wallet-ios/issues/2273


Cannot install dependencies

When I search for the dependencies it says is depracated
https://foundryvtt.com/packages/lib-df-hotkeys

I cannot install it since there is no link to the manifest. Please help

DF Hotkeys has been retired by the author in favour of just using the v9+ built-in keybind support. Is it strictly necessary?

It is not strictly necessary. I'll be releasing a new version of Custom
Hotbar tomorrow that will clean up some release issues and remove this
dependency
On Mon, Oct 17, 2022 at 5:35 PM esheyw @.***> wrote:

DF Hotkeys has been retired by the author in favour of just using the v9+
built-in keybind support. Is it strictly necessary?
—
Reply to this email directly, view it on GitHub
https://github.com/Norc/foundry-custom-hotbar/issues/122#issuecomment-1281525888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNL7O6UKEHUAEDXNFDMK33WDXBC3ANCNFSM6AAAAAAQ77B4HU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Any chance of this popping today? I tried just deleting the requires: from the manifest, but foundry's still complaining even after a server restart. Side note, I think that's supposed to be inside a relationships: {} but it's not, at least in 2.3.0 which is what I get installed apparently.

Tonight hopefully, Tuesday if not. Soon!
On Sat, Oct 22, 2022 at 4:30 PM esheyw @.***> wrote:

Any chance of this popping today? I tried just deleting the requires:
from the manifest, but foundry's still complaining even after a server
restart. Side note, I think that's supposed to be inside a relationships:
{} but it's not, at least in 2.3.0 which is what I get installed
apparently.
—
Reply to this email directly, view it on GitHub
https://github.com/Norc/foundry-custom-hotbar/issues/122#issuecomment-1287906354,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNL7O6GFODHSLT6EQH5RULWERFGTANCNFSM6AAAAAAQ77B4HU
.
You are receiving this because you commented.Message ID:
@.***>

Problem still exists :-(

Same here can download but not enable it..

@Norc can we help anyhow?
To solve this ?

I'm still having issues with the dependencies.

Pull Request  #127 should fix this.


[question] Can‘to join to slack

Describe the bug
https://cloud-native.slack.com/archives/C01BLQ3HTJA
I was not invited to join the working group.
To Reproduce

Expected behavior

For example:
http://slack.k8s.io/
Join me on Slack — it’s a faster, simpler way to work. Sign up here, from any device: https://join.slack.com/t/cloud-nativeworld/shared_invite/zt-jri61dkn-xfuUkE1vV8NgNSuA~xBjXA
But the slack invitation link has an expiration time limit, which should be the reason for k8s reverse generation。

Screenshots

Cluster information

Additional context

@Cweiping Are you able to find #kubvela channel in CNCF slack? That's the working group.

OK, It does exist. It is suggested to update the process.
CNCF Slack #kubevela channel
https://github.com/cncf/sig-security#communications


Demo setup step update

Add ACI region setting and validation.
Setup Azure ML pipeline file: seer_pipeline.ipynb
Azure ML Ops step by step with comments.
Trouble Shoot to validate ACI started.

These changes look very useful to me - adding further instructions, screenshots and adding to the speaker notes - adding @smurawski for final review for setup instructions

Brilliant - merging now ... ⭐


Using virtual machine to upload the onboard Internal Bluetooth firmware

@daliansky following the instruction mentioned in the Work Around with Bluetooth, I successfully power up the Internal Bluetooth.

And I finished the airdrop test.
However, I find that when i using my iPhone, i cannot trigger the Handoff function. I hope you can help me with this.
Also, i consider that you can make a instruction of powering the Internal Bluetooth in the ReadMe.

Well first of all, steve is maintaining this repo now, and what wifi card are you using? and how is your iCloud account setup( correct working smbios)?

Well first of all, steve is maintaining this repo now, and what wifi card are you using? and how is your iCloud account setup( correct working smbios)?
This step is to power up the internal Intel Bluetooth. Also, my iCloud account functions normally.

Which wifi card are you using?( external usb dongle or m2 card. )

Which wifi card are you using?( external usb dongle or m2 card. )

我是说按照蓝牙解决方案里的第三种通过虚拟机上传固件来驱动板载的英特尔蓝牙。

接力必须要m2内置网卡+任意蓝牙

@stevezhengshiqi 我也使用的淘宝BCM94360CS2转接m.2网卡，但是我没有用博通蓝牙，用的是板载的英特尔蓝牙，这是我的wifi信息，设置里也出现了handoff的选项，但是我在使用iPhone的时候不弹出dock栏图标。

尝试重新登录Mac和iPhone的iCloud账户

@stevezhengshiqi 仍然无法启用handoff。我会焊完蓝牙飞线再测试。


How do you resize it?

the odometer docs says:

but this doesn't work:

Now props not passing to wrapper 'div' (code). But you can make pull request for that, or I'll do it later

any update?

Added support for style prop and all other div props.


Replace soon-to-be deprecated code

Swap old method for getting git repository information with new method
Will be changed in Atom v2.0

I think this is causing some unhandled promise rejections for me now:

The Travis CI icon is also gray now.

Huh.  I'm seeing this too now.  The odd thing about it is that the Promise is resolving as expected, though.  I'm not sure where the failure is coming in at.  Probably the subscription to the repo.  I've got a bit of time - I'll try to investigate it right now.


Add sample env file to persist adoption settings

Add sample env file to persist adoption settings

Provide a sample env file to recover settings after rebooting the
hypervisor. It is mostly useful for resuming of the interrupted manual
steps, when following the documentation. Especially, when the
hypervisor is a VM in a cloud provider, like PSI.

The helper env file ensures that the already deployed crc and edpm
standalone host (compute 0) are running, logs in to crc, exports env
vars and makes aliases for openstack and podman CLI to exec it on the
standalone edpm host via ssh.

This saves time, but requires the documented manual steps and the
sample env file contents to be in sync. There is already such a
requirement for the documentated scripts and test suits. We could
leverage code generation in the future to update docs and tests
automatically, when the scripted commands get updated in a commit.
While the scripts and env files, like that sample env file, should
then become the only source of truth.

NOTE: Stability of CRC and EDPM hosts after restarting in unrelated,
but it shows reliable enough for simple adoption scenarios.

Additionally, follow-up multi-cell DB adoption patch with service
IP selection and trivial typos fixing.

/hold waiting for other dependencies to keep POD vs Svc IPs evaluation in sync

how does this relate to the var files we use to store info for the ci

It does not, please see my answer inline

PTAL


(FM-8298) Cleanup Acceptance Spec commands

This commit removes the PowerShell prefixes to the run_shell calls
in the acceptance spec tests as Bolt now uses PowerShell as the
default shell for target nodes.

@michaeltlombardi If you want to rebase with upstream, we can probably get a successful CI run and merge this PR.


40% check

I have a 256gb phone and am at 60% usage so this app won't load
What's the logic behind the 40% test?
Thanks

Android's gsid checks for 40% of available storage, if it dosent have, then, DSU will fail on installation process, so, i've made this check on app, to avoid time loss.
As you can see here
Anyway, probably on future ill be creating a option to ignore this dialog, since is possible to change this behavior on a custom build.


fix potential 409 in checkpointer

a similar change was made in pouchdb's checkpointer recently (https://github.com/pouchdb/pouchdb/commit/8ba85d02cc0fb3ff1ad7cd0f43963f01d7432063).

cde9d5c57ff22ef44bd72efe1f28f70930b8df11


README - fix default for minimize

What kind of change does this PR introduce?
Documentation fix
Did you add tests for your changes?
No
If relevant, did you update the README?
Yes
Summary
The default for minimize is false, so updated the README
Does this PR introduce a breaking change?
No

Current coverage is 98.35% (diff: 100%)

Merging #407 into master will not change coverage

@@             master       #407   diff @@
==========================================
  Files             9          9
  Lines           304        304
  Methods          41         41
  Messages          0          0
  Branches         67         67
==========================================
  Hits            299        299
  Misses            5          5
  Partials          0          0

Powered by Codecov. Last update 9508990...4bd7130

Thank you very much!


BAU Add to_state and from_state when logging state change

This will make extracting and searching for payment state changes
easier.

Confirmed with @danworth, we don't this this change anymore


build always return error="open slim.report.json: no such file or directory

Expected Behavior
docker-slim build return 0
version: latest release
Actual Behavior
docker-slim build \

--http-probe=false
--continue-after=1
--include-bin=/bin/bash
--include-shell --include-oslibs-net --include-ssh-client
dmodeler:20240914

the output is:
cmd=build state=started
cmd=build info=params target.type='image' target.image='<IP_ADDRESS>/3dopen-private/nds3dmodeler:20240914' continue.mode='timeout' rt.as.user='true' keep.perms='true' tags='' image-build-engine='internal'
cmd=build state=image.inspection.start
cmd=build info=image id='sha256:b1f71d5cc16bf0397c252a509b23ef1e66ce0bd5edb95b7ee68cf742fc811a0e' size.bytes='4056190549' size.human='4.1 GB'
cmd=build info=image.stack index='0' name='<IP_ADDRESS>/dotnet/centos-stream-dotnet:stream9.8' id='sha256:36fe389a0b5d7c2c1f8a6944744b4a82b1786ce3d1df0ba70cad537a76fd3ae7'
cmd=build info=image.stack index='1' name='<IP_ADDRESS>/3dopen-private/nds3dmodeler:20240914' id='sha256:b1f71d5cc16bf0397c252a509b23ef1e66ce0bd5edb95b7ee68cf742fc811a0e'
cmd=build state=image.inspection.done
cmd=build state=container.inspection.start
cmd=build info=container id='8e767aa9eb69e2d439791a36b751095a2062cad7044b046e41e63dc62aff1790' status='created' name='slimk_1889964_20240918083627'
cmd=build info=container status='running' name='slimk_1889964_20240918083627' id='8e767aa9eb69e2d439791a36b751095a2062cad7044b046e41e63dc62aff1790'
cmd=build info=container message='obtained IP address' ip='<IP_ADDRESS>'
cmd=build info=cmd.startmonitor status='sent'
cmd=build info=event.startmonitor.done status='received'
cmd=build info=container target.port.info='' message='YOU CAN USE THESE PORTS TO INTERACT WITH THE CONTAINER' name='slimk_1889964_20240918083627' id='8e767aa9eb69e2d439791a36b751095a2062cad7044b046e41e63dc62aff1790' target.port.list=''
cmd=build info=continue.after message='no input required, execution will resume after the timeout' mode='timeout'
cmd=build prompt='waiting for the target container (1 seconds)'
cmd=build info=event message='done waiting for the target container'
cmd=build state=container.inspection.finishing
cmd=build state=container.inspection.artifact.processing
cmd=build state=container.inspection.done
cmd=build state=building message="building optimized image" engine=internal
cmd=build state=completed
cmd=build info=results status='MINIFIED' by='9.39X' size.original='4.1 GB' size.optimized='432 MB'
cmd=build info=results image-build-engine='internal' image.name='<IP_ADDRESS>/3dopen-private/nds3dmodeler.slim' image.size='432 MB' image.id='sha256:a9f87f955b9e6ac37dd9a9b88317ab5bf9fa1664d825882cc1df20bc9ac903d6' image.digest='sha256:b2dbd15c431a27a6c73d0c6ef406d2de59ba8b357f197569dc9889a2c76db1d8' has.data='true'
cmd=build info=results artifacts.location='/tmp/slim-state/.slim-state/images/b1f71d5cc16bf0397c252a509b23ef1e66ce0bd5edb95b7ee68cf742fc811a0e/artifacts'
cmd=build info=results artifacts.report='creport.json'
cmd=build info=results artifacts.dockerfile.reversed='Dockerfile.reversed'
cmd=build info=results artifacts.seccomp='<IP_ADDRESS>-3dopen-private-nds3dmodeler-seccomp.json'
cmd=build info=results artifacts.apparmor='<IP_ADDRESS>-3dopen-private-nds3dmodeler-apparmor-profile'
cmd=build state=done
cmd=build info=commands message='use the xray command to learn more about the optimize image'
time="2024-09-18T16:36:37+08:00" level=fatal msg="slim: failure" error="open slim.report.json: no such file or directory" stack="goroutine 1 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/slimtoolkit/slim/pkg/util/errutil.FailOn({0x2328f40, 0xc000978570})\n\tgithub.com/slimtoolkit/slim/pkg/util/errutil/errutil.go:32 +0x4b\ngithub.com/slimtoolkit/slim/pkg/report.(*Command).saveInfo(0xc000097c00, {0x1d73020, 0xc000097c00})\n\tgithub.com/slimtoolkit/slim/pkg/report/command_report.go:559 +0x41b\ngithub.com/slimtoolkit/slim/pkg/report.(*BuildCommand).Save(...)\n\tgithub.com/slimtoolkit/slim/pkg/report/command_report.go:573\ngithub.com/slimtoolkit/slim/pkg/app/master/command/build.finishCommand(0xc00039cd20, {0xc00071c000, 0x2d}, {0x0, 0x0}, 0x0, {0x0, 0x0}, {0xc0000f0007, 0x40}, ...)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/build/handler.go:1703 +0x1d08\ngithub.com/slimtoolkit/slim/pkg/app/master/command/build.OnCommand(_, , {, _}, , {, }, {, _}, {0x0, ...}, ...)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/build/handler.go:1245 +0x5385\ngithub.com/slimtoolkit/slim/pkg/app/master/command/build.glob..func1(0xc000698b80)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/build/cli.go:760 +0x5d51\ngithub.com/urfave/cli/v2.(*Command).Run(0x33a7220, 0xc000698b80, {0xc0001a8780, 0x8, 0x8})\n\tgithub.com/urfave/cli/v2@v2.27.1/command.go:279 +0x9dd\ngithub.com/urfave/cli/v2.(*Command).Run(0xc0007134a0, 0xc000698140, {0xc000050120, 0x9, 0x9})\n\tgithub.com/urfave/cli/v2@v2.27.1/command.go:272 +0xc2e\ngithub.com/urfave/cli/v2.(*App).RunContext(0xc000150600, {0x23470c8?, 0x341e0a0}, {0xc000050120, 0x9, 0x9})\n\tgithub.com/urfave/cli/v2@v2.27.1/app.go:337 +0x5db\ngithub.com/urfave/cli/v2.(*App).Run(...)\n\tgithub.com/urfave/cli/v2@v2.27.1/app.go:311\ngithub.com/slimtoolkit/slim/pkg/app/master.Run()\n\tgithub.com/slimtoolkit/slim/pkg/app/master/app.go:15 +0x45\nmain.main()\n\tgithub.com/slimtoolkit/slim/cmd/slim/main.go:15 +0x187\n" version="linux/amd64|Transformer|1.40.11|1b271555882eacdfb4e6598d6d0552e9b9b1449b|2024-02-02_01:36:22PM"
[root@localhost logs]# echo $?
1
how to resolve this issue?

@wang2024666 looks like the build was successful (based on the output... e.g., cmd=build info=results status='MINIFIED' by='9.39X' size.original='4.1 GB' size.optimized='432 MB').
Looks like your current working directory is not writable, so saving the slim.report.json execution report file fails. A few options... You can run DockerSlim from a different directory or you can explicitly save the report in a different location, which can be done using the global --report flag (this flag needs to be provided before the command name: docker-slim --report /your/preferred/location/slim.report.json build). You can also disable saving reports by setting the --report flag value to off.

@kcq thanks，the --report flag works.
even we run with shell include as:
docker-slim --report /root/slim.report.json build
--http-probe=false
--continue-after=1
--include-shell=true
--include-oslibs-net=true
--include-ssh-client=true
ndsmodeler:20240914
the contiainer seems still missing the shell environment.
[root@localhost ~]# docker exec -it caf51e6fff9d /bin/bash
OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown
[root@localhost ~]# docker exec -it caf51e6fff9d /bin/sh
OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory: unknown
[root@localhost ~]# docker exec -it caf51e6fff9d sh
OCI runtime exec failed: exec failed: unable to start container process: exec: "sh": executable file not found in $PATH: unknown
how can we keep the shell environment and basic os commands? the base image is CentOS Stream 8

Not quite sure what kind of base image you have there... Looks like some kind of flavor of CentOS Stream 9.
Just in case try also including bash in the /usr/bin directory and its sh symlink (if you have it):
--include-bin /usr/bin/bash --include-path /usr/bin/sh
And also try using the include exec flag:
--include-exe bash

hi Kyle,
Yes, the base image is Centos Stream 9.
with command:
docker-slim --report /root/slim.report.json build
--http-probe=false
--continue-after=1
--include-shell=true
--include-bin /usr/bin/bash --include-path /usr/bin
--include-exe bash
--include-oslibs-net=true
--include-ssh-client=true
ndsmodeler:20241012
we get the new image and then run the image, we hope to list the files in it. but it returns:
docker exec -it 93503f259e71 /bin/bash
bash-5.1# ls
/usr/bin/coreutils: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
bash-5.1# cd app
bash: cd: app: No such file or directory
bash-5.1# cd /app
bash-5.1# ls
/usr/bin/coreutils: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
bash-5.1# ll
bash: ll: command not found
bash-5.1# dir
/usr/bin/coreutils: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
how can we keep the basic OS libs and commands included?
thanks.
From: Kyle Quest
Date: 2024-10-05 07:42
To: slimtoolkit/slim
CC: wang2024666; Mention
Subject: Re: [slimtoolkit/slim] build always return error="open slim.report.json: no such file or directory (Issue #715)
Not quite sure what kind of base image you have there... Looks like some kind of flavor of CentOS Stream 9.
Just in case try also including bash in the /usr/bin directory and its sh symlink (if you have it):
--include-bin /usr/bin/bash --include-path /usr/bin/sh
And also try using the include exec flag:
--include-exe bash
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


beer poking out of the covers

visual glitch, nuff said

Scaled covers a bit in v1.4.1. Download new version from releases page.
If the issue persists you can reopen it.