change from create to apply

Recommend to change from create to apply.
kubectl create -f azure-vote-all-in-one-redis.yaml
to
kubectl apply -f azure-vote-all-in-one-redis.yaml
As I started with Create an AKS cluster - CLI and then moved to Tutorial - 2 - Create container registry with apply you don't get the following errors if you never need a cleanup between the tutorials.
kubectl create -f azure-vote-all-in-one-redis.yaml
Error from server (AlreadyExists): error when creating "azure-vote-all-in-one-redis.yaml": deployments.apps "azure-vote-back" already exists
Error from server (AlreadyExists): error when creating "azure-vote-all-in-one-redis.yaml": services "azure-vote-back" already exists
Error from server (AlreadyExists): error when creating "azure-vote-all-in-one-redis.yaml": deployments.apps "azure-vote-front" already exists
Error from server (AlreadyExists): error when creating "azure-vote-all-in-one-redis.yaml": services "azure-vote-front" already exists

Then it looks more like this:
kubectl apply -f azure-vote-all-in-one-redis.yaml
deployment.apps "azure-vote-back" unchanged
service "azure-vote-back" unchanged
deployment.apps "azure-vote-front" configured
service "azure-vote-front" unchanged

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

ID: a7e0a294-1b8a-1711-6f80-cb9ee87730ad
Version Independent ID: 46e6645b-48ca-fa7c-1fb9-bc3442fde1d7
Content: Kubernetes on Azure tutorial  - Deploy Application
Content Source: articles/aks/tutorial-kubernetes-deploy-application.md
Service: container-service
GitHub Login: @neilpeterson
Microsoft Alias: nepeters

@erikaulin - I agree and will get the docs updated.
Thanks

@erikaulin - I've updated the set to use kubectl apply where appropriate. The changes have merged and will publish tomorrow morning.
Thanks for the suggestion.
#please-close

@erikaulin We will now proceed to close this thread. If there are further questions regarding this matter,
please reopen it and we will gladly continue the discussion.


Feature/wall model convertible

@zenangst @RamonGilabert
Should fix: https://github.com/hyperoslo/Wall/issues/74
One step backwards to custom wall models, but + "convertible" protocols for every model.
Don't blame me, but I went with this:
public protocol PostConvertible {
  var wallModel: Post { get }
}

I think it's quite readable to call post.wallModel and we have the same var name for User and Group too, so it's kind of convenience.

One more more thing:
extension Post: PostConvertible {

  public var wallModel: Post {
    return self
  }
}

This trick makes it possible to use wall models directly if we don't have any custom models in our project. It's shown in InfinityScroll demo.

@vadymmarkov


Remove http from the list of schemas for Power BI

To fix the client https://github.com/Azure/azure-sdk-for-net/issues/2761
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] Validation errors from the Linter extension for VS Code have all been fixed for this spec. (Note: for large, previously checked in specs, there will likely be many errors shown. Please contact our team so we can set a timeframe for fixing these errors if your PR is not going to address them).
[x] The spec follows the patterns described in the Swagger good patterns document unless the service API makes this impossible.

Hi @mikeblakeuk, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

 https://github.com/Azure/azure-sdk-for-ruby/pull/665

 https://github.com/Azure/azure-sdk-for-python/pull/976

 https://github.com/Azure/azure-sdk-for-node/pull/2041


Deployment

Any documentation/recommendations on deployment?  Looking into this and was wondering about how best to get a working version off my local machine and online.

There are some initial steps for deployment here: https://docs.nuxtus.com/deployment.html
However these are pretty broad and I want to develop some more specific instructions. What kind of project are you looking at deploying (eg. SPA? Server rendered? Static?) and perhaps I can assist with some more detail.

Hey @craigharman.  I have been using Nuxt for a few years as well as Directus.  In the process of migrating to Nuxt 3 and Directus 9...trying to find the best deployment options for SSR.  I've used DigitalOcean Apps...Netlify with Nuxt 3....I would love to have the Nuxtus structure live with a domain - with Directus live on a subdomain.  Do you have a live example of Nuxtus deployed with a domain?   What have you used?
Appreciate any input on this.

