CrashLoopBackOff: failed to parse drbdsetup json: json: cannot unmarshal number

I0919 15:12:47.660781       1 merged_client_builder.go:121] Using in-cluster configuration
I0919 15:12:47.719448       1 agent.go:92] setting up PersistentVolume informer
I0919 15:12:47.725963       1 agent.go:121] setting up Pod informer
I0919 15:12:47.726131       1 agent.go:140] setting up VolumeAttachment informer
I0919 15:12:47.752953       1 agent.go:179] version: v1.1.0
I0919 15:12:47.753039       1 agent.go:180] node: 4c
I0919 15:12:47.753064       1 agent.go:182] setting up event broadcaster
I0919 15:12:47.755290       1 agent.go:189] setting up periodic reconciliation ticker
I0919 15:12:47.758167       1 drbd.go:39] updating drbd state
I0919 15:12:47.764229       1 agent.go:224] starting reconciliation
I0919 15:12:47.764360       1 drbd.go:60] Checking if DRBD is loaded
I0919 15:12:47.764624       1 drbd.go:70] Command: drbdsetup status --json
I0919 15:12:47.764744       1 agent.go:247] managing node taints failed: own node does not exist
I0919 15:12:47.764783       1 agent.go:250] Own node taints synced
I0919 15:12:47.769233       1 reflector.go:219] Starting reflector *v1.PersistentVolume (15m0s) from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
I0919 15:12:47.769394       1 reflector.go:255] Listing and watching *v1.PersistentVolume from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
I0919 15:12:47.769413       1 reflector.go:219] Starting reflector *v1.Pod (15m0s) from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
I0919 15:12:47.769499       1 reflector.go:255] Listing and watching *v1.Pod from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
I0919 15:12:47.776946       1 reflector.go:219] Starting reflector *v1.VolumeAttachment (15m0s) from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
I0919 15:12:47.777261       1 reflector.go:255] Listing and watching *v1.VolumeAttachment from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
I0919 15:12:47.787303       1 reflector.go:219] Starting reflector *v1.Node (15m0s) from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
I0919 15:12:47.787502       1 reflector.go:255] Listing and watching *v1.Node from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
I0919 15:12:47.867921       1 agent.go:214] drbd syncer done
I0919 15:12:47.868245       1 reflector.go:225] Stopping reflector *v1.Node (15m0s) from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
I0919 15:12:47.869509       1 reflector.go:225] Stopping reflector *v1.VolumeAttachment (15m0s) from pkg/mod/k8s.io/client-go@v0.24.1/tools/cache/reflector.go:167
E0919 15:12:47.869479       1 run.go:74] "command failed" err="failed to parse drbdsetup json: json: cannot unmarshal number<PHONE_NUMBER>3709551608 into Go struct field DrbdConnection.connections.ap-in-flight of type int"
Stream closed EOF for piraeus/ha-8682e2af-piraeus-ha-controller-fxp2z (piraeus-ha-controller)

Relevant portion of drbdsetup status --json:
    {
      "peer-node-id": 0,
      "name": "4b",
      "connection-state": "Connecting",
      "congested": false,
      "peer-role": "Unknown",
      "ap-in-flight":<PHONE_NUMBER>3709551608,
      "rs-in-flight": 0,
      "peer_devices": [
        {
          "volume": 0,
          "replication-state": "Off",
          "peer-disk-state": "DUnknown",
          "peer-client": false,
          "resync-suspended": "no",
          "received": 0,
          "sent": 0,
          "out-of-sync": 0,
          "pending": 0,
          "unacked": 0,
          "has-sync-details": false,
          "has-online-verify-details": false,
          "percent-in-sync": 100.00
        } ]
    } ]

Thanks for the report.
That's what I get from simply copy&pasting the json in my IDE :/
Actually, we don't need 90% of those fields, they are just a parsing hazard. I'll make a PR which removes all those fields shortly.

Fixed version released as 1.1.1


remove filesystem objects in cabal.project

@andrewthad please remove them.
this is preventing me from building rotera with cabal.

Fixed on master.


Rename ResourceFlavor to Flavor

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This is in preparation to introduce the ResourceFlavor CRD type.
Which issue(s) this PR fixes:
Part of #https://github.com/kubernetes-sigs/kueue/issues/59
Special notes for your reviewer:

/assign @denkensk

/retest

/retest

prow is broken, check the referenced issue above

/retest

/retest

/retest-required

/lgtm
Thanks @ahg-g

/retest-required

/retest-required

@ahg-g: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name	Commit	Details	Required	Rerun command
pull-kueue-test-unit-main	aaa6689 link	true	/test pull-kueue-test-unit-main
pull-kueue-test-integration-main	aaa6689 link	true	/test pull-kueue-test-integration-main
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

https://github.com/kubernetes-sigs/kueue/pull/124#issuecomment-1070797940 Fixes this errors moving forward

/retest-required

/retest

/hold

straightforward
/hold cancel


Client Request / Server Response Headers

Is there a way to log/view the client request headers and the server response headers?

Yes, like this:
tab.driver.client.Network.requestWillBeSent((e) => {
	console.log(`-=>> requestWillBeSent: ${e.request.method} (${e.request.postData ? `sending ${e.request.postData.length} bytes` : "no post data"}) ${e.request.url}`)
})
tab.driver.client.Network.responseReceived((e) => {
	console.log(` <<=- responseReceived: ${e.response.status} (type: ${e.type}, frameId: ${e.frameId}, loaderId: ${e.loaderId}) ${e.response.url}`)
})

This is sample code, it's only logging a few of all the available fields.

Very cool, thank you !


Impact on NAT router

How is the impact of endlessh if running behind a NAT router with port forwarding?
Especially on the router in this case, as the NAT router would have to monitor up to 4096 connections while the server behind it handles the "keeping clients busy" part.
An alternative I have would be to install endlessh on the NAT router, but for this I'd need a more recent "release" than 0.1, as that is hardly compatible with the package manager in use. So I would be grateful if the current state of endlessh could be tagged as a "release" version.

The impact on a NAT router could be significant since it too has to
track some state for every connection. I don't really know how much
consumer routers have improved, but, only a decade ago, it wasn't
unusual for a single, busy BitTorrent client to completely knock down a
mid-range home router — mostly due to the crappy, cheap memory they'd
put in those things. Endlessh would have a similar sort of impact.
Moving Endlessh to the router would reduce the overall resource usage
since it eliminates the duplication, but it would increase the load on
the router, since it has to track even more information per connection
(receive buffer, etc.).
I've tagged release 1.0 for you.

Absolutely perfect, thanks a lot.


UnicodeEncodeError in logging statements

Hello,
I am using appengine and I noticed that some of my requests crashed without outputing any logs.
After investigating I found some logs that were not forwarded to the output :
File "/home/vmagent/python_vm_runtime/lib/protorpc-1.0/protorpc/wsgi/service.py", line 191, in protorpc_service_app
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 3604468: ordinal not in range(128)

It's happening here : https://github.com/google/protorpc/blob/master/protorpc/wsgi/service.py#L190
When the error raised is a unicode instead of an str it's crashing. You can reproduce the issue easily with this piece of code :
In  [1]: try:
   ....:         raise ValueError(u'sample unicode : \xa0')
   ....: except Exception as err:
   ....:         logging.exception('%s %s' % ('text', err))
   ....:
---------------------------------------------------------------------------
UnicodeEncodeError                        Traceback (most recent call last)
<ipython-input-22-6518b912bd3d> in <module>()
      2         raise ValueError(u'sample unicode : \xa0')
      3 except Exception as err:
----> 4         logging.exception('%s %s' % ('text', err))
      5

UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 17: ordinal not in range(128)

In order to fix this you just have to add a u before the string in the logging statement :
In  [2]: try:
        raise ValueError(u'sample unicode : \xa0')
except Exception as err:
        logging.exception(u'%s %s' % ('text', err))
   ....:
ERROR:root:text sample unicode :
Traceback (most recent call last):
  File "<ipython-input-23-fded89cbdcf2>", line 2, in <module>
    raise ValueError(u'sample unicode : \xa0')
ValueError: sample unicode : \xa0

Is that something that could be fixed ? Would you accept a PR with this fix ?

Sure, if you sign the CLA, happy to accept a PR.
As a heads-up, this project is mostly dormant, so I don't know how soon we'll cut a release.


Error: kill EPERM

Bug
There seems to have been a change in node > 20 that is causing start-server-and-test to error due to child processes (cypress + electron) closing.
Child process 24584 exited before trying to stop it
Error: kill EPERM
    at process.kill (node:internal/process/per_thread:228:13)
    at D:\testing\vue-project\node_modules\start-server-and-test\src\index.js:62:23
    at Array.forEach (<anonymous>)
    at D:\testing\vue-project\node_modules\start-server-and-test\src\index.js:60:20
    at tryCatcher (D:\testing\vue-project\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\testing\vue-project\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\testing\vue-project\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\testing\vue-project\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\testing\vue-project\node_modules\bluebird\js\release\promise.js:729:18)
    at Promise._fulfill (D:\testing\vue-project\node_modules\bluebird\js\release\promise.js:673:18)
    at D:\testing\vue-project\node_modules\bluebird\js\release\nodeback.js:42:21
    at D:\testing\vue-project\node_modules\ps-tree\index.js:87:7
    at a.end (D:\testing\vue-project\node_modules\event-stream\index.js:87:5)
    at Stream.onend (node:internal/streams/legacy:48:10)
    at Stream.emit (node:events:531:35)
    at end (D:\testing\vue-project\node_modules\map-stream\index.js:116:39) {
  errno: -4048,
  code: 'EPERM',
  syscall: 'kill'
}

