Undistort Matlab

Hello everyone. I'm tring to undistort the image in matlab but I only found how todo it in python. https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/t265_stereo.py
Any material?
Thanks

Hi @jdanielhoyos  MATLAB has a function called undistortImage.
https://uk.mathworks.com/help/vision/ug/remove-distortion-from-an-image-using-the-cameraparameters-object.html
A RealSense user with a 400 Series camera at https://github.com/IntelRealSense/librealsense/issues/10363#issuecomment-1086717404 to undistort with the instruction below.
[J,~] = undistortImage(imread(right_images(i)), params.params.CameraParameters2);

Hello @MartyG-RealSense . I did my calibration using the calibrator app, but as it is mentioned in the post you cite, it is not ideal, so when I do the disparity map, it is just a mess. Is there an official calibration parameters for params.params.CameraParameters2? Thanks

A RealSense user at https://github.com/IntelRealSense/librealsense/issues/2770 who used the MATLAB calibrator app also had problems.
A RealSense camera's complete intrinsics and extrinsics can be obtained using the RealSense SDK's rs-enumerate-devices tool in calibration information mode by launching the tool with the instruction below.
rs-enumerate-devices -c

Hi @jdanielhoyos  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


data-toggle failing when an ID is a number

I have a scenario with a bunch of data-toggle="collapse" href="5" etc... With the change to using document.querySelectors the lookup for such IDs is failing. This causes the data-toggle directive to no longer work for code that was working previously.
In my case this line was failing.
Please refer to this example in Chrome 68+ to get an idea of the failure scenario. With my setup I get the following output:
JS error: #1
JQ found: #1

JS found: #two2
JQ found: #two2

JS error: #3three
JQ found: #3three

JS not found: #invalid
JQ not found: #invalid

Operating system and version: Arch Linux, OSX, RHEL, Windows 10
Browser and version: Chrome 68
Some possible fixes:

Return to using jQuery for resolving selectors,
Convert the first letter of the ID to a unicode escape string
Use document.getElementById or document.getElementByClassName whenever possible

I don't think this is a Bootstrap issue. ID's can't start with a number
REF: https://css-tricks.com/ids-cannot-start-with-a-number/
I'd advise on changing your links to not start with a number.

@coliff JQuery, and hence Bootstrap have worked with numeric IDs for literally years at this point. Sure, it's not standard compliant, but it's still rather strange to pull in a new patch version, and suddenly experience a bunch of silent failures on code that's been working for years. Certainly, I have advised my clients to change the IDs to use strings, but only after this issue got bubbled up to me after several people spent quite a bit of time on it. Many developers I work with aren't comfortable digging through library code to find the reason for a silent failure, and those that are tend to be pretty heavily loaded.
I understand the underlying reasoning, and I can respect the desire to follow standards. However, this is still something that can bite a anyone that's done IDs incorrectly quite severely. If this is not an issue that you believe should be fixed, it would be good to at least add a visual warning to direct people to the proper solution. This can be as simple as updating getSelectorFromElement to throw an error if the ID is not valid.

I'll make a patch to use getElementById when it's possible @TikiTDO 😉 thanks for your feedback !


Added check to see if the driver is invalid

Description
Warn the user if the provided driver is not recognized, before op template resolution
Issue : 1006

I think this won't work for Scenarios, if thats the case you might want to add this check for it as well.

I think this won't work for Scenarios, if thats the case you might want to add this check for it as well.

I tested for the Scenarios also. It works.


fix(observables): get content-length from GET not HEAD

signed URLs from AWS S3 don’t give the content-length in a HEAD request
this fix uses a standard GET to get the content-length and destroys the request before proceeding to download data, which is practically equivalent to calling HEAD.

I know you weren't keen on doing it this way ... but it does seem reasonably sensible, considering that an aborted GET is effectively the same as a HEAD request ... plus ... it works ;-)
I was able to download a signed AWS URL in multi-parts with this fix

from the looks of things, I may have to mock out the destroy function in the integration tests.
I'll take a look at this tomorrow.

is this ready for me to merge?

Added missing tests. ready to be merged.


Offer a multiselect plugin upgrade experience

You can currently upgrade plugins via spin plugins upgrade foo or spin plugins upgrade --all.
We could also allow spin plugins upgrade without the name or flag to launch an interactive experience similar to the templates one, in which it displays a list of plugins and the user ticks which one to upgrade.

I would vote for plain spin plugins upgrade to be equivalent to --all.

Heh... that was what I originally did with templates (so to get the multiselect UI you had to do spin templates upgrade --ask).  But other people preferred "ask by default and have a flag for --all".  I'd be happy to go back if a wider sample of opinion says otherwise.  But regardless, I think we should use the same default in both places.


Bug: authStore did not save token and model.

authStore did not save token, model on device persistent storage.
final auth = await pb.collection('users').authWithPassword('test_username', '12345678');
print(pb.authStore.token);
print(pb.authStore.isValid);
print(pb.authStore.model);

Result
I/flutter (18317):
I/flutter (18317): false
I/flutter (18317): null

I try to manually save the token and model result are same.
final auth = await pb.collection('users').authWithPassword('test_username', '12345678');
pb.authStore.save(auth.token, auth.record);
print(pb.authStore.token);
print(pb.authStore.isValid);
print(pb.authStore.model);

Result
I/flutter (18317):
I/flutter (18317): false
I/flutter (18317): null

I'm not able to reproduce it with Dart SDK v0.9.1.
Future<void> authTest() async {
  final pb = PocketBase("http://<IP_ADDRESS>:8090");

  await pb
      .collection('users')
<EMAIL_ADDRESS>'1234567890');

  print(pb.authStore.token);
  print(pb.authStore.isValid);
  print(pb.authStore.model);
}

