Rancher OS issues with vmwareworkstation driver

So running
$> docker-machine create --driver=vmwareworkstation vm-base
the above works fine
$> docker-machine create -d virtualbox --virtualbox-boot2docker-url https://releases.rancher.com/os/latest/rancheros.iso vb-rancher
the above works fine
docker-machine create--driver=vmwareworkstation --vmwareworkstation-boot2docker-url https://releases.rancher.com/os/latest/rancheros.iso vm-rancher
doesn't work fine
??
VMware Workstation 12, running on Windows 7 Enterprise, docker-machine v0.8.2

Can you post a bit more details about what isn't working as expected?

I'm unable to connect to the dockerd, having looked at the ps listing it would appear that the service is not correctly configured and that the certificates have not been transferred! I've opened up an issue on the vmwareworkstation driver list to and there is information there as well.

Ok been in conversation with the creator of the vmwareworkstation driver. He says that the ISO image has to have the VMWare tools installed for it to be able to complete the linking. Do you know if there is any isssues with using RancherOS with the ESXi server?

The VMware tools package is available as an option system service. They aren't included in the ISO by default which is causing this issue.
It's possible to build a custom ISO that includes this service by default, but I'm not sure if we'd want to add that extra maintenance step for each release. @SvenDowideit is working on improving customizations for scenarios just like this, so it might be more feasible down the line.

Hi Josh, so how do I enable an 'option system service' ? Please.
Can I enable them after booting, and then try to connect via docker-machine?

I'm having similar issues using the vsphere driver.
I tried:

sudo ros service enable open-vm-tools
but still no IP and vpshere reports that the tools are not running.
Settings don't stick after reboot.
Probably I'm doing something wrong...

can you please try https://github.com/rancher/os/releases/tag/v0.8.0-rc5 ? this rc should make the machine work, and after that - http://docs.rancher.com/os/system-services/adding-system-services/ should help you enable the open-vm-tools

@SvenDowideit It looks like it does not fix the problem, still not available:
$ docker version
Client:
 Version:      1.13.0
 API version:  1.25
 Go version:   go1.7.4
 Git commit:   49bf474
 Built:
 OS/Arch:      darwin/amd64

$ docker-machine --version
docker-machine version 0.9.0, build 15fd4c7

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.12.3
BuildVersion:	16D30a

$ docker-machine --debug create --driver vmwarefusion --vmwarefusion-memory-size 2048 --vmwarefusion-boot2docker-url=https://github.com/rancher/os/releases/download/v0.8.0-rc5/rancheros.iso vmware-rancheros
(vmware-rancheros) Downloading /Users/denji/.docker/machine/cache/boot2docker.iso from https://github.com/rancher/os/releases/download/v0.8.0-rc5/rancheros.iso...
(vmware-rancheros) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
(vmware-rancheros) Creating SSH key...
(vmware-rancheros) Creating VM...
(vmware-rancheros) Creating disk '/Users/denji/.docker/machine/machines/vmware-rancheros/vmware-rancheros.vmdk'
(vmware-rancheros) Virtual disk creation successful.
(vmware-rancheros) Starting vmware-rancheros...
(vmware-rancheros) DBG | executing: /Applications/VMware Fusion.app/Contents/Library/vmrun start /Users/denji/.docker/machine/machines/vmware-rancheros/vmware-rancheros.vmx nogui
(vmware-rancheros) Waiting for VM to come online...
(vmware-rancheros) DBG | executing: /Applications/VMware Fusion.app/Contents/Library/vmrun list
(vmware-rancheros) DBG | MAC address in VMX: 00:0c:29:d1:94:cc
(vmware-rancheros) DBG | Trying to find IP address in configuration file: /Library/Preferences/VMware Fusion/vmnet1/dhcpd.conf
(vmware-rancheros) DBG | Following IPs found map[00:50:56:c0:00:01:<IP_ADDRESS>]
(vmware-rancheros) DBG | Trying to find IP address in configuration file: /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf
(vmware-rancheros) DBG | Following IPs found map[00:50:56:c0:00:08:<IP_ADDRESS>]
(vmware-rancheros) DBG | Trying to find IP address in leases file: /var/db/vmware/vmnet-dhcpd-vmnet1.leases
(vmware-rancheros) DBG | Trying to find IP address in leases file: /var/db/vmware/vmnet-dhcpd-vmnet8.leases
(vmware-rancheros) DBG | IP found in DHCP lease table: <IP_ADDRESS>
(vmware-rancheros) DBG | Got an ip: <IP_ADDRESS>
(vmware-rancheros) DBG | SSH Daemon not responding yet: dial tcp <IP_ADDRESS>:22: i/o timeout
(vmware-rancheros) DBG | executing: /Applications/VMware Fusion.app/Contents/Library/vmrun list
(vmware-rancheros) DBG | MAC address in VMX: 00:0c:29:d1:94:cc
(vmware-rancheros) DBG | Trying to find IP address in configuration file: /Library/Preferences/VMware Fusion/vmnet1/dhcpd.conf
(vmware-rancheros) DBG | Following IPs found map[00:50:56:c0:00:01:<IP_ADDRESS>]
(vmware-rancheros) DBG | Trying to find IP address in configuration file: /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf
(vmware-rancheros) DBG | Following IPs found map[00:50:56:c0:00:08:<IP_ADDRESS>]
(vmware-rancheros) DBG | Trying to find IP address in leases file: /var/db/vmware/vmnet-dhcpd-vmnet1.leases
(vmware-rancheros) DBG | Trying to find IP address in leases file: /var/db/vmware/vmnet-dhcpd-vmnet8.leases
(vmware-rancheros) DBG | IP found in DHCP lease table: <IP_ADDRESS>
(vmware-rancheros) DBG | Got an ip: <IP_ADDRESS>
(vmware-rancheros) DBG | SSH Daemon not responding yet: dial tcp <IP_ADDRESS>:22: i/o timeout

@SvenDowideit This is a different Docker Machine issue that has always been the case with RancherOS. The problem here is that open-vm-tools is not included in the default ISO.

ah :/

Is it possible to build a custom ISO with a modified "os-config.tpl.yml" file containing the commands "ros service enable open-vm-tools" and "ros service up open-vm-tools" so they can run on boot?
After checking the boot sequence I was thinking of adding it to "preload-user-images", but I am not too familiar with the sequence so this might be way off.

I'm trying the same thing but i get a different error/result;

transitioning": "error",
"transitioningMessage": "Error in driver during machine creation: 502 Proxy Error",
"transitioningProgress": null,
"uuid": "448751db-78ea-4f90-81ef-e91964817650",
"vmwarevsphereConfig": {
"boot2dockerUrl": "https://releases.rancher.com/os/latest/rancheros.iso",

When executing a default install (boot2docker is used) there are no issues.

in v1.1.0, RancherOS will auto-detect vmware, and automatically load open-vm-tools - you might like to try out https://github.com/rancher/os/releases/tag/v1.1.0-rc2 - it works for me with vmware esxi, and I'd love to know how it goes for you :)
@mvlintho I've not see that error before - interesting!

@SvenDowideit I have upgraded rancher to 1.6.7 and am using rancheros v1.1.0-rc2 which you've suggested. I no longer get the proxy error but I'm stuck at:

Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded

yeah #1750 suggests there are still issues, even when you update to the latest docker-machine (which contains fixes that make things "work for me"

Same issue here using vsphere machine driver to deploy to vcenter with Rancher 1.6.8, it boots and start openvm tools but rancher time out looking for ssh, no drama with boot2docker.

did you upgrade the docker-machine on your Rancher Server to v0.12.2? there are some associated fixes that are needed.

Hi, has anyone got this working?
I'd like to run rancheros (1.10) iso with VMWare on Rancher v1.6.5 but i keep getting this Errors:

Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded

What exactly do you mena with "docker-machine on your Rancher Server to v0.12.2" do i have to upgrade to latest rancher version ?

@lachnerd Yea I think you need to upgrade, but I am not sure how high. I have tried with docker-machine (v0.12.2) directly to VMware with RancherOS 1.1.0 and that works, but not from Rancher UI / Server (gonna upgrade soon). I am running Rancher Server 1.6.7 and under the vmware machine driver in the API it seems it is using v0.10.0-pre1 of the machine-package:
"schemaVersion": "https://github.com/rancher/machine-package/releases/download/v0.10.0-
pre1/docker-machine.tar.gz",
You can find this info under /v2-beta/machinedrivers and search for vmwarevsphere, or just click "View in API" on the driver.
The latest release in the machine-package repo is "v0.12.2", and one of the files has "build_machine_binary 'https://github.com/docker/machine' 'v0.12.2'", so I am soon gonna upgrade Rancher Server to figure out if any of the rancher releases above 1.6.7 has this new machine package.

@golvteppe Did you work out how to do this upgrade?

@matt-benett Sry for late response, but I just got one VM up and running with rancheros v1.1.0 tonight without any modifications in the iso. I upgraded to Rancher v1.6.12, and provisioned one VM through the rancher cli.
Rancher v1.6.12 has the v0.12.2 machine-package now for vsphere driver, but I am not sure when it was added. I checked v1.6.10 (stable) a while back but I dont think that version had the correct docker-machine version for the vsphere driver for this to work.


Any way to only emit HMR updates on watch and not rebuild chunks until requested?

When I change a file, Webpack (with dev server & HMR enabled) emits both new versions of bundles containing that file and HMR update.
It seems like majority of time is spent generating bundles but I have no interest in them unless I refresh.
It it possible that, in HMR mode, Webpack would emit HMR updates on change but only emit bundles if they are explicitly requested (that is, if I press F5)? This would make HMR instant in most cases.
Another option is to emit HMR update first, and only after it is ready, regenerate the bundles.

Another option is to emit HMR update first, and only after it is ready, regenerate the bundles.

:+1:

Anything I can do to help make this happen?

You can test it... on the hot-multi-pass branch...

Oh man :heart:
First thing in the morning tomorrow!

Hm.. I see first compilation happens fast but it looks like HMR update kicks in only after the second pass.
I have multiStep: true in options.
Maybe I overestimated this change.. Or there's something else yet.

Hmm maybe the dev-server need a change too or I missed something...
But I go to bed now.

Yeah me too :-)
I have a minor problem implementing flux-hot-loader btw, hope to catch you tomorrow in Gitter!

