When creating a k3s cluster without specifying ssh key, the cluster creation will fail.

Autok3s version:
Version: {"gitVersion":"v0.3.0-rc1","gitCommit":"4b82f5e5114e234da010e07e755b532e31c94bc9","gitTreeState":"","buildDate":"2020-12-15T06:16:35Z","goVersion":"go1.13.12","compiler":"gc","platform":"darwin/amd64"}

**Steps to reproduce: **
When creating a k3s cluster without specifying ssh key, the cluster creation will fail. The default ssh key directory is missing
ksd@Ksd  ~/Downloads  autok3s create --debug \
    --provider native \
    --name native-1 \
    --ssh-user ubuntu \
    --master-ips <IP_ADDRESS> \
    --worker-ips <IP_ADDRESS>
INFO[0000] [native] executing create logic...
INFO[0000] [native] executing init k3s cluster logic...
INFO[0000] [native] creating k3s master-1...
DEBU[0000] [cluster] k3s master command: curl -sLS http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn INSTALL_K3S_REGISTRIES='' K3S_TOKEN='38d53de2e0c99619c448aa66d3bec874' INSTALL_K3S_EXEC='server --cluster-init --tls-san <IP_ADDRESS> ' INSTALL_K3S_CHANNEL='latest' sh -
ERRO[0120] [dialer] failed to open ssh tunnel using address [<IP_ADDRESS>:22]: [dialer] calling openTunnel error. address [<IP_ADDRESS>:22]
INFO[0120] [native] executing rollback logic...
DEBU[0120] [native] nodes [192-168-64-33 192-168-64-34] will be rollback

Test passed.
 ksd@Ksd  ~  autok3s create --debug \
    --provider native \
    --name native-1 \
    --ssh-user ubuntu \
    --master-ips <IP_ADDRESS>
INFO[0000] [native] executing create logic...
INFO[0000] [native] executing init k3s cluster logic...
INFO[0000] [native] creating k3s master-1...
DEBU[0000] [cluster] k3s master command: curl -sLS http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn K3S_TOKEN='4a04f21ca33c6ebe8cd1395f1f925109' INSTALL_K3S_EXEC='server --tls-san <IP_ADDRESS> --node-external-ip <IP_ADDRESS> ' INSTALL_K3S_CHANNEL='stable' sh -
[INFO]  Finding release for channel stable
[INFO]  Using v1.19.5+k3s2 as release
[INFO]  Downloading hash http://rancher-mirror.cnrancher.com/k3s/v1.19.5-k3s2/sha256sum-amd64.txt
[INFO]  Downloading binary http://rancher-mirror.cnrancher.com/k3s/v1.19.5-k3s2/k3s
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
[INFO]  systemd: Starting k3s


Powered furnace crashes when using the bumblezone

crash-2023-12-13_14.11.23-server.txt

This might be bug with Bumblezone: e.g. some Smelting recipes are not shown in REI [Honey Block to Sticky Honey Residue], because the class com.telepathicgrunt.the_bumblezone.items.recipes.ItemStackSmeltingRecipe extends net.minecraft.world.item.crafting.AbstractCookingRecipe but should extend net.minecraft.world.item.crafting.SmeltingRecipe. Please create an issue here: https://github.com/TelepathicGrunt/Bumblezone and add a link to this issure.

I have already created the issue. The game will also crash if you but a Honey Block in an Electric Furnace from Tech Reborn.

The bug should be fixed in Bumblezone. A new Bumblezone release should be released in the near future.

The bug was fixed in the Bumblezone in v7.2.9


SUBSTRING FromUtf8Error

Describe the bug
Call SUBSTRING on CJK chars results in FromUtf8Error.
To Reproduce
Steps to reproduce the behavior:
SELECT SUBSTRING("这是一个中文句子", 1, 5) AS extract

Expected behavior
The result should be 这是一个中.
GQL (please complete the following information):

Version 0.17.0

Fixed

Thank you for reporting, will be on next release


Adjust KHR_texture_transform offset for non-zero rotation center

Forum issue: https://forum.babylonjs.com/t/sandbox-the-khr-texture-transform-property-of-gltfexport-cannot-be-exported/55425

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/16015/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/16015/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/16015/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/16015/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/16015/merge
https://gui.babylonjs.com/?snapshot=refs/pull/16015/merge
https://nme.babylonjs.com/?snapshot=refs/pull/16015/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/16015/merge#BCU1XR#0

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/16015/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/16015/merge/testResults/webgpuplaywright/index.html

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/16015/merge/testResults/webgpuplaywright/index.html


ARTEMIS-3343 throw exception on duplicate address-setting match

What happens if i have foo and foo#...

@michaelandrepearce since "foo".equals("foo#") evaluates to false there would be no error on that case.


Ability to use Custom DNS

You can use your custom domain. See Using your custom domain in the readme


stack2nix fails to build

$ uname -a
Linux arian 4.4.0-91-generic #114-Ubuntu SMP Tue Aug 8 11:56:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

nix-env -i stack2nix

building path(s) ‘/nix/store/lxvwgs0ff8q4cbbyw44pv2nrmxb9nyb4-stack2nix-<IP_ADDRESS>’
setupCompilerEnvironmentPhase
Build with /nix/store/qixzv1h36s19zzdy60jpdyz0hrqhhps3-ghc-8.0.2.
unpacking sources
unpacking source archive /nix/store/lzva8i5xmrhj20rjjjcwjb561fncafjz-stack2nix-<IP_ADDRESS>.tar.gz
source root is stack2nix-<IP_ADDRESS>
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file stack2nix-<IP_ADDRESS>/stack2nix/Main.hs
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-stack2nix-<IP_ADDRESS>.drv-0/package.conf.d -j4 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-stack2nix-<IP_ADDRESS>.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/lxvwgs0ff8q4cbbyw44pv2nrmxb9nyb4-stack2nix-<IP_ADDRESS> --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-stack2nix-<IP_ADDRESS>.drv-0/package.conf.d --ghc-option=-j4 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-library-vanilla --disable-executable-dynamic --enable-tests --ghc-option=-split-sections
Configuring stack2nix-<IP_ADDRESS>...
Setup: Encountered missing dependencies:
Glob >=0.7.14 && <0.8
builder for ‘/nix/store/lvh2mjx9rfgqxrjpq5sdywgfx2f0dbbc-stack2nix-<IP_ADDRESS>.drv’ failed with exit code 1
error: build of ‘/nix/store/lvh2mjx9rfgqxrjpq5sdywgfx2f0dbbc-stack2nix-<IP_ADDRESS>.drv’ failed
╭─arian@channable-desktop  ~

Yeah, it's outdated there. We hope to get another release out in ~week. For now you can use master branch and just do nix-build.

Okay thanks!


Upgrading libraries in magpiego

Description
Upgrading most libraries in magpiego because I have seen some logs like below:
time="2023-11-22T16:40:54.622702174Z" level=info msg="Error processing operation DaprBuiltInServiceRetries. Retrying in 1s…" app_id=frontend instance=dapr-frontend-7b97774f94-7trcl scope=dapr.runtime type=log ver=1.11.0
Discussion about the error logs: https://github.com/microsoft/azure-container-apps/issues/968
Type of change

This pull request fixes a bug in Radius and has an approved issue (issue link required).
Fixes: #6843

Auto-generated summary

🤖[deprecated] Generated by Copilot at 16987df
Summary
🐐🚀🧪

Updated Go dependencies for MagpieGo test suite. This enhances the testing of the Radius project with the latest Dapr features and fixes.

Oh we're the crew of the MagpieGo, and we test our code with Dapr
We pull the latest SDK, and the UUID, and the Go and Google packages
Heave away, me hearties, heave away
For we're the crew of the MagpieGo, and we make our code run faster

Walkthrough

Update the Dapr Go SDK dependency to v1.9.1 for new features and bug fixes (link)
Update the UUID package dependency to v1.3.1 for a minor improvement in random UUID generation (link)
Update the Go standard library, Google API, and Protobuf packages dependencies to their latest versions for new features, bug fixes, and performance improvements (link)

/ok-to-test

/ok-to-test

/ok-to-test


Rocky 9.1: Unable to load kernel module "ip_tables" automatically

WARN[0036] Unable to load kernel module "ip_tables" automatically "load ip_tables failed: exec format error"

Manually:
modprobe ip_tables

Has no issues

same for ip6_tables.

I'm also seeing this: Ubuntu 24.04 (LTS) x64
WARN[0000] Unable to load kernel module "ip6_tables" automatically "load ip6_tables failed: exec format error"

Tested the same OS version on Equinix Metal and it works fine, so this problem is limited to Digital Ocean for me

These warnings won't prevent you from enjoying clab.


two boxes shown on matching diagnostic when multiple predicates are applied to tags

Tag filtering with complex tag expressions shows two checks when only one tag set is matched ultimately.
originally logged as https://github.com/engineblock/engineblock/issues/179

This seems to work properly in the current version.


Crash upon trying to import object with a single mesh collider

Currently trying to import objects that only have a mesh collider on them and no renderer (Unity-side) causes importer to crash.

Should be fixed in the most recent update.


Passing telescope-options when calling search.

How do I pass the options that the telescope picker would use for my custom tabs?
Consider I have a tab with the following options:
{
    "Files",
     function(opts)
        opts = opts or {}
        telescope_builtin.find_files(opts)
    end
},

The snippet has the variable opts that get passed to the picker. How do I pass those when calling search.nvim from e.g. a hotkey:
require('search').open({ tab_name = 'Files' })

Something like this?
require('search').open({ tab_name = 'Files', opts = { default_text = "default" } })

Also, is there a way to have search.nvim opened again when using telescope.resume()?

As far as I can tell from the code you can't currently pass options like that. Depending on your use case though you could maybe get away with passing options directly like this.
          tabs = {
            { name = "Files", tele_func = function() telescope.find_files({ gitignore = true, default_text = visual_selection() }) end },
            { name = "Buffers",  tele_func = telescope.buffers },
          },