Make sure that the Future doesn't throw an error (check Error handling).
Also keep in mind that the SDK store is currently not persistent (you can check https://github.com/pocketbase/dart-sdk/issues/13, pocketbase#1887).
If that's not the case, please provide a minimal reproducible repo and I'll try to investigate it.


Add Transpond Message

Read the page code, see the official forwarding message implementation code.
And this code is very simple, you can easily in a formal way to achieve forwarding messages, such as the direct forwarding of the received file.
angular.module("Controllers").controller("transpondDialogController", ["$rootScope", "$scope", "$timeout", "$state", "$log", "$document", "chatFactory", "contactFactory", "appFactory", "chatroomFactory", "confFactory", "mmpop", "ngDialog", "utilFactory", "stateManageService", "accountFactory",
  function(e, t, a, n, i, o, chatFactory, c, s, l, confFactory, f, u, m, g, accountFactory) {
    function h(msg, userName) {
      if (e.MsgType != confFactory.MSGTYPE_SYS) {
        var newMsg = angular.copy(msg);
        newMsg.ToUserName = userName;
        newMsg.FromUserName = accountFactory.getUserName();
        newMsg.isTranspond = !0;
        newMsg.MsgIdBeforeTranspond = msg.MsgIdBeforeTranspond || msg.MsgId;
        newMsg._h = void 0;
        newMsg._offsetTop = void 0;
        newMsg.MMSourceMsgId = msg.MsgId;
        newMsg.Scene = 2;
        newMsg = chatFactory.createMessage(newMsg);
        newMsg.sendByLocal = !1;
        newMsg.Content = m.htmlDecode(newMsg.Content.replace(/^@\w+:<br\/>/, ""));
        newMsg.MMActualSender = accountFactory.getUserName();
        newMsg.MMSendContent && (newMsg.MMSendContent = newMsg.MMSendContent.replace(/^@\w+:\s/, ""));
        newMsg.MMDigest && (newMsg.MMDigest = newMsg.MMDigest.replace(/^@\w+:/, ""));
        newMsg.MMActualContent && (newMsg.MMActualContent = m.clearHtmlStr(newMsg.MMActualContent.replace(/^@\w+:<br\/>/, "")));

        chatFactory.appendMessage(newMsg);
        chatFactory.sendMessage(newMsg)
      }
    }

// ...........

Use:
id='' // roomId or userId
// Room.toString()
// Contact.id
// Message.from()
bot.on('message',async m => {
     m.transpond(id)
})

Upload the branch later

This support involves Reconstruction MediaMessage #724, because need to consider where to build the original data structure.
The current build data is to call the chatFactory.createMessage() method via webchaty-bro.
Either the text of the message, or the Rich Media MediaMessage. However, there is a problem with the call in MediaMessage.
Forwarding features that need to skip the call, but contrary to the current data isolation scheme.

Great achievement!
Please see #200, I suggest to use forward() as the method name because it's very straight forward.

@zixia The code used forward, See #727

discuss:
WeChat server for more than 25Mb of the document, asked to re-upload, can not be directly forwarded.
Should I detect file size in forward (), throw exception if it exceeds 25Mb?

Thanks.
About the size limit: my suggestion is to re-upload automatically with a verbose log message.

I think that the document beyond the limits should be implemented on its own.
But because there is no test upload 25Mb get MediaId whether multiple multiplexing in the message, it can not be conclusive.
I will supplement the information after the test.

Known issues:
Forward the message within the group, forward the message will be "@ id:" prefix

Add the Forward Message Source Settings option, see https://github.com/Chatie/wechaty/pull/727/commits/09511eb7bc6fcb87d36ecbe49ef0cb51203e02dc
m.forward(Room.load(id), { user: '$USER', room: 'Room[$ROOM]', custom: 'forward from $ROOM$USER' })

// source message: 'test msg'
// from room: 'testRoom'
// from user: 'Bot'
// forward message: `forward from Room[testRoom]Bot:\ntest msg`

I do not understand about the design of m.forward(Room.load(id), { room: '群[$ROOM]', custom: '转发消息来自 $ROOM$USER' }), it looks very complicated and hard to understand at the first sight.
Does this design for forwarding a TEXT message?
I do not think forward a text message is necessary, because we can be easy to just say() it without any problem.
The power of forward is dealing with the attachments, which should belong to the MediaMessage.
Please correct me if I missed any point.

This design is not intuitive.
If you want to remove this design, I would like forward can only be used to forward Media message.

Yes, my suggestion is to:

move forward to MediaMessage only, because that would be really helpful for dealing with the attachment files.
if we want to forward a Message, which means it is a text message, we can easily archive the same result by constructing a new string to the message, like the following code snip:

const forwardMsg = `转发消息来自${room}${user}\n$content`
await forwardRoom.say(forwardMsg)

Which is more straight forward, and also keep the API to be simple and be easy understand.

we can identify the Message and MediaMessage by using instanceof in message event listener.
Full code will like this:

on('message', async m => {
  const from = m.from()
  const room = m.room()
  const content = m.content()
  const fwdMsg = `转发消息来自${room}${user}\n$content`
  const fwdRoom = await Room.find('测试群')
  await fwdRoom.say(fwdMessage)
  if (m instanceof MediaMessage) {
    await m.forward(fwdRoom)
  }
})

moved forward() from class Message to MediaMessage.
https://github.com/Chatie/wechaty/pull/727/commits/ea3e63829672993c26b81c21db34ba7e23fb2ec4

Awesome!

forward video msg of room, self() error.
fiex. see https://github.com/Chatie/wechaty/pull/727/commits/5f8503dbbba43f2fb4474ad58af8fe29a1e3560c


Check that  is not null before calling preg_match

Regarding Issue #1435

@Seldaek it's my first PR, what reason for error?

I think you can ignore the error. Thanks for the fix.


Overflow tabs

It would be neat if we could allow the file tabs to scroll, as achieved for example with Github's mobile interface ribbon. When you consider how well embedded Flems work on mobile in eg http://meiosis.js.org/tutorial/10-deep-merge-mithril.htm, this would be a delicious cherry on the cake — and I don't even like cherries.

I think I fixed this at some point but forgot to match with this issue. I just checked the meiosis link on my iPhone SE, and I was able to scroll and reach each tab there :)


All pages – correct page titles on tab

Correct page title is displayed on the tab
As a F&E user who uses screeneader software
I want the page title to be correct
in order to understand, broadly, what is on that page
Scenarios
Given that I am an anonymous user
And I use JAWS screenreader
And I am on the 'Number of exclusions during academic year' page
When I review the page title (Need to understand how JAWS does this)
Then I see..... (Insert chosen solution)
Note 1: Need to get Jane D's advice on what is best solution - does it need to be the whole string with GOV.UK and F&E at start as suggested by Accesibility Review Doc?
Note 2: Accesibility Doc included below

Passed testing.

Closed as released now.


Debug drawing circle

Adds circles to the debug drawing manager.
Fixes #675

SonarQube analysis reported 6 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 ScriptManager.cpp#L658: Memory leak: value
 ScriptManager.cpp#L662: Memory leak: value
 ScriptManager.cpp#L666: Memory leak: value
 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L680: The function 'GetScripts' is never used.
 ScriptManager.cpp#L688: The function 'ExecuteScriptMethod' is never used.

Comments fixed. Please reevaluate.

SonarQube analysis reported 10 issues

 7 minor
 3 info

Watch the comments in this conversation to review them.
7 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L63: Variable 'function' is assigned a value that is never used.
 ScriptManager.cpp#L543: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L728: Variable 'json' is assigned a value that is never used.
 ScriptManager.cpp#L755: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L773: The function 'GetScripts' is never used.
 ScriptManager.cpp#L781: The function 'ExecuteScriptMethod' is never used.

SonarQube analysis reported 7 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L63: Variable 'function' is assigned a value that is never used.
 ScriptManager.cpp#L543: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L728: Variable 'json' is assigned a value that is never used.
 ScriptManager.cpp#L755: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L773: The function 'GetScripts' is never used.
 ScriptManager.cpp#L781: The function 'ExecuteScriptMethod' is never used.

SonarQube analysis reported 7 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L63: Variable 'function' is assigned a value that is never used.
 ScriptManager.cpp#L543: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L728: Variable 'json' is assigned a value that is never used.
 ScriptManager.cpp#L755: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L773: The function 'GetScripts' is never used.
 ScriptManager.cpp#L781: The function 'ExecuteScriptMethod' is never used.

SonarQube analysis reported 7 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L63: Variable 'function' is assigned a value that is never used.
 ScriptManager.cpp#L548: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L751: Variable 'json' is assigned a value that is never used.
 ScriptManager.cpp#L778: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L796: The function 'GetScripts' is never used.
 ScriptManager.cpp#L804: The function 'ExecuteScriptMethod' is never used.

SonarQube analysis reported 7 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L63: Variable 'function' is assigned a value that is never used.
 ScriptManager.cpp#L548: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L751: Variable 'json' is assigned a value that is never used.
 ScriptManager.cpp#L778: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L796: The function 'GetScripts' is never used.
 ScriptManager.cpp#L804: The function 'ExecuteScriptMethod' is never used.

SonarQube analysis reported 7 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L64: Variable 'function' is assigned a value that is never used.
 ScriptManager.cpp#L564: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L767: Variable 'json' is assigned a value that is never used.
 ScriptManager.cpp#L794: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L812: The function 'GetScripts' is never used.
 ScriptManager.cpp#L820: The function 'ExecuteScriptMethod' is never used.

SonarQube analysis reported 7 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L64: Variable 'function' is assigned a value that is never used.
 ScriptManager.cpp#L564: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L767: Variable 'json' is assigned a value that is never used.
 ScriptManager.cpp#L794: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L812: The function 'GetScripts' is never used.
 ScriptManager.cpp#L820: The function 'ExecuteScriptMethod' is never used.

SonarQube analysis reported 7 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L64: Variable 'function' is assigned a value that is never used.
 ScriptManager.cpp#L564: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L767: Variable 'json' is assigned a value that is never used.
 ScriptManager.cpp#L794: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L812: The function 'GetScripts' is never used.
 ScriptManager.cpp#L820: The function 'ExecuteScriptMethod' is never used.

SonarQube analysis reported 7 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L64: Variable 'function' is assigned a value that is never used.
 ScriptManager.cpp#L564: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L767: Variable 'json' is assigned a value that is never used.
 ScriptManager.cpp#L794: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L812: The function 'GetScripts' is never used.
 ScriptManager.cpp#L820: The function 'ExecuteScriptMethod' is never used.


can’t be opened because Apple cannot check it for malicious software.

OS
Mac
❯ sw_vers
ProductName:	macOS
ProductVersion:	12.1
BuildVersion:	21C52

VERSION
1.5.0
ISSUE DESCRIPTION
Cannot be opened

right click => open

emmmmm.......... Thanks so much.


Fix Typo

Fix spelling for GitHub.
Github > GitHub

Docs Build status updates of commit 81c749d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/resources/samples/external-fetch-calls.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
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.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Good catch @gpresland. Thanks for fixing this!


docs: Add an example CI setup

Griffe can be useful in CI processes. Let's add example GitHub and GitLab workflows in the docs.

Yes! Good idea :slightly_smiling_face:

Added a GitHub example. We can do GitLab/else later.


Automate current user-data

We should keep user-data to just stuff that the user literally has to add (e.g. a private superuser API key for Iglu); the current user-data stuff looks like it could go live in Upstart or similar.

This has been done by moving the script into init.d.


Doing .nuke in the bot's dms will be unsuccessful

.nuke works fine when done in the server, but when i .connect and .nuke in the bot's dms it bugs out. after saying "A nuke has been launched to Server." the bot doesnt do the after commands. it gets stuck on "Finished deleting webhooks." in console and it responds on discord "'NoneType' object has no attribute 'id'"

fixed in 2.4


Compatibility with current Nengo master branch

A couple of quick changes to make Brainspawn get along with the current Nengo master branch (commit 5d01251bc2b4374b0acabc9944bda52bb599bff9). These are just some quick hacks, need some review, and might be done in a better way. I might spent some more thought on it later.

This is probably outdated. To clean my PR list from noise, I'm closing this PR.


Allow links for certifications

Add option to set a URL for each certification. This is useful, for example, when sharing verified certificates as proofs provided by issuers.
Fixes #575

I've rollbacked the changes to Awards, in case this project is looking forward to be compatible with https://jsonresume.org/, where only certificates has the url field.

As much as I love JSON Resume, I find it limiting in certain circumstances. I would still support the freedom to import/export JSON resume schemas, but not to change our schema to theirs. That said, the PR looks great :) Thank you so much for the contribution. Will see to it that it gets released soon.


Support for Container.override

The docs say:

Replace method call: some_container.override_providers(**overrides) -> some_container.override_providers(overrides)

This allows overriding providers.
But what about overriding a container?
https://github.com/ets-labs/python-dependency-injector/blob/cc2304e46e054ae08dc12995428759fbfb51af10/src/dependency_injector/containers.pyx#L220

Thanks for the question!
Can you give an example of cases where this would be useful? I have never yet encountered this functionality in my experience with dependency_injector

Here is an example we how we use this in our code.
class Adapters(dependency_injector.containers.DeclarativeContainer.DeclarativeContainer):
    """A set of dependencies replaced as a whole in tests."""
    email_client: dependency_injector.providers.Provider[EmailClient] = dependency_injector.providers.Singleton(EmailHttpClient,  ...)
    ...

class ApplicationContainer(dependency_injector.containers.DeclarativeContainer):
    """Dependencies used in our code."""
    adapters: Adapters = dependency_injector.providers .DependenciesContainer()  # type: ignore
    ...
    email_client: dependency_injector.providers.Provider[EmailClient] = adapters.email_client
    ...

And in tests we override some dependencies:
class TestAdapters(Adapters):
    __test__ = False

    email_client: dip.Singleton[EmailClient] = dip.Singleton(TestEmailClient)
    ...

@pytest.fixture()
def inject_test_deps() -> containers.ApplicationContainer:
    with containers.container.adapters.override(TestAdapters()):
        yield containers.container

@warvariuc thanks for example. I think this can be useful in a code base where DI containers are used everywhere and there are several of them.  I'll probably implement what you suggested after I finish the documentation

Maybe there is a simpler/easier to override many providers at once. I am not sure.
In the version I posted it's good that you declare test dependencies in a class, instead of of overriding them imperatively one by one.

Maybe there is a simpler/easier to override many providers at once. I am not sure. In the version I posted it's good that you declare test dependencies in a class, instead of of overriding them imperatively one by one.

If I understand you correctly, it is already possible to override many providers: https://injection.readthedocs.io/latest/testing/provider-overriding.html#override-multiple-providers
But above it seems you are proposing, so to speak, the “next level” of overriding - this is not the level of overriding providers, but containers. Although this can certainly be replaced completely by overriding providers


How do I patch kubernetes with ansible-playbook

I have a cluster that I have used ansible-playbook to configure. All works well but I am not able to "kubeadm upgrade" to install the latest security patch.
I though that if I changed the version in the hosts.ini it will install the latest version, but I get an error FAILED! => {"msg": "'dict object' has no attribute u'v1.11.5'"}
I see that adding "kubeadm upgrade"is in the works, but is there a current way to upgrade/patch my entire cluster from 1.11.3 to 1.11.5 using ansible-playbook? If not how can I patch?

Test and this did work.
kubernetes-sigs/kubespray#3819 (comment)


Enable the notch

According to the two blog posts that mention the notch, support for drawing on the entire screen will be added in the future. This is the commit that hides it: https://github.com/AsahiLinux/m1n1/commit/287a963bcca63b91972f5300561ef45c50959579
I have interest in this feature, and I noticed there was no issue for it yet.

The notch will never be enabled in m1n1. m1n1 provides a boot-time framebuffer and there is no reasonable construct for specifying the notch location such that downstream software can do something with it.
Notch support has to be part of the Linux DCP driver, which is not merged yet.

Ah, thanks for the feedback. I only made this issue here because I noticed precedent in this repository.


Allow sender address in WRAP and UNWRAP & more

Allow sender address in WRAP and UNWRAP
Add support for clear sender address
Add associated tests
Bump ethereum SDK

Commit history is clean and PR is advised to be reviewed commit by commit

"ClusterFuzzLite PR fuzzing / PR" is failing because the fuzzer does not mock the OS crypto functions, not sure how to handle this I'll look into it later

I've left open for Donjon review but I'm deploying a test version on test provider in the meantime

Merging this PR but still NOGO for prod, a followup PR will include Donjon remarks following Tech Doc sharing


Refactor expression.test.cpp to use std::filesystem

Refactor expression.test.cpp to use std::filesystem. Remove system specific file handling.
Addresses Outstanding Issue: https://github.com/maplibre/maplibre-native/issues/1693

Yep, just pushed a fix for Android build. Missed that one. thnx

@louwers Looking at some of the failing builds, some of the used toolchains rely on < c++17(don't like us using std::filesystem*). What do you think is the best course of action for those cases? Is it a possibility to disable the test for such cases or do you have another alternative in mind?

@bilal614 Some APIs may be unavailable on some macOS and iOS versions, even though the compiler still supports C++17.
In the case of iOS, we can probably bump the iOS target to 13.0.
You could try taking out the build (macOS, macos-13, RelWithDebInfo, 5.15.2, desktop, 10.13, x86_64) target from the matrix, but @ntadej would need to approve.

Hmm, there is no reason why Qt should not work though, but probably the build config needs to be updated.
Can you remind me where do we actually link with the filesystem library? This is separate to the standard library with some compilers.

@ntadej : I was able to get the qt-ci builds green by bumping the deployment_target to 10.15 qt-ci for macOS 13 build jobs(Ran a separate build job on forked repo https://github.com/bilal614/maplibre-native/actions/runs/10094629091/job/27912899722). I could not try out similar approach to ios-ci builds since those use "self-hosted" labels. Could you please help out with bumping the iOS target of the C++ unit test app to 13.0, since I'm not very familiar with Bazel builds?

Yes let me try to fix iOS.

@louwers : I tried bumping up the minimum_ios version to 13.0 in the rules specified under platform/ios/BUILD.bazel. Could you please check if it looks good(makes sense) and trigger a build for any feedback. Thanks

We can't bump the minimum iOS version across the board, just of the unit tests should be fine. I'll try it out locally now.

Yep, makes sense to keep the scope limited to the tests. Thanks, much appreciated 👍

@louwers : Seems like builds are green, thanks again for the help. Merge is still blocked on requested review change(already fixed).

Yes I was doing one last sanity check to see if the tests still run, will merge.


Refresh howdy devices

FEATURE REQUEST
I sometimes switch around my USB devices (unrelated to Howdy) which causes the configuration to become borked and I have to use
v4l2-ctl --list-devices to list the new devices, and then try them until one works.
During initial set up of Howdy it actually cycles through the devices and asks when the IR emitter fires and then sets that in the config. It would be awesome if there was a way to relaunch that process on the fly.
Maybe sudo howdy config --refresh or something?

Thank you so much for running Howdy, it makes using my system dramatically more convenient and I am incredibly grateful, regardless on your response to the above request. Thank you.

Could you reply with your configured device_path? There might be a much easier solution

So on a fresh install and going through the "Is the IR emitter running" prompts it chooses:
device_path = /dev/v4l/by-path/pci-0000:29:00.3-usb-0:2.1.3:1.0-video-index2
If I swap the USB devices around it no longer works with the following error:
Camera path is not configured correctly, please edit the 'device_path' config value.
Exception ignored in: <function VideoCapture.__del__ at 0x7fbb1a3c2b90>
Traceback (most recent call last):
  File "/usr/lib/security/howdy/recorders/video_capture.py", line 55, in __del__
    self.internal.release()
AttributeError: 'VideoCapture' object has no attribute 'internal'

but running v4l2-ctl --list-devices lists out:
Logitech BRIO (usb-0000:29:00.3-2.1.4):
	/dev/video0
	/dev/video1
	/dev/video2
	/dev/video3
	/dev/media0

So I can switch it to /dev/video2 and it functions again. If I swap the USB it actually continues to function, assume since it's on a more generic device path. I am running it through a USB hub, which may be affecting it.


Add all points east 2022 lineup

All artists have been validated using Spotify API and warm-cache script has been successfully tested locally. One artist only has compilation albums but otherwise good.

Closing as superceded by larger PR


[Custom_Mask_RCNN] Labeling masks correctly

Thanks for your great work.
I am trying to label my images as you suggest with PixelAnnotationTool and I wonder what ID to use for the object I want to segment.
According to lines 121 and 122 in create_pet_tf_record.py:
nonbackground_indices_x = np.any(mask_np != 2, axis=0)
nonbackground_indices_y = np.any(mask_np != 2, axis=1)

I understand background instance must have pixel value 2 and any other pixel value will represent a different label, i.e.: 0 for car, 1 for toy, 3 for apple, etc.
I would like to know if my assumption is correct and whether this has been the way you have proceeded.
Thanks again.

Yes this is a good approach
On Wed, May 23, 2018 at 9:56 AM, mldm4<EMAIL_ADDRESS>wrote:

Thanks for your great work.
I am trying to label my images as you suggest with PixelAnnotationTool and
I wonder what ID to use for the object I want to segment.
According to lines 121 and 122 in create_pet_tf_record.py:
nonbackground_indices_x = np.any(mask_np != 2, axis=0)
nonbackground_indices_y = np.any(mask_np != 2, axis=1)
I understand background instance must have pixel value 2 and any other
pixel value will represent a different label, i.e.: 0 for car, 1 for toy, 3
for apple, etc.
I would like to know if my assumption is correct and whether this has been
the way you have proceeded.
Thanks again.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/priya-dwivedi/Deep-Learning/issues/24, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AUHGOLlCWEHHVOEtMjyialBqnetCq0PVks5t1WqigaJpZM4UKgIL
.


Morphological Filters -> Generate Mask -> Hue Saturation Value

This section is experiencing ui issues as well as interactivity.

The UI is fixed. Now working on the actual HSV mask output

This issue is resolved.


Fails to load with ARK: Server API 2.5

Gives error message:
[API][warning] Failed to load plugin - ArkModifiedSpawnLevelDistribution
Error code: 126

Agree would like to use this plugin


Update README with installation instructions

We need to update the README file to include clear and concise installation instructions for new users. Currently, the README lacks detailed information on how to set up the project locally, which can be confusing for newcomers.

closed


.env.local failed to open stream php error when WP_ENV='development' and .env.local does not exist.

Fresh bedrock install.
When you only have .env (not .env.local) and your WP_ENV is set to development, WordPress admin will have an extra space at the top of the screen. This is caused by an invisible failed to open stream error when .env.local is not found.
To verify the cause, you can simply go into your application.php file and remove '.env.local' from the array on line 32. This removes php error, and the space at the top of WordPress admin.

I can confirm this bug. The error is thrown also when WP_ENV variable is set to something else e.g. "production" or "staging".

This is because the bedrock env example distributes is named as .env.example instead .env.local?

Proposed a PR for this #602

For reference: https://github.com/roots/bedrock/commit/b2781b890e5f988f847e716e6abbc48e34c3cc5c#commitcomment-54196503

I'm creating the pull request now :-)


Backup enhanced data

Reason (Why?)
If a website to be crawled is not available during the scraping process, the currently stored data will be discarded. This should not be the case.
Solution (What?)
If the scraper does not produce any results, a backup of the corresponding data file (.json) should be created. In the ongoing process a backup should also be made of the corresponding enhanced data file (.json). In this case the corresponding index should not be deleted in the Elastic search.
Out of scope
None
Relation to other Issues
None
Acceptance criteria
If a web page is not available or does not return any data due to an error, the current data of the associated web page will not be changed from the Elastic search.

closed with merge of #257

closed with merge of #257


test: block parser spec longer timeout for container

If your PR failed with metadata client test on timeout waiting for done.
This change will help by waiting more and not fail this test.

Looks great. I think that it also Closes #2455

Not sure it fixes this one - I think we should not invoke the container as a daemon and wait for completion. But it looks like the library in this version doesn't provide this functionality.
It looks like it is was built to run background services.
So I'll keep this one open for future improvements.


Example openai_universe.py  "cannot import name create_agent"

I tried to run one of the examples to test CONV2D, but encountered an error:
python examples/openai_universe.py -a DQNAgent -c examples/configs/dqn_agent.json -n examples/configs/dqn_network.json flashgames.DuskDrive-v0

I got this error:
Traceback (most recent call last):
  File "examples/openai_universe.py", line 42, in <module>
    from tensorforce.agents import create_agent
ImportError: cannot import name create_agent

API is not updated for that example. Actually I am wondering if this example should be deleted if universe is not actively developed any more and most people seem to be using gym

Okay, I will see if I can find another CONV1D and CONV2D network that is supported by another example.  Just need it to test the skipping, I don't have a dataset that will provide the Rank 3 and Rank 4 input data requirement.

Tried to use "openai_gym.py" but I am getting a different error, I think because of the agent, seems to want something in a module.name format:
with this command:
python3 examples/openai_gym.py -a DQNAgent -c examples/configs/dqn_agent.json -n examples/configs/dqn_network_visual.json CartPole-v0

Traceback (most recent call last):
  File "examples/openai_gym.py", line 135, in <module>
    main()
  File "examples/openai_gym.py", line 84, in main
    config=config
  File "/home/greg/library/tensorforce/tensorforce/agents/agent.py", line 345, in from_spec
    kwargs=kwargs
  File "/home/greg/library/tensorforce/tensorforce/util.py", line 155, in get_object
    module_name, function_name = obj.rsplit('.', 1)
ValueError: not enough values to unpack (expected 2, got 1)

Yes, please check the updated Readme example, you need to provide dqn_agent, not DQNAgent


Roll engine ff49ca1c6e5b..03caa67acdfe (16 commits)

git@github.com:flutter/engine.git/compare/ff49ca1c6e5b...03caa67acdfe
git log ff49ca1c6e5b..03caa67acdfe --no-merges --oneline
2019-08-09<EMAIL_ADDRESS>Roll Dart SDK 78ce916d82..15a3bf82cb (flutter/engine#10810)
2019-08-09<EMAIL_ADDRESS>Roll src/third_party/skia b7b0b3ad538c..af89d3972e0b (7 commits) (flutter/engine#10812)
2019-08-09<EMAIL_ADDRESS>Revert "Remove flutter_kernel_sdk dart script (#10808)" (flutter/engine#10811)
2019-08-09<EMAIL_ADDRESS>[dart:zircon] Porting Cache re-usable handle wait objects (flutter/engine#10809)
2019-08-09<EMAIL_ADDRESS>Remove flutter_kernel_sdk dart script (flutter/engine#10808)
2019-08-09<EMAIL_ADDRESS>change add part to add child (flutter/engine#10787)
2019-08-09<EMAIL_ADDRESS>rename stub_ui to web_ui (flutter/engine#10776)
2019-08-09<EMAIL_ADDRESS>[fuchsia] Migrate from custom FuchsiaFontManager to SkFontMgr_fuchsia (flutter/engine#10700)
2019-08-09<EMAIL_ADDRESS>Roll src/third_party/skia 26cedb4c603b..b7b0b3ad538c (11 commits) (flutter/engine#10807)
2019-08-09<EMAIL_ADDRESS>Rename flutter_java.jar and flutter_engine.jar so they match the Maven comvention (flutter/engine#10797)
2019-08-09<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from 9xVXx... to HsuAH... (flutter/engine#10806)
2019-08-09<EMAIL_ADDRESS>Roll src/third_party/dart 3d9a356f6e..78ce916d82 (7 commits)
2019-08-09<EMAIL_ADDRESS>Roll src/third_party/skia b2151310068b..26cedb4c603b (1 commits) (flutter/engine#10804)
2019-08-09<EMAIL_ADDRESS>Roll src/third_party/skia 059bf776c184..b2151310068b (3 commits) (flutter/engine#10803)
2019-08-09<EMAIL_ADDRESS>Roll src/third_party/dart f29f41f1a5..3d9a356f6e (65 commits)
2019-08-09<EMAIL_ADDRESS>Roll src/third_party/skia 4d557e3df433..059bf776c184 (1 commits) (flutter/engine#10801)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jimgraham@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5991355141062656 , https://cirrus-ci.com/task/5006192722575360

Commit queue failed; closing this roll.


get rid of flex layout

@kirjs What the benefit of this?

I think it's kinda deprecated/not supported, just realized we don't even have it lol


Add method override indicators

Currently vscode does not show override indicators that the current class is overriding/implementing methods from super class/interface.
This indicator would help the user understand that the given method is being overridden rather than a local method.
Most editors such as intellij & eclipse have these indicators

FYI: @jrieken @bpasero @alexandrudima

To keep the number of issues in our inbox at a manageable level, we're closing issues that have been on the backlog for a long time but haven't gained traction: we look at the number of votes the issue has received and the number of duplicate issues filed. Thank you for your time and understanding.
If you disagree and feel that this issue is crucial: we're happy to listen and to reconsider.


Force Callbacks for Development

Hey @snitko!
We should have an option to force a callback when in development so that we can test our callback system. Right now, every time I want to test the callback system, I have to make a new order and then pay it.

Just realized that I can fake the callbacks using Postman.

Just realized that I can fake the callbacks using Postman.


Execution failed for task ':app:prepareGitPointReactNativeConfigUnspecifiedLibrary'

I am getting this error while build process
* What went wrong:
Execution failed for task ':app:prepareGitPointReactNativeConfigUnspecifiedLibrary'.
> Could not expand ZIP 'C:\Users\ahmetzeybek\Documents\reactJS\GitPoint\node_modules\react-native-config\android\build\outputs\aar\react-native-config-rele
ase.aar'.

apk file looks installed in emulator but not starting...

Hi @ahmetzeybek and thanks for reporting this issue.
Can you try the following steps ?
cd android
gradlew clean
cd ..
react-native run-android

Also, did you run yarn run links after initially running yarn ?

I will try thanks :)

@ahmetzeybek for future users facing the same issue, could you tell us how did you fix it?

Built with buddybuild, i couldn't build on my computer, but tried to build release version then succeeded


deposits are added to the balance twice

balance: -6.00
add 75.00
balance: 144.00 (expected balance 69.00)
add 5.00
balance: 154.00 (expected balance 74.00)

-6 for beer (should have been -3)

This is client side bug - the balance was correctly applied on backend


is it possible denormalizing the normalized keypoints ?

I need to denormalize the normalized keypoints for my work. There is relativity in the normalizing process. is denormalizing possible?

Depends on what you know, if it is only normalized keypoints then no.

Yes,  I asked that can I denormalize it when I know just normalized keypoints? Thanks for your reply @AliaksandrSiarohin .


Animated.sequence doesn't work with useNativeDriver set to true

Just trying to create a spinner with multiple moving parts using Animated.loop, Animated.sequence, and Animated.timing. Works when useNativeDriver is set to false, but not true.
React Native version:
System:
    OS: Windows 10 10.0.18363
    CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
    Memory: 13.57 GB / 31.95 GB
  Binaries:
    Node: 12.4.0 - C:\Program Files\nodejs\node.EXE
    npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
  SDKs:
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-25 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: Version  <IP_ADDRESS> AI-191.8<IP_ADDRESS>10548
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.5 => 0.61.5

Steps To Reproduce

Just run my code below,

Describe what you expected to happen:
Expected the sequence to be looped when it finishes.
Snack, code example, screenshot, or link to a repository:
const rotationChat = new Animated.Value(0);
const rotationLoading = new Animated.Value(0);
function Example() {
  React.useEffect(() => {
    Animated.loop(
      Animated.sequence([
        Animated.timing(rotationChat, {
          toValue: 1,
          duration: 2000,
          useNativeDriver: true,
        }),
        Animated.timing(rotationLoading, {
          toValue: 1,
          duration: 2000,
          useNativeDriver: true,
        }),
      ]),
    ).start();

    const interval = setInterval(() => console.log(rotationChat, rotationLoading), 200);
    return () => clearInterval(interval);
  }, [])

  return null
}

Here I'd expect a 6 second loop, then a 1 second loop, then repeat. https://snack.expo.io/HkQ3zLzGI
Also if you uncomment the first loop then you'll notice it only loops once

I confirm that the situation is completely the same. React-Native v0.61.4


EN-326 Add Custom Apps support via Management Api

Motivation
As a part of new feature Custom Apps we are adding MAPI support as well.
Checklist

[ ] Code follows coding conventions held in this repo
[ ] Automated tests have been added
[ ] Tests are passing
[ ] Docs have been updated (if applicable)
[ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
If manual testing is required, what are the steps?

We will be releasing on 28.12., please do not merge these changes before the release of custom apps


Add New Coordinates SVG on Project

Hello HanSolo (big fan here)! I’m using your country code and trying to add new coordinates to include states within Brazil. I'm doing it as follows: each Brazilian state is being considered as a new country. So for the state of São Paulo, I’m adding the following coordinates:
bounds.properties
SP=-19.4551,-53.4945,-24.9995,-44.1632
Country.java
SP("Sao Paulo", new CLocation(-22.9035, -48.4500))
The problem lies with the coordinates in hires.properties and lores.properties, as they cause the map to not be properly centered and adhere to the correct geographic coordinates. I tried adding the SVG file from the link, of course taking the coordinates - I even used your converter, but nothing seems to work. I’ve been struggling for a few days to get the coordinates aligned (since the state can be simplified as a reproduction of a country)
https://upload.wikimedia.org/wikipedia/commons/7/7c/Contorno_do_mapa_do_Estado_de_São_Paulo.svg
If you could help me or let me know where you got the coordinates you used for the countries, I would be extremely grateful.
Thank you in advance.

Well...because I did not create the hires and lores maps with their coordinates but only found them on the web, I just made them work but never tried to add more maps. But if you add a point to the map, it will be drawn on the (more or less) correct position (depending on the accuracy of the map). If you look up the code that I use to do the transformation between the lat/lon and the actual x/y position, you might find some scaling factors that I needed to apply, maybe that helps...

Thank you! I’ll try to make some changes and present what I managed to contribute. Keep your Millennium Falcon, you’re the best in the galaxy! :D

Sorry for not being able to help further but keep me up to date with your work 🤙🏻😁


SDV-2410: Prevent crash if inactive user is found

If a schedule in PagerDuty contains inactive users, then the lambda will crash with a Key error trying to get data from the user that is not there.
This catches that explicit error and shows the user as deactivated, using the Summary field, which is present, to show their name.

oooh I forgot to ask, could you add notes about what you did to test to your pull request description? thanks!!


Flutter project upgrade  to 2.5.1

I'm trying to upgrade my existing project to 2.51

System info
Issue occurs on: iOS
he plugin `onesignal_flutter` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this
plugin supports the Android V2 embedding. Otherwise, consider removing it since a
future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2
embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Running pod install...                                             69.2s
Running Xcode build...
Xcode build done.                                           147.0s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ha
    ndler-8.1.6/ios/Classes/strategies/PhonePermissionStrategy.m:50:35: warning:
    'subscriberCellularProvider' is deprecated: first deprecated in iOS 12.0
    [-Wdeprecated-declarations]
        CTCarrier *carrier = [netInfo subscriberCellularProvider];
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                      serviceSubscriberCellularProviders
    In module 'CoreTelephony' imported from
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ha
    ndler-8.1.6/ios/Classes/strategies/PhonePermissionStrategy.m:8:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Devel
    oper/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreTelephony.framework
    /Headers/CTTelephonyNetworkInfo.h:112:50: note: property
    'subscriberCellularProvider' is declared deprecated here
    @property(readonly, retain, nullable) CTCarrier *subscriberCellularProvider
    API_DEPRECATED_WITH_REPLACEMENT("serviceSubscriberCellularProviders", ios(4.0,
    12.0)) API_UNAVAILABLE(macos);
                                                     ^
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Devel
    oper/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreTelephony.framework
    /Headers/CTTelephonyNetworkInfo.h:112:50: note: 'subscriberCellularProvider' has
    been explicitly marked deprecated here
    1 warning generated.
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-2.
    0.0/ios/Classes/FLTSharePlusPlugin.m:127:60: warning: 'keyWindow' is deprecated:
    first deprecated in iOS 13.0 - Should not be used for applications that support
    multiple scenes as it returns a key window across all connected scenes
    [-Wdeprecated-declarations]
              withController:[UIApplication
              sharedApplication].keyWindow.rootViewController
                                                               ^
    In module 'UIKit' imported from /Users/Raymond
    Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Target Support
    Files/share_plus/share_plus-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Devel
    oper/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers
    /UIApplication.h:134:51: note: 'keyWindow' has been explicitly marked deprecated
    here
    @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should
    not be used for applications that support multiple scenes as it returns a key
    window across all connected scenes", ios(2.0, 13.0));
                                                      ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-2.
    0.0/ios/Classes/FLTSharePlusPlugin.m:156:60: warning: 'keyWindow' is deprecated:
    first deprecated in iOS 13.0 - Should not be used for applications that support
    multiple scenes as it returns a key window across all connected scenes
    [-Wdeprecated-declarations]
              withController:[UIApplication
              sharedApplication].keyWindow.rootViewController
                                                               ^
    In module 'UIKit' imported from /Users/Raymond
    Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Target Support
    Files/share_plus/share_plus-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Devel
    oper/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers
    /UIApplication.h:134:51: note: 'keyWindow' has been explicitly marked deprecated
    here
    @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should
    not be used for applications that support multiple scenes as it returns a key
    window across all connected scenes", ios(2.0, 13.0));
                                                      ^
    2 warnings generated.
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-2.
    0.0/ios/Classes/FLTSharePlusPlugin.m:127:60: warning: 'keyWindow' is deprecated:
    first deprecated in iOS 13.0 - Should not be used for applications that support
    multiple scenes as it returns a key window across all connected scenes
    [-Wdeprecated-declarations]
              withController:[UIApplication
              sharedApplication].keyWindow.rootViewController
                                                               ^
    In module 'UIKit' imported from /Users/Raymond
    Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Target Support
    Files/share_plus/share_plus-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Devel
    oper/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers
    /UIApplication.h:134:51: note: 'keyWindow' has been explicitly marked deprecated
    here
    @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should
    not be used for applications that support multiple scenes as it returns a key
    window across all connected scenes", ios(2.0, 13.0));
                                                      ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-2.
    0.0/ios/Classes/FLTSharePlusPlugin.m:156:60: warning: 'keyWindow' is deprecated:
    first deprecated in iOS 13.0 - Should not be used for applications that support
    multiple scenes as it returns a key window across all connected scenes
    [-Wdeprecated-declarations]
              withController:[UIApplication
              sharedApplication].keyWindow.rootViewController
                                                               ^
    In module 'UIKit' imported from /Users/Raymond
    Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Target Support
    Files/share_plus/share_plus-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Devel
    oper/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers
    /UIApplication.h:134:51: note: 'keyWindow' has been explicitly marked deprecated
    here
    @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should
    not be used for applications that support multiple scenes as it returns a key
    window across all connected scenes", ios(2.0, 13.0));
                                                      ^
    2 warnings generated.
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/BeanCovertor.swift:366:36: warning: 'init(bytes:)' is
    deprecated: use `init(_:)` instead
            config.encryptionKdfSalt = Data(bytes: encryptionKdfSalt)
                                       ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/Callback.swift:13:20: warning: using 'class' keyword for
    protocol inheritance is deprecated; use 'AnyObject' instead
    protocol Callback: class {
                       ^~~~~
                       AnyObject
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/BeanCovertor.swift:366:36: warning: 'init(bytes:)' is
    deprecated: use `init(_:)` instead
            config.encryptionKdfSalt = Data(bytes: encryptionKdfSalt)
                                       ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/Callback.swift:13:20: warning: using 'class' keyword for
    protocol inheritance is deprecated; use 'AnyObject' instead
    protocol Callback: class {
                       ^~~~~
                       AnyObject
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/Extensions.swift:121:22: warning: 'delay' is deprecated
                "delay": delay,
                         ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:652:31: warning:
    'startAudioMixing(_:loopback:replace:cycle:)' is deprecated: use
    startAudioMixing(.., startPos) instead
            callback.code(engine?.startAudioMixing(params["filePath"] as! String,
            loopback: params["loopback"] as! Bool, replace: params["replace"] as! Bool,
            cycle: (params["cycle"] as! NSNumber).intValue))
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:698:31: warning:
    'getAudioMixingDuration()' is deprecated: use getAudioMixingDuration:(NSString*
    _Nullable)filePath instead
            callback.code(engine?.getAudioMixingDuration()) {
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:736:31: warning:
    'playEffect(_:filePath:loopCount:pitch:pan:gain:publish:)' is deprecated: use
    playEffect:filePath:loopCount:pitch:pan:gain:publish:startPos instead.
            callback.code(engine?.playEffect((params["soundId"] as!
            NSNumber).int32Value, filePath: params["filePath"] as? String, loopCount:
            (params["loopCount"] as! NSNumber).int32Value, pitch: (params["pitch"] as!
            NSNumber).doubleValue, pan: (params["pan"] as! NSNumber).doubleValue, gain:
            (params["gain"] as! NSNumber).doubleValue, publish: params["publish"] as!
            Bool))
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:794:31: warning: 'setLocalVoiceChanger'
    is deprecated: use setAudioEffectPreset or setVoiceBeautifierPreset instead.
            callback.code(engine?.setLocalVoiceChanger(AgoraAudioVoiceChanger(rawValue:
            (params["voiceChanger"] as! NSNumber).intValue)!))
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:798:31: warning:
    'setLocalVoiceReverbPreset' is deprecated: use setAudioEffectPreset or
    setVoiceBeautifierPreset instead.
            callback.code(engine?.setLocalVoiceReverbPreset(AgoraAudioReverbPreset(rawV
            alue: (params["preset"] as! NSNumber).intValue)!))
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:999:31: warning:
    'startAudioRecording(_:sampleRate:quality:)' is deprecated: use
    startAudioRecordingWithConfig:config instead.
            callback.code(engine?.startAudioRecording(params["filePath"] as! String,
            sampleRate: (params["sampleRate"] as! NSNumber).intValue, quality:
            AgoraAudioRecordingQuality(rawValue: (params["quality"] as!
            NSNumber).intValue)!))
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/BeanCovertor.swift:366:36: warning: 'init(bytes:)' is
    deprecated: use `init(_:)` instead
            config.encryptionKdfSalt = Data(bytes: encryptionKdfSalt)
                                       ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/Callback.swift:13:20: warning: using 'class' keyword for
    protocol inheritance is deprecated; use 'AnyObject' instead
    protocol Callback: class {
                       ^~~~~
                       AnyObject
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/BeanCovertor.swift:366:36: warning: 'init(bytes:)' is
    deprecated: use `init(_:)` instead
            config.encryptionKdfSalt = Data(bytes: encryptionKdfSalt)
                                       ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/Callback.swift:13:20: warning: using 'class' keyword for
    protocol inheritance is deprecated; use 'AnyObject' instead
    protocol Callback: class {
                       ^~~~~
                       AnyObject
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/Extensions.swift:121:22: warning: 'delay' is deprecated
                "delay": delay,
                         ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:652:31: warning:
    'startAudioMixing(_:loopback:replace:cycle:)' is deprecated: use
    startAudioMixing(.., startPos) instead
            callback.code(engine?.startAudioMixing(params["filePath"] as! String,
            loopback: params["loopback"] as! Bool, replace: params["replace"] as! Bool,
            cycle: (params["cycle"] as! NSNumber).intValue))
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:698:31: warning:
    'getAudioMixingDuration()' is deprecated: use getAudioMixingDuration:(NSString*
    _Nullable)filePath instead
            callback.code(engine?.getAudioMixingDuration()) {
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:736:31: warning:
    'playEffect(_:filePath:loopCount:pitch:pan:gain:publish:)' is deprecated: use
    playEffect:filePath:loopCount:pitch:pan:gain:publish:startPos instead.
            callback.code(engine?.playEffect((params["soundId"] as!
            NSNumber).int32Value, filePath: params["filePath"] as? String, loopCount:
            (params["loopCount"] as! NSNumber).int32Value, pitch: (params["pitch"] as!
            NSNumber).doubleValue, pan: (params["pan"] as! NSNumber).doubleValue, gain:
            (params["gain"] as! NSNumber).doubleValue, publish: params["publish"] as!
            Bool))
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:794:31: warning: 'setLocalVoiceChanger'
    is deprecated: use setAudioEffectPreset or setVoiceBeautifierPreset instead.
            callback.code(engine?.setLocalVoiceChanger(AgoraAudioVoiceChanger(rawValue:
            (params["voiceChanger"] as! NSNumber).intValue)!))
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:798:31: warning:
    'setLocalVoiceReverbPreset' is deprecated: use setAudioEffectPreset or
    setVoiceBeautifierPreset instead.
            callback.code(engine?.setLocalVoiceReverbPreset(AgoraAudioReverbPreset(rawV
            alue: (params["preset"] as! NSNumber).intValue)!))
                                  ^
    /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_eng
    ine-4.0.7/ios/Classes/Base/RtcEngine.swift:999:31: warning:
    'startAudioRecording(_:sampleRate:quality:)' is deprecated: use
    startAudioRecordingWithConfig:config instead.
            callback.code(engine?.startAudioRecording(params["filePath"] as! String,
            sampleRate: (params["sampleRate"] as! NSNumber).intValue, quality:
            AgoraAudioRecordingQuality(rawValue: (params["quality"] as!
            NSNumber).intValue)!))
                                  ^
    ld: building for iOS Simulator, but linking in dylib built for iOS, file
    '/Users/Raymond
    Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/AgoraRtcEngine_iOS/AgoraDav1dEx
    tension.framework/AgoraDav1dExtension' for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Analyzing workspace
    note: Constructing build description
    note: Build preparation complete
    warning: Stale file '/Users/Raymond
    Tucker/AndroidStudioProjects/yurr/yurr-app/build/ios/Debug-iphonesimulator/Runner.a
    pp/Frameworks/share.framework' is located outside of the allowed root paths.

    /Users/Raymond Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Pods.xcodeproj:
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in
    target 'BoringSSL-GRPC' from project 'Pods')
    /Users/Raymond Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Pods.xcodeproj:
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in
    target 'leveldb-library' from project 'Pods')
    /Users/Raymond Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Pods.xcodeproj:
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in
    target 'abseil' from project 'Pods')
    /Users/Raymond Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Pods.xcodeproj:
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in
    target 'FMDB' from project 'Pods')
    /Users/Raymond Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Pods.xcodeproj:
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in
    target 'gRPC-C++-gRPCCertificates-Cpp' from project 'Pods')
    /Users/Raymond Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Pods.xcodeproj:
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in
    target 'OneSignal' from project 'Pods')
    /Users/Raymond Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Pods.xcodeproj:
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in
    target 'gRPC-C++' from project 'Pods')
    /Users/Raymond Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Pods.xcodeproj:
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in
    target 'AgoraRtcEngine_iOS' from project 'Pods')
    /Users/Raymond Tucker/AndroidStudioProjects/yurr/yurr-app/ios/Pods/Pods.xcodeproj:
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in
    target 'gRPC-Core' from project 'Pods')

Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.

Steps to Reproduce
flutter run
Logs

Zia-Sultan:yurr-app Raymond$ flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.3 20E232 darwin-x64, locale en-US)
    • Flutter version 2.5.1 at /Users/johnsmith/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (6 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/Raymond Tucker/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.60.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] VS Code (version 1.41.1)
    • VS Code at /Users/Raymond Tucker/Downloads/Visual Studio Code 3.app/Contents
    • Flutter extension version 3.26.0

[✓] VS Code (version 1.46.1)
    • VS Code at /Users/Raymond Tucker/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (2 available)
    • iPhone 12 Pro Max (mobile) • 0A040650-79FC-4489-BD42-55B6E08C7F95 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome
      93.0.4577.82

! Doctor found issues in 1 category.

I upgrade flutter to 2.5.1 and when I execute: flutter run -v

Upgrade your gradle @lrferreiro @mhadaily

Hi @Vikkybliz, my gradle version is 7.2 and my version kotlin version is 1.5.31, only work when update kotlin version to 1.5.21 and the API Android of 31 to 30


⚠ Samsung has degraded performance

In 992a509, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2561 ms

Resolved: Samsung performance has improved in 71d2672.


Discussion: Can UDF expression cause inconsistency when UDF server fails?

When UDF server fails, we insert null values.
Consider that this is updatable stream, in that case when running updates / deletes, the null value can lead to panics due to inconsistent state.
Not sure how to deal with this case yet.
We also need a reproduction of it first. I think can just create a UDF server, kill it to force null values being emitted, restart it, update some values.

Seems we have to drop and recreate mv in that scenario.

This may apply to all expressions that are impure, whether deliberate or accidental (like NULL padding on temporary failures). There's an unimplemented RFC for this: https://github.com/risingwavelabs/rfcs/pull/24

Can we add a config to always retry on UDF server error? I.e. block the entire stream graph, until UDF server is back online.

Added the config #15303


Support node readiness labels

The Zalando PostgreSQL Operator depends on node readiness labels to schedule pods on nodes.  To trigger a failover of the "leader" role in the PostgreSQL Patroni HA cluster from one pod to another in the event of a node reboot, a label must be updated on the node before it is cordoned and drained. The label must be updated once more after the node is rebooted and uncordened.
Would you accept a PR to optionally update node readiness labels before and after the reboot process?

It makes sense to me.

@ckotzbauer @evrardjp


fix brakeman scan

https://github.com/restarone/violet_rails/actions/runs/3609903665
Run actions/setup-ruby@v1
4
------------------------
5
NOTE: This action is deprecated and is no longer maintained.
6
Please, migrate to https://github.com/ruby/setup-ruby, which is being actively maintained.
7
------------------------
8
Error: Version 2.7 not found

disabling brakeman scan temporarily to unblock in-flight tasks


k8s-operator keep restarting the VSI

On a newly deployed  VS , I noticed the following messages on the K8S-operator logs:
2023/06/01 11:34:35 synchronizing onprem VSI ...
2023/06/01 11:34:35 Merging ConfigMap [vpc-onprem-configmap] ...
2023/06/01 11:34:35 Data Disk [notarydisk] is not in ready state, ignoring, cause: [Ready]
2023/06/01 11:34:35 synchronizing onprem VSI ...
[GIN] 2023/06/01 - 11:34:35 | 200 |     785.296µs |     <IP_ADDRESS> | POST     "/onprem/sync"
2023/06/01 11:34:35 synchronizing data disk ...
[GIN] 2023/06/01 - 11:34:35 | 200 |     175.357µs |     <IP_ADDRESS> | POST     "/datadisk/sync"
2023/06/01 11:34:36 Domain [94b8b839-f517-4913-a81d-c79e637c564a] is already up to date, hashes match.
2023/06/01 11:34:36 Domain [94b8b839-f517-4913-a81d-c79e637c564a] is running, fetching logs ...
2023/06/01 11:34:36 Error [procedure interrupted while awaiting response]

On the KVM host i see that the VM is restarting every few minutes:
virsh list | grep "94b8b839-f517-4913-a81d-c79e637c564a"
 126   94b8b839-f517-4913-a81d-c79e637c564a   running

@iulianroman the operator checks on a regular basis if the configuration of the VSI has changed. If is has changed, then the operator will restart the VSI, because that's the only way to apply changes.
In the case above it looks like the operator detects a "change" in the data disk, Data Disk [notarydisk] is not in ready state, ignoring, cause: [Ready].
Since the data disk is not ready, the VSI config is considered to be without a data disk, this is a change from the previous state (a data disk included) and as a result the VSI is restarted.
So the question is why the data disk is not considered ready, since that is the root cause.
The error message procedure interrupted while awaiting response suggests that this is due to a failing SSH connection.
@iulianroman does the version of the operator contain https://github.com/ibm-hyper-protect/k8s-operator-hpcr/pull/66 which is supposed to fix the ssh problem?

I believe it's a race condition on the lock https://github.com/ibm-hyper-protect/k8s-operator-hpcr/blob/main/server/datadisk/datadisk.go#L41
since that is a central lock. Reason to have locks in the first place is that the "create VSI" operation turned out to be very time consuming and it took longer than the retry-period.
But for data disks this is probably not the case and we could remove the lock altogether to avoid this situation.


Set personal group as can_manage when creating an item

As a user, I want to be able to edit the items I create.
Dependencies
Depends on:

Personal groups (Which issue?)

Acceptance Criteria

[ ]  When creating an item the personal group of the user creating it, gains can manage rights

Hi, whats the status of the issue? Has there been any progress so far? Because in the interim presentation our PO wanted to show that managers of items can click on "Edit this item" and the other buttons, however that is not possible if user do not have personal groups with managing rights. Please see also my comment in issue #179, which explains the problem further.

Hey, what's the current status here? This is a Prio 1 ticket, would be great if the integration continues.

Its ready for review now, we had a dependency on issue #179, which had to be completed first.


Updating RiskLimitUtilization model according to new protobuf specs. #27

Changes Unknown when pulling 11d0baa4e788d86cae573e645aa76afc7a5a96be on issue_27 into ** on master**.


Maps failing due to source tables with long names

Steps:

Go to any of your tables (not important ones, please) that contains geometries.
Rename it with a name of 63 characters, like: cpre_charter_to_save_our_countryside_comments_ex_do_not_contact
Go to map view, nothing is drawn.
Check the errors.

{"errors":["Error: could not fetch affected tables and last updated time: relation \"public.cpre_charter_to_save_our_countryside_comments_ex_do_not_\" does not exist"]}

The tablename in the error is shorter that the actual table name, which means that we're trimming the name somewhere and the source table cannot be found afterwards.
@javisantana @Kartones

https://github.com/CartoDB/cartodb/pull/3762

@rafatowerthis seems related with the fix that @javisantana mentions (#3762)

Bump: Happened again today.

2 more. @saleiva

@rafatower shoudn't the table model validate the name length? looks like the PR is merged is previous to latests problems.

The name of the example is 64 chars long. Then at some other point public.cpre_charter_to_save_our_countryside_comments_ex_do_not_ seems cut at 64 chars. In the mentioned PR I adjusted a limit to match an implicit limit of postgres with identifiers, up to 63 chars.
I made my point in the original issue #3747 that I fixed the limit size for consistency but then we need to decide how smart/picky the model should be (doing renames and stuff like that) and keep everything consistent across the app.
Comments are welcomed

there are two ways of changing names:

using editor API: really easy to fix just checking name and returning an error <- current ticket
using SQL API: this is really hard to manage

for second point, we could have a task like register ghost tables one that searches for "too long table names" and cuts them.

@Kartones usually postgres issues a NOTICE and truncates then without asking. And usually we don't notice those NOTICE's.
tests=# create table test();
CREATE TABLE
tests=# alter table test rename to cpre_charter_to_save_our_countryside_comments_ex_do_not_contact_very_long_blah;
NOTICE:  identifier "cpre_charter_to_save_our_countryside_comments_ex_do_not_contact_very_long_blah" will be truncated to "cpre_charter_to_save_our_countryside_comments_ex_do_not_contact"
ALTER TABLE

but then it is not limited to 63 chars when using the fully qualified schema name:
tests=# select * from public.cpre_charter_to_save_our_countryside_comments_ex_do_not_contact ;
--
(0 rows)

so I'd say we can live with truncates but need to check the sql api to see what's happening.
@iriberri that trace is from the sql api, right?

yep

The problem is not in the sql api but in postgres itself, observe the difference between using quotes or removing them:
tests=# select * from "public.cpre_charter_to_save_our_countryside_comments_ex_do_not_contact" ;
NOTICE:  identifier "public.cpre_charter_to_save_our_countryside_comments_ex_do_not_contact" will be truncated to "public.cpre_charter_to_save_our_countryside_comments_ex_do_not_"
ERROR:  relation "public.cpre_charter_to_save_our_countryside_comments_ex_do_not_" does not exist
LINE 1: select * from "public.cpre_charter_to_save_our_countryside_c...
                      ^
tests=# select * from public.cpre_charter_to_save_our_countryside_comments_ex_do_not_contact ;
--
(0 rows)

There are several problems here:

The Table "model" (actually table service on top of UserTable) is pretty "rich" and used from the importer for instance to decide a suitable name in case of conflict, "sanitizes" tables name on users' behalf
The postgres 63 chars limit of identifiers, which does not ensure everything will go fine as per the example shown above even if the table name length is < 63.
We can take measures in the Table model but the sql api opens up the door to all sort of corner cases.

I guess I can fix the editor by modifying the resulting sql to something like this (mind the quotes):
select * from "public"."cpre_charter_to_save_our_countryside_comments_ex_do_not_contact";

@pramsey what do you think about increasing the NAMEDATALEN and recompiling postgres? What would be the consequences apart from maintaining another package?

Issue for S/B 5663013 also.

From tiler logs:
[2015-06-18 09:39:57.305] [ERROR] console - [POST LAYERGROUP ERROR] -- 404: Error: Error: could not fetch affected tables and last updated time: relation "public.bug3808_renamed_cpre_charter_to_save_our_countryside_com" does not exist
[2015-06-18 09:39:57.306] [INFO] [default] - undefined POST development.localhost.lan:8081/api/v1/map?map_key=0f938975d057039378a283da356d6c7c3b671107 404 106 ms -> application/json; charset=utf-8 ({"req2params.setup":1,"authorizedByAPIKey":1,"authorize":1,"mapSave":3,"validate":57,"incMapviewCount":1,"queryTablesAndLastUpdated":41,"total":105})

One of the problems comes from this query:
2015-06-18 09:49:42 UTC LOG:  statement: WITH querytables AS ( SELECT * FROM CDB_QueryTables($windshaft$select * from bug3808_renamed_cpre_charter_to_save_our_countryside_comments_e$windshaft$) as tablenames ) SELECT (SELECT tablenames FROM querytables), EXTRACT(EPOCH FROM max(updated_at)) as max FROM CDB_TableMetadata m WHERE m.tabname = any ((SELECT tablenames from querytables)::regclass[]);
2015-06-18 09:49:42 UTC ERROR:  relation "public.bug3808_renamed_cpre_charter_to_save_our_countryside_com" does not exist

but not with CDB_QueryTables itself:
# SELECT * FROM CDB_QueryTables('select * from bug3808_renamed_cpre_charter_to_save_our_countryside_comments_e');
                          cdb_querytables
-------------------------------------------------------------------
 {public.bug3808_renamed_cpre_charter_to_save_our_countryside_com}

https://github.com/CartoDB/Windshaft-cartodb/blob/master/lib/cartodb/api/query_tables_api.js#L36-L43
The issue is storing schema.tablename in an identifier that then exceeds the 63 char limit.
I think we can work-around it by casting tablenames to a couple of regclasses instead of just one in the query cc/ @rochoa @pramsey

An easier way to reproduce the issue:
# SELECT cdb_querytables::regclass[] FROM CDB_QueryTables('select * from bug3808_renamed_cpre_charter_to_save_our_countryside_comments_e');
ERROR:  relation "public.bug3808_renamed_cpre_charter_to_save_our_countryside_com" does not exist

@rafatower, important to remember that "this.is_a_table_name" and that "this"."is_a_fully_qualified_table_and_schema" and that "this"."is_also.full_qualified"
Anyways, that's why you can get "public.really_long_name" truncated, because it's still just a single table name and falling into the 64 char limit.
WRT just recompiling, in theory everything will work, though we'll just have a problem at a larger name limit instead. In practice, it's hard to know whether everyone has correctly used the right macro (probably) everywhere things matter.

important to remember that "this.is_a_table_name" and that "this"."is_a_fully_qualified_table_and_schema" and that "this"."is_also.full_qualified"

yeah, I narrowed down the source of the problem and  created https://github.com/CartoDB/cartodb-postgresql/issues/86 to track that.

WRT just recompiling, in theory everything will work...

I was wondering about performance pitfalls of having big tables. Let's keep that as a last resort.
I'll try to get around in that particular query using OID's for the join instead.
Thanks!

S/B 5740881 too

Will be fixed when this PR gets out: https://github.com/CartoDB/Windshaft-cartodb/pull/314


systemd template has diverged from docker causing issues with live-restore functionality

Cookbook version
2.15.2
Chef-client version
1.13.1
Platform Details
Centos 7
Scenario:
Trying to use the live-restore functionality
Steps to Reproduce:

add the option  "misc_opts '--live-restore'" into the docker_service dsl
restart docker service so it picks up this new change
start a new container
restart the docker service again

Expected Result:
Your docker container should not go down.
Actual Result:
Docker server restarts all the containers running on that host.
This issue is identical to https://forums.docker.com/t/docker-v1-12-unable-to-live-restore-solved/23658
Think the key is you just have to update the systemd template to match the one docker packages up in their rpm's
https://github.com/docker/docker/blob/master/contrib/init/systemd/docker.service.rpm

it looks like you could swap over to using the docker configuration file and not worry about maintaining the systemd file ... might be a better option, then we could do reloads of the service to get label changes and things like that
https://docs.docker.com/engine/reference/commandline/dockerd/#linux-configuration-file

this should be resolved in 23751117a46520ca4e859acda2296908e5330a91. please reopen if it is not the case.


misused "dynamic_lib" and "static_lib" in meta.json of hdf5 package on Windows

In local env of hdf5 package on Windows keys "dynamic_lib" and "static_lib" are misused
"dynamic_lib": "libhdf5.lib",
...
"static_lib": "libhdf5.dll",

obviously *.lib is static, not dynamic, and vice versa.

It seems that 'lib' prefix here is redundant too. Files are called hdf5.lib and hdf5.dll

Thanks, I fixed dynamic vs static lib. As for libhdf5 - actually both are generated on my system, so I automatically detect first libhdf5.lib and then hdf5.lib ...


importHook / importNowHook timings

It was discussed today sharing the importHook and importNowHook while still having a Promise returned from importHook.
It was my understanding that the original driving use case for the importNowHook was cases where the module binding is needed to be accessed synchronously in the same function for eg loading builtins or any precompiled modules that are already available for execution.
Therefore, if importHook were to replicate this behaviour, this seems to imply that importHook would want to not be doing any task queue runs at all if there is no top-level await in the graph. The result of this is that execution errors would become direct exceptions of the importHook call instead of promise rejections returned from it. This does seem a little concerning if it is the case.
I'm still getting to grips with the exact semantics here, so I was just looking to verify if my understanding of the above matches what is being considered?

There were two relevant topics discussed this morning.
Let’s assume we rename importHook to loadHook and importNowHook to loadNowHook to more properly reflect their roles. These are hooks that return a module record for some module that has been loaded. loadHook is async and loadNowHook is sync. Modules that are synchronously available in a compartment from birth enter through the moduleMap, not through the loader hook(s).

Removing the loadNowHook compartment option because loading is inherently asynchronous. Any synchronous need is better served by moduleMap injection. (The Moddable/XS folks may have evidence to contradict these assertions!) cc @phoddie @patrick-soquet
Possibly removing compartment.importNow because it composes poorly with top-level-await. It is possible for one program to call compartment.importNow(x) when neither x nor any of its transitive dependencies use top-level-await. If any of those transitive dependencies introduce top-level-await, the compartment would be obliged to throw an error here, or return a module namespace that has not been fully initialized. The alternative is to to keep compartment.importNow() and socialize the hazard so folks know that adding the first top-level-await to any module is a breaking change and would oblige the module author to bump their major version.

Your argument applies to the former, though the issue came up on the slide discussing the latter.


FS2-0.10: Merge Logger, Content-Length and other changes from master

That is what I was referring to. I agree entirely, just want @aeons to be aware.

Yeah, I want to keep up with the changes, there's still a bit to do every time, though.


Breadcrumbs misalign on phone

Take a look how the breadcrumbs misalign on phone, it looks like its not properly aligned, at least in my eyes. Also the icons (Arrows) are too low.

Breadcrumb icon now uses exact pixel em value which should help vertical align.


prometheus.prometheusSpec.storageSpec.volumeClaimTemplate.spec.selector created in monitor values YAML, when installing rancher-monitoring chart as YAML

Internal reference: SURE-2997
Repo steps:
When installing momnitoring:

Deploy local-path provisioned in downstream https://github.com/rancher/local-path-provisioner
Go to Cluster Explorer > Apps & Marketplace -> Charts -> Monitoring > Prometheus and 'Enable Persistent Storage for Prometheus', selecting local-path StorageClass
Click 'Edit as YAML'
Click 'Install'

Install will fail:
prometheus-rancher-monitoring-prometheus-db-prometheus-rancher-monitoring-prometheus-0 volume in cattle-monitoring-system Namespace fails to successfully provision with the following error:
failed to provision volume with StorageClass "local-path": claim.Spec.Selector is not supported
The error that needs fixing is that when you click 'Edit as YAML', we populate an empty selector: volumeClaimTemplate.spec.selector - this should be removed before being sent to the backend.

Pattern can be found here:
https://github.com/rancher/dashboard/pull/8643


[DRAFT] feat: Add distributed tracing

This DRAFT PR introduces a distributed tracing instrumentation for the Producer and Consumer by leveraging the use of Activity objects with tags mapping the OpenTelemetry messaging attributes specification.
This is a continuation of the PR #1838.

[ ] Determine the best place to start activities.
[ ] Determine which attributes can be filled
[ ] Add an extension method for connecting traces (see what options there may be)
[ ] Discuss passing trace ID and span ID inside headers (I think it's better to take out a separate PR).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

we are interested in adding this capability - it keeps getting delayed because we don't know enough about it to quickly review a community PR or how it might fit with a broader confluent strategy & priority keeps getting bumped.
however, your contribution is appreciated - we will ultimately consider along with other similar contributions.

@mhowlett It's been 5 months, is there any update on whether and how Kafka is going to support distributed tracing?


CBAPI-2285: Workloads - SDK Code changes - Sensor Lifecycle Management

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Tests have been added that prove the fix is effective or that the feature works.
[x] New and existing tests pass locally with the changes.
[x] Code follows the style guidelines of this project (PEP8, clean code, linter).
[x] A self-review of the code has been done.

What is the ticket or issue number?

https://jira.carbonblack.local/browse/CBAPI-2285
Pull Request Description

Implement the Sensor Lifecycle Management APIs and underlying support.
Does this introduce a breaking change?

[ ] Yes
[x] No

How Has This Been Tested?

Full unit tests have been added for all new code.  Coverage of new code is 100%.

@avanbrunt-cb, I'm going to want you to let me know if you want me to add any more sensor installing functions to ComputeResource.  Since they all ultimately go through the _do_sensor_install_request helper function, I can add other combinations of parameters if you want some extra syntactic sugar.  (Not too much though! Too much syntactic sugar causes cancer of the semicolon. :D )

@avanbrunt-cb, I'm going to want you to let me know if you want me to add any more sensor installing functions to ComputeResource. Since they all ultimately go through the _do_sensor_install_request helper function, I can add other combinations of parameters if you want some extra syntactic sugar. (Not too much though! Too much syntactic sugar causes cancer of the semicolon. :D )

It might be worth supporting an array of objects with a vcenter_id and compute_resource_id for the bulk install incase they have the ids from somewhere else and don't have a compute_resource model

@avanbrunt-cb, I'm going to want you to let me know if you want me to add any more sensor installing functions to ComputeResource. Since they all ultimately go through the _do_sensor_install_request helper function, I can add other combinations of parameters if you want some extra syntactic sugar. (Not too much though! Too much syntactic sugar causes cancer of the semicolon. :D )

It might be worth supporting an array of objects with a vcenter_id and compute_resource_id for the bulk install incase they have the ids from somewhere else and don't have a compute_resource model

How do you want that passed in? As a list of sicts with the two values vcenter_id and compute_resource_id? Would that make the most sense?


In Nginx meta data and image not shown

Hello...
I tested yourls using httpd(apache) and nginx both.
so in apache it is working fine but in nginx when we share short link on facebook so it is not shown image and meta data.
i used same below nginx.conf file
https://github.com/YOURLS/YOURLS/wiki/Nginx-configuration
Thanks.

Interesting.
Could you comply with Contributing Guidelines, eg: give some software versions?
Thanks!
Ref: #1715

./nginx -V
nginx version: nginx/1.7.7
built by gcc 4.8.2 20131212 (Red Hat 4.8.2-8) (GCC)
TLS SNI support enabled

Seems like I cannot confirm this, facebook's preview looks fine to me… but maybe I did understand this wrong?
I'm running nginx 1.8.0 and YOURLS 1.7-git-135.12024cc

@chtaube Thanks a lot for your feedback: :kissing_closed_eyes:
@dipenpatel235 Is your install clean and based on the latest master version?
If yes, could you paste here your nginx conf?

Thanks For Your Prompt Replay...
Now I Fixed.
Reason for Not displayed images
in my conf file i added extra page speed  and gzip so i removed that and now starting displayed....
Thanks...

So may be issue in pagespeed

Good to know, thanks for your reply!
:peach: