Non-deterministic output breaking long-term caching

While using webpack for a project using react-bootstrap, I noticed my distribution hashes kept changing. I've narrowed this down to a simple test case, in my situation both react-bootstrap and react-bootstrap-daterangepicker are affected. This is mainly an issue for long-term caching as the hashes for files keep changing.
What happens is that whenever I execute webpack, the output will be different. Looking at diffs between runs it seems that the indexes passed into requires keep changing. Probably some async operations returning  in variable order somewhere? Example diff chunk:
141c141
< 	    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(5), __webpack_require__(4), exports], __WEBPACK_AMD_DEFINE_RESULT__ = function(momentjs, $, exports) {
---
> 	    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(6), __webpack_require__(4), exports], __WEBPACK_AMD_DEFINE_RESULT__ = function(momentjs, $, exports) {

Repro case exists out of a package.json to install the requirements and a webpack config:
package.json:
{
    "name": "webpack-repro",
    "version": "0.0.0",
    "dependencies": {
        "react-bootstrap": "0.20.1",
        "react-bootstrap-daterangepicker": "0.2.4"
    },
    "devDependencies": {
        "webpack": "1.7.3"
    },
    "private": true
}

webpack.config.js:
'use strict';

var path = require("path");
var webpack = require("webpack");

module.exports = {
  entry: {
    vendor: [
      "react-bootstrap",
      // "react-bootstrap-daterangepicker",
    ],
  },
  output: {
    path: path.join(__dirname, "js"),
    filename: "[name].js",
  }
};

add the OccurenceOrderPlugin.

Reading the documentation for this that looks like the OccurenceOrderPlugin should do the trick and I'll give it some testing. I don't think records will help though as I've seen non-deterministic output even when clearing out the output directory.
It's probably worth making a mention of this on the long term caching page? Is there a reason this behaviour isn't default?

The OccurenceOrderPlugin doesn't seem to solve the problem very well for keeping the vendor chunk unchanged. It looks like that code modifications could result in module reordering even without adding new external dependencies.

OccurenceOrderPlugin seems to work well enough, at least for my case. I have to put generated files on GitHub for the benefit of the Bower package manager. It's nice not to re-commit those files when the source code hasn't changed.
But a simple option to make the output deterministic would be useful. Why not base the module order on the order in which they are imported/required?

With the next major version occurence order is on by default.

Can't one just write a loader that calculates the md5 of the final content? Question is only how make that available to the variable expansion so that "[name]-[md5].[ext]" would work.

@tcurdt: Or better: the md5 of the minification of the final content. That way, changes to comments and whitespace would not reorder the modules.

@mhelvens true - but I could live with the final step of the loader pipeline. Which would be easy to implement in a loader. Just no clue how to get the md5 from the loader into the [md5].

But even more sensible than playing with hashes, I think, is to just use the order in which the modules are imported / required.
The module imports of a project form a tree, with an entry-point as its root. The imports in any given module are also ordered, since source code is just plain text; thus, a plane tree. I daresay webpack already has a representation of this tree in memory. Why not just use a pre-order traversal of this tree to determine the module order in the output?

Not so sure about the sensible. I would vote for having content addressable files (be it just for cache busting or CDNs) any time.

I think I misunderstood your proposal. You're talking about file names? I don't think that's what this issue is about. The issue here is that separate runs of webpack on the same source code may result in different output, because of some indeterminacy in the ordering of module definitions.
Choosing a filename for cache busting seems a separate issue. And isn't this already possible using [hash] and/or [chunkhash]?

@mhelvens re-reading I agree - it's not the same problem.

It's determistic now

@sokra When was this fixed? We're getting this issue with Webpack 1.12.2.

@MPV I see this issue as well.  1.12.2

For my project, our current hypothesis is that different contents of different node_modules folders (due to for example different npm versions, v2 vs v3, or having worked on different branches with different package.json + dependencies installed). This in turn then seems to affect which packages webpack chooses to require, thus giving different / non-deterministic output.
Still have not been able to fully prove that this is the case, but any help troubleshooting / testing / solving the issue further is more than welcome of course.

Running into this issue as well. Non-deterministic output breaks our serviceworker-caching process because we use load-balancing and the files are different on each server, even though the source is the same. We use the OccurenceOrderPlugin. Output for reference: https://gist.github.com/plestik/934bc56a212d468cc6ee

Why is this closed? None of the linked issued seem to address the problem.  I have a "vendor" bundle whose contents seem to get "randomized" every time I build it.  Exact same modules, different order.  I have tried the "occurrence order plugin" -- it made no difference.  The benefit of splitting bundles is completely lost if the "vendor" bundle gets re-ordered every time, for no reason.  There must be a simple, deterministic order that depends only on the set of modules being included!  I am now looking for alternatives to webpack because this is essentially a deal-breaker.  Hopefully I am missing something...is there a solution to this?

I'm facing the same problem even with OccurenceOrderPlugin ( by the way, why is it renamed to Occur**r**enceOrderPlugin....) and recordsPath. I get different chunk hashes on different machines.......
And I've also found that the chunk hashes before and after uglify are the same.... which indicates webpack calculates the hash before uglify


Company Ledger - Blocked staff can also able to print ledger

Describe the bug
https://www.berrycast.com/conversations/d224b97a-966e-5362-ab1b-e264b0d9f48a

Print Url Is public


Adding UI parameters

This is related to PR #158 in edvin/fxlauncher (https://github.com/edvin/fxlauncher/pull/158).
It allows you to customize the UI. The fields to customize the UI were
already apart of FXLauncher, there was just no easy way to change them.
The fields are

updateText (--update-text)
updateLabelStyle (--update-label-style)
progressBarStyle (--progress-bar-style)
wrapperStyle (--wrapper-style)

@edvin, this should expose the UI properties added in FXLauncher's #158 (https://github.com/edvin/fxlauncher/pull/158), but in the plugin.

Hi, @edvin. I'm sure you just missed this because you're busy with other things.
If there's something I can do to make merging this easier for you, I'd be happy to do it.

Hi @TurekBot - sorry about that, things are crazy at the moment :) It looks fine, I'll merge. Perhaps you would like to help out with maintaining/publishing this plugin? I don't use Gradle myself, you see.

@Edvin, I'm just a Gradle fledgling myself, but I'd love to help.

@edvin, If it's something I can help with, I'd love to get a new release of the plugin published.

Version <IP_ADDRESS> is now in maven central :)


Allow HTML in title

Default title option doesn't allow HTML rendering. All html tags are converted to text.
This fix the issue

appreciate this, I needed this myself.

Seems like HTML is already allowed. Can you provide an example?


Add NativeFunctionInvocationFixer

This PR

[x] implements a configurableNativeFunctionInvocationFixer

Related to #2420.
💁♂ For reference, see

https://twitter.com/Ocramius/status/811504929357660160
http://php.net/manual/en/language.namespaces.faq.php#language.namespaces.faq.shortname2
http://veewee.github.io/blog/optimizing-php-performance-by-fq-function-calls/

Function or constant names that do not contain a backslash like name can be resolved in 2 different ways.
First, the current namespace name is prepended to name.
Finally, if the constant or function name does not exist in the current namespace, a global constant or function name is used if it exists.