I'm not sure what the root cause is, or even which library is causing the error. But as the overall runner, it seems like its start-server-and-test not liking child processes closing or closing in an irregular way.
Reproduce - leverage vue to create a project scaffold of start-server-and-test + server + cypress runner:

npm create vue@latest
No for everything - choose cypress.
npm install
npm run build
npm run test:e2e

run the test:e2e a few times as it can be a race-condition.
shell: windows 11, cmd or ps
node -v : 21.7.3 and 22.3.0
npm why start-server-and-test<EMAIL_ADDRESS>npm why cypress<EMAIL_ADDRESS>
This specifically seems to be an issue on node > 20, as in node 20 you only get the messages "Child process [number] exited before trying to stop it", but it doesn't Error.
If you swap out vite for http-server ( "preview": "http-server ./dist -p 4173", ) you still get the Error: kill EPERM.
If you remove start-server-and-test, add and run  "cypress": "cypress run --e2e", along with separate term for preview it exits without error.

Do you have a line saying Error: spawn wmic.exe ENOENT in the error message like I do?
For me it looks like this is caused by windows 11 deprecating wmic.
start-server-and-run uses the package ps-tree for finding out, which processes to terminate to stop the server on cleanup. On windows systems this library uses wmic to enumerate the processes to terminate.
Unluckily this library is no longer part of a current windows 11 system. And even worse, the workaround in how-to-install-wmic-feature-on-demand-on-windows (activating the Featore-on-Demand) does not exist any more in Win11pro.
So I am waiting for a fix to ps-tree.

@BePo65

So I am waiting for a fix to ps-tree.

I don't see any issue open for this on https://github.com/indexzero/ps-tree/issues and the last release was https://www.npmjs.com/package/ps-tree/v/1.2.0 released 6 years ago.

@MikeMcC399
Currently I am trying to find a solution for this problem. Perhaps it would make sense that I create (and maintain) a fork as this package has over 1mio downloads per week (perhaps only unix users 😄).
Or do you have a better idea.

@BePo65
I would raise the issue in https://github.com/indexzero/ps-tree/issues first. This repo (start-server-and-test) is not the best place to be discussing it.

@BePo65
I see that you have raised

https://github.com/indexzero/ps-tree/issues/58
https://github.com/indexzero/ps-tree/issues/60

and that you are not getting any response in that repo.

It would be good to get an opinion now from the repo owner @bahmutov about how to handle the situation, including a response to your PR #392.

@BePo65
Do you have a link to any Microsoft document which says that the deprecated Windows Management Instrumentation command-line (WMIC) utility has already been removed? I can only find information which says it has been disabled by default. See https://github.com/indexzero/ps-tree/issues/58#issuecomment-2507264779 for more details.

Sorry, but as you mentioned in your comment, I simply did not find the buttons to add WMIC as a FoD.

This issue should be resolved by following the instructions in How to install WMIC Feature on Demand on Windows 11 if WMIC is missing from your system.

Just 2 more remarks:

ps-tree has a lot of vulnerabilities reported by npm audit and the last version is 6 years old (the package is probably abandoned and no one will fix these problems)
should we require an optional windows feature for a function like start-server-and-test?

@BePo65

ps-tree has a lot of vulnerabilities reported by npm audit

The devDependencies of ps-tree are not directly relevant for start-server-and-test. npm install ps-tree does not report any vulnerabilities. For this repo I opened https://github.com/bahmutov/start-server-and-test/issues/394.

and the last version is 6 years old (the package is probably abandoned and no one will fix these problems)

It remains to be seen if there is any maintainer reaction to your PRs in ps-tree. Hopefully your PRs will be considered. Microsoft has not yet announced any firm date for the removal of WMIC, so there is still time to consider any alternate mitigation plans.

should we require an optional windows feature for a function like start-server-and-test?

I don't understand what you mean by this. If you are proposing something new then you should probably submit a new issue in the repo where you would like the change to take place.

PR https://github.com/bahmutov/start-server-and-test/pull/393 submitted to update the README documentation

@MikeMcC399

should we require an optional windows feature for a function like start-server-and-test?

I agree that this is not a real solid argument - more of a personal preference 😄


cesium no supports loading external "binary buffer" of glb in b3dm?

In the 3d-tiles b3dm specification. there is a describtion:
Instanced 3D Model embeds glTF 2.0 containing model geometry and texture information.
The glTF asset to be instanced is stored after the Feature Table and Batch Table. It may embed all of its geometry, texture, and animations, or it may refer to external sources for some or all of these data.
But , in cesium, when the b3dm loaded, the external "buffer binary" can not be requested. is it a bug or missing function?
"buffers": [
{
"byteLength": 1113924,
"uri": "0.0.bin"
}
],
tileset.zip

