Introducing UnitTests category.

Unit tests marked by JUnit category, allowing to execute only unit tests (might be useful for doing only quick check without need to execute more extensive tests) and included profiles which are able execute either only unit tests or the remaining ones (functional ones, which usually start the Undertow server and are more time consuming).
The default behavior is maintained and still all tests are executed.

Windows Build 1960 outcome was FAILURE using a merge of ec386f80a815a2a42a58f80f1dd1070281a8586a
Summary: Tests failed: 1, passed: 2744, ignored: 556 Build time: 00:28:58
Failed tests
io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes: java.lang.RuntimeException: test failed with i equal to 6
	at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
	at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes(ReceiverTestCase.java:200)
Caused by: java.net.SocketTimeoutException: Read timed out
	at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:246)
	at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
	at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes(ReceiverTestCase.java:200)

Windows Build 1961 outcome was FAILURE using a merge of 783917d2f0bc266c5c490576ef16d4bcbd4e9da1
Summary: Tests failed: 1, passed: 2744, ignored: 556 Build time: 00:33:14
Failed tests
io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes: java.lang.RuntimeException: test failed with i equal to 6
	at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
	at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes(ReceiverTestCase.java:200)
Caused by: java.net.SocketTimeoutException: Read timed out
	at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:246)
	at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
	at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes(ReceiverTestCase.java:200)


RuntimeError when querying self.root.should_stop.is_set()

We don't have a good understanding of what happens.
When querying self.root.should_stop.is_set() multiple times in a task, the subprocess panel displays "An error occured please check the log file for more details." Not always / not the first time ?
(in this example, we try and print the value - it is not printed but the value appears in the log file - even just querying the value the error appear in the log file)
Log file :
2017-11-29 11:56:39,377 | CRITICAL | Traceback (most recent call last):
2017-11-29 11:56:39,377 | CRITICAL | File "D:\Users\hqc\Anaconda\envs\ecpy2p7\lib\multiprocessing\queues.py", line 264, in _feed
2017-11-29 11:56:39,377 | CRITICAL | send(obj)
2017-11-29 11:56:39,377 | CRITICAL | RuntimeError: dictionary changed size during iteration
2017-11-29 11:56:39,427 | INFO | True

with True being the value for self.root.should_stop.is_set().

This does not occur with python 3.5, so I guess it is not necessary to fix it.


heading and bg on hover in buttons

Description

Fixed line height and font size of "Show your project to the world" heading.
Background color change on the buttons on in the projects page.

Fixes
fixes #213  and #212
Screenshots

I don't know why the changes are not showing.

Can you tell me which file you changed?
try to create a new fresh PR. from scratch


Support for Swift 4 when?

Warning file:/Pods/GLCalendarView/GLCalendarView/Sources/GLCalendarView.xib: warning: Unsupported Configuration: This file is set to build for a version older than the deployment target. Functionality may be limited.

I am also need this kind of development in swift too.! please tell is it available in swift ..!?


Async methods returning streams

Has there been any thinking in terms of supporting Stream aka AsyncIterator, or will that come down to some future syntax like yield SomeType? Thanks.

It's not in scope for this crate.


Will you make weight files public in the future？

Sorry for the late reply!  All checkpoint files here: https://drive.google.com/drive/folders/1_unL2XMll5vL1_zstnm3EC9BVFr_jrsf?usp=sharing. In order to match the module names in the paper, we have renamed some classes in the code at a later stage, so a small part of the model file may not be available, we will retrain this part of the model if we have time next.


Include Raster Foundry in adopters

:wave:

Codecov Report

Merging #1076 into master will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1076      +/-   ##
==========================================
+ Coverage    84.1%   84.18%   +0.08%
==========================================
  Files          76       76
  Lines        2435     2435
  Branches      184      184
==========================================
+ Hits         2048     2050       +2
+ Misses        387      385       -2

Impacted Files
Coverage Δ

...re/shared/src/main/scala/io/circe/JsonNumber.scala
91.25% <0%> (ø)
:arrow_up:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
90.36% <0%> (+0.6%)
:arrow_up:

...d/src/main/scala/io/circe/NonEmptySeqDecoder.scala
100% <0%> (+8.33%)
:arrow_up:

Continue to review full report at Codecov.

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

Nice, thanks!


Key and partitioning support for arbitrary JMS Headers

