Plugin crashes when creating an oauth client using user token instead of client id, secret.

When creating a genesyscloud_oauth_client using user access token (instead of client Id, secret), it is failing with error
invalid memory address or nil pointer dereference
Here is the error trace from debug:
goroutine 487 [running]: terraform-provider-genesyscloud/genesyscloud/oauth_client.updateTerraformUserWithRole({0x2b1f8e8, 0xc0007dd530}, 0xc00080cea0, 0x0) 	D:/Workspace/Extra/Terraform/TerraformCode/terraform-provider-genesyscloud/genesyscloud/oauth_client/resource_genesyscloud_oauth_client.go:212 +0x7ea terraform-provider-genesyscloud/genesyscloud/oauth_client.createOAuthClient({0x2b1f8e8, 0xc0007dd530}, 0xc000a6da00, {0x25174a0, 0xc0007dd590}) 	D:/Workspace/Extra/Terraform/TerraformCode/terraform-provider-genesyscloud/genesyscloud/oauth_client/resource_genesyscloud_oauth_client.go:61 +0x4cc
I am trying to create two clients, the first one is Client credential and second is Code authorization.
I tried divide them and add wait time in between, now I see the first client is created and second one is failing.
The error in line 212 (function updateTerraformUserWithRole), the app is crashing in the following for loop.
//Step #4  - Concat the addedRoles
for _, role := range *addedRoles {
	totalRoles = append(totalRoles, *role.RoleId)
}

I found the issue, I just checked the addRoles before going into the for loop and now it works.
//Step #4  - Concat the addedRoles
**if addedRoles != nil {**
	for _, role := range *addedRoles {
		totalRoles = append(totalRoles, *role.RoleId)
	}
**}**

Can you please add it into your next release?

Hi @msd86911
Sorry for the delayed response. We are doing our release today and we will try to include this fix.
Thanks for reporting.
-Charlie

Fixed as of v1.50.0 ✅


⚠ Bofrost.lu has degraded performance

In 7bacd8f, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1843 ms

Resolved: Bofrost.lu performance has improved in 27deb2e after 6 minutes.


Question: iOS not running push.on('notification') code

I am having trouble getting the iOS version of my ionic app to run custom code whenever a push notification comes through.
I am receiving the push, and it is showing up in the notification shade.
I'm using ionic's push platform (it is in alpha) documented here
http://docs.ionic.io/docs/push-sending-push
The curl request I am sending is
curl -u PRIVATE_KEY_HERE: -H "Content-Type: application/json" -H "X-Ionic-Application-Id: APP_ID_HERE" https://push.ionic.io/api/v1/push -d '{"tokens": ["TOKEN_HERE"],"production": false, "notification":{  "alert":"asdf", "title": "asdfsadf", "android": {"payload": {}}, "ios": { "badge":0,   "content-available":"1"}}}'
I have tried different json with this curl request and it doesn't seem to change the problem. `
The same  code is working on android, so I feel like it is some strangeness going on with iOS.
Any ideas would be much appreciated!

@inferno1005 What version of the plugin are you using?
When you send the notification when the app is in the foreground is the push.on('notification') event handler being run? If so can you look at data.additionalData.content-available to see if it is set.

@macdonst The latest version 1.4.0, yes when the app is in the foreground the push.on('notification') event handler is being run.
The contents of the whole data variable in the notification handler is
 {count: 0, additionalData: {foreground: true}, message: "asdf"}

@inferno1005 well there is the problem. The content-available property doesn't seem to be getting through. If it doesn't arrive on the device then there is no signal for iOS to wake up the app and run the notification event.
If you look at the docs you linked Ionic seems to use "contentAvailable": true instead of content-available: 1. Can you try with that and report back.

switching to "contentAvailable":true yields the exact same results as the "content-available":1 . Pretty much every combination of content available has been tested, and none of them get through to the data object.

I have a similar issue. When the app is in foreground, everything works as expected. When the app is in background or closed the notification doesn't get through, though. My payload looks like this

@peterschmidler are you using Ionic as well for sending your push?

@macdonst No I'm sending directly via apn.

Actually it stopped working a few weeks ago while using https://github.com/phonegap-build/PushPlugin I switched to this plugin, but the problem remained.

@peterschmidler then it seems to problem wouldn't be with the plugin but the way in which you are sending the notification.

Possibly. It seems that the issue appeared after upgrading xCode (I'm on 7.1 now).

@peterschmidler you might want to update your certs and mobile provisioning profiles.

I'll try that. Thanks.

@inferno1005 content available needs to be sent as contentAvailable: 1 in the ios specific portion of the request data. Here is an example:
{
  "alert": "test message",
  "ios": {
    "contentAvailable": 1
  }
}

Closing, no input for almost a month.

Hi,
How about sending "content-available" to Android? The flag doesn't seem to get through.. Tried every combination above.
Thanks!


Add some utils and tests

Description
Adding some functions
Todos
Notable points that this PR has either accomplished or will accomplish.

[x] SimTK Quantity -> Pint Quantity for digesting toolkit objects
[x] sympy expression-like comparisons (currently for tests, later for interfaces and engine interoperability, possibly)

Status

[x] Ready to go

Codecov Report

Merging #6 into master will increase coverage by 48.70%.
The diff coverage is 100.00%.

macOS builds are stalling today, probably something going on with GitHub's servers


closing and re-opening a scene crashes the editor

Here the test case: http://ffxrunner2.ffx.it/godot_testcases/viewport_testcase.zip
The project opens a scene named test.scn, try to close it and reopen it a few times, the editor will crash.
I believe it is related somehow to Viewport node.

To be clearer, it when closing and reopening the scene that the crash occurs, not when closing and reopening the whole project.

@reduz
tested with 2.0 rc1
test case scene still crashes the editor after opening and closing it a couple of time

I confirm it still crashes.
I managed to isolate the problem a bit more, it only happens when the camera is a child of the viewport. If I reparent it to the root node it doesnt crash any more.I tested with one of my projects adding a viewport and putting the camera inside it, and the same crash happens.

I can confirm this still happens (although less frequently), when the camera is a child of the viewport

I can't make it crash... I keep opening and closing the test scene and nothing happens

https://youtu.be/acvrk5dMDGU fresh compiled Godot from github running on Ubuntu 14.04 64 bit.

I actually manage to get a segfault and thus a backtrace here:
Thread 1 "godot" received signal SIGSEGV, Segmentation fault.
0x0000000001427070 in Vector2::operator==(Vector2 const&) const ()

(gdb) bt
#0  0x0000000001427070 in Vector2::operator==(Vector2 const&) const ()
#1  0x0000000000b49c19 in Viewport::get_visible_rect() const ()
#2  0x0000000000d6835f in Camera::get_frustum() const ()
#3  0x0000000000edb2fe in SpatialIndexer::_update(unsigned long) ()
#4  0x0000000000b50cba in Viewport::update_worlds() ()
#5  0x000000000043f70c in MethodBind0::call(Object*, Variant const**, int, Variant::CallError&) ()
#6  0x00000000013045a3 in Object::call(StringName const&, Variant const**, int, Variant::CallError&) ()
#7  0x0000000001303d61 in Object::call(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) ()
#8  0x0000000000b2541a in SceneTree::call_group(unsigned int, StringName const&, StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) ()
#9  0x0000000000b26889 in SceneTree::iteration(float) ()
#10 0x0000000000425dd5 in Main::iteration() ()
#11 0x0000000000413eed in OS_X11::run() ()
#12 0x00000000004108ba in main ()

Sometimes I get the same backtrace without the first 2 lines. Anyway I'd start investigation in Camera::get_frustum().

Does this still apply?

@reduz Yes, I can reproduce with the test project.

yes, it still happen in my project

Not critical for the upcoming 2.1, so moving to the next milestone.

What about 3.0? Does it still occur?

a lot of this code is gone, so closing, re-report if something is found


Add minZoom limit and max lat/lon bounds to fix infinite scrolling

This is to address issue #60
The lat bounds keep the view within 75 south and 75 north latitudes (If we get someone placing a frog sensor near the poles later we can change this!) largely because the Mercator projection gives the poles too much area in the map. The lon bounds prevent the horizontal infinite scrolling issue (limiting the map to a single instance of -180 to 180 lon).
The min zoom out limit also helps guide the user to which side of the map to scroll towards (e.g. don't try to scroll east past 180 lon across the Pacific to go from Asia to the Americas, scroll around west to see there)

Thanks for tackling this change so quickly @spestana! This looks pretty good except, I think it might be good to move the limits out a bit wider than 180 degrees so that if there is a sensor in the extreme margin, someone can scroll such that their sensor in New Zealand for example, is in a useable section of the map.

I just pushed this change which sets the rightmost bound at maxBounds=[[-75, -180],[75, 200]] which seems to work well with my testing.


Migrate sources from stHub to gitHub

The history is preserved with FileTree but then the sources were converted in Tonel.

There is a bug during the loading :(
I'll need to check.


Implement restore backup to new Linode

Ultimately dependent on #212 but certain steps can be taken immediately (pre-filling all the rest of the values besides source).

Dependent on #194 but can still get started (process for pre-filling the rest of the values aside from source.)

Dependent on #284.


[SR-38][Sema] Stop emitting duplicate only-as-generic-constraint errors.

There are two separate issues here. First, top-level variable declarations were being checked once by the Decl checker, and then again by the Stmt checker. The Decl checker now skips global VarDecls. This fixes SR-38.
Second, the Stmt checker is called by an AST visitor itself, which already calls it once per statement. Using the UnsupportedProtocolVisitor here meant that each interior sub statement would get visited multiple times. Added a setRecurseIntoSubstatements() on the visitor, and set it to false for the Stmt checker. This fixes the pre-existing testHasAssoc() which used to produce 2 errors.

Ended up backing off one of the changes because it caused a couple testing failures, and added a FIXME comment instead to replace it. Still, this gets almost all the way there. Committed, squashed, all tests pass.

The TypeCheckType.cpp/TypeCheckDecl.cpp changes look unrelated to this work?

That change is to only call TC.checkUnsupportedProtocolType() once for decls inside a protocol context. Previously it would call for both IsFirstPass and IsSecondPass if two were needed. The new if statement only does it on the first pass or only pass.

Ok, but why is that part of this patch?  Is that to avoid redundant diagnostics?  If so, can you split that out into something that stands by itself?

Why: uh... hubris? :-) Rolled back that part and resquashed.

Can one of the admins verify this patch?

Thanks!  This patch looks fine to me, but have you considered an approach where you mark the type repr as invalid when this happens?  Something like this:
void visitIdentTypeRepr(IdentTypeRepr *T) {
auto comp = T->getComponentRange().back();
if (auto proto = dyn_cast_or_null(comp->getBoundDecl())) {
if (!proto->existentialTypeSupported(&TC) && !T->isInvalid()) {
TC.diagnose(comp->getIdLoc(), diag::unsupported_existential_type,
proto->getName());
T->setInvalid();
Diagnosed.insert(proto);
}
  return;
}

However, I agree with you that making "checkUnsupportedProtocolType(Stmt *stmt)" avoid walking substatements makes sense, just as an efficiency win.

I haven't investigated invalidating the type repr, but yeah, that seems very promising to help make sure each one is only diagnosed once, even if a visitor happens to go over it again. It would certainly be more resilient to future change in the rest of the type checker than the carve out skip-these checks that are there now.
But I think, if I remember correctly, that the remaining duplicates are actually from the other diagnose call site (line 3505), where we check types of ValueDecls. That is catching - I think - protocol composition types and type aliases to them. Probably the way to go is to invalidate type repr's as you suggest, but the logic in UnsupportedProtocolVisitor needs to be beefed up to catch more kinds of type reprs, and then the value decl type check can go away entirely. (Which would be an additional win, because where those are hit right now the diagnosis points to the value decl's identifier instead of to the type repr.)

Okay! New commit (and squashed, and tests pass) using invalidation of the type repr to stop duplications instead of fragile checks on decl type. Also moved the code that was checking the type of ValueDecls into checking the underlying type of TypeAliasDecls, which turned out to be the actual specific place that this checking was required.
Figuring that out revealed a hole in the previous checks. If you used a typealias inside statements, whose underlying type was a protocol composition that contained an unsupported protocol, then the current master would fail to diagnose it. Added this as a test at the end of test/type/protocol_types.swift.

Excellent work, thanks!


TE9 TC-DL-3.3 chip tool Darwin testing: read-event attributes support needed

To test TC-DL-3.3, read-event attributes support is needed and currently the attributes were not not present in chip tool Darwin. Support needed for below attributes,
door-lock-alarm
door-state-change
lock-operation
lock-operation-error
lock-user-change
Below is the screenshot between chip tool and chip tool Darwin on the same,

This will not be supported in CHIP.framework. @bzbarsky-apple can you please confirm.

For the moment that is correct.  If that ever changes, we'll add chip-tool-darwin support at that point.

Moving this back into 1.0 for Darwin. Given we should support this.

@woody-apple
As per our discussion in the meeting, the read-event, subscribe-event, read-event-by-id, subscribe-event-by-id support in Darwin tool is needed for the below testcases
TC-SWTCH-3.2
TC-DRLK-3.3
TC-BINFO-2.4
TC-IDM-6.3
TC-IDM-6.4
Here is the screenshot from the latest commit on Darwin tool for Doorlock where the read-event is missing. The same with other clusters.

@Garik098 Why can't those tests be done with the subscribe-all-events command?

What does the test step require? We should make sure it’s clear what’s specifically needed for the test and the component.

(And which commands to support those tests)

ATLs follow the commands in the verification steps document to certify. So providing the test case screenshot and the verification step for it.
For TC-DRLK-3.3, we need read-event support. They are testing each event individually in this test case.

For IDM 6.3, the verification steps document gives this command -
sudo ./chip-tool any  read-event-by-id 0xFFFFFFFF 0xFFFFFFFF 1 0xFFFF

For IDM 6.4, the verification steps document gives this command -
./chip-tool interactive start
basic subscribe-event start-up 10 100 1 0
basic subscribe-event-by-id 0x000 20 400 1 0

For Switch 3.2, I guess we can use Subscribe-all-events as the verification steps document gives a generic verification statement.

For the BINFO-2.4, I couldn't find the test case. Looks like it was removed post SVE1.

In terms of the test plans:

TC-SWTCH-3.2 (https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/switch.adoc#tc-swtch-3-2-primary-functionality-with-client-as-dut) requires:

"Commission DUT to TH.  Use client mechanism to set it up so switch state can be observed (e.g. UI shows state of switch)"
"DUT sets up eventing so it will receive events when the switch is operated. TH responds accordingly."
"DUT receives these events"

TC-DRLK-3.3 (https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/door_lock_Cluster.adoc#tc-drlk-3-3-verification-for-the-door-lock-events-dut-client) requires (without ever saying anything about the DUT subscribing to events):

"Verify that DUT receives the DoorLockAlarm event"
"Verify that DUT receives DoorStateChange Event from TH"
etc.

TC-BINFO-2.4 (https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/devicemanagement.adoc#424-tc-binfo-24-events-dut-client) requires:

"DUT subscribes to the events it supports"
"Verify that the DUT receives the ReachableChanged event"
"Verify that the DUT receives the ShutDown event."
etc.

TC-IDM-6.4 (https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/interactiondatamodel.adoc#tc-idm-6-4-events-subscribe-interaction-from-dut-to-th-dut_client) requires:

DUT sends Subscribe Request Message to the TH for a supported event.

Those can all be handled with subscribe-all-events.

TC-IDM-6.3 (https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/interactiondatamodel.adoc#tc-idm-6-3-events-read-interaction-from-dut-to-th-dut_client) requires reading events via ReadRequest, conditioned only on MCORE.IDM.C.ReadRequest.  That seems like a problem: clients are not required to implement Read Request for events (and in fact, that's not how events should generally be consumed).  There should be a separate PICS for "supports doing a Read Request for an event", imo.

For TC-DRLK-3.3, we need read-event support. They are testing each event individually in this test case.

This is not a reasonable requirement for a client, and the test plan does not impose the constraint that the client use a Read interaction to get the events....
More to the point, I don't see how verification steps written specifically for chip-tool can apply to other clients.  Other clients will need verification steps that make sense for them, which implement the actual things the test plan says to do.

Ya I agree with the statement that the steps written for chip tool can't apply to other clients. We can clarify that to the ATLs while testing.
Working on few test plan PRs this week as we have a deadline. I will check all the above testcases early next week with subscribe-all-events and see if we can execute them completely without depending on other ones. If that is the case we need not make any changes and go ahead with subscribe-all-events.

I am on this commit in master
commit 0691bbcbb26f7fa39d90fc54c35fb66fe12196c5 (HEAD -> master)
I used this command to do subscribe-all-events - ./darwin-framework-tool any subscribe-all-events 2 1000 1 0
I think that the subscribe all events command should wait at the end without exiting and show events when they triggered right. But I see that when I run the command it is probably showing the current state of various events and is exiting.
subscribe-all-events.txt

Darwin Issue Review: This is not needed for 1.0, moving out.

@woody-apple
Our iOS app is testing for get the Matter-certified.  During the testing, the same problem occurred.
The TC-BINFO-2.4 require subscribe-event start-up and read-event start-up, but we can't read the event.
The Matter-certified PICs requirement must be implemented. If not chose, it return Error like this:

The BINFO.C.E00 associated the use cases read-event start-up:

Just as a note: a DUT can subscribe to all events and then process the StartUp when it receives that on the subscription, which is the normal mode of operation for events.
The testcase verification steps there are an example, and not a requirement to implement "read an event", as I understand it.  But @cjandhyala could confirm.

Correct @bzbarsky-apple, the client TCs verification steps are there as an example how these were verified using chip-tool and not a necessary requirement on client to implement the same way as chip-tool does.
@xtyHY The purpose of TC is the client able to receive the events, on the Darwin platform you can use 'subscribe-all-events ' and filter for the StartUp and other events. On the example app (TH) you can trigger events using the commands mentioned at https://github.com/project-chip/connectedhomeip/blob/e56c2ce42f4bf5d7a5aab8898174b4f14e7888e6/examples/all-clusters-app/linux/README.md

@cjandhyala Thanks for your explanation.
We will communicate with the testing agency to synchronize relevant information.

#24057 added read-event-by-id support to darwin-framework-tool.  We could add read-event using a similar backend, I suspect.


Add Bug Report Issue Template

N/A
Reminder to myself it's not 4am

Closed by 7dc2a6aeb9e27dd1a2554bdab6219f473e573d01


Update 07-chart.Rmd

typos fixed

With a great great thank you note for the nice book!!

With a great great thank you note for the nice book!!

Thank you @federicomarini for fixing these two typos. Glad you enjoy the book

Thank you @federicomarini for fixing these two typos. Glad you enjoy the book


HHVM not working after update from 3.0.4 to 3.1.2

I updated EasyEngine
Then:
$ sudo ee stack install
$ sudo ee stack update
$ sudo ee stack restart
Restart : nginx     [OK]
Restart : php5-fpm  [OK]
Restart : mysql     [OK]
Restart : postfix   [OK]
Restart : hhvm      [OK]

php.info:
System	Linux testing 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64
Build Date	May 2 2015 09:49:03
Server API	FPM/FastCGI
Virtual Directory Support	disabled
Configuration File (php.ini) Path	/etc/php5/fpm
Loaded Configuration File	/etc/php5/fpm/php.ini
Scan this dir for additional .ini files	/etc/php5/fpm/conf.d
Additional .ini files parsed	/etc/php5/fpm/conf.d/05-opcache.ini, /etc/php5/fpm/conf.d/10-pdo.ini, /etc/php5/fpm/conf.d/20-curl.ini, /etc/php5/fpm/conf.d/20-gd.ini, /etc/php5/fpm/conf.d/20-imap.ini, /etc/php5/fpm/conf.d/20-json.ini, /etc/php5/fpm/conf.d/20-mcrypt.ini, /etc/php5/fpm/conf.d/20-memcache.ini, /etc/php5/fpm/conf.d/20-mysql.ini, /etc/php5/fpm/conf.d/20-mysqli.ini, /etc/php5/fpm/conf.d/20-pdo_mysql.ini, /etc/php5/fpm/conf.d/20-readline.ini, /etc/php5/fpm/conf.d/20-xdebug.ini
PHP API	20121113
PHP Extension	20121212
Zend Extension	220121212
Zend Extension Build	API220121212,NTS
PHP Extension Build	API20121212,NTS
Debug Build	no
Thread Safety	disabled
Zend Signal Handling	disabled
Zend Memory Manager	enabled
Zend Multibyte Support	provided by mbstring
IPv6 Support	enabled
DTrace Support	enabled
Registered PHP Streams	https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports	tcp, udp, unix, udg, ssl, sslv3, tls
Registered Stream Filters	zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*

Hmmm... So I run:
$ curl -I joeguilmette.com
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 04 May 2015 09:36:48 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
X-Pingback: http://joeguilmette.com/xmlrpc.php
Link: <http://joeguilmette.com/>; rel=shortlink
X-Powered-By: EasyEngine 3.0.4
rt-Fastcgi-Cache: MISS

3.0.4? Let's update again?
$ sudo ee update
Downloading update script        [Done]
updating EasyEngine, please wait...
Executing apt-get update, please wait...
You already have EasyEngine 3.1.2, exit status = 1
Synchronizing ee database, please wait...

For EasyEngine (ee) auto completion, run the following command

source /etc/bash_completion.d/ee_auto.rc

EasyEngine (ee) installed successfully
EasyEngine (ee) help: http://docs.rtcamp.com/easyengine/

Very weird.
I have another server that is showing the proper EasyEngine number, but HHVM still not showing up in php.info
Any ideas?

@joeguilmette
This issue has been fixed in latest EasyEngine version 3.3.3. please update to latest version.
I am closing this ticket for now, please create your issue at community forum (http://community.rtcamp.com/c/easyengine)  if you still face any problem.


ReachabilitySwift conflicts with Reachability (Objective-C)

For some reason the module name of ReachabilitySwift has been renamed to Reachability.
Unfortunately those both projects now collide if included in one project. This mainly happens if third party dependencies are using pulling each dependency in. (See the attached example project)
I would strongly suggest to move back to the old "ReachabilitySwift" module name to avoid this issue.
http://droplr.obrhoff.de/OD4W5D

Thanks for raising this issue, but backwards compatibility with Objective C / mixed projects is a non-goal for this library.
Cheers
Ash

Hi @ashleymills
I am having same problem, getting conflicts about other libraries
ReachabilitySwift and Reachability
is there any alternative to make it work?
in Xcode side?
I did research some solutions but I don't really understand it.
they said that Rename the file.
can you provide a solution?

Well, you're publishing a free library than tons of people use (I'm more forced to use it as a transient dep and others' decisions/inclusions, but no need to dive into that, I still do want to express my gratitude for your creation, maintenance, and sharing of a library that has helped the community, a huge thanks for that!!!).
I would suggest that this is not a question of so much "backwards compatibility" as much as "respect convention and norm" by using a unique identifier in front of the module name (especially when it collides with a well-known existing or platform-provided one!), and even more-so when creating something that's no doubt going to become a transient dependency.
A year later almost, this problem persists, and forces developers and users to resort to chicanery which largely defeats the whole purpose or advantage of open-source software when the problem is largely preventable.
What would be so offensive about ASHReachability? The chances of a namespace collision are incredibly lower. And you have a cool first name, too!
I didn't choose for graphql_flutter and connectivity to use ReachabilitySwift and Reachability (respectively) and result in an awkward build error that forces me into weird undulations that more resemble poses named after ancient sanskrit than reasonable, modern solutions, yet here we are, many of us (if my GH searches, etc are any indication), simply because a name wasn't chosen appropriately in the name of what?
Again, not to sound offensive (my intent is not that at all), but to seriously question the wisdom on a purely technical merit of knowingly inciting namespace and symbol collision, and the further doubling down to that end in the name of what, exactly?
PS - Yes, I know the irony of an American saying things like "respect convention and norm" and "we all should play well with others" is not lost on me, but you know, "not my President" and I am sorry for the 63M idiotic countryfolk of mine that still drag their knuckles...

Thanks for raising this issue, but backwards compatibility with Objective C / mixed projects is a non-goal for this library.
Cheers
Ash

+1.  Thanks for the code, but I just spent more time debugging this problem than it would have taken to produce it myself.


set default elasticsearch.hosts in kibana.yml

Deprecations currently break configuration order of operations.
bin/kibana --elasticsearch.hosts will take precendence over a kibana.yml elasticsearch.hosts, but not url.  The deprecations script will run and overwrite it.
This is a patch fix, we'll have to get something more thorough sorted in core.
cc @elastic/kibana-operations

Please add the necessary labels. Are you planning on forward porting to 6.7?

6.x/7 https://github.com/elastic/kibana-docker/commit/d661c5ef97215731dfdd2560c9fdc33f67cbe8d8


When i press ALT Key , All MetroCombobox items get blue color.

Hi ..All
When i press ALT Key for any shortcut then all MetroCombobox items get selected and colored.
So please help me out of this problem.Thanks in Advance.

I have the same problem....please help us for this issue
Thanks in advance.-!

the question is... this project is abondoned?

Hi, i don't understand your question...

De: Marcelo Leonardo Ponce Faraone<EMAIL_ADDRESS>Enviado: viernes, 27 de enero de 2017 10:01:01 p.m.
Para: thielj/MetroFramework
Cc: prubino; Comment
Asunto: Re: [thielj/MetroFramework] When i press ALT Key , All MetroCombobox items get blue color. (#56)
the question is... this project is abondoned?

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/thielj/MetroFramework/issues/56#issuecomment-275813895, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYJtzUiQu5D1oogm8nqOsCHWXi6mY4q-ks5rWpNNgaJpZM4Fwwmv.

I'm getting this issue... do we know if this is being looked into?


Change documentation according to implementation

The implementation returns the previous scheduler.

It should be the type (function), not the name

Sorry, only saw your comment right now. There you go.

Thank you :+1:


Detecting CPU and RAM limits inside container

Hi! I've been forwarded from the issue (See more detail in the link): https://discourse.jupyter.org/t/detecting-cpu-and-ram-limits-on-mybinder-org/4640
Since the CPU and memory total value reported by psutil is not reflecting docker hard limit value.
docker options for cpu and memory respectively: --cpus=1 --memory=1g
$ docker run -it --memory 1g jupyter/minimal-notebook bash
jovyan@ae5ee84233e0:~$ python
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.virtual_memory().total
16742875136 # I didn't want this value! but 1GB!!

To address this issue, I want to contribute by implementing the following stuffs.

[ ] Detect current OS
[ ] Check if it's inside container or host
[ ] Get cpu and memory metrics from cgroups info if it's inside container.

Any contribution guide would be so much appreciated!

Just a comment.
I have read your proposed link and found out the sum you do over the processes rss with the psutil.
Nevertheless, it seems that the value total_rss of /sys/fs/cgroup/memory/memory.stat is more accurate (or at least similar to what docker stats reports).
In any case, thanks a lot fro proposing this feature.

it seems that the value total_rss of /sys/fs/cgroup/memory/memory.stat is more accurate

Thank you so much for your comment!

dask has a function for calculating the actual CPU available:
https://github.com/dask/dask/blob/1615724e22206112a6864bcd8b0d3f6afa07204e/dask/system.py#L15


Quests editor bugging out randomly while editing quests

Console error : 18.04 17:44:43 [Server] WARN [Quests] Plugin Quests v3.6.5-b717 generated an exception whilst handling conversation input
18.04 17:44:43 [Server] INFO java.lang.NullPointerException: null
18.04 17:44:43 [Server] INFO at me.blackvein.quests.prompts.ItemsPrompt.getPromptText(ItemsPrompt.java:73) ~[Quests-3.6.5.jar:?]
18.04 17:44:43 [Server] INFO at org.bukkit.conversations.Conversation.outputNextPrompt(Conversation.java:291) ~[spigot-1.13.2.jar:git-Spigot-f09662d-51d62de]
18.04 17:44:43 [Server] INFO at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:236) ~[spigot-1.13.2.jar:git-Spigot-f09662d-51d62de]
18.04 17:44:43 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:60) [spigot-1.13.2.jar:git-Spigot-f09662d-51d62de]
18.04 17:44:43 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1177) [spigot-1.13.2.jar:git-Spigot-f09662d-51d62de]
18.04 17:44:43 [Server] INFO at net.minecraft.server.v1_13_R2.PlayerConnection$2.run(PlayerConnection.java:1471) [spigot-1.13.2.jar:git-Spigot-f09662d-51d62de]
18.04 17:44:43 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:909) [spigot-1.13.2.jar:git-Spigot-f09662d-51d62de]
18.04 17:44:43 [Server] INFO at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-f09662d-51d62de]
18.04 17:44:43 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [spigot-1.13.2.jar:git-Spigot-f09662d-51d62de]
18.04 17:44:43 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-f09662d-51d62de]
18.04 17:44:43 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Quest version : 3.6.5-b717
To re-create this issue make a new quest named example and set a new stage, go to the items option and after that this issue appears.

Does this still occur on the latest dev build? I've been unable to replicate.

The problem still exists with the latest version 3.6.6-b734

Closing due to lack of response from OP.


[Test] add unit test for /arana/pkg/config/model.go

What would you like to be added:
Why is this needed:

ok


Mobile support for website

Make sure the website is usable on mobile, specifically the component grid system.
It would ideally wrap around the components in the grid that do not fit on the mobile devices screen.

As of version 0.1.0 we are using components from ant design, this should make the website mostly user friendly.


Multi Tenancy Support

Hi, thanks for the great work, actually I don't have an issue.
I just want to know what are the possibilities to use this package with a multi-tenancy system?
Spacially this package Tenancy for Laravel, which has multiple types of identifications, like by domain, subdomain, Path & Request data.
Is that possible?
if yes, How? Any ideas can help!
Thanks

Any solution?

It works for me, but only with s3 file system.
I guess the solution is just make sure your app can upload and retrieve files from tenant folder located in storage and not from storage/app/public. That's why with s3 works fine because it doesn't look to storage app path, just for tenant folder and then files.

@BechirAhmed Yes it only sees the tenant folder. But there is a preview problem. The url is not working correctly. My current preview url : http://localhost/storage/photos/. I want to change url.

still if you are facing this issue, you can use this setting

https://unisharp.github.io/laravel-filemanager/config


Module parse failed error when building for Storybook for web

When building Storybook I'm getting a Webpack error about needing an appropriate loader. This is only an issue in Storybook, when I build my NextJS project that features react-native-svg components everything is building as expected. If I remove any stories that include react-native-svg components the Storybook build is successful.
ERROR in ./node_modules/react-native/index.js 14:7
Module parse failed: Unexpected token (14:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| // Components
> import typeof AccessibilityInfo from './Libraries/Components/AccessibilityInfo/AccessibilityInfo';
| import typeof ActivityIndicator from './Libraries/Components/ActivityIndicator/ActivityIndicator';
| import typeof Button from './Libraries/Components/Button';
 @ ./node_modules/react-native-svg/lib/module/elements/Shape.js 5:0-46 265:19-33 275:19-33 280:19-33 285:19-33 290:19-33 295:19-33 300:19-33
 @ ./node_modules/react-native-svg/lib/module/ReactNativeSVG.js 1:0-37 30:0-683
 @ ./node_modules/react-native-svg/lib/module/index.js 1:0-33 1:0-33 2:0-43 2:0-43
 @ ./designSystem/Icons/Icons/ShareIcon.tsx

This is my .storybook/main.ts file (note the addition of the webpackFinal method which helped reduce the number of errors) https://github.com/software-mansion/react-native-svg/issues/1553#issuecomment-1011487502
import type { StorybookConfig } from '@storybook/nextjs'

const config: StorybookConfig = {
 stories: ['../**/*.mdx', '../**/*.stories.@(js|jsx|mjs|ts|tsx)'],
 addons: [
   '@storybook/addon-links',
   '@storybook/addon-essentials',
   '@storybook/addon-onboarding',
   '@storybook/addon-interactions'
 ],
 framework: {
   name: '@storybook/nextjs',
   options: {}
 },
 docs: {
   autodocs: 'tag'
 },
 async webpackFinal(conf, { configType }) {
   // https://github.com/software-mansion/react-native-svg/issues/1553#issuecomment-1011487502
   conf.resolve.extensions.unshift('.web.js')

   return conf
 },
}
export default config

Hello @ConnorHome,
Can you share the example to reproduce that issue?
Thank you.


Vulnerability found!

Hello Sir,
I found Security Vulnerabilty on http://stylebot.me
SUBJECT:
Reflected Cross-site scripting(XSS) found on http://stylebot.me.
Bug Information:
1.I find a bug on http://stylebot.me that is Reflected XSS.
2.Its too harmfull.Because through this bug Hackers can able to steal the cookies.
3.Hacker can apply "Stored XSS" on any page.
4.If anyone open that page then he will steal their cookies.Even admin will also steal their cookies.
5.You will further understood after watching attached video.
Fix this bug as quick as possible.
Thanks,
The Security Researcher,
M.Asim Shahzad

#352


com.github.jnr/jnr-posix3.1.4

Type: Incorrect
Summary:
com.github.jnr/jnr-posix3.1.4
Details:
POM lists 3 licenses and in the repo, it is explained this is tri-licensed: https://github.com/jnr/jnr-posix/blob/master/LICENSE.txt
Resolution:
see above
Affected definitions:

jnr-posix 3.1.4

@ariel11 Should we update this to "or-later"? I noticed in the source repo that the file headers state "or later".
https://github.com/jnr/jnr-posix/blob/jnr-posix-3.1.4/src/main/java/jnr/posix/AixPOSIX.java

@capfei - interesting, it looks like only the base- and aix- files have that header, and I am not seeing it on the other java files.  But I would agree with you and update to "or-later."

@ariel11 It is looking like it is going to be a weird day today. 😕
@nellshamrell The validator is having issues again. It wasn't failing on version 3.1.4 until "only" was added to the identifier.

@capfei would you like me to go ahead and merge this?

@nellshamrell Yes, please!


[Addition]:

Hotspot b58 Addresses
1KpKH5s4tRdJdVKRFFSLY5LL3DToMCG9HSEoFggmfRYGhB9Qxi
1129xFYm4VzesHcgdvTbkfMz9zv6PJW7gmPJgKVKpp9VrtESD3Di
11sDMyFw3kDQXHZvSrEJRFhx3PzsXzht3uer7eWgDBiwdfzHySQ
1127oRwwS5q1735YDQWQf7jv6LW5ZRdm3QzHVnSCJUzAZQZyQZvq
112UhF29JoNY5x8tYJmdz9z6rNdpaGaYjcYU7mUnWgjhu32QxvXs
113TA6MuKj4UVGAN8WGHusKA5Vx3FESNcFF3eSRgCtvhkthZqmW
112BAm4aVav8dNk9tSXVdLEfzHLpV6BeWwNS5hY6nDrnsdmRrsE9
1122XZvuYMyQ4LvD52rguRSDgrxAMr8E996nCCit1t3rtyXwGLGX
Discord Handle
No response
Reason(s)
All witness in same wallet

We have taken into account this addition request in the next iteration of the denylist. Some or all of the Hotspots listed may be added to the denylist. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.

Their RSSI and SNR are not normal.
I think they put all Hotspots in same location.


makes choice box empty

Fixes #777

Fab, thanks!
It's just occurred to me that the "match choices with answers" part also has an addAnswer function that should be changed so content starts as an empty string.
And can you add your name to CONTRIBUTORS.md, please?

Super, thanks!


Some new methods and packaging changes

Short summary:

gitignore for common python, Vim and spyder files
setuptools in setup.py
versioning scheme changed to match PyFME versioning
PrandtlMeyerExpansion: rename nu -> theta to match theory
couple of new methods.

Should be good to go

All right! Didn't know the runpy module, nice :) Merging!


Windows version

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

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

To continue working, I would suggested getting changes from master and this PR https://github.com/adobe/asset-compute-devtool/pull/16 (if it is not merged already when you read this), @jmatthewc11.

replaced with https://github.com/adobe/asset-compute-devtool/pull/15


EventEmitter

closes #63 - remaining events can be implemented later

Some super minimal specs in integration/event_emitter_specs.cr would be incredibly valuable here


RTMP Support

Matthew how can I enable RTMP support? Thanks.

I would like to enable TS and RTPS support too.
Thanks !

I don't have time right now to add it, but if someone else would like to make a pull request that is fine.

Could you just tell us in a compressed manner what to do?

I am not entirely sure, I have not looked into the networking side of the application because I forked it. There are 2 files related to networking in the repo.
You will also need to build ffmpeg with rtmp. Here are some...
--enable-protocol=rtmps \
--enable-protocol=rtmpt \
--enable-protocol=rtmpte \
--enable-protocol=rtp \
--enable-protocol=rtmp \
--enable-protocol=tcp \
--enable-protocol=rtmpe \

As for the code I am not sure but this can be a starting point.

Hello,
I try build from ubuntu linux with
Android SDK: android-sdk_r24.4.1-linux.tgz
Android NDK: android-ndk-r12b-linux-x86_64.zip
edit VPlayer_lib/ffmpeg_build/build_android.sh
PREFIX_FDK_AAC=yes
PLATFORM_VERSION=9
-enable-librtmp  //inside build_ffmpeg() function
//File VPlayer_library/jni/Application.mk
APP_ABI := armeabi-v7a armeabi x86 mips
APP_PLATFORM := android-21
APP_OPTIM := release
Iam getting error
checking for arm-linux-gcc... /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/android-ndk-linux/platforms/android-21/arch-arm/
checking whether the C compiler works... no
configure: error: in /home/VPlayer_lib/ffmpeg_build/fdk-aac': configure: error: C compiler cannot create executables See config.log' for more details
//config.log
configure:2917: $? = 0
configure:2930: result: gnutar
configure:2990: checking whether make supports nested variables
configure:3007: result: yes
configure:3044: checking for arm-linux-gcc
configure:3071: result: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/andro$
configure:3340: checking for C compiler version
configure:3349: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$
./configure: line 3351: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$
configure:3360: $? = 126
configure:3349: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$
./configure: line 3351: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$
configure:3360: $? = 126
configure:3349: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$
./configure: line 3351: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$
configure:3360: $? = 126
configure:3349: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$
./configure: line 3351: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$
configure:3360: $? = 126
configure:3380: checking whether the C compiler works
configure:3402: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$
./configure: line 3404: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$
configure:3406: $? = 126
configure:3444: result: no
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "fdk-aac"
| #define PACKAGE_TARNAME "fdk-aac"
| #define PACKAGE_VERSION "0.1.4"
| #define PACKAGE_STRING "fdk-aac 0.1.4"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/opencore-amr/"
| #define PACKAGE_URL ""
| #define PACKAGE "fdk-aac"
| #define VERSION "0.1.4"
| / end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3449: error: in /home/VPlayer_lib/ffmpeg_build/fdk-aac': configure:3451: error: C compiler cannot create executables See config.log' for more details
What the problem ?

I dont have time to look into this currently, when I have a chance I will try it myself.


Added swab sample data.

@jeffkaufman Here is the swab sampling data. The asymptomatic adjustment factor is +2.27 CT values (code)

@jeffkaufman Saw this wasn't yet pulled in.

@simonleandergrimm sorry for missing this; merged now


updates to IMAP-Hi and SWE's document

Change Summary
Before I forget, small PR for updates in document to include hi and minor updates to SWE.
New Files

docs/source/reference/hi.rst

add hi to docs

Updated Files

docs/source/reference/index.rst

update to include hi

docs/source/reference/swe.rst

updates SWE docs

@all-contributors please add @tech3371 for documentation.


X509SecurityKey validation failed. The associated certificate is not yet valid.

From @pauloevpr on August 22, 2018 0:35
I have had an issue with X509 certificate validations. Whenever a new certificate is issue, Authentication middleware fails to valid the certificate reporting that the certificate is not yet valid.
Here is how I am setting up authentication:
services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
    .AddJwtBearer(JwtBearerDefaults.AuthenticationScheme, options => {
        options.Authority = authority;
        options.TokenValidationParameters = new TokenValidationParameters
        {
            ValidateIssuer = true,
            ValidateAudience = true,
            ValidateLifetime = true,
            ValidateIssuerSigningKey = true,
            ValidIssuer = authority,
            ValidAudience = scope,
            NameClaimType = "name"
        };
    });

This is the exception I find when using a recently issued certificate:
Microsoft.IdentityModel.Tokens.SecurityTokenInvalidSigningKeyException: IDX10248: X509SecurityKey validation failed. The associated certificate is not yet valid. ValidFrom: '08/22/2018 07:20:29', Current time: '08/22/2018 00:27:11'.    at Microsoft.IdentityModel.Tokens.Validators.ValidateIssuerSecurityKey(SecurityKey securityKey, SecurityToken securityToken, TokenValidationParameters validationParameters)    at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateIssuerSecurityKey(SecurityKey key, JwtSecurityToken securityToken, TokenValidationParameters validationParameters)    at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)    at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)    at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
It is clear for me that it is a timezone issue. Validation is being based on the UTC time instead of the local server time (in my case UTC +10).
It seems that this is a known issue which has been fixed here . However, Microsoft.AspNetCore.App v2.1.3 (current latest version) does not seem to use the latest Microsoft.IdentityModel.Tokens assembly.
Copied from original issue: aspnet/Home#3444

@Eilon We should update the dependency for preview 2.

OK, we'll triage this afternoon.

Dupe of https://github.com/aspnet/Universe/issues/1098

Well not a dupe, but will be fixed with the update to Identity Model


fix: npm link ../ before npm install in samples

fixes failing lint in circleci

you can merge and retag 2.0.0 to make lint pass


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_e8a34d1e-3c25-4746-ae92-0264d1da0f61/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_e8a34d1e-3c25-4746-ae92-0264d1da0f61.git

Docs Build status updates of commit ad41bed:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[DOC-9458] Update Upgrade Policy page title

[DOC-9458] Update Upgrade Policy page title
Also updates link text in other CC pages and CRDB v23.1+ pages
Previews
src/current/cockroachcloud/cluster-management.md
src/current/cockroachcloud/create-your-cluster.md
src/current/cockroachcloud/frequently-asked-questions.md
src/current/cockroachcloud/upgrade-policy.md
src/current/cockroachcloud/upgrade-to-v23.1.md
src/current/cockroachcloud/upgrade-to-v23.2.md
src/current/v23.1/restoring-backups-across-versions.md
src/current/v23.2/restoring-backups-across-versions.md

Not sure if intentional but the sidebar still says "Upgrade Policy" -- maybe okay to leave it that way for brevity <img width="238" alt="CleanShot 2024-01-04 at 17 01 41@2x" src="https://github.com/cockroachdb/docs/assets/81630120/52687df0-3f75-403d-a08b-3986779cc7e1"

That was my mistake -- we used the sidebars a different way before v23.1 and I updated that file instead of the correct one. Should be correct now. TFTR!


Using k6-jslib-aws

Hi Is it possible to use this library to upload or download files on Minio (hosted at our own server). As per examples I am not able to see any way to use minio.

Hi @jayush12
I'm not familiar with Minio. Do you mean this min.io?
This jslib is specifically designed to interact with AWS S3. I haven't tried to use it with a different storage backend, but I assume that if said storage backend exposes an S3 compatible, it might be compatible. No guarantees though 👍🏻

@oleiade Yes, that Minio. Technically, there's no reason the current S3Client shouldn't work with any S3-compatible API, like Minio and Ceph. It should just be a matter of exposing the URL to connect to.
I see that there's a recent PR #21 that adds support for Ceph, and the author mentions it might work for Minio as well. @jayush12 Can you test with @ismaelpuerto's fork and let us know if it works for you? It should be a matter of specifying rgw: true and endpoint: "<minio URL>" in the AWSConfig object, if I'm understanding the code correctly. Though we should ask to make this implementation generic and not specific to Ceph RGW, and that some documentation is added.

@jayush12 we have published v0.7.0. which supports setting the host of our client classes. This might be helpful in your case as it will allow you to point the SDK to your min.io instance. We do not intend to support min.io officially as of now, thus I'll close this issue, but feel free to open a new one with concrete issues you might run into and we'll do our best to support you 🙇🏻


NIFI-10119 Update Hadoop KDC

Summary
NIFI-10119
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] NIFI-10119 issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Build

[ ] Build completed using mvn clean install -P contrib-check

[X] JDK 8
[X] JDK 11
[X] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks for the upgrade @UcanInfosec!
For future reference, please name the Pull Request starting with the Apache NiFi Jira issue number, which will automatically link the PR to the Jira issue for tracking.


Add visualization of phasors in quasi static single phase library

In the actual implementation the library specific visualizations are located in Modelica.Electrical.QuasiStationary.SinglePhase.Visualization. In case it will be decided in the future to move everything into Modelica.Visualization, this may be done.

AFAIK the animation (quasi standardized in ModelicaServices, also supported by OMEdit) does not support text labels. I'd like to encourage Dietmar to make a proposal how to handle text labels in animations.

The MultiBody World has the x, y and z text labels built from cylinder visualizers.
There also is a Dymola feature (and #1904 to update ModelicaServices) for texture support.

@AHaumer Sorry, I'm not a OpenModelica developer and I'm not talking about the text labels but that I simply don't see what the visualisation should look like since it does not seem to work in Dymola (and especially not in OMEdit). Hence it would be nice if @christiankral could do a short video what the intention is.

Please mind that you need to load the tool-specific ModelicaServices library first when playing with the visualizers of the GitHub hosted MSL.

I checked Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance and Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance and attached the videos (Windows Media Video) from SimulationX.
T2219.zip

One thing that I'm missing (and I know that my students will ask for that too at once ;-) ) is some labels on the vectors. I still like to check the diagram layer visualisations before approving this.

See comment of #2172.


Set router selection jitter to 1 for REED2.

Current coverage is 72.63% (diff: 100%)

Merging #755 into master will increase coverage by 0.80%

@@             master       #755   diff @@
==========================================
  Files           105        106     +1
  Lines         15779      15788     +9
  Methods        2150       2153     +3
  Messages          0          0
  Branches       1875       1875
==========================================
+ Hits          11333      11467   +134
+ Misses         3824       3705   -119
+ Partials        622        616     -6

Powered by Codecov. Last update 462ee0d...17e5411


Draft:Fix evaluate

The evaluate method of the CaseExpression does not work.
I do not understand the code which computes it in the main branch so maybe I'm missing something.

I think this has always been buggy.  Let's add a unit test to verify it's working now.
Some of the expressions have not implemented evaluate, for example, IIFFunction and ChooseFunction.  Those can be implemented in a future PR.
One other note: AggFunction.evaluate() is currently just passing through to the inner evaluate(), which gives expected behavior if we assume that the bindings represent the results that have already been aggregated on the server.  However, if someone were expecting this to perform the actual aggregation, it would give unexpected results.  I assume this is OK, but I'm mentioning it in case you can think of problems with this behavior.

FWIW, I think this unit test is the only place we are currently testing evaluate().  The tests for BooleanCompare are excessive.  I think there are also a couple tests under tests/query that indirectly exercise the evaluate() code path for ArithmeticExpression

OK, I added some unit tests.  I noticed some inconsistency between handling string literals versus bound string values.  When I bind to a string, as in the test named test_string_bound, the call to evaluate() returns an unadorned string, as expected.  However, when I set the value to a string literal, as in test_simple, the call to evaluate() results in a string that includes the string quotes as part of the string.  This is not the correct behavior.
This isn't a bug in the CaseExpression code, BTW, but is something that likely affects all calls to evaluate() that can involve string literals.  The issue stems from the fact that class Literal always includes the quotes in its value, which is the right behavior when outputting to something that needs to adhere to the Query grammar.  And, since the method for Literal.evaluate() simply returns the value, the value has spurious quotes.  I can think of two options to fix it:

Change Literal.evaluate() to strip surrounding quotes.  This way, the str() method would work as expected when outputting grammar, and bindings would work.  Benefit of this approach is that it's simple to implement.
Update the Literal class to have a field to store the quote character, then change the parser to extract and store the quote character.  Modify the str() function on Literal to wrap the value in the detected quote character.  Benefit of this approach is that it might work better with varying quote characters across DB platforms.

Thoughts?

OK, I fixed the parser per proposal 2 above.  I'm approving, but please take a look and make sure my changes are OK


Algolia search modal appears when entering a keyboard shortcut to use a browser's "Find" function

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
When using Algolia search, if a user selects an anchor link (links that show # or ≡) in the search modal, the modal is displayed again when the user enters a keyboard shortcut (⌘ + F on macOS; Ctrl + F on Windows) to use the browser's "Find" function. The issue doesn't occur when selecting a link to a page without an anchor (pages with the page icon).

[!NOTE]
We are currently on Docusaurus 3.2.1 in production and want to upgrade to Docusaurus 3.4.0, which fixes #10162 that we had encountered. But we have halted upgrading for now because both 3.2.1 and 3.4.0 have different issues related to the Algolia search modal, which is why I don't have an environment for this. However, this issue can be reproduced on the latest version (3.4.0) of the Docusaurus docs site, as shown in the video below. (Sorry for the low-quality video; GitHub requires videos to be 10 MB or less.)

https://github.com/user-attachments/assets/d133fb0a-420f-48f8-a8b6-9b7ecba045c0
In addition, when the user presses ⌘ + F on macOS; Ctrl + F on Windows, an f is added to the search, which causes f to appear as a keyword that has been searched for in the Algolia dashboard.
Reproducible demo
See attached video.
Steps to reproduce

Select the Algolia search bar. When the modal opens, enter a search phrase.
Select an anchor link (# or ≡) to navigate to that page.
On that page, press ⌘ + F on macOS or Ctrl + F on Windows. The page will open the Algolia search modal instead of the browser's "Find" function and add an f to the search.
Close the modal.
Press ⌘ + F on macOS or Ctrl + F on Windows again. The page will open the browser's "Find" function as expected.

Expected behavior
After selecting an anchor link (links that show # or ≡) in the search modal, pressing ⌘ + F on macOS or Ctrl + F on Windows should display the browser's "Find" function instead of the Algolia modal.
Actual behavior
After selecting an anchor link (links that show # or ≡) in the search modal, the modal is displayed again when the user uses the browser's "Find" function (⌘ + F on macOS; Ctrl + F on Windows).
Your environment

Public source code: https://github.com/scalar-labs/docs-scalardb
Public site URL: https://scalardb.scalar-labs.com/docs/
Docusaurus version used: 3.4.0 (tested locally); 3.2.1 (production)
Environment name and version (e.g. Chrome 89, Node.js 16.4):

Google Chrome 126.0.6478.183
Brave 1.67.115
Safari 17.5
Microsoft Edge 126.0.2592.113

Operating system and version (e.g. Ubuntu 20.04.2 LTS): macOS 13.6.7

Self-service

[ ] I'd be willing to fix this bug myself.

Hmmm, can reproduce. This looks like an Algolia bug since we don't maintain this component at all—I think.

Hey, I've managed to reproduce on the Docusaurus website indeed, but not on https://docsearch.algolia.com/docs/what-is-docsearch/ which is also running Docusaurus website (2.x.y older version) but in the latest DocSearch version. Since there was no changes made on DocSearch lately, I doubt there is a regression on our side.
I found an easier way to reproduce, but it seems like on the Docusaurus website, you don't have the visual feedback when a DocSearch key is pressed so I recommend trying on our other website which runs 3.4.0

Go to any page
Press any meta+key browser native shortcut e.g. cmd+f, cmd+p
Escape to close the browser native window
See the meta key pressed in the search box (cf. image)
Try to press any key, the modal keeps opening, the meta key is trapped in an toggled state

Maybe this is related?

Oh! Good find. It's likely.

See the meta key remaining on pressed state in the search box (cf. image)

@shortcuts is this new? I never seen that on our own website and still don't see it now even trying hard to see the search button showing the key pressed 😅

I found an easier way to reproduce, but it seems like on the Docusaurus website, you don't have the visual feedback when a DocSearch key is pressed so I recommend trying on our other website which runs 3.4.0

Why don't we have this visual feedback? And why do you have in on your websites?

I found an easier way to reproduce

Try to press any key, the modal keeps opening, the meta key is trapped in an toggled state

I see the meta key being stuck yes
But pressing any key does not change anything to me, I don't see the algolia modal opening, and the only way for me to reproduce involves the initial repro steps (clicking on an anchor, then ctrl+f)

Maybe this is related? 0ce7c13

Probably, but I don't see anything suspicious about this code. We don't handle the meta key state ourselves as far as I know and not mounting/remounting the dialog container shouldn't lead to such a bug IMHO.
I believe it's an Algolia issue that only appeared due to our recent change. The solution @mxschmitt provided in https://github.com/facebook/docusaurus/pull/10342 works, and we could merge it today to move on, but that seems more like a workaround than the ideal proper solution. Let me know if you plan to fix it, otherwise we'll merge @mxschmitt PR.

@shortcuts is this new? I never seen that on our own website and still don't see it now even trying hard to see the search button showing the key pressed 😅

It wasn't there when I was still working on DocSearch, so it should be at most 1 years old cc @8bittitan @levimichael

Why don't we have this visual feedback? And why do you have in on your websites?

That's a great question, I guess keypress event listeners from both sides clashing? In any case, I think it's best for you to go with the workaround in the meantime (if possible), until the DocSearch team tackles the issue

Thanks @shortcuts , we'll merge the PR in the meantime then 👍

Reviewing the code of DocSearch's useDocSearchKeyboardEvents(), I believe the issue happens because it calls your handleInput() function on the "keydown" event. Thus, if you press Ctrlf and release Ctrl before releasing f, the search input will capture the character f.


Update Database/Query/Param value property to accept any type

Description
When trying to inserting into database any non-string value it results in a TypeError.
 TypeError: Phractico\Core\Infrastructure\Database\Query\Param::__construct(): Argument #2 ($value) must be of type string, int given, called in /app/src/Core/Infrastructure/Database/Query/Operation/InsertFacade.php on line 53 in /app/src/Core/Infrastructure/Database/Query/Param.php on line 9

https://github.com/yknsilva/phractico/blob/b34b9edd869c5f915296df8d6d13292268c48c4a/src/Core/Infrastructure/Database/Query/Param.php#L11

I want to work on this issue.

I want to work on this issue.

Hi, @Hanagojiv! Feel free to contribute through a pull request ✌🏼


Exchange Integration Documentation & Example

I need a tutorial for exchanges to automate accepting deposits with graphene CLI wallet

I would like a python scrypt that can connect to a witness node and automatically print out a log file anytime a deposit has been received with at least N confirmations

Three different strategies suggest themselves:

(1) Implement some kind of payment protocol (see #119 ) to allow the exchange to communicate off-chain to the user a blob containing the tx amount and memo

(2) Have the exchange publish a proposed transaction for the deposit, which must be signed by the user

(3) Give the user a memo they must enter, as in BitShares 1.x.

Approach (3) requires the least time for implementation, but requires more from the users.  (1) and (2) will need specific UI support in the wallet.

I will start writing a tutorial/howto using the websocket API and describe how to subscribe to objects and get notified on incoming transactions .. I would begin with putting them into a pending-deposits array and verify that they are still valid after N confirmations ..
Python script will follow once I have the testnet running and can play with transactions.
Once quick question though: Which object should I subscribe to when monitoring an account for incoming transactions?

Reading about #234, I would start implement (1) thus subscribe for (a) new blocks and (b) the account name's history. Simplest thing to do is handle the confirmation verification separately and either fetch the transaction from the blockchain again after N confirmations or track prev block attribute on each block notification such that you can link N blocks in a row. That would result in one less calls to the node but would require some error handling in python in case of a fork ..

You should subscribe to the account with get_full_accounts().  We're working on a plugin to filter by confirmations, see #237.

#237 does not filter by confirmations per se; it will create a node which only updates chain state when sufficient confirmations have been accumulated.

@theoreticalbts: get_full_accounts() is a call, but wouldn't I want to subscribe to an object? I'd rather use notifications instead of polling.

@xeroc get_full_accounts gives you a subscription

Ok. Thanks!

How am I supposed to read the memo?
Currently, I am connecting to the witness via websockets to get a notification on changes to my account (subscriptions from get_full_account) .. then I would like to read the transaction history including the memo from another connection to the cli_wallet .. (#252 #251)
The only way I found so far to decode the memo was get_account_history (cli_wallet) .. which however was unable to decode my memo because the decoding key was missing from the wallet :(
Anyway .. what would be the easiest way to get the decoded memo of a single transaction out of any of those two (witness and client) connections?


Add support for weave password in RKE

Adds support for weave encryption in RKE - https://github.com/rancher/rke/pull/781#issuecomment-406032648

Sorry, I’ll get it today.
--
Mike Kelley
Sent with Airmail
On Nov 28, 2018, 12:04 PM -0800, Alena Prokharchyk<EMAIL_ADDRESS>wrote:

@alena1108 commented on this pull request.
In apis/management.cattle.io/v3/rke_types.go:

@@ -371,6 +373,10 @@ type CanalNetworkProvider struct {
FlannelNetworkProvider yaml:",inline" json:",inline"
}

+type WeaveNetworkProvider struct {

  Password string `yaml:",omitempty" json:",omitempty"`

@codezomb do you think we can update the pr any time soon? I'd like to merge it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@alena1108 I've pushed the update, sorry for the delay!

@codezomb looks like drone is not happy, could you check? Also if you could squash 2 functional commits into 1 - and have one extra commit with the generated code - that would be great.


Remove 'using' directive, it was making compilation fail

Greetings. Thank you for the nice mapmap package. I don't use it myself, but some of my dependencies do.
I found an issue when compiling mapmap with an external TBB (I have a lot of dependencies, and including their code internally as your project does is not practical. I compiled with TBB 2021.5.0 from conda-forge.)
The compilation was failing because of an "ambiguous tbb" error, which I traced to your code having the line "using namespace oneapi". Normally such things are not good in header files, as they affect all the namespace resolution for anybody who ends up using your code one way or another.
The mapmap code, its tests, and demo do build with this line removed. If it also works for you, maybe this change can be accepted as part of your code. Thanks.

It looks that the automated build for no reasons connected to the pull request; it failed even before starting to build.


Use DEBUG as log level on prod instance

Signed-off-by: Frantisek Lachman<EMAIL_ADDRESS>
N/A

Nice, I also have one, a line-shorter, patch :-) https://github.com/packit/packit-service/pull/1366
Sorry, missed that..;)


Is there a feature to enable auditing of configuration key-value pairs

Hi i want to enable auditing for key-value pairs on addition updation or deletion of config key/value. Is there a feature/ solution to support this requirement.
Do we have any best practice recommendations to achieve the same.

Auditing is enabled by default and we are currently working on exposing auditing logs to Azure Monitoring, where you can setup to export logs into several destinations (Azure Storage, Event Hub, Log Analytics Workspace). It will be done in the next couple weeks.
Once that is finished, you can query your logs in Azure Portal using Azure Data Explorer (Kusto) query language or hook up with Storage/Event Hub for other usages.

Hi, I see the audit logs for App configuration have two kind of operation getting logged i.e set-key value and other is list-config-sore. How can i get the UPN for set-keyvalue operation. Can we see this as a feature for Audit purpose?

@shenmuxiaosen any suggestions to @snehafar's question?

@snehafar Yes, this is a feature that we can add. BTW, not all data plane requests(key value related) can have UPN. If the request is authenticated with connection string, only key id is audited. If it is AAD, UPN will be available for personal identity only instead of service principal.

@snehafar Yes, this is a feature that we can add. BTW, not all data plane requests(key value related) can have UPN. If the request is authenticated with connection string, only key id is audited. If it is AAD, UPN will be available for personal identity only instead of service principal.
Thanks for the reply @shenmuxiaosen  any ETA for thi? The problem that we are facing at present is we are unable to identify who has performed the modification on the app configuration "feature manager" when we take out the audit logs.

@shenmuxiaosen Also the data plane request operation we are referring here is for "set-keyvalue" operation Right?
Since for "list-config-store" operation I can see the  UPN.

@shenmuxiaosen Also the data plane request operation we are referring here is for "set-keyvalue" operation Right? Since for "list-config-store" operation I can see the UPN.

Yes. We are working on adding UPN for "set-keyvalue". Considering the holiday season, we are planning to roll it out by the end of this year. BTW, to know the caller, we can still use the appId, tenantId, and objectId to identity which identity is used for the "set-keyvalue" operation. If the request authenticated with connection string, then only secret id will be available.

@shenmuxiaosen Also the data plane request operation we are referring here is for "set-keyvalue" operation Right? Since for "list-config-store" operation I can see the UPN.

Yes. We are working on adding UPN for "set-keyvalue". Considering the holiday season, we are planning to roll it out by the end of this year. BTW, to know the caller, we can still use the appId, tenantId, and objectId to identify which identity is used for the "set-keyvalue" operation. If the request authenticated with connection string, then only secret name will be available.

Thanks @shenmuxiaosen .
But w.r.t caller details the app id,objectid and tenant id comes only when list-configstore-keys operation is performed and also the caller identity type shown is upn and so can see the upn details as well. Problem is when set-key-value operation happens I dont see any object id,tenant id,app id rather get to see caller identity type as "KeyName" from which cannot figure out the user details. Also this caller identity is coming same for any user who goes and do some modification in app configuration.

@shenmuxiaosen Also the data plane request operation we are referring here is for "set-keyvalue" operation Right? Since for "list-config-store" operation I can see the UPN.

Yes. We are working on adding UPN for "set-keyvalue". Considering the holiday season, we are planning to roll it out by the end of this year. BTW, to know the caller, we can still use the appId, tenantId, and objectId to identify which identity is used for the "set-keyvalue" operation. If the request authenticated with connection string, then only secret name will be available.

Thanks @shenmuxiaosen . But w.r.t caller details the app id,objectid and tenant id comes only when list-configstore-keys operation is performed and also the caller identity type shown is upn and so can see the upn details as well. Problem is when set-key-value operation happens I dont see any object id,tenant id,app id rather get to see caller identity type as "KeyName" from which cannot figure out the user details. Also this caller identity is coming same for any user who goes and do some modification in app configuration.

This means requests authenticated with access keys (connection string) instead of using AAD. Anyone who has this key can use it to auth with server. There is no way to identify who is holding this key. For each App Configuration store, there are four access keys read-write vs read-only, primary vs secondary. The keyName in the audit log is the key identifier as in this screenshot.

Yes. We are working on adding UPN for "set-keyvalue". Considering the holiday season, we are planning to roll it out by the end of this year.

@shenmuxiaosen is this done?

The UPN is part of the auditing logs if a key-value is created/modified/deleted by a user with AAD auth (not using the connection string).


add a license.md file to this repo

a filled-in version of this:
http://opensource.org/licenses/MIT
The MIT License (MIT)
Copyright (c)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

added.


Nested bar plots in mpl

The Bars example from http://pyviz.org/tutorial/01_Workflow_Introduction.html works well in Bokeh:

But gives a blank plot in Matplotlib:

Any ideas?

The matplotlib BarPlot needs a total rewrite, there's already two issues about it https://github.com/ioam/holoviews/issues/1407 and https://github.com/ioam/holoviews/issues/1047.


Adjusting HBase Support

Remove back level versions of HBase that are not designed for Hadoop 2.
If someone really needs these very old versions and are re-building them for Hadoop 2,
then they can also rebuild Titan for these old versions.

#1225 introduced a one-line conflict with this, but it would be trivial to resolve.  You don't need to rebase just for that one change.
I was thinking about this over the weekend.  Dropping 0.96 would be fine with me.  No love lost there.  Whether 0.94 is really and truly dead yet is not as obvious to me, considering the special niche it fills (supporting ancient deployments that people can't take down to migrate).
This happened a year ago, but it was inconclusive<EMAIL_ADDRESS>I read this when it was posted, but it's both sort of old (from February) and doesn't seem to say exactly what's happening to 0.94.  The chart is suggestive, but I think the text is silent.  https://blogs.apache.org/hbase/entry/start_of_a_new_era
And the most recent HBase 0.94 release postdates both of those things (0.94.27 on Mar 25).
I really do want to drop HBase 0.94 support when it dies upstream, since it will immediately cull a bunch of old dependencies, including our single oldest Guava version dependency (IIRC).  I'm just not sure it's actually dead yet.  It seems to be undead, but maybe I just missed the memo.  Any thoughts or links about that?

Since TinkerPop 3 exclusively supports Hadoop 2, I was trying to reduce the Titan support matrix to more current versions designed for Hadoop 2 with this pull request to keep things sane.
While it is possible to build HBase 0.94 to work with Hadoop 2, per this links suggestion (I have not tried it):
[
http://hbase.apache.org/0.94/book.html
..are you trying to talk to an Hadoop 2.0.x from an HBase that has an Hadoop 1.0.x client? Use the HBase built against Hadoop 2.0 or rebuild your HBase passing the -Dhadoop.profile=2.0
]
The following thoughts guided this proposal:
a) it seems fair to assume if someone is still on HBase 0.94 that they are using an older version of Titan too.
b) It isn't clear HBase 0.94 can participate in the OLAP pieces of Titan (I didn't test this but suspect this to be the case), which means Titan+TP3.x isn't really fully supporting HBase 0.94 anyway.
The vast dependency matrix for Titan makes the build complex and the testing and support even more complex and expensive.  For example, what are we to now do about Solr 5.4 which has breaking API changes ?   What is your guideline on adding/taking away support for older versions of dependencies ?  I suggest we might need a more cut and dry policy (beyond what we think is being used) to make things saner.  Does that make any sense or is that just babble ?

I have been running with these proposed changes in a forked build that is equivalent to Titan 1.1.x with the latest TinkerPop support (3.1.0,  3.1.1) successfully now for several weeks.  Since no changes are being pulled into Titan, it isn't clear anymore what the state of the main branch of Titan is with regard to these changes.  But these changes make nice matrix clean-ups and add HBase improvements that work for me with OLTP and OLAP.

Hi. As suggested in #1269, I tried to see if #1268 was resolved in this branch but I had issues trying to run tests, specifically in titan-hadoop-2. Also note there were two dependency definitions (hbase-094 and hbase-096) that needed to be removed from titan-hbase to get the branch compiling.
See below for the test error. It looks like it might be a dependency issue relating to jersey-server. Any thoughts?
git remote add graben1437 https://github.com/graben1437/titan.git
git fetch graben1437
git checkout hbase-support1
mvn clean install -DskipTests -Phadoop2 -Dmaven.repo.local=$HOME/.m2/graben1437
mvn verify -Phadoop2 -Dmaven.repo.local=$HOME/.m2/graben1437 -Dit.test="**/CassandraInputFormatIT.java" -rf :titan-hadoop-2
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 42.543 sec <<< FAILURE! - in com.thinkaurelius.titan.hadoop.CassandraInputFormatIT
testReadGraphOfTheGods(com.thinkaurelius.titan.hadoop.CassandraInputFormatIT)  Time elapsed: 33.964 sec  <<< ERROR!
java.lang.IllegalStateException: java.lang.NoClassDefFoundError: com/sun/jersey/spi/container/servlet/ServletContainer
	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
	at org.apache.tinkerpop.gremlin.process.computer.traversal.step.map.ComputerResultStep.processNextStart(ComputerResultStep.java:80)
	at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:126)
	at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:37)
	at org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.next(DefaultTraversal.java:154)
	at com.thinkaurelius.titan.hadoop.CassandraInputFormatIT.testReadGraphOfTheGods(CassandraInputFormatIT.java:30)
Caused by: java.lang.NoClassDefFoundError: com/sun/jersey/spi/container/servlet/ServletContainer

The test error was a problem in the source branch, tp3-ci-31 and it looks like it's fixed in titan11. I merged and am testing issue #1268.


Fix choppy AppBar collapsing with RecyclerView

computeVerticalScrollOffset doesn't return accurate values - they can jump by 30px or more if all items don't have the same height. If possible, get the first ViewHolder and get it's top position and use it as the scroll offset.

Sweet. Let me check.

Hi @PhpXp
Can you describe what issue are you facing? What type of SmoothAppBarLayout are you using? Please send some code. The more detail you send the better I can give advice and troubleshoot.
If you check the code, you will see onScrollChanged method has a param called accuracy which indicates when the RecyclerView is actually hitting top or not. In most case, it's enough to handle.

Oh right, here's a screen record: https://youtu.be/nH3ZspBldEw
The jumping can be even more extreme when the heights of the items in the RecyclerView vary even more.
Here's someone on StackOverflow having a similar issue: http://stackoverflow.com/q/30361403/971972
And here's the code (don't mind the different package name, I downloaded the source to support minSdk 8):
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
    android:id="@+id/swipe_layout"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/darkerBackground">

    <android.support.v4.widget.SwipeRefreshLayout
        android:id="@+id/bus_list_refresh"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <android.support.v7.widget.RecyclerView
            android:id="@+id/prihodi_recyclerview"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:clipToPadding="false"
            android:paddingBottom="4dp"
            android:paddingTop="172dp"
            tools:listitem="@layout/item_napoved"/>

    </android.support.v4.widget.SwipeRefreshLayout>

    <com.myapp.views.smooth.SmoothAppBarLayout
        android:layout_width="match_parent"
        android:layout_height="168dp">

        <android.support.design.widget.CollapsingToolbarLayout
            android:id="@+id/collapsing_toolbar"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:theme="@style/MyToolbarTheme"
            app:contentScrim="?attr/colorPrimary"
            app:expandedTitleMarginEnd="64dp"
            app:expandedTitleMarginStart="48dp"
            app:layout_scrollFlags="scroll|exitUntilCollapsed">

            <android.support.v7.widget.Toolbar
                android:id="@+id/mainToolbar"
                android:layout_width="match_parent"
                android:layout_height="?attr/actionBarSize"
                android:theme="@style/MyToolbarTheme"
                app:layout_collapseMode="pin"
<EMAIL_ADDRESS>
        </android.support.design.widget.CollapsingToolbarLayout>

    </com.myapp.views.smooth.SmoothAppBarLayout>

</android.support.design.widget.CoordinatorLayout>

Thanks @PhpXp
I will check it when I am back home.

I am busy recently for the trip to Google I/O. I will have some free time this weekend. Let me think more about the issue and solution. I can't reproduce it on my side though.


[10.x] Named static methods for middleware

Continuation of https://github.com/laravel/framework/pull/46219. Framework first version of "HasParameters".
This PR introduces a more "typed" API for all the first party middleware - which gives a nicer DX than the "stringy" API, in my opinion.
Route::get('users', UserController::class)
    ->middleware([

        Authenticate::class, // default.
        Authenticate::using('web'), // specify a guard.
        Authenticate::using('web', 'another'), // specify multiple guards.

        AuthenticateWithBasicAuth::class, // default.
        AuthenticateWithBasicAuth::using('web'), // specify a guard.
        AuthenticateWithBasicAuth::using('web', 'field'), // specify field
        AuthenticateWithBasicAuth::using(field: 'field'), // supports named arguments

        Authorize::using('access-nova'), // specify an ability.
        Authorize::using('store', Post::class), // specify an ability with a model.
        Authorize::using('update', 'post', 'comment'), // specify multiple models.

        EnsureEmailIsVerified::class, // default.
        EnsureEmailIsVerified::redirectTo('route.name'), // specify a redirect.

        RequirePassword::class, // default.
        RequirePassword::using('route.name'), // specify a redirect.
        RequirePassword::using('route.name', 100), // specify both.
        RequirePassword::using(passwordTimeoutSeconds: 100), // supports named arguments

        SetCacheHeaders::using('max_age=120;no-transform;s_maxage=60'), // using a string.
        SetCacheHeaders::using([
            'max_age=120',
            'no-transform',
            's_maxage=60',
        ]), // using a list of values.
        SetCacheHeaders::using([
            'max_age' => 120,
            'no-transform',
            's_maxage' => '60',
        ]), // using a hash/list of values.

        ValidateSignature::class, // default (absolute).
        ValidateSignature::relative(), // relative URL.
        ValidateSignature::absolute(), // absolute URL. This is the default, but provided a named method for completeness.

        ThrottleRequests::using('gold-tier'), // named rate limiter
        ThrottleRequests::with(100, 1, 'foo'), // custom with attempts, decay, and prefix
        ThrottleRequests::with(prefix: 'foo'), // supports named arguments.
    ]);

If we made this the documented approach, we could potentially remove the middleware aliases from the kernel.
https://github.com/laravel/laravel/blob/5070934fc5fb8bea7a4c8eca44a6b0bd59571be7/app/Http/Kernel.php#L48-L66

I feel that using potentially works for all cases, and should probably be available for all the middleware classes.
Authorize::using('admin') may read nicer than Authorize::can('admin').
Also, I think middleware aliases have their place, especially for simple middleware with few or no parameters.

I would suggest naming the using() method to withParameters().
I think this functionality should either be implemented in a base middleware class which all middleware should extend or a trait like the original package, this will be helpful when creating for custom middleware with the make:middleware command to not have to write this functionality manually.

I've renamed Authorize::can(...) to Authorize::using(...).

Don't forget to send an invoice to Tyler for doing work on this framework. As it is sponsored and makes money. You deserve to be paid for your work.


Adding release flag...

@subprotocol @richardstartin
What is wrong with this PR?
This should fix...
https://github.com/RoaringBitmap/RoaringBitmap/issues/353
But it seems to find no problem?

Coverage remained the same at 91.607% when pulling 32dbd56c03314d38b43de16e27efe85669b3f361 on addingreleaseflag into 16b901bd048a8ce7a0ec07bf53c6115a47b80db4 on master.

@richardstartin Amazing, we can now build under OpenJDK 8!


terminal.integrated.defaultProfile.windows not working on startup

Issue Type: Bug
Hello!
current behavior:
From when I upgraded to this version when I set the default terminal to git bash and start VScode, for less than 2 seconds it shows starting... in the terminal's drop-down menu and then opens PowerShell  but after that when I add a new terminal git bash opens which is the default.
Expected behavior:
I expect git bash which I have set as my default terminal profile to be opened at startup and afterward.
VS Code version: Code 1.56.0 (cfa2e218100323074ac1948c885448fdf4de2a7f, 2021-05-04T22:09:06.405Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
AMD Athlon(tm) II X2 270 Processor (2 x 3416)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: disabled_offoop_rasterization: unavailable_offopengl: enabled_onrasterization: unavailable_offskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
6.00GB (2.82GB free)

Process Argv
--crash-reporter-id 175e6498-4ca0-4d8a-815a-1ce71fc18411

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvsnew554cf:30291488
pythontb:30283811
vspre833:30267464
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158cf:30286554
vscgsv2:30294352

I have problems with this as well, it looks like if you simply start the terminal too quickly after a vscode project is loaded, then the defaultProfile is not loaded. If I exit the first terminal and start another one, the terminal profile is correctly loaded.

Which affects when a terminal is restored from a previous session which is also too quickly.

If I simply wait until most/all of my extensions are loaded and their respective indicators appears in the status bar, then the profile is correctly loaded - even on startup.

@Tyriar when we can expect the next VSCode patch release? Every time, I open VSCode default bash terminal is not opened and on Windows Powershell is opened!

In the meantime the settings terminal.integrated.shell.{os} and terminal.integrated.shellArgs.{os}, though deprecated, work fine.


SSL Certificate issues

When running the script, at first I encountered the now obvious issue of a self signed certificate, but then, after installing a legit certificate I still get an error:
**Max retries exceeded with url: /api/dcim/manufacturers/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: **CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))
The certificate is correct, and chain seems present.
Can you help me fix this?
Thanks
Netbox v3.3.1

There should be an ignoreSsl flag you can pass
See: https://github.com/minitriga/Netbox-Device-Type-Library-Import/pull/30

Yes. That's what helped. Changed both options to False and it worked. But still, it shouldn't fail with a correct certificate.
Anyway, thanks a lot, this script is great.
Cheers.


Glowstone disappears in MP

Basically #32 , although it happens to me in MP, with server running 24/7 and chunks i'm using the glowstone in being always loaded (so no chunk loading / unloading whatsoever). Some blocks (lets say 2-5% in 24h) just randomly lose their glowstone feature over time.
Version: forge-1.12.2-<IP_ADDRESS>36, MysticalLib 1.2.1, Blockcraftery 1.3.1, FTB Ultimate Reloaded 1.7.1 (i manually installed the new mysticallib and blockcraftery versions to check if the fix was in)

What type of blocks? Everything but slabs and regular blocks have that issue currently

I use only regular blocks with glowstone on the server currently

Currently experiencing this issue with slabs. Can't make it work, it consumes the glowstone and doesn't give it back, too.

Currently experiencing this issue with slabs. After right clicking the framed slab, the light works for one second then stops.

I experience this on every single framed block. It briefly lights up, then off.

Currently experiencing this issue with slabs. After right clicking the framed slab, the light works for one second then stops.

I experience this on every single framed block. It briefly lights up, then off.

blockcraftery-1.12.2-1.3.1.jar
Getting the same thing. Applying glowstone works for about 1 visible tick, then disappears.

Currently experiencing this issue with slabs. After right clicking the framed slab, the light works for one second then stops.

I experience this on every single framed block. It briefly lights up, then off.

blockcraftery-1.12.2-1.3.1.jar
Getting the same thing. Applying glowstone works for about 1 visible tick, then disappears.

Me too, playing ftb revelation using 1.3.1 blockcraftery on a small server, full blocks and stairs - havent tested anything else - just eat as much glowstone as I feed them, turning on only breifly each time

I'm posting this in issue on the server I am playing atm, antimatter chemistry 2 on mineyourmind
the mod version is 1.12.2-1.2.0 so it might be fixed in later versions, is it possible to backport-patch
for 1.2.0, or is ac2 able to upgrade to a newer version without conflict?


Use normal constructors for EasingCurve, FunctionCurve, ConstantCurve

Objective
We currently use special "floating" constructors for EasingCurve, FunctionCurve, and ConstantCurve (ex: easing_curve). This erases the type being created (and in general "what is happening" structurally), for very minimal ergonomics improvements. With rare exceptions, we prefer normal X::new() constructors over floating x() constructors in Bevy. I don't think this use case merits special casing here.
Solution
Add EasingCurve::new(), use normal constructors everywhere, and remove the floating constructors.
I think this should land in 0.15 in the interest of not breaking people later.

I don't feel particularly strongly about this either way, but some notes here about why these are this way:

When the Curve API was first conceived, most of the curve return types of adaptor methods were erased. I moved away from that later for various reasons, but this is sort of a vestige of that.
The return types of these library functions are not really "worth knowing" in a meaningful way; all of their useful methods just derive from them being curves. That is, the EasingCurve/FunctionCurve/ConstantCurve namespace is effectively otherwise unused.
It's significantly fewer keystrokes :)


add a new sub page on updating to dynamo 3.x

replaced by https://github.com/DynamoDS/DynamoPrimerNew/pull/17


feat: Add init migration adp flex dev

List of Changes

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

not needed


OCPBUGS-14410: Add permissions to the speaker to read configmaps

In order to process the extra frr config, the speaker must have read permissions.

/retest

/lgtm

/test metallb-e2e-metal-ipi-ovn

/override ci/prow/ci-index-upgrade-bundle

/override ci/prow/operator-e2e-upgrade

/label backport-risk-assessed

/label cherry-pick-approved