function parseGlbVersion2(glb, header) {         var length = header[2];         var byteOffset = 12;         var gltf;         var binaryBuffer;         while (byteOffset < length) {             var chunkHeader = readHeader(glb, byteOffset, 2);             var chunkLength = chunkHeader[0];             var chunkType = chunkHeader[1];             byteOffset += 8;             **var chunkBuffer = glb.subarray(byteOffset, byteOffset + chunkLength);**             byteOffset += chunkLength;             // Load JSON chunk             if (chunkType === 0x4E4F534A) {                 var jsonString = getStringFromTypedArray(chunkBuffer);                 gltf = JSON.parse(jsonString);                 addPipelineExtras(gltf);             }             // Load Binary chunk             else if (chunkType === 0x004E4942) {                 binaryBuffer = chunkBuffer;             }         }         if (defined(gltf) && defined(binaryBuffer)) {             var buffers = gltf.buffers;             if (defined(buffers) && buffers.length > 0) {                 var buffer = buffers[0];                 **buffer.extras._pipeline.source = binaryBuffer;**             }         }         return gltf;     }
it seems as the parseGlb.js parseGlbVersion2 function no supporting to load external .bin file


Reformat everything with scalafmt using vertical alignment.

Reformatted everything with scalafmt using vertical alignment. Why? Because our time is better spent on solving problems than discuss trivia. I admit the output from scalafmt in this diff is not always perfect, but it's good enough for my personal taste. Please comment on the diffs you don't like, maybe I can fix those issues :)

Superseded by https://github.com/scalameta/paradise/pull/66


Feature Request: scale only in x or y direction

It would be fantastic if you could choose to only Scale in the X or Y direction!
This would be great for making bar charts for example.

Great suggestion Jay! Will implement in the next version. Cheers!

Thank you so much! Awesome work!

Hey Jay, have added the feature as suggested. Check out the latest version here: https://github.com/sureskumar/Looper/releases/download/v3.0/Looper.sketchplugin.zip Cheers!


Fix usings

Second try on https://github.com/OmniSharp/omnisharp-roslyn/pull/150
The code can be optimized for speed (performance), for now to test may need to increase timeout from client editor.

Add missing usings
Send a dictionary of key-list for ambiguous usings
Remove redundant usings
TODO:
Remove unused using statements
Sort using statements
If possible, replace RemoveRedundantUsings by something better from the framework

The tests fail with nullreference exception, though the tests I added for this PR passes. The failure seems random - different tests fail each time I do a whitespace commit.

There are Roslyn codefixes for adding / sorting and removing using statements. It should be possible to re-use the same code I think.

I just realised that you probably haven't seen the v2/getcodeactions endpoint in action yet as it's not been implemented in vim.
This allows you to add a using for the current symbol under the cursor. It also sorts and removes unused usings (as separate actions - the cursor has to be on a using statement for this to work).
I would imagine that you could loop over the unresolved symbols and run the CodeAction to add a using statement for each one - it might reduce the amount of code that you have to write.

Took a look at getcodeactions. Agree that it should be possible to run codeaction over each unresolved symbol. Will rewrite the code using this and resubmit.

@nosami, I am not sure why, but when I apply the codeactions in a loop - only the latest one seems to apply for the workspace. I will look at this some more, was wondering if you had come across something like this. If this does not work, I will still use code actions but apply the changes in a more manual way.

Every change to a solution object results in a new solution object being created as everything is immutable.
I think there is a call Workspace.TryApplyChanges or something like that?

I tried Workspace.TryApplyChanges too, run into the same issue. Only the last iteration is applied. Actually on each iteration the change is applied to the original workspace, so the last one sticks. I took a look at the Roslyn source, and couldnt really tell why this happens.
I have asked about this on so and msdn, hoping someone will help.
http://stackoverflow.com/questions/31832756/how-to-apply-a-list-of-applychangesoperation-on-a-roslyn-workspace
https://social.msdn.microsoft.com/Forums/vstudio/en-US/0d139c6d-33d7-4911-9984-d0295d02bc98/how-to-apply-a-list-of-applychangesoperation-on-a-roslyn-workspace?forum=roslyn

A few things still to change, but this is looking much better now. Thanks!
Also, we need to be able to return the changes that were made to the document instead of the full text of the modified buffer. See here for an example. Vim and Sublime are the only editors left that use the full text.

@nosami, I have incorporated most of the review comments (I think). The builds still fail - appveyor on a GetOptions call and Travis due to non-existent project.lock.json. The tests work locally, and I am using the feature locally for editing and it works ok.

@nosami,

Sort usings is not as simple as I thought. The correct code is in roslyn but is marked internal, and it would be a lot of code to bring down since it includes dependencies which are internal too: https://github.com/dotnet/roslyn/blob/0382e3e3fc543fc483090bff3ab1eaae39dfb4d9/src/Features/CSharp/Organizing/CSharpOrganizingService.Rewriter.cs
There seems to be something wrong with the way the newlines are generated from the codeactions in appveyor builds.

I ensured my file ends with \n, and the fakeoption is set to \n too - this passes on my box and travis but fails on appveyor since it expects \r\n as line ending.
If I make the file windows formatted and set fakeoption to be \r\n - the tests pass on appveyor but fail on travis and my box.
Not sure what to do - the latest checkin has \n as line ending and fake option.

The tests pass on travis, but fail on a project.lock.json file.

There is a sort usings code action in NRefactory. You should be able to invoke it with the cursor on one of the using statements.
If you can get that working, I can take a look at the tests if you'd like.

For the appveyor line endings, take a look here.
Seems like appveyor isn't checking the files out with autocrlf true

@sami, I have added sort usings. Let me know if I should strip out \r from the fix using unit tests to get past the appveyor error.

Closing in favour of #291 . Thanks for persevering with this :+1: This is my favourite feature :)


Compatability with January update

I believe the January update broke CQUI.
I'm using an old save from before the update.
When trading with a civ, when you go to make a deal, neither sides resources show up and the game locks with no way to exit the Make A Deal screen.
I just wanted to report it, no rush or anything.  Thank you!

Same issue here - even when starting a new game. The diplo screen works otherwise, but trading is impossible and soft-locks the game.

Same issue here - even when starting a new game. The diplo screen works otherwise, but trading is impossible and soft-locks the game.

Seems to be still broken in vanilla.

Seems to be still broken in vanilla.

Looking at the Vanilla stuff right now...
I'm a little bit annoyed - the CityBanners in Vanilla was broken because my code called a function called GetPopulationToolTip, which was in the Firaxis-produced CityBannerManager.lua file.  Here is that function, in its entirety, and pay attention to that first commented line above the function declaration:
-- ===========================================================================
-- Non-instance function so it can be overwritten by mods
function GetPopulationTooltip(self:CityBanner, turnsUntilGrowth:number, currentPopulation:number, foodSurplus:number)
	--- POPULATION AND GROWTH INFO ---
	local popTooltip:string = Locale.Lookup("LOC_CITY_BANNER_POPULATION") .. ": " .. currentPopulation;
	if turnsUntilGrowth > 0 then
		popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_TURNS_GROWTH", turnsUntilGrowth);
		popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_FOOD_SURPLUS", toPlusMinusString(foodSurplus));
	elseif turnsUntilGrowth == 0 then
		popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_STAGNATE");
	elseif turnsUntilGrowth < 0 then
		popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_TURNS_STARVATION", -turnsUntilGrowth);
	end
	return popTooltip;
end

The change that happened in the Firaxis CityBannerManager.lua was to take those few lines of code that produce that popup and move it to the point where the "UpdateStats" function called it.  They changed this little code chunk:
			if (self.m_Player == Players[localPlayerID]) then			--Only show growth data if the player is you
				local popTooltip:string = GetPopulationTooltip(self, turnsUntilGrowth, currentPopulation, total);
				self.m_Instance.CityPopulation:SetToolTipString(popTooltip);

to this:
			if (self.m_Player == Players[localPlayerID]) then			--Only show growth data if the player is you
				--- POPULATION AND GROWTH INFO ---
				local popTooltip:string = Locale.Lookup("LOC_CITY_BANNER_POPULATION") .. ": " .. currentPopulation;
				if turnsUntilGrowth > 0 then
					popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_TURNS_GROWTH", turnsUntilGrowth);
					popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_FOOD_SURPLUS", toPlusMinusString(foodSurplus));
				elseif turnsUntilGrowth == 0 then
					popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_STAGNATE");
				elseif turnsUntilGrowth < 0 then
					popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_TURNS_STARVATION", -turnsUntilGrowth);
				end

				self.m_Instance.CityPopulation:SetToolTipString(popTooltip);

As someone that does development work for a living, there's no freaking way that change gets past my review.  Literally the purpose of the prior function was to be callable by mods, and it gets removed to be in-lined into a huge nearly 200-line function?  Such terribleness with their code practices.

Looking at the Vanilla stuff right now...
I'm a little bit annoyed - the CityBanners in Vanilla was broken because my code called a function called GetPopulationToolTip, which was in the Firaxis-produced CityBannerManager.lua file.  Here is that function, in its entirety, and pay attention to that first commented line above the function declaration:
-- ===========================================================================
-- Non-instance function so it can be overwritten by mods
function GetPopulationTooltip(self:CityBanner, turnsUntilGrowth:number, currentPopulation:number, foodSurplus:number)
	--- POPULATION AND GROWTH INFO ---
	local popTooltip:string = Locale.Lookup("LOC_CITY_BANNER_POPULATION") .. ": " .. currentPopulation;
	if turnsUntilGrowth > 0 then
		popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_TURNS_GROWTH", turnsUntilGrowth);
		popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_FOOD_SURPLUS", toPlusMinusString(foodSurplus));
	elseif turnsUntilGrowth == 0 then
		popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_STAGNATE");
	elseif turnsUntilGrowth < 0 then
		popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_TURNS_STARVATION", -turnsUntilGrowth);
	end
	return popTooltip;
end

The change that happened in the Firaxis CityBannerManager.lua was to take those few lines of code that produce that popup and move it to the point where the "UpdateStats" function called it.  They changed this little code chunk:
			if (self.m_Player == Players[localPlayerID]) then			--Only show growth data if the player is you
				local popTooltip:string = GetPopulationTooltip(self, turnsUntilGrowth, currentPopulation, total);
				self.m_Instance.CityPopulation:SetToolTipString(popTooltip);

to this:
			if (self.m_Player == Players[localPlayerID]) then			--Only show growth data if the player is you
				--- POPULATION AND GROWTH INFO ---
				local popTooltip:string = Locale.Lookup("LOC_CITY_BANNER_POPULATION") .. ": " .. currentPopulation;
				if turnsUntilGrowth > 0 then
					popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_TURNS_GROWTH", turnsUntilGrowth);
					popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_FOOD_SURPLUS", toPlusMinusString(foodSurplus));
				elseif turnsUntilGrowth == 0 then
					popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_STAGNATE");
				elseif turnsUntilGrowth < 0 then
					popTooltip = popTooltip .. "[NEWLINE]  " .. Locale.Lookup("LOC_CITY_BANNER_TURNS_STARVATION", -turnsUntilGrowth);
				end

				self.m_Instance.CityPopulation:SetToolTipString(popTooltip);

As someone that does development work for a living, there's no freaking way that change gets past my review.  Literally the purpose of the prior function was to be callable by mods, and it gets removed to be in-lined into a huge nearly 200-line function?  Such terribleness with their code practices.

The stuff with the diplomacy deal view is annoying in a different way:  For Expansion2, they turned the icon instance into a global object (meaning: we can access it from mod files now!)... but only for expansion2.  For exp1 and vanilla, it was still declared as local.
Anyway.  Found the issues with Vanilla and EXP1, tested both very briefly (I swear I don't seem to have time until everyone else around here is asleep) and they look good.  I pushed the update to the workshop.  I'll do the PR with those changes later on.

The stuff with the diplomacy deal view is annoying in a different way:  For Expansion2, they turned the icon instance into a global object (meaning: we can access it from mod files now!)... but only for expansion2.  For exp1 and vanilla, it was still declared as local.
Anyway.  Found the issues with Vanilla and EXP1, tested both very briefly (I swear I don't seem to have time until everyone else around here is asleep) and they look good.  I pushed the update to the workshop.  I'll do the PR with those changes later on.

The only reason I can think for that change is they need to reduce function calls to support consoles like the switch.

The only reason I can think for that change is they need to reduce function calls to support consoles like the switch.

I can't load newly created internet games at all with CQUI on Ubuntu 20.04 since the update, both vanilla or either expansion. I get stuck on the leader loading screen. I didn't turn on any game modes, and all other mods were disabled. I'm not sure what log files to include so here's everything I had in my Logs folder. Logs.zip

I can't load newly created internet games at all with CQUI on Ubuntu 20.04 since the update, both vanilla or either expansion. I get stuck on the leader loading screen. I didn't turn on any game modes, and all other mods were disabled. I'm not sure what log files to include so here's everything I had in my Logs folder. Logs.zip

I can't load newly created internet games at all with CQUI on Ubuntu 20.04 since the update, both vanilla or either expansion. I get stuck on the leader loading screen. I didn't turn on any game modes, and all other mods were disabled. I'm not sure what log files to include so here's everything I had in my Logs folder. Logs.zip

Yeah - the January Linux update might well have broken CQUI - can't load a previous game, can't start a new game   :-(

I can't load newly created internet games at all with CQUI on Ubuntu 20.04 since the update, both vanilla or either expansion. I get stuck on the leader loading screen. I didn't turn on any game modes, and all other mods were disabled. I'm not sure what log files to include so here's everything I had in my Logs folder. Logs.zip

Yeah - the January Linux update might well have broken CQUI - can't load a previous game, can't start a new game   :-(

@moiri-gamboni @RustyD - I will look into the Linux tonight.  Probably something goofy with the naming of the files - I probably need to capitalize the DiplomacyDealView files, if I had to guess (as they changed the imports for that).
man, i wish they'd fix the issue where the lua.log file doesn't show up with linux!
the modding.log file doesn't really give any hints as to what's up.  (it's also another thought to myself that I want to break up the loading sections of this thing so it would be easier to determine which part of a loading section ends up broken, and easier control parts of the mod loading beforehand, etc...)

@moiri-gamboni @RustyD - I will look into the Linux tonight.  Probably something goofy with the naming of the files - I probably need to capitalize the DiplomacyDealView files, if I had to guess (as they changed the imports for that).
man, i wish they'd fix the issue where the lua.log file doesn't show up with linux!
the modding.log file doesn't really give any hints as to what's up.  (it's also another thought to myself that I want to break up the loading sections of this thing so it would be easier to determine which part of a loading section ends up broken, and easier control parts of the mod loading beforehand, etc...)

yuck.  it's the city banner files (at the very least).  the "include" stuff working differently with Linux strikes again

yuck.  it's the city banner files (at the very least).  the "include" stuff working differently with Linux strikes again

This shows it better, I suppose - I added a print statement at the start and end of each file, and before the include("CityBannerManager", true);_ line at the bottom of the Firaxis version of CityBannerManager.lua.  Round and round it goes, and doesn't stop until it blows the call stack up

This shows it better, I suppose - I added a print statement at the start and end of each file, and before the include("CityBannerManager", true);_ line at the bottom of the Firaxis version of CityBannerManager.lua.  Round and round it goes, and doesn't stop until it blows the call stack up

@RustyD @moiri-gamboni @alexeyOnGitHub - I pushed up a branch that mostly gets Linux working.  The Banners do not appear initially, but making a change to nearly any (all?) CQUI setting will make them reappear.  For example, I would un-set and then re-set the "Show Inline City State Quests" from the CQUI General menu and they'd reappear.
This is the branch:
https://github.com/civfanatics/CQUI_Community-Edition/tree/m4a-jan2021updatesfix-linux
There's nothing in the LiveTuner that gives me a hint as to why it requires something in CQUI be set before the banners appear, so I need to peck around or something, I don't know.
The diplomacy deal screen works-ish, I noticed the Civ names were not set correctly on the screen, but it otherwise seemed to be okay?
Either way, the difference in behavior between what Linux does and what Windows does for these file imports is just silly

@RustyD @moiri-gamboni @alexeyOnGitHub - I pushed up a branch that mostly gets Linux working.  The Banners do not appear initially, but making a change to nearly any (all?) CQUI setting will make them reappear.  For example, I would un-set and then re-set the "Show Inline City State Quests" from the CQUI General menu and they'd reappear.
This is the branch:
https://github.com/civfanatics/CQUI_Community-Edition/tree/m4a-jan2021updatesfix-linux
There's nothing in the LiveTuner that gives me a hint as to why it requires something in CQUI be set before the banners appear, so I need to peck around or something, I don't know.
The diplomacy deal screen works-ish, I noticed the Civ names were not set correctly on the screen, but it otherwise seemed to be okay?
Either way, the difference in behavior between what Linux does and what Windows does for these file imports is just silly

I've just had a quick test of your new branch - only a couple of turns for each of the standard game and both expansions, but can confirm that it works as you describe - both when starting a new game and resuming an existing game.
It actually loads into the game, so that is improved - but without the city banners working. And then changing  in the CQUI menu causes the city banners to pop up.
I've not gone further than that, so don't know about the diplomacy screen.

I've just had a quick test of your new branch - only a couple of turns for each of the standard game and both expansions, but can confirm that it works as you describe - both when starting a new game and resuming an existing game.
It actually loads into the game, so that is improved - but without the city banners working. And then changing  in the CQUI menu causes the city banners to pop up.
I've not gone further than that, so don't know about the diplomacy screen.

Have just been playing a little bit more, and noticed that the city banner doesn't seem to get updated, at least with production status - no change in the turns left to complete a production nad not always changing the icon for what is actually being produced.

Have just been playing a little bit more, and noticed that the city banner doesn't seem to get updated, at least with production status - no change in the turns left to complete a production nad not always changing the icon for what is actually being produced.

@RustyD I'm seeing something similar on vanilla Windows as well, see my last post in #242.

@RustyD I'm seeing something similar on vanilla Windows as well, see my last post in #242.

@RustyD - I figured out the issue with the banners not appearing until refresh, but that was after I made a change that I'd like you to try (@moiri-gamboni @alexeyOnGitHub as well if you'd like).  I haven't had the chance to try it on Linux as my machine is being finicky right now, but I think it would work.
Same branch as before: https://github.com/civfanatics/CQUI_Community-Edition/tree/m4a-jan2021updatesfix-linux
The changes basically amount to:

All of the logic once found in citybannermanager_CQUI_basegame.lua, citybannermanager_CQUI_expansions.lua, and citybannermanager_CQUI.lua are now simply in CityBannerManager_CQUI.lua.
CityBannerManager_CQUI.lua is the correct casing in order to be "included" by the Firaxis CityBannerManager.lua
All other citybannermanager_CQUI_*.lua files are commented out in the modinfo (so they do not get loaded)
No more ReplaceUIScript entries for the CityBannerManager stuff, I am just letting the Firaxis "include" statement do it's work.

for the record this makes debugging more of a pain because the error messages don't always appear in the Live Tuner

I've just had a very quick play on a resumed 'standard' game, and the banners now appear to be working.

I'm on linux and I had problems getting stuck on "Loading. Please wait.." and switching to the latest on m4a-jan2021updatesfix-linux branch gets everything working for me.
I'm however using a FAT32 filesystem as mod-folder to avoid the issue of files getting mixed casing.
See this post for a overview of how to make a fat-filesystem on a image file and mount it as loopback device.
https://forums.civfanatics.com/threads/tutorial-getting-mods-to-work-in-linux-most-of-the-steps-are-no-longer-needed.528742/

Seems everything is working for now on this branch and I'm not using the FAT fs trick (using ext4).

@RustyD @hartmark @moiri-gamboni - thanks for the updates!  I pushed up another batch of changes - where I have attempted to finalize the changes made in this branch.   They work in Windows, and I found a couple of minor issues with the vanilla banners which are fixed.  If I can steal another bit of your time and load these changes up: if these look good then tomorrow night (probably) I'll merge these changes with the ones in my current PR and send it up to the Workshop.

Another couple of turns from my standard game against your updated branch, and the basics seem to be OK (meaning that it's not a very thorough test, but nothing major appears broken).

works well for me on update too

Not sure if it is CQUI, Linux CQUI, Linux Civ6, or just Civ6, but the Religion lens doesn't quite appear to be working as well as I would expect (on standard game). Anyone else seen that?


Normalize relative ref paths to avoid duplicating schemas

Currently, if an OpenAPI spec contains multiple relative refs to the same file, but those refs are located in different files and use different relative paths to reach the one file, swagger-parser will create a separate, duplicate schema for each relative path rather than reusing the same schema across all equivalent paths.
For example, given a spec with the following refs:

In spec root directory, $ref: ./components/schemas/Thing.yaml
In components/paths subdirectory, $ref: ../../components/schemas/Thing.yaml

The parser will produce a Thing and a Thing_1 schema object instead of reusing Thing for the second, equivalent reference.
This updates the ref processor to resolve relative paths before processing relative refs in order to produce a single Thing schema that is reused for all equivalent references.

Just ran into this issue today. Glad to see a fix is on the way (hopefully soon). Thanks!

I rebased on the latest from master to confirm that the issue described in this PR still exists and that the changes in this PR are sufficient to resolve it.


add Night Owl Alfred theme to README

This PR updates README.md with a link to Night Owl Alfred theme 🎉

Awesome, thanks!


Spread the EdgeX Micro Service Management (MSM) API to the CoreMetaData service.

The gist of having EdgeX Micro Service Management (MSM) API spread to the CoreMetaData service is to add the capability of delegating to the CoreMetaData service the request (to the SMA) for that service's configuration info and for its metrics info.
Initially, this existed only for the support-notifications service.
Work per this Issue is taking place on the following branch: Construction site.

Following on the heels of the work done under Issue #648, this Issue continues the same pattern as follows:

0.) Implement /api/v1/config route in the service
1.) Implement /api/v1/metrics route in the service
2.) Add the above route to the RAML
3.) Create the MgmtClient interface with associated type
It contain functions for
FetchConfiguration() (string, error)
FetchMetrics() (string, error)
** Consistent with notifications client from PR #620 **
4.) Follow the pattern in the command client for initialization of the type and respective Monitor
5.) Integrate command client into SMA and test end to end.

Wanted to get a sense for how quickly I can implement additional issues, based on the pattern above.
With that done, going to consider the work Joan did on the client: Adding management client to fetch microservices configuration and metrics

@jpwhitemn @tsconn23 As planned, I've reviewed the pattern (i.e. the work Joan did on the client) for potential use in our MSM work (While doing so, noticed that the ARM build check had failed, and indicated as much as a heads up for Joan).
I see, too, that Joan has moved the unit of encapsulation to be "/pkg/clients/general", which is good. I like that.
I also like the simplifying aspects. My only concern is the timing of incorporating Joan's work. Will we run into any unforeseeable issue(s) while doing so? The somewhat-less-elegant approach that's currently in place has the benefit of being tested, tried, and true.
My suggestion is to tag this as a nice-to-have enhancement and defer it to post-Delhi Release backlog 👍


Dreame Bot D9 Pro

dreame.vacuum.p2187
Dreame D9 Pro
Does the device require a MiCloud connection?
_Do not know
Anything special about the device?
_Plugin finds the Robot, the auto-created switch in HomeKit says "unsupported Device" and has no function.
Can you please add device support for the Dreame D9 Pro? Thank you very much!

Will add support for that device in the next update!


[Feature]: Update checking and self updates

Similar Issues

[X] Before filing, I have searched for similar issues.

Description
Implement the CLI itself checking for updates and the ability for it to update itself.
https://github.com/jaemk/self_update
Use Case
Currently the only way people would know there is an update available is by checking here or via Cargo. It would be cool to print a message or something notifying that the user is able to run ctrlg update to update the CLI (ctrlg update not implemented yet).

Now that we have the install script, we could just add update checking, and if an update is available, figure out if ctrlg is installed via cargo or the install script, and output a help message with instructions on how to update with one or the other.


Update editor screenshot for Godot 3.4

The new JPEG is a bit larger since it's higher-quality (MozJPEG quality 90 to avoid chroma subsampling). The new PNG is a bit smaller since I used oxipng --strip --zopfli to optimize it.
This closes https://github.com/godotengine/godot-design/issues/68.
TPS demo branch used: https://github.com/Calinou/tps-demo/tree/editor-screenshot
Camera coordinates used (see bottom-right corner of the 3D viewport):

Thanks!


Add 'Beginner-Friendly Repositories' Category

Add a 'Beginner-Friendly Repositories' category between 'Contributing to Open Source' and 'Open Source Programs'.
Also, add a bullet point containing a resource under the new category. Here are the details:
Name: MDN Web Docs
Link: https://github.com/mdn/content
It will look like this:

😇 Beginner-Friendly Repositories

MDN Web Docs

Hi @Sriparno08 ! I tried my best to adress the issue. I created a new branch altered the README.md by adding the descibed category. I hope my workflow and my commit is correct. Alsways open for Feedback!


Character "|" breaks links when they are part of the list or header element.

Peculiar one:
# [test|](https://google.com)
or
* [test|](https://google.com)
is not interpreted correctly, meaning link is shown "as is" in raw form * [test|](https://google.pl/)
outside list or header it works as intended.

This might be fixed now, there was an issue with table detection

I can confirm it works now, thanks ❤


leading_ones and trailing_ones missing for PrimInt

It seems like the leading_ones() and trailing_ones() functions are missing for the PrimInt trait. However, I am not entirely sure why as the leading_zeros() and trailing_zeros() seem to be available.
While I could invert the bit representation and use the trailing_zeros() function for now, it would be convenient if I could just use the trailing_ones() function instead.

I finally published that a couple days ago in 0.2.15.


Error building elephant-bird-pig

Update #2 I checked the online repo mentioned in the error
Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com

http://maven.twttr.com/com/twitter/elephant-bird/
It is empty. What should I do?

Update #1 It is not duplicate of force update question.
I tried
mvn clean install -U -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true -Dmaven.repo.local=localrepo

which produced the same error, except that it starts downloading files again and it takes longer to get to the error.

Original Content
I have been working hard (12 hours+) trying to install elephant-bird locally in my $HOME in a shared research-purpose cluster. after 12 hours+ of hard work, I am still lost in the ocean. Any kind man who cares to pull me up to a boat?
I have strived to install the correct versions of protocol-buffers (version 2.5.0) and thrift (version 0.7.0).
Executing version check gives:
$ protoc --version
libprotoc 2.5.0
$ thrift -version
Thrift version 0.7.0

Ok, all looks fine. download elephant-bird by
git clone git://github.com/kevinweil/elephant-bird.git

CD into the directory and run
mvn -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true package

-Dprotobuf.version=2.5.0 is advised by the official github of elephant-bird for I am running a non-default version of protocol-buffers. -Dmaven.test.skip=true is advised by this post because I did fail some tests during elephant-bird-core build.
[INFO] ------------------------------------------------------------------------
[INFO] Building Elephant Bird Pig 4.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Elephant Bird ...................................... SUCCESS [  0.643 s]
[INFO] Elephant Bird Hadoop Compatibility ................. SUCCESS [  2.514 s]
[INFO] Elephant Bird Core ................................. SUCCESS [ 25.494 s]
[INFO] Elephant Bird Cascading2 ........................... SUCCESS [  2.650 s]
[INFO] Elephant Bird Crunch ............................... SUCCESS [  3.218 s]
[INFO] Elephant Bird Hive ................................. SUCCESS [  2.342 s]
[INFO] Elephant Bird Pig .................................. FAILURE [  0.238 s]
[INFO] Elephant Bird Mahout ............................... SKIPPED
[INFO] Elephant Bird RCFile ............................... SKIPPED
[INFO] Elephant Bird Lucene ............................... SKIPPED
[INFO] Elephant Bird Pig Lucene ........................... SKIPPED
[INFO] Elephant Bird Examples ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.748 s
[INFO] Finished at: 2015-10-10T20:02:11-04:00
[INFO] Final Memory: 48M/964M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :elephant-bird-pig

Well, let's run the same command with -X:
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Elephant Bird Pig 4.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
....
Skipping >>>>>>>
....
[DEBUG]       commons-codec:commons-codec:jar:1.4:compile
[DEBUG]       commons-net:commons-net:jar:1.4.1:provided
[DEBUG]       org.mortbay.jetty:jetty:jar:6.1.26:provided
[DEBUG]          org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided
[DEBUG]       org.mortbay.jetty:jetty-util:jar:6.1.26:provided
[DEBUG]       tomcat:jasper-runtime:jar:5.5.12:provided
[DEBUG]       tomcat:jasper-compiler:jar:5.5.12:provided
[DEBUG]       org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:provided
[DEBUG]       org.mortbay.jetty:jsp-2.1:jar:6.1.14:provided
[DEBUG]          org.eclipse.jdt:core:jar:3.1.1:provided
[DEBUG]          ant:ant:jar:1.6.5:test (scope managed from compile by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT)
[DEBUG]       commons-el:commons-el:jar:1.0:provided
[DEBUG]       net.java.dev.jets3t:jets3t:jar:0.7.1:provided
[DEBUG]       org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:provided
[DEBUG]       net.sf.kosmosfs:kfs:jar:0.3:provided
[DEBUG]       junit:junit:jar:4.8.2:test (scope managed from compile by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT) (version managed from 4.8.1 by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT)
[DEBUG]       hsqldb:hsqldb:jar:<IP_ADDRESS>:provided
[DEBUG]       oro:oro:jar:2.0.8:provided
[DEBUG]       org.apache.avro:avro:jar:1.5.3:provided
[DEBUG]          com.thoughtworks.paranamer:paranamer:jar:2.3:provided
[DEBUG]          org.xerial.snappy:snappy-java:jar:<IP_ADDRESS>:provided
[DEBUG]    org.antlr:antlr:jar:3.4:provided
[DEBUG]       org.antlr:antlr-runtime:jar:3.4:provided
[DEBUG]          org.antlr:stringtemplate:jar:3.2.1:provided
[DEBUG]          antlr:antlr:jar:2.7.7:provided
[DEBUG]       org.antlr:ST4:jar:4.0.4:provided
[DEBUG]    joda-time:joda-time:jar:1.6:provided
[DEBUG]    org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:provided
[DEBUG]       org.codehaus.jackson:jackson-core-asl:jar:1.8.8:provided
[DEBUG]    log4j:log4j:jar:1.2.17:test
[DEBUG]    org.easymock:easymock:jar:3.1:test
[DEBUG]       cglib:cglib-nodep:jar:2.2.2:test
[DEBUG]       org.objenesis:objenesis:jar:1.2:test
[DEBUG] Could not find metadata com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in local (/home/huip/.m2/repository)
[DEBUG] Failure to find com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
[DEBUG] Failure to find com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Elephant Bird ...................................... SUCCESS [  0.661 s]
[INFO] Elephant Bird Hadoop Compatibility ................. SUCCESS [  1.462 s]
[INFO] Elephant Bird Core ................................. SUCCESS [ 13.790 s]
[INFO] Elephant Bird Cascading2 ........................... SUCCESS [  0.397 s]
[INFO] Elephant Bird Crunch ............................... SUCCESS [  0.533 s]
[INFO] Elephant Bird Hive ................................. SUCCESS [  0.567 s]
[INFO] Elephant Bird Pig .................................. FAILURE [  0.215 s]
[INFO] Elephant Bird Mahout ............................... SKIPPED
[INFO] Elephant Bird RCFile ............................... SKIPPED
[INFO] Elephant Bird Lucene ............................... SKIPPED
[INFO] Elephant Bird Pig Lucene ........................... SKIPPED
[INFO] Elephant Bird Examples ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.260 s
[INFO] Finished at: 2015-10-10T20:17:39-04:00
[INFO] Final Memory: 23M/964M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
	at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
	... 22 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
	... 23 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
	... 24 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
	at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
	at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
	... 26 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :elephant-bird-pig

What now?

You shouldn't be using github.com/kevinweil/elephant-bird.git, should be github.com/twitter/elephant-bird.git
But did you try do mvn install rather than mvn package as your goal? The odds are to build later things the projects require the previous ones installed. Strange maven quirk that this doesn't seem to be implied often

Yes, in update1 I tried:
mvn clean install -U -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true -Dmaven.repo.local=localrepo

I will try with github.com/twitter/elephant-bird.git and report back

Here is the nohup.out for rerunning the command
mvn clean install -U -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true -Dmaven.repo.local=localrepo

with github.com/kevinweil/elephant-bird.git. It is the same output, same error:
http://m.uploadedit.com/ba3k/1444597355624.txt

I suspect you want there -DskipTests=true rather the maven.test.skip since its skipping compiling the tests

Victory declared! Thank you very much for the help.
Do you know a good list of these general flags in Maven so that I can learn something and not be stupid next time?

just google for maven documentation, its just what i did to give you your answer...

For future reference:
http://stackoverflow.com/questions/24727536/maven-skip-tests


Round-robin bug

When I have an Item Conduit set to round-robin, and I put, say, 8 cobble in there, all 8 cobble go into the same output chest. If I put another 8 cobble in there, they go into the second chest. I'm assuming that 4 cobble would go into each chest if I give the Item Conduit 8 cobble.
Ender IO version <IP_ADDRESS>1
Forge version 1284

if you are using even 1 speed upgrades then it will see 8 cobblestone as a single item because with no upgrades it will extract 4 items at a time so a quick fix is to not use any upgrades it will split evenly however be aware since it extract 4 at a time that means when there is 4 or less it will just shove those in the nearest inventory

It happens even without any speed upgrades. If I put 64 cobble in there, all will go into the same chest, instead of 32 each.

I know this isn't an issue/bug, but could this be suggested into a change for the conduits as such to add a way to control the amount of items sent per extraction? Maybe insted of the conduit extracting X amount of items, it extracts X amount set by the player at + speed based on current speed upgrades. Roundrobin was one of the best things for mass machine automation but ender conduits just can't seem to do it proper for some machines that need a finer selection. TE conduits had this down pact by both being fast, and extraction was set by the player. Speed was based on the conduit used.
To sum it all up, would it be too much to ask of Ender Conduits were altered to allow the player to select the amount of items to extract ranging from 1-64, and use speed upgrades to increase the speed of which the conduit extracts?

This can now be solved with the "speed downgrade" item


Streamline integration tests

How to categorize this PR?

/area testing
/kind technical-debt
What this PR does / why we need it:
Streamline existing integration tests to follow a common pattern and all recommendations from our testing guideline.
With this PR, all test suites look much more consistent, use common setup code, ...
This is done now to serve as a good basis for adding new integration tests as part of https://github.com/gardener/gardener/issues/4251.

replace custom cleanup with DeferCleanup
log created objects with GenerateName
cleanup high timeouts/intervals and shorten sync periods
drop explicit ConfirmDeletion calls in favor of disabling DeletionConfirmation plugin
create dedicated namespaces, use generated/unique names
restrict manager to a single Namespace
restrict webhooks to a single Namespace, use UUID checksum for name

Which issue(s) this PR fixes:
Follow up on https://github.com/gardener/gardener/pull/6245
Related to https://github.com/gardener/gardener/issues/4251
Special notes for your reviewer:
I didn't tackle https://github.com/gardener/gardener/issues/6397 so far.
Release note:

NONE

@ialidzhikov @acumino @shafeeqes thanks for your feedback!
I pushed two more commits and addressed / replied to all comments, PTAL :)

Thanks!
/lgtm

/approve

/retest


Add functions to store EDU programs and results

Description
EDU programs and results are just binary files named according to their program ID and program ID + start time, respectively. They are stored in two different folders: "programs" and "results".

Blocked by #186


Bot trying to transfer pokemon while conditions already met

Expected Behavior
Bot ignoring the TransferPokemon behaviour if conditions are already met
Actual Behavior
Still tries to release pokemon, not succeeding, and therefore spamming the console.
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Electabuzz, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Pinsir, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Tangela, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Electabuzz, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Pinsir, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Tangela, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Electabuzz, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Pinsir, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Tangela, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Electabuzz, based on iv
[TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Pinsir, based on iv

Steps to Reproduce
I have no idea, it works on other bots, just this one gives errors
Other Information
OS: Windows 10
Git Commit: dev

@larssy1 Ninantic changed the PokemonGO API around 20:00 UTC on August 3. Since that time, the Ninantic servers are ignoring (and perhaps logging) calls against the API that are not properly signed. Devs are currently working on reverse engineering the signing programs, but until we can get a functioning API, no bots will work.

Fixed in https://github.com/PokemonGoF/PokemonGo-Bot/pull/3223


Fix homepage and state

Updated the homepage link, thanks for the wonderful cask
Also, what the heck is that "Applicatrtjion" typo lol

Thanks!


Uses WLED brightness settings instead of full range set in Hyperion settings

[x] I confirm that this is an issue rather than a question.

Bug report
Steps to reproduce

Set brightness at boot in WLED the WLED LED settings to a low value (10) or enable “turn off at boot”, then reboot.
Start Hyperion, connect it to WLED.
Or set brightness in WLED UI

What is expected?
Hyperion uses the maximum brightness setting which is defined in its config (100%) and takes full control of the LEDs independent of the WLED brightness settings.
What is actually happening?
Hyperion uses only 10/255 of the maximum brightness (basically the WLED boot brightness) or in case WLED is turned of after boot it stays completely dark.
The WLED UI confirms that Hyperion has control.
System

WLED: version 0.10.2 on Wemos D1 mini with WS2812b LEDs
Hyperion Server:

Build:           (HEAD detached at 83338dc3) (Paulchen Panther-ca50487e/83338dc3-1605733041)
Build time:      Nov 18 2020 21:32:08
Git Remote:      https://github.com/hyperion-project/hyperion.ng
Version:         2.0.0-alpha.9
UI Lang:         auto (BrowserLang: en-gb)
UI Access:       default
Avail Capt:      dispmanx,v4l2,framebuffer,qt
Database:        read/write

Hyperion Server OS:

Distribution:   Raspbian GNU/Linux 10 (buster)
Architecture:   arm
CPU Model:      ARMv6-compatible processor rev 7 (v6l)
CPU Type:       Raspberry Pi Zero W Rev 1.1
CPU Revision:   9000c1
CPU Hardware:   BCM2835
Kernel:         linux (5.4.72+ (WS: 32))
Qt Version:     5.7.1
Python Version: 3.5.3
Browser:        Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605

@CalvinSchwartz Thanks for sharing this requirement with us. It is not a bug, but might be considered as a feature enhancement going forward.
In the interim, I would suggest you make use of the WLED configuration, where you can already configure this behaviour for streaming input.
Go to the WLED configuration -> Sync. Settings and enable "Force max brightness"

Thank you very much, I missed this setting.
It seems to work and turns up the brightness to max. if WLED is set to a brightness greater than 0 at boot.
However if WLED is configured to be turned of or brightness 0 at boot there seems to be a bug.
In this case Hyperion takes control of WLED some seconds after boot, sets the colors according to the current picture captured but stays at this color even when the movie continues. There’s no further change in LED color.
I reproduced this a couple of times but I’m not sure if this is a WLED or Hyperion bug.
Should I add a second issue or is this comment enough @Lord-Grey ?

@CalvinSchwartz You might need to describe your test scenario in more detail....
I was running the following on hyperion alpha and it worked.

I disabled power on and brightness on WLED

I started hyperion and started a color feed

I restarted WLED

WLED catches up with the hyperion color

I staredt an effect in hyperion and WLED displays it.

Basically I was performing the same steps but used the USB-Grabber as a source instead and watched a movie.
If WLED was turned off at boot WLED catches up with the color (step 4.) but stays there even when the colors of the movie/grabber continue to change.
But I’ll try it again for a week or so and report if the bug continues or if it was just an odd one-time behavior.

The "Force max brightness"setting in WLED solved the problem, therefore I would recommend to close this issue and may add a short text to the wiki.
See #1162

The "Force max brightness"setting in WLED solved the problem, therefore I would recommend to close this issue and may add a short text to the wiki.
See #1162


[BUG]. Incorrect identifier type when querying transaction status with a shortcode

Describe the bug
The identifier type in transactionStatus is locked to 1 and can't be changed.  According to the API documentation, the identifier type should be 4 to indicate a shortcake.  This causes a (slightly unhelpful) error response of "The operator does not exist." to be sent to the callback endpoint.
Expected behavior
Default identifierType = 4 and allow it to be overridden if required

Now working with V1.0.6


Disable html5 validation

I'm trying to understand the reasons of this change. Could you please elaborate a bit? Thanks.

I guess hason want to disable html5 validation to show users server validation messages.

But it will be confused developers because main purpose of this project is show best practices way, so they should not disable html5 validation in his projects.

What about to add comment at the beginning of form open tag (or I think better in form type) with tip that developers could use  'novalidate' => 'novalidate' } } or 'required' => false attributes if they want to see and check server validation messages?
@hason What do you think?

@bocharsky-bw I like your proposal to add a help note about this. I've done that in #100. Thanks.

Closing it in favor of #100


initializeSDK and null check error

The setAdvertiserTrackingEnabled was throwing a null check error
In iOS I've got this error "FBSDKLog: FBSDKGraphRequestConnection cannot be started before Facebook SDK initialized", so I need to implement this method "initializeSDK" to work

im also encountering this issue. when will this branch merge? :(


unterminated JSON body in response causes exceptions with json parsers

Environment

Telemetry Streaming Version: 1.14.0
BIG-IP Version: <IP_ADDRESS>

Summary
While testing TS returned errors we discovered that the error responses contained invalid unterminated JSON body which causes json parsers to throw exceptions.
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration:

{
  "class": "Telemetry",
  "My_System": {
    "class": "Telemetry_System",
    "systemPoller": {
      "interval": 999999
    }
  },
  "My_Listener": {
    "class": "Telemetry_Listener",
    "port": 6514
  },
  "My_Consumer": {
    "class": "Telemetry_Consumer",
    "type": "Splunk",
    "host": "<IP_ADDRESS>",
    "protocol": "https",
    "port": 8088,
    "passphrase": {
      "cipherText": "apikey"
    }
  },
  "My_Poller": {
    "class": "Telemetry_System_Poller",
    "interval": 120,
    "host": "<IP_ADDRESS>",
    "port": 443,
    "username": "myuser",
    "passphrase": {
      "cipherText": "mypassphrase"
    }
  }
}

Observe the following error response:

{
    "code": 422,
    "message": "request failed with null exception",
    "originalRequestBody":"{\"code\":422,\"message\":\"java.net.ProtocolException: status:422, body:{\\\"code\\\":422,\\\"message\\\":\\\"Unprocessable entity\\\",\\\"error\\\":\\\"[{\\\\\\\"keyword\\\\\\\":\\\\\\\"type\\\\\\\",\\\\\\\"dataPath\\\\\\\":\\\\\\\"/My_System/systemPoller\\\\\\\",\\\\\\\"schemaPath\\\\\\\":\\\\\\\"system_poller_schema.json#/definitions/systemPollerPointerRef/type\\\\\\\",\\\\\\\"params\\\\\\\":{\\\\\\\"type\\\\\\\":\\\\\\\"string\\\\\\\"},\\\\\\\"message\\\\\\\":\\\\\\\"should be string\\\\\\\"},{\\\\\\\"keyword\\\\\\\":\\\\\\\"maximum\\\\\\\",\\\\\\\"dataPath\\\\\\\":\\\\\\\"/My_System/systemPoller/interval\\\\\\\",\\\\\\\"schemaPath\\\\\\\":\\\\\\\"#/oneOf/0/allOf/0/else/properties/interval/maximum\\\\\\\",\\\\\\\"params\\\\\\\":{\\\\\\\"comparison\\\\\\\":\\\\\\\"<=\\\\\\\",\\\\\\\"limit\\\\\\\":6000,\\\\\\\"exclusive\\\\\\\":false},\\\\\\\"message\\\\\\\":\\\\\\\"should be <= 6000\\\\\\\"},{\\\\\\\"keyword\\\\\\\":\\\\\\\"if\\\\\\\",\\\\\\\"dataPath\\\\\\\":\\\\\\\"/My_System/systemPoller\\\\\\\",\\\\\\\"schemaPath\\\\\\\":\\\\\\\"#/oneOf/0/allOf/0/if\\\\\\\",\\\\\\\"params\\\\\\\":{\\\\\\\"failingKeyword\\\\\\\":\\\\\\\"else\\\\\\\"},\\\\\\\"message\\\\\\\":\\\\\\\"should match \\\\\\\\\\\\\\\"else\\\\\\\\\\\\\\\" schema\\\\\\\"},{\\\\\\\"keyword\\\\\\\":\\\\\\\"enum\\\\\\\",\\\\\\\"dataPath\\\\\\\":\\\\\\\"/My_System/systemPoller/interval\\\\\\\",\\\\\\\"schemaPath\\\\\\\":\\\\\\\"#/oneOf/1/allOf/0/properties/interval/enum\\\\\\\",\\\\\\\"params\\\\\\\":{\\\\\\\"allowedValues\\\\\\\":[0]},\\\\\\\"message\\\\\\\":\\\\\\\"should be equal to one of the allowed values\\\\\\\"},{\\\\\\\"keyword\\\\\\\":\\\\\\\"oneOf\\\\\\\",\\\\\\\"dataPath\\\\\\\":\\\\\\\"/My_System/systemPoller\\\\\\\",\\\\\\\"schemaPath\\\\\\\":\\\\\\\"#/oneOf\\\\\\\",\\\\\\\"params\\\\\\\":{\\\\\\\"passingSchemas\\\\\\\":null},\\\\\\\"message\\\\\\\":\\\\\\\"should match exactly one schema in oneOf\\\\\\\"},{\\\\\\\"keyword\\\\\\\":\\\\\\\"type\\\\\\\",\\\\\\

Expected Behavior
Expected a valid JSON to be returned
Actual Behavior
When attempting to parse the returned json exceptions are thrown:
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 82 (char 81)
The issue is that there is a missing closing curly brace in the returned response

Can I take this one?

This is actually a BIG-IP bug where responses with an error status code (4xx or 5xx) are truncated to about 2000 characters. It affects all iControlLX Extensions. I am trying to find a bug ID for it.

The BIG-IP bug ID for this is 853161.

Closing this issue for inactivity.


build(cherow): add fuzz scripts to find bugs

Signed-off-by: weiran.zsd<EMAIL_ADDRESS>eslump has successfully found lots of little edge cases in Prettier, so it evidently works.
to use it, just run yarn fuzz in the cherow repo. 😄

LGTM

@Aladdin-ADD sure there will be no conflicts when merging this? I remember in the past..
@fkleuver ?

sure!

sounds good! I let u fix this.
On Sat, Dec 1, 2018, 7:54 PM 薛定谔的猫<EMAIL_ADDRESS>wrote:

sure!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cherow/cherow/pull/239#issuecomment-443420904, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AeYSDm4hXgtOZE5j6tQNtULJAeq2ad5xks5u0m4IgaJpZM4Y81CE
.


Add support for migrations squashing.

Consider a set of migrations that first create a table and then subsequent migrations alter the table in some way. You end up with many migrations. Consider that the last migration that touches that table in number 42.
Squashing the migrations means combining all of the migrations that touch that single table and replacing migration#42 with the result of that combination and delete all of the previous migrations.
The benefit of squashing is that a new install of the application / system only does the one migration rather than a whole bunch as well as the schema for that table is now in a single place for reference rather than across many files. However, this replacement results in the checksum of migration#42 changing from what was originally applied for #42.
My change is accomplished by adding an "ignore_checksum" flag to Migrator that, if set, will not Err if the checksum doesn't match.

As I think about this more, it doesn't make sense if there are many deployments out in the wild at different versions of the software. You can't actually squash the database unless every installation is at the most recent version of deployments.


chore: update image to gcr.io/k8s-staging-node-ipam-controller and registry.k8s.io/node-ipam-controller.

add cloudbuild file.

update docker-build to image-build, consistency with other sig projects,like kueue.

Basically use PR https://github.com/kubernetes-sigs/lws/pull/42 as a reference for the modifications.
part of #15

/assign @mneverov

/lgtm
/approve
@liangyuanpeng apologies for not being able to follow up, are you still willing to work on this?


[flutter_tools] Fix parsing of existing DDS URIs from exceptions

This fixes some bad parsing of existing DDS URIs (#118609) with two changes:

DDS now provides the URI in a separate field so it doesn't need to be parsed from the exception message
If this field is not provided (for example if the existing DDS instance is older), trailing full-stops are removed from extracted URIs (since the exception text includes a full-stop).

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Oops, thanks!
Sometimes I wish the formatter had a "simple" mode that would just fix super trivial stuff like this that I could run on-save for the Flutter repo. I think I generally rely on format-on-save more than I realise 😄


normalize datasets via DataStream.default_stream

Fixes #15
Calling class method DataStream.default_stream applies the default transforms on the datastream. The base Dataset class then calls the set of default_transforms which can be specific to each subclass. The default_transform for mnist normalizes the pixels to the [0 1] range via uint8_pixels_to_floatX(('features',))
In other words: fuel seems to have a mechanism to do exactly what we need - call DataStream.default_stream and the incoming data will be normalized in a dataset specific way. I confirmed that this seems to be working with mnist and doesn't adversely affect bmnist. (I didn't test against tfd)
Note also that this change is a single commit (2550fc6) downstream from commits in #18

Perfect!


fetchElement error: The filter query requires a value

await fsxaApi .fetchElement({
    id: reference.referenceId,
    locale: tabSection.previewId.split('.')[1], // e.g. 8e805568-5301-43df-868b-7e952f40ba8a.de_DE
})

We are using this code to resolve a page reference, which works fine.
The console is showing the following error from the fsxa-api package though:
"Error: The filter query requires a value"
How can we fix this? There is no filter option on the function.

Hey Lars,
I was not able to reproduce your described behaviour.
Internally the fetchElement method calls a fetchByFilter with following filter:

{
field: 'identifier',
operator: ComparisonQueryOperatorEnum.EQUALS,
value: id,
}

As you can see here, this error is only thrown, when there is a problem with the provided id.
Could you provide a minimal reproduction to the problem?


drivers: usb_dc_mcux: Enable second USB controller on RT socs

Enable USB device controller to handle either usb1 or usb2 nodes being enabled. Note that the USB driver is still a single instance driver, but it can now use either USB instance.  This PR also enables support for USB on the RT1160 and RT1170 evaluation kits, which was previously only enabled on RT10xx EVKs. USB support was tested using the mass storage and console sample.

DNM until I've had a chance to review (I'm doing it now) please

Thanks @danieldegrasse !


Add functions getFormFields and getFormLayout

以下の点修正しました｡

"fields.json""layout.json" のAPI使う関数に変更
運用環境､テスト環境ごとにURLを使い分ける

修正してほしいところなどあればまた教えてください｡

@dtduc91
Thanks for review!
I 'll fix comments.Sorry.

I Fixed comment.
Would you check the comment that I added comment to  66eb9d5#commitcomment-25125903 about params.isGuest .

@yhirochick
Currently, I think params.isGuest might be keep, because the affect scope is wide.
But in next maintain, we should consider about that.
I prefer have a function which auto detect guest space in the SendRequest.js.
BTW: Your pull is good now. I will inform to merge.

@dtduc91
I understood now.
It's issue about not only this PR but also another function.
Thank you for review!

@yhirochick
Thanks your contribution!
I'll merge this pull request :)

@sada-nishio
Thank you for mergeing!


implement non-async API

As I mentioned in #22, I implemented a non-async API.
This would allow us to use library like this:
void OnButtonClicked()
{
    demo = new DemoParser();
    demo.StartNonAsync(stream);
}

void OnApplicationUpdate()
{
    if (!demo.ReachedEndOfFile)
        demo.ReadNext();
}

This means user can have full control of demo parsing, without spawning separate threads in background, can pause demo, seek through demo on demand, and generally use event-driven programming.
Most of the PR is just refactoring, I tried to do it as simple as possible.

@saul  Could you take a look at this PR ? I need this functionality and am blocked by this.

Hi @in0finite - many thanks for the contribution and apologies for the delay in getting back to you.
I'm not ready to merge this yet as I need to think a bit more about the best API for stepping through a demo. I have larger changes that would allow you to quickly jump to any point in the demo (rather than at the moment where rewinding requires parsing from the start of the file again).

Hi, it's alright.
Seeking through file is definitely a nice feature. But I really need a way to step through demo 1 tick at a time (also without async stuff). Could you please integrate any solution for this ? I wouldn't like to constantly get merge conflicts when I try to pull changes.

Here's a WIP PR - https://github.com/saul/demofile-net/pull/32. Are you still able to use async APIs? I've added ConfigureAwait(false) in all of the necessary places in the library, so you should be able to use them from WinForms now.

Superceded by https://github.com/saul/demofile-net/pull/32 and released as v0.8.1
Many thanks for getting the work started here


"Group by Ancestor" option

Summary
Similar to the extension's Group By Kind option and Nova's built-in Move All Tabs With Ancestor feature, I'd love the ability to group open files by their parent folder.
Configuration

Version — 1.5.2
Nova — 9.6

Severity

Enhancement

Notes
This is a really handy extension, thanks so much for working on it!

This is on my todo list. I'll bump up the priority.

@ashur I've just released a new version of the extension that adds a group by folder option. It displays the entire folder hierarchy of any open files.

@eablokker This looks really great, excited to start using it! 💫


Home Assistant Showing Wrong State

When i "arm home" through home assistant the state of the alarm updates as "armed away" rather than "armed home"

Immediately after i arm it sometimes it changes back to "disarmed" on home assistant but in reality it will remain as armed

For the second comment, there is a delay if you change the alarm with you key. I only refresh state every 5 minutes.

Same as @Taseen18 for me, when I armed night my alarm is turning on Armed Away and when I armed away nothing happend.

it doesn't identify properly the status alarm. It should identify properly all combinations among away, night, home, perimetral. This issue provoke that other automations cannot properly know the status alarm and they can be executed in case of status change.
My propose is create enough status in order to encompass all combinations: away, away+perimetral, night, night+perimetral, home, home+perimetral, only perimetral, and finally disarm

The same happens to me. The status is not correctly shown in the homeassistant panel when you perform any change for example through verisure application.

What I’ve seen is that the mistaken status is produced when you press the desired state in the HA alarm panel.

I've decided to reuse this issue rather than create a new one.
Just installed this integration (Portugal) and it sort of works. Sort of, because in Portugal the response time of the API is extremely slow, even on the official app. Can you please add a delay between alarm state change request and get current alarm state requests? Like at least 30 seconds.... Or maybe run two get current state requests one after another? First just after arm command the other 30 sec later to force quicker update than 5 min?

I've decided to reuse this issue rather than create a new one. Just installed this integration (Portugal) and it sort of works. Sort of, because in Portugal the response time of the API is extremely slow, even on the official app. Can you please add a delay between alarm state change request and get current alarm state requests? Like at least 30 seconds.... Or maybe run two get current state requests one after another? First just after arm command the other 30 sec later to force quicker update than 5 min?

What you mention about the _Can you please add a delay between alarm state change request and get current alarm state requests? _ it has been changed so when you make an arm or disarm request, there isn't a update state request after. Just the operation and that is.

I've decided to reuse this issue rather than create a new one. Just installed this integration (Portugal) and it sort of works. Sort of, because in Portugal the response time of the API is extremely slow, even on the official app. Can you please add a delay between alarm state change request and get current alarm state requests? Like at least 30 seconds.... Or maybe run two get current state requests one after another? First just after arm command the other 30 sec later to force quicker update than 5 min?

What you mention about the _Can you please add a delay between alarm state change request and get current alarm state requests? _ it has been changed so when you make an arm or disarm request, there isn't a update state request after. Just the operation and that is.

Thats not what my alarm log indicates:

Immediately after I press arm home on the alarm card (using the standard one), the request is sent, but the state of alarm component in HA doesnt change (on verisure app side it already armed). Only when I trigger refresh by arming again the component in HA refreshes and shows proper state.

Check the new setting in the configuration.
https://github.com/guerrerotook/securitas-direct-new-api/blob/main/README.md
There is a new setting check_alarm_panel that check the last version of the alarm status instead of getting that from the alarm.
Also, did you update to the latest version?

I just installed via HACS, it is most recent version. I havent used the check_alarm_panel switch, so I assume it would be default true. Ill test with it set to false and see what happens.
Im sure that this request goes out and it returns too early, before the alarm arms, because in the developer tools/states I see this:
message: O seu alarme está desligado
with the timestamp almost the same as the moment I sent the arm alarm request.
Thanks for your help :)

I just installed via HACS, it is most recent version. I havent used the check_alarm_panel switch, so I assume it would be default true. Ill test with it set to false and see what happens. Im sure that this request goes out and it returns too early, before the alarm arms, because in the developer tools/states I see this: message: O seu alarme está desligado with the timestamp almost the same as the moment I sent the arm alarm request. Thanks for your help :)