no works fine for me... :smile:

oh I should merge it in....

I'm testing this in webpack-2 branch and it doesn't seem to work as intended. Here's the stats I see on hot update:
webpack: bundle is now INVALID.
webpack: bundle is now INVALID.

In the console, I see this:

The timer is just console.time I put into io.on("invalid" and console.timeEnd in reloadApp.
As you can see it takes plenty of time to emit a small hot update file (2 kilobytes).
It feels that it still waits for the whole recompilation before serving the hot update chunk.

This fixes multiPass mode for me on OS X: #1171.
Now I get two passes:
webpack: bundle is now INVALID.
Hash: b6d0cfc58b3459a1500a
Version: webpack 1.9.10
Time: 539ms
                               Asset      Size  Chunks             Chunk Names
0.1ffc19da1ba9f1bd7625.hot-update.js   1.94 kB       0  [emitted]  main
1ffc19da1ba9f1bd7625.hot-update.json  36 bytes          [emitted]
chunk    {0} 0.1ffc19da1ba9f1bd7625.hot-update.js (main) 931 kB
    [0] ../~/react/react.js 41 bytes {0}
    [1] ../~/node-libs-browser/~/process/browser.js 2.02 kB {0}
    [2] ../~/react/lib/ReactMount.js 31.2 kB {0}
    [3] ../~/react/lib/invariant.js 1.54 kB {0}

  ...

  [343] ../~/webpack-dev-server/~/socket.io-client/~/to-array/index.js 216 bytes {0}
  [344] ../~/webpack-dev-server/~/strip-ansi/index.js 161 bytes {0}
  [345] ../~/webpack-dev-server/~/strip-ansi/~/ansi-regex/index.js 145 bytes {0}
  [346] ../~/webpack/buildin/amd-options.js 42 bytes {0}
  [347] ../~/webpack/hot/log-apply-result.js 788 bytes {0}
  [348] multi main 52 bytes {0}
Compilation needs an additional pass and will compile again.
webpack: bundle is now VALID.

webpack: bundle is now INVALID.
Hash: b6d0cfc58b3459a1500a
Version: webpack 1.9.10
Time: 996ms
    Asset     Size  Chunks             Chunk Names
bundle.js  1.09 MB       0  [emitted]  main
chunk    {0} bundle.js (main) 931 kB [rendered]
    [0] ../~/react/react.js 41 bytes {0}
    [1] ../~/node-libs-browser/~/process/browser.js 2.02 kB {0}
    [2] ../~/react/lib/ReactMount.js 31.2 kB {0}

  ...

  [345] ../~/webpack-dev-server/~/strip-ansi/~/ansi-regex/index.js 145 bytes {0}
  [346] ../~/webpack/buildin/amd-options.js 42 bytes {0}
  [347] ../~/webpack/hot/log-apply-result.js 788 bytes {0}
  [348] multi main 52 bytes {0}
webpack: bundle is now VALID.

The first pass is still long though. This part intrigues me:
0.1ffc19da1ba9f1bd7625.hot-update.js   1.94 kB       0  [emitted]  main
1ffc19da1ba9f1bd7625.hot-update.json  36 bytes          [emitted]
chunk    {0} 0.1ffc19da1ba9f1bd7625.hot-update.js (main) 931 kB

What's this 931 kB beast? The client only loads the 1.94 kB thing. Is there any unneeded concatenation going on?

An update on this. I'm getting much faster, almost instant hot updates (and that's on my new “slow” Macbook) if I tweak #1171 to schedule the main compilation to be about a second after the hot update. It seems that it just can't serve json manifest fast if there's a main build being done at the same time.
When the main build is scheduled right away, hot-update.json takes about 500ms to be served. When the main build is scheduled after a timeout of 1500ms, hot-update.json takes about 10ms to be served.

Related:
https://github.com/webpack/webpack-dev-server/pull/196
https://github.com/webpack/webpack/pull/1173

Is there any update on this? This looks promising for setups which have multiple entry points since rebuilding all bundles takes too long during development.

Any news on this? Building bundles for all entry points almost kills the HMR for us (

Having this would be very important for us too.

This would have a huge impact for us, we have a lot of entry points and HMR takes ~5.5s, with all possible wepack optimisations we could find and apply.

Any news on this? "Almost instant hot updates" sounds so tantalizing.

I think the best way to hear the news/updates is to send a PR ;)

@webpack-bot, you naughty boy!

There is a multiStep mode for the HMRPlugin. You can try it if you want but don't expect too much.

@sibelius
plugins: [
			new webpack.HotModuleReplacementPlugin({
				multiStep: true
			})
]

A month away from 2019, and I still see this issue myself with Webpack 4.26, React 16.6, Node 10.13.0 (have tried webpack 3, react 15, node 8.4.0, in different combinations, etc.)
It's actually hurting my business quite badly, but this HAS to be a simple fix.. multiStep in the HMR plugin doesn't do anything for me.
Why this even the default webpack behavior? If HMR is enabled, it should be applying HMR updates as the first priority over rebuilding the bundles.
Is there a 2018, webpack 4 solution for delaying the incremental build (or, ideally, only rebuilding on browser page reload......)
@sokra ?

bump

bump

I think we can close it in favor https://webpack.js.org/configuration/experiments/#experimentslazycompilation


[storage] Add batch.put API for storage

Is your feature request related to a problem? Please describe.
Ray.put with owner will issue an sync rpc to owner, when there are many obejcts to put, Ray.put will become the bottleneck for operand executing especially for shuffle mapper stage.

Describe the solution you'd like
A batch.put API will eliminate the issue.
With batch put:

without batch put

The api can be added to mars.storage.base.StorageBackend:
@abstractmethod
async def batch_put(self, objects, importance: int = 0) -> List[ObjectInfo]:
    return [self.put(obj, importance) for obj in objects]

If the storage client supports batch.put, it can override this method to get better performance.

Looks reasonable, batch_get may also be useful for other storage backends.

Before this feature is implemented in Mars, Ray should first implement this API in its public releases.

@chaokunyang better to trace related issues or prs in Ray here.

@Catch-Bull Will ray support batch.put? If not, I'll close this issue


[WIP] [SPARK-33837] Correlated subquery field resolve bug when inner table has a field with the same name with outer table

What changes were proposed in this pull request?
See SPARK-33837, In ResolveSubquery rule, we first try to resolve subquery independently, and only when there're unresolved attribute in subquery, we try resolveOuterReferences.
So For the following statements:
create table t1(id int, name string)
create table id(key int, name string);

select * from id where name in (select name from t1 where t1.id = id.key)

This query is supported by spark, but since table t1 also has an attribute named id, spark will raise an error like:

Can't extract value from id#83: need struct type but got int;

This change add outer plan info into resolving subquery to make this reference resolving with outer plan possible
Does this PR introduce any user-facing change?
Yes
How was this patch tested?
Unit tests needs to be added

Can one of the admins verify this patch?

ok to test

Thank you for making a PR, @sqlwindspeaker .

The code review might take a longer time because it's holiday season.
Merry Christmas and Happy New Year, @sqlwindspeaker !

Test build #133362 has started for PR 30910 at commit b9f0c11.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37953/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37953/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37953/

The code review might take a longer time because it's holiday season.
Merry Christmas and Happy New Year, @sqlwindspeaker !

@dongjoon-hyun  Merry Christmas and Happy New Year too.
This PR is not finished, still need some refactor and unit tests, I'll try to finish this these days

Test build #133362 has finished for PR 30910 at commit b9f0c11.

This patch fails from timeout after a configured wait of 500m.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class OuterAttribute(attr: Attribute) extends Attribute with Unevaluable
case class SubqueryWrapper(child: LogicalPlan, outerPlans: Seq[LogicalPlan])

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133362/

Can one of the admins verify this patch?

Can one of the admins verify this patch?


fix: disable broken UpdateSitemaps step of Continuous integration

What new features does this PR implement?
disable UpdateSitemaps step of Continuous integration action in cd.yml.  It is failing in a non-recoverable way - it bootstraps off of a healthy biosimulations.org site, but since biosimulations.org is not healthy at the moment, this step blocks any progress.
This step will be restored in the future - hopefully in a way that doesn't reach out to the server - or make it optional

:tada: This PR is included in version 9.55.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ContentFit::Cover and ContentFit::None act like ContentFit::Fill

I tried looking at the code and couldn't figure out why, but ContentFit::Cover and ContentFit::None stretch instead of crop:

https://github.com/user-attachments/assets/da772eb9-5c18-44d7-8471-de6ff60fce55

In comparison, here's the Iced ferris example:

https://github.com/user-attachments/assets/b98ef943-9af3-4f8f-85ec-32ee8b2b8f5d

@jazzfool I just tried out the changes from f2aa4de527144fbf77fd838561a1d33efb46bd40, but I'm seeing a bit of weird behavior.
iced::ContentFit::Contain
Doesn't Fill the whole width and height:

https://github.com/user-attachments/assets/91098d4d-b8d9-4d20-9e8c-efd4030bb379

iced::ContentFit::Cover
The cropping seems to work, but also doesn't Fill the width and height:

https://github.com/user-attachments/assets/5bc00baf-4be5-4198-87e9-2151d6a8874c

Ah, looks like the transform includes system UI scaling. Can you confirm 2442818 fixes the issue?

That works perfectly :D Thank you!


package option / default for creating the "usual" set of character style macros

My instinct is to have the default be "all the usual stuff" so that people aren't surprised when things don't work (I just had a user have this happen and ask me what was going on), and then have a lightweight option or something like that to avoid all the defs.

What do you mean by "all the usual stuff"?

not totally clear yet, but for example, common character font sets:

caligraphic
blackboard
frak
bold

with accents hat, tilde, bar


Selectable text

Is there a way to make the text inside the bubbles selectable for copying?