I do this to allow me to search for the currently highlighted text, if I am in visual mode.
This doesn't allow you to pass different options for different key binds though. But I guess if you really want that you could use multiple collections with different settings and bind them to different key binds, until something like you showed is implemented.
The second question I'm not sure about.

Thank you soo much!
I've continued to use the plugin and am more than happy to see this change implemented!!


Button label not rerendering/updating label

Hello,
Following code as set out in example does not re-render the button or update the label.
Code below:
<ModalSelector             style={styles.modalSelector}             data={CategoryData}             initValue="Select Category"             onChange={(itemValue) =>               this.setState(                 {category: ${itemValue.label}},                 console.log('Category changed to: ', itemValue.key),               )             }           />
This is for both iOS and Android.

This was fixed as the initValue cannot be set to a string. If a custom value is needed, use a value from state


Review SSL Certificate verification

https://mkyong.com/java/java-https-client-httpsurlconnection-example/
https://www.rgagnon.com/javadetails/java-fix-certificate-problem-in-HTTPS.html
https://gist.github.com/dentys/1bdd2897a53b1a8b56007a480243c33a
https://wiremock.org/docs/https/
https://gist.github.com/mobmad/433ba54e9cb97d6d7771

https://access.redhat.com/solutions/973783


OpenRC in Parabola GNU system: drive partition refreshing

Since few days ago my Parabola GNU system with OpenRC init system has been suffered against UUID panic in its GRUB, I was needed to probe the new UUID to help to fix that, having probed the new UUID OpenRC doesnt refresh to my new UUID, but how to instruct OpenRC to also refresh this new UUID, that has been manually refreshed under my /etc/fstab?

@hd-scania I don't understand your question. If fstab is correct, that is where OpenRC looks, it just uses mount/umount to control things and they use fstab.
Can you give more information about the issue you are experiencing?

My fstab has been always profound refreshed but,
E: /dev/disk/by-uuid/$MYNEWUUID not found, given up to wait
Now you are dropt into an emergency shell
[root@hd-scania]#

Do I just remount my system using?
# mount /dev/sda6 / -o rw,remount &&

But if this is still failed, I have a Parabola ISO and using arch-chroot command to further fix this.
After entering my Parabola ISO I will be back to here and ask for more here.

https://torrent.resonatingmedia.com/torrents/parabola-openrc-cli-dual-complete-2018.06.11.iso.c939d6fcd1780dac.torrent # done!

as noted, this doesn't sound like an OpenRC issue.  feel free to post more details.


motivation & new paper

Motivation for space-efficiency
referenced our new paper

@1yay1 and @frankkammer could you check it and give some feedback?

Coverage remained the same at 86.246% when pulling 3a06940ddab9b3ac45362d085953ebc2e751d5d0 on motivation into 7d28cd952e8d749a805de0b7a619e7e597b48926 on master.


[RC1] [ionic2] Click event not getting triggered if its in a *ngIf condition

Hi,
If I am biding a click event to an element which is under a if condition in DOM, the events associated with same element are not getting triggered in Android devices, same thing works fine in iOS devices. I have a created a sample git repo to reproduce the same. Please check the home.html and home.ts for the code.
sample code :
home.html
      <ion-searchbar placeholder="Search" [(ngModel)]="myInput" (ionInput)="search($event)" (ionBlur)="onBlur($event)" (ionCancel)="onCancel($event)"> </ion-searchbar>
      <ion-list *ngIf="!isSearchOn">
        <ion-item *ngFor="let emp of selectedEmployees">

{{emp}}

        </ion-item>
      </ion-list>
      <ion-list *ngIf="isSearchOn">
        <ion-item *ngFor="let emp of employees" tappable (click)="itemTapped($event, emp)">

{{emp}}

        </ion-item>
      </ion-list>

home.ts
    import { Component } from '@angular/core';

    import { NavController } from 'ionic-angular';

    @Component({
      selector: 'page-home',
      templateUrl: 'home.html'
    })
    export class HomePage {
      public selectedEmployees: any = [];
      public employees: any = [];
      public isSearchOn: any = false;
      public myInput:any ="";
      constructor(public navCtrl: NavController) {
          this.selectedEmployees = [];
          this.employees = ["dummy","care","me","try","we"];
      }
      search(event) {
        let q = this.myInput;
        if (q.trim() == '') {
          this.isSearchOn = false;
          return;
        }
        this.isSearchOn = true;
      }
      onCancel(event) {
        this.isSearchOn = false;
      }
      onBlur(event) {
        this.myInput = "";
        this.isSearchOn = false;

      }
      itemTapped(event, employee) {
        debugger
        this.selectedEmployees.push(employee);
        this.isSearchOn = false;
        console.log(employee);
      }
    }

itemTapped event is never getting called!
Sorry if its confusing!
GIT LINK

Hello, thanks for using Ionic! Unfortunately I cannot reproduce this issue on any of my Android devices. Which version of Android are you testing with?

I tested this with Android 4.4.4, 5.1.1, 6.0.1 versions, if needed I can post a video as well!

Hmm, I am testing with 5.1.1, 6.0.1 and 7.0 and it seems to be working great for me. A video might help!

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!


[SPARK-6210] [SQL] use prettyString as column name in agg()

use prettyString instead of toString() (which include id of expression) as column name in agg()

Test build #28542 has started for   PR 5006 at commit cb1fdcf.

This patch merges cleanly.

Test build #28542 has finished for   PR 5006 at commit cb1fdcf.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

cc @rxin

LGTM - merging in master & branch-1.3.


Faster tests using the mocked consul in-memory backend

What this PR does:
I was investigating some slow unit tests in Mimir and I noticed they're slow because of the slow long polling done by WatchKey() on the mocked consul in-memory backend. In https://github.com/cortexproject/cortex/pull/2078 I introduced mockedMaxWaitTime() to have faster tests. In this PR I propose to further reduce the max wait interval to 100ms. To get faster tests we also have to increase the m.cond.Broadcast() frequency too (done in this PR too).
Which issue(s) this PR fixes:
N/A
Checklist

[ ] Tests updated
[ ] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

❤ i wanted to do something like this in https://github.com/grafana/dskit/pull/519, but eventually gave up


installation on plain RedHat 7.4 fails for IML latest release

Description
when trying to install IML 4.0.6 ( latest release, installing a managed storage node fails because of unresolved dependencies in dnf.
first dependency issue at agent deployment : rpm-plugin-systemd-inhibit not found
second issue at deploying managed storage server : fence-agents-virsh not found
fixed for now by adding CentOS 7.4 repo's to the yum,repos.d, which is a bit of a sledgehammer approach to fixing it.
Repro
install a node with RedHat 7.4, disable selinux ( had to do that to move the postgres db to a larger disk), disable firewall, install IML from tarball, setup a second node as storage server, RH7.4, disable selinux, disable firewall, install the node through IML : fails
Version
What version of IML 4.0.6
What Operating System? RedHat
What Operating System version? 7.4
iml-diagnostics
---> Package librepo.x86_64 0:1.7.16-1.el7 will be installed
---> Package libsolv.x86_64 0:0.6.26-2.el7 will be installed
---> Package python2-dnf.noarch 0:1.1.5-2.01.el7.centos will be installed
--> Processing Dependency: rpm-plugin-systemd-inhibit for package: python2-dnf-1.1.5-2.01.el7.centos.noarch
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
" stderr: "https://iml.hpc.local:443/repo//iml-agent/7Server/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate."
Trying other mirror.
Error: Package: python2-dnf-1.1.5-2.01.el7.centos.noarch (managerforlustre-manager-for-lustre)
Requires: rpm-plugin-systemd-inhibit
"
[2018-06-12 03:11:04,122] bootstrap bootstrap INFO Agent bootstrap started...
[2018-06-12 03:11:04,142] bootstrap bootstrap INFO Executing shell command with arguments: ['openssl', 'genrsa', '-out', '/var/lib/chroma/private.pem', '2048']
[2018-06-12 03:11:04,222] bootstrap bootstrap DEBUG Command returned 0: stdout: "" stderr: "Generating RSA private key, 2048 bit long modulus

Hi.
rpm-plugin-systemd-inhibit is in the RHEL optional channel.
Please refer to the Server Configuration section of the Pre-installation Tasks documentation.

Thnx brian, missed that litle nugget :)
did all my test deploys on a CentOs based system, this is the first one on e 'RH' one

I'm going to close this ticket, but please do let us know if you need any more help in this regard and feel free to open any tickets for any other issues you run into.

just a small one, did a quick test and now it fails on the fence-agents-virsh, but I guess thats because the RedHat version is 7.4 not 7.5

will drop down to the IML rev that is ok with RH7.4 :)

fence-agents-virsh is also in the optional channel in RHEL 7.4.

I enabled the optional channel and it still fails, it didnt stumble on the rpm-plugin-systemd-inhibit, but it dies at dnf no fence-agents available ( when digging in the dnf logs, its fence-agents-virsh)

if I add the CentOS repo's as backup, and make sure that works, the installation goes smooth

I enabled the optional channel and it still fails, it didnt stumble on the rpm-plugin-systemd-inhibit, but it dies at dnf no fence-agents available ( when digging in the dnf logs, its fence-agents-virsh)

With the optional channel enabled, does yum install fence-agents fail?  If so, can you paste the output here?

if I add the CentOS repo's as backup, and make sure that works, the installation goes smooth

While I most certainly cannot speak for RedHat, I would suspect that such a configuration would be outside of their parameters for a supported system and having a supported system is afterall the entire point of using RHEL, otherwise of course you could just use CentOS.

That's all fair enough.
However, without the previously requested yum output there is not much else I can suggest other than opening a case with RedHat about the inability to find the packages that should be in that enabled optional channel.


New install defaults to low res in virtualbox