The nuxtus site itself (https://www.nuxtus.com/) does this. Static site hosted with Netlify - currently I have a local Directus install that builds to static site but this also could be hosted somewhere - including the Directus Cloud platform if you wish (you'd just need to manually set up the flows for this).


Uncaught Invariant Violation: Only a ReactOwner can have refs

I'm sticking close to the documentation and everything seems to work except for this console error:

Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's render method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).

I double-checked that I don't have more than one version of React running, and the error only pops up when I wrap my component with the DragDropContext. Oddly this issue doesn't seem to affect the drag and drop functionality, but as soon as that error is thrown it breaks the router<EMAIL_ADDRESS>and<EMAIL_ADDRESS>and my store changes stop propagating.
Is there something about using React Router/Redux that causes issues with with the DnD backends/context?
Hunting around led to only one other (apparently unsolved) reference to the same issue by @blittle here. I'm using React version 15.3.1.
Not sure if this is more appropriate in https://github.com/gaearon/react-dnd/issues but figured I'd start here. Thanks!

Closing until I'm able to reproduce in https://github.com/lockstep/redux-dnd.

False alarm, this was caused by a rogue node_modules directory left over from some refactoring that was somehow polluting the bundle.

I have been stuck on what sounds like the same issue for a long time now. @hiattp, when you used ls inside of your project repo could you see the duplicate node_modules folder? I have blown away that directory and rebuild many times now. Thanks, any help is greatly appreciated

If I recall correctly the problematic node_modules folder was in a subdirectory or something trickier than just the root node_modules directory. Can't remember exactly though been a while :/

@hiattp thanks for your help!


Subtracting 5 days from a Saturday or Sunday should return the previous Monday

It's currently returning the previous Saturday when you subtract 5 days from a Saturday, and returning the previous Sunday when you subtract 5 days from a Sunday. I believe those should be returning the previous Monday instead. The original version with the looping handles this properly.

I'm having the same issue.


Raw data html value is not converting to htmltext control

In the company detail news screen we have htmltext control to display html formatted data in text area . But it is not converting into html and displaying as plane text  with html code .
It is using global variable of selectedNews.Details .
Have any one encounter this issue .
I also followed standard way of datacard but on this screen layout not found datacard
Followed this :
https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Handling-SPO-Rich-Text-Columns-in-PowerApps/td-p/138498
When I am directly putting the html data in text property it is getting converted properly .
I have made my own form with keyvalue and card and their it is converting .

Their is one issue very frequently I am coming across causing me we reset the limit or even redo the app . Issue is of  Delegation error and data source might process the data . as in given url
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview
I have just few records but this failing so frequently . I am using trail version of PowerApps is it something of issue .

Thanks for your comments.  But we require a little more detail though before we can follow up.  Can you give examples of the formulas you are using?  We also need to split your concerns into two threads, one for HTML text and one for Delegation.
But before we proceed further here in the docs, you may want to direct your questions to the Power Apps community.  Somebody may have already asked your question or there may be an expert there that can answer.
If you'd like to continue here, please open up new comments at the bottom of these pages with examples of the formulas you are working with:

HTML Text Control
Delegation


Renewal v1

リニューアルプロジェクトはこのブランチで進めていくこととする！！！

Summary by CodeRabbit

New Features

Introduced Google Fonts optimization for improved font loading performance.
Added new plugins for enhanced markdown processing capabilities, including remarkBudoux for Japanese text processing.
Introduced a new outward icon for navigation links in the header.
Redesigned blog index page to a modern timeline layout.

Dependencies

Updated various dependencies to their latest versions, including @astrojs/mdx, @astrojs/rss, and added @playform/compress, @playform/inline, and astro-google-fonts-optimizer.

Removals

Removed the vanillaExtractPlugin to streamline plugin usage in the project.

Improvements

Renamed formatting scripts for clarity and consistency.
Restructured the project workspace for better package management.
Established coding style guidelines through a new .editorconfig file.
Enhanced global CSS styles for better layout and design consistency.

いつまで経っても終わらないので、これでマージとする


Tabline sometimes disappears when closing location list

This is a really peculiar bug that only happens sometimes, and I'm not even sure buftabline is the responsible party. I have an autocmd set up to run Neomake on every BufWritePost. If there are errors, they get populated into the location list. If I correct the errors, save again, and Neomake finds no errors remaining, it will close the location list, which somehow makes the tabline disappear. Here's a terrible quality gif to demonstrate:

This is on Neovim 0.2.1 FWIW. I've tried all manner of ways to reproduce this and have yet to track down the root cause. I have been able to reproduce it without using Neomake (just by using laddfile somefile.txt, lopen and lclose). I've looked through buftabline's source and nothing has jumped out at me as being an obvious culprit, but I can't claim to fully understand everything it does. Mostly I'm just reporting it here as a first step, to see if you have any thoughts.

At the point where you :call buftabline#update(0), can you :set tabline? showtabline? instead, and post its output?

tabline=%!buftabline#render()
showtabline=1

And FWIW, my buftabline settings:
let g:buftabline_show = 1
let g:buftabline_indicators = 1
let g:buftabline_numbers = 2

I've finally nailed down a reliable way to reproduce this. Use this file (which I called min.vim) and adjust as necessary:
set hidden
let g:buftabline_show = 1
let g:buftabline_indicators = 1
let g:buftabline_numbers = 2
source $HOME/.config/nvim/plugged/vim-buftabline/plugin/buftabline.vim
e 123.txt
w
e 456.txt
laddfile 123.txt
lopen
wincmd k

Then nvim -u NONE -c "source min.vim". Your cursor should end up in the 456.txt buffer, and if you :lclose, the tabline should disappear along with the location list. Happens to me every time.

Thank you for the effort! Much appreciated. I’ll take a look as soon as I have some time for it, and having a reliable reproduction makes that time a lot more likely to yield a fix.

Well thank you for doing all of the work. 😊


Critical error with configuration file

{
"auth_service": "google",
"username":   "",
"password": "",
"location": "40.781471, -73.966552",
"gmapkey": "AIzaSyBmX1AWDSfE4yeVni51VUA1Tdtnx6jqzV8",
"libencrypt_location": "",
"tasks": [{
"type": "HandleSoftBan"
}, {
"type": "CollectLevelUpReward"
}, {
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
}, {
"TransferPokemon": false
}, {

	"type": "EvolvePokemon",
	"config": {
		"evolve_all": "none",
		"first_evolve_by": "cp",
		"evolve_above_cp": 500,
		"evolve_above_iv": 0.8,
		"logic": "or",
		"evolve_speed": 20,
		"use_lucky_egg": false
	}
}, {
	"type": "RecycleItems",
	 "config": {
		"min_empty_space": 15,
		"item_filter": {
			"Pokeball": {
				"keep": 100
			},
			"Potion": {
				"keep": 10
			},
			"Super Potion": {
				"keep": 20
			},
			"Hyper Potion": {
				"keep": 30
			},
			"Revive": {
				"keep": 30
			},
			"Razz Berry": {
				"keep": 100
			}
		}
	}
}, {
	"type": "CatchVisiblePokemon"
}, {
	"type": "CatchLuredPokemon"
}, {
	"type": "SpinFort"
}, {
	"type": "FollowCluster",
	"config": {
		"radius": 50,
		"lured": true
	}
}],
"forts": {
	"avoid_circles": true,
	"max_circle_size": 50
},
"websocket_server": false,
"walk": 4.6,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"catch": {
	"any": {
		"catch_above_cp": 0,
		"catch_above_iv": 0,
		"logic": "or"
	},
	"// Example of always catching Rattata:": {},
	"// Rattata": {
		"always_catch": false
	}
},
"release": {
	"any": {
		"release_below_cp": 0,
		"release_below_iv": 0,
		"logic": "or"
	},
	"// Example of always releasing Rattata:": {},
	"// Rattata": {
		"always_release": true
	},
	"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
	"// Pidgey": {
		"keep_best_cp": 3
	},
	"// Example of keeping 2 stronger (based on IV) Zubat:": {},
	"// Zubat": {
		"keep_best_iv": 2
	},
	"// Also, it is working with any": {},
	"// any": {
		"keep_best_iv": 3
	},
	"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
	"// Zubat": {
		"keep_best_cp": 2,
		"keep_best_iv": 3
	}
},
"vips": {
	"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
	"any": {
		"catch_above_cp": 1200,
		"catch_above_iv": 0.9,
		"logic": "or"
	},
	"Lapras": {},
	"Moltres": {},
	"Zapdos": {},
	"Articuno": {},

	"// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
	"Mewtwo": {},
	"Dragonite": {},
	"Snorlax": {},
	"// Mew evolves to Mewtwo": {},
	"Mew": {},
	"Arcanine": {},
	"Vaporeon": {},
	"Gyarados": {},
	"Exeggutor": {},
	"Muk": {},
	"Weezing": {},
	"Flareon": {}

}

}

Some help please

post the error you're getting in it entirety

@leadboots5 im getting the same error. Total noob at this kind of stuff here, mind walking me through how to setup the config.json file?

Also, i get this when i try to run it from python. I followed all the steps from http://www.ownedcore.com/forums/pokemon-go/pokemon-go-hacks-cheats/563902-how-run-open-source-pokemon-go-bot-noob-friendly-windows7.html
C:\Users\User\Desktop\PokemonGo-Bot-master>python pokebot.py -i 0 --cache
python: can't open file 'pokebot.py': [Errno 2] No such file or directory

2016-08-10 09:03:14,543 [       cli] [INFO] PokemonGO Bot v1.0
2016-08-10 09:03:14,544 [       cli] [INFO] No config argument specified, checking for /configs/config.json
configs/config.json:3:13: Error: Can not decode value starting with character u'\xa0'
|  At line 3, column 13, offset 42
configs/config.json:3:15: Info: Recovering parsing after character u'"'
|  At line 3, column 15, offset 44
configs/config.json:3:15: Error: Values must be separated by a comma
|  At line 3, column 15, offset 44
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:3:15: Error: Missing value for object property, expected ":"
|  At line 3, column 15, offset 44
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:4:11: Error: Can not decode value starting with character u':'
|  At line 4, column 11, offset 79
configs/config.json:4:13: Info: Recovering parsing after character u'"'
|  At line 4, column 13, offset 81
configs/config.json:4:13: Info: Recovering parsing after character u'"'
|  At line 4, column 13, offset 81
configs/config.json:4:13: Error: Values must be separated by a comma
|  At line 4, column 13, offset 81
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:4:13: Error: Missing value for object property, expected ":"
|  At line 4, column 13, offset 81
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:5:11: Error: Can not decode value starting with character u':'
|  At line 5, column 11, offset 109
configs/config.json:5:13: Info: Recovering parsing after character u'"'
|  At line 5, column 13, offset 111
configs/config.json:5:13: Info: Recovering parsing after character u'"'
|  At line 5, column 13, offset 111
configs/config.json:5:13: Error: Values must be separated by a comma
|  At line 5, column 13, offset 111
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:5:13: Error: Missing value for object property, expected ":"
|  At line 5, column 13, offset 111
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:6:10: Error: Can not decode value starting with character u':'
|  At line 6, column 10, offset 146
configs/config.json:6:12: Info: Recovering parsing after character u'"'
|  At line 6, column 12, offset 148
configs/config.json:6:12: Info: Recovering parsing after character u'"'
|  At line 6, column 12, offset 148
configs/config.json:6:12: Error: Values must be separated by a comma
|  At line 6, column 12, offset 148
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:6:12: Error: Missing value for object property, expected ":"
|  At line 6, column 12, offset 148
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:7:22: Error: Can not decode value starting with character u':'
|  At line 7, column 22, offset 213
configs/config.json:7:24: Info: Recovering parsing after character u'"'
|  At line 7, column 24, offset 215
configs/config.json:7:24: Info: Recovering parsing after character u'"'
|  At line 7, column 24, offset 215
configs/config.json:7:24: Error: Values must be separated by a comma
|  At line 7, column 24, offset 215
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:7:24: Error: Missing value for object property, expected ":"
|  At line 7, column 24, offset 215
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:7:24: Warning: Using an empty string "" as an object key may not be portable
|  At line 7, column 24, offset 215
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:8:8: Error: Can not decode value starting with character u':'
|  At line 8, column 8, offset 227
configs/config.json:8:10: Info: Recovering parsing after character u'['
|  At line 8, column 10, offset 229
configs/config.json:8:10: Info: Recovering parsing after character u'['
|  At line 8, column 10, offset 229
configs/config.json:34:2: Error: Can not decode value starting with character u'\xa0'
|  At line 34, column 2, offset 670
configs/config.json:34:3: Info: Recovering parsing after character u'"'
|  At line 34, column 3, offset 671
configs/config.json:34:3: Info: Recovering parsing after character u'"'
|  At line 34, column 3, offset 671
configs/config.json:8:10: Error: Values must be separated by a comma
|  At line 8, column 10, offset 229
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:8:10: Error: Object properties (keys) must be string literals, numbers, or identifiers
|  At line 8, column 10, offset 229
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:8:10: Error: Missing value for object property, expected ":"
|  At line 8, column 10, offset 229
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:70:8: Error: Can not decode value starting with character u':'
|  At line 70, column 8, offset 1190
configs/config.json:70:10: Info: Recovering parsing after character u'{'
|  At line 70, column 10, offset 1192
configs/config.json:70:10: Info: Recovering parsing after character u'{'
|  At line 70, column 10, offset 1192
configs/config.json:70:10: Error: Values must be separated by a comma
|  At line 70, column 10, offset 1192
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:70:10: Error: Object properties (keys) must be string literals, numbers, or identifiers
|  At line 70, column 10, offset 1192
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:70:10: Error: Missing value for object property, expected ":"
|  At line 70, column 10, offset 1192
|  Object started at line 1, column 0, offset 0 (AT-START)
configs/config.json:74:19: Error: Can not decode value starting with character u':'
|  At line 74, column 19, offset 1266
configs/config.json:74:26: Info: Recovering parsing after character u','
|  At line 74, column 26, offset 1273
configs/config.json:74:26: Info: Recovering parsing after character u','
|  At line 74, column 26, offset 1273
configs/config.json:121:2: Warning: Object contains duplicate key: u'// Zubat'
|  At line 121, column 2, offset 2352
|  Object started at line 98, column 12, offset 1779
configs/config.json: has errors
2016-08-10 09:03:14,579 [       cli] [CRITICAL] Error with configuration file
(PokemonGo-Bot) MacBook-Air-de-Maeder:PokemonGo-Bot Azemagueule$

Missing a bracket at the end,
past the json config content here
http://www.jsoneditoronline.org/


KZG Precompile to BigEndian

The Consensus Layer has agreed to send kzg commitments in big endian for consistency:
https://github.com/ethereum/consensus-specs/pull/3354
Once this pr for the KZG library is merged and released:  https://github.com/ethereum/c-kzg-4844/pull/305
We need to update the KZG library, and make sure that the KZGPrecompile works correctly.  Since we just pass whatever the CL sends us down to the library, this should "just work" but at the very least new test vectors need to be added to work with the updated library.

Completed in #5536


removing an element by dragging does not trigger the 'removed' event

Hi,
Not sure if this is a bug or intended behaviour, but dragging an element outside the grid to delete it using the 'removable: true' option, does not trigger 'removed' event.
Relevant code seems to be here.
If this is intended behaviour my two cents are that it should trigger an event :)

@sthuck You're right. This will be resolved.

Sorry I'm relative new at GitHub.
How can we know if this bug is fixed?

@jorsai you will know the bug fixed when the issue is closed

@jorsai Fixed in develop branch. It'll be released later this evening.

Thank you!


Start Page Background Color

Operation System:OSX
Beaker Version:From Master
Is there a way to change the background color of the start page to transparent ?

We tried it, didn't love it. The start page will be replaceable in the future, so it'll be possible to do this then.