Currently, kafka-connect-mq-source supports three distinct (logical) sources for specifying the kafka key: JMSMessageID, JMSCorrelationID (as well as the Bytes variant) and JMSDestination (see https://github.com/ibm-messaging/kafka-connect-mq-source#key-support-and-partitioning).
We would like, however, to use a custom JMS Header for populating the kafka key. Is there any specific reason why you chose to limit support to those three possibilities and not arbitrary JMS Headers? Would you accept a PR to support arbitrary JMS Headers?
Thank you for providing this connector!

Hi @j0xaf Apologies for the long wait on this issue. This seems a worthwhile addition to the connector and we would happily welcome any contributions (you can find the contributions guide here)
I will also raise this with the development team to take a look at.


Add Atomic Heart support

You must also add ".sav" extension to all extracted files. Worked for me, though I copied all files (so including SavedSettings.sav) and did so before ever launching Steam version.
From what I've read on Reddit, it didn't work for people who copied just save files and did so after launching the game for the first time (saves showed up in game, but game was stuck on loading screen when trying to use them).

Thanks for the PR.
You could add a new elif to have game-specific logic, just like with the Control saves.

Also please add the game to the readme.

Also please add the game to the readme.

Done.


Creating Win32 "classic" exe or dll with WinObjC

Hello,
Do you plan support of creating Win32 "classic" exe or dll (ie not "Windows Apps", but Win32 Desktop or server executable, like executable for Windows 7) with WinObjC ?
Of course, I'll not plan use class with address OpenGL or user interface (only thread, memory, file...)
regards
Gilles Vollant

The focus of the iOS bridge is on Universal Windows Platform (UWP) apps. We currently have no planned support for classic Win32 applications. You may be interested in signing up for updates on Microsoft's Project Centennial, which you can read more about here.

:-(


unsupported component version: 0xa (at offset 0x0)

Hi! I am trying to run wasmtime.bindgenon a wasm component generated with wit-bindgen and wit_component::ComponentEncoder. The code I am testing is from this repo. (the repo is not mine, I just found it on the internet).
When trying to run $ python -m wasmtime.bindgen ./target/component.wasm --out-dir python/markdown/, I receive the following message:
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "...python/3.11.3/lib/python3.11/site-packages/wasmtime/bindgen/__main__.py", line 40, in <module>
    main()
  File "...python/3.11.3/lib/python3.11/site-packages/wasmtime/bindgen/__main__.py", line 30, in main
    files = generate(name, contents)
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "...installs/python/3.11.3/lib/python3.11/site-packages/wasmtime/bindgen/__init__.py", line 40, in generate
    raise RuntimeError(result.value)
RuntimeError: failed to extract interface information from component

Caused by:
    unsupported component version: 0xa (at offset 0x0)

Everything is the latest version as of now. (wasmtime-py 9.0.0)

A component with version 0xa is a relatively old component at this point, so while wasmtime-py may be up-to-date at this time you need to make sure that the component itself was also produced by up-to-date tooling.
The example repository you linked is likely using now-outdated tooling for building the component itself which you'll likely need to update to get things working.

I have upgraded everything and generated a new component. I still get an error message, the same one, but with the version 0xd.

Ah apologies but I forgot that the latest wasm-tools suite uses 0xd but the latest Wasmtime, 9.0, uses 0xc. When Wasmtime 10 is released it'll used 0xd but in the meantime when using Wasmtime 9 you'll need to move the tools back a little bit (sorry I forget which versions are involved here in terms of which tools you need to move back and such)

If it helps, 0xc versions are currently tracked in https://github.com/bytecodealliance/wasm-tools/wiki/Component-Model-Tooling-Compatibility#0xc---component-model-022023---052023.

Would compiling wasmtime-py from source help here? Or has the modification to 0xd not been made yet?

Well, it has now been updated, so I will close this issue.


Handle deletion of song parts

As laid out here: https://github.com/orgs/Choirless/projects/3#card-43852025, the front end will soon delete a song part's .webm object from the raw COS bucket when a user deletes a part.
New triggered actions are required on various buckets so that a deletion from the raw bucket triggers the subsequent deletion of all other derivative artefacts, both audio and video.
A further trigger is required so that the whole chain of deletion events causes the final video to be rendered again (without the deleted song part).

Sean reckons the front-end is already deleting the .webm file on deletion of a songpart, so we're good to go triggering "on delete" actions.


new subscription receive message published by publication long time before

The case can be reproduced with the default pub/sub example using aeron::ipc channel.

Start running the publication to publish an integer
Start running the subscription to retrieve integers
Close the subscription process with ctrl-c and record the last integer it received
Wait some times for about several minutes or longer
Start a new subscription to the same channel to retrieve new integers, record the first integer it received
Repeat step3 to step5

And in step5, sometimes you can find the first integer received by subscription could have a large gap compared to the second integer it received.
For example, the integer we get in step3 could be 10000, and the first integer we get in step5 could be 10001, and the second integer we get in step5 could be 11000

Given the implementation of the BasicPublisher/BasicSubscriber (which is what I am assuming you mean by the default pub/sub example).  If you are disconnecting and reconnecting the subscriber then you will see gaps in the integer sequences.  The publisher will increment the value on a failed offer, this will create gaps in the sequence.

the case is comparing integers on the same reconnected subscription in step 5. it means that the integers received by the new subscription will have gaps (10001, and then 11000, both of them are received by the new subscription which have large gaps)
do you mean this situation is normal?

the case is comparing integers on the same reconnected subscription in step 5. it means that the integers received by the new subscription will have gaps (10001, and then 11000, both of them are received by the new subscription which have large gaps)
do you mean this situation is normal?


crc32: Fix function definitions on WIN32

For windows support, we want to send patches separately.
This patch fixes <endian.h> not found on Windows.

Thanks!


Lost communications with UPS

Hi,
Lost communications with UPS.
All worked fine with older Home Assitant versions.
My configuration:
resinos-hassio-1.3-raspberrypi3.img
Home Assistant 0.69.1
APC UPS Daemon log:
starting version 3.2.4
May 26 21:47:55 a722577e-apcupsd syslog.info syslogd started: BusyBox v1.27.2
May 26 19:47:55 a722577e-apcupsd daemon.notice apcupsd[9]: apcupsd 3.14.14 (31 May 2016) unknown startup succeeded
May 26 19:47:55 a722577e-apcupsd daemon.info apcupsd[9]: NIS server startup succeeded
May 26 19:49:05 a722577e-apcupsd daemon.warn apcupsd[9]: Communications with UPS lost.
Many thanks for your help

Hello, are you still having these issues?
Have you tried restarting the add-on or the raspberry pi? Can you verify the USB is still plugged in?

Hello,
Thank you for your reply.
I restarted the add-on, restarted the raspberry and this issue is not solved.
I installed the add-on on a fresh hassio image without more success.
I restarted my ups, I changed the USB port with no more success.
Many thanks for your help

To help further, you'll need to turn on SSH debugging.
SSH into the OS and post the output of the following commands:

ls /dev/usb
cat /sys/bus/usb/devices/*/product

Also post your add-on config.

ls /dev/usb
hiddev0  hiddev1
cat /sys/bus/usb/devices/*/product
USB Keyboard
USB Optical Mouse
Back-UPS ES 700G FW:871.O2 .I USB FW:O2
DWC OTG Controller
add-on config
{
"name": "APC UPS",
"cable": "usb",
"type": "usb",
"device": "",
"extra": []
}

Hello,
Thanks a lot for your help and your quick replies.
Without keyboard and mouse all works fine.
Is there a way to specify the usb device used by my UPS?
May be by specify the usb device in the add-on config?
Something like:
"device":"/dev/usb/hiddev0",
Best regards

Now all works fine.

This is partly due to this issue.
However, in this case I've just released version 1.5 which just passes all /dev/usb device instead of just /dev/usb/hiddev0. apcupsd should be able to detect which hiddev device is your UPS automatically now, even if your UPS isn't hiddev0.


EOF after \\ raise EOF Error

Return EOF Error to get the next line after\\in the shell.
Closes #1928

Nice!


release: 3.6.7

[v3.6.7] (Aug 11 2023)
Fixes:

Removed duplicated getEmoji API call from the useGetChannel hook. (#705)
fix: Publish SEND_MESSAGE_FAILED event (#704)

Added handling for failure state in sendbirdSelectors.getSendUserMessage and publish the SEND_MESSAGE_FAILED event.
Fixed typo SEND_MESSAGEGE_FAILURE.

Chores:

Added a troubleshooting guide to the README. (#702)
Made minor improvements to the onboarding process. (#701)

/bot create ticket

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-944


Inexact Error in Zarate Algorithm

First of all thanks for this library. I have been using NetworkLayouts.jl for almost a year but the Stress Layout was enough for my work.
Recently I was in need of a hierarchical layout and found your repository.
I have found this error in a few graphs I have been trying to visualize. I am not sure why this error is appearing. There is some Float value that the algorithm is calculating which because of floating point error is not rounding off to 1 and thus Julia is having trouble understanding that as a boolean variable.
The error with important trace:
InexactError: Bool(0.9999999999999152)
Stacktrace:
  [8] sort!
    @ ./sort.jl:661 [inlined]
  [9] #sort!#8
    @ ./sort.jl:722 [inlined]
 [10] order_layers!
    @ ~/.julia/packages/LayeredLayouts/bZiaV/src/zarate.jl:203 [inlined]
 [11] solve_positions(layout::Zarate, original_graph::SimpleDiGraph{Int8}; force_layer::Vector{Pair{Int64, Int64}}, force_order::Vector{Pair{Int64, Int64}})
    @ LayeredLayouts ~/.julia/packages/LayeredLayouts/bZiaV/src/zarate.jl:93
 [12] solve_positions(layout::Zarate, original_graph::SimpleDiGraph{Int8})
    @ LayeredLayouts ~/.julia/packages/LayeredLayouts/bZiaV/src/zarate.jl:65

I am attaching the graph that is causing the error for recreating.
example_graph.zip

Can you try out the branch in #34 and confirm it solves your problem?
do this via
] add LayeredLayouts#ox/round


x/tools/gopls: migrate "test generation" features to gopls

vscode-go uses the gotests package to generate unit tests, which makes it hard to adjust the test generation behavior as mentioned here: vscode-go issue #1594.
We could move the test generation logic to gopls, which provides a few benefits,

Flexibility in modifying logic around test generation. Current vscode-go implementation uses gotests as a child process to generate tests, which makes it hard to customize test generation.
Reduction in the number of 3rd party tools for vscode-go. gotests package moves within gopls.

More about it here.
/cc @stamblerre

Currently, gotests is written to work as as a command only. I reccommend you would work together with @cweil and help to develop a version of gotests that also can be used as a module library, and which has the additional features you would like? This will then also benefit people who are not using gopls or VisualStudio, and want to integrate this in a different editor, like myself.

@h9jiang is implementing this in golang/vscode-go#1594.

(and is effectively done, so I'll close this)


Improve accessibility of fallback text values in card details

Updated replaceSymbols() function to use a singular <abbr> with a title attribute, instead of a secondary <span> fallback item (fallback valued moved inside <abbr>, and CSS added to handle sizing of icons).
Resolves https://github.com/NetrunnerDB/netrunnerdb/issues/787.

Copy/pasted text from Starlight Knight:

Starlit Knight 5[credit]
Ice: Sentry - Observer
Strength: 2
Influence: 3
Threat 4 → When the Runner encounters this ice, it gains X "[subroutine] End the run." subroutines for the remainder of this run, after its other subroutines. X is equal to the number of tags the Runner has.
[subroutine] Give the Runner 1 tag.
[subroutine] Give the Runner 1 tag.
An exemplar of Starlightʼs hubris, it stands vigil over secrets of hypocrisy.
Illustrated by Jakuza

I'll let the Null Signal folks actually merge this (even tho I still have write access) cuz it's their domain now, but I think this looks great and I'm very glad someone with experience with screen readers is making it better.


What happened?

Have you given up on this?

Kinda yeah. Never got people interested enough to collaborate with me on this.
I do not have a strong background in digital circuits and hardware, hence was blocked on creating edge-based components and extending them to emulate something like a 8085 micro-processor.


[FEATURE] Ability to set a "main image"

Hi,
It would be very handy if we could set the "main image" from the preview of the images that we just uploaded.
For example. Let's say that we have a product_new page, where we use it to create the product page in our CRUD. In the image section, we can select multiples images to be uploaded. During the preview, it would be nice if we could select/tag one image to be the "main image" of the product. This is a common setup in ecommerce websites. You have the main product image and the rest are used for carousel or gallery. You could add a hover on the image, and on the left/right top corner a label/button/icon saying "set main image" or something like that. It would be like a radio element. You can only set one main image. Now, I just don't know how you could upload/submit them to the server. Maybe the main image can create a hidden input for it? But I would need a way to differentiate the main image from the others.
I hope I made it clear.
Cheers.

Hey there - thanks for your question.
I believe I'm following what you're saying. Something like that would be out of scope for this project, but would be possible using the cachedFileArray that you can use after a user makes a selection.
You could loop over the cachedFileArray and show back the images in a custom made div or whatever. Then, allow a user to choose an image. When the user "selects" a "main" image, you could grab the id or name or some identifier on click, and send up that identifier when you make your POST request as another parameter. Then you can assign an image as the main image. I think in this way, it's very possible for your to build this out yourself using the cachedFileArray.
Another way would be to fork this project and build this functionality right into your fork.
Hope this helps, thank you.

I got it. Thank you.


fix typo in README.md

also, even the very first example confuses me, which should be simple, understandable and working.

<{ at: string }> is used in components/post.jsx
browser({ available: ['en', 'fr', 'ru'] }) - in ts i got Property 'fallback' is missing in type '{ available: string[]; }' but required in type '{ available: string[]; fallback: string; }'.
import localeSettings from './locale-settings.js' - file not described.

In an hour, I only managed to get back the localization object, which I already have. I keep on trying.

fix typo in README

Thanks!

the very first example confuses me

Fixed: 0158044


ReferenceError: reentry is not defined

I am actually encountering a problem while I am trying to upload a file from storage to an FTP server, passing by a triggered node js function.
So, every time a file, with a specific name, is uploaded to Firebase storage, this file should automatically be uploaded to the FTP server. To do that, I am using promise-ftp. I am able to connect to the server but when it comes to upload files, I am faced with a connection timeout.
But, when I execute the js script locally without passing by a trigger, the file is successfully uploaded.
My promise-ftp script that I tried locally looks like :
function test() {
  var ftp = new PromiseFtp();
  const tempFilePath = path.join(os.tmpdir(), '123.pdf');
  ftp.connect({host: 'ftp.aaa-bbbb.ccc', user: 'aaabbb', password: 'pswd123'})
  .then(function (serverMessage) {
    console.log(serverMessage);
    return ftp.put(tempFilePath, 'local.pdf');
  })
  .then(function () {
    return ftp.end();
  })
  .then(() => {
    console.log("Ready to delete");
     // Once the pdf has been uploaded delete the local file to free up disk space.
    fs.unlinkSync(tempFilePath);
  });
}

exports.updateToFTP = functions.storage.object().onFinalize((object) => {
    // [START eventAttributes]
    const fileBucket = object.bucket; // The Storage bucket that contains the file.
    const filePath = object.name; // File path in the bucket.
    const contentType = object.contentType; // File content type.
    const resourceState = object.resourceState; // The resourceState is 'exists' or 'not_exists' (for file/folder deletions).
    const metageneration = object.metageneration; // Number of times metadata has been generated. New objects have a value of 1.
    // [END eventAttributes]

  // [START stopConditions]
  // Exit if this is triggered on a file that is not an image.
  if (resourceState === 'exists') {
    // ignore for deletions
    return
  }
  if (!contentType.startsWith('application/pdf')) {
    return null;
  }
  // [END stopConditions]
  // Get the file name.
  const fileName = path.basename(filePath);
  // get file from bucket.
  const bucket = gcs.bucket(fileBucket);
  const tempFilePath = path.join(os.tmpdir(), fileName);
  var ftp = new PromiseFtp();
  return bucket.file(filePath).download({
    destination: tempFilePath,
  }).then(() => {
    return ftp.connect({host: 'host', user: 'usr', password: 'pwd'})
  }).then(function (serverMessage) {
    console.log(serverMessage);
    return ftp.put(tempFilePath, fileName);
  }).then(function () {
    return ftp.end();
  })
  .then(() => {
    console.log("Ready to delete");
     // Once the pdf has been uploaded delete the local file to free up disk space.
    fs.unlinkSync(tempFilePath);
  }).catch((err) => {
      console.log("Catching error");
      console.log(err)
  });
})

The error is :
ReferenceError: reentry is not defined
    at /user_code/node_modules/promise-ftp/node_modules/@icetee/ftp/lib/connection.js:937:18
    at Timeout._onTimeout (/user_code/node_modules/promise-ftp/node_modules/@icetee/ftp/lib/connection.js:962:9)
    at ontimeout (timers.js:386:11)
    at tryOnTimeout (timers.js:250:5)
    at Timer.listOnTimeout (timers.js:214:5)

Any idea?

@zacronos It looks like this bug was fixed in @icetee/ftp around version 1.0.6, but this library is still using version 0.3 of this package.
I observed this error yesterday in a downstream package that depends on yours (ftp-deploy).

Having same issue.


Offline packages encryption key

I am facing issues with offline packages and their encryption key.
The issue is this. In my app i choose a directory on the SD Card to save offline packages.
The idea is first to get more space and not clutter the internal memory. But also to prevent constant download of packages when app is removed / installed.
To be cleared right now the issue is mostly with my env dev where i constantly remove/install my app. Right now everytime i get that offline packages do not have the same encryption key.
It wont happen everyday for normal users but i am still wondering what is the issue with allowing the user to remove/install the app and still use the same offline packages.
Maybe an encryption key based on the device serial number or such could be enough? That would allow what i am trying to achieve
And also that s eco friendly ;)

I have been looking at the code here to get the encryption key and it seems to be exactly what it should be. It's based on the device id + packageid. Dont know why it does not work upon re install then...

@farfromrefug You are right, this is supposed to work as you described. I will do some tests and try to reproduce the issue.

@mtehver no test needed on your side. Found the reason!
android.provider.Settings.Secure.ANDROID_ID is based on the sign key.
And in my env it is not the same on in dev and release. I was facing that issue when the carto data was created in one and used in the other.
I guess this would be acceptable and would never happen to a user except me ;)
Thanks for answering !


SDK version mismatch

We have an app that uses 1 SDK. Both are using apollo-android. On the app side, we have started migrating SDK version from 1.0 to 2.0 whereas SDK is still using 1.0. We are getting following the crash.
is this happening coz of version mismatch if yes anyway to prevent
 java.lang.AbstractMethodError: abstract method "com.apollographql.apollo.api.internal.ResponseFieldMapper com.apollographql.apollo.api.Operation.responseFieldMapper()"
        at com.apollographql.apollo.internal.ResponseFieldMapperFactory.create(ResponseFieldMapperFactory.java:21)
        at com.apollographql.apollo.internal.RealApolloCall.prepareInterceptorChain(RealApolloCall.java:381)
        at com.apollographql.apollo.internal.RealApolloCall.<init>(RealApolloCall.java:125)
        at com.apollographql.apollo.internal.RealApolloCall$Builder.build(RealApolloCall.java:542)
        at com.apollographql.apollo.ApolloClient.newCall(ApolloClient.java:374)
        at com.apollographql.apollo.ApolloClient.query(ApolloClient.java:156)
        at com.product.network.graphql.ApolloGraphQl.getProductQuery(ApolloGraphQl.kt:166)```

Hi! Thanks for reaching out! A few questions:

We have an app that uses 1 SDK.

Did you mean "2" SDKs?

migrating SDK version from 1.0 to 2.0

Can you use apollo-android version 2.2.2? Version 2.0.0 had a number of issues that could trigger these kind of errors.
Other things worth considering:

Do you know what version of apollo-runtime gets resolved by Gradle? You can have this by typing ./gradlew :app:dependencies
If that does end up being some incompatibility of having 1.x and 2.x together on the classpath, I don't see any other option than relocating the dependency. There are some explanations in the shadow plugin doc but I have never done this myself. It might be easier to upgrade everything to 2.x.

We are using 2.2.2
We have the app which uses SDK implementation(name: 'testsdk', ext: 'aar')
App using apollo 2.2.2 and testsdk is using 1.0.0

Do you have control over testsdk? The simplest path there might be to upgrade that to using apollo-android 2.2.2 as well.

yeah that the plan but just want to know if any other alternative. we are using generateModelBuilder = true and with 2.2.2 we are migrating to generateKotlinModels.set(true) so its lot of code changes coz java to kotlin conversion

You can use Kotlin models in the app and Java models in testsdk if that helps:
// app/build.gradle.kts
apollo {
   generateKotlinModels.set(true)
}

// testsdk/build.gradle.kts
apollo {
   generateKotlinModels.set(false)
}

The apollo-api and apollo-runtime modules are compatible with both Java and Kotlin models.

yeah but with java, I am getting wired issue
https://github.com/apollographql/apollo-android/issues/2351#issuecomment-652857391


Looking for security issues in your CI. Please ignore :)  aciyjl

Looking for security issues in your CI. Please ignore :)  aciyjl

 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.returnofthepargit seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Callback event "rpc" with ID 1 processing timed out.

Hi michalvasko:
i use the docker image sysrepo/sysrepo-netopeer2:latest
netopeer2-server: 2.1.49
sysrepo: v2.2.36
I try to do an edit-config on cli (edit-config --target=candidate --config=/opt/dev/global.xml) but i have this error:
ERROR
type:     application
tag:      operation-failed
severity: error
message:  Callback event "rpc" with ID 1 processing timed out.
    type:     application
    tag:      operation-failed
    severity: error
    message:  User callback failed.

I also change the timeout on server with "netopeer2-server -t 30" and add '--rpc-timeout 30' to my edit-config command  but i always have  the same error.
Thanks for any help you can give

I can only suggest you do not use a Docker image (or create your own with the actual latest versions) because it is not maintained by us and not up-to-date.

Ah ok I understood  thank you for your answer


italian translation

I know:
you are working to put everything on Transifex ... but I need the italian version as soon possible :)
Thanks!

Hi there, thanks for your contribution!
Since the develop branch is in heavy development to prepare the future 0.10.0 version, I will merge it manually in order to release a hotfix version, the 0.8.7. MapContrib.xyz is actually using the 0.8.6.

I need the italian version as soon possible :)

Can I ask why? :)

Crap... The l20n files have difference between the 0.8.6 and the 0.9.0...
Can you provide me the translation for that file?
https://github.com/MapContrib/MapContrib/blob/master/src/public/locale/en/main.l20n
Thanks!

Thanks a lot!
I read your messages now.
I'll correct the file (see attachment)
I need the italian version of MapContrib for the CoderDojo on my city :)
We need to semplify the data entry for some POI
thanks for your great job
main.l20n.txt

Almost done, just some sentences are missing:
<editLayerColumn_title "Layer edit">
<editLayerColumn_layerName "Name">
<editLayerColumn_layerDescription "Description">
<editLayerColumn_visibilityAndEdition "Visibility and edition">
<editLayerColumn_visible "Visible by users">
<editLayerColumn_dataEditable "Allow to edit data">
<editLayerColumn_layerZoomLevel "Minimum zoom">
<editLayerColumn_currentMapZoom "The map is currently using the zoom level {{ $currentMapZoom }}">
<editLayerColumn_layerOverpassRequest "Overpass request">
<editLayerColumn_marker "Marker">
<editLayerColumn_layerPopupContent "Popup content">

Woops, my bad, those sentences were in the PR files. It's merged and up on http://mapcontrib.xyz :)

Thanks a lot!
If I have to add new updates do you like that we use this way or do you prefer to work on Transifex (after you activate it)?

Translations updates have to be integrate, with or without Transifex (or whatever software we'll use in the future).
If you're ok with that, I will create an issue before the 0.10.0 release and you will be assigned to it, in order to update the new sentences in italian.
In the mean time, you can create issues to give me fixes/updates I will integrate manually.
Thank you very much for your contributions :)


Compile input yamls

We can use multiple yaml files to constuct a single model

Don't mind the strange history. I branched off at the wrong place but that should be fixed once we squash it.

@antw can I merge this?

can I merge this?

Yeah, looks good to me! :+1:


⚡Add sensitive data types US addresses

💭 Introduction
Akto allows users to find sensitive params in request and response of APIs. These sensitive params include PII data such as SSN, Credit card number, phone number etc. You can check how it works in the docs.
Your task is to add US addresses as sensitive params.
👀 Impact
Your task will give users the ability to detect US addresses sensitive data types.
🎯 Requirements

Understanding of regex
Understanding of unit test

✅ Task summary:

[ ] Ask to be assigned to the issue.
[ ] Wait to be assigned. We will try to assign in less than 2 hours.
[ ] Make regular expressions for US address.
[ ] Please provide the reference URL that mentions the nature of the address.
[ ] Add an entry in fintech.json file
[ ] Add a test case entry in TestFintechTypes.java
[ ] Submit a pull request here

🙋🏼♂ Questions:
If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.

Hi @marksowell, assigned to you! Happy Hackfesting 🎉

Reference URL - https://docs.opswat.com/mdcore/proactive-dlp/sample-regular-expressions
Submitted PR  #225

Thanks a lot @marksowell, your PR is under review!

Hi @marksowell  thanks for your submission in Hackfest. 🔥 We are reviewing your work. Do these two below:
Join this group on discord for discussions around prizes? 🚀 🏆
Please fill this form your PR to be considered for prizes!


Network selector

This PR is based on #104

[!IMPORTANT]
Keys in env had been refined. Make sure to refill it before testing.

Refine env variables.
Refine config usage for multiple environments.
Refine storage initial process.
Add NetworkSelector in Navbar

After testing, here should be <>...</> instead of <NavbarLayout>...</NavbarLayout>, or it will result in recursive <NavbarLayout>.
export function AccountInfo() {
// ...
  return (
    <NavbarLayout>
// ...
    </NavbarLayout>
  )
}

->
export function AccountInfo() {
// ...
  return (
    <>
// ...
    </>
  )
}


Update the SIC ConOps - required for SMS ATO

This will require input from various team members e.g. to provide technical updates, diagrams, etc.).


I need to count the total number of tomatoes for the day, not just 4 ones

will do it, pls

This sounds like good feature to me as well! Do you have an idea how it should look?

Working on this.

have you guys done anything on this regard?
I am looking for a feature that would show either the count of the tomatoes or the time of all tomatoes per day of course. A config part to tell which one to show!
I expect the window to be dvided into 2 parts, one out of which shows the number mentioned.


Courier (Kerfer) Borg

the courier is a borg chassis that moves incredibly fast and has inventory slots that anyone can access easily. it is however incapable of interacting with anything and can not see into its own inventory, however it can be rewired to be able to interact or trigger its own inventory (but still can't see it).
its carrying capacity consists of 2 2x4 shelves. however the top shelf can be adjusted to make it a 1x4 and 3x4 inventory arrangement.
if attempting to talk as kerfer borg the words get replaced with various meowing onomatopoeia, even in binary.
can switch between various expressive displays with one being unlocked when e-mag'd.

I like the ideas and thank you for the asset contributions; once I'm back from my prior engagements I'll look at getting this and the other thing added as soon as I can <3


[support for CarPlay]

battery icon changes for ampere do not show in CarPlay. CarPlay only shows the default battery icon. BatteryPercentageX shows in CarPlay when I used it in iOS 14: https://cydia.ichitaso.com/depiction/batteryx.html

Thanks for including this in the latest update. I tested it and it shows in CarPlay. iOS 15.1.1


add /exposure-configuration/present

This PR adds https://retrieval.covid-notification.alpha.canada.ca/exposure-configuration/present and responds with 204. Explanation in issue.

Hi @scoates, thank you for your contribution! I have moved it into #242 because it does not run the full CI on the external PR and it did not accept my changes when I merged on this on.

Looks good to me. Thanks for taking care of it. Closing this in favour of #242.


Incorrect Coverage report with PHPunit 6.3 and PHP 7.1

With the latest stable/supported releases of PHPunit, PHP, and Paratest, it appears that the coverage report generated by Paratest is incorrectly reporting lines as not covered. These include opening and closing braces and brackets for functions and arrays, as well as closing parenthesis for function calls.

The test suite is currently being run on a Symfony 3.3 project.

In xdebug there are covered lines, uncovered lines and dead code. Probably that last one is not passed through correctly.

@celowsky there was a bug in Xdebug that was fixed (I experienced it myself)... could you double check your Xdebug version (php -v) and report back? Upgrade to Xdebug 2.6.0 and see if the issue is fixed.

I'll close this issue now. @celowsky Please feel free to reopen the issue in case the problem still occurs.


Fixes after Miri review

[x] When the player is synced to live - don't show the sync to live tooltip
[x] When hovering on and off the progress bar something looks wrong with the transition
[x] I'm trying to drag the selector, but it doesn't work.
[x] Keep the livestream red selector always the same color

I think there shouldn't be tooltip on the top right LIVE button, when live is sync


⚠ Samsung has degraded performance

In 5a78f24, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2158 ms

Resolved: Samsung performance has improved in 584c7ee.


Add check if we can disregard child as in set_append_rel_size

In case of update query subquery_planner calls inheritance_planner (here) that calls grouping_planner (here), in case of select query grouping_planner is called directly (here).
Because for update in inheritance_planner plan is generated for each child table (here and here) and set_append_rel_size function also has a loop for each child table (here) the number of times line (here) to call set_dummy_rel_pathlist(root, childrel)  in  set_append_rel_size is called (NumberOfChildTables)*(NumberOfChildTables-1) times.
That leads to the high memory consumption if there are too many partitions.
This fix uses logic from set_append_rel_size to check if the child need to be scanned (here).
As RelOptInfo arrays (root->simple_rel_array_size and root->simple_rel_array) are filled in query_planner that is too late, it was done in advance for PlannerInfo copy using the set of functions from query_planner (from here and here).

I've suggested less invasive solution in #345. Let's discuss it first.

Closed in favor #345


stage1效果问题

你好，我下载了你的source-only的预训练模型，并采用‘ld’进行训练，同时对代码进行了一些调整，但发现训练结果（mIoU 41.04%）无法达到论文汇报的性能，想请教一下原因。

We have replied by gamil. Please check it.

@fumyou13 Thanks for your quick reply!
I am sorry for sending the wrong "trainer.py" file earlier.  The new file has been sent to your gmail. To save time, I made minor adjustments compared to the original file. But the results are unsatisfactory and really confused me.
Looking forward to your reply.

We have replied by e-mail and fixed some bugs. Feel free to re-open the issue if you have any problem

We have replied by e-mail and fixed some bugs. Feel free to re-open the issue if you have any problem

Same issue here. Just wondering if you've updated the new version with bug-free code on github?
Thanks.


Add LDAP configuration tasks

Fixes #11
This adds a grafana_ldap role variable that is used in populating the LDAP configuration file (which can be configured to be something other than the default).
Group mappings are defined on an organization basis rather than a several separate mappings.
There's one shortcoming in this PR - extra organizations aren't created if they're defined. I was thinking I would hit the API to do so, but I'm not sure how I would go about creating organizations with specific IDs correctly (say I defined org 3 before 2 in group_mappings, or even skipped org.id: 2) when the API (understandably) only lets you create the next available org_id with a name.

Seems like yamllint doesn't like booleans starting from uppercase letter:
--> Executing Yamllint on files found in /home/travis/build/cloudalchemy/ansible-grafana/...
    /home/travis/build/cloudalchemy/ansible-grafana/molecule/alternative/playbook.yml
      20:24     warning  truthy value should be true or false  (truthy)
      23:24     warning  truthy value should be true or false  (truthy)
      27:18     warning  truthy value should be true or false  (truthy)
      28:20     warning  truthy value should be true or false  (truthy)
      29:26     warning  truthy value should be true or false  (truthy)

Yeah, I usually write bools in lowercase but was attempting to mimic style from another part of this role - I guess there was a mix so I went ahead and made bools consistent throughout the role.


redis-cli tls support

[Enter feedback here]
In section https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-redis-cli-tool#enable-access-for-redis-cliexe

With Azure Cache for Redis, only the TLS port (6380) is enabled by default. The redis-cli.exe command-line tool doesn't support TLS.

The redis-cli supports tls now, see https://redis.io/docs/manual/cli/#ssltls, I can use following command to connect to Azure Redis
redis-cli -h ***.redis.cache.windows.net --tls --insecure -p 6380 -a ***

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

ID: 17de8ad0-ac40-26a5-7718-1738f63f0700
Version Independent ID: 797d8d3f-132d-d71f-2df4-caade2b1240b
Content: Use redis-cli with Azure Cache for Redis
Content Source: articles/azure-cache-for-redis/cache-how-to-redis-cli-tool.md
Service: cache
GitHub Login: @flang-msft
Microsoft Alias: franlanglois

@zhiweiv Thank you for the feedback. This is being assigned to the content author to evaluate and update as appropriate.

#re-assign: @shpathak-msft - When this is resolved, re-assign to me when determined.

#re-assign: @shpathak-msft

#assign: @shpathak-msft

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close

We have discussed this on our team and acknowledge that you are right. Presently, we don't have a firm date as to when we might have a fix for this. We will continue to monitor any feedback and discuss it in planning sessions for new features and content.


Is it possible to use Sparse Tensor in Distributed Tensorflow ?

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
Hey everyone,
I have been trying to feed sparse tensor as an input into my distributed tensorflow model. The struggle is real at the moment, it doesn't seem to work -> all I get is this error message which makes me wonder is it even possible with tensorflow ?
TypeError: Failed to convert object of type <class 'tensorflow.python.framework.sparse_tensor.SparseTensor'> to Tensor. Contents: SparseTensor(indices=Tensor("cond_1/Identity:0", shape=(None, 3), dtype=int64, device=/job:worker/replica:0/task:0/device:CPU:0), values=Tensor("sequential/dense/Cast:0", shape=(None,), dtype=float32, device=/job:worker/replica:0/task:0/device:CPU:0), dense_shape=Tensor("cond_1/Identity_2:0", shape=(3,), dtype=int64, device=/job:worker/replica:0/task:0/device:CPU:0)). Consider casting elements to a supported type.
Indeed, I have been reading other issue that others faced when using sparse tensor and the workaround that had been mentioned was to cast it to dense during runtime. However, the the training speed is heavily effected by it, at least for me causing it run 1 hour and 30 minutes per epoch whereas running it locally its 4 minute per epoch (mind blown)
Best regards and stay safe
Describe the expected behavior
Contributing - Do you
want to contribute a PR? (yes/no): - Briefly describe your candidate solution
(if contributing):
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

I have never had this problem before today, but now when I run code I have these errors:
!pip install tensorflow-gpu >> /dev/null

ERROR: tensorflow 2.4.1 has requirement gast==0.3.3, but you'll have gast 0.4.0 which is incompatible.
ERROR: tensorflow 2.4.1 has requirement grpcio~=1.32.0, but you'll have grpcio 1.34.1 which is incompatible.
ERROR: tensorflow 2.4.1 has requirement h5py~=2.10.0, but you'll have h5py 3.1.0 which is incompatible.
ERROR: tensorflow 2.4.1 has requirement tensorflow-estimator<2.5.0,>=2.4.0, but you'll have tensorflow-estimator 2.5.0 which is incompatible.

!pip install --upgrade grpcio >> /dev/null

ERROR: tensorflow 2.4.1 has requirement gast==0.3.3, but you'll have gast 0.4.0 which is incompatible.
ERROR: tensorflow 2.4.1 has requirement grpcio~=1.32.0, but you'll have grpcio 1.37.1 which is incompatible.
ERROR: tensorflow 2.4.1 has requirement h5py~=2.10.0, but you'll have h5py 3.1.0 which is incompatible.
ERROR: tensorflow 2.4.1 has requirement tensorflow-estimator<2.5.0,>=2.4.0, but you'll have tensorflow-estimator 2.5.0 which is incompatible.
ERROR: tensorflow-gpu 2.5.0 has requirement grpcio~=1.34.0, but you'll have grpcio 1.37.1 which is incompatible.

@sat2000pts ,
In order to reproduce the issue reported here, could you please provide the Tensorflow version, complete code and the dataset you are using. Thanks!

@sat2000pts
from the error logs it does not appear to be an incompatibility issue between the sparse tensor and training pipeline, can you isolate a single layer, try feeding the sparse inputs ti it and let us know.


building crashed when i add firebase_database: ^3.1.0

Hi.
I have the following problem - when i add firebase_database: ^3.1.0 in pubspec.yaml then i get:
Launching lib\main.dart on SH Z01 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
Finished with error: Gradle task assembleDebug failed with exit code 1
there is my pubspec.yaml:
`name: app
description: MN
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
firebase_auth: ^0.15.0+1
firebase_core: ^0.4.2+1
firebase_database: ^3.1.0
modal_progress_hud: ^0.1.3
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
`
there is end of "flutter run --verbose":
`#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      _buildGradleProjectV2 (package:flutter_tools/src/android/gradle.dart:751:5)

#2      buildGradleProject (package:flutter_tools/src/android/gradle.dart:494:14)
#3      buildApk (package:flutter_tools/src/android/apk.dart:34:9)
#4      AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:486:13)
#5      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:378:54)
#6      HotRunner.run (package:flutter_tools/src/run_hot.dart:254:39)
#7      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:472:37)
#8      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:490:18)
#9      _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#10     _rootRunUnary (dart:async/zone.dart:1132:38)
#11     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#12     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#13     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#14     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#15     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#16     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#17     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#18     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#19     _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#20     _rootRunUnary (dart:async/zone.dart:1132:38)
#21     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#22     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#23     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#24     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#25     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#26     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#27     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#28     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
#29     _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#30     _rootRunUnary (dart:async/zone.dart:1132:38)
#31     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#32     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#33     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#34     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#35     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#36     Future._asyncComplete. (dart:async/future_impl.dart:552:7)
#37     _rootRun (dart:async/zone.dart:1124:13)
#38     _CustomZone.run (dart:async/zone.dart:1021:19)
#39     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#40     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23)
#41     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#42     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#43     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#44     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)
`
there is "flutter doctor -v":
[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Microsoft Windows [Version
10.0.17134.1130], locale ru-RU)
• Flutter version 1.9.1+hotfix.6 at C:\src\flutter
• Framework revision 68587a0916 (3 months ago), 2019-09-13 19:46:58 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\omakarenkov\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 42.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[√] Connected device (1 available)
• SH Z01 • SS2LHMH8C2001567 • android-arm64 • Android 8.0.0 (API 26)
• No issues found!
Where else to look for a problem?

Hi @makarenkovov
for what I can see the issue is related to a FlutterFire plugin,
please open the issue in the dedicated github.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
thank you


IndexError: tuple index out of range despite having trained forest

Everything is in this gist: https://gist.github.com/QuantumDamage/4d256e9a4f02b91f332105c105b5e457
I'm just training forest and trying to see features importance with eli5.

@QuantumDamage thanks for providing the gist! So the error is
eli5.explain_weights(estimator = forest)

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-21-596faaed9271> in <module>()
----> 1 eli5.explain_weights(estimator = forest)

~/miniconda3/envs/jakbadacdane.pl/lib/python3.6/site-packages/singledispatch.py in wrapper(*args, **kw)
    208
    209     def wrapper(*args, **kw):
--> 210         return dispatch(args[0].__class__)(*args, **kw)
    211
    212     registry[object] = func

IndexError: tuple index out of range

I think that eli5.explain_weights(forest) will work correctly. The reason why is that we are using the type of the first argument to decide which implementation of explain_weights to use, but singledispatch library gets confused if the first argument is passed as a keyword argument instead. Ideally we'd like to word around this issue (or provide a better error message, but most likely it's easier to work around this).

It appears that a better error message was added from Python 3.6 onward: https://bugs.python.org/issue33967 @lopuhin


Fix executable example in README.md

Add id: :elasticsearch and id: :kibana parameters to executable example as it breaks without it.

Coverage remained the same at 93.158% when pulling 452ac64a31074f7f6c1c832ae439b94129c9f5a0 on rhnonose:master into 2c30defc9437c06eca8ef15ebca8628aaed52556 on infinitered:master.

Yep, this was an oversight, thanks! :star: :star: :star:


Add probot for no-response

Same as the AWS CLI and boto3 configuration.

Cool, I audited all the closing-soon-if-no-response labels.  I'll go ahead and merge and enable it later this week.


[UI improvement] - Enable Dark theme toggle

It's the best theme for the documentation, but if we can include the dark theme in it too like having a toggle button for the theme change.
Signed-off-by- swastik<EMAIL_ADDRESS>

Thanks for taking the time to open an issue. It is - however - a duplicate of this issue: https://github.com/readthedocs/sphinx_rtd_theme/issues/224
So I'm going to close this one.


Query executor should record execution context on the execute method

The QueryExecutor should add to the execution context when execute method is called. This will allow to call the execute and thus skip the seed process when it's actually not needed. Furthermore, this method is public and thus should expose the same behavior as the other public methods.
Once this is done, we could use it directly in the CandidatesFilter implemenations when we fetch one row only, as then we don't need seeding.

Not pursuing improvements on Docs API since we are focusing on JSON API


Add 'invalid' props to Textfield for external error checking

Closes #37

Closing this one and will open a new one after our discussion.


Carousel button class cannot be overwritten

Environment

Operating System: Linux
Node Version:     v18.20.3
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, modules
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Version
"@nuxt/ui": "^2.17.0"
Reproduction
https://stackblitz.com/edit/github-cqtsos?file=app.vue
Hover the carousel.
The left arrow (prevButton) will move but not the right arrow. The only difference is that the class for the previous button are marked as important.
Description
Classes should normally overwrite the one from the button, without an important, but that's not the case.
If you dive into the class from the next button, you'll see the right-4 from the carousel that overwrite our, from the UI config, right-0.
Additional context
No response
Logs
No response

I don't think it's a bug, even from the documentation, or from the code.
You can see in the documentation that there are ways to use it.
https://ui.nuxt.com/components/carousel#arrows
is passed in from the nextButton property and prevButton, not directly via ui.default.xxx.
In the code ui.default.xxx has a lower priority than the nextButton property and prevButton.

There is no problem when used in this way.


miniSat.enumerateAllModels() returns assignments with additional variables

assignments returned from miniSat.enumerateAllModels() contain variables with name pattern @RESERVED_CC_*

use this instead:
miniSat.enumerateAllModels(collectionOfVariablesThatYouAreInteresetedIn)

Per default the SAT solver creates models with auxiliary variables included. You can either change the SAT solver's configuration to not include auxiliary variables (see parameter auxiliaryVariablesInModels in class MiniSatConfig) or, as previously described, pass the relevant variables as argument to enumerateAllModels`.
With version 2.0 of LogicNG the default for auxiliary variables in models changes, such that a model does not contain auxiliary variables.


[web] Exception thrown when focusing a text field

This is a recent regression that seems to be caused by https://github.com/flutter/flutter/pull/43865. We need to change our logic so that it works regardless of the order of platform messages that the framework sends.
At the moment, this exception doesn't seem to affect anything, and the app continues to work fine.
To reproduce:

Open the flutter gallery app on the web.
Go to the text fields material demo.
Tap any text field and see the following exception in the console:

Uncaught (in promise) TypeError: Cannot read property 'align' of null
    at _engine.HybridTextEditing.new.setStyle (text_editing.dart:765)
    at _engine.HybridTextEditing.new.[_setDynamicStyleAttributes] (text_editing.dart:748)
    at _engine.HybridTextEditing.new.[_setLocation] (text_editing.dart:694)
    at _engine.HybridTextEditing.new.handleTextInput (text_editing.dart:614)
    at _engine.EngineWindow.new.sendPlatformMessage (window.dart:157)
    at _DefaultBinaryMessenger.[_sendPlatformMessage] (binding.dart:175)
    at _DefaultBinaryMessenger.send (binding.dart:224)
    at OptionalMethodChannel.invokeMethod (platform_channel.dart:314)
    at invokeMethod.next (<anonymous>)
    at runBody (async_patch.dart:84)
    at Object._async [as async] (async_patch.dart:123)
    at OptionalMethodChannel.invokeMethod (platform_channel.dart:312)
    at OptionalMethodChannel.[invokeMethod] (platform_channel.dart:446)
    at OptionalMethodChannel.invokeMethod$ (platform_channel.dart:429)
    at invokeMethod$.next (<anonymous>)
    at runBody (async_patch.dart:84)
    at Object._async [as async] (async_patch.dart:123)
    at OptionalMethodChannel.invokeMethod (platform_channel.dart:427)
    at text_input.TextInput.__.[_setEditableSizeAndTransform] (text_input.dart:1015)
    at text_input.TextInputConnection.__.setEditableSizeAndTransform (text_input.dart:720)
    at editable_text.EditableTextState.new.[_updateSizeAndTransform] (editable_text.dart:1731)
    at editable_text.EditableTextState.new.[_openInputConnection] (editable_text.dart:1415)
    at editable_text.EditableTextState.new.[_openOrCloseInputConnectionIfNeeded] (editable_text.dart:1441)
    at editable_text.EditableTextState.new.[_handleFocusChanged] (editable_text.dart:1707)
    at focus_manager.FocusNode.new.notifyListeners (change_notifier.dart:206)
    at focus_manager.FocusNode.new.[_notify] (focus_manager.dart:808)
    at focus_manager.FocusManager.new.[_applyFocusChange] (focus_manager.dart:1401)
    at Object._microtaskLoop (schedule_microtask.dart:41)
    at _startMicrotaskLoop (schedule_microtask.dart:50)
    at async_patch.dart:166

I've noticed that tab to next field is failing intermittently since I noticed this error - not sure if it's a coincidence.

To rollback to the git commit before #43865, and wait there for a fix
git checkout 175b37247dc171cbe4dce7b52b8517cfdae346a8
flutter precache


CON-1150 Updated the performance docs page with latest up-to-date figures

This PR has been replaced by https://github.com/R3Conclave/conclave-core-sdk/pull/82.


Log sources from env var

What does this PR do?
DD_LOGS_CONFIG_CUSTOM_CONFIGS can now be used as to define log sources using JSON format
Motivation
On some environement (PCF) it's not possible to have config files for the agent and everything must be done through env vars

Codecov Report

Merging #2565 into master will increase coverage by 0.05%.
The diff coverage is 75.86%.

@@            Coverage Diff             @@
##           master    #2565      +/-   ##
==========================================
+ Coverage   56.43%   56.49%   +0.05%
==========================================
  Files         379      380       +1
  Lines       24014    24042      +28
==========================================
+ Hits        13552    13582      +30
+ Misses       9547     9546       -1
+ Partials      915      914       -1

Impacted Files
Coverage Δ

pkg/autodiscovery/providers/providers.go
100% <ø> (ø)
:arrow_up:

pkg/config/config.go
82.85% <100%> (+0.07%)
:arrow_up:

pkg/logs/scheduler/scheduler.go
59.28% <100%> (+0.29%)
:arrow_up:

pkg/autodiscovery/providers/env.go
72% <72%> (ø)

pkg/forwarder/transaction.go
82.9% <0%> (+0.85%)
:arrow_up:

pkg/forwarder/domain_forwarder.go
92.91% <0%> (+1.57%)
:arrow_up:

pkg/forwarder/forwarder_health.go
92.72% <0%> (+5.45%)
:arrow_up:


Linux and Windows has Different Shortcuts

Hello,
I was wondering, because sometimes I've to work on Linux, and some times on Windows, and the vscode default shortcuts are different for both environment. IE, the shortcut to comment some code on Linux is CTRL+/ and on Windows is CTRL+;. This is just a example, I use many others shortcuts that are different on both environments.
There are some possibilite to toggle to Linux Shortcuts on Windows?

Hi @KaduAmaral :-)

Looking at how keybindings for toggling line comments are defined, I see we don't have different keybindings based on OS. I suspect you have different keyboard layout maybe on your windows machine?

Side Note: We do have different keybindings based on the system sometimes, but usually this comes because that keybindings is bound by the OS.

There is no great way to have linux shortcuts on windows (which is unlikely what you want because you might have clashes with OS shortcuts), but you can invoke command "Preferences: Open Default Keyboard Shorcuts (JSON)", copy that file's contents and paste it into your Windows machine's keybindings.json (to open it you invoke command "Preferences: Open Keyboard Shortcuts (JSON)"


(PUP-3313) Remove marker method puppet_lambda

Now when the 3x AST implementation has been removed the marker
method :puppet_lambda is no longer needed. This commit replaces
the check if an argument is callable by using the type calculator
instead of checking the marker method.
The marker method was only used by the lookup function. All other such
calls have already been cleaned up.

:+1:


Values set with --set flag are ignored when used in conjunction with jsonPatches

Operating system
Fedora 37
Helmfile Version
0.153.1
Helm Version
v3.11.3
Bug description
When jsonPatches are used in a helmfile, values overwritten with --set flag are ignored.
Let's take this helmfile.yaml as an example:
releases:
- name: foo
  chart: oci://registry-1.docker.io/bitnamicharts/nginx
  version: 14.1.0

By default the replica count is 1:
$ helmfile template | grep replicas
Pulling registry-1.docker.io/bitnamicharts/nginx:14.1.0
Templating release=foo, chart=/tmp/chartify3659108862/foo
  replicas: 1

Let's say we'd like to increase the replicas:
$ helmfile template --set replicaCount=3 | grep replicas
Pulling registry-1.docker.io/bitnamicharts/nginx:14.1.0
Templating release=foo, chart=/tmp/chartify3653282249/foo
  replicas: 3

So far so good. Let's now assume that we want to change the deployment strategy with jsonPatches. Must be noted that there are much simpler ways of doing it, this is just for the sake of reproducing the behaviour:
releases:
- name: foo
  chart: oci://registry-1.docker.io/bitnamicharts/nginx
  version: 14.1.0
  jsonPatches:
    - target:
        group: apps
        version: v1
        kind: Deployment
        name: foo-nginx
      patch:
      - path: "/spec/strategy/type"
        op: replace
        value: Recreate

Now values set with --set flag are ignored:
$ helmfile template --set replicaCount=3 | grep replicas
Pulling registry-1.docker.io/bitnamicharts/nginx:14.1.0
Templating release=foo, chart=/tmp/chartify2208595413/foo
  replicas: 1

Example helmfile.yaml
releases:
- name: foo
  chart: oci://registry-1.docker.io/bitnamicharts/nginx
  version: 14.1.0
  jsonPatches:
    - target:
        group: apps
        version: v1
        kind: Deployment
        name: foo-nginx
      patch:
      - path: "/spec/strategy/type"
        op: replace
        value: Recreate

Error message you've seen (if any)
None
Steps to reproduce
helmfile template --set replicaCount=3 --debug
Working Helmfile Version
N/A
Relevant discussion
No response

@AntonioAlfrz do you have an interest to fix the issue?

Once I improve my golang skills, I can give it a try.
In the meanwhile, to overcome this, we have used state values:
releases:
- name: foo
  chart: oci://registry-1.docker.io/bitnamicharts/nginx
  version: 14.1.0
  jsonPatches:
    - target:
        group: apps
        version: v1
        kind: Deployment
        name: foo-nginx
      patch:
      - path: "/spec/strategy/type"
        op: replace
        value: Recreate
  values:
  - replicaCount: {{ .Values.replicaCount }}

$ helmfile template --state-values-set replicaCount=3 | grep replicas
Pulling registry-1.docker.io/bitnamicharts/nginx:14.1.0
Templating release=foo, chart=/tmp/chartify1290229187/foo
  replicas: 3

@AntonioAlfrz thanks for your feedback. we will fix this issue. and the coming release will contain the fix.


Improvement/Enable argument init for add contract

Closes #529
Description
This PR enables user to initialize a contract with arguments when using add contract command. This PR is dependent on language server PR https://github.com/onflow/cadence/pull/1773

For contributor use:

[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

Codecov Report

Merging #545 (bbdcb55) into master (53f12e7) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #545      +/-   ##
==========================================
+ Coverage   54.87%   54.96%   +0.08%
==========================================
  Files          37       37
  Lines        2030     2034       +4
==========================================
+ Hits         1114     1118       +4
  Misses        771      771
  Partials      145      145

Flag
Coverage Δ

unittests
54.96% <100.00%> (+0.08%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/flowkit/config/deployment.go
29.62% <100.00%> (+12.23%)
:arrow_up:

pkg/flowkit/services/accounts.go
67.28% <100.00%> (ø)

Continue to review full report at Codecov.

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

Will address comments after metrics PR

Closing this just so that we don't have dependency issues

Changes are migrated to duplicate PR


Powerfulseal should not fail to start if only podes chaos is run and list nodes privilege is not grant

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Even if you only configure powerseal to run the chaos on pods, powerfulseal will fail starting if the list nodes privilege is not granted to the servive account.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Powerfulseal should not fail to start if only chaos on podes is set and correct privilege are set on podes level.
Powerfulseal should not fail either if only chaos on nodes is set and list podes privilege is not granted to the service account (I did not test this use case)
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The tests were done on Openshift in autonomous mode

Good catch. Marking as bug.

@seeker89 ,
Thx.


100% VP auto up-vote of peer-created posts

While running Hive Archaeology on your NAS or other system as your private bot, normally the bot only responds to your up-votes of old high quality posts. While manual personal up-votes are always better, when your VP is at 100% or just below, you don't want your voting power to go to waste.
This proposed feature we want the user to be able to run the Hive Archaeology Bot in a mode where at VP of 99.5% or more, the bot will start 25% (default) auto up-voting in-window posts created by peer post authors.
We define three flags:

--peer-authors : Auto up-vote posts created by peer authors with 25% when VP reaches 99.5% or higher.
--peer-author-pct [PCT] : Auto up-vote posts created by peer authors with PCT% when VP reaches 99.5% or higher.
--peer-author-list [LST]: Set the whitelist to use for identifying peer authors.

By default all tags created by peer authors in the list could end up getting up-voted, unless the following flag is specified:

--peer-author-tags [TAGS] : Comma separated list of tags

Not doing the named list. Using a static list name for this.


Suggestion: When ambr is used with --regex, show the replacement that will be used

Suggestion: When ambr is used with --regex, show the replacement that will be used.
So that the user can check if the given substitution expr was correct, before replacing everything..

Thank you for your suggestion. Do you mean like below?
$ ./target/debug/ambr --column version version2
./src/ambr.rs: 23:#[structopt(raw(long_version = "option_env!(\"LONG_VERSION\").unwrap_or(env!(\"CARGO_PKG_VERSION\"))"))]
               -> #[structopt(raw(long_version2 = "option_env!(\"LONG_VERSION\").unwrap_or(env!(\"CARGO_PKG_VERSION\"))"))]
Replace keyword? [Y]es/[n]o/[a]ll/[q]uit

Yes, it's also a good idea to align the "before" and "after" lines for easier visual comparison.
Btw, after skipping the first few matches with [n]o, [a]ll means "all following", not including the skipped ones, right?

I merged the feature to show replacement.

Btw, after skipping the first few matches with [n]o, [a]ll means "all following", not including the skipped ones, right?

Yes. That's right.

@dalance How can I enable the show_replacement feature? :)

@Boscop the feature is enabled, but not released.
I released as v0.5.3 now.


[Python] Fix Ballista Python bindings

Which issue does this PR close?

N/A
Rationale for this change

We can now run queries in Python again!
>>> import ballista
>>> ctx = ballista.BallistaContext("localhost", 50050)
>>> df = ctx.sql("SELECT 1")
>>> df.show()
+----------+
| Int64(1) |
+----------+
| 1        |
+----------+

What changes are included in this PR?

Copy latest from arrow-datafusion-python
Change names from datafusion to ballista
Add BallistaContext from https://github.com/apache/arrow-ballista/pull/58
Update CI to no longer use an old nightly Rust

Are there any user-facing changes?

No

@thinkharderdev @yahoNanJing @avantgardnerio This fixes the Python bindings for Ballista. This will help make Ballista easy to try out for new users and make it easier to write tutorials.

LGTM

LGTM. The one thing I was really hoping to see I didn't: can we remove the exclude = ["python"]? I think this means it doesn't build in CI, which is how it gets broken?

LGTM. The one thing I was really hoping to see I didn't: can we remove the exclude = ["python"]? I think this means it doesn't build in CI, which is how it gets broken?

There is a GitHub action that builds the Python module: https://github.com/apache/arrow-ballista/runs/8038213148?check_suite_focus=true

It would be good to add to the workspace too. I will add that to this PR.

It would be good to add to the workspace too. I will add that to this PR.

That broke CI so will handle in a follow-on PR.

Thanks for the reviews @thinkharderdev and @avantgardnerio!


Call to function "coalesce" failed: no non-null, non-empty-string arguments.

Description
Please provide a clear and concise description of the issue you are encountering, your current setup, and what steps led up to the issue. If you can provide a reproduction, that will help tremendously.
Versions
Versions -
Terraform v0.15.4
on darwin_amd64

provider registry.terraform.io/hashicorp/aws v3.40.0
provider registry.terraform.io/hashicorp/cloudinit v2.2.0
provider registry.terraform.io/hashicorp/external v2.1.0
provider registry.terraform.io/hashicorp/kubernetes v2.2.0
provider registry.terraform.io/hashicorp/local v2.1.0
provider registry.terraform.io/hashicorp/null v3.1.0
provider registry.terraform.io/hashicorp/random v3.1.0
provider registry.terraform.io/hashicorp/template v2.2.0
provider registry.terraform.io/terraform-aws-modules/http v2.4.0

Modules -
tf init
Initializing modules...
Downloading terraform-aws-modules/rds/aws 3.0.0 for db...

db in .terraform/modules/db
db.db_instance in .terraform/modules/db/modules/db_instance
db.db_option_group in .terraform/modules/db/modules/db_option_group
db.db_parameter_group in .terraform/modules/db/modules/db_parameter_group
db.db_subnet_group in .terraform/modules/db/modules/db_subnet_group
Downloading terraform-aws-modules/eks/aws 16.0.0 for eks...
eks in .terraform/modules/eks
eks.fargate in .terraform/modules/eks/modules/fargate
eks.node_groups in .terraform/modules/eks/modules/node_groups
Downloading terraform-aws-modules/iam/aws 4.1.0 for iam_policy...
iam_policy in .terraform/modules/iam_policy/modules/iam-policy
jump in modules/aws_vm
kubeconfig in modules/kubeconfig
nfs in modules/aws_vm
vpc in modules/aws_vpc

Initializing the backend...
Initializing provider plugins...

Finding hashicorp/aws versions matching ">= 2.49.0, >= 3.22.0, >= 3.35.0, >= 3.37.0, 3.40.0"...
Finding terraform-aws-modules/http versions matching ">= 2.3.0"...
Finding hashicorp/kubernetes versions matching ">= 1.11.1, 2.2.0"...
Finding hashicorp/template versions matching "2.2.0"...
Finding hashicorp/external versions matching "2.1.0"...
Finding hashicorp/random versions matching ">= 2.1.0, >= 2.2.0, >= 3.1.0, 3.1.0"...
Finding latest version of hashicorp/cloudinit...
Finding hashicorp/local versions matching ">= 1.4.0, 2.1.0"...
Finding hashicorp/null versions matching "3.1.0"...
Installing hashicorp/null v3.1.0...
Installed hashicorp/null v3.1.0 (signed by HashiCorp)
Installing hashicorp/kubernetes v2.2.0...
Installed hashicorp/kubernetes v2.2.0 (signed by HashiCorp)
Installing hashicorp/template v2.2.0...
Installed hashicorp/template v2.2.0 (signed by HashiCorp)
Installing hashicorp/external v2.1.0...
Installed hashicorp/external v2.1.0 (signed by HashiCorp)
Installing hashicorp/cloudinit v2.2.0...
Installed hashicorp/cloudinit v2.2.0 (signed by HashiCorp)
Installing hashicorp/aws v3.40.0...
Installed hashicorp/aws v3.40.0 (signed by HashiCorp)
Installing terraform-aws-modules/http v2.4.0...
Installed terraform-aws-modules/http v2.4.0 (self-signed, key ID B2C1C0641B6B0EB7)
Installing hashicorp/random v3.1.0...
Installed hashicorp/random v3.1.0 (signed by HashiCorp)
Installing hashicorp/local v2.1.0...
Installed hashicorp/local v2.1.0 (signed by HashiCorp)

Reproduction

Create a module using this source:

  source  = "terraform-aws-modules/rds/aws"
  version = "3.0.0" # Or any version between 2.28 - 3.0.0. Version 2.27.0 has no errors.

Set the following variables to false

  create_db_instance        = false
  create_db_subnet_group    = false
  create_db_parameter_group = false
  create_db_option_group    = false

Run the following tf apply

You will observe the following error:
│ Error: Error in function call
│
│   on .terraform/modules/db/main.tf line 3, in locals:
│    3:   db_subnet_group_name = var.replicate_source_db != null ? null : coalesce(var.db_subnet_group_name, module.db_subnet_group.db_subnet_group_id)
│     ├────────────────
│     │ module.db_subnet_group.db_subnet_group_id is ""
│     │ var.db_subnet_group_name is null
│
│ Call to function "coalesce" failed: no non-null, non-empty-string arguments.

Code Snippet to Reproduce
Supplied above
Expected behavior
If one does not have the create_db_subnet_group variable set to true, there should be no failure.
This behavior changed between versions starting with version 2.28.0 of this module. The addition of the coalesce function in place of the if logic is failing given both variables have default values of either null or and empty string ""
The error states the file and line number this would be addressed.
Actual behavior
Error shown above is created.
Terminal Output Screenshot(s)
Shown in sample above.
Additional context

Not sure if this fixes your problem @thpang , but I had the same issue and opened a PR here: https://github.com/terraform-aws-modules/terraform-aws-rds/pull/335

@evanstachowiak that is what's missing and has been since v2.28.0. I'll try that hoping that PR gets pulled in soon. Thx.

#335 won't solve it either. I guess at this point we'll have to set a default name as a fallback in the coalesce

@bryantbiggs Yeah the logic is a bit off. But modified like this:
db_subnet_group_name = var.replicate_source_db != null ? null : var.create_db_subnet_group == false ? null : coalesce(var.db_subnet_group_name, module.db_subnet_group.db_subnet_group_id)

This was what is missing the check for the create_db_subnet_group flag. Testing now and things look promising. I'll update in #335 as well.

check out #342 - I believe it solves this issue and then some


fix: update how the renderer options are handled enabling to use task…

… options

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add pagination support to the new library classes

Works with DKB. Only implemented for the MT940 version, not sure how the merging works for XML. Maybe @ampaze can implement it for XML?

Will do.


[Feature request] Add random_state parameter to the Random sampling method

It would be cool to have the possibility to set a specific seed number to the Random sampling method to enforce repeatability. I will propose a PR later in the day!

Solved by  #696


NH-90472: Adding OTEL Operator as subchart

Adding OTEL Operator as chart dependency when operator.enabled=true is set.
Adding Cert Manager as chart dependency when certmanager.enabled=true is set.
Instrumentation object is not yet part of the chart, because it would limit instrumentation scope to the namespace where SWO K8s Collector is installed. To explain this:

We could create this kind of resource:

{{- if .Values.operator.enabled }}
apiVersion: opentelemetry.io/v1alpha1
kind: Instrumentation
metadata:
  name: swo-instrumentation
  annotations:
    "helm.sh/hook": post-install,post-upgrade
    "helm.sh/hook-weight": "1"
spec:
  java:
    image: ghcr.io/solarwinds/autoinstrumentation-java:2.9.0
    env:
      - name: SW_APM_DEBUG_LEVEL
        value: "trace"
      - name: SW_APM_SERVICE_KEY
        valueFrom:
          secretKeyRef:
            name: {{ template "common.secret" . }}
            key: SOLARWINDS_API_TOKEN
      - name: SW_APM_COLLECTOR
        value: {{ .Values.otel.endpoint | replace "otel.collector." "apm.collector."  }}
{{- end }}

The issue is that SW_APM_SERVICE_KEY is injected to target app as is, therefore if it is in different namespace than SWO K8s Collector it wouldn't work. So customer needs to have control over Instrumentation objects and secrets.

Documentated installation steps.
Releasing this as 4.3.0-alpha.1

Why do we need an additional dependency of cert-manager? Can't we just use operator.admissionWebhooks.autoGenerateCert.enabled=true?

Why do we need an additional dependency of cert-manager? Can't we just use operator.admissionWebhooks.autoGenerateCert.enabled=true?

We could. But there is no autorenewal. The issue is that customers would have to install/upgrade the k8s collector in their cluster at least once per year.


Unable to load the distilled model weights provided in the model zoo

How can one load and use the pre-trained distilled models from the model zoo?
First, creating the model using (needed to comment out all non-default params as they are not recognized):
model = create_model(
        'vit_base_patch16_224',
        img_size=224,
        pretrained=False,
        num_classes=710,
        #all_frames=args.num_frames * args.num_segments,
        #tubelet_size=args.tubelet_size,
        #drop_rate=args.drop,
        #drop_path_rate=args.drop_path,
        #attn_drop_rate=args.attn_drop_rate,
        #head_drop_rate=args.head_drop_rate,
        #drop_block_rate=None,
        #use_mean_pooling=args.use_mean_pooling,
        #init_scale=args.init_scale,
        #with_cp=args.with_checkpoint,
    )

When I am trying to load the weights:
https://pjlab-gvm-data.oss-cn-shanghai.aliyuncs.com/internvideo/distill/vit_s_k710_dl_from_giant.pth
using the utils.load_state_dict() function, I get multiple errors, including:
size mismatch for patch_embed.proj.weight: copying a param with shape torch.Size([768, 3, 2, 16, 16]) from checkpoint, the shape in current model is torch.Size([768, 3, 16, 16]).
I assume this might be because the tubelet size is missing, which by default is set to 2 (and could be the dimension I am missing). So I guess the main question is, how to load the model (and which model)?
Any help appreciated, thanks!

How did you solve this problem? Thank you very much.

add "import models  # noqa: F401"


(Fresh install) bundling failed: Error: Unable to resolve module seamless-immutable

Am I doing something stupid? Version mismatch somewhere? I think this worked on the same machine a few months ago.
Init
🔥 igniting app oaignite3
? Which boilerplate would you like to use? Andross (React Navigation, Redux, & Redux Saga
✔ using the Infinite Red boilerplate v2 (code name 'Andross')
✔ added React Native 0.55.1 in 25.62s
? Would you like Ignite Development Screens? Yes
? What vector icon library will you use? react-native-vector-icons
? What internationalization library will you use? react-native-i18n
? What animation library will you use? none
? Would you like to include redux-persist? No
✔ added ignite-ir-boilerplate-andross in 41.6s
✔ added ignite-dev-screens in 28.47s
✔ added ignite-vector-icons in 11.89s
✔ added ignite-i18n in 11.55s
✔ added ignite-standard in 24.99s
✔ configured git
✔ ignited oaignite3 in 161.64s

    Ignite CLI ignited oaignite3 in 161.64s

Commands
cd oaignite3
echo 'sdk.dir = /Users/mikaeljo/Library/Android/sdk' > android/local.properties
react-native run-android

Output
error: bundling failed: Error: Unable to resolve module `seamless-immutable` from `/Users/mikaeljo/git/openapp/oaignite/App/Config/ReactotronConfig.js`: Module `seamless-immutable` does not exist in the Haste module map or in these directories:
  /Users/mikaeljo/git/openapp/oaignite/node_modules

This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:
  1. Clear watchman watches: `watchman watch-del-all`.
  2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.
  3. Reset Metro Bundler cache: `rm -rf /tmp/metro-bundler-cache-*` or `npm start -- --reset-cache`.  4. Remove haste cache: `rm -rf /tmp/haste-map-react-native-packager-*`.
    at ModuleResolver.resolveDependency (/Users/mikaeljo/git/openapp/oaignite/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:161:1460)
    at ResolutionRequest.resolveDependency (/Users/mikaeljo/git/openapp/oaignite/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:91:16)
    at DependencyGraph.resolveDependency (/Users/mikaeljo/git/openapp/oaignite/node_modules/metro/src/node-haste/DependencyGraph.js:272:4579)
    at dependencies.map.relativePath (/Users/mikaeljo/git/openapp/oaignite/node_modules/metro/src/DeltaBundler/traverseDependencies.js:376:19)
    at Array.map (<anonymous>)
    at resolveDependencies (/Users/mikaeljo/git/openapp/oaignite/node_modules/metro/src/DeltaBundler/traverseDependencies.js:374:16)
    at /Users/mikaeljo/git/openapp/oaignite/node_modules/metro/src/DeltaBundler/traverseDependencies.js:212:33
    at Generator.next (<anonymous>)
    at step (/Users/mikaeljo/git/openapp/oaignite/node_modules/metro/src/DeltaBundler/traverseDependencies.js:297:313)
    at /Users/mikaeljo/git/openapp/oaignite/node_modules/metro/src/DeltaBundler/traverseDependencies.js:297:473

^^^ Tried this but didn't help.
Doctor
mikaeljo@polk:~/git/openapp/oaignite3$ ignite doctor
System
  platform           darwin
  arch               x64
  cpu                8 cores                                 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  directory          /Users/mikaeljo/git/openapp/oaignite3

JavaScript
  node               10.5.0       /usr/local/bin/node
  npm                6.1.0        /usr/local/bin/npm
  yarn               1.9.4        /usr/local/bin/yarn

React Native
  react-native-cli   2.0.1
  app rn version     0.55.1

Ignite
  ignite             2.1.1        /usr/local/bin/ignite

Android
  java               1.8.0_171    /usr/bin/java
  android home       -            undefined

iOS
  xcode              8.2.1

Ok got it to work by messing around a bit. Updating react-native probably did the trick.


image pull secrets

This PR adds the possibility to use a private registry for the renku-notebooks image.
Private image example:
https://gitlab.com/renku/renku-notebooks/container_registry
then:
$ helm upgrade -i renku-notebooks \
    --namespace test \
    --set image.repository="registry.gitlab.com/renku/renku-notebooks" \
    --set image.tag="pull-secrets" renku-notebooks \
    --set global.renku.domain=$(minikube ip)

You will see the image pull fail.
$ kubectl -n test create secret docker-registry regcred \
    --docker-server=registry.gitlab.com \
    --docker-username="gitlab+deploy-token-5965" \
    --docker-password="***" \
    --docker-email="***"
$ helm upgrade -i renku-notebooks \
    --namespace test \
    --set image.repository="registry.gitlab.com/renku/renku-notebooks" \
    --set image.tag="pull-secrets" renku-notebooks \
    --set global.renku.domain=$(minikube ip) \
    --set "image.pullSecrets[0]=regcred"

addresses https://github.com/SwissDataScienceCenter/renku/issues/176

Great, thanks for picking this one up -- but don't we need to create this secret per user and potentially per request?

This is to be able to make gitlab.com/renku/stage-renku private.
This doesn't affect user JH pods, but yes either you deploy a sudo secret or you manage one for every user.

So the lazy solution is to use a sudo secret... but eventually we want to handle the image pull secrets per user I suppose.
Can adding the sudo secret be automated? Maybe via another post-install script? Ideally this wouldn't be a manual step.

This can be done in a post install step, but I will also have to check if the JH chart gives the ability to read secrets to the hub.

@leafty you mean to pass secrets to the pods? That's done via the image_pull_secrets in the spawner: https://github.com/jupyterhub/kubespawner/blob/master/kubespawner/spawner.py#L400


H Tag Utilities

Was just thinking. In the same way as we have utilities like pb-3 pb-lg-5 to have h tag utilities too, e.g. h2-md-h4 h2-lg-h3 h2-xl-0.

can you please explain what you are trying to accomplish with these classes?

If I understand right, what @chrisbo is trying to accomplish is to have the font size of the h tags change responsively.
Although this can be useful, I think that it should be handled on app base styles and not on the framework level.

agreed.

this #23053 ?

@bakedbird is correct. I raised this because I hate titles that wrap or go off to the right of the screen on small devices. In fact, it's just about the only thing I use additional media queries for these days. Anyway, I can live without it. Just a suggestion.

We'll do responsive typography at some point, but I don't see us adding the responsive type utilities.


Add pull request flags to Kokoro UBsan C

Testing how Kokoro handles test filtering

No significant performance differences

No significant performance differences

No significant performance differences

No significant performance differences

No significant performance differences

No significant performance differences

Sanity seems broken?

Sanity failure is unrelated and should be fixed by #11450

No significant performance differences

To avoid duplications of all the .sh files, we could use the fact that .cfg definitions allow setting environment variables.
job.proto (Job.allow_env_vars)
build.proto (Build.env_vars)
We could actually use this capability to further reduce the number of .sh files we currently have.

I'll take a look into that; our internal_ci subdir is starting to become a bit cluttered.
All test failures are unrelated as these changes do not affect PR tests.


Agent works in development but not in production

Hi,
I'm using Laravel 5.3 and installed Agent as specified, adding the provider (Jenssegers\Agent\AgentServiceProvider::class,) and the alias ('Agent' => Jenssegers\Agent\Facades\Agent::class,),
Everything is very fine in development, but in production I get an unspecified error: looking at Laravel log, the problem is a Class 'Agent' not found (View: /home/gi23qth7/public_html/resources/views/admin/battles/show.blade.php) error.
In the view I'm using like this
@if(Agent::isMobile() || Agent::isTablet())
bla bla bla
@endif

Am I right? What can be wrong?
Thanks

Sorry, seems that there was some problems with caching in production site: everything is fine now :-)


state budgetary educational institution of the city of Moscow "Digita…

Institution/School Name
{state budgetary educational institution of the city of Moscow "Digital school"}
Instiution/School Website
{https://digitalschool.mskobr.ru/#/}
Email Users
<EMAIL_ADDRESS><EMAIL_ADDRESS>Please place an x between the square brackets if yes

[ ] Students
[x] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[ ] Graduate School
[ ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[x] High School or equivalent
[ ] Elementary School or equivalent

@Andydecard Please provide us with an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school. Thank you.

@Andydecard Please provide us with an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school. Thank you.

@Andydecard You might miss my previous comment. Please react.

Hi! It`s Frontend course (HTML, CSS, JavaScript) at this list.21.10.2019, 14:41, "Philip Torchinsky" notifications@github.com:@Andydecard Please provide us with an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school. Thank you.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
-- С Уважением, Андрей Сергеевич Сементковский.

https://st.educom.ru/eduoffices/gateways/get_file.php?id={363FA02B-72B2-7A44-659D-7BF598FC1DFD}&name=Фrontend-razrabotka-(html,-css,-javascript).pdf21.10.2019, 14:41, "Philip Torchinsky" notifications@github.com:@Andydecard Please provide us with an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school. Thank you.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
-- С Уважением, Андрей Сергеевич Сементковский.

@Andydecard Thank you for the clarification. Pull request merged.


Suggestion: L2TP Transverse NAT enable

Add possibility to enable L2TP secure connection for stations behind NAT.
https://support.microsoft.com/en-us/help/926179/how-to-configure-an-l2tp-ipsec-server-behind-a-nat-t-device-in-windows

Function EnableIPSecBehindNAT {
    Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\PolicyAgent" -Name "AssumeUDPEncapsulationContextOnSendRule" -Type Dword -Value 2
}

Feel free to add it to you custom tweak library. I'm not gonna add it because this is really for a narrow group of users and should be handled by domain GPO rather than some shady script on the internet.
I'm running IPSec server behind NAT on Win2012 and don't recall setting this. And I even have road warrior profiles. I have to check how I did that. :)


Port function append without duplication

This PR solves the issue: https://github.com/MrPowers/jodie/issues/11

Looks great, thank you!


Add an option to use the 'auto' fan speed

Here is the PR for #3.

What is the status here @macjl?

Hello,
I revert to your calculation method. It seems to work fine.
I had doubt when the slider is at '0', but I was mistaken.
Are there more things to review in this CR ?


glib-macros: Update itertools to 0.9

@GuillaumeGomez Hrm, need to also fix/update the gtk4 crates. They're failing the CI now.

@sdroege Same for webkit2gtk. I'm currently using all the git versions of the gtk-rs crates because it hasn't seen a release in some time and the released version doesn't yet contain the code that allows user stylesheets.

The webkit bindings are maintained by @antoyo, best to check that with him.


Added support for sending commented block to configured register

Sorry I can't figure out for the life of me how to remove all my test commits and previous commits. I'm new to this and made the mistake of working out of my forks master branch and now ¯_(ツ)_/¯.
I thought this would be a useful feature as I find myself often copying a block before I comment it out. This results in extra keypresses to target the same block (yip, gcip).
I was gonna just add this to a prehook but I figured other people might find it useful too. It's definitely WIP and should be tweaked (for example to allow configuration for copying after comment instead of copying before, or adding the functionality to a prefix keybind) and I can continue working on it myself, but I figured I'd post it here to check if it's something you think the plugin could benefit from and if I should keep working on it or not.

To me this looks like a bloated feature, sometimes I want this behavior, but most of the time I don't want it...
I think this is more a behavior to have in your own config, by composing existing function instead of wanting to add every behavior you might want to this plugin.
It should be easily achievable through a simple keybind on your side, even wrap existing comment keybindings with your feature.

I thought this would be a useful feature as I find myself often copying a block before I comment it out. This results in extra keypresses to target the same block (yip, gcip).

Did you consider using visual mode?
vip y gc gv
Or with a custom binding:
vip gyc where gyc does a 'copy and comment' action
Another flexible option might be to add hooks before(/after) commenting, where one could execute a function just before(/after) the comments are applied, that function would receive the range that is going to (/has been) be commented.

Yeah like I said the prehook was definitely my original intent, and something I've added to my own config already. I thought I'd submit a pr just in case anyone else wants to use it. What do you think of adding it as a keybind action, like gcxip for before gcXip for after? Shouldn't be too hard to set that up and it would get rid of some of the bloat of having it always on or always off.

This feature doesn't make sense even if people wanted this. Instead of adding everything inside the plugin, there is already pre_hook and the motion/selection range is provided inside that, you can easily do whatever want in there.
FYI If you want to share anything, wiki is the right place to begin with.
Thanks for working on this. I am now closing this.