Yes, you need to set to false.

Ok I have set the check_alarm_panel switch to false and it now works perfectly.
Can you just tell me if I can turn off the code requirement on the panel?

Ok I have set the check_alarm_panel switch to false and it now works perfectly. Can you just tell me if I can turn off the code requirement on the panel?

Yes, you simply remove the code from the configuration I guess. This code is local to Home Assistant.

Thank you for help and great work on this thing, been waiting for a working integration over a year...

 I tried false or true for option check_alarm_panel but still the same… I dont understand why I’m the only with this issue 😔

I am afraid that the interfaces is again failed and doesn't update the status of alarm until the Securitas APP update its status alarm.


Can't find a way to change ServicePort in a *-direct service

Every time a start a service using marathon an similar service-direct is registered in Consul with a ServicePort set to 0. I would like to be able to change this port when launching the app. I can't find a way to do that. Moreover I can't find the place responsible for registering those *-direct services in consul.

It's happening somewhere in calico or mesos-consul (the docker container) I think...

In the doc it says something about Powerstrip but I don't see where it's set. For instance, what if I want to change from *-direct to *-toto ?

So to answer a part of my question, I pretty sure that the logic of registering *-direct services is done in the ciscocloud/calico image. Unfortunaty it's not possible to get access to the Dockerfile : https://hub.docker.com/r/ciscocloud/calico-node/ to see how it's done.