Document metadata mapping

What does this PR do?

Add notes on metadata mapping to README.md
Alphabetize fields in crossref.py

What are the relevant tickets?

https://mitlibraries.atlassian.net/browse/DLSPP-82

Requires Database Migrations?
NO
Includes new or updated dependencies?
NO

Looks good, thanks, but I'm assuming the fields are being alphabetized in crossref.py because the existing mapping does not work?
Since this PR is doing more than just adding documentation, in a case such as this what I tend to do is to make the commits in a PR as fine grained as possible or make the PR more general if the changes are small. So, I'd do something like this for a PR "Update X to Y metadata mapping" (which implies that documentation will be updated). Or, two commits in a single PR: 1. Updated metadata mapping to accomplish X. 2. Updated corresponding documentation for the mapping. This makes it easier to determine to quickly relate commits with changes in functionality if a bug surfaces later. Also, it makes the review a bit easier.  If this does not make sense, I'd be happy to offer details in Slack.
Anyway, it sounds that we're close on resolving the necessary metadata mapping. Thanks!

Separated into 2 commits per @osmandin's request


Use chrome-launcher to launch Chrome when using Chromeless locally

Use chrome-launcher to launch Chrome when using Chromeless locally. Then we don't have to explain to users that they need to have Chrome running for Chromeless to work locally.

I'd love to tackle this. Would be a huge improvement (and it's not too big a change)

https://github.com/graphcool/chromeless/pull/120 should resolve this and a few other issues I've seen

Closing this as #120 was merged.


update: cosign v1.3.0 to v1.3.1

Codecov Report

Merging #414 (eb31f39) into develop (e7f8a8e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #414   +/-   ##
========================================
  Coverage    94.24%   94.24%
========================================
  Files           22       22
  Lines         1095     1095
========================================
  Hits          1032     1032
  Misses          63       63

Continue to review full report at Codecov.

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


Optional and nullable fields generates wrong code

It is my understanding that "optional" generates "SetFooPresent()" and "nullable" generates "SetFooNull()". However, only nullable seems to have an impact on the code generation.
Here is the relevant code in event_struct.h.inc:
      void Set{{field.base_name|camelize}}Null(void);
      void Set{{field.base_name|camelize}}Present(void);
  #if WEAVE_CONFIG_SERIALIZATION_ENABLE_DESERIALIZATION
      bool Is{{field.base_name|camelize}}Present(void);
  #endif
        {% endif %}

I tried tweaking that code to properly support "is_optional" but that construct always returns false. Can someone help clarify what is the intended behaviour, and what would the fix be?

@antoinedesbois, I'll try to take a look today or tomorrow. Hopefully, @mrjerryjohns can do the same.


Look into caching dfx downloads in our tests and benchmarks

We have looked into this and implemented a simple version of caching, if it doesn't work we can open another issue


GEOMESA-670 Timing raster ingest adding up

This fix makes a new timer for each raster ingest as opposed to one long-lived one.
Times no longer add up, and reported numbers correspond to individual ingests

Committed as c117bec6a49d75090d961be2c072656e411a409d on f_wcs_4.


Getting IP addresses of connected clients

Hi!
Would it be possible for the integration to pull the internal IP addresses of connected clients? I have some home servers that change their IP addresses over a reboot, and it'd be cool to grab the new IP from a custom dashboard, for example.
(Huge thanks for this integration, by the way!)

Yeah, internal IP address is easy enough. In fact, it's already an attribute on the device_tracker entity for any enabled client.

Does that achieve what you're looking for?
I suppose a new standalone sensor entity could be added with the IP address, but you can also do that currently with a template sensor of your own pulling from the device_tracker entity. So, I think that seems a little needless.
Just a side comment, if you're worried about IP addresses changing over a reboot, why not just create IP reservations within the Eero app?

Oh, I didn't know it was an attribute of the device_tracker entity. Thank you for pointing this out!
The only oddity I noticed, and it is likely that this is on me given I am using a custom lovelace, is that the entity card says that the device in question is "Home" but I would know when it is Away or Home.
Here is a screenshot of what I mean:

This works for now! If doing an standalone sensor with the IP address is ever in the pipeline, I'd appreciate it! It will simplify things for me haha

Just a side comment, if you're worried about IP addresses changing over a reboot, why not just create IP reservations within the Eero app?

I am having an issue with Proxmox changing the IP addresses of the containers/VMs I set up. Eero sees these device as private, so it isn't able to directly target the devices for IP reservation. While I work on a solution, I added the IP address of the containers to my dashboard so I can easily find/see them.
On another note, is there a way I can donate to the project? This has been a great addition to my smart home setup!

I just pushed a new release with a standalone sensor added for client IP address, check out 1.3.2.
Regarding the home (connected to network) vs. away (not connected to network) state, those are the standard states for the device_tracker entity.

You are amazing, thank you so much!! My dashboard look neater and I was able to setup some notification automations in a iffy!
Please let me know if you have a tip jar or something along the lines. Happy to donate for your amazing work!

Great, glad you're happy!
I appreciate the willingness to donate, but I don't have anything setup and no plans to do so. I'll let you know if that changes.


disable aggregation for 'view raw data'

By default the web UI data explorer has "auto window period" and "auto aggregate function" enabled even when view raw data is toggled.
This can be very confusing to users unfamiliar with the window period concept (e.g. me coming from MariaDB transferring data).
More importantly what is displayed in the in the table is NOT raw data, it is aggregated.
I suggested that the aggregation is disabled when view raw data is toggled.

👍

@garylfowler - Is this something you want to enhance in the new QB?

We don't aggregate by default in the New Script Editor (we are working on an auto-aggregation feature, but it will be an opt-in rather than the opt-out that is in the current Data Explorer.  The table view in the new Script Editor is essentially always the raw table view.


forDartType is deprecated

When generating .g.dart the final type declared is deprecated:
Ex:
final intType = db.typeSystem.forDartType();
final stringType = db.typeSystem.forDartType();
final dateTimeType = db.typeSystem.forDartType();
final doubleType = db.typeSystem.forDartType();
It gives de message: 'forDartType' is deprecated and shouldn't be used. Use mapToVariable or a mapFromSql method instead.
Try replacing the use of the deprecated member with the replacement.
Can you solve this?