@modularthoughts
Thanks for your comment.
please update 1.11.0
and add this code in your xml
https://github.com/bassaer/ChatMessageView/blob/master/example/src/main/res/layout/activity_messenger.xml#L17

Thank you very much!


Basic examples has error

Describe the bug
In the basic examples, the following line is listed:
fun getRandomEntries() = List(4) { FloatEntry(it, (0f..16f).random()) }
This function does not work in the most up to date version. The error messages are about "it", where Android studio says "Type mismatch", required Float but found Int. And the function "random()" is an unresolved function.

Hello! Thanks for the report. We’ve corrected the error.


Revert "chore(gh-pages): revert 11ty version from 1.0.2 to 1.0.1"

Reverts exadel-inc/esl#1159

:tada: This PR is included in version 4.0.0-beta.15 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Virtual Desktop Support for FancyZones

Description of the new feature / enhancement
Support for different fancy zone layouts on different Windows virtual desktops.
Also support for locking apps to launch into a specific layout zone ON a specific virtual desktop.
Scenario when this would be used?
Extensive use of virtual desktop allows for the user segmentation of productivity modes.  With these features suggestions, when I open Outlook, it would open on the center zone of my layout defined on Virtual Desktop 2.  This allows the user to know which desktop and which zone to find an app consistently.
Supporting information
No response

Seconded. Please make this a reality, as having to manually move windows to a different virtual desktop and snapping them with FancyZones every single time I boot my PC is extremely tedious.

Different fancy zone layouts on different Windows virtual desktops works on v0.47.1, but has since been broken. It should be fixed, a very important feature for me and has forced me to stay on that version.

It already works for me on Win 11, Power toys 0.67.1,
here are the steps, I didn't believe it at first but it works:
https://github.com/microsoft/PowerToys/issues/18513#issuecomment-1286016796

Yeah, this used to work, but was broken somewhat recently -- either in a Windows update or a PowerToys update

I noticed today that my fancy zones layout wasn't the same on all virtual desktops. The thing is, I do want to have the same layout on all virtual desktops 😂
Is it possible to apply a layout to all virtual desktops?

Hi @kipusoep, currently, you need to apply layouts separately to each virtual desktop as one layout for all is not supported.
But there is another option. When you create a new virtual desktop, FancyZones automatically applies the same layout configuration as on the current virtual desktop, so you'll have the same layouts on both desktops.


Spatialite?

Do you think that it is possible to extend this for spatial/geo functions that Spatialite provides? I really like what you've done with this library and would love to see them married.
https://aaronparecki.com/2015/05/21/11/

@stephencelis @jberkel Thoughts? Is it possible? I'd put a OpenSource bounty on it if so.

Seems to be a very specific use case. What exactly would you expect from SQLite.swift?
Using CocoaPods you might be able to use the spatialite pod to get a version of SQLite.swift which has the extension enabled. Then you can use raw SQL to do whatever you need to do to make use of the extension, without SQLite.swift itself knowing about it.

In all my googling I did not realize there was a spatialite pod already. Thanks for clue'ing me in.

use the spatialite pod to get a version of SQLite.swift which has the extension enabled

This is where I don't know where to start. I'll try some things and report back.
Thanks

You should be able to use:
pod 'SQLite.swift/standalone', '~> 0.11.0''
pod 'spatialite'

in your Podfile.

Is there a way to build this "standalone" version using Carthage?

@davenquinn Not easily I'm afraid. Maybe you can create a project which pulls in SQLite and builds a framework named "CSQLite" or similar, and then use the right compiler flags on your main project to wire everything up.

@jberkel, I tried modifying the Podfile as per your suggestion but this does not seem to have any effect on the sqlite version that SQLite.swift loads up. I am not able to run any spatial queries on the database. Any suggestions?

@pkMinhas yes, looks like it's not so easy. I tried to pull in the spatialite pod but can't even get standard imports to work with swift (import spatialite). Maybe try something like https://github.com/andreacremaschi/SpatialDBKit ?


'$cordovaPush:notificationReceived' callback called Two time

i'm working on a ionic app and i need the push notifications , so all works fine i can receive the notification using ionic push notification , but the call back is called twice and i receive just one notification .
here is my code:
 if (ionic.Platform.isAndroid()) {
        var androidConfig = {
          "senderID": "XXXXXXXXXXXXXX",
        };

        $cordovaPush.register(androidConfig).then(function(result) {
          // Success
          console.log("deviceToken: " + JSON.stringify(result));

        }, function(err) {
          // Error
          console.log("Registration error: " + err)
        });
      };

// the call back
$rootScope.$on('$cordovaPush:notificationReceived', function (event, notification) {
});
thanks

+1

+1

+1

I have the same issue here. $cordovaPush:notificationReceived is listening to multiple times and executing the call back.
Did you find any answer to that?


[sample] Need a sample on several conditions

could you please show me a sample, which can

reference module source version?

module "consul" {
  source  = "hashicorp/consul/aws"
  version = "0.0.5"
}

If I put in terragrunt.hcl
terraform {
  source  = "hashicorp/consul/aws"
  version = "0.0.5"
}

it prompted the error message, that doesn't know version

how to manage the tfstate file with terraform cloud?

Reference document: https://learn.hashicorp.com/terraform/getting-started/remote.html

The version param is not natively supported by Terragrunt right now. A PR to add that would be very welcome! In the meantime, the workaround is to use a Git URL with a ref parameter instead. E.g.,
terraform {
  source = "github.com/hashicorp/terraform-aws-consul?ref=v0.0.5"
}

The Terraform Cloud backend should work like any of the others. In your Terraform code:
terraform {
  # Partial configuration. Config will be filled in by Terragrunt.
  backend "remote" {}
}

In terragrunt.hcl:
remote_state {
  backend = "remote"

  config = {
    organization = "Cloud-Org"

    workspaces {
      name = "Dev-QA"
    }
  }
}


Restore Purchase - iOS

Any updates on iOS restore purchase feature?

We wil update soon. Maybe before 2018.

@JJMoon @dooboolab
Btw how do we restore purchases on Android? I know Google Play allows you to query for non consumable purchases, but then that leaves me with a few questions:

Is the idea to query for IAPs when the app loads, and restore functionality on each app load (saving locally of course so the app can work offline as well)?
Which function should I use? I see:
refreshPurchaseItemsAndroid() getPurchasedItemsAndroid()
Maybe an example is in order for the readme?
Do these only work for Google Play? How about Amazon/others?

@KjellConnelly
Answering you questions~

You need to query for IAPs at first. When you want to query items offline and you are sure that lists of items won't change~ you can save them in LocalStorage.
Sorry for that. As we told in head of this repo, we are interested in making IAP the same behavior between IOS and ANDOIRD platform. Therefore we missed out that tutorial officially. getPurchasedItemsAndroid() is a method to get a list of items you purchased in your app. refreshPurchaseItemsAndroid() is a method to refresh that item so you can buy the same item again.
We've only tested on Google Play. We've not tested on Amazon/others yet.

Hope my answer helps you.
Thank you.

@dooboolab Thanks for the reply :) Could you help me understand a bit better how the process works for Android? I am coming from an iOS background, so I will use iOS terms to try to make sense of this.
Imagine the situation where I have two IAPs

Premium Version ($3.99), non-consumable.
100 Coins ($0.99), consumable.

In iOS, I would first query for the product IDs, then call the buy function. This returns Promise once the buy function has completed (success or failure).
On iOS, I would do something with LocalStorage such as setting a saved object:
if (item.productId == 'com.website.100coins') {
    savedData = {
        coins: savedData.coins + 100,
        premium: savedData.premium
    }
} else if (item.productId == 'com.website.premium') {
    savedData = {
        coins: savedData.coins,
        premium: true
    }
}

And then I would have a Restore button, and when you tap it, the Restore function is called, which returns the non-consumable purchases that the user has made in the past using that iTunes account.

For Android, it looks like I query for the productIds just as on iOS. And when the purchase happens, I also save to LocalStorage. But if I remember correctly, I need to then tell Google Play that the consumable has been consumed (for the coins, and once I save to local storage).
But when it comes to the Restore Button, I'm a bit confused.
By your description, it looks like those two functions do the following:
getPurchasedItemsAndroid(): This will return probably an array of IAPs that this user has purchased using your app. This will include all consumable, and non-consumable purchases. In my case, where I have Coins and a Premium Version, I would just iterate through this array to check to see if the user has bought the Premium Version before when they tap the Restore Button, right? And if its there, then I just set savedData.premium = true?
refreshPurchasedItemsAndroid() I don't really understand what refreshing does in this case. Does it tell Google Play that all of the previously consumed purchases are still purchased, but not consumed anymore? Or does it refresh the app's list of purchased items from Google Play's servers in which case would mean that the user's device is saving some sort of data on its own when a purchase is made?
Finally, it seems like on iOS, you are required to have a Restore Button for non-consumables. But for Google Play, you CAN have a Restore button for non-consumables, but it would be best practice to just check using getPurchasedItemsAndroid every time the app is launched (if the user's local data is saying that they haven't purchased the premium version yet).
Sorry for the long essay. Just having trouble making sense of the IAP process on Android.

@KjellConnelly
Sorry that I've missed this. I've not implemented Sku.Type option to get consumable products in android since implementation from ios was delayed. Before you could only getPurchasedItems lists for non-consumable products only. I just fixed this to support for querying both consumable and non-consumable products.
--------------------------- screenshots below -----------------------------------

In index.js

in RNIapModule.java

--------------------------- screenshots done -----------------------------------

Also what refreshPurchasedItemsAndroid I've updated support for conusmable products. Screenshots are below
--------------------------- screenshots below -----------------------------------

In index.js

in RNIapModule.java

--------------------------- screenshots done -----------------------------------

I've just commited these updates. Hope this helps your question.
Now you can call getPurchasedItemsAndroid(type: string) function to get non-consumable items or consumable items. If you want non-consumable items just put null or any string. If you want consumable items put 'SUBS' in it.
You can use refreshPurchasedItemsAndroid(type: string) function same as described above.