Because I'm lazy, I tried replacing
As a heads-up, with some experimenting, I used PhpStorm regular expressions to find and replace, replacing
(^\s+|return\s|,\s|=\s|=>\s|\?\s|:\s|!|\()(?!(array|empty|exit|do|for|foreach|if|while|isset|list|unset|__))(\w+)\(

with
$1\\$3\(

In general, I am for the change, but not in this form. It's hard to maintain and keep it consistent.
Instead, I propose:

PR with a rule to add that \ without dummy regexes that will fail on edge cases
then apply it on repo
and keep rule running under CI

@keradus
Sounds good, let me take a look at it!

Actually missing quite a bunch of functions.

did someone compare if with the import of these function (use function \array_keys; etc.) also gives the same benefits?

@keradus @SpacePossum
How about this one?

@SpacePossum it shall, as engine will, as well as with echo \implode($x), do function lookup, but it will take it from import

@keradus
Updated! 🤓

I let myself fix https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2462/files#r96804912

@localheinz can you fix the 5.6 issue, it is a test thing only I thing :)
and please rebase as well.
Love to see this in!
(as I would like to build upon it to add config option to import rather than to add '' for all native calls)

as I would like to build upon it to add config option to import rather than to add '' for all native calls

let us make it first as adding \ (as it's simpler and easier), then with time we could add option to decide to import them instead of prefixing.

Ha, sorry for the delay, will take a look tomorrow!

Tests should pass, take a look!

@SpacePossum , I am not sure about that include... it's not good practice to create global functions... I'm not for encouraging people to use them by adding setting just for them

@keradus fair enough :) @localheinz please ignore my comment :+1:

@localheinz, is there anything left in this PR, or ready for merge ?

@keradus
I can't think of anything, if you are all happy with it, let's 🚀 it!

Thank you @localheinz.

Thank you, @keradus, @Slamdunk, and @SpacePossum!

thanks @localheinz , awesome new fixer!


Replace CATALOGUE pagination with new Search Pagination component.

Sounds sensible to use one ticket, @rcantin-w


Respect element color for Smoke effect

Currently Smoke Effect's particle color is always .black which limits its customizability.
This pull request solves this problem by taking contentElement.color into account, if there is none - .black is used as a default value

Awesome job on that @VladOrackle!
Good catch and thanks for the contribution! ❤


add val operation when skip hpo

When skipping hpo, validation data was not used in the call to the model's fit method, which affected the printing during the training process and the evaluation of the trained model. I have corrected this issue.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for the fix! This was indeed a bug. I've updated the PR to reflect a solution that fixes the problem without causing a bug present in the initial PR which assigns X_val twice as an arg when HPO is performed. Will merge after the CI passes.


(#11929) serve files in binary mode

Previously, Windows agents were reading files in text mode when serving
them locally, such as when serving files from a local module, corrupting
them in the process.
This commit reads files in binary mode, which is a noop on Unix.
Serving files from remote puppet masters was fixed in #9983.

I get a failure on MacOS running the spec tests for this; see the ticket for details.

Not sure how that happened. I've updated the failing test.


Iterator improvements

This patchset just ports of https://github.com/tarantool/crud/pull/87 to crud without merger
Closes #73
Closes #82

You forget about CHANGELOG (and maybe we should note in README that pairs returns lua-fun compatible iterator).

CHANGELOG

Added


code is a mess - depends on jquery - does not update properly on resize

better use mine: https://github.com/soenkekluth/sticky-state
(demo is yours with my module)
overflow:auto > position:sticky will be supported in a moment

as you can see - i added support for polyfilled (fixed sticky) inside an overflow:auto container.
https://rawgit.com/soenkekluth/sticky-state/master/examples/index.html
so the native feature becomes statefull and the polyfill supports different viewports. browser support : >= IE9 no dependencies! jank free with animationFrame

and finally: polyfill behaves exactly like the native feature...
https://rawgit.com/soenkekluth/sticky-state/master/examples/index.html
utraperformant!

there is also a react component now
https://github.com/soenkekluth/react-sticky-state

Looks great! I’d love some of these ideas in the fixed-sticky plugin. I made an issue for one above.
I don’t think we’ll support the overflow feature but can you be more specific about some of the other complaints re: performance?

Oh, and if you’re using our demo code you should at probably include some kind of attribution, yeah?

of course i will add attribution to the demo.
when i was using fixed-sticky not long ago in a project the dimensions of the fixedsticky-dummy were not recalculated when the window resized for example. in your update method you recalculate several values like dimensions of the sticky element and the parent offsets and so on. in my module i cache these values and only recalculate them if really needed. then your not using animationFrame...

This issue must be a joke, @soenkekluth how can you open an issue in a repo that is not yours without having contributed to it at all and saying that the code is a mess?
The first thing you point in the issue is better use mine, latter you wrote 3 more comments just talking about how utraperformant! its your repo and pointing to the React version of it, which is not related at all with this.
I mean im happy that you have created your own repository and you think it's better than this one, but you should learn how to respect code of other people and don't use it to SPAM them in other issues. This stuff doesn't help anyone, not the maintainers, not the users and not you.


Respond to "I mapped it!" posts and/or scan for mapping on previous entries.

I just finished up the little bit of code so the bot will post Carto screen grabs. I'm almost done with some code to get it to scan for folks responding to posts. Hopefully it'll start scanning and posting updated screen grabs this week.
If there's other "stats" kinds of things that folks would find interesting (ex: updated building/roadway/landuse counts) I'm always happy to add stuff. Anything that you can write an overpass query for is pretty easy to plug in. My only concern is keeping it relatively simple and actionable. No one wants a super noisy bot!

I need to do some cleanup but the bot now will respond. What do you think of this? https://en.osm.town/@SmallTownUSA/110659361110992435

I think this is now in working order. Definitely let me know if you discover otherwise.

Good reminder! I'll update the pinned post and send out a message about the update once this gets finished https://github.com/watmildon/SmallCityMastodonBot/issues/10


snappymail: 2.29.1 -> 2.29.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/snappymail/versions.
meta.description for snappymail is: Simple, modern & fast web-based email client
meta.homepage for snappymail is: https://snappymail.eu
meta.changelog for snappymail is: https://github.com/the-djmaze/snappymail/blob/v2.29.2/CHANGELOG.md
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.29.2 with grep in /nix/store/ly5v554ix1q9spc2gsjba9xq151i8jbw-snappymail-2.29.2
found 2.29.2 in filename of file in /nix/store/ly5v554ix1q9spc2gsjba9xq151i8jbw-snappymail-2.29.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
snappymail

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/364017958cc6d9485ff5fb0ed844f9a322eeb4db#snappymail

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

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

1 package built:

snappymail

Maintainer pings
cc @Mic92 for testing.

Result of nixpkgs-review pr 267768 run on x86_64-linux 1

1 package built:

snappymail


Implement eth_getTransactinReceipt API

What was wrong?
We need to implement eth_getTransactionReceipt API
How was it fixed?
Coming...
This is based on https://github.com/ethereum/py-evm/pull/1886
To-Do

[ ] Clean up commit history

[ ] Add entry to the release notes

Cute Animal Picture

Just noticed the hacker PR number :sweat_smile:

@gsalgado do you mind reviewing that one? If no bigger changes are needed this could potentially still make it into the release we have to cut for the Muir Glacier fork.


[MPLUGIN-444] JavadocLinkGenerator.createLink: Support nested binary

class names

Will this also handle nested-nested classes?

Yes, it does, I added a test for this in https://github.com/apache/maven-plugin-tools/pull/178/commits/ff47800d2a3e0f4e0cffd75daa7145374e68135d


One line to rule them all

Checklist:

[x] Code contains relevant tests for the problem you are solving
[x] Ensure all new and existing tests pass
[x] Update any relevant READMEs and docs

Description:
This is a huge restructure, but I think this moves us in the right direction.

One-line setup! Just npm setup and npm start to get it up and running and linked locally. Bonus: npm run test:contracts to run contract tests.
npm start really does everything:

starts ganache
deploys contracts using migrations
builds JS
watches for changes in contracts; change triggers redeployment, which triggers JS rebuild
watches for changes in JS; change triggers rebuild
makes browser tests automatically available at localhost:8081

Abstracts Truffle behind our own commands. We're still using it as much as we were before, but now we're calling it programmatically from our scripts. If we ever decide to drop Truffle (for example to be able to use the latest web3), we can do so without having to change our development process.
Simpler codebase structure. We now have just one npm package, and it's in the root of the repo. Makes codebase easier to understand and work with imho.
Removes env var dependencies. origin.js will always be injected, so configurable options like IPFS gateway are passed into the constructor at initialization.
Updates readme. I've merged everything into a single readme. There's probably too much in it at the moment. I think the next step would be to move some of the more general Origin Protocol-level stuff to a separate repo (maybe documentation?). This readme should be specific to the origin.js library.

New structure looks like:

demo dapp

readme (contains the full setup instructions; references platform readme)

platform/origin.js (the repo is still named platform, but it exports a single origin.js package at the top level)

readme (contains setup instructions just for origin.js)
contracts (just a directory, not a package; contains all of the truffle code including the solidity contracts)

Also, see accompanying PR in demo dapp repo. The main change there is that it updates the readme to correspond to these changes. https://github.com/OriginProtocol/demo-dapp/pull/108
I've tested the process of walking through local setup using both readmes - but if other people could also try it out that would be great!

So cool!
Just a little clarification in the readme and we're all set.

It wasn't clear to me that I could run the demo dapp at same time tests were being served.
I had webpack compiling repeated many times as last output from npm start. I assume that's it recompiling after file changes?
For a newbie, it might not be clear that after npm start you can launch demo dapp.

I might take a stab at the README in the morning.
But again: Awesome to have this! This makes the onboarding experience light-years beyond our old mess of switching tabs and zillion steps.

On truffle.js , can we actually change the port to 8545? That's the default port used by metamask, and would save people from having to configure a new RPC URL.

@wanderingstan Yes we absolutely can! I thought about doing that here but decided to hold off as there is already a lot going on. I'll create a PR for that.

Yeah good call on making a separate PR for the port. I remember aiham 's good advice to keep PRs pretty focussed, and you this one (by necessity) was already doing a lot.


Missing Folders

Hi, I'm getting an error when trying to compile the code.
because the hardware files are not available. Can you share the hardware files?

Is the first line #define BUILD_PAXO 1 commented? If not comment it and you shouldn't get any more errors.

It's ok. But i want to build whole project. I will use same hardware as yours. Could you share whole project folders?

which files are you missing, normally you should have everything?

#include "soc/rtc_wdt.h" #include "esp_heap_caps.h" #include <esp_task_wdt.h>
I dont wanna comment #define BUILD_PAXO 1

Also I want to build this project on VS code. Do you have any guide for me? I can build on CLion without errors but something goes wrong on VS code.

What OS are you using ?
What compiler are you using ?
Can you share the errors you are getting ?


Opening a URL with runHaxeCode()

Describe your problem here.
I'm trying to see if its possible to use runHaxeCode() to open a URL (Because why not?)
Am I on the  right track with this code?
function onCreate()
	addHaxeLibrary("kha", "System")
end

function onStartCountdown()
	return Function_Stop;
end

function OpenUrl(URL)
	debugPrint("Loading Url: "..URL)
	runHaxeCode("System.loadUrl("..URL..")")
end

function onUpdate()
	if keyJustPressed("accept") then
		OpenUrl("https://youtube.com")
	end
end

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Nothing changed.

kha seems interesting, but you can use
CoolUtil.openBrowser

for url load

kha seems interesting, but you can use
CoolUtil.openBrowser

for url load

:0


Respect GitHub Secondary Rate Limits

Is your feature request related to a problem? Please describe.
GitHub's secondary rate limits prevent the creation of many resources in a short time frame. For example, creating PRs is capped in a period and GitHub's limits kick in. git-xargs will report an error and failure to create a PR when this happens with a HTTP 503 error.
git-xargs should respect the rate-limiting headers that GitHub returns and pause/sleep for that amount of time before continuing. The secondary rate limiting prevents the use of git-xargs against large amounts of repos (dozens to hundreds) because of these limits. The update scripts need to add a long pause that kills any performance (i.e. 30s) and concurrency when dealing with many repos.
https://docs.github.com/en/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits
Describe the solution you'd like
It would be great if git-xargs respected the GitHub X-RateLimit-* headers and automatically slept for that duration before continuing with the API requests.
https://docs.github.com/en/rest/overview/resources-in-the-rest-api#secondary-rate-limits
Describe alternatives you've considered
The workaround is to put a fixed pause in the update script, up to 30s to avoid being throttled and having the batch job fail.
Additional context

Thank you for the detailed bug report!

@mkowaliszyn-coursera - if you have a free moment and are game for an experiment, would you please try building the binary from this PR and see if it improves performance with your use case? Thanks!

Thanks @zackproser! I'll give it a try, though it may take a week or longer.


[ENG-3357] Make hover state lighter and more contrasty

Ticket: ENG-3357
Feature flag: n/a

Purpose
The external services links on the registries landing page were too dark compared to their background in the hover state. This lightens up the hover state and increases the contrast.
Summary of Changes

Add hover state css.
Fix the link for "open source code" to go to ember-osf-web instead of ember-osf-registries.

Screenshot(s)

Side Effects
This is isolated to those links and the hover state.
QA Notes
Just verify that I made the hover state light enough to be properly visible.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 73.083%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
5160

Relevant Lines:
6795

💛  - Coveralls


Angularjs 9 ngx soap not working...

Hello ngx-soap, is there any way to add your lib in my latest angular project. When ever i tried i got error.
error while compiling
WARNING in Entry point 'ngx-soap' contains deep imports into '/home/sunnynegi/projects/my-app/node_modules/crypto-js/sha1', '/home/sunnynegi/projects/my-app/node_modules/crypto-js/enc-base64'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
ERROR in The target entry-point "ngx-soap" has missing dependencies:
uuid/v4
package.json
{   "name": "my-app",   "version": "0.0.0",   "scripts": {     "ng": "ng",     "start": "ng serve",     "build": "ng build",     "test": "ng test",     "lint": "ng lint",     "e2e": "ng e2e"   },   "private": true,   "dependencies": {     "@angular/animations": "~9.1.9",     "@angular/common": "~9.1.9",     "@angular/compiler": "~9.1.9",     "@angular/core": "~9.1.9",     "@angular/forms": "~9.1.9",     "@angular/platform-browser": "~9.1.9",     "@angular/platform-browser-dynamic": "~9.1.9",     "@angular/router": "~9.1.9",     "buffer": "^5.6.0",     "concat-stream": "^2.0.0",     "core-js": "^3.6.5",     "crypto-js": "^4.0.0",     "events": "^3.1.0",     "lodash": "^4.17.15",     "ngx-soap": "^0.6.3",     "rxjs": "~6.5.4",     "sax": "^1.2.4",     "stream": "0.0.2",     "tslib": "^1.10.0",     "uuid": "^8.1.0",     "zone.js": "~0.10.2"   },   "devDependencies": {     "@angular-devkit/build-angular": "~0.901.7",     "@angular/cli": "~9.1.7",     "@angular/compiler-cli": "~9.1.9",     "@types/node": "^12.11.1",     "@types/jasmine": "~3.5.0",     "@types/jasminewd2": "~2.0.3",     "codelyzer": "^5.1.2",     "jasmine-core": "~3.5.0",     "jasmine-spec-reporter": "~4.2.1",     "karma": "~5.0.0",     "karma-chrome-launcher": "~3.1.0",     "karma-coverage-istanbul-reporter": "~2.1.0",     "karma-jasmine": "~3.0.1",     "karma-jasmine-html-reporter": "^1.4.2",     "protractor": "~7.0.0",     "ts-node": "~8.3.0",     "tslint": "~6.1.0",     "typescript": "~3.8.3"   } }
Any help would be appreciated

Downgrade uuid version
npm i<EMAIL_ADDRESS>try this

Would love to know if the fix suggested by amitsodmise worked?

Would love to know if the fix suggested by amitsodmise worked?

I made a PR with updated version of Angular: https://github.com/lula/ngx-soap/pull/87


[kotlin] Fix new bin/kotlin-client-nullable.sh script

Sets executable flag on bin/kotlin-client-nullable.sh
Removes improper quoting around artifact-id
Uses posix path separator for output directory

crosslink OpenAPITools/openapi-generator#4422


Feature/run empty

dealing with what happens in experiment.run when bandit_algo returns no suggestions

you made a branch off of use_pyll to do this right? If so - could you make
the PR back to use_pyll?
On Tue, Feb 21, 2012 at 11:55 PM, Dan Yamins <
<EMAIL_ADDRESS>
wrote:

dealing with what happens in experiment.run when bandit_algo returns no
suggestions
You can merge this Pull Request by running:
git pull https://github.com/yamins81/hyperopt feature/run_empty
Or you can view, comment on it, or merge it online at:
https://github.com/jaberg/hyperopt/pull/81
-- Commit Summary --

m
cleaning up base
tests for random suggest
m
m
m
m
m
m
cutting gdist
cutting dbn ienv pylearnpca
m
deleting genson bandits, helpers, and theano_bandit_algos
moved main_search to main.py
moving sparsegram tests to GP test file
removing bandit_algos file
bandits tested and working
m
skipping GM tests
m
m
updated requirements and setup
adding a trials.refresh to Experiment.serial_evaluate
adding len to Trials
genson_helpers are back
sanity and arg-checking assertions in Random
modified trial document structure to include miscs
trial validity test and insert_trials -> insert_trial_docs
MongoTrials shaping up
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
more work on base
mongo refactored
mongo unittest for driver_attachment protocol
testing clear_all and trials attachments
unittests for most of mongo CLI
adding _dynamic_trials and implementing MongoTrials new_ids
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
Trials no longer cache _miscs _specs _results, gains tids property
moving Random.suggest to base class
remove print
hacking on tpe
updating comment
test_posterior_clone passing
fixing unsynced counts in base.Trials
tpe prog
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
better SONify for sampled documents
TPE
BanditAlgo vectorizes distributions before storing to by_nid dicts
no more draw_rng
ap_samplers take size and rng args
repairing GMM
TestPosteriorClone passing
TestPosteriorCloneSample is passing
lpdf almost working
TestSuggest running in 2 cases
throwing some random math into TPE lpdf functions, needs work
TestSuggest running
adding lpdf hist test
fixing math in TPE
GMM math seems correct
lognormal math tests passing
TPE passing tests possibly good to go
adding TPE to toplevel
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
test base SONify -- tests DO NOT pass
test bandit exception catching
SONify works in n-dimensions, gets tests
finishing SONify commit
test_failure for Experiment
updates
adding SONify support for True and False
can pass seed to BanditAlgo constructor
no longer send all job results to logger
repair SONify
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
break on empty stuff in experiment.run

-- File Changes --
M .gitignore (2)
M hyperopt/init.py (12)
D hyperopt/bandit_algos.py (48)
M hyperopt/bandits.py (33)
M hyperopt/base.py (741)
D hyperopt/dbn.py (644)
D hyperopt/experiments.py (103)
D hyperopt/gdist.py (637)
D hyperopt/genson_bandits.py (11)
D hyperopt/ht_dist2.py (521)
D hyperopt/idxs_vals_rnd.py (532)
D hyperopt/ienv.py (723)
M hyperopt/main.py (83)
M hyperopt/mongoexp.py (827)
M hyperopt/plotting.py (124)
D hyperopt/pylearn_pca.py (166)
D hyperopt/tests/init.py (0)
D hyperopt/tests/test_bandit_algos.py (0)
A hyperopt/tests/test_bandits.py (40)
M hyperopt/tests/test_base.py (510)
D hyperopt/tests/test_experiments.py (16)
A hyperopt/tests/test_failures.py (23)
D hyperopt/tests/test_gdist.py (366)
D hyperopt/tests/test_idxs_vals_rnd.py (162)
M hyperopt/tests/test_mongoexp.py (505)
A hyperopt/tests/test_plotting.py (46)
D hyperopt/tests/test_sparsegram.py (245)
M hyperopt/tests/test_theano_gm.py (21)
M hyperopt/tests/test_theano_gp.py (273)
A hyperopt/tests/test_tpe.py (633)
A hyperopt/tests/test_vectorize.py (115)
D hyperopt/theano_bandit_algos.py (277)
M hyperopt/theano_gm.py (659)
A hyperopt/tpe.py (635)
A hyperopt/vectorize.py (255)
M requirements.txt (1)
M setup.py (199)
-- Patch Links --
https://github.com/jaberg/hyperopt/pull/81.patch
https://github.com/jaberg/hyperopt/pull/81.diff

Reply to this email directly or view it on GitHub:
https://github.com/jaberg/hyperopt/pull/81

sorry!  Will do
On Wed, Feb 22, 2012 at 9:23 AM, James Bergstra <
<EMAIL_ADDRESS>
wrote:

you made a branch off of use_pyll to do this right? If so - could you make
the PR back to use_pyll?
On Tue, Feb 21, 2012 at 11:55 PM, Dan Yamins <
<EMAIL_ADDRESS>
wrote:

dealing with what happens in experiment.run when bandit_algo returns no
suggestions
You can merge this Pull Request by running:
git pull https://github.com/yamins81/hyperopt feature/run_empty
Or you can view, comment on it, or merge it online at:
https://github.com/jaberg/hyperopt/pull/81
-- Commit Summary --

m
cleaning up base
tests for random suggest
m
m
m
m
m
m
cutting gdist
cutting dbn ienv pylearnpca
m
deleting genson bandits, helpers, and theano_bandit_algos
moved main_search to main.py
moving sparsegram tests to GP test file
removing bandit_algos file
bandits tested and working
m
skipping GM tests
m
m
updated requirements and setup
adding a trials.refresh to Experiment.serial_evaluate
adding len to Trials
genson_helpers are back
sanity and arg-checking assertions in Random
modified trial document structure to include miscs
trial validity test and insert_trials -> insert_trial_docs
MongoTrials shaping up
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
more work on base
mongo refactored
mongo unittest for driver_attachment protocol
testing clear_all and trials attachments
unittests for most of mongo CLI
adding _dynamic_trials and implementing MongoTrials new_ids
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
Trials no longer cache _miscs _specs _results, gains tids property
moving Random.suggest to base class
remove print
hacking on tpe
updating comment
test_posterior_clone passing
fixing unsynced counts in base.Trials
tpe prog
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
better SONify for sampled documents
TPE
BanditAlgo vectorizes distributions before storing to by_nid dicts
no more draw_rng
ap_samplers take size and rng args
repairing GMM
TestPosteriorClone passing
TestPosteriorCloneSample is passing
lpdf almost working
TestSuggest running in 2 cases
throwing some random math into TPE lpdf functions, needs work
TestSuggest running
adding lpdf hist test
fixing math in TPE
GMM math seems correct
lognormal math tests passing
TPE passing tests possibly good to go
adding TPE to toplevel
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
test base SONify -- tests DO NOT pass
test bandit exception catching
SONify works in n-dimensions, gets tests
finishing SONify commit
test_failure for Experiment
updates
adding SONify support for True and False
can pass seed to BanditAlgo constructor
no longer send all job results to logger
repair SONify
Merge branch 'use_pyll' of git://github.com/jaberg/hyperopt into
use_pyll
break on empty stuff in experiment.run

-- File Changes --
M .gitignore (2)
M hyperopt/init.py (12)
D hyperopt/bandit_algos.py (48)
M hyperopt/bandits.py (33)
M hyperopt/base.py (741)
D hyperopt/dbn.py (644)
D hyperopt/experiments.py (103)
D hyperopt/gdist.py (637)
D hyperopt/genson_bandits.py (11)
D hyperopt/ht_dist2.py (521)
D hyperopt/idxs_vals_rnd.py (532)
D hyperopt/ienv.py (723)
M hyperopt/main.py (83)
M hyperopt/mongoexp.py (827)
M hyperopt/plotting.py (124)
D hyperopt/pylearn_pca.py (166)
D hyperopt/tests/init.py (0)
D hyperopt/tests/test_bandit_algos.py (0)
A hyperopt/tests/test_bandits.py (40)
M hyperopt/tests/test_base.py (510)
D hyperopt/tests/test_experiments.py (16)
A hyperopt/tests/test_failures.py (23)
D hyperopt/tests/test_gdist.py (366)
D hyperopt/tests/test_idxs_vals_rnd.py (162)
M hyperopt/tests/test_mongoexp.py (505)
A hyperopt/tests/test_plotting.py (46)
D hyperopt/tests/test_sparsegram.py (245)
M hyperopt/tests/test_theano_gm.py (21)
M hyperopt/tests/test_theano_gp.py (273)
A hyperopt/tests/test_tpe.py (633)
A hyperopt/tests/test_vectorize.py (115)
D hyperopt/theano_bandit_algos.py (277)
M hyperopt/theano_gm.py (659)
A hyperopt/tpe.py (635)
A hyperopt/vectorize.py (255)
M requirements.txt (1)
M setup.py (199)
-- Patch Links --
https://github.com/jaberg/hyperopt/pull/81.patch
https://github.com/jaberg/hyperopt/pull/81.diff

Reply to this email directly or view it on GitHub:
https://github.com/jaberg/hyperopt/pull/81

Reply to this email directly or view it on GitHub:
https://github.com/jaberg/hyperopt/pull/81#issuecomment-4104792


Google Refine 2.5  Java startup error

Google Refine 2.5 - Stable version
istributor ID:	Ubuntu
Description:	Ubuntu Vivid Vervet (development branch)
Release:	15.04
Codename:	vivid
At startup despite the defined env var:
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
or
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
cannot start i get this error:
./refine: 98: [: /tmp/refine.IDTABLX: unexpected operator
Google Refine requires Java version 6 or later. If you have multiple versions of Java installed, please set the environment variable JAVA_HOME to the correct version.
All works fine with git  OpenRefine 2.6 [TRUNK]

Yes. that's an known problem and already addressed in trunk. refine script need to support JDK 8. Why don't you just use 2.6 instead of 2.5?

Obviously i use 2.6 now, but please put some note on the download page, people can't guess this issue, i spent 3 hours on 2.5 a various trying to get openrefine working...
So the main problem here is the lack of info on the main page... the instructions are:
http://openrefine.org/download.html
Linux kit, Download, extract, then type ./refine to start.
Thanks

Thanks for clarifying what you are actually requesting.  I've updated the title of the issue to reflect that.

I just update the download page.


2021.2.1 crashes

Unfortunately this version crashes with my configuration:
1/10/2021, 1:58:33 PM] [Onkyo] Initializing Onkyo platform...
[1/10/2021, 1:58:33 PM] [Onkyo] Creating 1 receivers...
[1/10/2021, 1:58:33 PM] [Onkyo] Creating new connection for ip <IP_ADDRESS>
[1/10/2021, 1:58:34 PM] [Onkyo] **************************************************************
[1/10/2021, 1:58:34 PM] [Onkyo]   homebridge-onkyo version 2021.2.1
[1/10/2021, 1:58:34 PM] [Onkyo]   GitHub: https://github.com/ToddGreenfield/homebridge-onkyo
[1/10/2021, 1:58:34 PM] [Onkyo] **************************************************************
[1/10/2021, 1:58:34 PM] [Onkyo] start success...
[1/10/2021, 1:58:34 PM] [Onkyo] Debug mode enabled
[1/10/2021, 1:58:34 PM] [Onkyo] name LAB-Onkyo
[1/10/2021, 1:58:34 PM] [Onkyo] IP <IP_ADDRESS>
[1/10/2021, 1:58:34 PM] [Onkyo] Model TX-NR609
[1/10/2021, 1:58:34 PM] [Onkyo] Zone main
[1/10/2021, 1:58:34 PM] [Onkyo] volume_dimmer: false
[1/10/2021, 1:58:34 PM] [Onkyo] filter_inputs: false
[1/10/2021, 1:58:34 PM] [Onkyo] poll_status_interval: 240
[1/10/2021, 1:58:34 PM] [Onkyo] defaultInput: TV/CD
[1/10/2021, 1:58:34 PM] [Onkyo] defaultVolume: 25
[1/10/2021, 1:58:34 PM] [Onkyo] maxVolume: 45
[1/10/2021, 1:58:34 PM] [Onkyo] mapVolume100: true
[1/10/2021, 1:58:34 PM] TypeError: this.poll_status_interval.parseInt is not a function
    at new OnkyoAccessory (/home/christian/homebridge-onkyo/index.js:134:45)
    at /home/christian/homebridge-onkyo/index.js:37:22
    at Array.forEach (<anonymous>)
    at OnkyoPlatform.createAccessories (/home/christian/homebridge-onkyo/index.js:30:13)
    at new OnkyoPlatform (/home/christian/homebridge-onkyo/index.js:23:8)
    at /home/christian/.nvm/versions/node/v14.9.0/lib/node_modules/homebridge/src/server.ts:412:40
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/home/christian/.nvm/versions/node/v14.9.0/lib/node_modules/homebridge/src/server.ts:389:27)
    at Server.start (/home/christian/.nvm/versions/node/v14.9.0/lib/node_modules/homebridge/src/server.ts:162:29)
    at cli (/home/christian/.nvm/versions/node/v14.9.0/lib/node_modules/homebridge/src/cli.ts:80:10)
[1/10/2021, 1:58:34 PM] Got SIGTERM, shutting down Homebridge...

node version: v14.9.0
Crash is caused by line 134 in index.js
this.interval = this.poll_status_interval.parseInt(10);

fixed in 2021.2.2

fixed in 2021.2.2


geemap.ee_export_image problem.

Hi! Thanks for the great package and awsome work. I have a problem with ee_export_image that I will explain it below.
Environment Information

geemap version: 0.11.0
Python version: 3.9.8
Operating System: Windows 10 x64

Description
I want to download a decadal  mvc for NDSI (1-10, 11-20, and 20 the last day of the month), MOD10A1 product. When I visualize the first image of the final collection of images is the correct one (filtered to take in account NDSI with more than 2 observations per the decadal period, clipped, etc.). When I export the images from the collection they are wrong, respectively the images before filtering out the miminum number of observations.
What I Did
import os
import ee
import datetime
from datetime import datetime, timedelta
import geemap

Map=geemap.Map()

pol3=ee.FeatureCollection('a geometry of interest')

## a function to extract values from specific bits
def bitwiseExtract(input, fromBit, toBit):
    maskSize=ee.Number(1).add(toBit).subtract(fromBit)
    mask=ee.Number(1).leftShift(maskSize).subtract(1)
    return input.rightShift(fromBit).bitwiseAnd(mask)

# A function to mask out low quality zones
def qa_mask(image):
    # Select the QA band.
    QA = image.select('NDSI_Snow_Cover_Basic_QA')
    qaMask=bitwiseExtract(QA, 0, 15).lte(2)
    mask=qaMask
    return image.updateMask(mask)

## a function to keep values for count gte 2

def mask_count(image):
    maskCount=image.select('NDSI_count').gte(2)
    image=image.updateMask(maskCount)
    return image.select('NDSI_max')

###function to count the number of bands to omit images with 0 bands
def nb_bands(image):
    return image.set('numar',image.bandNames().size())

###GLS water dataset to filter out all regions that are covered with lakes, pond, big rivers etc.
dataset = ee.ImageCollection('GLCF/GLS_WATER')
water_dataset = dataset.select('water').min()
# Remap values.
water_dataset = ee.Image(1)\
          .where(CLC2018.lte(1), 0)\
          .where(CLC2018.eq(2), 1);
###Mask for NDSI values greater than 30
def masker(image):
    test=water.select('constant').eq(0)
    test2=image.updateMask(test)
    mask1 = test2.select('NDSI_Snow_Cover').gt(30)
    return image.updateMask(mask1)

#Create NDSI

def func_dko(image):
      return image.select('NDSI_Snow_Cover').rename('NDSI').clip(pol3).copyProperties(image,['system:time_start','system:time_end'])

col1 = ee.ImageCollection('MODIS/006/MOD10A1').map(qa_mask)
NDSI = col1.map(masker).map(func_dko)

###variables for the decadal composite image
#define starting and ending dates
startyear = 2002
endyear = 2003
mapYears = ee.List.sequence(startyear, endyear)
startmonth = 6
endmonth =1
mapMonths = ee.List.sequence(1, 12)
start = ee.Date.fromYMD(startyear, startmonth, 1)
end = ee.Date.fromYMD(endyear, endmonth+1, 1); # end date is always exclusive

# define list of dates to filter on
startdays = ee.List([1, 11, 21])
enddays = ee.List([11, 21, 1])
# Create a sequence of numbers, one for each time interval.
sequence = ee.List.sequence(0, 2)

def collect(collection, start, end, mapYears, mapMonths):
        def func_years(year):
            def func_months(month):
                def func_sequence(dayRange):
                    startDate = ee.Date.fromYMD(year, month, startdays.get(dayRange))
                                    # the end date needs some if statements to be well formatted
                    endDate = ee.Date(ee.Algorithms.If( ee.Number(dayRange).eq(2), \
                                                        ee.Algorithms.If(ee.Number(month).eq(12), \
                                                                         ee.Date.fromYMD(ee.Number(year).add(1), 1, enddays.get(dayRange)),\
                                                                         ee.Date.fromYMD(year, ee.Number(month).add(1), enddays.get(dayRange))),\
                                                         ee.Date.fromYMD(year, month, enddays.get(dayRange))))

                    return collection.filterDate(startDate, endDate).reduce(ee.Reducer.max().combine(reducer2=ee.Reducer.count(), sharedInputs=True)).set('system:time_start', startDate.millis()).set('system:time_end', endDate.millis()).set('numbImages',collection.size())
                images2 = sequence.map(func_sequence)
                return images2
            images1 = mapMonths.map(func_months)
            return images1
        images=mapYears.map(func_years).flatten()
        collection = ee.ImageCollection.fromImages(images)
        return collection.filterDate(start, end).set('system:time_start', start.millis()).set('system:time_end', end.millis())

##applying the fucntion defined above

colectie_decad_init=collect(NDSI,start,end,mapYears,mapMonths)
colectie_decad_number=colectie_decad_init.map(nb_bands)
colectie_decad=colectie_decad_number.filter(ee.Filter.gte("numar",2))

colectie_final=colectie_decad.map(mask_count)

##visualize data for confirmation

viz_list=colectie_final.toList(200)
image_1=ee.Image(viz_list.get(0))
date_image_1 = image_1.date().format('dd-MM-yyyy').getInfo()
print(date_image_1 )
ndviParams = {'min': -1, 'max':100, 'palette': ['8B0000','FF0000', 'FF4500', 'FFFF00', '00FF00','008000', '006400']}
Map.addLayer(ee.Image(viz_list.get(0)), ndviParams, 'NDSI image')
Map

##final step, export your images
out_dir = os.path.expanduser("Downloads_new")
if not os.path.exists(out_dir):
    os.makedirs(out_dir)

for i in range(0, 200, 1):
        image_2=ee.Image(vizualizare.get(i))
        date = image_2.date().format('dd-MM-yyyy').getInfo()
        name1= 'SnowDecad'+'_'+date+'.tif'
        filename1 = os.path.join(out_dir, name1)
        print(name1)
        geemap.ee_export_image(image_2, filename=filename1, scale=500,region=pol3.geometry(), crs='EPSG:3035')

I think it is something wrong here, at export of the images. I checked and rechecked the variables and the code. I also test the code in EarthEngine web platform and with ee.batch.Export.image.toDrive and the results are correct.
Thank u for everything!

What's wrong exactly? Be specific. The ee_export_image() function wraps the image.getDownloadURL() function. It has nothing special. You are welcome to inspect the function source and let me know if there is anything wrong with the source code. There are also other functions you can try out:
https://geemap.org/common/#geemap.common.ee_export_image
https://geemap.org/common/#geemap.common.ee_export_image_collection
https://geemap.org/common/#geemap.common.ee_export_image_collection_to_drive

@giswqs To be more specific, It won't download the images from the list that I specify. The list is correct inspected manually, with the right output. The problem is that I want to download them directly on my computer, cause I also thought of using something else e.g. ee_exporrt_image_collection.

What's the error message?

5 hours ago I didn't had any errors, just wrong results. Now I have a An error occured while downloading. I use the same function in another sripts/parts and there is no error. The intriguing part is that I can see the correct results, as in the web platform.

When downloading, there should be URLs printed. Click the URLs to see if you can download the images manually. If you can download them manually, then it is not a geemap problem.

Ok. The downloading is working, but when I use .toList(), but somehow the functions applied for additional filtering (filtering based on elevation for example) are ignored, even when I am using the latest collections. I dunno from where it is this, but if my list and collections are right, what can it be?

This image is exported with ee_export_to_drive

This image  is exported with ee_export_image.

The images are based on the same ImageCollection to be exported. This message is to be more clearer in my encountered problem.

I still can't understand what the problem is. I can't help if you can't articulate your question.

@giswqs I wrote down the code I used, I tried to explain the problem I encountered with exemple outputs. What to articulate more in my question because I don't understand really. :'( Thanks for the kinds answears!

Your code is incomplete and does not work. Just showing two images does not make the problem clear. I can't what the problem is exactly.

I updated the code now with a correct version of it (only another geometry is needed), sorry for that. To be more clearer I have two image collection, an original one(colectie_decad_init) and the final one with some functions applied over it( colectie_final). The visualization part will let you see the the final collection (colectie_final) transformed to a list (final_list) from which I want images to be exported from . When I use ee_export_image or the ee_export_image_collection the results are from the original collection (colectie_decad_init) and not from the desired collection(colectie_final), even if the declared variable is with the desired collection to be exported. If I can't point out my problem more clearly now, I will close the issue.

Unfortunately, your code still does not work.

Please use image.getDownloadURL() or ee.batch.Export.image() to export data without using geemap. I don't think this is a geemap issue.


Crash at startup when paired with optifabric 1.16.2 (optifabric-1.4.5.jar)

I know there was an earlier issue closed because you don't support outdated mods, but someone has picked optifabric back up and is now actively working on it again.
https://paste.ee/p/UjKN0

thank you


Incorrect diff for a string

Hi, i've got two json files:
old.json
{
  "network": {
    "domain": "old.domain"
  }
}

new.json
{
  "network": {
    "domain": "new.domain"
  }
}

When i run:
jsondiff.diff(old_json, new_json, syntax="symmetric")

I've got this:
{
    "network": {
        "domain": [
            "old.domain",
            "new.domain"
        ]
    }
}

Instead of:
{
    "network": {
        "domain": {
            "$delete": [ "old.domain" ],
            "$insert": [ "new.domain" ]
        }
    }
}

The json expected that I've written is probably not right, it's just an example to show the diff keys I expect.
It is normal behavior? Did I forget something?

Definitely looks like a bug.
I reproduced it with the CLI tool and it works for non-symmetric.
~\OneDrive\Desktop> jsondiff .\old.json .\new.json -i 2 {   "network": {     "domain": "new.domain"   } } ~\OneDrive\Desktop> jsondiff .\old.json .\new.json -i 2 -s symmetric {   "network": {     "domain": [       "old.domain",       "new.domain"     ]   } }


Info for new researchers

Hey all,
Just wondering what content and level of detail we're planning on putting on here. Ideas:
Links to learning materials - Software Carpentry (Shell, R, Python, Git, SQL), DataCamp (R), STAT435 materials, recommended Stats/Linear Algebra resources (e.g., Tibshirani), Programming Cheat Sheets.
Accessing computational resources - Biochem Dept (SAN, biochembioinfo), NeSI (Tuakiri, Applying for a Project, ssh keys, Slurm).
What are our practices for submitting code to github - what goes on personal v. labgroup accounts (is lab account private?).
Cheers,
Tom K

Other recommendations for new researchers:
-Markdown tutorial for Rmd users: http://markdowntutorial.com/
-RSS tracker (e.g., feedly) for tracking lit searches (e.g., pubmed) and blogs on bioinformatics or academic writing (all credit to James on this one)
-Interloan (and other Otago Library services for aquiring/managing academic papers)
-Reference manager (EndNote, BibTeX, Mendeley, etc)


upstream: adding hidden config and creation for upstream filter facto…

adding hidden config for upstream filters, and setting the cluster up to create upstream filters.
upstream filters are as yet unused, still cleaning up (https://github.com/envoyproxy/envoy/pull/22434) but this makes it a much cleaner PR
Also adding 2 random tweaks to router code because coverage was failing despite there previously being no changes to router code :-(
Risk Level:  low (no-op if not configured)
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
part of https://github.com/envoyproxy/envoy/issues/10455

/lgtm api


Use carbon-web-components directly in the ui-shell

Changes
After review https://github.com/Qiskit/web-components/pull/139 and https://github.com/Qiskit/web-components/pull/140
I think we can remove some elements in favor of using directly the original components.
We can't do it header-menu or the header-menu-button because they don't expose parts for the svgs.
Implementation details
Just remove custom implementations to use the original ones, editing the styles with the custom parts.
How to read this PR
Commit by commit should be easier to read.

Friendly ping to @yoshiemuranaka as you lead the ui-shell!

Also a question/comment about the community nav dropdown. I think when I started working on this, I referenced learn.qiskit.org, which doesn't include the Ecosystem dropdown but qiskit.org does. Maybe we can add Ecosystem with this PR? not sure whether or not it should be included in the final nav

Good catches! Thank you @yoshiemuranaka! 👏
I just applied your changes!

Also a question/comment about the community nav dropdown. I think when I started working on this, I referenced learn.qiskit.org, which doesn't include the Ecosystem dropdown but qiskit.org does. Maybe we can add Ecosystem with this PR? not sure whether or not it should be included in the final nav

Hmmm I don't know...
And I can't find any information about it on Figma.
@JRussellHuffman could you confirm it? Thanks!

I merge it for now and I'm waiting for Russell's answer to do it in another PR.


fix(notification): create only one notification per user

the notifications will only be created once per request for each user and type
Refs: CPLP-2526

Closed because of wrong target


Deprecate old placeholder staking reward distribution logic

Current dependencies on/for this PR:

feature/proof-of-stake

PR #579

PR #621   👈

This comment was auto-generated by Graphite.


Can't update omnisharp-atom if there's a running instance of omnisharp roslyn somewhere

Okay, so I had 3 copies of Atom open, and one of them probably had omnisharp-atom running.
Got a notification that there was a package update available. Tried to update, but I'm getting an error.
EPERM, unlink 'C:\Users\xyz.atom\packages\omnisharp-atom\node_modules\omnisharp-server-roslyn-binaries\lib\server\approot\packages\kre-clr-win-x<IP_ADDRESS>-beta3\bin\kre.clr.dll'

The resolution is to open task manager and kill the various klr processes. Doing that, the update works.

For me, this causes the package to become corrupt. Atom sees it, but can't update or uninstall it. I have to go into the .atom folder and delete it manually, then reinstall the package.

The resolution for now, when you see that there is an update for omnisharp is to completely exit Atom.
Then, open up the command prompt/terminal and type apm update omnisharp-atom.

This isn't unique to us for what it's worth.

We could listen to the update event, and try to kill all the servers.

Hmmm we should be getting shut down according to...
https://github.com/atom/settings-view/blob/1e1619c1719f2623bcd21a0297fcc16ee2baf1c7/lib/package-manager.coffee#L203-L204
We should probably rebase https://github.com/OmniSharp/omnisharp-node-client/pull/3 and try it out.

Maybe.... maybe this is fixed in #431


Cannot insert a form in html mode

If the trumbowyg editor is in a form, which it likely is if you intend to save data to the server, then you cannot insert a form into it using html mode.  After pasting in the form code, if you switch back to visual and again back to html mode, the form tags will be stripped out.
Is there any way to prevent this?

WAW, you are creating an abomination :D
Hum. inserting a form in a form is invalid in HTML.
There is no code in Trumbowyg which strips from explicitly.
So, maybe it's a browser-level bug :/

It's not unusual at all, I've got a form where the user is customizing what will be shown on their public event page, and they want to embed a Paypal donation form on it.

Ah :/
I suggest to develop a switch to disable Trumbowyg if the user want a fully customizable HTML.
Also, the user can use a PayPal.me URL :)

Thanks, I'll look into that


Better handling of nested objects in Elasticsearch data

Fixes METAMODEL-1227.
In case an Elasticsearch document contains nested objects, these should be designated the ColumnType.MAP,  because they're resolved to Map objects, not to String objects.

Reviewed, LGTM.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/79620

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/84868

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/90243

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/95688


Error doing job: Task exception was never retrieved

Hi @JoDehli,
by installing the new PyLoxone Version 0.3.4, I get following error massage:
Logger: homeassistant
Source: custom_components/loxone/sensor.py:274
First occurred: 5:52:38 (4 occurrences)
Last logged: 5:52:38
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 297, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 334, in _async_write_ha_state
sstate = self.state
File "/config/custom_components/loxone/sensor.py", line 274, in state
return self._format % float(self._state)
TypeError: not all arguments converted during string formatting
Cheers Vic

@vicfalls This is because I changed the formating which was a pull request https://github.com/JoDehli/PyLoxone/pull/61
What format string do you use for this sensor in loxone? Does all the other sensors work?

@vicfalls can you check the dev branch?

@JoDehli, sorry that I haven't respond earlier to your request. I did't have time to do so. The dev branch version works perfect.


Alt+PrtScn under Windows does not capture only the VS Code window

The keyboard combination Alt+PrtScn should take a screenshot of the currently active window. However, for a VS Code window, it does not work. Instead, the whole screen is captured.
Perhaps VS Code is "hijacking" the Alt key's default behavior?

VSCode Version: 1.21.1
OS Version: Windows 10 x64 build 16299.309

Issue is present with extensions disabled.

I can't reproduce your issue on win10 with VS Code 1.21.1.
You mention that this only occurs with extensions disabled but maybe you didn't disable all extensions?
You can disable all extensions with CTRL+SHIFT+P --> 'Disable all installed extensions'. It's important to restart VS Code after this.
Then check if the problem still persists.
If the problem is not caused by an extension, please provide us with a reproducible list of steps that trigger this behavior. For example: what component inside VS Code (editor, explorer, etc.) has the focus when you create the screenshot?
Do you have any other applications installed that might modify the ALT key behavior?

I did disable all extensions. At first, I was using the "Reload Window with Extensions Disabled". But now I've just tested with "Disable All Installed Extensions" as you said, and restarted VS Code manually. Issue persists.
Steps are simple:

Launch VS Code
Press the Alt+PrtScn combination.

It does not matter which component has focus (but the window has focus, I'm sure of it), nor whether a file is opened or not.
I must mention this is a Windows 10 installation within a QEMU/KVM virtual machine, managed with virt-manager, and using display SPICE with a qxl video device. SPICE guest agent is installed as well as necessary VIRTIO drivers.
But the problem is specific to VS Code, every other program I've tried works ok with Alt+PrtScn and I've been using this setup for over a year.

I am closing this as this does not seem to be under VSCode's control at all, rather it is a OS feature. As far as I know, VS Code is not using the PrintScreen key.

Well, but it uses the Alt key.
Now, I just booted Windows 10 natively, bypassing the virtual machine, and Alt+PrtScn works as expected there. Weird thing it is the only program I ever tested for which it doesn't work through virt-manager - I just did some testing with a myriad of other applications.
Anyway, if it works natively I don't see a reason to reopen the issue. And sorry for not exhausting my options beforehand as I should have.


[AVM Question/Feedback]: Just wondering if anyone else would find it beneficial to have the allowed role definitions defined within the type definition for each module?

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Description
Container Registry

@JPEasier, this issue seems to be related to the Container Registry module. Can you please have a look? Thanks!

Hey @brazarb, thanks for bringing this up. @matebarabas this is a general suggestion, and is not Container Registry-specific.
That being said, @brazarb, we did test a few things and also participated in a related conversation in the Bicep repository: https://github.com/Azure/bicep/issues/1895
Ideally, we would not need to specify any roles in the modules if there were a function to get the GUIDs for the roles for us. However, as this function does not exist (and as there is no viable workaround), the next best solution was to add a subset of resource-relevant roles into the templates themselves (which you can always find in the builtInRoleNames variable).
What you'd suggesting builds on top of this as right now a user would need to know the names of the roles in order to use them. There is a long running draft PR open in which I created a PoC to extract the roles and at least add them to the readme's. But I didn't have time to finish it.
Your solution would be more elegant but unfortunately has a big catch which I believe will prevent us from implementing it. As soon as we add an 'allowedSet' to the parameter to enable users to pick from a list of role names, you lock the user out from any role that isn't specified both in that set, and the builtInRoleNames variable. As the later explicitely does not contain all possible roles for the given scope (as this would massively increase the size of the template), we'd lock users out of most roles they could assign to the given resource.
Right now, we instead support the following 3 options
        {
          roleDefinitionIdOrName: 'Owner' // <== Must be known
          principalId: nestedDependencies.outputs.managedIdentityPrincipalId
          principalType: 'ServicePrincipal'
        }
        {
          roleDefinitionIdOrName: 'b24988ac-6180-42a0-ab88-20f7382dd24c' // <== Must be looked up
          principalId: nestedDependencies.outputs.managedIdentityPrincipalId
          principalType: 'ServicePrincipal'
        }
        {
          roleDefinitionIdOrName: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'acdd72a7-3385-48ef-bd42-f606fba81ae7') // <== Must also be looked up. Just the full syntax of option 2
          principalId: nestedDependencies.outputs.managedIdentityPrincipalId
          principalType: 'ServicePrincipal'
        }

I hope that explanation maxes sense.


Metro 4, form element definition

In Metro 4 checnged method for element definition
https://metroui.org.ua/v4/forms.html
Forms in develop...

Important! No more difficult structures. Metro 4 automatically convert standard elements to if need. You can add data-role attribute to element to conver it. See details on https://metroui.org.ua/v4/forms.html
Forms in develop...

Forms done

Is it possible to add custom icons (e.g. one of the metro ui icons) to input fields? Like, if you add data-role="input" the clear ad/or reveal buttons can be activated. So, can I add another icon and additional functionality (through callback?) when clicking the icon besides reveal and clear?

To define custom icons:
data-clear-button-icon
data-reveal-button-icon

Sorry if I wasn't clear enough. I don't want to have a custom icon for reveal or clear functionality, but I want new functionality. For example I want a custom icon on the left of the input and if I click on this icon a dialog opens (the dialog opening code would be in a callback which I would like to define for that button click). I hope it is more clear now what I mean?

I'll add it later.
19 вер. 2017 р. 5:19 пп "Micha J."<EMAIL_ADDRESS>пише:

Sorry if I wasn't clear enough. I don't want to have a custom icon for
reveal or clear functionality, but I want new functionality. For
example I want a custom icon on the left of the input and if I click on
this icon a dialog opens (the dialog opening code would be in a callback
which I would like to define for that button click). I hope it is more
clear now what I mean?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/olton/Metro-UI-CSS/issues/957#issuecomment-330553281,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWSNJ0wuOz8iY2ShTT2O8IJTBnjWNvRks5sj8xlgaJpZM4PSO40
.

@JohnArcher https://github.com/olton/Metro-UI-CSS-4/invitations


I'm building a video streaming site for Opera

I'm building a video streaming site for Operas (2-3 hours long).
I had never considered that the <video> element was not suitable for this.
Moovie.js calls itself a "Movie focused HTML5 Player". What does that mean, and what's wrong with the HTML5 <video> element?

Hey there,
Well, there is nothing wrong with the "video" element, in fact, moovie.js is built on top of the HTML5 native video element as you may see in read me file.
It call itself "made for movies" because it has specific features that most people need when they are watching a movie or a long subtitled video, for example: adjust offset on the fly, support for .srt and .vtt captions.
other than that, works perfectly fine as other native  element would perform.


Add tfm

Disable netcore 1.1 tests
Adding NetCore 2.0 support.

@azuresdkci test this please

@azuresdkci retest this please


Upload gradlew and gradlew.bat to GitHub

Generally when uploading code to a VCS, it's very helpful to make sure the files gradlew (no filename extension) and gradlew.bat are uploaded, along with the folder gradle. The folder is there but the gradlew files aren't, which makes it difficult for people to build from scratch. It's possible they got added to the .gitignore .
Having those two files and the folder lets others can download your code and immediately build your project with the same gradle distribution as you, without needing to manually install the correct version of gradle on their system.
Thank you!
-Light

fixed with latest release


Variables are ignored in GraphQL subscriptions

Describe the bug
The query variables sent in the request for GraphQL subscription over WebSockets are ignored. If we specify some variables in the GraphQL query of subscription, then we get this error - Scope not present
Expected behaviour
The GraphQL query variables should be used by Space Cloud.
Actual behaviour
Space Cloud gives an error
Your environment

Space Cloud version: v0.17.0

If this bug restricts your use of space-cloud, give it a thumbs up reaction, so that we can determine which bugs need to be fixed immediately.
👍

Coming in v0.17.0


Pass service_signing_name to ClientEndpointBridge

This was being passed as the 4th positional argument
to ClientEndpointBridge which is the default_endpoint,
not the service_signing_name.  Passing this value
as a kwarg to be explicit.
I also fixed a case where the signingName from the service
was not being used in the case where we assume an endpoint
if we can't resolve anything from the endpoint resolver.
Fixes boto/boto3#538
cc @kyleknap @JordonPhillips

:ship: I can confirm it works as well

:boat:


(PUP-9589) Ignore onetime in state machine

Previously, puppet agent -t --waitforcert N ignored waitforcert. This was
because -t implies --onetime, and the state machine would always exit when
onetime was set, regardless of waitforcert.
This commit simplifies the state machine to only observe the waitforcert
setting. The onetime setting is really specific to running the puppet agent
application, so only that application should be responsible for mapping
onetime=true to waitforcert=0.
The puppet device application doesn't have the same problem, because
it doesn't have a --test option, nor does it automagically map options
to onetime.

CLA signed by all contributors.

pre- this change
[0] Melissa@bubba:/Users/Melissa/puppet:(6.4.x)$ be ./bin/puppet agent -t --waitforcert 10 --server lvdx1lh862fzbkg.delivery.puppetlabs.net
Info: csr_attributes file loading from /Users/melissa/.puppetlabs/etc/puppet/csr_attributes.yaml
Info: Creating a new SSL certificate request for bubba.local
Info: Certificate Request fingerprint (SHA256): F6:29:5B:80:36:15:9F:FA:7C:5A:91:EC:FC:0D:37:AC:75:C6:4B:BF:7A:96:14:E8:C2:3D:2F:4C:D1:01:0B:51
Info: Certificate for bubba.local has not been signed yet
Couldn't fetch certificate from CA server; you might still need to sign this agent's certificate (bubba.local). Exiting now because the waitforcert setting is set to 0.

post- this change
[0] Melissa@bubba:/Users/Melissa/puppet:(waitforcert_9589)$ be ./bin/puppet agent -t --waitforcert 10 --server lvdx1lh862fzbkg.delivery.puppetlabs.net
Info: csr_attributes file loading from /Users/melissa/.puppetlabs/etc/puppet/csr_attributes.yaml
Info: Creating a new SSL certificate request for bubba.local
Info: Certificate Request fingerprint (SHA256): F6:29:5B:80:36:15:9F:FA:7C:5A:91:EC:FC:0D:37:AC:75:C6:4B:BF:7A:96:14:E8:C2:3D:2F:4C:D1:01:0B:51
Info: Certificate for bubba.local has not been signed yet
Info: Couldn't fetch certificate from CA server; you might still need to sign this agent's certificate (bubba.local). Will try again in 10 seconds.
Info: csr_attributes file loading from /Users/melissa/.puppetlabs/etc/puppet/csr_attributes.yaml
Info: Creating a new SSL certificate request for bubba.local
Info: Certificate Request fingerprint (SHA256): F6:29:5B:80:36:15:9F:FA:7C:5A:91:EC:FC:0D:37:AC:75:C6:4B:BF:7A:96:14:E8:C2:3D:2F:4C:D1:01:0B:51
Info: Certificate for bubba.local has not been signed yet
Info: Couldn't fetch certificate from CA server; you might still need to sign this agent's certificate (bubba.local). Will try again in 10 seconds.
Info: csr_attributes file loading from /Users/melissa/.puppetlabs/etc/puppet/csr_attributes.yaml
Info: Creating a new SSL certificate request for bubba.local
Info: Certificate Request fingerprint (SHA256): F6:29:5B:80:36:15:9F:FA:7C:5A:91:EC:FC:0D:37:AC:75:C6:4B:BF:7A:96:14:E8:C2:3D:2F:4C:D1:01:0B:51
Info: Certificate for bubba.local has not been signed yet
Info: Couldn't fetch certificate from CA server; you might still need to sign this agent's certificate (bubba.local). Will try again in 10 seconds.

jenkins please test this with servertests

this looks fine to me. I kicked off jenkins tests for fun

Looks like acceptance failed due to the earlier change in PUP-3122. Let me fix that.

Updated acceptance test and rebased.

jenkins please test this with servertests

Reworded commit summary


Ability to dynamically style cells

Hi! I've added two features allowing to quickly style cells dynamically.
They are cellStyleFunction and cellClassFunction column configuration options accepting a function.
Usage is shown in the src/app/pages/examples/various/cell-styling.component.ts

@dorgis87 For me - yes. Using my branch in the app for about 6 months.

@duhast I'm sorry but I don't have strong skills as developer, do you know of some tutorial that can help me use your branch in my project of angular 5?


[SPARK-43032] [SS] [CONNECT] Python SQM bug fix

What changes were proposed in this pull request?

Some bug fix for streaming connect python SQM
Note that I also changed non-connect's StreamingQueryManager get() API to return an Optional[StreamingQuery].
Before it looks like this when you get a non-exist query:
>>> a = spark.streams.get("00000000-0000-0001-0000-000000000001")
>>> a
<pyspark.sql.streaming.query.StreamingQuery object at 0x7f86465702b0>
>>> a.id
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/wei.liu/oss-spark/python/pyspark/sql/streaming/query.py", line 78, in id
    return self._jsq.id().toString()
AttributeError: 'NoneType' object has no attribute 'id'

But now it looks like:
>>> a = spark.streams.get("00000000-0000-0001-0000-000000000001")
>>> a.id
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'id'

The only difference is the return type, which is not typically honored in Python... But not very sure if that's a breaking change
Why are the changes needed?

Bug fix
Does this PR introduce any user-facing change?

No
How was this patch tested?

Manually tested. Also verified that it won't throw even without this fix so it's not that urgent

@HyukjinKwon This is relatively small but changes something, can you take a look?
Also CC @rangadi @pengzhon-db

Merged to master.


Langchain notebook 2

Related Issues/PRs

#xxx
What changes are proposed in this pull request?
Briefly describe the changes included in this Pull Request.
How is this patch tested?

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[ ] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[ ] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

/azp run

Codecov Report

Merging #2002 (20153ac) into master (aa2a0b2) will decrease coverage by 52.55%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #2002       +/-   ##
===========================================
- Coverage   87.09%   34.55%   -52.55%
===========================================
  Files         306      306
  Lines       16062    16062
  Branches      827      827
===========================================
- Hits        13989     5550     -8439
- Misses       2073    10512     +8439

see 268 files with indirect coverage changes

/azp run


Rename terminal tab is cropped

Testing #124716

macos
have terminal tabs
rename a tab
:bug: the rename input seems to high, its upper/lower border aren't visible

fixed 1a8bd7b260f71577e693ad0ff238544517bcb694


1705 - Fix to allow the

The new regex should allow for the following cases:

<style>
<style class='text/css'>
<style class="text/css">

Mix-matching of the single/double quotes will not be matched.
I did allow for more than one space " *", but this can be changed by allowing only 1 or 0 with " ?".

The second one should not be encouraged for modern webdev

http://stackoverflow.com/questions/7715953/do-we-need-type-text-css-for-link-in-html5


fix: resolve minor issues in contract negotiation process

I just rebased the branch locally, will merge it afterwards.


When targeting armv7 on iOS, gen_snapshot generates invalid directives.

Currently, the only supported target for AOT variants on iOS is aarch64.
Support for building for armv7 on iOS was added in Flutter recently. This can be achieved by adding the ios-cpu flag to the GN invocation: ./flutter/tools/gn --ios --runtime-mode profile  --unopt --ios-cpu=arm
Invoking this snapshotter on the Dart application code generates assembly that has invalid directives.
These errors show up when we attempt to use cc to generate the application binary. The error messages are attached here.
The command line invocation looks something like this: xcrun cc -arch armv7 -miphoneos-version-min=8.0 -c snapshot_assembly.S -o snapshot_assembly.o. For reference, an example assembly file is attached here: snapshot_assembly.S.zip.

The snapshotter must generate assembly that can be used to generate Mach binaries.

cc @rmacnak-google. Thanks!


box-sizing: border-box excluded when using flex-inline class

Move box-sizing: border-box to [class="flex-"] selector.

Fixed.


Extend unicode character range regex

With this commit characters from À to ÿ will be supported. Before this
commit words with f.e. an ö in it would be parsed as a seperate word.

Thanks for submitting this!
I have specific comments on the regex, but if we resolve those I think this is a good change and would be happy to merge it.

Yes, agreed! Thanks!

Looks good; thanks for fixing this!


Better disabled cards and colours/names

More colours, more names, and it now tells you who hasn't voted yet:

Also it's clearer about when you're a spectator:

Also includes some easter eggs:

@rmccue yup, I'd rather rebuild it in something other than Angular than spend a tonne of time redoing to standards, Hari's been fixed up


Add "Latest News" section to dashboard with list of latest blog article titles

@jmoeltjen do you think a link to the blog would be enough or having an actual view with the feed?

@niemyjski I would do a truncated list of the three most recent posts from the feed, or just a twitter feed, which will also have it and promote people to follow on twitter and click through to the site. Should be some pretty quick & easy code snippets out there to steal if you don't want to write your own.

Issue moved to exceptionless/Exceptionless.UI #82 via ZenHub.io


TextBlock inlines

With moving from pure wpf to avalonia i've encountered problems with using TextBlock.Inlines.
I'm using the latest nuget version of avalonia (0.10.18).
In the documentaion (https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/TextBlock.cs) TextBlock inherits Control and IInlineHost and contains Inlines.
But in TextBlock.cs via sourcelink in my project TextBlock inherits only Control and the  Inlines property is absent.

TextBlock only support inlines in V11.0 previews. it's not available in 0.10.x

Thank you for your answer.

@rabbitism what is the approximate release plan of V11.0?

@Sfairait textblock isn't editable, there can't be a spell check, unless I misunderstood something.
TextBox with spellcheck isn't planned for 11.0, but maybe for 11.x. It would highly depend on the platform apis, I suppose.

@maxkatz6 , of course TextBox, i mistyped. Thank you for the answer.


Wrong command for "Work items" -> "Permanently delete work items"

The command for "Work items" -> "Permanently delete work items" should be only destroywi instead of witadmin destroywi

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

ID: 77829252-e5e1-9458-1f8b-716ff67c8e22
Version Independent ID: db144baa-772a-6950-1b34-bd188ca656d7
Content: witAdmin:Customize and manage objects for tracking work - TFS
Content Source: docs/work/customize/reference/witadmin/witadmin-customize-and-manage-objects-for-tracking-work.md
Product: devops
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@TobiasSekan  - Thank you for the feedback. I'm correcting the article and changes should appear later today.


file limitation: VB samples

7ae9d136ff12f5da6b14c291ab07d88afbbde5ab
derived from #509
implement via #390 capa rule

dup of https://github.com/fireeye/capa-rules/issues/278

[ ] add example to "compiled from Visual Basic"
[ ] add file limitation rule with description


Form changes computed columns support multiple revisions

This approach to project_revision records only containing a delta of the form_change that are modified is leading to greater code complexity, which will harm this project's maintainability. I'll start a new branch where the project_revision will have a complete snapshot of a project's form_change records.


[KeyVault][Cryptography] Support multi-block cryptography

Placeholder issue to investigate supporting streaming/multi-block.

Based on conversations with @jonathandturner , @schaabs and @bterlson , this issue is about local AES cryptography. We'll follow up on the next release.


fix(students): fix invalid search parameters with smaller devices

:tada: This PR is included in version 1.0.0-alpha.142 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove secret create job, cm, add push secret

Instead of a sync hook, copy the created ceph user credential to xraylab
namespace with pull secrets. These copy the credentials to vault, and
create secrets from there as external secrets. This has the added
benefit of instead of firing once, the copied secret would be kept in
sync.

/lgtm

/lgtm


Correct Functionality of Applications- Round Wise Filter

Describe the task
Currently when we Apply filter on  Assignee its  working.

And now if we apply Round wise filter .

Round wise filter removes Assignee Filter and shows all Applications According to round wise filter.

Expected Behavior
Round wise filter should work properly if there is any filter is  already working.

This issue is completed. Closing it.


Untranslaterate with strings not chars

Some languages like Japanese use often pairs of characters like "ka", "ki", etc.

Using regex and replace function to solve this


Fallback for wpc and ewww

Provide options for fallback if the first is down (fallback key for ewww; fallback url and secret for wpc)
I know it is possible to have fallback simply by adding an extra converter in the converter array. But it is a bit tedious to work with (did it in the Wordpress plugin). And in most cases no more than one fallback is needed.

Hm... Is fallback needed for ewww? You are not allowed to use same key on multiple sites, I guess.

For wpc, we might even want more than one backup? And perhaps we would sometimes want to distribute load evenly

Paused until I figure out what it is I want...

With the new api 1 of wpc, there are more options, making it less relevant with such "shortcut". Not implementing...


Support for Azure SAS tokens.

Support for Shared Access Signatures as an alternative to storage account keys.

Rebased and applied in 2aec179


[ansible/*] added compatibility with Amazon Linux 2

PR Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Title of the PR starts with installer/product name (e.g. [ansible/artifactory])
[x] CHANGELOG.md updated
[x] Variables and other changes are documented in the README.md

What this PR does / why we need it: It adds compatibility with Amazonlinux2
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #206
Special notes for your reviewer:
This is a follow up to PR https://github.com/jfrog/JFrog-Cloud-Installers/pull/207
To answer your question there @chukka : We did use this modification in the role to install an artifatory in our staging and production environment.
Unfortunately i cannot share logs of the ansible run due to privacy restrictions.

Hi @MatrixCrawler,
Thank you for the PR, We will check this and come back you soon
cc: @chukka


running demo issue

Please provide us with the following information:

This issue is for a: (running demo)
when i clone the repo and run the ./downloadJarScript.sh script inside /AndroidMauiBindings
then i open CommunicationCallingSampleMauiApp/CommunicationCallingSampleMauiApp.sln
and start the project in android emulator (API 33)
visual studio shows 44 error
first one is :
 => Severity	Code	Description	Project	File	Line	Suppression State
Error	APT2098	drawable_azure_communication_ui_calling_ic_fluent_video_off_24_filled_composite_button_filled_grey.xml.flat: error: failed to open file. "drawable_azure_communication_ui_calling_ic_fluent_video_off_24_filled_composite_button_filled_grey.xml.flat: error: failed to open file.".	CommunicationCallingSampleMauiApp	C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.26\tools\Xamarin.Android.Aapt2.targets	123

OS and Version?

Windows 11 ,Visual Studio 17.5.1

Thanks for your help

this needs some work.  similar problem here

I have the same problem. It would be great to get some feedback on how to resolve this

Hi @WTheodore, @morgan-hill, @issamBoutissante,
Thank you for reporting issue. We are looking at issue and will follow up soon.
Thanks,

Hi @ShaunaSong
thank you for the response
i'm going to try this and let you now
thanks

Please reopen if issue exists.


unable to use flow type assertions without having to disable eslint inline

I created an app with create-react-app, and I added redux and flow.
I tried to use the empty type assertion in the default case of the reducer to validate that every single type of action have been handled as per flow documentation.
The type assertion is actually triggering the no-unused-expressions eslint error
const reducer = (state: string = '', action: Action) => {
    switch (action.type) {
        // cases
        default:
            (action: empty); // this is throwing eslint/no-unused-expressions
            return state;
    }
};

As I found myself writing quite a few times type assertions like the above, I decided to search for a way to avoid having to disable eslint all the time. It turned out that there's a flowtype no-unused-expressions rule which ignores type assertions, but it requires to switch off the eslint no-unused-expressions rule first, in order to replace it.
For this reason I tried to switch this rule off in my  .eslintrc.yml
extends:
    - airbnb
parser: babel-eslint
env:
    browser: true
    jest: true
globals:
    SyntheticEvent: true,
rules:
    no-unused-expressions: off
    flowtype/no-unused-expressions: error
    react/prefer-stateless-function: off
    react/jsx-filename-extension: off
    react/jsx-one-expression-per-line: off

This worked in my editor, however as soon as I ran npm run start the error was still there in my browser and the script failed to compile.
After a couple of days spent on this, I have been pointed to this old issue #808 and apparently CRA deliberately ignores eslintrc ...
I could eventually achieve my goal by ejecting and removing the eslintConfig from the package.json but I just started to study react so I am not entirely sure if it's a good idea or not to eject (I don't see why not so far honestly).
Is there a way I can achieve the same without ejecting?

Hi @luca-borrione
I had a similar issue, and the easest way we found was to fork CRA, and change this value to true https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/config/webpack.config.js#L320
You can use travis to make a github release on your fork, and use it with your package.json (the tar.gz file), without need to publish it on npm, like many blog post says.

Hi @luca-borrione, as @pieplu advised, it is better to fork than eject where possible.
I'm not an expert in Flow sorry (I use TypeScript), but if you think this is an issue others might face, let me know and we can look into resolving it on our end.

Hey @mrmckeb, thanks for your reply.
This was the first time I used flow (I used TS as well as you), so I don't really have an idea of how many people are using it.
npm flow-bin currently shows a weekly download of around 200,000, which is 1/10 of typescript.
However considering that currently create-react-app shows a weekly download of around 50,000, which is 1/4 of flow, and considering that type assertion is something encouraged and recommended in the flow documentation,  I would tend to think that create-react-app should consider flow, yes.
Now, how?
My first thought was that eslint should consider flow, actually, avoiding to throw an error for flow's type assertions. However this has been reported last year with an issue in eslint and apparently they think that this should not go in eslint but it should be managed by a plugin, like flowtype  see this comment
Because using a plugin for this purpose, like flowtype/no-unused-expressions requires to switch off the eslint rule first in order to replace it, the only way in my opinion is that CRA allows something like this.
As I said I just started with react, so I am probably wrong, however at the moment I do really think that CRA should just switch useEslintrc to true and allow to use an existing eslintrc file.
Question: would it be possible to merge the content of the eslintrc file with the default config to override it? So that I could just write only one rule in my eslintrc file, the one I need to change.
I know this has been discussed in the past but this was 2 years ago ...

@luca-borrione If you fork, set to true useEslintrc, and merge with CRA eslint rules, simply extend it on your eslintrc file:
extends:
    - react-app

your rules will override CRA rules.
But anyway, I agree with you,
The need to disable the no-unused-expressions rule to use flowtype / no-unused-expressions is a problem for CRA's current architecture. Because CRA currently prevents casting with flow.


defaulting _isNew to false if passed in object already has _id

Have been coming across this in our work. If the model passed into the astro class constructer already has an _id property set, would it make sense to default _isNew to false?
// model is a plain object representing the existing environment
const env = new Environment(model);

// avoids having/needing to know to do this:
env._isNew = false;

No, it can set the _isNew property to false because you may want to insert a new document with a given ID and Astronomy uses the _isNew property to decide if it should insert or update a document.

I would advice for it to be the opposite of how it is right now. If the constructor is passed with an _id it should assume it as an edit and if the user wanted to create a new document, he should explicitly set _isNew to true.
My thinking is there is more use case for edits and much less use case for specifying manual _ids for new documents.

I don't agree that edits are more often, it depends on the use case. However, I can change it right now even if I want to. It would be compatibility breaking change. And to be honest I don't see it right now as a bad design.

It's not bad design, it just that it's very uncommon/unheard of people using their own _id in mongoDB in general.

We are using it a lot in our applications :) and it's not my idea to do so. I don't know if it's something correct to do in MongoDB but I don't think it should cause any problems. Anyway, setting the _isNew flag is quite trivial things so as I said I'm not gonna change it now because it would be compatibility breaking change.

Understood - it's not worth the breaking change I guess. In one of the situations, you will have to set _isNew (either to true or false), so I guess it's a choice about which is more common:

Using a pre-existing (fetched from the DB, whatever), plain object, and using that object to create an astronomy object (passing it into the constructor).
Creating a new plain object outside of astronomy, and assigning an _id outside of astronomy, and then using that object to create a new astronomy object.

I totally don't have the data to back this up, but I would imagine case #1 is more common.
Anyways, we can set _isNew to false - just figured I'd open a quick discussion.

Whoops, this is basically what @talha-asad said - I didn't see his comment above.


sqldb+invoices: turn sqldb into a package

As a preliminary change before we unify the transaction retry between sqldb and kvdb we extract the SQL invoice store implementation into the invoices package and make sqldb a versioned package.

Is there a reason, why this has to be a versioned package? The PR description does not make that clear. Thanks.

Is there a reason, why this has to be a versioned package? The PR description does not make that clear. Thanks.

In order to reuse the same retry code in both kvdb and sqldb we need to make one of them a package (to avoid circular dependencies). See follow up pr.


fix: hot reload when app is run using yarn start

This PR fixes hot reloading issues on Eigen
Description
https://github.com/artsy/eigen/assets/11945712/29e9491f-928b-4fc1-9b1f-9142f8d436f4

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

signing off, will add more description tomorrow

cc @pvinis - another one you might be happy to see

fun! thanks for tagging me on these!
the name bit of the concurrently didn't need to leave, I wonder why its gone 🤔. it wasn't causing this right?

Nope, it was the
require("../../../../../data/complete.queryMap.json")

bit!

will it work if the complete.queryMap.json file will be deleted/will be empty? I get an error


react(Input): Add support for multiline text inputs (textarea)

Add support for multiline text input
Description
Add support for multiline text input using boolean prop multiline in <Input /> component
Related Issue
#238
Motivation and Context
Adds support for places where multiline inputs are required(Like in adaptive cards).
How Has This Been Tested?
Jest snapshot testing
Screenshots:

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

Checklist:

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

@bfbiggs I've implemented the proposed changes + squashed the commits.