Can you try using the latest version of moor_generator (or the version which corresponds to the moor version you're using)? Newer generator versions don't use forDartType() anymore.

Thank you, I really forgot to update the version of moor_generator
Atenciosamente,
[SoftServ Sistemas]http://www.softserv.com.br/[Google+]https://plus.google.com/+SoftservBr1994 [Curta nossa pÃ¡gina] https://www.facebook.com/softservsistemas/  [Conecte-se ao Linkedin] https://www.linkedin.com/company/softserv-sistemas  [Siga-nos no Twitter] https://twitter.com/softserv1994  [Siga-nos no Instagram] https://www.instagram.com/softservsistemas  [Inscreva-se em nosso canal] http://www.youtube.com/c/SoftservBr1994    André Fonseca
Pesquisa e Desenvolvimento
Suporte
skype.softserv
(11) 3995 5200
(21) 3195 5200
(31) 3195 5200
(41) 3195 5200
(51) 3195 5200
Comercial
0800 727 2099
Ligação gratuita
São Paulo
Rio de Janeiro
Minas Gerais
Paraná
Rio Grande do Sul
Brasil
[Veja no @.***,-43.271048,17z/data=!4m5!1m2!2m1!1ssoftserv!3m1!1s0x0000000000000000:0xa22666f336c06271?hl=pt-BR>    Sede
Av. Pastor Martin Luther King Jr. 126 Office 2000 Sala 226,
Shopping Nova América, Rio de janeiro - RJ, 20765-971   [http://softserv.com.br/email/assinatura/PENSE_IMPRIMIR.gif]

De: Simon Binder @.>
Enviado: terça-feira, 1 de junho de 2021 16:23
Para: simolus3/moor @.>
Cc: Andre Fonseca @.>; Author @.>
Assunto: Re: [simolus3/moor] forDartType is deprecated (#1243)
Can you try using the latest version of moor_generator (or the version which corresponds to the moor version you're using)? Newer generator versions don't use forDartType() anymore.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/simolus3/moor/issues/1243#issuecomment-852385633, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHLA7IS5FTACTHDW24O6H6LTQUXRRANCNFSM455G7CLQ.


fix: misc bugs

:tada: This PR is included in version 0.312.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Documentation has dead link but also should include examples or references for recommended steps for AzFileCopy Forbidden error.

First the link here is dead (404): https://github.com/MicrosoftDocs/azure-devops-yaml-schema/blob/main/azure/devops/pipelines/agents/hosted#networking

Next the document describes a theoretical solution by adding a build step to identify and add the IP of the build agent, and then a build step to remove the IP, but no example or reference is provided for how to do this.  I've found other's solutions on StackOverflow and Visual Studio developer community (https://developercommunity.visualstudio.com/t/azure-devops-build-agent-not-able-to-access-azure/1041629?viewtype=solutions), but they often include the whole operation in one task.

This functionality for AzFileCopy should be built into the task!  So many references on StackOverflow of people running into the same issues.  It ought to be a checkbox option built into the task, "Enable DevOps to Storage Container temporary WhiteListing".  It also seems like by not providing this functionality, it is indirectly contributing to bad security practices as most will simply just allow the Storage Container public access rather than slug this out.

Documentation Excerpt below:
Forbidden error: 'AzCopy.exe exited with non-zero exit code while uploading files to blob storage' while using Azure File Copy task
The hosted agents are assigned randomly every time a build is triggered, the agent IP addresses will be different on every run. If these IP addresses are not in your allowed list of IPs, the communication between Azure DevOps and the storage account fails. In such scenarios, follow the steps outlined:
Add a build step using Azure CLI to identify the IP address of the Microsoft Hosted Build agent at runtime. It will add the IP address to the Network rule on the Azure Storage Account.
Run the build step for your Azure Storage Account.
Add another build step using Azure CLI to remove the IP address of the build agent from the Azure Storage Account network rule.
Thanks,
Jason

@jpwalters1 -- thank you for your detailed feedback.  Which learn.microsoft.com article are you following?  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


feat: initial aws platform module, semantic release workflows

adds the following terraform configuration:

vpc, public and private subnets, nat gateways for private subnet routing, subnet tagging for eks
eks cluster with default nodegroups per availability zone
aws auth configmap management with sso role discovery
IRSA sub module
cortex s3 bucket and IRSA role
loki s3 bucket and IRSA role
velero s3 bucket and IRSA role

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


Option to not create scheduled task for DART pre-restart

This tool is fantastic! I love how easy it is to use. Thanks for your time building something like this that addresses a real need. We have Windows Admin Center with the Dell Open Manage Integration and that has been really frustrating to use, so I'm glad there is something like this that is a little more reliable.
I have only run into a few problems and they are usually around bringing nodes back online and putting disks into and out of maintenance mode.
I am pretty new to clustered server management, so I may just be missing key steps of how the process works or best practices. So if these wouldn't actually be helpful, I'd love feedback on what I may be missing.
Pre-Dart Run
Pre-run isn't too hard and is where I run into the least amount of problems. I can pause a node before I run the tool and manually put the disks in Maintenance Mode if I really want to.
Post-Dart Run
Most of the problems I have are after the node comes back online. It feels like the node gets brought back online before the disks are out of maintenance mode. And if there is a problem with bringing a disk back online I've been having issues with Roles being paused due to the missing disks.
Would it be possible to make the scheduled task that gets made on a node optional? That way I could make sure disks are out of maintenance mode and good to go before bringing the node back online. I also tend to run this task via remote PowerShell so having to log in to bring a node back online is not my favorite. I'm trying to get rid of RDP to critical infrastructure like Nodes, so having an alternative that I can run remotely would be nice.
I don't know if having the scheduled task actually affects anything if I just ignored it and manually brought the node back online remotely and logged in and it ran at a later date, so again, smarter people than me might just know how to get around it.

Thank you very much for the positive feedback. You would be surprised at how little that ever happens.  :)
It is true you can disable SMM before you resume a node in 2016/2019 but MSFT changed the process for 2022/HCIOS so you have to resume the node first and then you can disable SMM. I suspect this is how MSFT wants the process to be performed.

Hey NikStayCMNH,
We just committed some updated code today to DART, so check it out.
Also, if you apply updates and need a reboot, hit N and it will NOT create the schedule task.
If no updates are needed, then hitting Y will run the commands immediately and also NOT create the schedule task.
We really appreciate that you are enjoying these scripts.

@DellProSupportGse Thanks for taking the time to educate me, I am glad there are people like you that take the time to really learn this and then create tools that make the process easier for those of us who haven't gotten there yet or don't have the time to get there!
@TommyPaulkDell  I appreciate the update and the specifics about what options there are!


Investigate using Webpack & ES6

Closing this since it's similar and probably more import to combine with #31


services: fix permission for file edit.

closes https://github.com/zenodo/zenodo-rdm/issues/852

@tmorrell I remember you mentioned using this function/config. The issue was that the Draft was being passed as the record parameter, and the Record wasn't passed at all, so we've added more explicit params and switched them around. Depending on what kind of attributes you were checking this might not affect you at all, but just a heads up.

Thanks @slint, I've updated our test instance. You might want to update https://github.com/inveniosoftware/docs-invenio-rdm/blob/dev/docs/customize/files-and-versioning.md as well.


[libvpx] Use vcpkg_configure_make on UNIX

Describe the pull request

What does your PR fix?
Build with make on Windows
Use vcpkg_configure_make() and vcpkg_install_make() on UNIX
Remove unofficial CMake config file because port has pc files

Removing the unofficial configs breaks any downstream users who might be using them (eg me). This increases the complexity of updating to new revisions of the main catalog, which isn't a good thing, IMO.

Unsupported on arm64_android?
ld: error: /tmp/vpx-conf-812-9505.o is incompatible with aarch64linux

Unsupported on arm64_android?
ld: error: /tmp/vpx-conf-812-9505.o is incompatible with aarch64linux

It is probably missing arguments as part of CC/CXX/LD. Needs #31228

/azp run


Database UI: Add documentation for customizing FUICollections

Hi,
first of all, thanks for the awesome tools you have built!
I tried to find an example, preferably in swift, that would demonstrate how to correctly use the new sorting functionality with fuitableviewdatasource, but couldn't find any. Please let me know if I overlooked the documentation or examples. Looking at the sources, it seems that I must supply my own fuicollection and not pass the query directly?

Yeah, you'll have to first instantiate an FUICollection and then pass it to the data source's initializer.
let sortedArray = FUISortedArray(query: query, delegate: nil) { (lhs, rhs) -> ComparisonResult in
    return lhs.compare(rhs)
}

let dataSource = FUITableViewDataSource(collection: sortedArray, view: tableView) { tableView, indexPath, snapshot in
    /* ... */
}

Hi, thanks for the input. I've updated the  firebaseui dependency to 2.0.2, but I can't seem to import FUISortedArray to my swift project.
My swift file imports include:
import Firebase
import FirebaseAuth
import FirebaseDatabaseUI

The error is "Use of unresolved identifier 'FUISortedArray'"
If I browse the Pods, I can see that it's missing in headers. Is this a problem in my environment or in the distributed binary? (Sorry if this is obvious question, I don't have much XCode experience under my belt yet.)

That's an issue with the binary I uploaded.

This should be fixed now.

The binary issue is fixed, however now I'm facing this issue: https://github.com/firebase/FirebaseUI-iOS/issues/234#issuecomment-277953684

Added some barebones docs, let me know if these are sufficient.


Auto-away support

It would be convenient to have auto-away happen via /away auto-away and /back (configurable message of course) when the user is idle for a configurable amount of time and/or all browser sessions are currently logged out.

Same goes for this as for https://github.com/Nordaaker/convos/issues/305
We will take a pull request, but this is nothing we're eager on implementing ourselves.


Added example project in Python

PR to solve this issue
Here is a list of all the changes:

Created a directory called python and  added the example project
Moved NodeJS project in a new directory called nodejs
Updated README of the repo, adding instructions to setup both the versions

Closes #1 once merged.

Hi @radioactive11, thanks for your PR!  We will review it.
In the meantime, if you are a member of our Discord server (https://discord.gg/redis), please let us know your handle.  Thanks!

@SuzeShardlow My Discord handle is radioactive11#3360

Greetings @simonprickett
This error was caused due a mistake on my part. I used split instead of strip. The code should be working fine after my last commit.
Thank you and sorry for the hassle 😅

Greetings @simonprickett
I have made the necessary changes as suggested by you.
Adding the pipeline has improved the execution time by a huge factor. Do let me know if any other changes are required.
Thank You

Hi @radioactive11, thanks for your contribution :) I have given you the Hacktoberfest 2022 role in our Discord server.


Script input box style fix

Tips

Thanks very much for contributing to Apache DolphinScheduler.
Please review https://dolphinscheduler.apache.org/en-us/community/index.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds checkstyle plugin.)
Brief change log
(for example:)

Add maven-checkstyle-plugin to root pom.xml

Verify this pull request
(Please pick either of the following options)
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added dolphinscheduler-dao tests for end-to-end.
Added CronUtilsTest to verify the change.
Manually verified the change by testing locally.

Codecov Report

Merging #1538 into dev will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             dev   #1538   +/-   ##
=====================================
  Coverage   7.42%   7.42%
=====================================
  Files        272     272
  Lines      13634   13634
  Branches    2169    2169
=====================================
  Hits        1012    1012
  Misses     12555   12555
  Partials      67      67

Continue to review full report at Codecov.

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


QObject derived classes

Would it be possible to introduce on interface /structure level support for QObject derived classes?

Interfaces already extend QObject. So you are asking if the structures could also extend QObject instead of being simple Q_GADGET ?

No actually I would like to be able to expose QObject* as property, method return type, method argument.
This was root usage scenario for merge request we've sent you few weeks ago regarding support var type from qface'a, as we would like to expose QObject* properties to QML.


WhenPowerEvent does not react to SystemEvents.PowerModeChanged

When the computer goes to Standby, the WhenPowerEvent does not react. Also, I might want to have a reference to the service in order to start and stop it on standby.

Workaround

Keep a reference to the service

private static ILogger Log => ...;
private IMyService MyService { get; set; }

Implement the event handler

private void OnPowerChange(object s, PowerModeChangedEventArgs e)
{
    switch (e.Mode)
    {
        case PowerModes.Resume:
            Log.Information("Resuming");
            MyService.Start();
            break;
        case PowerModes.Suspend:
            Log.Information("Suspending");
            MyService.Stop();
            break;
        case PowerModes.StatusChange:
            Log.Information("Power changed"); // ie. weak battery
            break;
        default:
            throw new ArgumentOutOfRangeException();
    }
}

Keep a reference to the service and hook up events

s.ConstructUsing(name => myServiceFactory());
s.WhenStarted(s=>
{
    Log.Information("Starting...");
    MyService = s;
    SystemEvents.PowerModeChanged += OnPowerChange;
    s.Start();
});
s.WhenStopped(s=>
{
    Log.Information("Stopping...");
    MyService = s;
    SystemEvents.PowerModeChanged -= OnPowerChange;
    s.Stop();
});

Im having the same problem
class Program
{

    public static void Log(string message)
    {
        var content = DateTime.Now.ToString("G") + " " + message + Environment.NewLine;
        Console.Write(content);
        System.IO.File.AppendAllText("Log.log", content);
    }

    static void Main(string[] args)
    {
        var rc = HostFactory.Run(x =>
        {
            //Setup topshelf logging
            x.Service<Service>(s =>
            {
                s.ConstructUsing(name => new Service());
                s.WhenStarted(sw => sw.Start());
                s.WhenStopped(sw => sw.Stop());
                s.WhenPowerEvent((sw, host, arg) => {
                    Log($"Power event {arg.EventCode}");
                    return true;
                });
            });

            x.RunAsLocalSystem();
            x.StartAutomatically();
            x.SetStopTimeout(TimeSpan.FromSeconds(20));

            x.EnableServiceRecovery(r =>
            {
                r.OnCrashOnly();
                r.RestartService(0);
                r.SetResetPeriod(1);
            });

            x.AfterUninstall(() =>
            {
                Log("AfterUninstall");
            });
        });

        var exitCode = (int)Convert.ChangeType(rc, rc.GetTypeCode());
        Environment.ExitCode = exitCode;
    }
}

class Service
{
    public void Start()
    {
        Program.Log("Start");
    }

    public void Stop()
    {
        Program.Log("Stop");
    }
}

No Power event is logged, what am i doing wrong? (Going with the workaround until this is fixed)

I haven't used Topshelf and came across this issue while looking for PowerModeChanged, but I think I know why it isn't working. The service needs a message pump in order to process system events. Here are a couple of links:
StackOverflow: Message pump in .NET Windows service
Connect: detecting a wm_timechange event in a .net windows service

I'm wondering why HostConfigurator doesn't have an EnablePowerEvents() method while it has EnableShutdown(). According to https://docs.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicebase.onpowerevent?view=netframework-4.8
OnPowerEvent is expected to be overridden when the CanHandlePowerEvent property is true.

And I can't find a place in the codebase where I can set this to true.


Achievement Support

Could we have achievements support down the road?
Here's a link to the API info about achievements.

Yeah, it in progress

Added in https://github.com/Mixaill/galaxy-integration-gw2/commit/91e359cdf5ec2b56002d02752231540c98fc4a24

I reported this on the GoG side, and got this reply, maybe it's useful.

@Mixaill
Hey,
Galaxy first needs definitions of achievements (all achievements which are possible to unlock in the game) before they can be reported and shown for a given platform.
Please send us an email to<EMAIL_ADDRESS>with a json file containing up-to-date achievements for Guild Wars 2 in a form similar to this.
{
        "release_per_platform_id": "{platform_id}_{game_id}",
        "name": "Achievement_name",
        "description": "Achievement_description.",
        "api_key": "achievement_api_key",
        "image_url_unlocked": "image_achievement_unlocked",
        "image_url_locked": "image_achievement_locked"
},

Other possibility is sending us an url or an endpoint which provides similar information.
Bear in mind not all of those are required and in worst case scenario api_key and name would suffice.
We will pass the provided information to GOG and hopefully get those achievements working as soon as possible.
Hope this helps!

Hey,
I've checked today and my achievements have started showing up (it took around 2 minutes for all of them to show up, game has a lot of achievements). @Darkenend  @Mixaill

Confirm it.


[Feature] Be able to split a wire with a new node

Current behaviour:
When a node should be inserted between two nodes, the rewiring must be done manually:

Desired behaviour:
A context menu option should be added to each wire to allow for easy wire splitting and new node insertion to so that the middle step can be skipped:

Added in v1.8.1.

Added in v1.8.1.


sorbet-static-0.5.10667-universal-darwin-21 does not include arm64 code

It seems like there may be a bug with fat binaries on mac with sorbet-static. I imagine most devs have rosetta installed, so it's probably not an urgent issue. But figured I'd report.
$ sorbet tc
/path/sorbet-static-0.5.10667-universal-darwin-21/libexec/sorbet: Bad CPU type in executable

Looking into it a bit more, file seems to agree that the binary only works for x86_64:
$ file /somepath/gems/sorbet-static-0.5.10667-universal-darwin-21/libexec/sorbet
/somepath/gems/sorbet-static-0.5.10667-universal-darwin-21/libexec/sorbet: Mach-O 64-bit executable x86_64

Getting this issue with sorbet-static-0.5.10929-universal-darwin-22 as well.

Also getting this issue on an M1 mac with sorbet-static-0.5.11141-universal-darwin

I started looking into this while investigating sorbet's performance on our code-base. One thing I found
https://github.com/sorbet/sorbet/blob/b1ec9d25f5668efc598933ad8715ec5f2909f4d8/.bazelrc#L111-L120 where we linux gets some custom arch flags
My general understanding is that universal binaries are made by effectively compiling with multiple arches, ie -arch x86_64 -arch arm64. If that is the case, I think it should be possible to add something like --copt="-march=x86_86 -march= arm64 to release-mac.
I wanted to test locally, but I haven't able to build with bazel locally yet 🤔

Hey folks, I'm curious if anyone has the knowledge of how to build the sorbet-static gem for M1, either as a universal gem for arm & x86, or as two different gems?
I set up https://github.com/sorbet-multiarch/ this weekend to help out with linux/arm64 builds for this issue, and theoretically can do the same for darwin. (using CircleCI's macos machines).
Maybe @nathunsmitty (because of https://rubygems.org/gems/sorbet-static-m1)?

Just for anyone else who might stuble across this issue, having Rosetta installed was enough to fix this for me and my team!
I didn't have to run my terminal or VS Code with x86 binaries or anything, just installing Rosetta fixed this issue for me
And if you want to do that from the cmd line you can run this
/usr/sbin/softwareupdate --install-rosetta

When I run bundle exec bin/tapioca dsl for updating Sorbet DSLs for our repo, I am experiencing the following error:
Error: `Tapioca::Dsl::Compilers::Protobuf` failed to generate RBI for `Google::Api::ClientLibrarySettings`
bundler: failed to load command: bin/tapioca (bin/tapioca)
/Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/compilers/protobuf.rb:305:in `create_descriptor_method': NoMethodError: undefined method `has_presence?' for an instance of Google::Protobuf::FieldDescriptor (Parallel::UndumpableException)
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/sorbet-runtime-0.5.11305/lib/types/private/methods/_methods.rb:279:in `bind_call'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/sorbet-runtime-0.5.11305/lib/types/private/methods/_methods.rb:279:in `block in _on_method_added'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/compilers/protobuf.rb:127:in `block (2 levels) in decorate'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/compilers/protobuf.rb:127:in `each'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/compilers/protobuf.rb:127:in `map'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/compilers/protobuf.rb:127:in `block in decorate'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/rbi_ext/model.rb:40:in `block in create_class'
        from <internal:kernel>:90:in `tap'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/rbi_ext/model.rb:39:in `create_class'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/rbi_ext/model.rb:16:in `create_path'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/compilers/protobuf.rb:83:in `decorate'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/pipeline.rb:180:in `block in rbi_for_constant'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/pipeline.rb:176:in `each'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/pipeline.rb:176:in `rbi_for_constant'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/pipeline.rb:79:in `block in run'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:627:in `call_with_index'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:597:in `process_incoming_jobs'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:577:in `block in worker'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:568:in `fork'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:568:in `worker'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:559:in `block in create_workers'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:558:in `each'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:558:in `each_with_index'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:558:in `create_workers'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:497:in `work_in_processes'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/parallel-1.24.0/lib/parallel.rb:291:in `map'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/executor.rb:31:in `run_in_parallel'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/dsl/pipeline.rb:78:in `run'
        from /Users/eddiecheung/.gem/ruby/3.3.0/gems/tapioca-0.13.0/lib/tapioca/commands/abstract_dsl.rb:73:in `generate_dsl_rbi_files

Any clue? Thanks 🙏

@eddiecheung-shopify, this error is actually related to Tapioca and not to the present issue. I'd suggest moving it to https://github.com/Shopify/tapioca/issues.

This is still an issue with version 0.5.11230, and I think the problem is only going to get worse as there's less of a need to install Rosetta these days.

Seeing the same issue on 0.5.11473

Duplicate of #7722, which is now closed.


Update of data behind a binding makes the Expandable icon to disappear

Describe the bug
The TreeView control is bound to an ObservableCollection. When the collection get sorted/updated the expandable icon disappears
Steps to reproduce the bug
here is the link project and test database. You should import in SQLEXPRESS.
1drv.ms/u/s!AohVtHaw3aCiwaE8ADrS0bbIbs6vkA?e=FqRZXi
I've updated the code in the folder and added a video where I do everything in a virtual machine. Started from scratch I do restore the DB, compile the app, execute it, and show the issue.
Expected behavior
To have the items sorted with the correct Expandable icon
Screenshots
Here 1drv.ms/u/s!AohVtHaw3aCiwaE8ADrS0bbIbs6vkA?e=FqRZXi  full video
starting at 13:00 you see the app and the issue
Version Info
v.2.4.0
Windows 10 v1909 x64 target
NuGet package version:
Microsoft.UI.Xaml 2.4.0

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

Additional context

here is a project and video to show very well the issue. It just uses the template un VS2019 and adds a simple sorting: https://1drv.ms/u/s!AohVtHaw3aCiwrw81EYHqNY-9Xtqfg?e=4AOIaN


Optimize utf8 string length and byte offset functions

Replace existing utf8 strlen and byte offset functions with the UTF-8
length algorithm developed by George Pollard and discussed at
https://www.daemonology.net/blog/2008-06-05-faster-utf8-strlen.html

The algorithm assumes that the String is valid UTF-8, which I believe is
enforced by utf8_strlen. The algorithm uses an ASCII fastpath and skips
characters based on their UTF-8 continuation bytes. This approach can be
more than twice as fast as the existing implementation.
The core algorithm is adapted for the following functions:

utf8len
mrb_utf8_len
chars2bytes
bytes2chars

This patch allows removing the utf8len_codepage static array.
Benchmarks (default build with MRB_UTF8_STRING defined)
("aaa\n\nbbbbb\n\n\n\n\ncccc" * 100000000).reverse!
master: 20.99s
patched: 7.36s
("aaa\n\nbbbbb\n\n\n\n\ncccc" * 100000000)[1000000 - 1]
master: 18.89s
patched: 8.14s
("aaa\n\nbbbbb\n\n\n\n\ncccc" * 100000).each_line("\n") { }
master: [does not complete in 4 minutes wall clock time]
patched: 0.02s
NOTE: I did not write the implementation of the algorithm, I only
adapted it to fit within the mruby APIs.
Fixes GH-4522.

cc @dearblue

I've generated a flamegraph with dtrace that compares master and this PR for the following benchmark:
./bin/mruby -e '100000.times { ("aaa\n\nbbbbb\n\n\n\n\ncccc" * 100000).each_line("\n") { } }'

master

PR 4529

It is interesting. However, it doesn't seem to work well in some cases:
Before patched with MRB_UTF8_STRING (same as Ruby)
$ bin/mruby -e '["\xe3\x81", "a\x00z"].each{|s| p s.size}'
2
3

After patched with MRB_UTF8_STRING
$ bin/mruby -e '["\xe3\x81", "a\x00z"].each{|s| p s.size}'
1
1

@lopopolo
As a premise, I am imagined that policy of mruby is to handle binary data and strings without distinction.
Therefore, I think that even if there are mixed characters that are invalid as UTF-8, they need to be handled without problems.
I also want to hear other people's opinions about this.

Performing malicious tests this patch.

The character count of broken UTF-8 strings is different (This is similar to what @shuujii showed):
% ./build/host/bin/mruby -e 'p ("\xf1" * 5).size'
2
% ruby26 -e 'str = "\xf1" * 5; p str.encoding, str.size'
#<Encoding:UTF-8>
5

Crash when reversing a broken string as UTF-8:
% ./build/host/bin/mruby -e 'p ("\xf1" * 5).reverse'
zsh: segmentation fault (core dumped)  ./mruby@test-utf8 -e 'p ("\xf1" * 5).reverse'

If missing trailing characters, it will make an out-of-range reference:
% ./build/host/bin/mruby -e 'p "\xf1"[0]'
"\xf1\x00\x00\x00"

mrbtest does not stop...
% CFLAGS='-O0 -Wall -DMRB_UTF8_STRING' ./minirake -j10 clean `pwd`/build/test/bin/mrbtest
...snip...
% ./build/test/bin/mrbtest
mrbtest - Embeddable Ruby Test

.F..............................................................................F..F...X?..................F..F....F.......F.F.FFFF....F...^C

Oh no, it appears I was running the tests without MRB_UTF8_STRING defined. Thanks for the tip @dearblue. This patch is not ready for review. I'll mark it as WIP.

I've pushed my latest experiment. Not being able to store the encoding on the RString means we must process each character in the char * to determine the length. The existing approach with the lookup table is faster than what I've been able to come up with.
It looks like CRuby is able to fast-path UTF-8 strlen by storing whether the string has a "broken" encoding or not.
I'm going to abandon this PR. Thanks for taking a look.


component(|| MyComponent seems to serve no purpose.

Describe the bug
I've tested out the reactivity of doing:
.c(MyComponent(...)
vs.
.c(component(|| MyComponent(...))
Both compile and function the same.
And the latter appears to serve no purpose. Components already return View<G>, so what purpose does it serve?

Sycamore: 0.8.1

What does component() do?
Calls your function inside component_scope
https://github.com/sycamore-rs/sycamore/blob/fedc881f2490da4c7abab7d9b1961d4e064a12c0/packages/sycamore/src/builder.rs#L882-L887
What does component_scope() do?
https://github.com/sycamore-rs/sycamore/blob/fedc881f2490da4c7abab7d9b1961d4e064a12c0/packages/sycamore-core/src/component.rs#L19-L28
Calls your component within untrack().
Why does it do this? This prevents a signal read inside your component body from subscribing itself to an effect outside your component body, which would cause the entire component to rerender every time that signal changed.
This is very common in fine-grained reactive libraries. Much like not wearing a seat belt, omitting component(|| ...) won't cause you any issues until it does, and then you'll wish you'd just always done it.


Log objects rather than JSON stringified objects

To easily configure CloudWatch (AWS), each log entry should be on a single line. This makes VERBOSE logging do just that.
In our case - when connecting the parse-server app, we also configure the logger to stringify JSON:
logger.configure({
  level: 'silly',
  transports: [
    new (winston.transports.Console)({
      json: true,
      stringify: true
    })
  ]
});

We can then pipe straight to CloudWatch which ingests the JSON without issue.

@spenthil updated the pull request.

[Current coverage][cc-pull] is 91.89%

Merging [#1922][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

File src/PromiseRouter.js was modified. more

Misses -1
Partials 0
Hits +11

@@             master      #1922   diff @@
==========================================
  Files            91         91
  Lines          6391       6408    +17
  Methods        1111       1114     +3
  Messages          0          0
  Branches       1338       1349    +11
==========================================
+ Hits           5870       5888    +18
+ Misses          521        520     -1
  Partials          0          0

Powered by Codecov. Last updated by [2561987...d90e264][cc-compare]
[cc-base-branch]: https://codecov.io/gh/ParsePlatform/parse-server/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/ParsePlatform/parse-server/compare/2561987d205526d963494221b46b0e4f0d5739dd...d90e264abde9a213f6931d6d5a081bab6993890c
[cc-pull]: https://codecov.io/gh/ParsePlatform/parse-server/pull/1922?src=pr

@spenthil updated the pull request.

@spenthil updated the pull request.

@spenthil updated the pull request.

@spenthil updated the pull request.

@spenthil there as some reconfigure that can be happening (upon log rotation for example). I like your idea of exposing the global logger like that :)
See:

https://github.com/ParsePlatform/parse-server/blob/master/src/logger.js#L63
https://github.com/ParsePlatform/parse-server/blob/master/src/logger.js#L42
https://github.com/ParsePlatform/parse-server/blob/2561987d205526d963494221b46b0e4f0d5739dd/src/ParseServer.js#L130
https://github.com/ParsePlatform/parse-server/blob/7afc08abe4914482e790054f78d5ae112e554222/src/LiveQuery/PLog.js#L3

I'm all willing to simplify all that. Maybe even drop the logsFolder thing, the log rotation stuff for basic logging.
What do you think?

@spenthil updated the pull request.

@spenthil updated the pull request.

@flovilmart I do think logging by default should be to console only - I can see [not careful] docker deploys blowing up on full disk otherwise. If the user wants to log to a file, they should use the loggerAdapter interface. On that note - the logger should use that interface.
Seeing as the above requires more thought, do you mind merging this as is as it doesn't move us back in any way? I'll tackle a long term logging solution when things settle down on our end.

@spenthil the problem is parse-dashboard and user expect to see the logs there. The more I think about it, the more I believe the logs should be piped to parse-dashboard and not stored locally. I'm 100% with the console thing by default.

otherwise LGTM, @drew-gross , any objections with the changes?

My main concern is that viewing logs in the dashboard continues to work by default. Logging to console only seems like it would interfere with that. If we are concerned about people filling up their disk I would rather we do something like start overwriting the oldest part of the log or something. That said I would be fine with merging this while we work on something better as long as it doesn't break the dashboard.

@spenthil updated the pull request.

The dashboard only pulls out the message field from the logged object - since this logs objects as meta (winston concept), they don't appear. This is only an issue with VERBOSE log messages. I've updated the PR so some information is included in parse dashboard (http://files.spenthil.com/wZTQ). The rest of the fields are present in the files.
@drew-gross is this a reasonable compromise? This results in the information being minimally logged twice - some stuff unstructured (in message for parse-dashboard) and everything as structured (JSON field).

Yes I'd say thats fairly reasonable. Maybe you could include an update to the docs as well to make it clear what the default is and how to get more info? @flovilmart I'll let you do the final go-ahead/merge on this one.

@spenthil updated the pull request.

@drew-gross: updated docs

@spenthil updated the pull request.

Not having the full request and response body is interfering with my debugging flow a lot more than I thought :( I may have to revert this.


Tree view multi-select not work?

Hi, I can't download (or upload) more than one file or folder at once.
Even when I select two folders and hit menu Download/Upload, only last item is processed.
There is no issue about this - is this only me having this problem?

Multi-select is not supported yet. But uploading must go.

When I select multiple files in TreeView and hit Upload in context menu, only last selected item is uploaded?
Is this problem with my setup or this is the one that is not supported yet?
I am on MacOS Sierra + Atom 1.18.0 x64 + remote-ftp 1.1.3

Does the new version work from local TreeView to multi-select upload?
Multiple selection support under testing.
https://github.com/icetee/remote-ftp/commit/06dd7169eb8275309f4eb222c6b81b08ad54329d

I can select multiple files/folders and upload them at once.
So for me this works :)


Fix mishandling of negative numbers

As a developer, I will fix the logic handling the calculations involving negative numbers, so that it yields the correct result.

Addressed this issue in issue #77 "fix calculator functionality"


how can get all contacts no in flutter with your plugin

how can get all contacts phone number from user phone in a list?

I'm not sure to understand what you need
var allContacts = await ContactsService.getContacts();
var filtered = allContacts.where((c) => c.phones.any((phone) => phone.value.contains("123456789"))).toList();

Here's how you can fetch contacts matching a phone number

Ok I think I understood what you want, is it something like
    var phones = [];
    contacts.forEach((contact) => contact.phones.forEach((phone) => phones.add(phone.value)));

thank you.......it works


feat(entry): /concepts/entry-points

This adds short and sweet ( and hopefully succinct) information about entry-points.

This is ready for review now. @webpack/collab-team @webpack/documentation-team

Looks good enough to me. 👍

Good read 👍


[SP-2819] - Backport of PDI-15523 - Select Values Step Throws Errors when multiple fields with same field name occur (6.1 Suite)

[PDI-15523] - Select Values Step Throws Errors when multiple fields with same field name occur
Earlier it used to work since RowMeta clone was implemented as sequential addValueMeta calls.
After reworking the RowMeta implementation this logic was eliminated, what is right:
cloning should replicate the state as is (w/o) taking care of fixing incosistencies.
Real inconsistancy (duplicated fields' names) were caused by the fact that setValueMeta method
did not process the case when duplicated field's name is introduced.
The fix is to incorporate deduplication to the setValueMeta() call logic.
license header

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f core/build.xml jacoco-integration checkstyle publish-local
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/row/RowMeta.java
  core/test-src/org/pentaho/di/core/row/RowMetaTest.java
  engine/test-src/org/pentaho/di/trans/steps/fieldsplitter/FieldSplitterTest.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.core.row.RowMeta

Branch Change:  + 1.88%
Complexity Change:  + 1.04%
Instruction Change:  + .58%
Line Change:  + .63%

org.pentaho.di.core.auth.core.impl.DefaultAuthenticationConsumerFactory

Branch Change:  + 7.14%
Complexity Change:  + 7.69%

org.pentaho.di.trans.step.StepMeta

Instruction Change: -.19%:small_red_triangle_down:
Line Change: -.27%:small_red_triangle_down:

org.pentaho.di.trans.steps.excelwriter.ExcelWriterStepMeta

Branch Change:  + 1.28%
Complexity Change:  + .79%
Instruction Change:  + .04%

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.18%:small_red_triangle_down:
Complexity Change: -1.35%:small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change:  + .07%

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change:  + .18%

Integration test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.trans.step.BaseStep

Branch Change: -.30%:small_red_triangle_down:
Complexity Change: -.18%:small_red_triangle_down:
Instruction Change: -.05%:small_red_triangle_down:
Line Change: -.08%:small_red_triangle_down:

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/core/test-src/org/pentaho/di/core/row/RowMetaTest.java

:heavy_exclamation_mark: Using a static member import should be avoided - org.junit.Assert.assertEquals. at Line: 41

:heavy_exclamation_mark: Using a static member import should be avoided - org.junit.Assert.assertFalse. at Line: 42

:heavy_exclamation_mark: Using a static member import should be avoided - org.junit.Assert.assertNotNull. at Line: 43

:heavy_exclamation_mark: Using a static member import should be avoided - org.junit.Assert.assertNull. at Line: 44

:heavy_exclamation_mark: Using a static member import should be avoided - org.junit.Assert.assertSame. at Line: 45

:heavy_exclamation_mark: Using a static member import should be avoided - org.junit.Assert.assertTrue. at Line: 46

/home/buildguy/project/engine/test-src/org/pentaho/di/trans/steps/fieldsplitter/FieldSplitterTest.java

:heavy_exclamation_mark: Using a static member import should be avoided - org.mockito.Matchers.any. at Line: 25

:heavy_exclamation_mark: Using a static member import should be avoided - org.mockito.Matchers.anyString. at Line: 26

:heavy_exclamation_mark: Using a static member import should be avoided - org.mockito.Mockito.*. at Line: 27

:heavy_exclamation_mark: Using a static member import should be avoided - org.junit.Assert.*. at Line: 51

@bmorrise @mdamour1976 @mbatchelor @mattcasters @matthewtckr may I ask you to review?
the issue with check-style errors has already been communicated to sir @wingman-pentaho.
The same code for master doesn't cause check-style errors (https://github.com/pentaho/pentaho-kettle/pull/2777).

@mtseu can you please cherry-pick this to <IP_ADDRESS>?


Fix for the RenderMan tool shelf

The latest versions of Blender do not have DISCLOSURE_TRI_UP so changing to TRIA_DOWN seemed like an ok option since it is available in older versions (according to the docs at least.) Let me know if you have any problems with this.

I think in other places we use DISCLOSURE_TRI_DOWN and DISCLOSURE_TRI_RIGHT

Hmm, I guess I did not notice blender complaining about any other than those two. Did you want the rest converted also?

Ok disregard my previous statement, I misread your comment. I will switch to using the right triangle.


Feed Key into Parser

Current Parser implementation does not take the Key as an input. There are times when parsing logic is dependent on some request param ie type.  The proposal is to create a new Parser
KeyParseFunc<Key,Raw,Parsed> implements Func2<Key,Raw,Parsed> {
this way you can do
StoreBuilder.<Key,Parsed>key()
.fetcher(fetcher)
.keyParser(new Func2...)
.build()

Closed by #136


fix for Package.getActivationCommands is deprecated

Hi there here is simple fix for depreciation

To me, this PR looks nice. @wangyuhere can you merge and release a new version?
(this is the final remaining deprecation warning in my Atom editor setup :)
:+1:

Thanks!
:+1:


Add AnchorThemes.com to sites built with Eleventy

Proud to be amongst the 11ty user base!

Thank you!


[v0.2] Issue on migrating prepared cutout to new cutout format

I had an already prepared cutout in the old atlite version and opened it with the new atlite version:

cutout = atlite.Cutout(config['cutout'], cutout_dir=snakemake.input.cutout_dir)

The script took some time and then failed with the following error message:
WARNING:atlite.utils:Found an old-style directory-like cutout. Use `prepare` to transfer that data.
/home/vagrant/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/xarray/backends/api.py:783: FutureWarning: In xarray version 0.13 `auto_combine` will be deprecated.
  coords=coords)
/home/vagrant/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/xarray/backends/api.py:783: FutureWarning: The datasets supplied have global dimension coordinates. You may want
to use the new `combine_by_coords` function (or the
`combine='by_coords'` option to `open_mfdataset` to order the datasets
before concatenation. Alternatively, to continue concatenating based
on the order the datasets are supplied in in future, please use the
new `combine_nested` function (or the `combine='nested'` option to
open_mfdataset).The datasets supplied require both concatenation and merging. From
xarray version 0.14 this will operation will require either using the
new `combine_nested` function (or the `combine='nested'` option to
open_mfdataset), with a nested list structure such that you can combine
along the dimensions None. Alternatively if your datasets have global
dimension coordinates then you can use the new `combine_by_coords`
function.
  coords=coords)

---------------------------------------------------------------------------
MergeError                                Traceback (most recent call last)
<ipython-input-7-042299d21e33> in <module>
      1 # Load atlite cutout
----> 2 cutout = atlite.Cutout(config['cutout'], cutout_dir=snakemake.input.cutout_dir)

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/atlite/cutout.py in __init__(self, name, data, cutout_dir, **cutoutparams)
     92             elif os.path.isdir(os.path.join(self.cutout_dir, self.name)):
     93                 data = utils.migrate_from_cutout_directory(os.path.join(self.cutout_dir, self.name),
---> 94                                                            self.name, self.cutout_fn, cutoutparams)
     95                 self.is_view = True
     96             else:

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/atlite/utils.py in migrate_from_cutout_directory(old_cutout_dir, name, cutout_fn, cutoutparams)
     59     old_cutout_dir = Path(old_cutout_dir)
     60     with xr.open_dataset(old_cutout_dir / "meta.nc") as meta:
---> 61         data = xr.open_mfdataset(str(old_cutout_dir / "[12]*.nc"))
     62         data.attrs.update(meta.attrs)
     63     data.attrs['prepared_features'] = list(sys.modules['atlite.datasets.' + data.attrs["module"]].features)

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/xarray/backends/api.py in open_mfdataset(paths, chunks, concat_dim, compat, preprocess, engine, lock, data_vars, coords, combine, autoclose, parallel, **kwargs)
    781             combined = auto_combine(datasets, concat_dim=concat_dim,
    782                                     compat=compat, data_vars=data_vars,
--> 783                                     coords=coords)
    784         elif combine == 'nested':
    785             # Combined nested list by successive concat and merge operations

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/xarray/core/combine.py in auto_combine(datasets, concat_dim, compat, data_vars, coords, fill_value)
    627     return _old_auto_combine(datasets, concat_dim=concat_dim,
    628                              compat=compat, data_vars=data_vars,
--> 629                              coords=coords, fill_value=fill_value)
    630
    631

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/xarray/core/combine.py in _old_auto_combine(datasets, concat_dim, compat, data_vars, coords, fill_value)
    681     else:
    682         concatenated = datasets
--> 683     merged = merge(concatenated, compat=compat, fill_value=fill_value)
    684     return merged
    685

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/xarray/core/merge.py in merge(objects, compat, join, fill_value)
    549
    550     variables, coord_names, dims = merge_core(dict_like_objects, compat, join,
--> 551                                               fill_value=fill_value)
    552     # TODO: don't always recompute indexes
    553     merged = Dataset._construct_direct(

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/xarray/core/merge.py in merge_core(objs, compat, join, priority_arg, explicit_coords, indexes, fill_value)
    460
    461     priority_vars = _get_priority_vars(aligned, priority_arg, compat=compat)
--> 462     variables = merge_variables(expanded, priority_vars, compat=compat)
    463     assert_unique_multiindex_level_names(variables)
    464

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/xarray/core/merge.py in merge_variables(list_of_variables_dicts, priority_vars, compat)
    170             else:
    171                 try:
--> 172                     merged[name] = unique_variable(name, var_list, compat)
    173                 except MergeError:
    174                     if compat != 'minimal':

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/xarray/core/merge.py in unique_variable(name, variables, compat)
     90                                  'objects to be combined:\n'
     91                                  'first value: %r\nsecond value: %r'
---> 92                                  % (name, out, var))
     93             if combine_method:
     94                 # TODO: add preservation of attrs into fillna

MergeError: conflicting values for variable 'roughness' on objects to be combined:
first value: <xarray.Variable (y: 112, x: 132)>
dask.array<shape=(112, 132), dtype=float32, chunksize=(112, 132)>
Attributes:
    units:      m
    long_name:  Forecast surface roughness
second value: <xarray.Variable (time: 8784, y: 112, x: 132)>
dask.array<shape=(8784, 112, 132), dtype=float32, chunksize=(1440, 112, 132)>
Attributes:
    units:      m
    long_name:  Forecast surface roughness

I think this is fixed by commit https://github.com/PyPSA/atlite/commit/193164d7273341cf1224c674eda977431436e2e1. I'd appreciate if you could test!

I think this is fixed by commit 193164d. I'd appreciate if you could test!

Here is the result
WARNING:atlite.utils:
Found an old-style directory-like cutout. It can manually be recreated using

cutout = atlite.Cutout("../cutouts/western-asia-2016-era5.nc",
                       module="era5",
                       time=slice("2016-01", "2016-12"),
                       x=slice(24.899999618530273, 64.19999694824219),
                       y=slice(44.099998474121094, 10.800000190734863)
cutout.prepare()

but we are trying to offer an automated migration as well ...

WARNING:atlite.utils:Automatic migration failed. Re-create the cutout with the command above!

---------------------------------------------------------------------------
UnboundLocalError                         Traceback (most recent call last)
<ipython-input-8-96088e8e5a64> in <module>
      5                     x=slice(25,64),
      6                     y=slice(44,11),
----> 7                     time="2016"
      8 )

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/atlite/cutout.py in __init__(self, name, data, cutout_dir, **cutoutparams)
     92             elif os.path.isdir(os.path.join(self.cutout_dir, self.name)):
     93                 data = utils.migrate_from_cutout_directory(os.path.join(self.cutout_dir, self.name),
---> 94                                                            self.name, self.cutout_fn, cutoutparams)
     95                 self.is_view = True
     96             else:

~/miniconda/envs/atlite-v0.2/lib/python3.7/site-packages/atlite/utils.py in migrate_from_cutout_directory(old_cutout_dir, name, cutout_fn, cutoutparams)
     85             logger.warning("Automatic migration failed. Re-create the cutout with the command above!")
     86
---> 87     data.attrs['prepared_features'] = list(sys.modules['atlite.datasets.' + data.attrs["module"]].features)
     88
     89     return data

UnboundLocalError: local variable 'data' referenced before assignment

I think the warning offered is helpful enough and provides all the commands a user needs to quickly get back into the game.
Providing a unprepared cutout instead is I think not a good solution:
Either the loading of the prepared cutout fails (preferred) or succeeds.
But importing a prepared cutout and recieving an unprepared cutout is not what I would expect as a user.
Maybe just throw an additional exception when the automigration / merging fails?

Fine, then I'll just re-raise the MergeError exception from xarray and we'll leave it at that, that is at least more descriptive than what you get now.

One must say, you do have a peculiar cutout there, with time-dependent roughness value in one month and an independent one in another?
MergeError: conflicting values for variable 'roughness' on objects to be combined:
first value: <xarray.Variable (y: 112, x: 132)>
dask.array<shape=(112, 132), dtype=float32, chunksize=(112, 132)>
Attributes:
    units:      m
    long_name:  Forecast surface roughness
second value: <xarray.Variable (time: 8784, y: 112, x: 132)>
dask.array<shape=(8784, 112, 132), dtype=float32, chunksize=(1440, 112, 132)>
Attributes:
    units:      m
    long_name:  Forecast surface roughness

Sorry to disappoint, but except for one details that is just a standard cutout downloaded with the cdsapi via the era5.py module. No time indepdendent/dependent roughness there:
> for dspath in pathlib.Path("../cutouts/western-asia-2016-era5/").glob("2016*.nc"):
>   with xr.open_dataset(dspath) as ds:
>       print(dspath,":", "time" in ds.roughness.coords, ds.roughness.size)

../cutouts/western-asia-2016-era5/201601.nc :  False 14784
../cutouts/western-asia-2016-era5/201602.nc :  False 14784
../cutouts/western-asia-2016-era5/201603.nc :  False 14784
../cutouts/western-asia-2016-era5/201604.nc :  False 14784
../cutouts/western-asia-2016-era5/201605.nc :  False 14784
../cutouts/western-asia-2016-era5/201606.nc :  False 14784
../cutouts/western-asia-2016-era5/201607.nc :  False 14784
../cutouts/western-asia-2016-era5/201608.nc :  False 14784
../cutouts/western-asia-2016-era5/201609.nc :  False 14784
../cutouts/western-asia-2016-era5/201610.nc :  False 14784
../cutouts/western-asia-2016-era5/201611.nc :  False 14784
../cutouts/western-asia-2016-era5/201612.nc :  False 14784

Ok, I don't understand the MergeError output then, but it also does not matter too much, anyway.


Use latest Neue 6.0 beta, and restores mosaic gallery views.

Changes

Pulls in the latest beta of Neue 6.0, and restores mosaic gallery views to the homepage and campaign taxonomy page. :art:

:shipit:


Upgrade for test-tools/wamr-ide

add wamr-sdk to include libc-builtin-sysroot header files
add prittier check and apply script in package.json
update wasm-toolchain dockerfile and resource
enhance build | run | debug process to clean up the container
enhance the change workspace
enhance wasm type project check before building, running and debugging
format the project_compilation.json

LGTM


Encoder.encode does not work like encode() when using custom types. Bug or intended?

Hello!
I found that the encoding behavior when using custom type encoders and decoders is different between Encoder[Class].encode(obj) and encode(obj, Class, ...). Here's the steps to reproduce it:
Steps to reproduce it
from chili import Encoder, TypeEncoder, encode, encodable
from typing import Any

class ExoticClass:
    name: str
    size: int

    def __init__(self, name, size):
        self.name = name
        self.size = size

class ExoticEncoder(TypeEncoder):
    def encode(self, value: ExoticClass):
        return {"name": f"DECODED:{value.name}", "size": -value.size}

type_encoders = {ExoticClass: ExoticEncoder()}

exotic_object = ExoticClass("foo", 5)

print(encode(exotic_object, ExoticClass, type_encoders))
print(Encoder[ExoticClass](encoders=type_encoders).encode(exotic_object))

The output of the first print is: {'name': 'DECODED:foo', 'size': -5}, as expected.
But the output of the second line is the exception chili.error.EncoderError@invalid_type: invalid_type
I think this is because I haven't decorated my class. If I add the decorator like:
@encodable
class ExoticClass:
    ...

Then, the outputs are {'name': 'DECODED:foo', 'size': -5} and {'name': 'foo', 'size': 5}.
The conclusion is that the second line always ignores the custom type encoders.

@Fairlight8 Hello, thanks for raising the issue.
You should not need to add @encodable decorator for custom types. I will have a look and see where is the problem after my work.

Oh, okay, I think I understand. So, the preferred workflow is to register custom type decoders / encoders only for unserializable attributes inside the class, right? Well, to be honest, it makes much more sense.
Okay, thank you. So, should I close the issue?

@Fairlight8 THat's correct ;)
I will close it ;)


Error installing Tensorflow binding

I tried using following command and get errors, any idea? please help
cd warp-ctc
mkdir build cd build
make
then
cd ../tensorflow_binding
sudo TENSORFLOW_SRC_PATH=../tensorflow python setup.py test
...
building 'warpctc_tensorflow.kernels' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/local/lib/python2.7/dist-packages/tensorflow/include -I../tensorflow -I/home/siva/git/warp-ctc/tensorflow_binding/../include -I/usr/include/python2.7 -c src/ctc_op_kernel.cc -o build/temp.linux-x86_64-2.7/src/ctc_op_kernel.o -std=c++11 -fPIC -Wno-return-type
In file included from src/ctc_op_kernel.cc:7:0:
../tensorflow/../tensorflow/core/framework/op_kernel.h:516:5: error: ‘ScopedStepContainer’ does not name a type
ScopedStepContainer* step_container = nullptr;
^
../tensorflow/../tensorflow/core/framework/op_kernel.h:943:3: error: ‘ScopedStepContainer’ does not name a type
ScopedStepContainer* step_container() const {
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

OK..the issues is TENSORFLOW_SRC_PATH=../tensorflow should be root of tensorflow. In this case TENSORFLOW_SRC_PATH=../ , later from ctc_op_kernel.cc I found that the include path includes tensorflow #include "tensorflow/core/framework/op_kernel.h" the error threw me off now I got it compiled, let me run tests and see!!


Fix bugs in grad doc.

Fix the bug in grad Api doc.
delete fluid related api

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


build: remove defunct eslint tsconfig file

Summary of Changes
Can't find anywhere this is referenced, in package.json we specify:
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
      "project": "tsconfig.json",
      "sourceType": "module"
    },

so i'm pretty sure this is defunct. Tests will tell :)
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes, including screenshots of any UI changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide

cc @Golodhros

@Golodhros I don't have commit perms -- could you please merge?

@dorianj, still having issues with our Travis, I'll look into it!


feat: add vite-react-ts template

What kind of change does this pull request introduce?
#744
added vite-react-ts vite-svelte-ts vite-vue-ts

Checklist

[ ] Documentation;
[x] Storybook (if applicable);
[ ] Tests;
[x] Ready to be merged;

Thanks for this, @jerrywu001! You should add "Fixes #744" to the description so it auto-closes 744 if/when this is merged.


User permission handling errors?

Due to changes in permission handling in djs v13, the 'permissions' bitfield number is no longer being recognized.
Because of this, the dashboard is now unusable past the login stage since it cannot interpret the permissions value.

[x] Investigate cause of errors and find a working solution.
[x] #10

Affected Modules (subject to change):
Bot Dashboard (Normal & Admin dashboards)

Dashboard is now working again. Closing as fixed.


Add an option to define security.privileged

Signed-off-by: Rafael Peria de Sene<EMAIL_ADDRESS>What is the problem that this PR is trying to fix?
Allow setting security.privileged when running a LXD container.
What approach did you choose and why?
Add a new variable that makes it option, default is false.
How can you test this?
Set it to true and when doing a Travis build running in a LXD, get the configuration of the running container. This preference should be there.
What feedback would you like, if any?
A review is OK :o)

@DamianSzymanski ˆ

@rpsene, built and released


Trusty not in old-releases

python-apt-mirror-updater assumes that a release that is EOL needs to have its sources updated to the old-releases version. This is incorrect as the move to old-releases can be delayed by quite some time, especially for LTS releases apparently (and there seems to be no schedule set from Canonical).
I propose to add a verification that the repositories for the release are indeed available in old-releases before installing the old-releases sources. This would prevent breaking an otherwise functional system.

@tarmack my fork's this commit fixs it
https://github.com/martin68/apt-smart/commit/b19d73b10a12129d5debb9c93efbac0671e52b79

Hey Bart and thanks for the feedback. This has been fixed in release 7.1 which was just published.