@KjellConnelly
Yes! It was about items for subscriptions. OMG... I was confused too. Thanks again to point that out. Sorry that I was confused by busy work ..
It seems we've been missing some support for this senario. We didn't actually distinguish between consumable and non-consumable product in our library. Since you need this part, we will support for this near future. Thanks for sharing.


Order of keywords

fixes #80

This is great timing because I was about to use the same approach for the attributes replacement. I'll take yours in first and then I can readjust my work on top of yours

This is great timing because I was about to use the same approach for the attributes replacement. I'll take yours in first and then I can readjust my work on top of yours

OK.


Add feature to edit standup submissions

Add existing responses to standup questions in the modal if user opens the dialog after the standup submission

Added feature in https://github.com/vipul-sharma20/slack-standup/commit/e6199efc55a509240beef206f97f5941d5540ead


Use gopherlua compiled states

Commit 4e20205fc142aa3e81c2d620f5df819ec51d1b11 uses compiled states for subtopics, showing some good speed and memory gains ;)

:smiley:


Use VS Code's 'Refactoring' action to display PVSC refactoring suggestions

See https://github.com/microsoft/vscode-python/issues/8878#issuecomment-561805297
There's a Refactoring (editor.action.refactor) option in the contextual menu on right-click, but clicking on it doesn't offer PVSC refactoring options:

It would be less confusing if we could consolidate this and our refactoring options.

It would be super helpful to make features like "Extract Variable" more discoverable through the refactor menu.

Pylance now populates the menu.


quick feedback

Thanks for building something I have been dreaming of for some time !
For various reasons, I've been ditching the excellent mendeley (but closed source with little regards for its users' privacy) in favor of the terminal literature manager https://github.com/papis/papis.
In my quest for a terminal pdf reader allowing to take notes, I was desperate and was Imaging a neovim plugin that would use pdf2txt and floating windows to register notes in a side file.
Your project looks in many ways better.
Here are a few questions:

why passing an nvim socket ? I use nvim 0.4.2 (rather the master version) and termpdf opens a new instance :/
would it be possible to have the terminal cursor instead of the current selection mechanism (not sure how it works with double-column pdf, as most articles I read are) ? Ideally I would like my notes to contain a position more precise than just the page of the pdf.
zoom in/out didn't seem to work for a doublecolumn article. What are the conditions for this ? (using pymupdf 1.16.1)

I wonder if we could have a neovim terminal where we display the image, and have notes as floating windows <3
I understand this is an early version but it's already quite impressive, keep up the good work !

Thanks! This is all still very much alpha, so features are often a bit half-baked, I'm afraid. I use it with zotero + better bibtex, not papis. At some point, I hope to add direct support for zotero integration, for things like fetching metadata. Adding papis integration would be neat too, but since I don't use papis, isn't something I'm likely to do any time soon.

The script needs some way to know which nvim instance it is supposed to interact with. So, you either need to tell termpdf the listen address of a nvim instance (by passing the --nvim-listen-adress option), or set the address of an nvim instance to `/tmp/termpdf_nvim_bridge'. If you don't do either of those things, termpdf will launch a new nvim instance. Is there a better way to do this?

(a) Right now, you can adjust the visual selection by using h and shift-h to adjust the left side, and l and shift-l to adjust the right side. It should be easy to also allow arrow keys for this. It would be more complicated (but not too complicated) to allow for non-rectangular selections.  Anyway, it would be better to have visual selection based on the characters on the page, right?

(b) Do you have a suggestion for how to include additional position information? Would raw pixel coordinates be useful? I should look at how the org-mode tools do this in emacs, and how that gets translated into markdown by pandoc. Ideally, we would have a corresponding plugin in nvim that reads this data and allows one to quickly jump back to the selection in termpdf. Right now, I have a half-assed function in my vimrc that reads the citation key and the page number and uses that info to open the pdf file.

I haven't implemented zooming in and out for PDFs. I'm not sure how flexible an implementation should be, or how to implement navigation for zoomed pages. Probably my personal use top priority is a mode for viewing two-up PDFs one page at a time. For now, "zooming" only works for "reflowable" formats supported by pymupdf, like ePub.

I don't think I can reliably use ncurses interfaces over the top of the displayed images, as ncurses tends to clobber the image when it refreshes the text. In the same way, I don't think there is much of a chance that one can use kitty to display images within an nvim window, or use nvim popups to display annotations.

Even if I pass a valid socket, it seems like it opens a new instance but it doesn't really matter for me (and I can fix it when it will).
Wow that's amazing ! only issue I noticed with a coworker is that when yanking the selection, it removes spaces: for instance Interactiveapplicationsdonotrequiremorebandwidthto gofaster.Instead,theyrequirelesslatency.
I am not sure, the pdf spec is such an abomination I trust you and pymupdf on this: whatever is possible I guess :)
I don't know what's available in pymupdf but that would be cool to have modes like in zathura (adjust to terminal width is the one I am thinking off) to get rid of the empty left and right margins

I don't think I can reliably use ncurses interfaces over the top of the displayed images, as ncurses tends to clobber the image when it refreshes the text. In the same way, I don't think there is much of a chance that one can use kitty to display images within an nvim window, or use nvim popups to display annotations.

As one can launch a terminal in neovim (:term) I think that's within the realm of possible. I've just tried but it failed with Terminal does not support reporting screen sizes via the TIOCGWINSZ ioctl, even when overriding TERM to xterm-kitty. Which means one would need to implement TIOCGWINSZ in neovim's term :(

As one can launch a terminal in neovim (:term) I think that's within the realm of possible. I've just tried but it failed with Terminal does not support reporting screen sizes via the TIOCGWINSZ ioctl, even when overriding TERM to xterm-kitty. Which means one would need to implement TIOCGWINSZ in neovim's term :(

Right. I don't expect nvim's term to support TIOCGWINSZ.

Even if I pass a valid socket, it seems like it opens a new instance but it doesn't really matter for me (and I can fix it when it will).

That sounds like a bug!

only issue I noticed with a coworker is that when yanking the selection, it removes spaces: for instance Interactiveapplicationsdonotrequiremorebandwidthto gofaster.Instead,theyrequirelesslatency.

Have you tried it on multiple PDFs? For the most part, my results have been decent. The main thing I've noticed is that words will sometimes be moved a line above or below where they are supposed to be. But I am not doing anything to carefully glue the text together, so your results are going to depend a lot on how the text is encoded in the PDF itself. There are things that could be done to try to more carefully attend to how the text is laid out, and to make more intelligent guesses about how it is supposed to fit together.

I don't know what's available in pymupdf but that would be cool to have modes like in zathura (adjust to terminal width is the one I am thinking off) to get rid of the empty left and right margins

Yes. This is something I plan to implement at some point!

One point I forgot to mention, if I send termpdf to background (ctrl+z) and resume it with fg, then my screen gets black. Forcing a redraw solves it. Maybe it's a bug in kitty (altscreen?) but you may want to catch the resume signal and force a redraw.

thanks for the answers.


Background image vs background color

Hi how are you? I am a beginner to web development. I loved your design. I decided to use it for my site. Now i have a question, how can i change the background from color to image. I understand you decided to use purple. I want to use an image instead. Something that can work even on a mobile phone. Also another question. On mobile can i have 2 skills column instead of 1? Attached find my attempt to add, an image as a background image which failed terribly (on the desktop it seems to work but on mobilel not so much). Here is a link to my website: https://stephenajulu.com @mehedi-sharif @themefisher
Seems i cant attach, but just visit the link. Your prompt response and help will be much appreciated.

hey there, this theme is based on background-color. so you can't put background-image if you don't have knowledge on html, css, and jekyll.
You can contact us for any kind of customization at<EMAIL_ADDRESS>(paid).


Dev

Changelog 🆕
Committing New Pay-slip Application
Shape Application Reworked
*  New Pause Function
*  Pause Function is called after shape area calculations to allow a pause between results and return to main menu
*  Added more end lines for cleaner looking output

LGTM


fix: Exception in FluentAnchor

🐛 Bug Report

💻 Repro or Code Sample
I left a Blazor page open for a while in the background. When I came back to it there was an error from FluentAnchor:
2024-03-07T17:49:39.8637041 warn: Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer[100]
      Unhandled exception rendering component: A task was canceled.
      System.Threading.Tasks.TaskCanceledException: A task was canceled.
         at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
         at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
         at Microsoft.JSInterop.Implementation.JSObjectReference.DisposeAsync()
         at Microsoft.FluentUI.AspNetCore.Components.FluentAnchor.DisposeAsync() in /_/src/Core/Components/Anchor/FluentAnchor.razor.cs:line 151
         at Microsoft.AspNetCore.Components.RenderTree.Renderer.<ProcessDisposalQueueInExistingBatch>g__GetHandledAsynchronousDisposalErrorsTask|79_0(Task result)

🤔 Expected Behavior
No error.
😯 Current Behavior
Error.
💁 Possible Solution
Error comes from here:
https://github.com/microsoft/fluentui-blazor/blob/42378064ea2de885ba6ca63716b13c6a48b4ba03/src/Core/Components/Anchor/FluentAnchor.razor.cs#L145-L159
It appears to throw JSDisconnectedException or OperationCanceledException. Catch both?
🔦 Context

🌍 Your Environment

OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
.NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]

I also saw this with a list:
2024-03-07T20:33:43.5306944 warn: Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer[100]
      Unhandled exception rendering component: A task was canceled.
      System.Threading.Tasks.TaskCanceledException: A task was canceled.
         at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
         at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
         at Microsoft.JSInterop.Implementation.JSObjectReference.DisposeAsync()
         at Microsoft.FluentUI.AspNetCore.Components.ListComponentBase`1.DisposeAsync() in /_/src/Core/Components/List/ListComponentBase.razor.cs:line 595
         at Microsoft.AspNetCore.Components.RenderTree.Renderer.<ProcessDisposalQueueInExistingBatch>g__GetHandledAsynchronousDisposalErrorsTask|79_0(Task result)

I suggest you add a utility method for disposing JSObjectReference and have it catch the two errors, then use that where ever you dispose.


Update docker image in readme to node16.17.1-chrome105-ff104-edge

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

@nikolas

