Arbitrary chunking of uncompressed files (e.g. netCDF3)

@rabernat made the interesting point to me that uncompressed files (e.g. netCDF3 files) have no specific chunking, as you can start reading bytes from any point in the file immediately, with no minimum unit of decompression to do first.
I'm not totally sure what this implies for VirtualiZarr generating references from netCDF3 files, as it's still meaningful to talk about one chunk per file concatenated together in a manifest.
Perhaps this is something that should ultimately be taken account of in zarr readers: that reading bytes from an uncompressed array does not require loading an entire chunk into memory first.

It seems great minds think alike https://medium.com/pangeo/using-kerchunk-with-uncompressed-netcdf-64-bit-offset-files-cloud-optimized-access-to-hycom-ocean-9008ba6d0d67
That post uses kerchunk.utils.subchunk (which I did not know existed), but I wonder if a neater API to use for a similar feature in virtualizarr could just be to add a chunks argument to open_virtual_dataset, that can only be used for uncompressed files?

In fact one could imagine a .rechunk method on a ManifestArray, but it would raise unless the ManifestArray pointed to contiguous-on-disk uncompressed data.


fix(versions): update Activiti/activiti-cloud-example-chart versions

UpdateBot pushed helm dependency: application to: 0.0.174

UpdateBot commands:
updatebot push-version --kind helm application 0.0.174


region: server create prefer resource fetch by name or id

这个 PR 实现什么功能/修复什么问题:

是否需要 backport 到之前的 release 分支:

release/3.2

/area region
/cc @swordqiu @zhasm

Codecov Report

Merging #6326 into master will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #6326   +/-   ##
=======================================
  Coverage    7.04%    7.04%
=======================================
  Files         647      647
  Lines      110911   110911
=======================================
  Hits         7815     7815
  Misses     102495   102495
  Partials      601      601

Flag
Coverage Δ

#aFlag
7.04% <0.00%> (ø)

Impacted Files
Coverage Δ

pkg/compute/models/helper.go
0.00% <0.00%> (ø)

pkg/cloudcommon/validators/validators_cert.go
39.77% <0.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 10f9188...536be2e. Read the comment docs.

/lgtm

/lgtm

/approve

/approve


ComposeGuard invalidates all kotlin tasks when running debugComposeCompilerCheck

This is semi-related to the recent changes, but I decided to create a new ticket instead.
When performing following steps:

./gradlew compileDebugKotlin
./gradlew debugComposeCompilerCheck

Second step should take like a second at most, since it only needs to compare generated txt file to the baseline. However, because ComposeGuard changes kotlin tasks's configuration depending on which task is called, it invalidates the kotlin task every time it is called, requiring it to be recompiled again.
This is an issue with CI setups. On our setup we first build the app and then we perform various static checks (including ComposeGuard) in the next step. Unfortunately, that means that ComposeGuard will force all compose-related kotlin code to be recompiled again on the check step.
This happens with both 2.2.1 and 2.2.4-alpha

I learned today that the compose compiler metrics are only generated for the files that were compiled
so in an incremental compilation scenario, metrics would only be generated for the files that were compiled and the remainder of the composables would not show up in the metrics
This is actually kind of a wild bug in compose guard right now that I verified in both 2.2.4-alpha and 2.2.1, but if you run generate task for a module, then add a new file with a new composable and run the generate task again, the metrics in module/compose_reports just contains the new composable
so I don't know if it's entirely possible for the kotlin compile task to stay up to date in this scenario.
I verified this behavior in a brand new project without compose guard where I just apply the parameters myself and saw the same behavior
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>() {
    compilerOptions.freeCompilerArgs.addAll(
        "-P",
        "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=${project.buildDir.absolutePath.plus("/").plus("newComposeReports")}",
    )
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>() {
    compilerOptions.freeCompilerArgs.addAll(
        "-P",
        "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=${project.buildDir.absolutePath.plus("/").plus("newComposeReports")}",
    )
}

With that in mind, I've pushed 2.2.5-alpha up to maven central that definitely makes some tradeoffs, but I think is the best foot forward for this plugin.
I'm happy to help address any further issues though, but I may need to do some brain storming to work around some of the tradeoffs.
Thanks again for all of the reports! It's been tremendously helpful

I learned today that the compose compiler metrics are only generated for the files that were compiled

Huh that behavior is really not very good. Any chance we can create a ticket on the Kotlin issue tracker? Or do we just add a comment to the existing https://youtrack.jetbrains.com/issue/KT-70509?
I've tried steps from the first post and I can still reproduce them on the 2.2.6-alpha. But on the other hand, with this broken incremental behaviour I really don't have an idea for a better way without removing dependency on the gradle.startParameter.taskNames.
However, how about this workaround?
composeGuardCheck {
   configureKotlinTasks = false
}

setting this flag to false, would completely prevent this plugin from touching configuration of any kotlin tasks. Then user of the plugin could manually configure reportsDestination to always point to the build/compose_reports folder, regardless of the gradle.startParameter.taskNames, which should solve this issue. It would break automatic baseline generation (user would have to copy the folder manually), but I consider that a good tradeoff for advanced users that prefer compiler performance over easy baseline generation.

Created a ticket - https://youtrack.jetbrains.com/issue/KT-70878/Compose-metrics-are-only-generated-for-incrementally-compiled-Composable-code
I am definitely amenable to making it configurable. I have added support for this configuration
composeGuard {
    configureKotlinTasks = false // defaults to true
}

With this set, the plugin no longer configures anything in the Kotlin compile task. So an end user would be responsible for generating the golden metrics and the check metrics before running the check task.
Will push that up in a 2.2.7-alpha

Thank you!
If you are curious, this is how we do it now:
composeGuard {
   configureKotlinTasks = false
}

// List of all tasks in this module that compile compose stuff (excluding KSP etc.)
val composeCompileTasks = listOf("compileDebugKotlin", "compileReleaseKotlin")

val composeReportsFolder = composeGuardCheck.outputDirectory.get()
project.tasks.named { composeCompileTasks.contains(it) }.withType<KotlinCompile<*>>().configureEach {
   kotlinOptions {
      freeCompilerArgs += listOf(
         "-P",
         "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
            "$composeReportsFolder"
      )
      freeCompilerArgs += listOf(
         "-P",
         "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
            "$composeReportsFolder"
      )
   }

   outputs.dir(composeReportsFolder)
}

tasks.register<Copy>("generateComposeGuardBaseline") {
   from(composeReportsFolder)
   into(composeGuardGenerate.outputDirectory)

   dependsOn("compileDebugKotlin")
}

We always set the metrics and reports destination (so configuration does not change and invalidate anything when compose guard tasks are applied) and we have created our own baseline task that simply copies over folder from the build directory.


will this be fit for ssr in the future?

This may not be what you're looking for, but RawJS kind of already does SSR in a way, check out StrawJS. It's a tool that returns RawJS into a static site generator of sorts. RawJS works with DOM simulators like HappyDOM / LinkeDOM so you can run it in NodeJS. Though this is more "developer-side rendering" rather than server side rendering.
There are some plans to move in the direction of SSR, but to give a proper answer I'd need more clarity around what problem you're trying to solve. A previous incarnation of RawJS allowed for things like server-side DOM event attachments that would reconnect automatically during page load, but this hasn't made it over to the current iteration. (And if it did, it would some in the form of a separate library)


Fix number formatting

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 53.60%. Comparing base (5e5c219) to head (dfd6f15).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   53.60%   53.60%
=======================================
  Files          15       15
  Lines        3123     3123
  Branches      137      137
=======================================
  Hits         1674     1674
  Misses       1449     1449

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Disable duplicates of registration_id

Right now if I can add unlimited amount of duplicates and then when I'm using bulk send_message I'm getting duplicated push notifications equal to quantity of dups inside DB. Would be nice to prevent such thing and don't add duplicate value to DB

What value is duplicate?  The registration_id?

correct. It's possible to commit multiple duplicates and when do send_message bulk - it sends a lot of dups

But where are the duplicates coming from?  You don't create the registration_id yourself, those come from google.

Example for APNS:
POST /api/v1/devices/apns/ HTTP/1.1
Host: domain.com
Content-Type: application/json
Authorization: token 2192967b2fc60623597790783c9590a1964c6e62
Cache-Control: no-cache
{
    "name": "iOS 6.1",
    "registration_id": "4d2d8feaf9a2d780c6c2d18a83c94483462ebe74aafab1f989711e6292b96c9b"
}

response:
{
  "registration_id": [
    "This field must be unique."
  ]
}

example of GCM
POST /api/v1/devices/gcm/ HTTP/1.1
Host: domain.com
Content-Type: application/json
Authorization: token 2192967b2fc60623597790783c9590a1964c6e62
Cache-Control: no-cache

{
    "name": "Android 5.0",
    "registration_id": "APA91bF2FA873EZ8vv-JifiSKPP8wxBCxOfPhLaHkH2d9mYC-CEY_0I0ZRxRPrGqCdCgMybKUPtGKDqNN8ZgTdtHHp7IGdY5DNqzLUK2ylLpffclz-K4MS80XG16pV-DCuzi4EdRltMp"
}

response:
{
  "name": "Android 5.0",
  "registration_id": "APA91bF2FA873EZ8vv-JifiSKPP8wxBCxOfPhLaHkH2d9mYC-CEY_0I0ZRxRPrGqCdCgMybKUPtGKDqNN8ZgTdtHHp7IGdY5DNqzLUK2ylLpffclz-K4MS80XG16pV-DCuzi4EdRltMp",
  "device_id": "",
  "active": true,
  "date_created": "2015-09-18T21:58:35.788556Z"
}

Another call with the same ID:
{
  "name": "Android 5.0",
  "registration_id": "APA91bF2FA873EZ8vv-JifiSKPP8wxBCxOfPhLaHkH2d9mYC-CEY_0I0ZRxRPrGqCdCgMybKUPtGKDqNN8ZgTdtHHp7IGdY5DNqzLUK2ylLpffclz-K4MS80XG16pV-DCuzi4EdRltMp",
  "device_id": "",
  "active": true,
  "date_created": "2015-09-18T21:59:16.759302Z"
}

so I can submit tons of duplicates for GCM while I can't do the same for APNS using django-push-notifications
I propose a consisten behavior between 2 endpoints.

My question is, where are these reg ids coming from?  It sounds like you are not handling the saving of the registration_id id correctly in your application.

class GCMDevice(Device):
	registration_id = models.TextField(verbose_name=_("Registration ID"))

class APNSDevice(Device):
	registration_id = models.CharField(verbose_name=_("Registration ID"), max_length=64, unique=True)

so what I see needed is unique=True to GCMDevice model definition

reg ids are coming from android app. I don't quite understand the question.

But if you are getting the same reg_id repeatedly, that means that you are not persisting the registration id properly on the device.  Once you have a valid id, you should save it on the phone/tablet so that the next time you authenticate against the gcm server, you don't try and create a new device with your django app.

I've hit the same issue @saritasa has. Is there a good reason there is no unique constraint on the registration id? This not existing causes issues, at least with the rest_framework classes.
For example, if you plug in the GCMDeviceAuthorizedViewSet you can immediately create multiple entries with the same registration id. In turn, this being allowed breaks other endpoints in the viewset, for example viewing an individual GCM device (ie /device/gcm/<registration_id>). This endpoint will throw a "got multiple results" error.
I'm running with the changes in https://github.com/lukeburden/django-push-notifications/commit/c6e04bb2e1466aa064dd4d123ed24a3fe3107e3e for now. The included migration won't be friendly for existing installations with duplicates though. If you think this is the correct approach for your project I'll throw up a pull request. If you have any concrete issues with using a unique constraint for GCMDevice.registration_id, I'd be interest to know of them. :)
Thanks guys!