@TeaBough regarding those *-direct services, please take a look on this branch https://github.com/CiscoCloud/calico-docker/blob/add-consul-support/calico_containers/adapter/powerstrip_calico.py#L38
The -direct suffix is set with the variable CONSUL_CALICO_DNS.

@loshkovskyi  Thank you very much, I didn't see this branch !

Please confirm this is the issue you are having:
[cloud-user@mi-control-01 ~]$ dig @localhost -p 8600 testapp.service.consul SRV +short
1 1 4409 mi-worker-003.node.dc1.consul.
1 1 31375 mi-worker-001.node.dc1.consul.
1 1 31000 mi-worker-002.node.dc1.consul.

[cloud-user@mi-control-01 ~]$ dig @localhost -p 8600 testapp-direct.service.consul SRV +short
1 1 0 mi-worker-002.node.dc1.consul.
1 1 0 mi-worker-003.node.dc1.consul.
1 1 0 mi-worker-001.node.dc1.consul.

Exactly, I've added a PR in https://github.com/CiscoCloud/calico-docker to set the port of the service in Consul for the direct-* services.

@TeaBough, I've pushed new Calico image with the tag v0.4.9-mi-test which you can set in https://github.com/CiscoCloud/microservices-infrastructure/blob/master/roles/calico/defaults/main.yml#L3 to verify the changes.

Let me know if you need any help on this.

@TeaBough, the PR https://github.com/CiscoCloud/microservices-infrastructure/pull/728 has been merged, let me know if I can close this issue.