I missed your PR when I submitted https://github.com/cypress-io/github-action/pull/681 to update the example to container: cypress/browsers:node18.12.0-chrome106-ff106. Sorry for that! Now that Node.js 18 is LTS it is better to update to this version instead of Node.js 16.


load blob from object in javascript

I want to play an audio file with wavesurfer and I have a blob object with the data.Can I play the file without creating the physical file?
I tried this:
var blob = new Blob(Signal, { type: "audio/wav" });
$scope.wavesurfer.loadBlob(blob);
where Signal is a byte array.
I get the error:
GET http://localhost:38711/[object Blob] 404 (Not Found)
Any ideas?

The brackets were missing:
var blob = new Blob( [Signal], { type: "audio/wav" });


Incorrect rendering of strokeWidth=0 paint on mobile browsers

An app that uses strokeWidth = 0 (hairline stroke) will not be rendered correctly on a mobile browser, but works fine in a desktop browser. Instead, it appears that when painting with hairline stroke width, the actual stroke will be taken from the previous paint command whatever it was.
Steps to Reproduce
See the following DartPad: https://dartpad.dev/?id=3948a3a170922c1a7beb4c16b7089b41
Expected results:
Two circles:

inner circle is white, with a thick stroke
outer circle is red, with a thin stroke

Actual results:
[On mobile browser only]
Both circles have the same thick stroke width.
Note: swapping the order of drawing the circles (i.e. draw the thin circle first) makes the result look correct.

Code sample
import 'package:flutter/material.dart';

const Color darkBlue = Color.fromARGB(255, 18, 32, 47);

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData.dark().copyWith(
        scaffoldBackgroundColor: darkBlue,
      ),
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: CustomPaint(
            painter: MyPainter(),
          ),
        ),
      ),
    );
  }
}

class MyPainter extends CustomPainter {
  final paint1 = Paint()
    ..style = PaintingStyle.stroke
    ..strokeWidth = 10
    ..color = const Color(0xFFffffff);
  final paint2 = Paint()
    ..style = PaintingStyle.stroke
    ..strokeWidth = 0
    ..color = const Color(0xFFFF0000);

  @override
  void paint(Canvas canvas, Size size) {
    const center = Offset(100, 100);
    canvas.drawCircle(center, 40, paint1);
    canvas.drawCircle(center, 60, paint2);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) => false;
}

Hi @st-pasha, Thanks for filing the issue. I am able to reproduce the issue on stable and master channel. The issue is with  HTML renderer and it renders fine with Canvaskit.

Android ✅
Web (HTML) ❌
Web (Canvaskit) ✅

Note: swapping the order of drawing the circles (i.e. draw the thin circle first) makes the result look correct.

I can confirm this,  swapping the below statements gives the desired result

canvas.drawCircle(center, 40, paint1);
canvas.drawCircle(center, 60, paint2);

✅ : No Issue
❌: Issue reproduced

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.3 21E230 darwin-arm, locale en-IN)
    • Flutter version 3.0.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (3 days ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin
        usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro (mobile) • 19FD0231-BFF0-441D-B584-AD94C4084525 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.3 21E230 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 101.0.4951.64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1008, on macOS 12.3 21E230 darwin-arm, locale en-IN)
    • Flutter version 3.1.0-0.0.pre.1008 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c2cc31b198 (26 hours ago), 2022-05-30 05:23:08 -0400
    • Engine revision 05efd25f05
    • Dart version 2.18.0 (build 2.18.0-151.0.dev)
    • DevTools version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin
        usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile) • emulator-5554                        • android-arm64  • Android 11 (API 30)
      (emulator)
    • iPhone 12 Pro (mobile)    • 6AE1D692-DB57-4C3E-ADCA-66842182426B • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)           • macos                                • darwin-arm64   • macOS 12.3 21E230
      darwin-arm
    • Chrome (web)              • chrome                               • web-javascript • Google Chrome
      102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

We interpret 0 strokewidth as 1 here in this line:
https://github.com/flutter/engine/blob/696691c86b856e5af6efa999c27b824f01a038c7/lib/web_ui/lib/src/engine/canvas_pool.dart#L978


[WIP draft] newtype for identifiers