Have a fix in the works, turns out that xorg config files only need what you want not everything which makes them more generic


Cursor disappears while clicking on devtools-like tCP

Hi @PitPik ;)
If I try http://www.dematte.at/tinyColorPicker/?type=dev_skinned#demo
and click somewhere not at inputs (e.g. while trying to copy rgb code, or just in the gaps), the cursor disappears and is visible only after the mouse button is released.
Other modes work great though :)
Also, a little enhancement proposal: It would be cool if user could specify which palette element to replace. For now the palette is just a queue :( And I believe, as arrow (<) points to the most right square, colors should appear from the right :stuck_out_tongue_closed_eyes:

Hi @ct-js
thanks for the feedback!
Well, the demos are supposed to show how easy it is to add stuff to the color picker and prove the flexibility,... not necessarily to deliver full featured color pickers.
@ cursor: The fact that the mouse disappears is actually done on purpose
.cp-color-picker:active { cursor:none; }
...but maybe this causes too much confusion?!! Maybe it's better to only do this on .cp-xy-slider.
Other than that, copying and selecting still works (just the cursor doesn't show...)
@ color palette: I'll change the arrow to an 'S' (for save), also less confusion then (i guess ;o)
And as I said, I tried to keep it simple so people can easier see how it works...
Thank you very much for your contributions,
Cheers

As for me, cursor mustn't be hidden at all - at least, if nothing can represent it (like the circle of the picked color on color patch). If I can't find the cursor, panic begins 😱😃 You know, cursor is like hands...
Will try out your tCP soon; gonna make some experiments with it =_=
-----Исходное сообщение-----
От: "Peter Dematté"<EMAIL_ADDRESS>Отправлено: 04.02.2015 22:31
Кому: "PitPik/tinyColorPicker"<EMAIL_ADDRESS>Копия: "ct.js"<EMAIL_ADDRESS>Тема: Re: [tinyColorPicker] Cursor disappears while clicking ondevtools-like tCP (#1)
Hi @ct-js
thanks for the feedback!
Well, the demos are supposed to show how easy it is to add stuff to the color picker and prove the flexibility,... not necessarily to deliver full featured color pickers.
@ cursor: The fact that the mouse disappears is actually done on purpose
.cp-color-picker:active { cursor:none; }
...but maybe this causes too much confusion?!! Maybe it's better to only do this on .cp-xy-slider.
Other than that, copying and selecting still works (just the cursor doesn't show...)
@ color palette: I'll change the arrow to an 'S' (for save), also less confusion then (i guess ;o)
And as I said, I tried to keep it simple so people can easier see how it works...
Thank you very much for your contributions,
Cheers
—
Reply to this email directly or view it on GitHub.


The apn dont send custom data

The apn send dont transfer the custom data.

@dorshay I think it does if you put data in "payload" entry isn't it?


Insight does not reliably show hidden files

Observed after reporting #315 and I should probably treat this issue as separate, maybe contributory.

There's my preference to show hidden files, apparent when I launch Insight, but those files are not shown.

Fixed!
https://github.com/trueos/lumina/commit/33010dd68c2a80edde7dd9b219a4383453fd132b


Feature/feature concept templates

Follow-up from https://github.com/buildingSMART/ifc-gherkin-rules/pull/71
VAL-455

Cleaning up stale draft PRs.


Provide callback to lambda function

Currently the callback parameter is undefined, and so results in an error if it is called.
serverless-offline solves this by providing context.done as the callback function - You can see this in the following block. This PR just emulates that same behavior.
https://github.com/dherault/serverless-offline/blob/4162446f8b8626c40b6bb3dc915a3a0908dbc9ca/src/index.js#L764-L767

Hi @dboune .
Thanks for your great PR.
I merged and published it as v0.3.3.
Please install it via npm.

It seems that callback support the lambda handler has been dropped, as there is no callback passed: https://github.com/ar90n/serverless-s3-local/blob/bd5f6a9fc5d166b071eb6942cfa14eb35260a1bd/index.js#L387


[Monitor] alert-rule create exposes 'alert-rule-resource-name' and 'name'

Description
Command
    az monitor alert-rules create: Creates or updates an alert rule.

Arguments
    --alert-rule-resource-name [Required]: The name of the alert rule.
    --condition                [Required]: JSON encoded condition configuration. Use @{file} to load
                                           from a file.
    --is-enabled               [Required]: The flag that indicates whether the alert rule is
                                           enabled.
    --name -n                  [Required]: The name of the rule.
    --actions                            : JSON encoded array of actions that are performed when the
                                           alert rule becomes active, and when an alert condition is
                                           resolved. Use @{file} to load from a file.
    --description                        : The description of the alert rule that will be included
                                           in the alert email.
    --location -l                        : Location. You can configure the default location using
                                           `az configure --defaults location=<location>`.  Default:
                                           westus.
    --resource-group -g                  : Name of resource group. You can configure the default
                                           group using `az configure --defaults group=<name>`.
                                           Default: tjp-vm.
    --tags                               : Resource tags.

This exposes two required parameters: --alert-rule-resource-name and --name.  Both refer to the same thing and NEITHER refer to the name or ID of the target resource (which is actually buried deep inside the condition object--FUN TIMES).
Also, in general this command is painfully unusable.

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: dev_setup.py
CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here: latest master
OS Version: What OS and version are you using?
Answer here: Windows 10 CU
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: cmd.exe

Wanted to comment..
the --condition parameter is not documented in the CLI.
--condition @{condition}
the file condition: (which I had to guess how to write from looking up the REST API)
{
"odatatype": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"operator": "GreaterThan",
"threshold": "90.0",
"window_size" : "PT15M"
}
And in the python code of CLI 2.0 the windowSize Key will not go thru Python to Azure cloud.
window_size key will pass thru.
help on the command produces
az monitor alert-rules create --is-enabled IS_ENABLED --name JeffFallRuleTestCPU --resource-group HCM-Monitoring-RG --alert-rule-resource-name /subscriptions/my_subscription/H-Monitoring-R/providers/Microsoft.Compute/virtualMachines/my_vm --location westus --condition @{condition} --help
Arguments
--alert-rule-resource-name [Required]: The name of the alert rule.
--is-enabled               [Required]: The flag that indicates whether the alert rule is
enabled.
--location -l              [Required]: Location. You can configure the default location using
'az configure --defaults location='.
--name -n                  [Required]: The name of the rule.
--resource-group -g        [Required]: Name of resource group. You can configure the default
group using 'az configure --defaults group='.
--actions                            : The array of actions that are performed when the alert
rule becomes active, and when an alert condition is
resolved.
--azure-resource-name                : Azure resource name.
--condition                          : JSON encoded condition configuration. Use @{file} to load
from a file.
--description                        : The description of the alert rule that will be included
in the alert email.
--tags                               : Resource tags.
Global Arguments
--debug                              : Increase logging verbosity to show all debug logs.
--help -h                            : Show this help message and exit.
--output -o                          : Output format.  Allowed values: json, jsonc, table, tsv.
Default: json.
--query                              : JMESPath query string. See http://jmespath.org/ for more
information and examples.
--verbose                            : Increase logging verbosity. Use --debug for full debug
logs.
The real problem and bummer is the --condition command.
--condition                          : JSON encoded condition configuration. Use @{file} to load
from a file.
How to construct the condition file?
{
"odatatype": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"operator": "GreaterThan",
"threshold": "90.0",
"window_size" : "PT15M"
}
So you run the command to create an alert with the above condition file:
c5256381% az monitor alert-rules create --is-enabled IS_ENABLED --name JeffFallRuleTestCPU --resource-group HCM-Monitoring-RG --alert-rule-resource-name /subscriptions/my_subscription/resourceGroups/H-Monitoring-R/providers/Microsoft.Compute/virtualMachines/my_vm --location westus --condition @{condition}
And this comes back in RED
Request content is not well formed or supported.
Which is so not helpful.
REALLY NEED
--help on this command spells out the JSON exactly
of how to make the --condition @{file}
put from --help
A clear JSON example of what is in FILE.
This will be HELPFUL to all trying to create monitoring rules from the Azure CLI 2.0.
I have found GREAT comments in the Python code.. But should I really need to resort to reading Python code?
Been trying trial and error on this for almost two days now.
And tjpresscott has been a GREAT HELP for me.
Thank you!!
I have been tasked with the automation of creating alert rules on the fly.
I know templates can do this too.
But we really want Azure CLI 2.0 to be able to create alert rules too for monitoring.

Would there be a way for someone to post a working command to create a monitor alert rule?
I just need ONE example that will actually create a rule.
Then I can go from there.
I had no idea the --args were misnamed. I can see why that could be confusing and convoluted.
We are at V 2.0.3 on Azure CLI 2.0.
Two requests:

Can someone post a working command for Azure CLI V 2.0.3 with all the params in place
and a conditions file to actually create an Azure Monitoring Alert.

When and where can I get the Azure CLI 2.0.4 ? :-)

As always, your response and feedback is GREATLY APPRECIATED from out here in the trenches.

Digging...
/azure-cli/lib/python2.7/site-packages/azure/mgmt/resource/resources/v2016_09_01/operations/resources_operations.py:
     /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}

So resource-name is just the name of my VM?
So these two arguments are the paradox:
--azure-resource-name : Azure resource name.
And I see the similarity
--alert-rule-resource-name [Required]: The name of the alert rule.
--is-enabled [Required]: The flag that indicates whether the alert rule is
enabled.
--location -l [Required]: Location. You can configure the default location using
'az configure --defaults location='.
--name -n [Required]: The name of the rule.
--alert-rule-resource-name?? Name of alert rule? or name of VM or object the rule applies to?
This one above is the mystery
--name Name of Rule. So this one I just name some name I make up. Which is cool.

They are BOTH the name of the rule (but the service ignores 'name'). Your VM ID goes inside the "condition" object. It's a bug for sure.

az monitor alert-rules create --is-enabled true --name JeffFallRuleTestCPU -g HCM-Monitoring-RG --alert-rule-resource-name JerrFailRuleTestCPU --location westus --condition @{condition}

Well, and you'd probably want to add the actions with @{action}

Well finally I got a different response. I hit a nerve?
az monitor alert-rules create --is-enabled IS_ENABLED --condition @{jeffcondition} --resource-group /resourceGroups/HCM-Monitoring-RG --alert-rule-resource-name /providers/Microsoft.Compute/virtualMachines/hcm99mon01 --name JeffFallTestRule2 --location westus
The api-version '2016-03-01' is invalid. The supported versions are '2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'.
[ZZZM00650289A:~] c5256381%
More promising.
but still blows up.

az monitor alert-rules create --is-enabled IS_ENABLED --condition @{jeffcondition} --resource-group /resourceGroups/HCM-Monitoring-RG --alert-rule-resource-name /providers/Microsoft.Compute/virtualMachines/hcm99mon01 --name JeffFallTestRule2 --alert-rule-resource-name JeffFallTestRule2 --location westus

az monitor alert-rules create --is-enabled true --name JeffFallRuleTestCPU -g HCM-Monitoring-RG --alert-rule-resource-name JeffFallRuleTestCPU --location westus --condition @{jeffcondition}
Request content is not well formed or supported.
{
"data_source": {
"metric_name": "Percentage CPU",
"odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resource_uri": "/subscriptions/my_subscription/resourceGroups/HCM-Monitoring-RG/providers/Microsoft.Compute/virtualMachines/hcm99mon01"
},
"odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"operator" : "GreaterThan",
"threshold": 90,
"time_aggregation" : "Average",
"window_size": "PT5M"
}
[ZZZM00650289A:~] c5256381% az monitor alert-rules create --is-enabled IS_ENABLED --name JeffFallRuleTestCPU --resource-group HCM-Monitoring-RG --alert-rule-resource-name JeffFallRuleTestCPU --location westus --condition @{traviscondition}
Request content is not well formed or supported
more traviscondition
{
"odatatype": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"data_source": {
"odatatype": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resource_uri": "/subscriptions/my_subscription/resourceGroups/HCM-Monitoring-RG/providers/Microsoft.Compute/virtualMachines/hcm99mon01",
"metric_name": "\Processor Information(_Total)\% Processor Time"
},
"operator": "GreaterThan",
"threshold": 90.0,
"time_aggregation": "Average",
"window_size" : "0:05:00"
}

This command seems to get further.
[ZZZM00650289A:~] c5256381% az monitor alert-rules create --is-enabled IS_ENABLED --condition @{jeffcondition} --resource-group /resourceGroups/HCM-Monitoring-RG --alert-rule-resource-name /providers/Microsoft.Compute/virtualMachines/hcm99mon01 --name JeffFallTestRule2 --location westus
The api-version '2016-03-01' is invalid. The supported versions are '2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'.
Seems the API version is peppered throughout the Azure API 2.0.3.
sigh....
Could I simply change the API version to one that the Azure Cloud accepts?
Wish Azure CLI 2.0.4 was ready..
Binary file ./azure-cli/lib/python2.7/site-packages/azure/monitor/operations/usage_metrics_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure_cli_acr-2.0.1.dist-info/DESCRIPTION.rst:* [ACR] Update to 2017-03-01 api-version (#2563)
./azure-cli/lib/python2.7/site-packages/azure_cli_acr-2.0.1.dist-info/METADATA:* [ACR] Update to 2017-03-01 api-version (#2563)
[ZZZM00650289A:~/lib] c5256381% find . | xargs grep -s "2016-03-01" *
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rule_incidents_operations.py:    :ivar api_version: Client Api Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rule_incidents_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rule_incidents_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rules_operations.py:    :ivar api_version: Client Api Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rules_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rules_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/log_profiles_operations.py:    :ivar api_version: Client Api Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/log_profiles_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/log_profiles_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/certificates_operations.py:    :ivar api_version: API Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/certificates_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/certificates_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/deleted_web_apps_operations.py:    :ivar api_version: API Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/deleted_web_apps_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/deleted_web_apps_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/recommendations_operations.py:    :ivar api_version: API Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/recommendations_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/recommendations_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/monitor/operations/metric_definitions_operations.py:    :ivar api_version: Client Api Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/monitor/operations/metric_definitions_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/monitor/operations/metric_definitions_operations.pyc matches
[ZZZM00650289A:~/lib] c5256381%
Binary file ./azure-cli/lib/python2.7/site-packages/azure/monitor/operations/usage_metrics_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure_cli_acr-2.0.1.dist-info/DESCRIPTION.rst:* [ACR] Update to 2017-03-01 api-version (#2563)
./azure-cli/lib/python2.7/site-packages/azure_cli_acr-2.0.1.dist-info/METADATA:* [ACR] Update to 2017-03-01 api-version (#2563)
[ZZZM00650289A:~/lib] c5256381% find . | xargs grep -s "2016-03-01" *
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rule_incidents_operations.py:    :ivar api_version: Client Api Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rule_incidents_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rule_incidents_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rules_operations.py:    :ivar api_version: Client Api Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rules_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/alert_rules_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/log_profiles_operations.py:    :ivar api_version: Client Api Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/log_profiles_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/monitor/operations/log_profiles_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/certificates_operations.py:    :ivar api_version: API Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/certificates_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/certificates_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/deleted_web_apps_operations.py:    :ivar api_version: API Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/deleted_web_apps_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/deleted_web_apps_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/recommendations_operations.py:    :ivar api_version: API Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/recommendations_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/operations/recommendations_operations.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.py:        api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/mgmt/web/web_site_management_client.pyc matches
./azure-cli/lib/python2.7/site-packages/azure/monitor/operations/metric_definitions_operations.py:    :ivar api_version: Client Api Version. Constant value: "2016-03-01".
./azure-cli/lib/python2.7/site-packages/azure/monitor/operations/metric_definitions_operations.py:        self.api_version = "2016-03-01"
Binary file ./azure-cli/lib/python2.7/site-packages/azure/monitor/operations/metric_definitions_operations.pyc matches
[ZZZM00650289A:~/lib] c5256381%

The change will not be in 2.0.4, unfortunately.  However, I just test this and this works...

{
	"dataSource": {
	  "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
	  "resourceUri": "",
	  "metricName": "Percentage CPU"
	},
	"odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
	"operator": "GreaterThan",
	"threshold": 90,
	"windowSize": "PT5M",
	"timeAggregation": "Average"
}
az monitor alert-rules create -g <your RG> --alert-rule-resource-name rule1 --name rule1 --condition @cond.json --is-enabled true

Which cloud are you trying to run against?

Hi Travis,
How can I tell what cloud I am running against?
I am logged into Azure at http://portal.azure.com
I tried to find a HELP About or a version for the Azure cloud.
NO luck.
and thank you for the new conditions file.
Thank you for taking an interest and giving me a hand with this.
On 4/28/17 12:39 PM, Travis Prescott wrote:

Which cloud are you trying to run against?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/3052#issuecomment-298088653,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA64_C35KyABc2cKuk5z-0omXMiL_s2Fks5r0kBagaJpZM4NKzTx.

HI Travis,
Can I please ask you for a good download link of the Azure CLI 2.0.3 you are using?
I have given the commands you sent me a try..
more travistested
{ "dataSource": { "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", "resourceUri": "/subscriptions/my_subscription/resourceGroups/HCM-Monitoring-RG/providers/Microsoft.Compute/virtualMachines/hcm99mon01", "metricName": "Percentage CPU" }, "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", "operator": "GreaterThan", "threshold": 90, "windowSize": "PT5M", "timeAggregation": "Average" }
az monitor alert-rules create -g HCM-Monitoring-RG --alert-rule-resource-name rule1 --name rule1 --condition @travistested --is-enabled true --location westus
u'windowSize'
Traceback (most recent call last):
File "/Users/c5256381/lib/azure-cli/lib/python2.7/site-packages/azure/cli/main.py", line 36, in main
cmd_result = APPLICATION.execute(args)
File "/Users/c5256381/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/application.py", line 201, in execute
result = expanded_arg.func(params)
File "/Users/c5256381/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/init.py", line 403, in _execute_command
raise ex
KeyError: u'windowSize'
[ZZZM00650289A:~] c5256381%
This is where I get the CLI from:
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli#macos
curl -L https://aka.ms/InstallAzureCli | bash
And since this Azure CLI 2.0.3 loaded onto my macOS Sierra is rejecting the keywords
KeyError: u'windowSize'
I am betting you have a CLI like 2.0.3a or <IP_ADDRESS> or such?

Well, I'm running off of master.  You probably have the latest public build.  Try this:
{
	"dataSource": {
	  "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
	  "resource_uri": "<your resource ID here>",
	  "metric_name": "Percentage CPU"
	},
	"odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
	"operator": "GreaterThan",
	"threshold": 90,
	"window_size": "PT5M",
	"time_aggregation": "Average"
}

The case conversion will be in the next release but until then you'd need to make sure to use python_casing instead of CamelCasing.

Hi Travis,
DataSource bombed.
So changed it to data_source.
Can you please give me a link to pull Azure CLI 2.0.3 from master?
{
"data_source": {
"odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resource_uri": "/subscriptions/my_subscription/resourceGroups/HCM-Monitoring-RG/providers/Microsoft.Compute/virtualMachines/hcm99mon01",
"metric_name": "Percentage CPU"
},
"odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"operator": "GreaterThan",
"threshold": 90,
"window_size": "PT5M",
"time_aggregation": "Average"
}
[ZZZM00650289A:~] c5256381% az monitor alert-rules create -g HCM-Monitoring-RG --alert-rule-resource-name rule1 --name rule1 --condition @travistested2 --is-enabled true --location westus
Request content is not well formed or supported.
Probably my Azure CLI 2.0.3 is just not compatible from the public source.
Thanks to your kind help I think I will get this finally working today. Which will be a great way
to end a Friday.

azure-cli-monitor 0.0.3 was just released so you might give that a try and see if it unblocks your scenario.

Hi Travis,
Found nightly and trying that..
pip3 install --pre azure-cli --extra-index-url
https://azureclinightly.blob.core.windows.net/packages
Is there a link for:
azure-cli-monitor 0.0.3???
https://www.google.com/search?q=azure-cli-monitor&rlz=1C5CHFA_enUS734US734&oq=azure-cli-monitor&aqs=chrome..69i57j0l5.9616j0j8&sourceid=chrome&ie=UTF-8#q=azure-cli-monitor+0.0.3+download
Is azure-cli-monitor a subset of Azure CLI 2.0?
Or a standalone package?
Been on Azure for about 5 days so sorry if a bit noob.
On 4/28/17 2:31 PM, Travis Prescott wrote:

azure-cli-monitor 0.0.3

Can't get master branch to install.
or nightly.
I can't get all the Python modules to link up - like Module azure.
I will try:
azure-cli-monitor 0.0.3

Ok so guessing that to install
https://pypi.python.org/packages/9f/b9/00ad1ffabd67357eef4845dc776527011aca7a21997df310eefcbde015fd/azure-cli-monitor-0.0.3.tar.gz#md5=ca3d4da9a2758ce7ea18884e4fe1b711
I need to first get a public copy of Azure CLI 2.0.3
and then untar this file right over where the old files are in the az distribution?
Looks to be a ./setup.py which can build or install...

Just reinstalled public distribution of Azure CLI 2.0 and did an ls -lR and
Looks like monitor 0.0.3 is included?
-rw-r--r--   1 c5256381<PHONE_NUMBER>  5257 Apr 28 15:08 monitor_client.pyc
./azure-cli/lib/python2.7/site-packages/azure/monitor/models:
-rw-r--r--  1 c5256381<PHONE_NUMBER>  1039 Apr 28 15:06 monitor_client_enums.py
-rw-r--r--  1 c5256381<PHONE_NUMBER>  1662 Apr 28 15:08 monitor_client_enums.pyc
./azure-cli/lib/python2.7/site-packages/azure/monitor/operations:
./azure-cli/lib/python2.7/site-packages/azure_cli_monitor-0.0.3.dist-info:
./azure-cli/lib/python2.7/site-packages/azure_mgmt_monitor-0.2.1.dist-info:
./azure-cli/lib/python2.7/site-packages/azure_monitor-0.3.0.dist-info:
[ZZZM00650289A:~/lib] c5256381%

Finally Success.
Firstly, Thank you Travis P. I would NOT have gotten this far in two days WITHOUT YOU.
Thank you...
Turns out .. I was missing a comma ",". More on that later.
I put in a comma out of sheer desperation. And I about fell over when I finally got an Alert RULE1 created.
This has been two full days of trial and error.
What really finally worked for creating an Alert was your great guidance on the command parameters.
This command finally worked to create a Monitor Alert Rule in Azure
az monitor alert-rules create -g 'Monitoring-RG' --alert-rule-resource-name 'rule2' --name 'rule2' --condition @travistested2 --is-enabled true --location westus
The condition file is as follows:
more travistested2
{
"dataSource": {
"odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri": "/subscriptions/my_subscription/resourceGroups/M-Monitoring-RG/providers/Microsoft.Compute/virtualMachines/my_vm",
"metricName": "Percentage CPU",
},
"odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"threshold" : 60,
"operator": "GreaterThan",
"windowSize" : "PT5M",
"timeAggregation": "Average"
}
And the kicker.
What fixed this for me was..
"metricName": "Percentage CPU",
That little comma after "Percentage CPU" comma..
I would not think this is legal JSON as there was not an argument following this one.
I just stuffed that comma in there as a what the heck.
and
IT WORKS
The command:
az monitor alert-rules create -g 'M-Monitoring-RG' --alert-rule-resource-name 'rule2' --name 'rule2' --condition @travistested2 --is-enabled true --location westus
Here is the response you get back:
{
"actions": [],
"alertRuleResourceName": "rule2",
"condition": {
"dataSource": {
"metricName": "Percentage CPU",
"odatatype": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri": "/subscriptions/3fd8391b-f9e7-4d54-bf96-f7fb9844c4c1/resourceGroups/HCM-Monitoring-RG/providers/Microsoft.Compute/virtualMachines/hcm99mon01"
},
"odatatype": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"operator": null,
"threshold": 60.0,
"timeAggregation": "Average",
"windowSize": "0:05:00"
},
"description": null,
"id": "/subscriptions/my_subscription/M-Monitoring-RG/providers/microsoft.insights/alertrules/rule2",
"isEnabled": true,
"lastUpdatedTime": "2017-04-28T23:43:01.696807+00:00",
"location": "westus",
"name": "rule2",
"resourceGroup": "HCM-Monitoring-RG",
"tags": {
"$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
},
"type": "Microsoft.Insights/alertRules"
}
Here is what does not work:
az monitor alert-rules create -g 'M-Monitoring-RG' --alert-rule-resource-name 'rule2' --name 'rule2' --condition @travistested2 --is-enabled true --location westus
Notice now I have REMOVED the "," after "Percentage CPU"
{
"dataSource": {
"odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri": "/subscriptions/3fd8391b-f9e7-4d54-bf96-f7fb9844c4c1/resourceGroups/HCM-Monitoring-RG/providers/Microsoft.Compute/virtualMachines/hcm99mon01",
"metricName": "Percentage CPU"
},
"odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"threshold" : 60,
"operator": "GreaterThan",
"windowSize" : "PT5M",
"timeAggregation": "Average"
}
And we run it again:
[ZZZM00650289A:~] c5256381% az monitor alert-rules create -g 'HCM-Monitoring-RG' --alert-rule-resource-name 'rule2' --name 'rule2' --condition @travistested2 --is-enabled true --location westus
Request content is not well formed or supported.
and SPLAT.
Woozers Huh?
Well I guess we can close this one.
Thanks again Travis!!!!

Oh wanted to comment..
TO make this work I had to

Install the public: curl -L https://aka.ms/InstallAzureCli | bash

Install the nightly: pip3 install --pre azure-cli --extra-index-url

Then deleted the public with an rm -fr

Install the public next:  curl -L https://aka.ms/InstallAzureCli | bash

and then
Make sure the condition file is correct like this one:
{
"dataSource": {
"odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri": "/subscriptions/My_Subsubscription_stuff/resourceGroups/Your_ResourceGroup/providers/Microsoft.Compute/virtualMachines/hcm99mon01",
"metricName": "Percentage CPU",
},
"odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"threshold" : 60,
"operator": "GreaterThan",
"windowSize" : "PT5M",
"timeAggregation": "Average"
}
The Subscription is that long string starting with "/Subscription..."
The resource  Group is just a name like "RG-A-Datacenter2"
If you get errors on things like windowSize and are getting u'(windowSize) errors from Python
then you need to upgrade to later azure-monitoring-0.0.3 or later.
https://pypi.python.org/pypi/azure-cli-monitor/0.0.3
this may be in the public distro by now.
Then run the command properly
az monitor alert-rules create -g 'HCM-Monitoring-RG' --alert-rule-resource-name 'rule2' --name 'rule2' --condition @travistested2 --is-enabled true --location westus
If all goes well you get this OUTPUT below as verification;
Thank you Travis for ALL your HELP.
Over and out.
 So sorry it was such a difficult process. I'll be working to fix this experience up in the coming weeks.

Here is some python to create the JSON @condition file or inline code
#But the JSON required is bad JSON as there is an extra comma "," required and no extra JSON #following the comma
def create_monitor_rule(name_of_rule, operator, metricName, threshold, resourceGroup, vm):
odatatypeDS = "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"
resourceUri = "/subscriptions/your_subsription/resourceGroups/HCM-Monitoring-RG/providers/Microsoft.Compute/virtualMachines/" + vm
metricName = metricName
odatatypeRC = "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"
threshold = threshold
operator = operator
windowSize = '"PT5M"'
timeAggregation = '"Average"'

#az monitor alert-rules create -g 'your_resource_group' --alert-rule-resource-name 'rule2' --name 'rule2' --condition @travistested2 --is-enabled true --location westus
json_string1 = "{ \"dataSource\": {" + '"odata.type": "' + odatatypeDS + '"' + ', "resourceUri" : ' + '"'+ resourceUri + '"' + ', "metricName" : ' + '"' + metricName + '",'  + "},"
json_string2 =  '"odata.type"' + ":" +  '"' + odatatypeRC + '"' +  "," + '"threshold"' + ":" + str(threshold)   + "," + '"operator"' + ":" + '"' + operator + '"' + "," + '"windowSize"' + ":" + windowSize + "," + '"timeAggregation"' + ":" + timeAggregation +  "}"
condition = json_string1 + json_string2

print (condition)
command = "az monitor alert-rules create --is-enabled true --location 'westus' -g " + "'" + resourceGroup + "'"  + \
 " --alert-rule-resource-name " + "'" + name_of_rule + "'" + \
" --name " + "'" + name_of_rule + "'" + " --condition "  + "'" + condition + "'"

print (command)

example calling the function
create_monitor_rule("CPU Greater Than Rule", "GreaterThan", "Percentage CPU",  "63", "your_resource_group", "your_VM")

List of Metrics to use:
Percentage CPU
Network In
Network Out
Disk Read Bytes
Disk Write Bytes
Disk Read Operations/Sec
Disk Write Operations/Sec
\Processor |nformation(_Total)% Processor Time
\Processor |nformation(_Total)% Privileged Time
\Processor |nformation(_Total)% User Time
\Processor |nformation(_Total)\Processor Frequency
\System\Processes
\Process(_Total)\Thread Count
\Process(_Total)\Handle Count
\System\System Up Time
\System\Context Switches/sec
\System\Processor Queue Length
\Memory\Available Bytes
\Memory\Committed Bytes
\Memory\Cache Bytes
\Memory\Pool Paged Bytes
\Memory\Pool Nonpaged Bytes
\Memory\Pages/sec
\Memory\Page Faults/sec
\Process(_Total)\Working Set
\Process(_Total)\Working Set — Private
\LogicalDisk(_Total)% Disk Time
\LogicalDisk(_Total)% Disk Read Time
\LogicalDisk(_Total)% Disk Write Time
\LogicalDisk(_Total)% Idle Time
\LogicalDisk(_Total)\Disk Bytes/sec
\LogicalDisk(_Total)\Disk Read Bytes/sec
\LogicalDisk(_Total)\Disk Write Bytes/sec
\LogicalDisk(_Total)\Disk Transfers/sec
\LogicalDisk(_Total)\Disk Reads/sec
\LogicalDisk(_Total)\Disk Writes/sec
\LogicalDisk(_Total)\Avgt Disk sec/Transfer
\LogicalDisk(_Total)\Avgt Disk sec/Read
\LogicalDisk(_Total)\Avgt Disk sec/Write
\LogicalDisk(_Total)\Avgt Disk Queue Length
\LogicalDisk(_Total)\Avgt Disk Read Queue Length
\LogicalDisk(_Total)\Avg. Disk Write Queue Length
\LogicalDiskLTotal)% Free Space
\LogicalDiskLTotal)\Free Megabytes
\Network Interface()\Bytes Total/sec
\Network Interface()\Bytes Sent/sec
\Network Interface()\Bytes Received/sec
\Network Interface()\Packets/sec
\Network Interface()\Packets Sent/sec
\Network Interface()\Packets Received/sec
\Network Interface()\Packets Outbound Errors
\Network Interface()\Packets Received Errors

really need example JSON of --action
--actions
JSON encoded array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. Use @{file} to load from a file.

@jeffall, in the coming changes, what I plan to do is make managing the actions on an alert rule a group of subcommands:
az monitor alert-rule create ...
az monitor alert-rule action add ...
az monitor alert-rule action add ...

My goal will be to remove the need for raw JSON objects at all.

Travis
Can I ask you for a current JSON
--actions example
For adding emails
and one for adding webhooks?
I have no idea how to format the JSON for --action
Thanks so much!
J
On 5/4/17 9:04 AM, Travis Prescott wrote:

@jeffall https://github.com/jeffall, in the coming changes, what I
plan to do is make managing the actions on an alert rule a group of
subcommands:
|az monitor alert-rule create ... az monitor alert-rule action add ...
az monitor alert-rule action add ... |
My goal will be to remove the need for raw JSON objects at all.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/3052#issuecomment-299231407,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA64_Il_Nn_2HdNKwQaULAAfVuByj8Gtks5r2fcGgaJpZM4NKzTx.

Hi @jefffall:
Here's an example of actions that I've tested on the latest (2.0.4):
[
  {
    "odatatype": "Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
    "sendToServiceOwners": true,
    "customEmails": [<EMAIL_ADDRESS><EMAIL_ADDRESS>]
  },
  {
    "odatatype": "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction",
    "serviceUri": "https://your-endpoint-here",
    "properties": {
      "key": "value",
      "key2": "value2"
    }
  }
]

Hi Travis,
Do I need to specify the whole JSON each time as:
|{ "odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
"sendToServiceOwners": true, "customEmails": [<EMAIL_ADDRESS><EMAIL_ADDRESS>] }, { "odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction",
"serviceUri": "https://your-endpoint-here", "properties": { "key":
"value", "key2": "value2" } } Do you know what is key and key2? So for
just email alerts can I just use: |
||{ "odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
"sendToServiceOwners": true, "customEmails": [<EMAIL_ADDRESS><EMAIL_ADDRESS>] },| Or do I need the whole JSON and just not fill
in the Webhook part if I am using just email? |
On 5/4/17 9:58 AM, Travis Prescott wrote:

Hi @jefffall https://github.com/jefffall:
Here's an example of actions that I've tested on the latest (2.0.4):
|[ { "odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
"sendToServiceOwners": true, "customEmails": [<EMAIL_ADDRESS><EMAIL_ADDRESS>] }, { "odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction",
"serviceUri": "https://your-endpoint-here", "properties": { "key":
"value", "key2": "value2" } } ] |
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/3052#issuecomment-299246123,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA64_MEEf52CW6iDve6HVvldgkZE2Vhoks5r2gOogaJpZM4NKzTx.

You'll need the whole JSON each time--add as many email or webhook actions as you need.  When the redesign is done, you'll be able to manage these selectively.

Excited about new changes coming.
When shall extensive redesign hit the public Azure CLI 2.0.x?
And -
Can you please give me a working example of:
"odatatype": "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction",
"serviceUri": "https://your-endpoint-here",
"properties": {
"key": "value",
"key2": "value2
Key : value
key2 : value
Not sure what those keys are?
Have only done a webhook with github and Jenkins and never with Azure.
On 5/4/17 9:58 AM, Travis Prescott wrote:

Hi @jefffall https://github.com/jefffall:
Here's an example of actions that I've tested on the latest (2.0.4):
|[ { "odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
"sendToServiceOwners": true, "customEmails": [<EMAIL_ADDRESS><EMAIL_ADDRESS>] }, { "odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction",
"serviceUri": "https://your-endpoint-here", "properties": { "key":
"value", "key2": "value2" } } ] |
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/3052#issuecomment-299246123,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA64_MEEf52CW6iDve6HVvldgkZE2Vhoks5r2gOogaJpZM4NKzTx.

https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/insights-webhooks-alerts
I would think they'd be the POST parameters.  According to the docs:
Set of <Key, Value> pairs (i.e. Dictionary<String, String>) that includes details about the event. The properties field is optional. In a custom UI or Logic app-based workflow, users can enter key/values that can be passed via the payload. The alternate way to pass custom properties back to the webhook is via the webhook uri itself (as query parameters)

Trying --action
1242841962 24276 24275   0 Wed12PM ttys005    0:00.04 -csh
-csh on macbook pro
I can do a create metric alert just fine without the --action.
Problem is we need the --action as an alert to email and / or webhook.
ZZZM00650289A:~] c5256381% /Users/c5256381/lib/azure-cli/bin/az monitor
alert-rules create --is-enabled true --location 'westus' -g
'HCM-Monitoring-RG' --alert-rule-resource-name 'JeffFallMemoryTestRule'
--name 'Memory Available Bytes' --condition '{ "dataSource":
{"odata.type":
"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri" :
"/subscriptions/my_sub/resourceGroups/HCM-Monitoring-RG/providers/Microsoft.Compute/virtualMachines/hcm99mon01",
"metricName" : "\Memory\Available
Bytes",},"odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition","threshold":70000000,"operator":"LessThan","windowSize":"PT5M","timeAggregation":"Average"}'
--action '{
"odatatype": "Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
"sendToServiceOwners": true,
"customEmails": [<EMAIL_ADDRESS><EMAIL_ADDRESS>] },
{"odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction","serviceUri":
"https://yahoo.com", "properties": {"key": "value","key2": "value2" }}'
az monitor alert-rules create: error: argument --actions: invalid
get_json_object value: '{ "odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleEmailAction","sendToServiceOwners":
true,"customEmails": {<EMAIL_ADDRESS><EMAIL_ADDRESS>} },{"odatatype":
"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction","serviceUri":
"https://jeffreyfall.com", "properties": {"key": "value","key2":
"value2" }}'
On 5/4/17 11:19 AM, Travis Prescott wrote:

You'll need the whole JSON each time--add as many email or webhook
actions as you need. When the redesign is done, you'll be able to
manage these selectively.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/3052#issuecomment-299267791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA64_NdGoFzJmPx8ULCaO85smJ9aLxTsks5r2hatgaJpZM4NKzTx.


Interface movement on exit

Steps to reproduce

Enable full-screen mode in the Reader settings
Exit reading mode
The top of the interface drops down

https://github.com/user-attachments/assets/a7286c0e-63f0-40fa-b4ce-2476e9a75e37
Expected behavior
The interface should not move when exiting reading mode, as it does when fullscreen mode is disabled (as shown in the video)
https://github.com/user-attachments/assets/61b58130-3d01-4746-bb36-0dde28607966
Actual behavior
The top of the interface drops down
Crash logs
No response
Komikku version
Beta r9576
Android version
Android 15
Device
OnePlus 12
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.12.1.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Most likely it's your OS. The topbar is offset based on system reporting the height of its system bar. If it's showing system bar before it reports its height then the shifting effect is inevitable.


Supported data types

Is there a reason why only ElasticSearch SQL data types are supported as mappings? Isn't the SQL data transformed into JSON and then indexed through the regular REST API?
I wanted to use the search_as_you_type data type which isn't supported as an ElasticSearch SQL data type, but creating the index before running pgsync with the field mapped accordingly seems to work fine.

This has been added now thanks


Add RTR tile bonus / "atu" / advantage

Romanian Tile Rummy (RTR) has a bonus given to the player that has the matching tile with the exposed one (in Romanian, the "atu").
It would be nice if this can be tracked in-app so players don't have to manually add the points later.

[x] Figure out English naming for this - one candidate is "tile bonus".
[x] Add the button for it in the score screen.
[x] When clicked, the button should show a modal prompting the user to pick the player which got the bonus.
[x] The bonus should be applied on the next empty game and displayed as a tiny icon above that player's score in that respective game.
[x] The total score should reflect the added bonus.

Implementation could involve a second BTreeMap on the Player struct which will hold as keys the round where the bonus was granted, and the value.

Implementation is ready - testing in dev branch.


Maximum text length limitation

Hi, first off, thanks for taking the time to author such a great library!  With it I have been almost able to do everything i want BUT
There seems to be a limitation on the amount of characters we can use with
item.text() function as well as item.attribute("txt", )
I am trying to write a long (113 char) url to the text attribute of a QRCode object but it would seem there is a limitation of about 30-40 characters.  Smaller strings work fine.
Causes a CPU crash and reset...
Platform: ESP32
Stack smashing protect failure!

abort() was called at PC 0x4013820b on core 1

ELF file SHA256:<PHONE_NUMBER>000000

Backtrace: 0x40089214:0x3ffb1e10 0x40089491:0x3ffb1e30 0x4013820b:0x3ffb1e50 0x400d0eb1:0x3ffb1e70 0x400d14c9:0x3ffb1ed0 0x400d1a2a:0x4f4e4d4c

Rebooting...
```
`

I worked it out:
Changing the defines :
#define ATTRIBUTE_TEXT_LENGTH	150
#define ATTRIBUTE_TEXT_LENGTH_X 150

Allowed me to process the longer strings!
Thanks Again.


Analyzer: Misleading error message for async return type Null

The language specification says that it is a static warning (so in Dart 2 it is an error) for an async function to have return type R unless R is a supertype of Future<T> for some T. In other words, the return type can be Future<T> for any T, and it can be any top type (like dynamic, FutureOr<void>, etc.). But it is not enough to be a subtype of Future<...> and in particular it cannot be Null.
Consider the following program:
Null f() async {}

main() async {
  await f();
}

Here is the error message from the analyzer for that program (version 2.0.0-dev.60.0):
> dartanalyzer --preview-dart-2 --no-hints n005.dart
Analyzing n005.dart...
  error • Functions marked 'async' must have a return type assignable to 'Future' at n005.dart:3:1 • illegal_async_return_type
1 error found.

This message is misleading given that Null is actually assignable to Future (which would presumably mean Future<dynamic>), and it should be adjusted to follow the rule in the specification more precisely. I have no reason to believe that there is a problem with the error detection, it is just the error message which is misleading.

Closing as we are at Dart 3 now, and this is stale.

I actually think we still need the fix, for the same reason (except that the example program is a bit different now, because of language changes). So here is the updated example program:
Never f() async {}
main() async => await f();

This program is still rejected (as it should be) with an error message which is misleading (which, presumably, it shouldn't be ;-). Here is the message from DartPad (based on Flutter 3.10.0-14.0.pre Dart SDK 3.1.0-42.0.dev):
Functions marked 'async' must have a return type assignable to 'Future'.

This error message is misleading because (1) Never is assignable to Future<T> for any T, so the error message contradicts itself. (2) The actual requirement is that there must be a T such that Future<T> is assignable to the return type (we could also say: Future<Never> must be a subtype of the return type).
So the requirement has the opposite direction, and that requirement
I believe the error message could simply be adjusted to say 'Functions marked 'async' must have a return type which is a supertype of 'Future'.'

@johnniwinther, the CFE emits the same error message. Do you think there is a need for a separate CFE issue?

Very good, cf. https://github.com/dart-lang/sdk/issues/52211.


fix: add connection overrides parameters for clickhouse

Description
This PR adds connection overrides for the parameter host of the ClickHouse dictionaries

Thanks for the pull request, @Ian2012! Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.

@Ian2012 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


My Side Bar is Disappeared

Type: Feature Request
Please HELP ME !!!
VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:03:37.738Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

Can you please try run command "Toggle Sidebar Visibility" from the command palatte?

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Fix bug when bundling multiple references

Pull Request Test Coverage Report for Build 275

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.9%) to 91.928%

Files with Coverage Reduction
New Missed Lines
%

lib/util/url.js
1
86.79%

lib/resolvers/http.js
2
88.89%

Totals

Change from base Build 273:
-0.9%

Covered Lines:
661

Relevant Lines:
702

💛  - Coveralls

Pull Request Test Coverage Report for Build 275

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.9%) to 91.928%

Files with Coverage Reduction
New Missed Lines
%

lib/util/url.js
1
86.79%

lib/resolvers/http.js
2
88.89%

Totals

Change from base Build 273:
-0.9%

Covered Lines:
661

Relevant Lines:
702

💛  - Coveralls

Thanks @GabrielCastro for catching this and taking the time to submit a PR.  🏆


Export Logger and NewLogger

@irisdingbj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

test_operator
d06ae1379c6a147ca1477f6789b2413769bb3217
link
/test test_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@irisdingbj: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

test_operator
d06ae1379c6a147ca1477f6789b2413769bb3217
link
/test test_operator

lint_operator
2c3494689b1e6e7941ae4547c6915353abd705d4
link
/test lint_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/cherrypick release-1.4

@elfinhe: #645 failed to apply on top of branch "release-1.4":
Using index info to reconstruct a base tree...
M	cmd/mesh/manifest-apply.go
M	cmd/mesh/manifest-common.go
M	cmd/mesh/manifest-generate.go
M	cmd/mesh/manifest-migrate.go
M	cmd/mesh/manifest-versions.go
M	cmd/mesh/profile-dump.go
M	cmd/mesh/shared.go
Falling back to patching base and 3-way merge...
Auto-merging cmd/mesh/shared.go
CONFLICT (content): Merge conflict in cmd/mesh/shared.go
Auto-merging cmd/mesh/profile-dump.go
CONFLICT (content): Merge conflict in cmd/mesh/profile-dump.go
Auto-merging cmd/mesh/manifest-versions.go
CONFLICT (content): Merge conflict in cmd/mesh/manifest-versions.go
Auto-merging cmd/mesh/manifest-migrate.go
CONFLICT (content): Merge conflict in cmd/mesh/manifest-migrate.go
Auto-merging cmd/mesh/manifest-generate.go
CONFLICT (content): Merge conflict in cmd/mesh/manifest-generate.go
Auto-merging cmd/mesh/manifest-common.go
CONFLICT (content): Merge conflict in cmd/mesh/manifest-common.go
Auto-merging cmd/mesh/manifest-apply.go
CONFLICT (content): Merge conflict in cmd/mesh/manifest-apply.go
error: Failed to merge in the changes.
Patch failed at 0001 Export Logger and NewLogger

In response to this:

/cherrypick release-1.4

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@irisdingbj should we also add this new Logger to 1.4, considering future PRs may depend on it?


Fixes for Python 3

Used the 2to3 tool. @pteichman This project is really great, keep going!

You should have removed the use of codecs from control.py (it is not necessary to use the UTF-8 writer anymore, just pass the argument directly).

I think we have all of these in place now.


Use factory pattern to initialise flag and JavaCompiler objects

Replace #getFlagBuilder and #getJsr199Compiler with factory pattern in AbstractJctCompiler class and implementations.

Codecov Report

Merging #278 (0317070) into main (3e0de86) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #278      +/-   ##
==========================================
- Coverage   71.04%   71.00%   -0.05%
==========================================
  Files          75       75
  Lines        2625     2621       -4
  Branches      239      239
==========================================
- Hits         1865     1861       -4
  Misses        693      693
  Partials       67       67

Impacted Files
Coverage Δ

...hub/ascopes/jct/compilers/AbstractJctCompiler.java
100.00% <100.00%> (ø)

...ascopes/jct/compilers/impl/JctCompilationImpl.java
100.00% <100.00%> (ø)

...opes/jct/compilers/javac/JavacJctCompilerImpl.java
100.00% <100.00%> (ø)


Create maximum_subarray.cpp

Added maximum subarray problem

@all-contributors pleae add @AviAtul for his code


Extend wiki documentation for extensions

Make a wiki page on how to program a extension
Expected Behavior

-explain the nessesary methods which has to be implemented by a extension
Context

Make it clear how to develop a extension!

JavaDocs should be good enough


Uncaught SyntaxError: Unexpected token export

Just tried to use Popper with bootstrap by including latest popper.js to my page:
<script type="text/javascript" src="/static/popper.js"></script>
And got this error in the browser console:

Uncaught SyntaxError: Unexpected token export popper.js:2297

read the usage section of the README


Allow safe files on subdomains. Fixes #61

In https://github.com/iftechfoundation/ifarchive-unbox/commit/170844e13c6726f07dcb71ab8b54bfd2a51cf61a @curiousdannii wrote, "Redirect to subdomain for unsafe file and vice versa."
But we don't need to redirect to the non-subdomain for safe files; we can just serve the safe files on the subdomain, too. This fixes #61 and is simpler all around.

Safe files are redirected to the main domain because the main domain is CDNified (Cloudflare). The effect of this change is to move all the server load of media files -- the big ones -- from Cloudflare to Unbox.

@erkyrath added on Slack,

I'd rather find a CORS fix, for the reasons I just mentioned in the PR.

It would be possible in principle to update the canvas JS code to make this work, by setting a crossOrigin parameter on image data, but that would require updates to the game itself. (I think JS code was authored/generated by RPGMaker, so we'd have to get them to fix their bug, publish a new version, and then the author would have to upgrade and re-generate the HTML export using the fixed version.)

I found a CORS fix, but it requires us to modify the game itself. https://github.com/iftechfoundation/ifarchive-unbox/issues/61#issuecomment-2332486969
… or, we could figure out a way for Cloudflare to cache subdomains, I guess.

We're gonna do #63


demos/tri.c: VkAllocationCallbacks is broken

demos/tri.c implements VkAllocationCallbacks with aligned_alloc/_aligned_malloc, free/_aligned_free, and realloc.
I belive that is broken in many ways:

realloc does not return a pointer with the necessary alignment.
realloc(_aligned_malloc(...)) crashes.
_aligned_free(realloc(...)) crashes.
aligned_alloc requires that size must be a multiple of alignment, while Vulkan provides no such guarantee to these callbacks.
On POSIX-based implementations, aligned_alloc requires that alignment must be a multiple of sizeof(void *) as well as a power of two, while Vulkan merely requires it to be a power of two.
aligned_alloc(0), realloc(p, 0) might return non-NULL, while I think Vulkan requires NULL.
_aligned_malloc(0, a) is documented to invoke the invalid parameter handler (although I'm not sure it actually does in practice).

Implementing a valid allocator is quite non-trivial, so it may be best to just delete the allocator entirely from the demo.
(See also https://github.com/KhronosGroup/Vulkan-Docs/issues/21 and https://github.com/KhronosGroup/Vulkan-Docs/issues/103 for related discussions.)

I've removed the allocation callbacks from the tri demo.  Thanks.


Add clear command for filtered list functionality

fixes #118

LGTM! Just to double confirm that we'll have a separate message format when the clear command is executed on the entire address book, right!

oh omg i actually forgot to put it in HELP


Text gets randomly split onto multiple lines

Related to #1036
For no apparent reason, there are line breaks in long enough output.
This started appearing after the text wrapping had been fixed.

Seen on Ubuntu 16.04

@Leva7 I hope this time it's fixed properly. Could you please verify in the latest master?


Allow Powertoys Run to search Active Directory contents

Description of the new feature / enhancement
I would like the Run tool to get a plugin which can search for people, and - if matches are found - present the following options:

display this user's address book info
copy & paste the NT username
send an email using the default email app
open a Teams chat with this person
call this person using Teams

Also if a group name is entered (or Outlook distribution list name) its members should be displayed and selectable.
Windows Search can search for people but I'm not sure if this includes AD, and if we can leverage this feature for PT Run.
Scenario when this would be used?
Use case: contacting people, without having to think about how to contact them beforehand (this is a distraction to the actual topic I want to talk about with the person).
Currently I have to either open Outlook or open Teams to be able to search for contacts, i.e. decide about the app before deciding whom to write to. This duplicates all search effort especially if I need to find the first available person in a group or department.
A central search place where to find all AD content - and subsequently use this to contact people using various ways, email, chat, call, etc - would be very helpful.
Supporting information
No response

/dup #3205


Fix wine fermentation timer to begin at appropriate time

Previously, the wine fermentation timer would enter into a negative range if the user cooked an inventory full of wine and then tried to cook another inventory.
This change resets the fermentation timer each time the player is performing the wine cooking animation, giving a more accurate measure of the remaining time to fermentation.

Do the animation and chat message not happen at the same time? Why does this fix the problem? Is the chat message check still required?

Animation happens before chat message

Yeah, the animation occurs as soon as the player mixes the grapes with the jugs of water. The chat message won't appear until the player can't make any more jugs of wine until the action is interrupted or the player runs out of supplies in their inventory.

I am referring to the "You squeeze the grapes into the jug"... message, which I think happens for each wine made?

Nope. That message doesn't appear until player runs out of supplies. I actually just tested it by interrupting the wine-making action and that doesn't produce the message, nor does it happen after each jug of wine is made.
That message would appear for every jug of wine made if you were only making one jug of wine per inventory, but I doubt anyone is making one jug of wine, banking, and then repeating the process.

Is the code checking for the message and updating the last time even necessary then?

Nope! Just removed the code involving the message checking and tested it out. Everything seems to work as intended. The newest commit should reflect these changes.


[AIRFLOW-2715] Pick up the region setting while launching Dataflow templates

Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-2715
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

To launch an instance of a Dataflow template in the configured region,
the API service.projects().locations().teplates() instead of
service.projects().templates() has to be used. Otherwise, all jobs will
always be started in us-central1.
To make it even worse, the polling for the job status already honors the
region parameter and will search for the job in the wrong region in the
current implementation. Because the job's status is not found, the
corresponding Airflow task will hang.
Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Should work with existing tests.
Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes flake8

@janhicken Retriggered the CI.

Codecov Report

Merging #4125 into master will increase coverage by 2.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4125      +/-   ##
==========================================
+ Coverage   76.66%   78.79%   +2.13%
==========================================
  Files         199      199
  Lines       16209    18211    +2002
==========================================
+ Hits        12427    14350    +1923
- Misses       3782     3861      +79

Impacted Files
Coverage Δ

airflow/operators/http_operator.py
90.69% <0%> (-2.16%)
:arrow_down:

airflow/executors/dask_executor.py
1.63% <0%> (-0.37%)
:arrow_down:

airflow/jobs.py
77.09% <0%> (+0.09%)
:arrow_up:

airflow/sensors/external_task_sensor.py
97.36% <0%> (+0.49%)
:arrow_up:

airflow/settings.py
83.03% <0%> (+1.87%)
:arrow_up:

airflow/models.py
94.26% <0%> (+2.17%)
:arrow_up:

airflow/hooks/dbapi_hook.py
82.25% <0%> (+2.41%)
:arrow_up:

airflow/hooks/postgres_hook.py
94.44% <0%> (+2.77%)
:arrow_up:

airflow/www_rbac/views.py
77.24% <0%> (+4.86%)
:arrow_up:

airflow/www/views.py
73.88% <0%> (+5.14%)
:arrow_up:

... and 3 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 bc3108e...6759626. Read the comment docs.

I have Reverted the changes becaue for the location API, location is is required. You will need to add this parameter to the DataflowTemplateOperator, you need to check if it is not passed as a default option or a parameter, you wil need to specify a default location.
Add tests to see that location is provided, if not which default location is used, etc

Alright, I will do this as you descriubed @kaxil


Add first example robot (rrbot as system)

Some TODOs:

[x] add xacro dependecy
[x] parse robot's description from the xacro file
[x] remove urdf file

Codecov Report

Merging #37 (f18145a) into master (85450cc) will decrease coverage by 100.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##            master     #37        +/-   ##
============================================
- Coverage   100.00%   0.00%   -100.00%
============================================
  Files            4       1         -3
  Lines            4      74        +70
============================================
- Hits             4       0         -4
- Misses           0      74        +74

Flag
Coverage Δ

unittests
0.00% <ø> (-100.00%)
:arrow_down:

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

Impacted Files
Coverage Δ

...l_demo_hardware/src/rrbot_system_position_only.cpp
0.00% <0.00%> (ø)

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 7b4968d...b630ceb. Read the comment docs.

@destogl I'm happy to update these changes (let's merge soon) once https://github.com/ros-controls/ros2_control/pull/258 is merged


request permission for rundeck plugin

Description
https://github.com/jenkinsci/rundeck-plugin
Adding @ltamaster as maintainer,  @gschueler  will confirm the permission

Submitter checklist for changing permissions

Always

[X] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[X] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[X] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[X] All newly added users have logged in to Artifactory at least once

confirmed!


[clang] Registering an object, derived from other registered object, into Object Factory from another translation unit causes clang to crash

https://github.com/llvm/llvm-project/issues/59999


MINIFI-541: Update Dockerfile to Follow Docker Best Practices

Thank you for submitting a contribution to Apache NiFi - MiNiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi-minifi folder?
N/A Have you written or updated unit tests to verify your changes?
N/A If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
N/A If applicable, have you updated the LICENSE file, including the main LICENSE file under minifi-assembly?
N/A If applicable, have you updated the NOTICE file, including the main NOTICE file found under minifi-assembly?

For documentation related changes:

N/A Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

I've taken the liberty of migrating this PR to the NiFi repo now that MiNiFi Java is integrated with the NiFi codebase. @SethFalco although the PR is on my fork/branch, you are still the author of the commit so when merged, the history will show your contribution


can not run rake global_version

Hi,
I am probably doing something wrong here. I tried to follow your contrib instructions but could not run the rake global_version task. I got the output below.
Running rake compile did generate the SolutionVersion.cs.
What am I missing?
** Invoke global_version (first_time)
** Execute global_version
rake aborted!
uninitialized constant FORMAL_VERSION
C:/ruby200/lib/ruby/2.0.0/rake/ext/module.rb:36:in const_missing' C:/xx/GitHub/Topshelf/rakefile.rb:34:inblock in <top (required)>'
C:/ruby200/lib/ruby/gems/2.0.0/gems/albacore-0.3.5/lib/albacore/support/createtask.rb:18:in call' C:/ruby200/lib/ruby/gems/2.0.0/gems/albacore-0.3.5/lib/albacore/support/createtask.rb:18:inblock in assemblyinfo'
C:/ruby200/lib/ruby/2.0.0/rake/task.rb:228:in call' C:/ruby200/lib/ruby/2.0.0/rake/task.rb:228:inblock in execute'
C:/ruby200/lib/ruby/2.0.0/rake/task.rb:223:in each' C:/ruby200/lib/ruby/2.0.0/rake/task.rb:223:inexecute'
C:/ruby200/lib/ruby/2.0.0/rake/task.rb:166:in block in invoke_with_call_chain' C:/ruby200/lib/ruby/2.0.0/monitor.rb:211:inmon_synchronize'
C:/ruby200/lib/ruby/2.0.0/rake/task.rb:159:in invoke_with_call_chain' C:/ruby200/lib/ruby/2.0.0/rake/task.rb:152:ininvoke'
C:/ruby200/lib/ruby/2.0.0/rake/application.rb:143:in invoke_task' C:/ruby200/lib/ruby/2.0.0/rake/application.rb:101:inblock (2 levels) in top_level'
C:/ruby200/lib/ruby/2.0.0/rake/application.rb:101:in each' C:/ruby200/lib/ruby/2.0.0/rake/application.rb:101:inblock in top_level'
C:/ruby200/lib/ruby/2.0.0/rake/application.rb:110:in run_with_threads' C:/ruby200/lib/ruby/2.0.0/rake/application.rb:95:intop_level'
C:/ruby200/lib/ruby/2.0.0/rake/application.rb:73:in block in run' C:/ruby200/lib/ruby/2.0.0/rake/application.rb:160:instandard_exception_handling'
C:/ruby200/lib/ruby/2.0.0/rake/application.rb:70:in run' C:/ruby200/bin/rake:37:in'
Tasks: TOP => global_version

I just hit this issue too. Simply running rake seems to work. No need to run rake global_version. Recommend just updating the README.

Build is using fake now.