Like I said, if you are registering multiple devices at once with the same registration id, that sounds like user error, or an implementation error on your part.  See issue #197 for a discussion on why registration_id should not be unique.

You don't usually have much control over how the client consumes an API. If you expose endpoints that let clients do something that can cause an internal server error (this is the current state of this library) it's cold comfort to point at the client and say, "You shouldn't do that.". Your poor ops person has still been woken up in the middle of the night by your monitoring system!
Thanks for referencing that other discussion, there are definitely a few complicating factors here.

Agreed with @lukeburden. APNS endpoint is working differently compared to GCM Endpoint and simply stating that the problem is device side doesn't mean GCM endpoint is correct. I had to implement alternative endpoint
POST /devices
{
    "name": "iOS 6.1",
    "type": "apns",
    "registration_id": "4d2d8feaf9a2d780c6c2d18a83c94483462ebe74aafab1f989711e6292b96c9b"
}

and internally do validation and proper error handling for duplicates and routing to what table to persist depending on "type" value.

We should be able to apply the unique validator in the GCM serializer. It doesn't solve the underlying DB issue but it would address the client problem.

Hi all.
What about the situation if I have more than one account in my application. I have single device. So if I switch accounts on the same device then client send to server the same registration_id! And I have more than one user with the same registration_id. But registration_id must be unique in django-push-notifications. I would like to know - why???

That is another good reason against unique reg ids.  The good thing is that the model does not enforce the unique constraint, it is only on the django rest framework serializer.  If you do not agree with the implementation, it is not hard to integrate drf yourself.  I had been using it before it's inclusion in this library so these changes don't effect my app.

I think that best solution would be uniquetogether of reg_id and user_id. That way you will have protection against multiple regIds and option to have multiple accounts on same device

FWIW, I've ended up running with a unique_together of registration_id and user_id in my fork. It provides a sensible amount of restriction (a user shouldn't be able to register the same token twice) whilst coping more gracefully with the fact that you may have different users logging in using an installation of an app, hence with the same registration_id.
This also then plays nicely with the rest framework API components in this project, which are automatically contained to records relating to the authenticated user.

@lukeburden i tried your branch but keep getting tab indent error

@baneizalfe some mixed spacing may have crept in. Please create an issue on my fork, not here.

@lukeburden please enable issues on you fork

@baneizalfe done, but beware, my fork is for my personal needs at the moment. It has changes that may not play nicely with backends other than PostgreSQL, and especially not MySQL due to constraints on use of unique indexing and TextField. I recommend you use this project if you can.

I believe there are a number of valid approaches to handling the uniqueness of tokens and it will depend on the application designer to determine what is appropriate. I agree that it would  be acceptable to use the registration_id and the user_id to determine uniqueness in most cases.
I do not use the user_id. I set the name field to something suitable unique and use that. Perhaps this could just be enforced at the application level? Either (user_id, registration_id) or (name, registration_id) would work well.

Does anyone know the conclusion of this issue?
I'm getting issues with multiple reg_ids in GCM devices

Same issue here also. Quite annoying. Any idea?


WinUI-3-Demos crashes in Release mode

Describe the bug

WinUI-3-Demos crashes in Release mode.
Steps to reproduce the bug

Steps to reproduce the behavior:

Clone https://github.com/microsoft/WinUI-3-Demos
Open DemoBuildCs.sln in Visual Studio
Update WinUI Package Reference to preview 2. In DemoBuildCs.csproj:

<PackageReference Include="Microsoft.WinUI" Version="3.0.0-preview2.200713.0" />

Run app in release mode, the app start and crash immediately.

Expected behavior
The app runs successfully.
Screenshots

Version Info

NuGet package version:
Microsoft.WinUI 3.0.0-preview2.200713.0

Windows app type:

UWP
Win32

Yes

Windows 10 version
Saw the problem?

Insider Build (20231)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

Upgrading the winui3 preview package from version 1 to 2 is not supported. Unfortunately you will need to make a new project with the updated Vsix project template. This will not be the case for RTM.

Thanks for your reply.
The actual reason I open this issue is that my own app also behaves like this.
However, my app is built from the updated project template (i.e. WinUI 3.0 Preview 2 Win32 Project).
I use the demo app to submit the issue since I think it can is easier to reproduce.
I will try the demo app with new project template then.

Update: I have create a new "WinUI 3.0 Preview 2 Win32" project.
After merging the code by copying the class definition and views, it still crash on release mode.
Unhandled exception at 0x7BD972A0 (Microsoft.Internal.XamlUdk.dll) in App3.exe:
0xC000027B: An application-internal exception has occurred. (parameters: 0x1AEEF568, 0x00000003).

@StephenLPeters

@StephenLPeters
Here it goes: https://github.com/KiruyaMomochi/WinUI-3-Preview2-Demo

I created a new project on the recently released Project Reunion 0.5 version of WinUI, and this works fine for me there.


Missing Player CompassTarget

In Bukkit there was a very nice feature to set the compass target for each player individually.
See Bukkit's Player
I would like to see something similar for Sponge as well.
Here a list of things i thought of that could be useful:

Get/Set/Reset the player's compass target

What about persistence here?
Possible to set for remote worlds?

Get/Set/Reset the world's compass target
Automatic compass targeting strategies: SPAWN, BED...

Is this even possible?

When combined with the Data API PR this will result in only a single additional (API) class.
Comments? Suggestions?

I'm agreeing with this being tied into the Data API and being persistent. It should be possible to have built-in default targets but setting the compass manually to those targets is really not easier enough to justify it.
The world compass target needs more discussion, I have no issue with it, but it seems like that might make it much more confusing to work with.
Additionally it should probably have a setHeading(double rotation) that can set a constant heading direction on the compass so plugins can avoid the annoying location management that would be needed to do completely custom compass control.

Theoretically, it can be handled by TargetedLocationData. However, implicitly defining that in #542 is out of scope of that PR. I do believe that it should be possible in a new PR after #542 is merged.

@gabizou I was going to add a new label representing dependence on a major API change to flag this. I agree it should be done after #542

This is provided by TargetedLocationData


How can I add input caption?

I need to add an image caption. Could you please assist me to add it?

@mrzResearchArena The issue with using \caption and also \name command is that they are also defined in this package, see here:
https://github.com/HarisIqbal88/PlotNeuralNet/blob/master/layers/Ball.sty#L28
https://github.com/HarisIqbal88/PlotNeuralNet/blob/master/layers/Ball.sty#L29

Thanks for your response. I tried to add a caption in the image input. However, I could not do it yet.
In addition, it will be helpful for me if you assist more about it.
https://pastebin.com/NExDJAyY


flora: add rpc call

change 'get' to 'call'
add declareMethod, removeMethod
Change-Id: I6d44138090d51ac6e329c7f9848ff5e6aad1dfc4

Checklist

[ ] npm test passes
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added

We are able to dismiss the codecov/patch result for now, so the CI is green now /cc @yodaos-project/js


4.19.2

Application is not working with 4019.2 .... can you fix?

Hello!
I've been thinking about updating this project for quite some time, since a LOT has happened in the engine since I did this.
I just haven't gotten around to it yet :)
I have two planned projects right now, hopefully I can get to this after those two.
It's always fun to hear there is interest though!
/Temaran

... this is great when you follow your previous posts ... : ) ,, .. ,,  .. please if I can do some help, dont hesitate to ask ... here is my question in answer hub, good for start thou...  ...
https://answers.unrealengine.com/questions/808195/shader-in-c-with-419.html
-- > thanks again ! ... : P ,,,,,,,

.. dude, any update here thou ?

Cool!
Ill still try to have a look when / if I get some time over
On Thu, Jul 19, 2018, 11:29 Katax<EMAIL_ADDRESS>wrote:

Thanks for the reply... : ) ,,
.. ok, I will work on this, and if it works, I`ll share some updates with
you ....
Thanks again ..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Temaran/UE4ShaderPluginDemo/issues/11#issuecomment-406214938,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE025FPBVI6940lJKTAXKtynI-3Cx2swks5uIFFogaJpZM4VOQfN
.

I'm really interested in this project as well. I'm new to EU but have quite a bit of experience with writing shaders, it would be great to get this working in UE4.2 for some to implement some custom stuff!

It seems a very interesting plugin.
Please any chance to make this works on UE 4.20?
Thanks!

Hey I sent a pull request and updated the plugin to UE 4.20 have a look at it and let me know if it works properly. If it doesn't then I'll try to fix it. @freeplanet @keithlostracco @Temaran

Very cool Umax!
I merged your pull request, unfortunately we are now in crunch for CES, so I still haven't found any time to upgrade the project :(
So thank you Umax for taking some time and getting it to 4.20!
/Temaran


NPM (WARN) ERESOLVE overriding peer dependency while resolving<EMAIL_ADDRESS>

Brand new empty create-react-app. Just installing all the libraries I'll need. MUI 5 already installed, and npm is returning error feedback upon installing mui-datatables

Expected Behavior

I expect to be able to install mui-datatables without any warnings or errors, as long as listed dependencies are met.
 Can anyone look at this please? Thanks

https://github.com/frontend-collective/react-sortable-tree/issues/916
react-sortable-tree must resolve it's reference and update
then mui-datables can++
considering they have 43 pending pull requests over there, and 25 here, I think it's safe to say it may be a while to resolve this.
Sometimes, we just gotta fork this stuff, tweak it, publish to private repo, swap deps with a scope, and call it a day. =/


PB-806 Update Dockerfile and docker-compose

:information_source: WIP

This PR does not contemplate the changes that will occur to the config files for the coordinator, as that is being done on a separate branch. Whichever branch is merged last into pet will need to account for that.

PR was updated with all the suggested changes!


Errors in connector log.

Setup Environment
Configuration file:
# quotes-source-connector.yml
apiVersion: 0.1.0
meta:
  version: 0.2.5
  name: http-quotes
  type: http-source
  topic: quotes
http:
  endpoint: https://demo-data.infinyon.com/api/quote
  interval: 1s

Start local cluster

fluvio cluster start

Start a local connector

cdk hub download<EMAIL_ADDRESS>cdk deploy start --ipkg infinyon-http-source-0.2.6.ipkg -c quotes-source-connector.yml

Problem
After running for about 12 hours I see a lot of errors in the log:
$ cat http-source.log
2023-12-12T04:56:17.962004Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T05:37:07.126475Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T05:54:01.614032Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T06:12:02.732754Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T06:30:47.463402Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T07:10:04.909691Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T08:01:04.735115Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T08:39:15.852677Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T09:04:49.218565Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T09:28:34.428434Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.216624Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.231342Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.234005Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.236210Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.238518Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.240803Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.243003Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.245315Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.247505Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.249707Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.251959Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.254147Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.256410Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.258623Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.260852Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.263080Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.265307Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:19.267576Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:20.304207Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:23.304180Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:26.305094Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:29.305348Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:32.303998Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:35.303183Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:38.303221Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:41.303269Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:44.302887Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:47.303504Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:50.303632Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:53.303633Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:56.303241Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T10:36:59.305851Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T12:12:28.068767Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T12:56:28.061001Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T13:46:28.676934Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T14:08:34.840646Z ERROR http_source::source: Request execution failed: Request failed
2023-12-12T15:19:52.014923Z ERROR http_source::source: Request execution failed: Request failed

What is the reason for the error, can we add more information?

@ajhunyady new version 0.3.1 with the fix is available


add note to tell user how to run the ingress on a Mac

Minikube's Mac and Linux behavior of ingress are a bit different in that Mac exposes the ingress to localhost and requires a tunnel.
My notes on the issue:
https://stackoverflow.com/questions/70961901/ingress-with-minikube-working-differently-on-mac-vs-ubuntu-when-to-set-etc-host

@cgammans Welcome, and please sign the CLA. 😊

Signed the CLA

@cgammans Welcome, and please sign the CLA. 😊

Just following up. Do I have to resubmit something?

Do I have to resubmit something?

No you don't!
I can see that the CLA check passes now. 😊

Preview: https://deploy-preview-31616--kubernetes-io-main-staging.netlify.app/docs/tasks/access-application-cluster/ingress-minikube/#:~:text=Note%3A If you are running Minikube locally on Mac%2C use <IP_ADDRESS> and run minikube tunnel.

Page preview:
https://deploy-preview-31616--kubernetes-io-main-staging.netlify.app/docs/tasks/access-application-cluster/ingress-minikube/#create-an-ingress

Hi  @.**,
minikube start
minikube addons enable ingress (this stays enable between start/stops, so
only done once)
minikube tunnel
kubectl apply ....  (my ingress and deployments yamls, etc)
I can also apply my files and start the tunnel afterwards, either way just
worked for me now.
Also, add the hostname you want to /etc/hosts: <IP_ADDRESS>   example.com
http://example.com
On Mon, Feb 28, 2022 at 6:35 PM Karen Bradshaw @.***>
wrote:

@.**** commented on this pull request.
In content/en/docs/tasks/access-application-cluster/ingress-minikube.md
https://github.com/kubernetes/website/pull/31616#discussion_r816382691:

@@ -190,6 +190,8 @@ The following manifest defines an Ingress that sends traffic to your Service via

{{< note >}}If you are running Minikube locally, use `minikube ip` to get the external IP. The IP address displayed within the ingress list will be the internal IP.{{< /note >}}

{{< note >}}If you are running Minikube locally on Mac, use <IP_ADDRESS> and run minikube tunnel.{{< /note >}}

Hi @cgammans https://github.com/cgammans . I have not checked the macOS
steps. When do you run minikube tunnel?
—
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/pull/31616#pullrequestreview-895768798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABO66A6VDAZ6UYWDCI2T4DTU5QPG7ANCNFSM5NQMOEDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@cgammans 👋🏻 Please feel free to /reopen this PR when you're ready to respond to review feedback.
/close


Create list of recoverable errors for DRS

Transient dask/distributed errors can result in rare exceptions when processing. In almost every case this can be resolved by simple re-running the processing task. However, it would be useful if there was a known lookup of error messages that could be evaluated to safely and automatically rerun the particular DRS processing exercise.

This task requires the iteration that processes variables to be refactored to account for a number of attempts and checking if an exception permits a re-run of that variable.
Suggest refactoring for a while loop ~542 in the DRS script which can pull a new variable off the list provided the previous has successfully processed or failed sufficiently to progress.


Caching Material Icons

I'm currently using the following config for a SPA:
new OfflinePlugin({
  responseStrategy: 'network-first',
  AppCache: false,
  externals: [
    '/',
    'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic',
    'https://fonts.googleapis.com/icon?family=Material+Icons',
<EMAIL_ADDRESS>  ],
  excludes: ['**/*.map'],
  ServiceWorker: {
    events: true,
    navigateFallbackURL: '/'
  }
})

Using this, I'm encountering the problem that https://fonts.googleapis.com/icon?family=Material+Icons requests another font file:
/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v29/2fcrYFNaTjcS6g4U3t-Y5UEw0lE80llgEseQY3FEmqw.woff2) format('woff2');
}
...

Because this url is not static is there any way to tell the plugin to cache requests to https://fonts.gstatic.com/s/materialicons/*/*.woff2 after the request is done the first time?
I tried adding this pattern to the optional cache section but despite from showing a warning that external urls should be inside the externals option it didn't work as expected.
Thanks for any help!

In theory, if we had "runtime caches" it would help, but not with first request. i.e. fonts would be cached on second page load, not on first.

Okay so if I understand this correctly there is currently no way of achieving this using this plugin?
It would not matter (to me) if this only happened on the second page load, it's just important that the file will get cached so if the user is offline the app will still show the icons.

Well, there is an experimental and untested API, but it isn't guaranteed to work.
It can be used this way:
new OfflinePlugin({
  responseStrategy: 'network-first',
  AppCache: false,
  externals: [
    '/',
    'fonts-css:https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic',
    'fonts-css:https://fonts.googleapis.com/icon?family=Material+Icons',
<EMAIL_ADDRESS>  ],
  excludes: ['**/*.map'],
  ServiceWorker: {
    events: true,
    navigateFallbackURL: '/'
  }
})

But again, it's experimental and it may not work at all.

Also, the reason why it's experimental and didn't receive further development just yet is because it will preload all the fonts from specified CSS.

Doesn't seem to work for me, but an idea occurred to me. Mozilla mentions in their docs:
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers

If we were being really clever, we would not only request the resource from the network; we would also save it into the cache so that later requests for that resource could be retrieved offline too! This would mean that if extra images were added to the Star Wars gallery, our app could automatically grab them and cache them. The following would do the trick:

this.addEventListener('fetch', function(event) {
  event.respondWith(
    caches.match(event.request).then(function(resp) {
      return resp || fetch(event.request).then(function(response) {
        return caches.open('v1').then(function(cache) {
          cache.put(event.request, response.clone());
          return response;
        });
      });
    })
  );
});

I tried this once but this ended literally putting everything (also database requests) into the cache. My idea is: Wouldn't it be possible to match the event.request url against a glob pattern of specified urls in the config, e.g. an extra optionals (call it what you want) section which will be cached eventually if the service worker sees a request that matches that pattern.
new OfflinePlugin({
  responseStrategy: 'network-first',
  AppCache: false,
  externals: [
    '/',
    'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic',
    'https://fonts.googleapis.com/icon?family=Material+Icons',
<EMAIL_ADDRESS>  ],
  optionals: [
    "https://fonts.gstatic.com/s/materialicons/*/*.woff2",
    "https://fonts.gstatic.com/s/roboto/*/*.woff2"
  ],
  excludes: ['**/*.map'],
  ServiceWorker: {
    events: true,
    navigateFallbackURL: '/'
  }
})

That's what's called "runtime/dynamic caches". As I said before, it doesn't exist in this plugin

Alright so is this planned for the future? If not is there a way to use importScripts in the worker to load own code?

Planned, but that doesn't mean someone is going to implement it. Since nobody contributes that, then that isn't very important feature for them.
You can use ServiceWorker.entry to point to a script file which will be used as a regular webpack entry for ServiceWorker. Then, add whatever code you want there.

Okay, I see. If I'm bored I'll look into it but for now I think I'll try using an own entry file.
Thanks, I'll close the issue.

@NekR
I have the same problem. Looking at the examples that you provided above with Roboto and Material Icons. The Roboto works but Material Icon does not.
I looked at the Cache Storage, both Roboto and Material Icon actual woff2 font file is cached, but when I tested the app Offline I got error only for Material Icon.

Any idea why?

I don't know. I need a repro / live example to take a look at.


Add batch (.bat)

like @echo off
echo hello
and more...

duplicate #131
Batch on Linux isn't possible


UI refactor local

This fix corrects the error that was created during the initial refactor. The issue as seen below was based on a mapping between the program names for the search values and the names inside the database. All other functionality should be restored by fixing this mapping to the new names.

This fix adds the README template and adds module support for ZHDB.


JDBC to Spanner support

WHAT
I was impressed that Spanner to JDBC (Cloud SQL) is supported. JDBC to Spanner is also deeply appreciated.
WHY

We are migrating Cloud SQL for PostgreSQL to Spanner and data migration is one of the most difficult part.
When types of columns used for PostgreSQL are primitive, pg_dump as CSV and Cloud Storage Text to Cloud Spanner are available. However, when using more complicated types, such as ARRAY and NUMERIC, we need different method.
HarbourBridge is introduced in GCP doc, but it doesn't work for data migration against the spec. Some of Avro to Spanner templates require to use the same format as Spanner to Avro manifest for each, so it is difficult to use them for data migration even if we can use a date export tools such as spotify/dbeam.
If this feature is supported, many migrators will be happy!!!
Features

Type support

ARRAY
NUMERIC

Column Mapping

Cloud SQL (column name: phone_number) -> Spanner (column name: PhoneNumber)
Select and modify column to sink

Integration with secret manager

to retrieve a DB password from secret manager to avoid putting password on manifest

JDBC to Spanner is already supported and we are testing the behavior. Please let me clarify how to specify a config file because currently it fails to execute a job (maybe my config fault).
Precondition
Cloud SQL table
a_table

column_a
column_b
column_c
column_d
column_e
column_f
...

Spanner table
ATable

ColumnA
ColumnB
ColumnC
ColumnD

manifest
{
  "sources": [
    {
      "name": "input",
      "module": "jdbc",
      "parameters": {
        "query": "SELECT column_a, column_b, column_c FROM public.a_table",
        "url": "jdbc:postgresql:///xxx?cloudSqlInstance=yyy:asia-northeast1:zzz&socketFactory=com.google.cloud.sql.postgres.SocketFactory",
        "driver": "org.postgresql.Driver",
        "user": "jjjj",
        "password": "kkkk"
      }
    }
  ],
  "sinks": [
    {
      "name": "spanner",
      "module": "spanner",
      "input": "input",
      "parameters": {
        "projectId": "xxxxxx",
        "instanceId": "yyyyyyy",
        "databaseId": "xxxxxxxxxx",
        "table": "TableA",
        "createTable": false,
        "keyFields": ["ColumnA", "ColumnB", "ColumnC"] // extract part of the whole schema to choose supported types (exclude ARRAY and NUMERIC)
      }
    }
  ]
}

Error
Error message from worker: com.google.cloud.spanner.SpannerException: NOT_FOUND: com.google.api.gax.rpc.NotFoundException: io.grpc.StatusRuntimeException: NOT_FOUND: Column not found in table TableA: column_a resource_type: "spanner.googleapis.com/Column" resource_name: "column_a" com.google.cloud.spanner.SpannerExceptionFactory.newSpannerExceptionPreformatted(SpannerExceptionFactory.java:284) com.google.cloud.spanner.SpannerExceptionFactory.newSpannerException(SpannerExceptionFactory.java:61)
...

Does this mean column names are the same between Cloud SQL and Spanner or it there any way to map columns between them?

Thank you for sharing the details of the use case !
The field names and data types need to match the table you are writing to.
Is it possible to convert or refine the field names in jdbc source module query parameter as follows?
SELECT column_a AS ColumnA, column_b AS ColumnB, column_c AS ColumnC FROM public.a_table

Thank you so much! I tried your suggestion and it worked perfectly as intended!!!
I confirmed the original issue JDBC to Spanner support is already supported. Is it better to separate feature requests, such as additional types and secret manager integration, from this issue?

Jdbc -> Spanner now supports Numeric, Json, and Array types. It is available from the following branch.
We are still planning to add a few Jdbc related features. I will merge them if there is no problem after that.
Please let me know if there are any problems.
https://github.com/mercari/DataflowTemplate/tree/enhance-jdbc

Also, we added table parameter. Instead of query parameter, you can specify the name of the table from which you want to get data.
Compared to executing a query, it has the following advantages

Data can be retrieved every specified number of times. This is useful when it is tough to run queries for longer periods of time in a production environment.
Data can be acquired at a higher speed because the query range is split and distributed execution is performed according to the load (when enableSplit of the experimental function is enabled).

If the table you want to retrieve data from is huge and it takes a long time to retrieve the data, please consider using this option. The following is an example.
https://github.com/mercari/DataflowTemplate/blob/enhance-jdbc/examples/jdbc-table-to-spanner.json

IAM database authentication using dataflow service account is now supported.

Thank you for the enhancement! We are testing the enhance-jdbc branch with the schemas that include ARRAY type columns. Some tables succeeded and the other failed. May I ask you whether this case is supported?
Postgres schema
there are other rows, but this one may be the only significant difference

name: bar_ids
type: bigint[]
default: '{}'::bigint[]
nullable: false

Spanner shchema

name: BarIds
type: ARRAY<INT64>
default: not using default yet
nullable: NOT NULL

Actual data sample in postgres
 {56,78,90}
 {12}
 {34}
 {}
 {}
 {}
...

Error message
Error message from worker: java.lang.NullPointerException com.mercari.solution.util.converter.RecordToMutationConverter.setValue(RecordToMutationConverter.java:167) com.mercari.solution.util.converter.RecordToMutationConverter.setValue(RecordToMutationConverter.java:207) com.mercari.solution.util.converter.RecordToMutationConverter.convert(RecordToMutationConverter.java:53) com.mercari.solution.util.converter.DataTypeTransform$SpannerMutationDoFn.processElement(DataTypeTransform.java:419)

Other
tables including the following columns succeeded in migration

name: foos
type: texr[]
default: none
nullable: true

Thanks for trying it out right away!
bigint type (also bigint[] type) should also be supported as INT64 type.
I checked the error message and found that there is a bug that causes an error if the value of a field of type Integer (TinyInt, SmallInt, etc.) is NULL.
I have committed the hot fix to the branch in a hurry.
(We will also added a check for the case when Integer type is NULL)

Thank you for the prompt fix! I confirmed the above case worked correctly 👍  I'll try other cases, such as NUMERIC and report if I find something!


Location name overlay

may I suggest to add the location name during the playback?
maybe text very small on one bottom corner

Closing as duplicate of #389

unfortunately that fork doesn't work with High Sierra


Fix getDevicesById()

If the user specified a non-exact device id, it was producing
an exception whereby we were trying to listen to the
getAllConnectedDevies() stream twice.

LGTM when travis is happy.


Validation error on RichText fields

Thank you for sharing your script, it works like a charm!
However I stumbled upon an validation error with RichText fields when uploading posts to contentful which I could not solve and for which I am unable to find any documentation of. Maybe someone knows more?
(The value of the body and excerpt are in all cases not simple strings as in this example but transformed markdown from wordpress posts from the output of this script)
Thank you!
("node":30500) UnhandledPromiseRejectionWarning:"InvalidEntry":{
   "status":422,
   "statusText":"Unprocessable Entity",
   "message":"Validation error",
   "details":{
      "errors":[
         {
            "name":"type",
            "value":"Here is the body of the Blogpost",
            "type":"RichText",
            "details":"The type of \"value\" is incorrect, expected type: RichText",
            "path":[
               "fields",
               "body",
               "en-US"
            ]
         },
         {
            "name":"type",
            "value":"This is the Blog post excerpt",
            "type":"RichText",
            "details":"The type of \"value\" is incorrect, expected type: RichText",
            "path":[
               "fields",
               "description",
               "en-US"
            ]
         }
      ]
   },
   "request":{
      "url":"entries",
      "headers":{
         "Accept":"application/json, text/plain, */*",
         "Content-Type":"application/vnd.contentful.management.v1+json",
         "X-Contentful-User-Agent":"sdk contentful-management.js/5.28.0; platform node.js/v12.18.3; os Windows/10.0.17763;",
         "Authorization":"Bearer ...wIpJw",
         "user-agent":"node.js/v12.18.3",
         "Accept-Encoding":"gzip",
         "X-Contentful-Content-Type":"blogPost",
         "Content-Length":5026
      },
      "method":"post",
      "payloadData":"{\"fields\":{\"title\":{\"de\":\"Interview zu Kleinstunternehmen in Wirtschaftswissenschaften und -ethik\"},\"body\":{\"de\":\"Here is the body of the Blogpost"},\"description\":{\"de\":\"This is the Blog post excerpt"},\"slug\":{\"de\":\"interview-zu-kleinstunternehmen-in-wirtschaftswissenschaften-und-ethik\"},\"publishDate\":{\"de\":\"2018-10-07T12:59:06+00:00\"},\"heroImage\":{\"de\":{\"sys\":{\"type\":\"Link\",\"linkType\":\"Asset\",\"id\":\"64sKvWtGm6c1zjtgeJadku\"}}},\"author\":{\"de\":{\"sys\":{\"type\":\"Link\",\"linkType\":\"Entry\",\"id\":\"12\"}}}}}"
   },

Thanks for the detailed issue, @Ortimis. I haven't worked with the RichText field type much, but this would definitely be a useful addition. I will take a look next chance I get. If you've already found a workaround, feel free to open a PR!

@Ortimis I don't have a solution here, but Contenful provides a markdown to rich text npm package to create the nodeTypes needed for the Rich Text content type. I also realize this is years old but posting for others in case it's needed.
https://www.npmjs.com/package/@contentful/rich-text-from-markdown


Present Proof V2.0 message structures

Related, almost identical to: https://github.com/hyperledger/aries-vcx/pull/990
NOTE: I've gone with v2.0 (as opposed to v2.1 & v2.2), this is primarily because it seems to be what others (aca-py & AFJ) are targeting and expect. similarly, V2.0 is what AIP2.0 lists as it's requirement: https://github.com/hyperledger/aries-rfcs/blob/main/concepts/0302-aries-interop-profile/README.md#base-requirements
The changes are virtually identical to #990 , other changes include:

moved AttachmentFormatSpecifier to a common place

Codecov Report

Merging #1017 (c5c4293) into main (b2e87eb) will decrease coverage by 0.22%.
The diff coverage is 22.26%.

@@            Coverage Diff             @@
##             main    #1017      +/-   ##
==========================================
- Coverage   35.97%   35.75%   -0.22%
==========================================
  Files         372      379       +7
  Lines       21745    21872     +127
  Branches     4014     4043      +29
==========================================
- Hits         7822     7821       -1
- Misses      11763    11888     +125
- Partials     2160     2163       +3

Flag
Coverage Δ

unittests-aries-vcx
35.75% <22.26%> (-0.22%)
:arrow_down:

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

Files
Coverage Δ

...ation/verifier/states/presentation_request_sent.rs
53.84% <100.00%> (ø)

aries_vcx/tests/test_credential_retrieval.rs
88.38% <100.00%> (ø)

aries_vcx/tests/utils/scenarios/data.rs
96.49% <ø> (ø)

...lds/protocols/cred_issuance/v2/issue_credential.rs
0.00% <ø> (ø)

...s/src/msg_fields/protocols/cred_issuance/v2/mod.rs
0.00% <ø> (ø)

...lds/protocols/cred_issuance/v2/offer_credential.rs
0.00% <ø> (ø)

...s/protocols/cred_issuance/v2/propose_credential.rs
0.00% <ø> (ø)

...s/protocols/cred_issuance/v2/request_credential.rs
0.00% <ø> (ø)

...c/msg_fields/protocols/present_proof/v1/present.rs
25.00% <ø> (ø)

...c/msg_fields/protocols/present_proof/v1/propose.rs
16.00% <ø> (ø)

... and 36 more

... and 3 files with indirect coverage changes


Way to provide credentials through constructor

There is no documentation and no examples about way how credentials could be provided to PubSub constructor. Is it available like in other googleapis projects?
E.g.:
const ps = new PubSub({
    projectId,
    credentials,
  });

Where credentials contain private_key and client_email.
So if there's such option, then it should be documented properly. If there's no such option, then it should be a new feature.

What path did you take for docs? We have this section on the PubSub constructor on the API docs page: https://cloud.google.com/nodejs/docs/reference/pubsub/0.20.x/PubSub. It lists options and links to ClientConfig, which shows projectId, keyFilename, etc.

@stephenplusplus I've just followed you link and didn't find anything that tells that there's a way to provide credentials object just like I showed in example in the 1st message:
const ps = new PubSub({
  projectId,
  credentials: {
    private_key: 'my_key',
    client_email: 'my_email',
  },
});

So I've asked exactly about credentials, not keyFilename because providing jsons is not an option for me.

credentials is documented here: https://cloud.google.com/nodejs/docs/reference/pubsub/0.20.x/global#ClientConfig

Ah, ok thanks.


When should a package have its own typedoc.json file?

Today, we have a typedoc.json file for the below packages:

That leaves the below Track 2 packages

template
text analytics
form recognizer
identity
event hubs
service bus
any of the core packages

The ones for the various storage packages are similar among themselves
The ones for the various key vault packages are similar among themselves, but different from the storage ones.
This issue is to

investigate if we even need these files.
if yes, then come up with a common configuration, add it to the template project, update all existing typedoc.json files, and add to ones that don't have it already

cc @sadasant, @jeremymeng, @richardpark-msft, if they recall anything from the time these files were added to key vault, storage and app config packages respectively.

I can recall this was used to generate the documentation that is visible on docs.microsoft.com, but I can't recall more at the moment. I wonder if we should reach to Scott Beddall or related, since if anything, this would only be used by some automation process related to docs.

@KarishmaGhiya, Do you recall anything regarding the above?
cc @praveenkuttappan

From what I can recollect some of the libraries wanted their own custom configuration for typedoc, which is why they decided to overwrite the central configurations. But it will be great to have a mutual agreement for a standard typedoc configuration among the various libraries, for standardization.

We shouldnt need to have configurations specific to individual packages. If the defaults don't work for a package, then an issue should be logged for requests to change the default configuration in the generate-doc tool with reasons.


Add leetcode solutions of Searching problems

Will add solutions of binary search problems from leetcode

I want to work on this issue under HSSOC

@aritra-tech I want to work on this issue .Please assigned it.
Type: Documentation
Language : Python

@aritra-tech I want to work on this issue .Please assigned it.
Type: Documentation Language : Python

Sorry @Robinrai2612 the issue was created by her so she will get the issue. You can make your own issue as I said to you.
Thank you


cannot open pictures saved by function 'saveAsMapImage'

Hi
When I want to see the dynamic costmaps, I use function 'saveTimedCostmaps' in 'dynamic_social_layers.cpp'. After that I see the png files but I cannot open these files. Do you have any ideas about it?

Hi, thank you for pointing it out, the file extension has to be .pgm not .png. I corrected it in the code of https://github.com/marinaKollmitz/human_aware_navigation/commit/2408edbe9de421745ab498dcaa3971ad3f061dd7. I hope you can see the dynamic cost maps now.

Now I can the costmaps. Thanks a lot.


[$500] iOS - Login - "Autofill" is offered for magic code

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR https://github.com/Expensify/App/pull/28711
Action Performed:

Navigate to https://staging.new.expensify.com/
Input an email address
Double tap on a magic code bracket

Expected Result:
"Autofill" shouldn't be available for magic code
Actual Result:
"Autofill" is offered for magic code
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/2d75a1f2-8adf-4df9-8d76-360fe49aad1c
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0176325b9b66cb52d7
Upwork Job ID:<PHONE_NUMBER>953857024
Last Price Increase: 2023-11-30

Proposal
Please re-state the problem that we are trying to solve in this issue.
iOS - Login - "Autofill" is offered for magic code
What is the root cause of that problem?
Not having contextMenuHidden=true, or not having autoComplete=false can cause it.
What changes do you think we should make in order to solve the problem?
Set contextMenuHidden=true, side-effect is users won't be able to paste too.
What alternative solutions did you explore? (Optional)
Set autoComplete="off" and set textcontenttype="oneTimeCode" Docs here

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~0119a68e3355f4aaf1

Proposal
Please re-state the problem that we are trying to solve in this issue.
iOS - Login - "Autofill" is offered for magic code
What is the root cause of that problem?
Not having contextMenuHidden=true, or not having autoComplete=false can cause it.
What changes do you think we should make in order to solve the problem?
Set contextMenuHidden=true, side-effect is users won't be able to paste too.
What alternative solutions did you explore? (Optional)
Set autoComplete="off" and set textcontenttype="oneTimeCode" Docs here

Hi @narefyev91
Please, what do I do now? I'm very much new here, and I'm yet to be added to the Slack channel Do I make these changes and create a PR? Do I need to send a proposal?

Hey hey! We need to wait final approval from @Gonals - and if he will accept your proposal - he will assign you. And after that you will start working on PR

@narefyev91 I agree, I don't think this is a bug.

Menu appears when you take action on OS that triggers menu.

We don't prevent right-click on web or desktop on this window.


Provide user feedback when creating a shinylive link for a dir with several files takes a while

When the user creates a shinylive link for a directory with several files, for e.g. https://github.com/posit-dev/py-shiny/tree/main/examples/brownian, the user gets to select the editor or app mode in Shinylive mode, but the corresponding modal that asks the user to select the option to either open the link or copy the link takes a while.
We should have a way to provide user feedback during this waiting period, so that the user knows that the operation is still in progress.

@karangattu the hard part here is that this example is very much an edge case. It likely takes as long as it does because the app is far too big to be sent to shinylive.io -- in this case generally because there is a node_modules folder in the example with lots of files.
The experience of having a progress indication show up is definitely better when it takes this long, but we can't differentiate between long and short URL encoding times. As a result, we'd end up always showing a progress toast even when it's nearly instantaneous.
I think the fix we might want to implement here is to detect that the app bundle is too big to compress into a URL, but I'm also not sure where that line would be.


make 'transliterate' do only that rather than transliterate && urlize, m...

Right now the call to transliterate also calls postProcessText at the end. Which means it does not deal "only" with the transliteration but actually creates the slug by adding the separator, removing whitespaces etc ...
Other transliterators deal with only the transliteration so currently they need to be modified to add the urlizing process too.
Suggest to have transliteration do just the transliteration and make the urlization happen once the slug has been transliterated.

I totally do not understand the reasons. You have possibility to set custom callable: given arguments $text, $separator, $object. You can transliterate whenever you want and your function should apply the $separator. if you do not know how better make postProcessText public in PR, and call it statically or just copy the code from it in your function thats it.

Ok, I think its because we don't understand transliterate in the same way I guess then. I'll try to explain myself better. Here's how I understand the process to create a slug if it has weird character in it:

get required fields and construct a string out of them so now we have maybe:
$slug == 'post title 你好'

Transliterate. For me transliteration is just and only the process of changing the weird characters to an alphabet based romanization of these characters so now we'd have
$slug == 'post title ni hao'

Url-ification is the process of removing white spaces and any non url friendly character that was not taken care of by the transliteration in order to have
$slug == 'post-title-ni-hao'

So maybe I'm just confused because it's called transliteration and for me transliteration only represents step 2 of this process however in the software it currently does step 2 and 3 altogether. So when I read 'transliteration' I think 'I'm in charge of step 2 only'.
There's no need to make postProcessText public, urlize is already public and takes care of more possible cases if accents still remain.
Hope it's more understandable like that.

well you are right, method naming also is quite wrong. seems like I forgot how it works. there was also an issue since there was no cleanup of unidentified chars after transliterate, before. can you repull it?


feat: Add Coverage Check To GitHub Workflow

🍰 Pullrequest
dito
Issues

relates #122

Where is the review?


eden setup not working

Description
following the commands given in the below link.
https://wiki.lfedge.org/display/EVE/How+get+Windows+10+running+on+a+Raspberry+Pi
when i try to run the ./eden setup i'm not getting expected output and getting fatal error.
I'm have installed eden in VirtualBox6.1.12(Windows), Ubuntu 20.04

Steps to Reproduce
Steps followed:
git clone https://github.com/lf-edge/eden.git
cd eden
make clean
make build
./eden config add default --devmodel RPi4 --ssid
./eden config set default --key eve.hv --value xen
Actual Results
INFO[0000] Config file /home/tarun/.eden/contexts/default.yml is the same as default-config_saved.yml
Enter password for wifi connecting:
ERRO[0003] cannot GenerateEveCerts: GenerateEveCerts: mkdir : no such file or directory
ERRO[0003] cannot GenerateEVEConfig: GenerateEVEConfig: mkdir : no such file or directory
FATA[0003] tag not present
Expected Results
This is the step that will ask you for the password to your WiFi.
When it is done, Eden will output information about the EVE certificates and the SSID and password that you entered.  It will also give you the location of the live.img image that you will put on the SD card.
Additional Information

Doing clean build, helped here. Issue is related to the network connect and disconnect, because of which some bytes were missing while building. Hence closing this issue.


Update ES during sector syncs

Blocked by #316

can you reference code when closing please? And 316 is still open even though it blocks this one?


[Draft] Add ELLMo Integration

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


Possible to get Phone Contact of Gmail Contact ?

I don't think this is possible. Whatever the Pushbullet API returns on the contacts endpoint, that's the information you can get for a contact.

The closest thing you can do is get a list of all entries in a device's phonebook by using getPhonebook($device_iden).
It's a new method I've just implemented. You can read its documentation here: https://github.com/ivkos/PushBullet-for-PHP/commit/5a54db49b6a3fcb1191dd593031e796a3a65511f

Thanks @ivkos :D !!


Possible repeat bug with oneshot action

I tried making control, alt, and meta into toggle-modifiers while reordering them, and adding some keyboard transaltions as explained in the readme:
[ids]
*
[main]
leftalt = oneshot(control)
leftmeta = oneshot(alt)
leftcontrol = oneshot(altgr)

[control]
s = left
f = right
d = down
e = up

It works, but I've noticed that when I simultaneously press for example 'alt+s', which is mapped to 'left', the cursor starts moving to the left without stopping even after the keys are released, until I press ESC. This phenomenon happens not all the time, but quite often. On the other hand, if I press first alt and then s, then the cursor moves only one step to the left, as expected.
My guess is that the oneshot toggle somehow influences the extra key that's pressed simultaneously, putting that on repeat as well. But this is just a guess.

To clairfy, are you saying that 'left' is held after releasing both alt and s or just alt? If it is the latter, then that is expected behaviour. If it is the former (i.e left is sent while no keys are depressed), please post the output of sudo keyd -m while reproducing the behaviour and add comments to the output to indicate the corresponding physical actions.

I'm closing this due to inactivity. Feel free to reopen it.


GeoJSON platform

Description:
This is the first platform of the new geo location component. It fetches data from a GeoJSON feed and generates entities for each external event that is in the vicinity of the Home Assistant server. The radius around Home Assistant is configurable, and so is the scan interval. If the GeoJSON feed's entries define categories, then a category filter can be defined to only include entries from the configured categories.
I tried to keep this as simple as possible. Future enhancements may include the ability to access other properties of the feed or the ability to define additional filters.
A similar platform for GeoRSS feeds is in the making.
Related issue (if applicable): evolving https://github.com/home-assistant/home-assistant/pull/15953
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
geo_location:
  - platform: geo_json_events
    url: http://www.rfs.nsw.gov.au/feeds/majorIncidents.json

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] Tests have been added to verify that the new code works.

@MartinHjelmare: Here comes the first platform for the new geo location component. I decided to go with GeoJSON feeds first before looking at GeoRSS again, because GeoJSON is a bit simpler and does not depend on the feedreader component.

@MartinHjelmare : Sorry, I just realised from some of your questions that it may make sense to briefly discuss the general direction for new platforms in the geo location component. Could you please have a look at the last comment in here: https://github.com/home-assistant/architecture/issues/42

Those are good questions. I don't have an opinion/answer at the moment.

@MartinHjelmare : As suggested I moved all code that accesses the external GeoJSON feed into a separate library. I refactored the code in this PR as requested and to integrate with the new library.
As suggested in the last comment in https://github.com/home-assistant/architecture/issues/42, this PR may not go anywhere, but before I go ahead and integrate a first specific GeoJSON feed as a new platform, I was hoping you could take a quick look at this to confirm whether the refactoring go into the right direction? Thanks.

Updated the PR description. Doco will be added tonight.


CFP: Egress Gateway destinationCIDRs exclusions

Cilium Feature Proposal
Is your feature request related to a problem?
Egress Gateway policies are difficult to configure in the common case of wanting a default route through the gateway, but some traffic to not go through the gateway.
This is exacerbated by the the inability to support large number of CIDRs due to BPF map size limits.
https://github.com/cilium/cilium/issues/22805
https://github.com/cilium/cilium/issues/22929
For example, the following policy would be much simpler to define and would require a much smaller map if we could use a destination of <IP_ADDRESS>/0 with a few exclusions.
apiVersion: cilium.io/v2alpha1
kind: CiliumEgressNATPolicy
metadata:
  name: storaged-egress
spec:
  destinationCIDRs:
  - <IP_ADDRESS>/1
  - <IP_ADDRESS>/2
  - <IP_ADDRESS>/4
  - <IP_ADDRESS>/5
  - <IP_ADDRESS>/5
  - <IP_ADDRESS>/6
  - <IP_ADDRESS>/6
  - <IP_ADDRESS>/6
  - <IP_ADDRESS>/6
  - <IP_ADDRESS>/7
  - <IP_ADDRESS>/7
  - <IP_ADDRESS>/7
  - <IP_ADDRESS>/8
  - <IP_ADDRESS>/8
  - <IP_ADDRESS>/8
  - <IP_ADDRESS>/8
  - <IP_ADDRESS>/8
  - <IP_ADDRESS>/9
  - <IP_ADDRESS>/9
  - <IP_ADDRESS>/9
  - <IP_ADDRESS>/9
  - <IP_ADDRESS>/9
  - <IP_ADDRESS>/10
  - <IP_ADDRESS>/10
  - <IP_ADDRESS>/10
  - <IP_ADDRESS>/10
  - <IP_ADDRESS>/10
  - <IP_ADDRESS>/11
  - <IP_ADDRESS>/11
  - <IP_ADDRESS>/11
  - <IP_ADDRESS>/11
  - <IP_ADDRESS>/11
  - <IP_ADDRESS>/12
  - <IP_ADDRESS>/12
  - <IP_ADDRESS>/12
  - <IP_ADDRESS>/12
  - <IP_ADDRESS>/12
  - <IP_ADDRESS>/13
  - <IP_ADDRESS>/13
  - <IP_ADDRESS>/13
  - <IP_ADDRESS>/13
  - <IP_ADDRESS>/13
  - <IP_ADDRESS>/14
  - <IP_ADDRESS>/14
  - <IP_ADDRESS>/14
  - <IP_ADDRESS>/14
  - <IP_ADDRESS>/14
  - <IP_ADDRESS>/15
  - <IP_ADDRESS>/15
  - <IP_ADDRESS>/15
  - <IP_ADDRESS>/15
  - <IP_ADDRESS>/15
  - <IP_ADDRESS>/16
  - <IP_ADDRESS>/16
  - <IP_ADDRESS>/16
  - <IP_ADDRESS>/16
  - <IP_ADDRESS>/17
  - <IP_ADDRESS>/18
  - <IP_ADDRESS>/18
  - <IP_ADDRESS>/18
  - <IP_ADDRESS>/19
  - <IP_ADDRESS>/19
  - <IP_ADDRESS>/19
  - <IP_ADDRESS>/20
  - <IP_ADDRESS>/21
  egress:
  - podSelector:
      matchExpressions:
      - key: environmentd.materialize.cloud/namespace
        operator: In
        values:
        - storage
        - compute
  egressSourceIP: <IP_ADDRESS>

Describe the feature you'd like
The ability to specify CIDR block exclusions in the egress gateway policies.
(Optional) Describe your proposed solution
Add an additional field to the policy spec for excludeCIDRs.
Add an additional BPF map to hold the excluded CIDR blocks.
When deciding whether to route traffic through the egress gateway, also consult the map of excluded CIDR blocks.

@jibi suggested offline that we could implement this without many agent changes, by setting the gateway IP to 0 in the policy map when the CIDR rule is an exclude one. Datapath would then only need to check that 0 value, if it's not already the case.


Verify DNS server settings

Hi! Love your piece of code!
I recently implemented this for my firewall and all IPS rules are generated and updated as expected. However, a few questions which arose was;

Can I verify that the DNS I supplied is correct, and what effect does it have if I choose the wrong DNS? I found it hard to understand what my VPC's DNS is, but I understood it as if my VPC CIDR is e.g. <IP_ADDRESS>/16, then my DNS would be <IP_ADDRESS>. Is that correct?

Is there any downfall to setting the whole CIDR as $HTTPSERVERS?

I was also wondering if you know about a certain standard for what rules groups to use for a standard web setup?

Hello @origooo ,
Thank you for your interest in this sample code. Please find below response to your questions

Can I verify that the DNS I supplied is correct, and what effect does it have if I choose the wrong DNS? I found it hard to understand what my VPC's DNS is, but I understood it as if my VPC CIDR is e.g. <IP_ADDRESS>/16, then my DNS would be <IP_ADDRESS>. Is that correct?

That is correct if you have enableDnsSupport=true for the vpc. Although some organizations disable this default setting and use different dns servers like DNS provided by Active Directory. In such scenarios you have to provide the AD dns servers list.

Is there any downfall to setting the whole CIDR as $HTTPSERVERS?
No. I have used the whole CIDR during my testing.

I was also wondering if you know about a certain standard for what rules groups to use for a standard web setup?
Unfortunately, i am primarily a developer of this use-case not an expert on Network firewall or Emerging threats. Although, I would recommend to research more on proofpoint forums for further guidance on this.

@origooo Hope i have answered your questions. This issue will closed after 3 days if there are no further responses.

Resolving issue as there is no further response.


Release v0.1.14

Changes

Last time index (#33)
Update Scipy version to 1.0.0 (#31)

Codecov Report

Merging #35 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #35   +/-   ##
=======================================
  Coverage   88.12%   88.12%
=======================================
  Files          73       73
  Lines        6804     6804
=======================================
  Hits         5996     5996
  Misses        808      808

Impacted Files
Coverage Δ

featuretools/entityset/entityset.py
87.94% <ø> (ø)
:arrow_up:

featuretools/selection/selection.py
100% <ø> (ø)
: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 aaf504d...4be6d55. Read the comment docs.


Tagging a version for Symfony3

Hi there!
Are you planning on tagging a new version for Symfony3? :)
The fixes already seem in master, but there's no published version for others to pull from.
Is there anything blocking the new version? If yes, I'd be happy to help out with it.

I agree. The Symfony 3 requirement is BC breaking.

I updated master to test it in my pet project https://codevotes.com/ - it works on SF3 more than month already, looks like I can tag stable release, I'll do that soon

Hey, thanks for your patience!
I just released two branches:

2.8 - with support for symfony ^2.8
3.0 - with support for symfony ^3.0

master will stay for development purpose


improve handling of small chromosomes

R 3.5.1
[1] breakpointR_0.99.11    breakpointRdata_0.99.2
breakpointR fails for genome tiling operations on small chromosomes, i.e., when the chromosome size is shorter than the selected tiling window (happens, e.g., for chrM). This could be handled more gracefully by simply skipping over small chromosomes and printing a warning (or similar)
I think this is an example line in plotting.R
binned.data <- unlist(GenomicRanges::tileGenome(seqlengths(reads), tilewidth = 200000))

FIXED


Azure IPAM

Tasks:

[x] Initial implementation
[x] Unit test coverage
[ ] CI runtime coverage (AKS)
[ ] Documentation

@tgraf already fixed by  #10089? Or are there additional items remaining?

@tgraf already fixed by #10089? Or are there additional items remaining?

I've added a task list to track what is missng


Update creating_with_nf_core.md

Added a schema for the output of nf-core create command

@nf-core-bot fix linting pretty please :pray:


driver.js will make an error if it is used in the scroll area

sourcecode
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Static Template</title>
    <link
      rel="stylesheet"
      href="https://unpkg.com/driver.js/dist/driver.min.css"
    />

        <button class="btn-start">start</button>
        <button class="btn-middle">middle</button>
        <button class="btn-end">end</button>

background is scroll:

look at this gif  ,  the middle popover is wrong

in the end area, I click the previous, this middle or start is wrong, I can't see the middle popover

bro, did you  fixed this?

We just released v1.0 of driver.js which has been rewritten from the ground up. This issue should no longer exist. Please have a look at the docs and do let me know if you face any issues.


Set up publish workflow

Can probs use - run: echo "REPO_NAME=${{ github.event.repository.name }}" >> $GITHUB_ENV or similar in these cases


Configparser errors

1.Getting 'KeyError(key)' to execute the python scripts from this path in the server: /home/ec2-user/leto/
2.When we execute the python script 'reconstruction/opencv_resolution_upscaler/opencv_resolution_upscaler.py' we are getting for 'from .recon_args import parse_recon_args' mentioned in this file:  'utilities/init.py'
3. The 'output_prefix_s3' paths in 'config.ini' should be corrected. Some of the mistakes are mentioned below:
a)line 26: add '/' at the end else the file name in the s3 bucket is being appended with 'car'
b)line 37: remove 'test/test/' in the path

Marking this as resolved.  This PR will address all of these concerns.  Thanks for bringing these up, bhaiya!


IGAPP-811: Add meta tags to prevent caching of index.html

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.
This issue is connected to
https://issues.tuerantuer.org/browse/IGAPP-735
Unfortunately i don't see a way to test this. We can just check the sentry events
https://sentry.tuerantuer.org/organizations/digitalfabrik/issues/186/?project=2&referrer=jira_integration

@f1sh1918 I do not think this will fix it. We do not delete previous bundles from the server. This means even if you use an older index.html everything should work.


Build python wheel in release script

Also enable actual check of exit code of pytest (no point in having a CI-pipeline that is not reporting any errors...).

I cannot reproduce the test failures in 5cd64c1 neither under python3.10 nor under python3.11, I'm marking those as xfail (in 26c40aa) for now.


[Backport 2.x] Fix error handling while reading analyzer mapping rules.

Description
Fix error handling while reading analyzer mapping rules.
Porting #5123 and #5141 to 2.x.
This ships in 2.4, so no CHANGELOG for 2.5.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Tests with failures:
 - org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT.testTimeoutWhileThrottling

https://github.com/opensearch-project/OpenSearch/issues/5083


fix instructions that treated as code

the text changed appears to be instructions for the user not code

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@spottedmahn : Thanks for your contribution to the Azure documentation! The author, @rojasja, has been notified to review your proposed change.

@spottedmahn Thanks for the contribution. The change looks good but Jose made this change in another PR.
Confirmed change with author @rojasja. Requesting #please-close


Add an admin panel

This will let us make quick changes without opening up the Heroku console.
It is responsive, so we can also do it on our phones.
To see it, go to https://hotline-webring-staging.herokuapp.com/admin and use the username/password that I will tell you.
Full Size

Mobile

Feel free to also address any or all of these in a follow up PR.

@edwardloveall Thank you for the insightful and comprehensive review! The code is definitely way better now.


Unescaped characters in JSON output

What's the best way to get human-readable text back out of this JSON produced through the .log() output?
{"id":"alertName:nil","message":"alertName:nil is OK","details":"{\u0026#34;Name\u0026#34;:\u0026#34;alertName\u0026#34;,\u0026#34;TaskName\u0026#34;:\u0026#34;highalertName\u0026#34;,\u0026#34;Group\u0026#34;:\u0026#34;nil\u0026#34;,\u0026#34;Tags\u0026#34;:null,\u0026#34;ID\u0026#34;:\u0026#34;alertName:nil\u0026#34;,\u0026#34;Fields\u0026#34;:null,\u0026#34;Level\u0026#34;:\u0026#34;OK\u0026#34;,\u0026#34;Message\u0026#34;:\u0026#34;alertName:nil is OK\u0026#34;}","time":"0001-01-01T00:00:00Z","level":"OK","data":{"series":[{"name":"alertName"}]}}
The \u0026's are ampersands, but then what are the "&#34"s? Are those escaped characters our accidental doing and if not is there a way to produce ASCII if our tickscript only contains ASCII?
Thanks.

The details field in the JSON is defined to be HTML encoded data. By default it is the same information as already exists in the rest of the JSON structure. The details field can be controlled via the .details method in a TICKscript. Does that help?


Bookstore: initialize project with components

What is added

Create react application using CRA.
Create a directory components for reusable components.
Install react router.
Add routers inside App.
Add 2 routes / , /catagories to the application
Create components inside the component directory:
1. For book state.
2. For book card.
3. For creating new book
4. For navigation

What is newly added

Add MIT.md license file


The top N populated cities in a district where N is provided by the user.

Unable to complete due to project time constraints


amplify push after amplify add analytics gives errors

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
Amplify Console GitHub Issue Tracker

Describe the bug
I am trying to add Analytics to my build but I get errors when I push.
To Reproduce
Steps to reproduce the behavior:

amplify add analytics
amplify push

Expected behavior
Analytics is added to the application after push is completed.
Screenshots
amplify add analytics
Using service: Pinpoint, provided by: awscloudformation
? Provide your pinpoint resource name: TrueEdgeMetrics
Adding analytics would add the Auth category to the project if not already added.
? Apps need authorization to send analytics events.  Use "amplify update auth" to modify this behavior.
Successfully updated auth resource locally.
Successfully added resource TrueEdgeMetrics locally

amplify push

Current Environment: dev

| Category  | Resource name     | Operation | Provider plugin   |
| --------- | ----------------- | --------- | ----------------- |
| Analytics | TrueEdgeMetrics   | Create    | awscloudformation |
| Auth      | trueedge97d2517a  | Update    | awscloudformation |
| Api       | userManagerLambda | Update    | awscloudformation |
| Function  | userManagerLambda | Update    | awscloudformation |
| Api       | trueEdgeData      | No Change | awscloudformation |
| Storage   | edges3resource    | No Change | awscloudformation |
? Are you sure you want to continue? Yes
| Updating resources in the cloud. This may take a few minutes...

UPDATE_IN_PROGRESS storageedges3resource    AWS::CloudFormation::Stack Mon Sep 16 2019 11:24:08 GMT-0500 (Central Daylight Time)
CREATE_IN_PROGRESS analyticsTrueEdgeMetrics AWS::CloudFormation::Stack Mon Sep 16 2019 11:24:09 GMT-0500 (Central Daylight Time)
UPDATE_COMPLETE    storageedges3resource    AWS::CloudFormation::Stack Mon Sep 16 2019 11:24:09 GMT-0500 (Central Daylight Time)
UPDATE_IN_PROGRESS authtrueedge97d2517a     AWS::CloudFormation::Stack Mon Sep 16 2019 11:24:09 GMT-0500 (Central Daylight Time)
- Updating resources in the cloud. This may take a few minutes...

UPDATE_FAILED               authtrueedge97d2517a         AWS::CloudFormation::Stack Mon Sep 16 2019 11:24:09 GMT-0500 (Central Daylight Time) Parameters: [userpoolClientLogPolicy, openIdRolePolicy, openIdLogPolicy, mfaLambdaLogPolicy, openIdLambdaRoleName, policyName, userpoolClientName, userpoolClientLambdaPolicy, mfaLambdaIAMPolicy, mfaPassRolePolicy, roleName, lambdaLogPolicy, mfaLambdaRole] must have values
CREATE_IN_PROGRESS          analyticsTrueEdgeMetrics     AWS::CloudFormation::Stack Mon Sep 16 2019 11:24:09 GMT-0500 (Central Daylight Time) Resource creation Initiated
CREATE_FAILED               analyticsTrueEdgeMetrics     AWS::CloudFormation::Stack Mon Sep 16 2019 11:24:10 GMT-0500 (Central Daylight Time) Resource creation cancelled
UPDATE_ROLLBACK_IN_PROGRESS true-edge-dev-20190908230237 AWS::CloudFormation::Stack Mon Sep 16 2019 11:24:11 GMT-0500 (Central Daylight Time) The following resource(s) failed to create: [analyticsTrueEdgeMetrics]. The following resource(s) failed to update: [authtrueedge97d2517a].

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: amplify -version = 3.0.0

Additional context
I noticed that the error above is about a bunch of parameters not having values. I see that these are remove from amplify/backend/auth/trueedge97d2517a/parameters.json after I do "amplify add analytics"

@apanagos did you run amplify auth update by any chance? All those parameters looks like Cognito specific parameters and I'm wondering what CLI operations could have remove those...
If you could provider repro steps that would help.

I wish it was more complicated than that but that was the steps.
amplify add analytics
(I see the details above with those properties removed)
amplify push
and it fails with the issue above.
I have done this same steps now several times. The last time I deleted everything and checked out code and started from amplify init.
I upgrade to 3.2.0 (I was on 3.0.0) and that introduced its own issues and spent 6 hours last night and this morning trying to figure out why I couldn't push. Seems there is a bug in 3.2.0 that is being worked on. Though they provided a work around for that issue (do amplify update api first before doing the amplify push).
Its not related to this issue but I may try again to see.
I tried to work around this and try to manually create the Pinpoint project and use code to connect but no matter what I do with IAM permissions it fails on a record
import Amplify from "aws-amplify";
const analyticsConfig = {
autoSessionRecord: true,
AWSPinpoint: {
// Amazon Pinpoint App Client ID
appId: 'xxxxxxxxxxxxxxxxxxxx4e1b',
// Amazon service region
region: 'us-east-1',
mandatorySignIn: false,
}
};
Analytics.configure(analyticsConfig);
but it gives a permissions error even though I have the following on each IAM role generated
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"mobiletargeting:PutEvents",
"mobileanalytics:PutEvents",
"mobiletargeting:UpdateEndpoint"
],
"Resource": "*"
}
]
}
So I am stuck.
Can't do it through amplify add analytics and cant do it manually.
Any other suggestions I am open. BUT I will try again again now and see if the current changes do anything.

I have the exact same behaviour.
D:\projects\git\true-edge>amplify --version
3.2.0
D:\projects\git\true-edge>amplify status
Current Environment: devandrew

Category
Resource name
Operation
Provider plugin

Auth
trueedge97d2517a
No Change
awscloudformation

Api
trueEdgeData
No Change
awscloudformation

Api
userManagerLambda
No Change
awscloudformation

Function
userManagerLambda
No Change
awscloudformation

Storage
edges3resource
No Change
awscloudformation

GraphQL endpoint: https://xxxxxxxxxxxxxxxx.appsync-api.us-east-1.amazonaws.com/graphql
D:\projects\git\true-edge>amplify add analytics
Using service: Pinpoint, provided by: awscloudformation
? Provide your pinpoint resource name: TrueEdgeTraining
Adding analytics would add the Auth category to the project if not already added.
? Apps need authorization to send analytics events.
Successfully added resource TrueEdgeTraining locally
Some next steps:
"amplify push" builds all of your local backend resources and provisions them in the cloud
"amplify publish" builds all your local backend and front-end resources (if you have hosting category added) and provisions them in the cloud
At this point a whole bunch of stuff has been removed from parameters.json in the auth directory as seen in the screen shot above previously.
I get back to a working system I do amplify remove analytics
Which unfortunately does not fix the files. I just have to restore from git to get back to a working system.

@apanagos could you please tell us what version of the CLI you were initially using to create the project? Or in the last comment you started with 3.2.0 and did not use an existing project?

I had used 3.0.0 initially when I saw the problem then upgraded to 3.2.0

Hi - I'm using v 3.11.0 and seeing the same behavior. After running amplify add analytics the same keys from @apanagos screenshot are removed from my parameters.json file and the push fails with the same error message. I can confirm that I had no other pending changes to the auth service or any other service. The only thing I did was add analytics.

Marking this pending-release as PR #2587 fixes this issue by removing the unnecessary params from the template as well

I'm having an error to add analytics on my project also:

I ran "amplify add analytics" ane then...

after run "amplify push" command:
Following resources failed
UPDATE_FAILED UserPool AWS::Cognito::UserPool Thu Oct 31 2019 18:38:33 GMT-0300 (Brasilia Standard Time) Invalid AttributeDataType input, consider using the provided AttributeDataType enum. (Service: AWSCognitoIdentityProvider; Status Code: 400; Error Code: InvalidParameterException; Request ID: edbef4b1-f997-4fa5-be99-848f15360061)
Resource Name: us-east-1_wo6PE2Dmb (AWS::Cognito::UserPool)
Event Type: update
Reason: Invalid AttributeDataType input, consider using the provided AttributeDataType enum. (Service: AWSCognitoIdentityProvider; Status Code: 400; Error Code: InvalidParameterException; Request ID: edbef4b1-f997-4fa5-be99-848f15360061)

If anyone gets to a stuck environment after trying to add analytics, I found via another issue you can back out to what the current environment has by running amplify env pull --restore
Also having this issue, same type of output as @wellmmer

When will this be released?

Closing as the fix was included the 3.16 release and onward.
Should you run into this issue again please comment below.


Clock speed

Hi,
I am having some weird problem with LED panels using the latest version, 3.0.3. All works fine with 2.0.7.
Some display shows garbage and some display shows some dots with different colors.

I have tested many different ways and finally I've found that the clock speeds at CLK pin are different. The clock speed of 3.0.3 version is 33MHz but 2.0.7 version is 10MHz. I assume 10MHz is the correct one.

I've even inserted the following code but the clock is 33MHz.
mxconfig.i2sspeed = HUB75_I2S_CFG::HZ_10M;
I am not sure whether the clock is adjustable but the clock speed seems to be the problem I am having.
Regards,
Peter

Clock speed is adjustable so should be 10mhz.
What esp32 variant are you using?

Clock speed is adjustable so should be 10mhz.
What esp32 variant are you using?

Can you try the latest git version of the library, and check these values versus what you see in the scope?
mxconfig.i2sspeed = HUB75_I2S_CFG::HZ_10M;

mxconfig.i2sspeed = HUB75_I2S_CFG::HZ_20M;

Yes the clock now works with HZ_10M and HZ_20M.
BTW..PlatformIO does not detect the latest version. It detects only v3.0.2.

Just to be sure HZ_10M gives a 10Mhz clock right?

Thanks again for making this library better.

Yes HZ_10M gives a 10Mhz clock and HZ_20M gives a 20Mhz clock as expected!

Thanks again for making this library better.


remove hardcoded charset #5044

Summary
When we set the environment variable nginx_http_charset, a message of duplicated entry is raised.
When this environment varibale is set, kongs set it on nginx.conf, but the charset is hardcoded on nginx_kong.conf.
With this approach, we are not abble to use a charset difrerent of UTF-8
The default value of nginx is off.
This behaviour broke applications who uses eg iso-8859-1 charsets.
Full changelog

Use the default nginx charset (default none)
Stop with issue when we set a environment variable to set charset.

Issues resolved
Fix #5044

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

Hello,
This change would be breaking as-is. We have plans to migrate all of such hard-coded directives into Kong configuration properties, in the form of default values for dynamically injected NGINX directives. See this commit for a concrete example.
Will you please introduce those new default dynamically-injected NGINX directives preserving backwards-compatibility (i.e. nginx_http_charset = UTF-8)? They can be specified in the appropriate kong.conf section. Along with some tests, of course. Thanks!

@vasartori :+1: yes, doing it like this https://github.com/Kong/kong/pull/4382/commits/adcf680982adc2c77d7b5c2afae2e6fa1990d8cf — is the way to go

@vasartori Ping? :) Are you interested in modifying this PR modeling after commit adcf680 so we can get it merged? Thanks!

@vasartori This PR has stayed open with no activity for a couple of months by now — we generally close PRs that stay stale for too long, so we're going to close it if there's no further activity happening here. In any case, you're always welcome to reopen it if you're willing to resume taking on this PR!


[Help]: Loss NaN occured while training VALL-E during the second stage (the NAR decoder)

Sorry to bother you. I've been working on training the VALL-E model from scratch using LibriTTS. I followed the scripts to prepare the training data. Due to hardware limitations (1 x RTX 4090), I used fp16 and set the batch_size to 1 to train the AR decoder for 20 epochs, with other configs remaining unchanged. The training/validation loss finally converged to about 2.79/3.06 after the last epoch, respectively. However, when I used the trained AR decoder from the last epoch to subsequently train the NAR decoder, the loss started normal, fluctuating between 15 and 5, but then turned to NaN during the last half of epoch 0. Can you help me to find out the problem? I am looking forward to your reply.

Hi, thanks for using our repo! Encountering NaN loss may indicate that you use too large learning rates, or your data contains some out-of-distribution samples that breaks the normal optimization. I would suggest you try to decrease the learning rate, and clipping the grad norm would also help (using torch.nn.utils.clip_grad_norm_, you could search for how to do this).
We have a new version of VALL-E training codes coming soon, which could provide better performance and faster convergence. Stay tuned and I hope you'll like that!

Hi @Ming-er, our new valle release is out, and in our experiments we haven't met the NaN loss issue. The clip_grad_norm has also been added to its trainer. If you have further questions you're welcome to reopen the issue. Thanks!


Release builds only work with opt-level = 0/1

Hello,
I am only able to get release builds to function if opt-level = 0 or opt-level = 1 is added to Cargo.toml. If it is not added there are no errors during building and a much smaller binary is produced, but nothing is displayed. I have tested this with my own project, and both the blinky and graphics examples. I have not tested on any I2C displays.

Thanks! :)
Edit: I was wrong to say nothing is displayed; every 4 or 5 resets sometimes the program works and stuff is displayed, but cutting power and resetting again results in no image. Debug binaries always work regardless of power loss and frequency of resets.
Second edit: I realise it is probably just the display's internal cache retaining data written with debug binaries

Hm, strange. What device and Rust version are you using? I haven't needed to add opt-level to my STM32F103 projects to get them to work which is odd. I'll dig out my SPI display if I find some time and try to repro. Do you have an I2C display you can test with?

Testes, no dice. I flash with opt-level=1 and it works, flash with opt-level=s and it doesn't

I'm always compiling with opt-level=s and never had such a problem.
I just tried an example of my nucleo-f042k6 crate and it worked just fine with opt-level=s.
@jamwaffles NB: We should release a new version to fix crates using ssd1306 as depedency.

I just tried cargo run --example blinky_i2c --release and got a panic in GDB (macOS, Rust 1.27.0 nightly 2018-05-15). --release implies opt-level=3 according to the defaults in the manifest. @chocol4te do you get the same thing?
Adding various opt-levels to [profile.release] in Cargo.toml is odd:

opt-level = 0 works
opt-level = 2 does not
opt-level = "s" works for me on a Blue Pill over I2C.

This is very odd. I'll get my SPI display out tomorrow and see if that crashes also.
@therealprof We should indeed. I'm going to look at bumping to the latest releases of most of the deps to keep up with the ecosystem.

So I just tried s, 2 and 3 here on my STM32F042 and they all work just fine.

The latest nightly breaks cortex-m-rtfm so I am now using nightly-2018-05-11.
I think I've found the issue. When stepping through line by line with the debugger it works. When I ignore breakpoints, or step very quickly, nothing gets written to screen. I'm guessing there's a delay that is getting optimised away somewhere, maybe needs a #[no_mangle]?

I don't know if this is the same issue, but I'm struggling to make it work on a Blue Pill board (regardless of debug level).
My code works fine on two f4xx boards (Nucleo F411RE and f407-based "black vet6" board).
But on a Blue Pill board, display either doesn't turn on at all, image is glitched, or rarely it's normal.
Maybe there's something wrong with my board, I'll try a different one next week.

As it turned out, I used PB13 as DC (data-command selector), but it didn't work for some reason. Logic analyzer showed "high" all the time. I switched to PA9, and now it works.
So, the driver works for me on Blue Pill on any optimization level (both default release and LTO-enabled). Didn't test true debug build because apparently it consumes too much stack and crashes (t's naive Game of Life implementation).

Closing as fixed 🙂