We're going to enforce fairly strict rules on identifiers, and this newtype gets us most of the way there. Once this is done we'll have one central place where we can set the rules for identifiers. (This diff doesn't actually set up any rules, though -- that would be a breaking change so I'll do it in a separate PR.)
(The first couple of commits are from #778, sorry I don't know of any way to hide them :( )

This should be done now, and I'll put it up for review once #778 lands.

:umbrella: The latest upstream changes (presumably 2e9094c2341c5f05797d47300a00a002c8ce183c) made this pull request unmergeable. Please resolve the merge conflicts.

this looks good to me and looking forward to see it after #778 goes in.
Overall I wonder about leaking Identifier out of the VM, so whether it should be a public type (in type) or completely internal to the VM. Thoughts?

Overall I wonder about leaking Identifier out of the VM, so whether it should be a public type (in type) or completely internal to the VM. Thoughts?

I think that identifiers form part of the interface between the VM and other parts of the system, so they should be in types (similar to language_storage in the same crate).

:umbrella: The latest upstream changes (presumably bd04955b7e6f0a8ef665f56d8201d916a5815b1b) made this pull request unmergeable. Please resolve the merge conflicts.

:umbrella: The latest upstream changes (presumably 29699b9cb7872f5ed906db31aeae99aa2c60c410) made this pull request unmergeable. Please resolve the merge conflicts.

:umbrella: The latest upstream changes (presumably b87b3397f4dddcb99616709b5177ac9a223a6e8d) made this pull request unmergeable. Please resolve the merge conflicts.


:building_construction:x.x.x: Add msw

Codecov Report

Merging #1371 (3bfb5f6) into main (ecb5c1e) will not change coverage.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##              main     #1371   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines           55        55
  Branches         9         9
=========================================
  Hits            55        55

Impacted Files
Coverage Δ

src/ui/domain/item/Items/hook/items.hook.ts
100.00% <100.00%> (ø)

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


Exception raised when mapping to different types on After in 1.6

0c9022766dea1df77f72ee9b650e977273ae55f4 added a feature that throws an exception when After event is already registered, but now an exception is raised even where it should not be, i.e.:
Mapper.Register<A,B>()
.Member(dest => dest.b, src  => src.a)
.Ignore(dest=>dest.c)
.After((src, dest) => dest,d => src.c * 2)

Mapper.Register<A,C>()
.After((src, dest) => dest,b => src.c)

throws an exception where there should be none.

Sry, a mistake on my end. Multiple afters on same mapping cause an issue.


Opening source provider tab freezes on multi folder workspace

Issue Type: Bug
I have a workspace with 50+ folders. When opening the SCM tab for the first time the window freezes for about 1 min
Then the functionality is correct
I'm currently using the WSL2

VS Code version: Code 1.47.0 (d5e9aa0227e057a60c82568bf31c04730dc15dcd, 2020-07-09T08:02:06.629Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.84-microsoft-standard

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.86GB (2.90GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 4.19.84-microsoft-standard

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3695)

Memory (System)
5.81GB (1.53GB free)

VM
0%

Extensions (25)

Extension
Author (truncated)
Version

lit-html
bie
1.11.1

vscode-eslint
dba
2.1.6

gitlens
eam
10.2.2

EditorConfig
Edi
0.15.1

json-tools
eri
1.0.2

prettier-vscode
esb
5.1.3

vscode-peacock
joh
3.7.2

chat
kar
0.35.0

git-graph
mhu
1.24.0

vscode-autoprefixer
mrm
3.0.1

vsliveshare
ms-
1.0.2427

vsliveshare-audio
ms-
0.1.85

vsliveshare-pack
ms-
0.4.0

vscode-xml
red
0.13.0

salesforce-vscode-slds
sal
1.1.0

vscode-peacock
joh
3.7.2

vscode-docker
ms-
1.3.1

remote-containers
ms-
0.128.0

remote-ssh
ms-
0.51.0

remote-ssh-edit
ms-
0.51.0

remote-wsl
ms-
0.44.4

vscode-remote-extensionpack
ms-
0.20.0

debugger-for-chrome
msj
4.12.9

material-icon-theme
PKi
4.2.0

material-theme
zhu
3.8.3

To create a CPU profile using developer tools in VS Code:

select Help > Toggle Developer Tools
click on Profiles
click the start button
reproduce the issue
wait for some time (10-20 seconds should be enough)
stop the profiling
click the save button and attach the output file to this issue

Hello joao, sorry for the delay in the response, I was on vacation and could not reproduce it until now.
I tried running the profiling:

After running for 130 seconds of having a "blank screen" all the repo appears
After 180 seconds, the windows starts to respond but with a huge delay
After 220 seconds, the window starts to work as expected, with some delay but I think is due to the profiling

Profile-20200722T004648.zip

Thanks for the profile!

OK the current fix should've improved the perf here considerably.
Once this is out in Insiders, can you give it a try @mnunezdm? Thanks!

I do get a ton of possible leak warning spam when I open a workspace with many folders that have git repos. I won't open an issue for it, because these are often false positives, unless you want one @joaomoreno


Updated "retrying" log message when BackoffFunc implemented

The "client/metadata retrying" log message was always reporting
the sleep duration as config.Metadata.Retry.Backoff, regardless
of whether config.Metadata.Retry.BackoffFunc is implemented.
We now report the actual retry time before sleeping.

Just signed the CLA - closing PR and re-submitting.


create upsert for deltahandle

I will wait for #143 before merging.... this PR and 143 needs to be alligned regarding ThHandler.


fix jitter on missing frame

render_stream needs to be called on every xr frame, even if there's no decoded frame to display. render_stream handles the reprojection when hardware_buffer is null.
also going back to last_good_views instead of swapchain_idx based hash maps, as these didn't work well, apparently

👍


svelte / setFields not working

Describe the bug
Essentially I'm having troubles get the data back in the inputs.
const { form, data, setFields, reset, setData, setInitialValues, handleSubmit } = createForm({
initialValues: {
     name: '',
}
})

const onClickEdit = async (id: string) => {

	const { data, error } = await categories.find(id);

        // this doesn't change the data on the input
	setData({
		name: data?.name,
	});

        // this doesn't change the data on the input
       setFields('name', data?.name, true)

       // this does work and I get data on inputs, but can't use the reset() afterwards to get back to blank state
       setInitialValues({
		name: data?.name,
	});
}

Basically trying to get the field to load the data on editing
<form class="flex flex-col" use:form>
	<label for="name">Name</label>
        <input type="text" name="name" />
</form>

Which package/s are you using?
felte (Svelte)

Hey! Do you have a REPL reproduction? This works for me in the REPL: https://svelte.dev/repl/bb45eaf5b54745d98ea074167e278bdd?version=3.55.1
What are you trying to do?

@pablo-abc here is a modified version of something I'm trying to do with felte's setFields and havent been able to do it gracefully.
https://svelte.dev/repl/284ff1438c6a4990ac370b2db27efaee?version=3.55.1
To workaround this I had to call setFields for both inputs.

Seems the functionality is broken when the form isn't yet rendered. Attempting to set the fields of a form that's not yet connected to the DOM will throw no errors, but have no effect.
It may be necessary to create the form before connecting it to the dom, for example, to pass to other components or to prefill it with data before rendering it to the user.

A form needs to exist and be connected before anything else happens.

Thanks for clarifying. How does the lack of DOM elements prevent the state from being updated? Couldn't the fields read their values from the store once they're connected to the DOM?


Candidate Board rights for the Room Duty tool

As of right now we, the candidate board, don't have the full rights for the room duty tool. I'd like to be able to create new weeks and print them so that I won't have to rely on Jotte doing those all the time

We can easily add this, however we do not filter on the candidate board for permissions anywhere else in the website. I believe in most cases we assume that the board gives the candidate board "board rights" on the website at some point, after which this is not an issue. Do we think that it is worth it to make an exception in this case, and grant the candidate board rights for the room duty always?

I guess btw that we can drop the require_bestuur from schema_print, since the assignees are semi-public information anway.

That last thing is true. As for the other stuff, difficult. I think there is enough time after the board weekend (after which the candidates get full access) to work with these features. Before that, the board is responsible and will have to do the mentioned tasks.

I'm closing this as wontfix due to the reasons specified earlier:

Board can create weeks/etc and add CB to the tool to fill in their availability
There are a lot of other features of the website also limited in the same way (board only until the CB gets rights)
CB gets privileges on the website at some point anyway

I have created a new ticket (#394) for the schema_print rights.


This branch is 3 commits ahead of, 2723 commits behind geode-sdk/geode:main.

yeah uh

it ain't gonna be done right away my dude

honestly good luck

honestly good luck

thanks, gonna need it :D


processor.go:27-27: never process a request twice

The puzzle 7-2980fcfe (from #7) in worker/processor.go (lines 27-27) has to be resolved: "never process a request twice"
The puzzle was created by Felix Neumann on 27-Aug-17.
Estimate: 0 minutes, role: IMP.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Duplicate -> closed


Blazor: Unable to import .NET dll: Fatal error in IL Linker

Describe the bug
Deciding to try out what Client-Side Blazor with WASM is capable of, I tried to include one of our companies standalone DLLs and run some functions from it. However, instead I have been getting an IL Linker error at build time and could not get it to work.
1>Duplicate preserve in resource mscorlib.xml in mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e of System.Threading.WasmRuntime (All).  Duplicate uses (All)
1>Fatal error in IL Linker
1>
1>Unhandled Exception: Mono.Cecil.ResolutionException: Failed to resolve System.CodeDom.Compiler.CodeDomProvider
1>   at Mono.Linker.Steps.MarkStep.HandleUnresolvedType(TypeReference reference)
1>   at Mono.Linker.Steps.MarkStep.MarkSecurityAttribute(SecurityAttribute sa)
1>   at Mono.Linker.Steps.MarkStep.MarkSecurityDeclaration(SecurityDeclaration sd)
1>   at Mono.Linker.Steps.MarkStep.MarkSecurityDeclarations(ISecurityDeclarationProvider provider)
1>   at Mono.Linker.Steps.MarkStep.MarkAssembly(AssemblyDefinition assembly)
1>   at Mono.Linker.Steps.MarkStep.InitializeAssembly(AssemblyDefinition assembly)
1>   at Mono.Linker.Steps.MarkStep.Initialize()
1>   at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
1>   at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
1>   at Mono.Linker.Pipeline.Process(LinkContext context)
1>   at Mono.Linker.Driver.Run(ILogger customLogger)
1>   at Mono.Linker.Driver.Execute(String[] args, ILogger customLogger)
1>   at Mono.Linker.Driver.Main(String[] args)

The Target-DLL was built for .NET 4.5 and only references System, System.Data, System.Xml and Microsoft.VisualBasic.
Assuming that the WASM-Example loads a full Mono-Environment (as I understand it), it should be able to work with any DLL - But here, it seems that the Problem is the Linker.
Sadly, i am not able to provide the DLL in question, but maybe anyone has an Idea as to what is going on here.

Thanks for contacting us, @Z3roCoder.
Can you try disabling the linker and see whether that works?
Simply set the BlazorLinkOnBuild property to false as shown below:
<PropertyGroup>
  <BlazorLinkOnBuild>false</BlazorLinkOnBuild>
</PropertyGroup>

Please note that Blazor WebAssembly apps run within the browser security sandbox so you won't be able to do operations which require elevated privileges (access files on disk, connect to database, ...).

Hello, and thanks for you reply.
I've tried this by now and am now facing another issue.
My library uses CodeDom, which seems to not be supported by .NET Core - I think that might have been the issue in the first place as well.
Is there any way to get this to work, or do I need to rewrite the library to discard CodeDom in favor of, say, Roslyn?

@Z3roCoder have you tried to add a reference to the System.CodeDom NuGet package?

Hello,
yes, I have added it and am still receiving the same Error as before

In the end, I - for now - decided to drop the CodeDom and removed the parts that referenced it in my Library, and it seems to be working now. I don't know if that is a general issue, but if not, you can close the Ticket - If it is, I am happy to see it being resolved :)

Glad you could work around this, @Z3roCoder.
Given this is not an issue we have control of, we're moving it to the Mono folks.

This issue was moved to mono/mono#15404


Snapcraft recipe to auto build snap package of Librespot example app

Hello! I added snapcraft recipe to build librespot example app snap to the snap store - see https://snapcraft.io/docs/releasing-your-app if you want publish librespot client app to snap store and reach million more Linux users :)
This merge simply adds the snap build recipe to your repo which will be picked up by the auto-build system of snapcraft.io if you register a namespace librespot there.
If you want me to publish on your behalf and manage the snap for your repo in Snapstore let me know. The published app can be transferred to the real owner(you) anytime.
Thanks for making a great Spotify client library & app <3

Thanks for your PR. I have no experience with Snapcraft, can anyone else chime in whether we'd want this or not? Maybe also in relation to #727.

@roderickvd I have no experience with snap either but form what I understand it's much like flatpak in that it's pretty common for the flatpak stuff to be a separate repo not necessarily maintained by the main project. That would prevent you guys from having to maintain something you don't use and really don't know anything about.

I'm still on the fence and leaning towards not doing this. I mean we package and distribute through crates.io which is fine for our purposes. We then get picked up by other applications that redistribute by their own means, or by audio distributions like moOde. These channels make more sense to me then redistributing librespot as-is over Flatpak or Snap which seem more geared towards end-user applications.
If there are others who want to repackage librespot then that's more than fine but the way I see it, that should not impose a maintenance requirement in our code tree.
Any arguments in the other direction?

If there are no other takers, I will be respectfully closing this PR. Thanks for your contribution nonetheless. Perhaps you could do the same for the downstream packages, that should be better suited to be offered as an integration application? If anyone else feels differently then we can reconsider it.


Allow requires_ancestor block to return a T.class_of object

Closes #4835.
This PR allows users to return T.class_of objects from the block of requires_ancestor. Using this functionality, users can now verify inheritance from a singleton class, rather than just a class or module, which is a feature that has been widely requested (see #4835).
Motivation
Currently, requires_ancestor will not work if you try to return a singleton class/T.class_of object from its block argument. This prevents users from ensuring inheritance from a singleton class, which is useful in cases like this:
module MyHelper
  extend T::Helpers

  requires_ancestor { T.class_of(MyBaseClass) }

  def helper
    my_singleton_method
  end
end

class MyBaseClass
  class << self
    include MyHelper

    def my_singleton_method; end
  end
end

Test plan
Automated tests have been added and updated to reflect this change.

@jez I'll make a follow up PR addressing your comments!


build: update zlib-ng to latest.

Signed-off-by: Piotr Sikora<EMAIL_ADDRESS>

LGTM

It looks like my PR upstream might actually be merged soon, so let's wait for it.

It looks like my PR upstream might actually be merged soon, so let's wait for it.

Actually, I might have underestimated the turnaround time on that PR. Let's merge this as-is, and in the worst case I'll include a 6-line patch in the PR that depends on it.

/lgtm deps


File naming

Any idea why the file name is different when accessed directly via the backup folder, compared to the UI?, it makes it difficult if trying to restore a full system config on a new install if the system crashed.
Backups UI

Backups folder

When copying the files to the share, Samba Backup renames the files to the name that is shown in the UI.

Are you saying the above is what should happen?, as this is not the case.

When copying the files to the share, Samba Backup renames the files to the name that is shown in the UI.

Is it possible to add Full/Partial to the name when copied to the share?

Yes, just include {type} in the backup_name option
--> https://github.com/thomasmauerer/hassio-addons/blob/master/samba-backup/DOCS.md#option-backup_name

Yes, just include {type} in the backup_name option

Awesome, thanks for the quick response.

After adding {type}, will the output be as below?
Samba_Backup_Full_2022_09_30_02_55.tar

Also, would it be possible to add a file size sensor for the backup file?, or is the another way within HA?


couchdb 3.3.2 is latest

There is also a version in https://github.com/apache/couchdb/blob/main/version.mk


Web - Split Bill - No details shown on split bill details page of a new user (only profile picture is shown)

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to staging dot on web chrome
Create a group with some new users that you've not chatted before
Click on split bill and enter an amount
Notice that on the split money page , no email id or display name is shown and only the picture is shown

Expected Result:
Details shown on split bill details page of a new user
Actual Result:
No details shown on split bill details page of a new user (only profile picture is shown)
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/e9b8b6bd-1898-4d49-a780-29e1a1cd2136
https://github.com/Expensify/App/assets/93399543/5fea8676-6620-41de-93cd-f928f73f9ed8
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686991361366049
View all open jobs on GitHub

Gonna remove the blocker label since we've fixed this issue here. We're still working on a polish item, but that's no longer a blocker.


fix 44422

Fixes #44422

But Where should we add the test? Could we add the test now?

Oops, sorry I didn't see this. I ended up fixing this separately in #44443. The test is very tricky -- since it's a problem with the API, and wouldn't show up in our baselines, I created a unit test in src/testRunner/unittests/publicApi.ts

Good work


Add back comment that was removed in #629

In #629 a comment was removed that causes the pipeline to fail, because the importmap file cannot be included. This PR adds the comment back.

Issue already adressed in 2f25fac
I'm closing this one then.


Release MRTK3 Packages at commit d9ff8b0

This is tracking the release of packages at commit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/commit/d9ff8b079f8de0c43348ab8c1f3952c6ced2a483
Draft release
https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/releases/tag/untagged-351a9114a3fc7174f496

@MixedRealityToolkit/mixedrealitytoolkit-unity-maintainers  please add a sign-off comment once your organization approves release.

Qualcomm: @keveleigh or @david-c-kline
Magic Leap: @whebertML  or @ghazen-ml
Microsoft: @shaynie  or @AMollis

@AMollis   Tested release tarballs on ML2, all works as expected.  Approved.

[like]  Scott Haynie reacted to your message:

From: Wyck Hebert @.>
Sent: Thursday, February 1, 2024 9:51:29 PM
To: MixedRealityToolkit/MixedRealityToolkit-Unity @.>
Cc: Assign @.***>
Subject: Re: [MixedRealityToolkit/MixedRealityToolkit-Unity] Release MRTK3 Packages at commit d9ff8b0 (Issue #628)
@AMollishttps://github.com/AMollis Tested release tarballs on ML2, all works as expected. Approved.
—
Reply to this email directly, view it on GitHubhttps://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/issues/628#issuecomment-1922314122 or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACJLNPAVTC5UXLB6MNVAUOLYRQE6FBFKMF2HI4TJMJ2XIZLTS6BKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVI2TOOBXGUYDINBTHCSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRVHAZTMOJRHEYDENFENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWVDKOBTGY4TCOJYGA4KI3TBNVS2S2DBONPWYYLCMVWIFJLWMFWHKZNKGU4DKMZTG43DOOJYURXGC3LFVFUGC427NRQWEZLMVRZXKYTKMVRXIX3UPFYGLLCJONZXKZKDN5WW2ZLOOSTHI33QNFRXHFUCUR2HS4DFVJZGK4DPONUXI33SPGSXMYLMOVS2SNRWHEZDKMRXHE3IFJDUPFYGLJLJONZXKZNFOZQWY5LFVIZDCMJSHE3TQNZWGOBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGU3TQNZVGA2DIMZYQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRVHAZTMOJRHEYDENECUR2HS4DFUVWGCYTFNSSXMYLMOVS2UNJYGM3DSMJZHAYDRAVEOR4XAZNFNRQWEZLMUV3GC3DVMWVDKOBVGMZTONRXHE4KO5DSNFTWOZLSUZRXEZLBORSQ.
You are receiving this email because you were assigned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Tested and approved by shaynie

Found a regression: https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/pull/636

Branched, cherry picked #636, and will replace the input tgz in the draft release.

Approved! :shipit:

Released, 2-9-24. https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/releases/tag/core-v3.1.1


Configurable stickers

Make stickers configurable. Probably it's best to use the exact format of RubikPlayer.

I have a hunch that this is going to be really hard. The current WebGL code is assuming it can identify a cubie by looking at the color!

When you say color, do you mean the color of the sticker or the color attribute in the Cube class? The color attribute isn't rendered to screen and is just used for picking (figuring out which cubie has been selected); its rgb value is independent of the sticker color. The stickers are actually geometry (which is kind of gross), and they have their own color values.

I mean color of the sticker. Well, that is certainly good news. I'll have less problems implementing it then.
Tiffany Wang<EMAIL_ADDRESS>wrote:

When you say color, do you mean the color of the sticker or the color attribute in the Cube class? The color attribute isn't rendered to screen and is just used for picking (figuring out which cubie has been selected); its rgb value is independent of the sticker color. The stickers are actually geometry (which is kind of gross), and they have their own color values.
—
Reply to this email directly or view it on GitHub.￼

What color (letter) is for grey? Are there available other colors? See issue no. 39

Grey is 'x'. You will need exactly 54 color characters like
'rrrrrrrrrggg...'
On May 20, 2015 2:30 AM, "bcube2"<EMAIL_ADDRESS>wrote:

What color (letter) is for grey? Are there available other colors? See
issue no. 39
—
Reply to this email directly or view it on GitHub
https://github.com/blonkm/rubiks-cube/issues/21#issuecomment-103777993.


Converting model.h5 to model.json

Thank you both for the great code and documentation! I am starting to learn about VQA and I chose this repository as the most convenient to start with.
I was playing around with train.py. Since the resulting file is only model.h5, I tried to convert this model.h5 to json afterwards.
When I try
tensorflowjs_converter --input_format=keras model.h5 tfjs_model
this says
ModuleNotFoundError: No module named 'tensorflow.compat.v2'
Since I did not manage to fix this after many attempts, I wanted to ask you if there is some other way to convert h5 to json so that it is recognised by your easy-VQA-demo ?
I tried dumping json immediately in train.py (after invoking fit function), but the resulting json had fewer lines and was not recognised by easy-VQA-demo. I also tried with h5-to-json module, but the resulting json had around 20MB (and the one that was in easy-VQA-demo/public/model.json had around 9kB only).
May I ask you for your help on this one?
Many thanks and keep up the great work!

tensorflowjs had to be 1.4.0, keras 2.3.0


How to sign MediaPackage/Cloudfront URLs?

Is your feature request related to a problem? Please describe.
I am using the MediaPackage flow and I want to sign the generated media package URL using Cloudfont Signed URLs. I already created the CloudFront keys and updated my distribution with the self as a trusted signer. But I am kinda lost when It comes to editing the source code to created the signed URLs. It would be a great help If anyone can guide me on which file to edit.

The output validate step in the publishing workflow is the step that will generate the CloudFront URLS this is a lambda function so you will need to update this to generate the signed URLs.
https://github.com/awslabs/video-on-demand-on-aws/blob/master/source/output-validate/index.js
There's a good example here on how to generate URLs:
https://aws.amazon.com/blogs/developer/creating-amazon-cloudfront-signed-urls-in-node-js/
hope this helps

So, I don't need to edit anything in the https://github.com/awslabs/video-on-demand-on-aws/blob/master/source/media-package-assets/index.js as I'll be using the media package output URLS??

Hi, @tomnight I am stuck with the same. Can you guide us?

Hi Sorry for the delay,
The mediapackage-assets lambda function creates the URLs for the mediapackage endpoints, so yes you would need to update this to convert the URLS to signed URLS.
The only difference I would make to the example I gave above is I would recommend that you store the private key in secrets manager and the function to:

get the private key.
generate the signed URLS.
update the egressEndpoints object in the data returned by the function with the signed URLs


Implement subtitles schema [WIP]

Link the Issue(s) this Pull Request is related to.
Closes #62
Summarize your change.
This PR adds basic support for Subtitles. I've based it on what I understood from TTML2 and from my experience with Premiere Pro. I've summarized the changes in the issue (#62). Here's an image summarizing the changes (Note change: SerializableObject instead of SerializableObjectWithMetadata):

Some concerns:

I think storing a Style object with each TimedText is wasteful, but decided to have this approach because we don't have id system in otio yet. In TTML2 there's a section to specify all styles and then refer then in each TimedText. With the current approach conversion from otio to say TTML2 won't be so direct because we don't have a single set of styles. One other thing I thought of was to have a list of styles inside Subtitle and then have a string id in each TimedText. But then each TimedText object will have no style meaning independently/outside the Subtitle. Thoughts?

What are Markers used for? Each marker has a markedRange. When we trim an Item or change the sourceRange shouldn't the markedRange of the markers at the start or end of the Item also change? I couldn't find anything that does something like this. Or is this handled in another way? Why I'm asking is if we trim the Subtitle or change its sourceRange, the ranges of TimedTexts at the start or end might change.

Reference associated tests.
Will be added later.

Similar to ImageSequenceReference, I wonder if implementing this in an adapter to try out the ergonomics might be a good idea? Also, it might be useful to see some examples of use cases and the code it takes to achieve them using the schema. In ImageSequenceReference, @apetrynet did a lot of iterations trying it out to make sure it worked like he expected and that really helped us make sure we had a usable schema.

A usage example could be to write an adapter that can use the Subtitle Schema and write out a sub format that ffmpeg supports. I don't think ffmpeg supports TTML2 so converting to srt or something with an adapter might be a good test.

Yes, I was thinking of an srt adapter. Was waiting to hear others' thoughts on the parameters I've included and if we need to implement any other functionality.
I'll write a simple srt adapter and get back to you.

@apetrynet @reinecke I've implemented an srt adapter.
The tests pass for python3, but there are some extra carriage returns added to the strings with python2. Any idea why this is happening?

Codecov Report

Merging #805 into master will decrease coverage by 1.61%.
The diff coverage is 54.85%.

@@            Coverage Diff             @@
##           master     #805      +/-   ##
==========================================
- Coverage   84.02%   82.40%   -1.62%
==========================================
  Files          74       80       +6
  Lines        3124     3263     +139
==========================================
+ Hits         2625     2689      +64
- Misses        499      574      +75

Flag
Coverage Δ

#py27
?

#py37
?

#py38
?

#unittests
82.40% <54.85%> (-1.78%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/opentimelineio/timedTextStyle.h
0.00% <0.00%> (ø)

src/opentimelineio/subtitles.h
3.44% <3.44%> (ø)

src/opentimelineio/subtitles.cpp
38.46% <38.46%> (ø)

src/opentimelineio/timedText.h
46.15% <46.15%> (ø)

src/opentimelineio/timedTextStyle.cpp
58.33% <58.33%> (ø)

src/opentimelineio/timedText.cpp
66.66% <66.66%> (ø)

src/opentimelineio/typeRegistry.cpp
85.29% <100.00%> (ø)

...entimelineio-bindings/otio_serializableObjects.cpp
95.82% <100.00%> (+0.40%)
:arrow_up:

...ntimelineio/opentimelineio-bindings/otio_utils.cpp
86.74% <0.00%> (-0.61%)
:arrow_down:

... and 25 more

Continue to review full report at Codecov.

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

I changed os.open() to io.open() and it worked. But I have no idea why :/

Timeline:
    Track1: [----Subtitles----]

If I have something like this and I do:
Timeline.children_if(descended_from=otio.schema.Subtitles)
This returns [Track1, Subtitles]. Is this the intended behaviour? Shouldn't it return just Subtitles?
@darbyjohnston @meshula


update to version 0.2.0 from 0.1.2

Trait Encoder<TestCommunication> is not implemented for BincodeSerdeCodec [E0277]
Trait Decoder<TestCommunication> is not implemented for BincodeSerdeCodec [E0277]

Somehow I only saw this now, sorry!
I'm afraid I'm going to need a bit more context for this error.


Point init.spec to the directory's node

Point init.spec to the directory's node
Closes #63

This is a nice, straightforward change!
Can you add an entry to CHANGELOG.md to describe the new behavior?

This is a nice, straightforward change!
Can you add an entry to CHANGELOG.md to describe the new behavior?

Done.


[TIPC]Support @to_static training for BMN

此 PR 基于新Benchmark规范实现了 @to_static 动转静训练监控机制，在现有的功能上，为兼容性升级。
1. 使用方法
在动态图训练的基础上，开启动转静训练的方法如下：

配置参数名：to_static（不能拼写错误，大小写敏感）

bash test_tipc/benchmark_train.sh /workspace/PaddleVideo/test_tipc/configs/BMN/train_infer_python.txt benchmark_train to_static

2. 在具体的train_infer_python.txt中，修改第21行参数新增动转静参数trainer to_static_train:-o to_static=True
此处会复用trainer:norm_train的配置，在其后追加-o to_static=True 来实现开启动转静训练，以保证动转静训练和动态图训练的基本配置参数是对齐的。


Compile cmd. Contracts dir subdirectories lookup

That was tested locally, by creating a contracts dir in the root and creating sub subdirectory with test.cairo inside.
As expected two artifacts were created.

Thanks!


Data generation, blank line in between

two-param fixed -- 0b3f27955484048977daa10c18b50a5c3c4a74ae
multiparam to be fixed

deprecated, now a more profound way of generating the data, or you just paste the list of your desire


greetd.greetd: 0.9.0 -> 0.10.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/greetd/versions.
meta.description for greetd.greetd is: Minimal and flexible login manager daemon
meta.homepage for greetd.greetd is: https://sr.ht/~kennylevinsen/greetd/
Updates performed

Rust version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.10.0 with grep in /nix/store/5y61dk5yx0hkg8aq6rrv7b7wqsml175w-greetd-0.10.0
found 0.10.0 in filename of file in /nix/store/5y61dk5yx0hkg8aq6rrv7b7wqsml175w-greetd-0.10.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

greetd.greetd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5y61dk5yx0hkg8aq6rrv7b7wqsml175w-greetd-0.10.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A greetd.greetd https://github.com/r-ryantm/nixpkgs/archive/9e9ad7ac8be4956d81977dc0b05202dd234f83f2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9e9ad7ac8be4956d81977dc0b05202dd234f83f2#greetd.greetd

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5y61dk5yx0hkg8aq6rrv7b7wqsml175w-greetd-0.10.0
ls -la /nix/store/5y61dk5yx0hkg8aq6rrv7b7wqsml175w-greetd-0.10.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

greetd.greetd

Maintainer pings
cc @luc65r for testing.

https://github.com/NixOS/nixpkgs/pull/312490


Article exception errors with Wall Street Journal

I've been trying to parse wsj.com files using the following script:
def news_vocab(url, memo):
  paper = newspaper.build(url, memoize_articles=memo)
  articles = []
  article_vocab = []
  for article in paper.articles:
    print(str(article.url).encode('utf-8'))
    try:
      ar = Article(article.url)
      art = []
      ar.download()
      ar.parse()
      authors = ar.authors
      article_text = ar.text
      ar.nlp()
      keywords = ar.keywords
      summary = ar.summary
      art.append(authors)
      art.append(article_text)
      art.append(keywords)
      art.append(summary)
      articles.append(art)
    except:
      print("Article exception error.")
  return articles

Some of the URLs I've received the error on are:

http://www.wsj.com/articles/open-water-vs-flat-water-rowing-whats-the-difference-1467639001?tesla=y
http://www.wsj.com/articles/new-california-law-lowers-the-bar-for-gun-seizures-1467409616
http://www.wsj.com/news/world/middle-east

I'm not really sure how to go about diagnosing this error, so any would be much appreciated!

Hi, first we need to know what exception you're getting...
Can you try running the same without the try/except block, and post the result?
On a general note - a raw except: without any output or logging is never a good idea... it will swallow any exceptions including stuff resulting from simple typos, or pressing ctrl+c to stop the execution, etc.
In this case it makes it impossible to debug.
Assuming you want to catch all exceptiions, it's probably a good idea to change the except block to something that prints or logs the actual exception and traceback, for example:
import traceback

try:
    print('do stuff here')
except Exception as e:
    print(e)
    traceback.print_exc()

I think you're right! I've run about 200 articles and have not run into an error... I think it was a misplaced package import!


wait for catalogsource pod deletion

Signed-off-by: akihikokuroda<EMAIL_ADDRESS>
Description of the change:
Add code that wait for deletion of the catalogsource pod in the CatalogSourceCleanupFunc.
Motivation for the change:
Possible fix for issue https://github.com/operator-framework/operator-lifecycle-manager/issues/2440
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive

I think these changes look reasonable to me, so I'll preemptively tag it while we wait for e2e run - we'll have to chase down an approver next week before it can merge.
/lgtm

How can I rerun the failing test?

@akihikokuroda I'm not entirely sure what kind of repository permissions you would need to restart checks unfortunately - I'm going manually recycle them as the workflows in this PR have been renamed.

/lgtm

/retest

@akihikokuroda Can you rebase this when you get a chance? I think this is ready to go but I don't want to tag this PR with a lgtm and have the openshift-bot spam retest commands in the meantime.


[test-only] apiTest. user cannot find not shared data

I added case for https://github.com/owncloud/enterprise/issues/6000 issue

Others related issues covered by this test case: https://github.com/owncloud/ocis/issues/7092 and https://github.com/owncloud/ocis/issues/7028


Handle the case of invalid file path.

Handles the case of invalid file path
Fixes: #24

You are welcome 😃

@nikku Any news on the PR?


Fix typo in error message

Error message for scale-in command actually says "You must set either -count or -percent flag to scale-out"

thanks @uzzz


DPE command validation and DeriveChild changes

This contains-
•Test all failure cases defined in the DPE iRoT Profile

Added a failure check in the initialize context and getcertificatechain command. Other fail checks are already present in the code which I have tested.

•For all input enums/flags for all DPE commands, ensure there is a test case for each permutation.
•Add tests to ensure localities are properly isolated from each other for all commands

I have done testing on separate localities in simulator side (TestInitializeContext using multiple localities)

The code for separating localities is already there in the command file. Just checked that the initialize context is called for each locality.

In emulator side, we are not setting any locality to the DPE instance when executing commands.

•Validate proper behavior to against the feature support matrix (exposed by GetProfile)

Validated the getprofile modes for both simulator and emulator using code from this

•DeriveChild  - Test limits on number of DeriveChild calls

Have checked whether proper error is reported when number of derived child exceed MAX TCI nodes

•Test that DeriveChild privileges (like ALLOW_CA) are correctly bounded and that a DPE context cannot escalate its privileges

Multi Tcb validation for matching TCITYPE passed to Derive child request
Have checked whether the proper error is returned when feature flags are set in derived child context but not supported by parent context

Query:
In fail cases of getcertificatechain command, spec says 'If OFFSET is larger than the full certificate chain, this API shall return DPE_STATUS_INVALID_ARGUMENT'
But,
The full cert chain size is computed in runtime, by repeated calls to GetCertificateChain()
So, we can't check if offset > fullcertchainsize
This can be checked only if we pass a negative test input like
cases := []GetCertificateReq{
{size: 2048, offset: 100000},
{size: 2048, offset: 100000}, // Negative case.
}
So, should we write a negative test case like this?

Have incorporated latest pattern changes in PR

@sree-revoori1 Can you please review and let us know the comments on this PR?


Link posts doesn't show OP content but the website content instead

I discovered if a post with link is present, the server tends to load the link instead of the post itself. This make me confused as usually the OP was posting to ask question, not advertising.
Might be related to #5.
See image for reference.
Post on the RSS reader:

Post on Reddit (not shown on the feed):

The website content (get to be shown on the feed):

Also this doesn't work on Twitter for some reason. It's the opposite of things we want to see. I will do some more testing of this.


Fix the tests since webexport file hosting is no longer available.

The commit history is a bit messy since I accidentally added this to a branch where I had merged in PR #196.
I reverted them and could rebase them if we want a prettier history, but this is more honest.
The fasta file is used to generate the star-index instead of including it in the testdata. This makes the test take a bit longer but it saves enough space to include the test data in the repo itself instead of relying on external file hosting.

+1 for rebasing 😆

Rebased, a little less hideous now @ewels

Tests passing! 🎉