Filter for date ignore time

Currently the date filter works correctly and I was able to include jquery ui datepicker as well.
But I would like to filter using "equal" and then the filter should ignore time values and simply filter for the date selected.
How can I achieve this?

Search is your friend, don't be afraid to use it :)
Other than that, you can find suggestions on how to solve it here #97.

Thank you - I used the search but searched for the wrong words - nice
workaround.
On 21 April 2018 at 08:29, Muchiachio<EMAIL_ADDRESS>wrote:

Search
https://github.com/NonFactors/MVC6.Grid/search?q=date+ignore+time&type=Issues
is your friend, don't be afraid to use it :)
Other than that, you can find suggestions on how to solve it here #97
https://github.com/NonFactors/MVC6.Grid/issues/97.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NonFactors/MVC6.Grid/issues/134#issuecomment-383271714,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB1nUP6Sp0W7UeZK34M6H-FTXyJaCcr0ks5tqtHcgaJpZM4TeSha
.

--
Stephan Kitzler-Walli
Breiteneich 169
3580 Horn
Tel: 0660 4780213
Email<EMAIL_ADDRESS>


Fix/refactor

Pull Request Test Coverage Report for Build 1335

17 of 19 (89.47%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 87.949%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

managers/backup-manager/BackupService.js
5
7
71.43%

Totals

Change from base Build 1334:
0.08%

Covered Lines:
7327

Relevant Lines:
8060

💛  - Coveralls


az ml compute show is returning incorrect and more limited info than previously available (e.g. ssh connection info)

Extension name (the extension in question)
ml (v2)
Description of issue (in as much detail as possible)
There is no way to obtain ssh connectivity information once upgraded to cli v2 (verbose option is missing)
Re command:
az ml compute show -n <name>

This command incorrectly reflects if ssh/public ip is enabled for a computeinstance, and no longer offers the -v option that was available in az ml computetarget show (v1) to return the ip address and port connectivity info to connect to a compute instance.
information returned by v2
*** extension version: "ml": "2.0.1a5" ***
command:
az ml compute show -n myDS3 --verbose

Response:
{
  "admin_username": "azureuser",
  "applications": [
    {
      "display_name": "Jupyter",
      "endpoint_uri": "https://myds3.uksouth.instances.azureml.ms"
    },
    {
      "display_name": "Jupyter Lab",
      "endpoint_uri": "https://myds3.uksouth.instances.azureml.ms/lab"
    },
    {
      "display_name": "RStudio",
      "endpoint_uri": "https://myds3-8787.uksouth.instances.azureml.ms"
    }
  ],
  "enable_public_ip": false,                                                            ## <- INCORRECT
  "id": "/subscriptions/cf48479b-e351-4599-8588-4867340afcce/resourceGroups/<rg>/providers/Microsoft.MachineLearningServices/workspaces/<ws>/computes/myDS3",
  "last_operation": {
    "operation_name": "Create",
    "operation_status": "Succeeded",
    "operation_time": "2021-08-19T15:47:01.251Z"
  },
  "location": "uksouth",
  "name": "myDS3",
  "provisioning_state": "Succeeded",
  "resourceGroup": "<ws>",
  "size": "STANDARD_DS3_V2",
  "ssh_public_access": "False",                                                      ## <- INCORRECT
  "state": "Running",
  "tags": {},
  "type": "computeinstance"
}

information returned by v1 for comparison
*** version azure-cli-ml 1.33.0***
command:
az ml computetarget show -g <rg> -w <ws> -n myDS3 -v

Response:
{
  "id": "/subscriptions/cf48479b-e351-4599-8588-4867340afcce/resourceGroups/<rg>/providers/Microsoft.MachineLearningServices/workspaces/<ws>/computes/myDS3",
  "location": "uksouth",
  "name": "myDS3",
  "properties": {
    "computeLocation": "uksouth",
    "computeType": "ComputeInstance",
    "description": null,
    "properties": {
      "applications": [
        {
          "displayName": "Jupyter",
          "endpointUri": "https://myds3.uksouth.instances.azureml.ms"
        },
        {
          "displayName": "Jupyter Lab",
          "endpointUri": "https://myds3.uksouth.instances.azureml.ms/lab"
        },
        {
          "displayName": "RStudio",
          "endpointUri": "https://myds3-8787.uksouth.instances.azureml.ms"
        }
      ],
      "connectivityEndpoints": {
        "privateIpAddress": "<IP_ADDRESS>",
        "publicIpAddress": "<IP_ADDRESS>"
      },
      "errors": [],
      "personalComputeInstanceSettings": null,
      "sshSettings": {
        "adminPublicKey": "<ssh-key>",
        "adminUserName": "azureuser",
        "sshPort": 50000,
        "sshPublicAccess": "Enabled"
      },
      "subnet": {
        "id": null
      },
      "vmSize": "STANDARD_DS3_V2"
    },
    "provisioningErrors": null,
    "provisioningState": "Succeeded",
    "resourceId": null,
    "status": {
      "createdBy": {
        "userName": "User Name",
        "userObjectId": "***8a96",
        "userTenantId": "***db47"
      },
      "creationTime": "2021-08-19T15:46:55.328165+00:00",
      "errors": [],
      "modifiedTime": "2021-08-19T15:48:56.764333+00:00",
      "state": "Running",
      "vmSize": "STANDARD_DS3_V2"
    }
  },
  "resourceGroup": "<rg>",
  "tags": {}
}

Question:
How do I get the sshSettings and connectivityEndpoints objects from the command line once upgraded to ml v2 please?

route to service team


UnhandledPromiseRejectionWarning

[1/3] 🔎 Fetching data from AWS... (node:52080) UnhandledPromiseRejectionWarning: BadRequestException: Unsupported operation.     at deserializeAws_restJson1ListSchemasCommandError (C:\git\eventbridge-atlas\node_modules\@aws-sdk\client-schemas\protocols\Aws_restJson1.ts:3048:39)     at processTicksAndRejections (internal/process/task_queues.js:97:5)     at C:\git\eventbridge-atlas\node_modules\@aws-sdk\middleware-serde\src\deserializerMiddleware.ts:18:20     at C:\git\eventbridge-atlas\node_modules\@aws-sdk\middleware-signing\src\middleware.ts:26:22     at StandardRetryStrategy.retry (C:\git\eventbridge-atlas\node_modules\@aws-sdk\middleware-retry\src\StandardRetryStrategy.ts:83:38)     at C:\git\eventbridge-atlas\node_modules\@aws-sdk\middleware-logger\src\loggerMiddleware.ts:22:22 (node:52080) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 17) (node:52080) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I am not exactly sure what this error is at this point but my HUNCH is that its probably puking at in internal Private CA.... and the chain possibly not matching....

Actually I think is a non-issue.  I was trying to do discovery on an auto-discovered schema and that is when I was getting this error.

Hey @stephenbawks
Cool, did you manage to get it working OK?

Going to close the issue, unless you can replicate it feel free to reopen :)


Final draft of Cert-Manager review.

This should be ready to go.
Requested in #675
@aliok @geekygirldawn Ed, please review.

This is a highly thorough and comprehensive overview of the project governance. Thank you for reading this @jberkus 👏

Looks good. Well done

With those approvals, merging the report.


Text-Align=center" messes up the image orientation

Thanks a lot for this great module :)
Problem
When the components gets exposed to css text-align: center, the alignment of the uploaded image is wrong.

  <VImageInput
    v-model="imageData"
  ></VImageInput>

Workaround
Can be manually fixed by adding a text-left class or text-align: start style.

  <VImageInput
    v-model="imageData"
    class="text-left"
  ></VImageInput>

I guess this could be easily fixed within the module itself, too.

Thank you.! man you saved me.

Very nice catch :)

I think the Vuerity image input should by default be a block element means you can stuff it into flex box container without an issue. It should render itself in unopinated manner and not inherit any properties from the parent elements as some folks on this thread mentioned as potential workarounds.

Should be fixed now.


RSPY-531- Add Catalog obs environment variable to be configurable

Add bucket as environment variable on staging deployment.

I'll add it in the tag 0.2a7 because this is a nice feature :)


Update to Latest Version of Signing Task

Update to latest version of signing task, which supports newer versions of .NET, negating the need to use older versions of .NET Core solely for signing purposes.

These should be ready now? (after resolving the merge conflicts)


Resnet training procedure

@hszhao, Did you train ResNet models on Imagenet dataset with dilated convolutions or use the kernels of original resnet model in PSPNet as dilated kernels?
I have used your pretrained resnet weights for initialising PSPNet and it's achieving published accuracy on validation dataset. I have trained Resnet model with changed architecture (3 kernels of (3,3) shape instead of 1 (7,7) kernel) without dilated convolutions and used it for training PSPNet, but there is a lot of deviation in accuracy. Could you please let me know the training protocol of Resnet models.

Hi, I trained ResNet models with all dilation set to 1, so no dilated convolutions are used when training classification models. What is your classification model's accuracy? Have you loaded the right weights when training the segmentation model?


QuickInput - input box not aligned with the selection

The element with the quick-input-inline-action-bar class should only be visible if there are actions.

Dupe https://github.com/microsoft/vscode/issues/233699


Support for Options API

Hi @Akryum , the beta of Vuetify 3 has been released and I'd love to upgrade my Meteor+Vue 2 projects to the version 3, so, in order to avoid a big refactor, I was wondering if there are plans to add support for the Options API?

Yes


Laravel 11.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 11.x.
Before merging, you need to:

Checkout the l11-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^10.5. If you would like to also upgrade your tests, you may run the PHPUnit 10 Shift for free.

:warning: Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 11. However, you should review these changes to ensure the desired combination of versions are built for your package.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/livewire-editorjs.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "maxeckel/livewire-editorjs": "dev-l11-compatibility",
    }
}

Finally, run: composer update


Upgrade ModelMesh to v0.11

Goal 1: Upgrade ModelMesh serving in ODH and RHODS to upstream's v0.11
Goal 2: Resolve the clashing of ModelMesh and KServe CRDs --> if not resolved by Goal 1 automatically, a separate issue should follow up.
Subtasks

[x] Sync modelmesh repository(main branch) with upstream/main
[x] Sync modelmesh-runtime-adapter repository(main branch) with upstream/main
[x] Sync rest-proxy repository (main branch) with upstream/main
[x] #175
[x] #172
[x] Create a new release branch from updated main branch
[x] #173
[ ] Update odh-manifest (fast image)

[x] #181  odh-manifests update in modelmesh-serving (to be later copied over separately to the correct branch in odh-manifests)

[x] Create modelmesh-serving PR to test OpenShift CI

[x] https://github.com/openshift/release/pull/43219
[x] https://github.com/openshift/release/pull/43096

[ ] Update Dockerfile.develop.ci/go.sum.develop/go.mod.develop repository for openshift-ci
[ ] Update AutoMerger mapping for the created release branch

To do list from @VedantMahabaleshwarkar

[ ] Controller gen manifests will be in odh/modelmesh-serving/config/

[ ] main manifests dir is odh/modelmesh-serving/opendatahub/odh-manifests. So copy generated manifests from prev step into this directory
[ ] verify quickstart scripts work with new manifests

template : https://github.com/opendatahub-io/modelmesh-serving/issues/122

@vaibhavjainwiz @heyselbi @VedantMahabaleshwarkar  we only have 1 week for this task and I hope that it should be finished by end of the Tuesday. Then we can test it with an amount of time.

FVT CI tests are failing. The pods are crashlooping, unsure why yet. I am missing access to openshift org - requested it today. Vedant is currently trying to look into it without access to the CI cluster.

Update from JooHo:

modelmesh serving images were built for fast/stable(v0.11.0)
modelmesh/modelmesh-runtime-adapter/rest-proxy failed fvt because it used a wrong modelmesh-serving-develop (This openshift ci pr will solve this issue)
I expect other images will be done by 1pm today.

Follow up: transition to RHODS: https://github.com/opendatahub-io/modelmesh-serving/issues/228


Azure: azure.mgmt.monitor python SDK, generates inconsistent OpreationName localized_value

Issue: Python SDK "azure.mgmt.monitor" generates inconsistant opreationName localizedValue.
Expection: Python SDK "azure.mgmt.monitor" should generate consistent localized_value
Steps to reproduce the issue:

Scenario A: Activity log of unattached disk deleted on - 2022-05-03

                    old_90 = today - datetime.timedelta(days=int(90))
                    id = rsourceid
                    fl = ("eventTimestamp ge '{}' and eventTimestamp le '{}' and resourceGroupName eq '{}' and resourceId eq '{}' and resourceType eq 'Microsoft.Compute/disks' and status eq 'Accepted'".format(old_90,today,resource_grp_name,id))
                    activities = client.activity_logs.list(filter=fl, select=None)
                    for lg in activities:
                        print(lg.operation_name)

Output:
{'additional_properties': {}, 'value': 'Microsoft.Compute/disks/delete', 'localized_value': 'Microsoft.Compute/disks/delete'}

Scenario B:  Activity log of unattached disk deleted on - 2022-05-13
Same code used as above.
Output:

{'additional_properties': {}, 'value': 'Microsoft.Compute/disks/delete', 'localized_value': 'Delete Disk'}

Scenario A provides an incorrect 'localized_value', and in scenario B we got the correct localized_value.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Compute:0.09395385,Storage:0.08561296,Service Bus:0.058888473'

Hi, @preetesh33
The sdk is generated by swagger, however, the sdk receives the result returned from the service, so the sdk cannot modify the result.
It is recommended to go to service to file your issue.
fyi: https://github.com/Azure/azure-rest-api-specs/issues

@Wzb123456789 Raised below issue:
https://github.com/Azure/azure-rest-api-specs/issues/19267

@preetesh33 ,Thank you for your feedback.
If you have any questions, please communicate with me in time.

I have involved the Service team on the issue https://github.com/Azure/azure-rest-api-specs/issues/19267. Archiving this thread as duplicate.


Bump minimum to <IP_ADDRESS> for CVE-2022-21831

We already allowed <IP_ADDRESS> but this sets this as the minimum version.


Disable flaky timer_test on windows

Workaround for https://github.com/grpc/grpc/issues/20436 that has had high flakiness rate on windows opt build for a while.

@guantaol  I'm not too happy about this resolution, but we can't have the test failing forever.

I confirmed that with this patch the timer_test passes reliably.


Provide utility for getting non-floating point numbers.

At least an as_u64() method would help to avoid the current state where I often need to *parsed as u64 after getting a number.
Serde provides convenience i/u64 and f64 getters.
Serde's implementation of these getters, in case it helps: https://github.com/serde-rs/json/blob/master/json/src/value.rs#L280-L309.

@Mark-Simulacrum I was thinking about implementing reverse Into, e.g.:
let json_num: JsonValue = 10.into(); // this works already
let raw_num: i32 = json_num.into();

Problem here is that into() can't fail, so I'd have to default to zero. It could be done with Option<_> instead, but that might feel clunky. Thoughts?

I wanted to suggest using Into trait, but forgot it takes an owned value. I might do a generic method that can cast to any type though, something like:
let number: i32 = json.value();

The problem here is that I'd have to default numbers to 0, inferencing Result or Option might feel clunky without dedicated methods.

It may be worth pointing out that Serde returns owned numbers AFAICT, not references to them--this may solve the Into trait problem, but I'm not sure if they copy/clone the number before returning.

Returning owned numbers isn't a problem since they are copy. The problem is rather that doing value.into() consumes value, and it makes it unusable if you only have a reference to value (so things like data["foo"].into() won't work).


Azure pipeline action added

Action added to Queue build in AzureDevops for a given org, project and BD name.

Shouldn't the script fail if the required values aren't provided?


Knopflerfish Maven Repo is not available for the latest release

http://www.knopflerfish.org/maven2/ and particularly
http://www.knopflerfish.org/releases/6.0.0/maven2/org/knopflerfish/framework/
return status 404

Hi,
you can find all artifacts at:
http://www.knopflerfish.org/releases/6.0.0/maven2/org/knopflerfish/KF-6.0.0_dependencyManagement.xml
This link should be more clearly advertised.
Unfortunately directory listing is not supported on git hub pages. This is why you get the 404 error code.
Regards,
Christer

The actual reason for the issue is that the following configuration did not work:
configure(subprojects.findAll {it.name =~ /plugin/ || it.name =~ /^freeplane$/ || it.name =~ /^freeplane_framework$/}){
    repositories {
        maven {
            url 'http://www.knopflerfish.org/maven2/'
        }
    }

    dependencies {
        compile group: 'org.knopflerfish', name:'framework', version: '8.0.0'
    }
}

At the moment you'll have to set it to:
'http://www.knopflerfish.org/releases/6.0.0/maven2/'

Finally I have set it to 'https://dl.bintray.com/knopflerfish/knopflerfish-maven/' and it seems to work

any reason to avoid maven central for the artifacts?

I think it is not available there yet. http://search.maven.org/#search|ga|1|knopflerfish returns no result-

are there any plans to publish artifacts to maven central?

Yes there are. A problem or issue we are facing with maven is that we only change bundle versions when the actual source code is changed. In Knopflerfish we use a source code version first approach, where a KF distribution can be compiled for different JDK versions. So for a bundle that hasn't changed between KF4, KF5 and KF6 the bundle version is the same, but potentially compiled for different JDK versions. This is not a problem for the self-contained Knopflerfish distributions, but does not play well with one centralized maven repository.
We are looking into different solutions:

Use different group id's for every main release of Knopflerfish
Add the KF main release to the artifact id, e.g. framework-kf6-8.0.0
Use a version qualifier to mark the main version of KF
Use a maven classifier

Feedback on which solution would be best is most welcome!

From my point the issue is closed. I am satisfied with the bintray repository.

All Maven central discussions moved to #9


Update durable-functions-timers.md

Replaced an @ with a $ for declaring a TimeSpan variable called duration in the first PowerShell example. This should fix #117090 as I don't believe PowerShell allows declaring a variable using the @ symbol.

Trying a close/reopen to unstick the build.

@ggailey777
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Closing this pull request as it was fixed in #253642


Docs/faucet organism story

This PR adds a story for the Faucet organism

Codecov Report

Merging #394 (64fc3f6) into main (32a4621) will increase coverage by 1.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #394      +/-   ##
==========================================
+ Coverage   96.70%   97.90%   +1.19%
==========================================
  Files          61       61
  Lines         667      667
  Branches      106      106
==========================================
+ Hits          645      653       +8
+ Misses         21       12       -9
- Partials        1        2       +1

Impacted Files
Coverage Δ

src/utils.ts
92.30% <0.00%> (+61.53%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

:tada: This PR is included in version 1.10.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Repo Status

I just received notice that one of the issues we opened back in 2019 updated as closed, but as far as I can tell nothing is being updated here code-wise. Is this project dead?

It was closed by the issue OP, not grapeshot. This is updated and posted on
their cdn. See release notes for the links.
On Tue, Nov 28, 2023, 10:44 Paul McDowell @.***> wrote:

I just received notice that one of the issues we opened back in 2019
updated as closed, but as far as I can tell nothing is being updated here
code-wise. Is this project dead?
—
Reply to this email directly, view it on GitHub
https://github.com/GrapeshotGames/ServerGridEditor/issues/95, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVITW2VJLCR3RV2KWGWMXLYGYIFJAVCNFSM6AAAAAA76CDWHCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTIOBWGI4TCMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It was closed by the issue OP, not grapeshot. This is updated and posted on their cdn. See release notes for the links.
…
On Tue, Nov 28, 2023, 10:44 Paul McDowell @.> wrote: I just received notice that one of the issues we opened back in 2019 updated as closed, but as far as I can tell nothing is being updated here code-wise. Is this project dead? — Reply to this email directly, view it on GitHub <#95>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVITW2VJLCR3RV2KWGWMXLYGYIFJAVCNFSM6AAAAAA76CDWHCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTIOBWGI4TCMQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

Yes, I understand that it was closed by OP. That's not my question - I asked if the project is dead.


New locations should be added to Aerial

Apple has added 21 more video/locations to Apple TV.
Locations of new video sources here:
http://www.idownloadblog.com/2016/12/16/apple-tvs-gorgeous-aerial-screen-saver-gains-21-new-videos-watch-them-all-right-here/

John designed the screen saver to automatically pick them up. Are they not appearing for you?

Wow! Did not realize. Yes, I can confirm that the new locations get picked up automatically. Thanks!

@dzenbot So that hopefully people see it and stop opening new issues. :)

This seems to have quietened down so closing now. Fingers crossed. :)


Flexible LSTM Architectures.

See #137 for details. Also fixes #90.
Please do not merge yet. I just opened this to get feedback and use the CI.

I hope this fixes it.

@erniejunior the build crashes because of bad indent introduced in this commit https://github.com/hill-a/stable-baselines/pull/139/commits/9014d959099b99a3fa69cbf2a37fdef2b5e74eb2
(was my fault, editing it online did not help having the right indentation)


Is 2.4.0 binary compatible with 2.3.x stream?

(I've failed to find a mailing list where I could ask the question. Please, feel free to close this ticket and redirect me to it if one exists.)
Hi,
I'm wondering if the 2.4.0 release is binary compatible with 2.3.x. And, more in general, if you follow semantic versioning.
Thanks!

Ah, actually, it looks like I already have an answer, as I'm seeing the following problem after upgrading to 2.4.0
java.lang.NoSuchMethodError: com.zaxxer.hikari.HikariConfig.setReadOnly(Z)V

Therefore, 2.4.0 is definitely not binary compatible with 2.3.x.
Still, I'm interested to know if patch releases are guaranteed (or not) to be binary compatible.

My bad. I just noticed that the project where I tried to bump the HikariCP version uses a module that depends on HikariCP-java6. Hence, the linkage error I reported above is not surprising.
Hence, my initial question about semantic versioning still stands. Thanks again, and sorry for the noise.

I got the same error when I tried to update to HikariCP 2.4 in a Play 2.4 project.

@johdah What db module where you using? play-jdbc? play-slick?
If it was play-slick, then that's expected, since the exception in my above comment happened after bumping the version of hikaricp in play-slick.

@dotta I use play-jdbc.

@johdah Thanks for the info. Then, since play-jdbc uses the hikaricp jar for java8, it seems that 2.4.0 is not binary compatible with the 2.3.x stream.

@dotta To clarify for myself, you are talking about HikariCP-2.3 and 2.4 right? It's a little bit hard to follow sometimes since the same version numbers is used when talking about Play :confused:
I don't really need Hikari-2.4 since I think my problems are in Play so I guess I am fine with being stuck on 2.3.x until the Play team upgrades.

@johdah Yes, I meant HikariCP-2.4.0 seems not to be binary compatible with HikariCP-2.3.x stream. Sorry for the confusion.
Also, I'm really sorry for the noise I'm generating in this ticket. Discussing this in a mailing list would be much better. Hopefully the HikariCP team will forgive me.

@dotta @johdah HikariCP 2.4.0 should be binary compatible with 2.3.x, unless deprecated APIs were being used.  API's that were removed between 2.3.x and 2.4.0 are:
HikariConfig.get/setConnectionCustomizerClassName()
HikariConfig.get/setConnectionCustomizer()

Other than those removed methods, there should be no API incompatabilties.
Of course, the other change between 2.3.x and 2.4.0 that you noted is that Java 6 is no longer supported in the 2.4.0 release stream.
We do not currently follow semantic versioning, because the API has been too unstable and we would be on version 50.11.0 by now.  We generally follow the pattern of leaving @deprecated methods in the API for 6 months or so (however many releases that is).  We're getting to the point where it might make sense to start semantic versioning, but I'm not willing to commit to it in writing.

The standard for Scala nowadays is to keep everything with the same epoch + major binary compatible. That's what we use for Play and Slick, for example. A similar scheme (enforced by running a tool like MiMa as part of the CI builds) would be useful for HikariCP so that users can rely on these semantics but you;re still free to change the API relatively frequently.
BTW, what constitutes the API? I assume it's HikarciConfig and HikariDataSource. Anything else?

@brettwooldridge First, thanks for the link to the mailing list, and sorry for missing it. Let me know if you want me to move the discussion there.
I just run the japi-compliance-checker (a tool for checking both binary and source incompatibilities across two version of the same library) to compare HikariCP-java6 v2.3.8 and v2.3.9, and it reported a few binary incompatibilities (here is a handy link to the report) - it says the two jars are ~37% incompatible.
Based on what you are saying, until semantic versioning (or any alternative versioning policy) is adopted, there are no binary compatibility guarantees across releases.

@szeiger current public API is HikariConfig, HikariDataSource, HikariConfigMXBean and HikariPoolMXBean.  And at some point MetricsTrackerFactory and MetricsTracker, once they've stabilized and we publicly document their use.

@dotta Thanks for the report, I'll looking to that tool.  It does need to be restricted to the "public" (e.g. documented API) of the clases above.


refactor:  Using Golang to create kube proxy and core dns

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

releate to https://github.com/kosmos-io/kosmos/pull/579 and  https://github.com/kosmos-io/kosmos/pull/594


Store metadata for files that have been split

Background
Split from:

https://github.com/gchq/sleeper/issues/1365

Description
Given the following scenario:

A file in the root partition is ingested
Metadata for that file is created
A split is initiated

New partitions (partitionA and partitionB) are created from a splitpoint in the root partition
Metadata referencing the source file is created in partitionA and partitionB
The metadata for the source file is deleted against the root partition

When the file is split into 2 separate metadata records, one for each partition, for each record we would like to store:

The estimated number of records in that partition for the file
The fact that the metadata entry does not cover all the records in the file
The fact that the number of records is an estimate

This scenario is not the only way that a file could be split into multiple metadata records. For example, when a file is ingested it may be immediately split into a separate metadata record for each leaf partition before it is stored. It should be easy for such an ingest process to set the metadata correctly. It should be possible for that process to estimate the records per partition, or provide an exact count while still splitting the metadata.
Analysis
Add a boolean flag to the FileInfo object which records whether the count of the number of records is correct or approximate, call this is-count-approximate. Here this count is referring to the number of records in the file that are in that partition. This should default to true.
Add a boolean flag to the FileInfo object which records whether the file only contains data for that partition, call this only-contains-data-for-this-partition.
We have another issue to report on metadata for files that have been split into multiple entries, which will need to be done after this issue:

https://github.com/gchq/sleeper/issues/1555

Completed by https://github.com/gchq/sleeper/pull/1588.


Use ReflectionProvider instead of Broker

Thank you.

uff.. sorry about that. interessting that this did not fail any unit test and phpstan also did not catch any error..


Minimal api typedresults sample

~Made a new pull request here https://github.com/dotnet/AspNetCore.Docs/pull/26437~
Fixes #26370

commit

I mistakenly didn't do the add-to batch ... would ensure I use that next time

@Rick-Anderson please which extension do you use for linting purposes for C#

@Rick-Anderson please which extension do you use for linting purposes for C#

Just what Visual Studio warns. @guardrex  do you use a linter?

Moved to #26463

@Rick-Anderson please which extension do you use for linting purposes for C#

Just what Visual Studio warns. @guardrex do you use a linter?

Ooh alright


fix: handle marketing deeplinks on typescript side

This PR resolves []
Description

Follow-up to https://github.com/artsy/eigen/pull/7705
Fixes a bug where marketing deeplinks would open safari if app was in a killed state.
So it turns out that our deeplinks are being handled by both typescript and native code.
In my testing when the app is killed the deeplink code here gets fired and calls navigate:
https://github.com/artsy/eigen/blob/f462ca578be55a3e83c946941d5e118c0b80169a/src/app/utils/useDeepLinks.ts#L17
And when the app is in the background it is handled here and calls navigate:
https://github.com/artsy/eigen/blob/f462ca578be55a3e83c946941d5e118c0b80169a/ios/Artsy/App/ARAppActivityContinuationDelegate.m#L49
I am guessing we can move this all to typescript and it is probably the reason we get double navigation on deeplinks from time to time and need the weird ignoreDebounce code in our navigation.
But for now just handling the marketing links on the typescript side as well and following redirects.
PR Checklist

[ ] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.
[ ] I have prefixed changes that need to be tested during a release QA with [NEEDS EXTERNAL QA] on the changelog.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Did you try rebasing to fix the build error? that helped yesterday fix the same issue on one of Kizito's PRs

LGTM, the only suggestion I have is to maybe add a test to avoid the same regression in the future

yeah good call!


Cannot add TV to Home app, but is working fine in Homebridge web UI

I am unable to add 2019 B9 TV to the iOS home app. However, the plugin works as expected using the homebridge-config-ui-x web-ui.
I know I have to manually add my TV to the Home app. When I do this, two instances of the TV show up: both the native HomeKit integration (LG webOS TV) and this plugin (LG TV) as defined in my config.json. However, selecting the plugin's TV results in an "unable to add accessory" message after trying for a while.
I have tried resetting homebridge, deleting the persist and accessories folders, and then adding back every accessory manually, but the TV still doesn't work.
As the web-ui does work, I have no idea what I can try next. I think my config.json is correct, otherwise the web-ui should give issues, but it doesn't. Why does it work in web-ui but not on iOS? Any suggestions?
Running Homebridge v1.1.6 and homebridge-webos-tv v2.0.5, TV is 2019 B9 model.

Hmmm strange.
Did you try to disable the tv HomeKit integration, also do you have any errors in the homebridge debug log when adding the tv?

I cannot seem to find how to disable the native LG integration. There's no errors on my homebridge log: https://pastebin.com/ut1TP1Xq

From the log point of view everything looks ok with the plugin. Seems that you have some issues with your home app. Maybe some kind of cache issue? Try to clear the homebridge cache, also make sure that you are using the correct code when pairing, eventually try to rename the tv.

Did all the things you mentioned already: changed TV name, cleared cache by removing the persist and accessories folder, changed username, but still no bueno, unfortunately

Then you have some issues with your homebridge installation or your Home in HomeKit. You need to investigate it and find the cause.
It seems like your issue is not really related to this plugin.

That's the thing, that's what I would think, but I have one other plugin for my thermostat, and everything works as expected there. Also, web-ui is working as it should, just not on the iPhone side

Yes, that is the point why I think that the issue is related to a local problem on your side, since the Webui is working.
People usually try to delete the home from they HomeKit or reinstall homebridge not sure what other stuff I can recommend.

Fixed it: I had to add a rule to ufw in order to allow Homebridge to let devices connect to this plugin. Not sure why, but I also had to specifically add ports 8581 and the HB assigned port via the sudo ufw allow <port number> command. For anyone who also has this problem: during startup of Homebridge, in /var/lib/homebridge/homebridge.log, this plugin announces the port that is used to communicate. For me, this was just before the homebridge connect code is shown in the log file. Allow this port in UFW to fix this problem.

Fixed it: I had to add a rule to ufw in order to allow Homebridge to let devices connect to this plugin. Not sure why, but I also had to specifically add ports 8581 and the HB assigned port via the sudo ufw allow  command. For anyone who also has this problem: during startup of Homebridge, in /var/lib/homebridge/homebridge.log, this plugin announces the port that is used to communicate. For me, this was just before the homebridge connect code is shown in the log file. Allow this port in UFW to fix this problem.

Good to hear that its fixed! Thanks for the info!


Export HTML using inline styles instead of the quill classes

When I try to check the html output in the console window for the CodePen example by putting the console.log statement inside the HandleChange event I see something like this

dfsdsfdfdsd

Here the component is added the quill classes to the output but instead it should put the styles inline so we could use it for email templates e.t.c
Is there any way to embed the styles inside the output html?

You can configure the underlying Quill instance like this:

https://github.com/zenoamaro/react-quill#custom-formats
https://quilljs.com/playground/#class-vs-inline-style

this issue isn't solved. Why I need to reconfigure a tonns of configs to enable simple feature. Anywhere, who wants to render classes from text editor? Nobody! Of cource, I just want to give users ability to write some text, save and output it from DB. Without any bullshit with css requests

If we start messing with the editor instance behind the scene it may be difficult to override those changes later.
In general this library has tried not to expose Quill configuration except where a prop cleanly matches with a static option. The editor reference is the recommended way to access the Quill imperative APIs directly.
We could try to come up with a prop like "inlineStyles": true, but due to the concerns above I'd suggest you first propose an upstream API in Quill that switches between inline styles and classes.

+1

The same problem

All of the solutions do not work, typescript is even worse. I had no solution than to manually manipulate editor HTMLElement.
prepareIndent(editor: HTMLElement) {
            const indents: NodeList = editor.querySelectorAll('[class^=ql-indent-]');
            for (let i = 0; i < indents.length; i++) {
                const node: HTMLElement = indents[i] as HTMLElement;
                const indentClass = node.classList.toString().split(' ').filter(c => c.startsWith('ql-indent-'))[0];
                let tab = 0;
                const destructClass = indentClass.split('-');
                if (destructClass) {
                    const indentIndex = destructClass.pop();
                    if (indentIndex) {
                        tab = Number(indentIndex);
                    }
                }
                const indentValue = 3 * tab;
                node.style.paddingLeft = indentValue + 'em';
            }
        }


Convert express server to typescript

Contrary to our other efforts, I just realized we can switch the server to typescript in a more iterative process.
Move backend/ to backend/src/, create a tsconfig.json with out dir set to backend/dist. Then we can go file by file converting!

This worked out really well and didn't take much time at all! Completed in https://stash.corp.netflix.com/projects/DSEPLAT/repos/commuter-nflx/pull-requests/69/overview
:D

Done!


[YouTube] A way to list/download all latest shorts from https://www.youtube.com/feed/subscriptions

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a site-specific feature
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Example URLs
https://www.youtube.com/feed/subscriptions
Provide a description that is worded well enough to be understood
G:\0Prog\yt-dlp\yt-dlp.exe --flat-playlist --lazy-playlist --dump-json --cookies-from-browser opera https://www.youtube.com/feed/subscriptions

This lists only the regular videos and live streams, but not shorts.
It's probably because YouTube has changed the subscriptions page recently, so now shorts are displayed in a separate group, after 12 other, normal videos.
It would probably be simplest to add an option to separately download the latest shorts from all subscriptions.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
> yt-dlp.exe --flat-playlist --lazy-playlist --dump-json --cookies-from-browser opera -I :10 -vU https://www.youtube.com/feed/subscriptions

[debug] Command-line config: ['--flat-playlist', '--lazy-playlist', '--dump-json', '--cookies-from-browser', 'opera', '-I', ':10', '-vU', 'https://www.youtube.com/feed/subscriptions']
Extracting cookies from opera
[debug] Extracting cookies from: "C:\Users\<User>\AppData\Roaming\Opera Software\Opera Stable\Network\Cookies"
[debug] Found local state file at "C:\Users\<User>\AppData\Roaming\Opera Software\Opera Stable\Local State"
Extracted 3203 cookies from opera
[debug] cookie version breakdown: {'v10': 3203, 'other': 0, 'unencrypted': 0}
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[550e65410] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2023-02-22-git-d5cc7acff1-full_build-www.gyan.dev (setts), ffprobe 2023-02-22-git-d5cc7acff1-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.07.22, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1857 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 2f00774beee83182b47fd2965a8f30780f9832b7cdf18286f0652fcf926334c7
yt-dlp is up to date<EMAIL_ADDRESS>[youtube:tab] Extracting URL: https://www.youtube.com/feed/subscriptions
[youtube:tab] subscriptions: Downloading webpage
[download] Downloading playlist: subscriptions
[youtube:tab] Playlist subscriptions: Downloading N/A items
[debug] The information of all playlist entries will be held in memory
[download] Downloading item 1 of N/A
...

(then there are lines of JSON for every video)

YouTube still seems to be testing this and it's not fully complete.
The URL for shorts subscriptions is https://www.youtube.com/feed/subscriptions/shorts however when requested directly it leads to a blank page. Once YouTube implements that it should work.
(https://www.youtube.com/feed/subscriptions_shorts is also the same as above for later reference)

Confirmed
❯ yt-dlp.cmd --cookies-from-browser vivaldi https://www.youtube.com/feed/subscriptions_shorts --extractor-args youtubetab:skip=webpage,authcheck --lazy
Extracting cookies from vivaldi
Extracted 3241 cookies from vivaldi
[youtube:tab] Extracting URL: https://www.youtube.com/feed/subscriptions_shorts
WARNING: [youtube:tab] Playlists that require authentication may not extract correctly without a successful webpage download
[youtube:tab] subscriptions_shorts: Downloading API parameters API JSON
[youtube:tab] subscriptions_shorts: Downloading API JSON
[download] Downloading playlist: subscriptions_shorts
[youtube:tab] Playlist subscriptions_shorts: Downloading N/A items
[download] Downloading item 1 of N/A

@coletdjnz Do you think we should detect this URL and enable webpage skip automatically? Or just wait for youtube to finalize?

@coletdjnz Do you think we should detect this URL and enable webpage skip automatically? Or just wait for youtube to finalize?

I would wait for now, since it's very new it will probably be fixed soon.

Why was this closed? Does this work now without extractor-args?

My bad, misinterpreted the end of the discussion

This has been solved on YT's side and no longer need extractor args


feat(server): Port encode_headers trace_span

Close #2742 (at least in terms of settling on a general approach)
TLDR;
podman run -p6831:6831/udp -p6832:6832/udp -p16686:16686 jaegertracing/all-in-one:latest
cargo run --features="full traceable tracing/max_level_trace" --example echo_traceable

In a separate console:
curl localhost:3000/echo -XPOST -d 'hello world'
curl localhost:3000/echo -XPOST -d 'hello world 10'
curl localhost:3000/echo -XPOST -d 'hello world 100'
firefox http://localhost:16686

Port encode_headers from trace_span!(...) to #[instrument(...)] attribute.
There are currently only two tracing spans in Hyper:

parse_headers
encode_headers

The current spans cannot be compiled out.
These changes allow tracing spans and events to be included/excluded
at compile time.
The tracing span is created using the tracing #[instrument(...)] attribute.
The tracing instrument attribute is generated by a proc-macro-attribute,
#[server_send(...)] (named per the finagle standard annotations), provided by the proc-macro crate tracing-attributes-http.
The tracing span field names adopt the OpenTelemetry HTTP semantic conventions. Behaviors that rely on the OpenTelemetry crate are optional, behind the flag otel.
Otherwise, the proc-macro crate is generic.

Recording here some objections voiced on Discord:

OpenTelemetry crate dependency:  This arises dues to some OTel helper functions being used.  It would be possible to refactor such that the OpenTelemetry crate dependency is eliminated.
The use of the otel.* namespace in fields/tags:  Somewhat related to the above.  These too can be eliminated by removing the tracing span fields:

otel.name
otel.kind
otel.status_code
otel.status_message
otel.library.name

OpenTelemetry crate dependency:  ....
The use of the otel.* namespace in fields/tags:  ...

These will be opt-in via a feature: otel that is off by default.

I really appreciate you caring about this topic. Figuring out tracing in hyper is indeed a goal for this year. However, I think this is not the direction we ultimately want to go. For instance:

hyper shouldn't adopt OpenTelemetry directly. There are other standards that people may wish to use instead. We also don't want to tie the stability of hyper 1.0 with OpenTelemetry. That is to say, if they release a new standard, we shouldn't have to force hyper to 2.0 just to upgrade the spans/events.

Instead, we should determine the bare minimum spans/events that must be in hyper, so that another layer outside of hyper can translate them into whatever format they want. Some hypothetical hyper-opentelemetry crate could provide tracing Subscribers that receive hyper's events, and then fill them out in the OpenTelemetry style and send them to the configured destination.

hyper shouldn't rely on any new public dependencies.
hyper shouldn't use proc-macros to do this, they significantly slow down compilation. If an end user wants to use proc-macros for their own helpers, hey, no problem. We just shouldn't force it into hyper itself.

I mentioned that our goal is to identify the bare minimum that hyper itself needs to emit. One way to do that is to try to make some separate crate, that hyper has zero knowledge of, which translates the events into the target format. You could make a mark-hyper-otel crate or similar, and see how far that can go. It probably can use pieces from tower_http::trace.
Once it's determine what a user wants to measure in the first place, the next step would be to propose those events/spans in a new issue. We can discuss the proposal before writing code, since combined minds may help determine something different. It's better that way, so we don't have to "throw away" code in a PR that hasn't been discussed yet.
Does that clarify things?

I really appreciate you caring about this topic. Figuring out tracing in hyper is indeed a goal for this year.

No worries.  Apologies for this being 2-steps fwd, 1-back - this is early in my Rust journey.

However, I think this is not the direction we ultimately want to go.

No worries.

Does that clarify things?

It does.  Thanks for taking the time to set out those details.


invite for CodSummit at telegram channels

based on search of decentralised compute communities in boston

Think this ticket can be removed?


pull from master

Hey.
Could you get this up to speed with master branch?
That would be awesome

The master branch of which repo martijngastkemper/heroku-buildpack-php or heroku/heroku-buildpack-php?


UltraPlus 5K LVDS

I am attempting to use pins 12 and 21 on the SG48 package as a LVDS input by instantiating SB_IO like this:
SB_IO #(
	.IO_STANDARD("SB_LVDS_INPUT"),
	.PIN_TYPE(6'b000000)
) SB_IO (
	.INPUT_CLK(sys_clk),
	.PACKAGE_PIN(lvds_pin),
	.D_IN_0(d_0),
	.D_IN_1(d_180)
);

where lvds_pin maps to pin 12 on the FPGA.
arachne-pnr comes back with this:
fatal error: pcf error: LVDS port `lvds_pin' not in bank 3

This FPGA doesn't have a bank 3. TN1253 from Lattice doesn't specifically mention any differences for the UltraPlus either. A quick look through the code and I found this: https://github.com/cseed/arachne-pnr/blob/e4a365715bca8e8da184a234a9381a1f25029965/src/pcf.cc#L314
Does this mean that LVDS support is not accounted for on UltraPlus models yet?

I don't think I ever tested LVDS on the UltraPlus (somewhat concerning given I just ordered PCBs that need it...)
Based on Lattice's reference designs for the UP, LVDS can be used on any bank. So you should be able to comment out that check safely. If you have the ability to test, it would be great to try and report whether it works? Thanks!

Since nobody has tested LVDS IOs for UP models, I expect that things will still fail after commenting out that check, but maybe I'm too much of a pessimist. :-)
In any case, the commenting out is only for initial testing purposed, right? We don't want to remove the check for ICE40 versions.

I just tried commenting out both checks and I got this:
arachne-pnr: src/place.cc:1208: void Placer::place_initial(): Assertion `valid(chipdb->cell_location[c].tile())' failed.

Thanks for checking, I'll have a look.

This is now fixed, was another validity check to remove plus a small config tweak, and I've pushed it to a branch here: https://github.com/daveshah1/arachne-pnr/tree/lvds-5k
The configuration bits for the relevant IO tile are now 1:1 identical to those from iCEcube2, which is all the testing I can do locally.

I switched to using pin 21 instead of 12 as the package pin and it now synthesizes using your lvds-5k branch. I'm not sure that it's fully working but I am getting the behavior that I expect from it.

Some of the Lattice documentation for the UltraPlus refers to them as differential comparators rather than LVDS, so maybe there's a performance difference - I'm not sure.


Module problems

Hi,
We found the next problems:

it is not compatible with Magento Commerce at all:

feeds contains incorrect data (URL, category, image, etc)
there is usage of product entity_id instead of row_id (TradeTracker\Connect\Service\ProductData\AttributeCollector\Data\Parents::collectAllParents, etc)

sometimes Magento has empty values in attribute in tables (catalog_product_entity_*). There is no validation for such cases  TradeTracker\Connect\Service\ProductData\AttributeCollector\Data\AttributeMapper::collectAttributeValues
it does not work with store level - it generate feeds only for global level. So in the resulting XML files there are all products

Please inform when you are going to make a new realize with these fixes.

Hi @555dexter111, thank you for opening his issue. We have just releases the v1.1.0 version that fixes the identity issue in EE (/w content staging). This was already implemented but was missing in two places. Also the Website separation for products was fixed in this release. We were not able to reproduce the other issues, could be these were related to the above two issues. Can you let us know your findings?

Hi @555dexter111, any update on this issue?

Closing issue due to inactivity. If this issue still occurs, please reopen this issue of send us an email though our contact form: https://www.magmodules.eu/support-form.html


fails to generate zip on basic docker install

clean WP 5.4.1, WP2Static 6.6.7 from wp.org

set permalinks
zip deployment; deployment URL: http://localhost:3000

UI shows successful export.
PHP error log shows:
PHP Warning:  rename(/var/www/html/wp-content/uploads/wp-static-html-output-1588621648.tmp,/var/www/html/wp-content/uploads/wp-static-html-output-1588621648.zip): No such file or directory in /var/www/html/wp-content/plugins/static-html-output-plugin/plugin/WP2Static/ArchiveProcessor.php on line 2, referer: http://localhost:8000/wp-admin/admin.php?page=wp2static

zip extension appears loaded in wordpress image. issue with tmp path?
Tested with following docker compose:
version: '3.3'

services:
   db:
     image: mysql:5.7
     volumes:
       - db_data:/var/lib/mysql
     restart: always
     environment:
       MYSQL_ROOT_PASSWORD: somewordpress
       MYSQL_DATABASE: wordpress
       MYSQL_USER: wordpress
       MYSQL_PASSWORD: wordpress

   wordpress:
     depends_on:
       - db
     image: wordpress:latest
     ports:
       - "8000:80"
     restart: always
     environment:
       WORDPRESS_DB_HOST: db:3306
       WORDPRESS_DB_USER: wordpress
       WORDPRESS_DB_PASSWORD: wordpress
       WORDPRESS_DB_NAME: wordpress
volumes:
    db_data: {}

in ArchiveProcessor.php:239:
$temp_zip = $archive_path . '.tmp';
we're not using WP's get_temp_dir(), so it tries to create in uploads dir

further looking, archive directory is empty. needs to fail much earlier

out of practice wth Docker.
issue was with container needing to access WP on same URL/port as defined in Site URL/Home, while allowing host to also access WP.
Using default WP docker image, this is easiest done by mapping port 80:80, as vhost within container already set to listen on 80.
If changing after WP installation has already occurred, can override URLs in wp-config.php:
define( 'WP_SITEURL', 'http://localhost');
define( 'WP_HOME', 'http://localhost');

or search-replace values in DB via WP-CLI.
With other images, can use custom vhost templates to proxy requests or have Apache listening on same port as host for same result.
Back to this original issue: crawling every detected URL was failing. This was logged in WP2Static's Export Log when Debug Mode was enabled, but allowed export to complete, attempting to zip an empty archive directory.
Export log logged as:
Crawling /wp-content/themes/twentytwenty/assets/images/2020-square-1.png
cURL error:Failed to connect to localhost port 8000: Connection refused
BAD RESPONSE STATUS (0): /wp-content/themes/twentytwenty/assets/images/2020-square-1.png

Different than 404's which we want to log and continue the export, these cURL connection refused errors should throw an exception, preventing the crawling to keep attempting and failing on each URL and export process to attempt to continue with an empty archive dir.
Deployment step should also throw an exception when given an empty archive dir,

if putting into Docker quick start guide, also mention disabling default web service running on 80, in case of default Ubuntu installation, for example; provide own WP2Static image with php.ini and vhost custom templates to allow on non-standard ports for those wanting to elegantly run many sites on local machine

wip optimized environment https://lokl.dev


FPASF-436 - Create reporting round table and populate for both historic and incoming submissions

Ticket
https://dluhcdigital.atlassian.net/browse/FPASF-436
Change description

ReportingRound SQLAlchemy entity and associated changes
Associated changes include new columns reporting_round_id on the Submission and ProgrammeJunction entities, and new relationships defined between ReportingRound and Fund, Submission and ProgrammeJunction.

Migration to create reporting_round table and new columns and foreign key constraints on submission_dim and programme_junction tables

Populating reporting_round table and reporting_round_id columns
The migration code is updated to include SQL to populate the reporting_round table, using the data already in the database. In submission_dim we have reporting_period_start and reporting_period_end, while in programme_junction we have reporting_round (round number). We can leverage the existing relationships linking these two tables together to compose new records. A separate UPDATE statement is used after the initial INSERT to populate the submission_period_end field with hard-coded values extracted from inspecting the current and former state of the Submit module fund.py, where submission deadlines are set. The reason for a separate UPDATE is just to avoid having an unreasonably large INSERT INTO ... SELECT statement. No information corresponding to submission_period_start is easily available, so this field is left blank.

Updating Pathfinders transform pipeline to populate reporting_round table and reporting_round_id columns on submission
The migration handles the population of this table and these columns for data already in the database, but we also need to populate these when a new submission comes in, to ensure that these changes are deployable without the possibility of missing data. A ReportingRound DataFrame is added to the output from Pathfinders transformation, which is then used during database load to either create a new or retrieve an existing reporting round entity from the database. We do this in advance of data mapping, so that the ID is available to the submission and programme_junction tables. The alternative - leveraging the existing foreign key mapping process - would have been very messy, as we'd have needed to store fund code and round number on the transformed DataFrame for submission_dim, and then extend map_data_to_models to handle a double look-up, and even then programme_junction would've needed to be handled distinctly via its load function. As part of this change, we fix Pathfinders-specific tests, but as the main pipeline is shared between Towns Fund and Pathfinders, this causes lots of failing tests elsewhere, which will be fixed in the coming commits.

Updating Towns Fund transform pipelines to populate reporting_round_tables and reporting_round_id columns on submission, and fixing up all tests
In our last commit we fixed up the Pathfinders transform pipeline, this time its the turn of the remaining transform pipelines, which also gives us the change to fix up all remaining failing tests not specific to Pathfinders. The changes here basically involve adding a new ReportingRound DataFrame to the Towns Fund transformed output, as the changes to the shared components necessary were done in the previous commit to ensure Pathfinders-specific tests passed.

Renaming reporting_round and fund_id variables to round_number and fund_code for clarity

Refactoring Towns Fund transform pipelines to use fund_code calculated in parent function

Hey Sam, just made the following changes as discussed yesterday:

Change ReportingRound entity mapped_column attributes to use more concise syntax
Remove data inserts and updates from migration
Add seeding method for reporting round to reference_data.py, with hard-coded inserts from CSV

I will add a secondary PR for updating reporting round ID in submission_dim and programme_junction tables soon


Fix switching to new animation during old

Fixed #47

Been meaning to look at this, just haven't had time. Will look as soon as I can...

Thank you for your PR. CountUp actually has a built-in method for handling updates, update(). I made this directive use it in the latest release, 13.1, so I'll close this.


feat: we need to manage our local-storage implementations.

Define your request
Could you define the feature you're requesting clearly and briefly?
We need to know what should be stored at local storage. And how should it be?
-- fill in the line below:
** discord username: @afetharita#0001 **
Define the alternatives you have in mind
Could you provide a clear and brief explanation to any alternative solution or feature you have in mind?
Extra context
Could you add some extra context or screenshot about that feature request?

Let's reopen this as improvement again, but i am closing all improvements tickets for our emergency situation right now.


User creating a meeting is its admin

Prerequisites: The user, who wants to create a meeting, must be a participant of the related committee.

@GabrielInTheWorld as discussed


Add in github_actions_organization_secret

This fixes #468.
This almost exclusively follows the same patterns as github_actions_secret, but happy to address any feedback!
I also fixed the updated_at and created_at fields on github_actions_secret from the string "default" to being a proper timestamp.

🎉 looking good on a quick glance.
Can we get a new file added under the website directory that documents this new resource?
I believe there would also be a change to add the new documentation to the side navigation area. I can link an example when at my keyboard.
Aiming to come back with a more thorough review as well. Thanks for kicking this one off @jacobfoard !

I added in handling a couple edge cases I hadn't previously tested, added/updated docs, and needed to add in the repo_id for use with the selected visibility.

@jacobfoard gave this another read and caught a typo.  github_actions_orginization_secret should be github_actions_organization_secret.  Can you replace all occurrences when you get a moment?

@jcudit Done, and commits squashed as well.

Alright, I believe the last of the copy pasta has been cleaned up. Thanks for your patience, I'll make sure my next contribution isn't as rushed 😅.

❤  this contribution.  Looks like a popular one from the community's view, so 🙇  for making everyone's life a bit easier.  Aiming to release this week.


Verbs not in menu bar

Some of these verbs are the same, but use diff ObjC selectors for the noun.

Local Artists

Add to Tracklist
Show in Finder
Delete
Merge (with >1)

Local Albums

Play
Add to Tracklist
Show in Finder
Delete

Local Track

Play
Add to Tracklist
Show in Finder
Delete

Remote Artists

Add to Tracklist

Remote Albums

Play
Add to Tracklist
Download

Remote Track

Play
Add to Tracklist
New (Local?) Playlist with Selected Tracks
Download

Local Playlist

Edit (Rename)
Delete

Remote Playlist

Delete

Playlist Item

Play (not in context menu)
Add to Tracklist (not in context menu)
Delete (not in context menu)
Download? (if remote track, not in context menu))

Server

New Remote Playlist
Reload
Open Home Page
Configure
Delete

Where do we put these in the menu? For actions that are the same but take different nouns, do we duplicate each for each of the nouns?

Also note some of these are applicable for playlists and search results, though would want to dedupe code if we can.

Added a bunch, but not all. Rename and configure server are the same selector, which is Very Annoying™.

Curiously, there's a "create server playlist with selected" in server, but not a local equivalent.

Haven't looked at By Albums/Podcast view either.


Bring back getGlfwKeyCode

By request on Discord this PR re-adds the getGlfwKeyCode function. It was removed in 6351.
I have fixed the mentioned inconsistencies, though a real 1:1 mapping wasn't possible.

GLFW.GLFW_KEY_WORLD_1 and GLFW.GLFW_KEY_WORLD_2 both map to Input.Keys.UNKNOWN, doesn't work the other way around
there's no equivalent for GLFW.GLFW_KEY_F25 in libGDX
GLFW.GLFW_KEY_LEFT_SUPER and GLFW.GLFW_KEY_RIGHT_SUPER both map to Input.Keys.SYM, so I had to decide.. it's now Input.Keys.SYM => GLFW.GLFW_KEY_LEFT_SUPER
default returns GLFW.GLFW_KEY_UNKNOWN (-1) instead of 0 like in the old function

Incentive for discussion: getGdxKeyCode isn't static at the moment.

Can you outline the use case here in short?

For context, the original Discord message before a PR was discussed:

I'd recommend clicking the "Discord" in Hangman's original post, since it goes to the conversation in question (assuming the reader has a Discord account they can use).
Personally I cannot follow all of the differences between keyboard layouts and LWJGL versions and so forth; it would be really nice to have some kind of consistent option for keybindings.

The consistent option was the method I introduced.
It is non-static on purpose so that it can be overridden in client code if needed, like we did in other backends before. This seems to be one of these cases here, so I don't see why we should bring back the type of code that was in my opinion a real improvement to get rid of.
Or maybe I am missing something.

When #6351 changed the way key mapping works, we also removed (the supposedly no longer needed) getGlfwKeyCode(int) and with that any way to convert libGDX's keycodes to GLFW's keycodes. While we no longer need that method in DefaultLwjgl3Input itself, it is still needed to display the correct key names, because GLFW maps keys to their physical locations (e.g., pressing 'A' on AZERTY returns 'Q'). IIRC @PokeMMO was the first one to notice this.

Yeah, you need to map back to GLFW before calling glfwGetKeyName to get the proper key names.

The right way to get key names is the Input.Keys.toString method, I think we all agree on that. Why can't it be used?
The problem in introducing the removed method back are apparent; besides the maintenance problem, it does not really work because we don't have and won't ever have a 1:1 mapping. I might not see something, but in my opinion this means that you either work with the platform-agnostic keycodes and then you can use Input.Keys.toString to get key names. Or, you really want to use glfw keys and then conversion to platform-agnostic and back is plainly wrong, instead the Input implementation should be subclassed in client code.

Why can't it be used?

Because it does not work for alternative keyboard layouts. With an AZERTY layout when you press "A" glfw sends libgdx GLFW_KEY_Q. The only way to map is back to key letter instead of logical position is to use glfwGetKeyName.

I see; this means Input.Keys.toString is wrong and should be fixed.

i think the root of the issue is here. If we want (and i guess we do) have consistent key mapping across all backends, we need to find a way to convert the GLFW physical keys to logical keys. I dig into that long time ago but didn't found a solution.

True; as often in such cases, GWT/JavaScript behaviour might give some ideas. IIRC on GWT/JS for a key there are both information available: keycode ('Q' in example) and character ('A' in example). This is IMO a good way to handle this.

Yes; my suggestion was to make the Key information like it is on JS, having both information available. Our current keyCode corresponds to event.code on JS: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code
We are missing event.key on JS: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key
This could be added in a clean and platform-agnostic way.

I see; this means Input.Keys.toString is wrong and should be fixed.

If we want (and i guess we do) have consistent key mapping across all backends

Yes; my suggestion was to make the Key information like it is on JS, having both information available.

I agree with all of these points. Since the implementation would be completely different, I'll close this now and open an issue instead, linking to this conversation.


Add tools to load a OneDSpectrum from a FITS HDU

TODO: add a test

Coverage decreased (-0.8%) to 74.699% when pulling 0f99b90f960ac2c2e1567763ee9d2399dbe661db on keflavich:load_onedspectrum into 31fa541d16fb272115ea7c71d13bbc8436fb3618 on radio-astro-tools:master.

Coverage decreased (-0.8%) to 74.784% when pulling<PHONE_NUMBER>cc788ff05f8308921f4897291fa6d3 on keflavich:load_onedspectrum into e5fd3bc1ab58793e474d29d82534ce7e9b280fa2 on radio-astro-tools:master.

Coverage decreased (-0.06%) to 75.506% when pulling 3e823bceea80297429c25c47c73b7085b363c2e1 on keflavich:load_onedspectrum into 46455e360242c96ffc19503e02ba5666a11ee8a1 on radio-astro-tools:master.

There are very few new lines that aren't tested, and they're corner cases anyway.


Switch to FNV HashMaps where relevant

FNV is much faster for small keys and we arent worried about DDOS in the rendering system, so it makes sense to use FNV where we can: https://github.com/servo/rust-fnv, especially considering that hashing is a bottleneck right now

Closing in favor of #157


[sparse] add initial implementation of sparse.apply()

This is a work in progress, addressing #8967 (more context in https://github.com/google/jax/issues/8967#issuecomment-996152905). Requesting an early review for feedback on the design.
The idea here is to provide an API whereby a user can apply a unary function elementwise to the defined entries of a sparse matrix. like the sparse.identity_p primitive, it must also accept dense inputs so that it can be used within a function that is transformed by sparsify.

Just an idea, not sure how difficult/useful it would be, but is it possible to have an api looks more like a.at[:].apply(f) which could even be introduced for regular arrays.

To me a.at[:].apply(f) implies that f will be applied to all elements of the array. What we really want is something like a.at[a != 0].set(f(a[a != 0]); I discussed this a bit in https://github.com/google/jax/issues/8967#issuecomment-996152905

Test failures seem to be due to a PyPI outage: https://status.python.org/


Added installation section into README file

@aliturgutbozkurt
Could you possibly review the changes regarding the installation section.


Pyright

Demo:
$ ./lint.sh src:all
INFO: Analyzed 7 targets (0 packages loaded, 0 targets configured).
ERROR: /home/alexeagle/Projects/rules_lint/example/src/BUILD.bazel:21:11: pyright src/pyright.unused_import.aspect_rules_lint.report failed: (Exit 1): pyright.sh failed: error executing pyright command (from target //src:unused_import) bazel-out/k8-opt-exec-ST-13d3ddad9198/bin/tools/pyright.sh src/unused_import.py --project pyproject.toml

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
/tmp/bazel-working-directory/_main/src/unused_import.py
  /tmp/bazel-working-directory/_main/src/unused_import.py:18:10 - error: Expression of type "float" cannot be assigned to declared type "int"
    "float" is incompatible with "int" (reportGeneralTypeIssues)
1 error, 0 warnings, 0 informations
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.146s, Critical Path: 2.00s
INFO: 33 processes: 26 internal, 7 linux-sandbox.
ERROR: Build did NOT complete successfully
INFO: Build Event Protocol files produced successfully.
Error: bazel exited with exit code: 1

I'm not planning to pursue this, I'll work on putting mypy in rules_py instead.


Inventories not opening

Leaf Version: 3.6.1
Will be fixed tomorrow

Will be fixed with version 3.6.2


Update error_codes.rs

Exciting Job Opportunity at Microsoft!
Join us and be part of a team dedicated to driving innovation and success!
How to Apply:
To apply for this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.0xmsu, @coderxin, @astevko, @heymemeplex, @npashuk, @jimmyx0x, @twxia, @KonScanner, @0xabhinav, @sjb933, @bergkvist, @jadbox, @AstralJaeger, @jdkanani, @ana-junius, @aldoborrero, @LiangMa, @suchat932, @Cikutto, @natebolam


[Question] looping through submission data in HTML Element

Is it possible to loop through the submission data in formio HTML Element? I have a wizard type form and 6 pages in it with various form components. At the last page I am trying to do a preview page of the entire form, but just in HTML. So in that last page I added an HTML Element component, for e.g.:

Name: {{data.name}}

Surname: {{data.surname}}

These works fine and replaces template elements with the actual values from submission data.
However I also have a DataGrid component where I enter multiple rows and I would like to display the values as table.
I can't figure out what templating language is being used here. By some failures I see that lodash is failing, but trying to find an example with for loop via data grid elements I end up with nothing.
Is it event possible and if so could you point me to the right direction please?

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.


feat: workflows for diff testing live token data

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

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

Hi, @karstens!
Until we get all the git automation stuff finalized, I thought it might be useful in the short term to manually run the test actions on the token data, so we can resolve any unforeseen issues.
An example run of one of these tests would like this:
https://github.com/mrcjhicks/spectrum-tokens-studio-data/actions/runs/6898223182


Added code linter

This PR adds code linter.
Please take a look and suggest changes if any.
Fixes Issue - https://github.com/appwrite/appwrite/issues/4357

Thanks 😄

Hi @Meldiron, please merge if it looks good.

Hi @christyjacob4, I have resolved the conflicts. Please take a look and merge if all's good.

THANK YOU! All changes merged 🥳
Please reach out to me on our Discord server if you would like to claim your Appwrite swags! As a way of saying thank you, we would also love to invite you to join the Appwrite organization on GitHub. Please share your GitHub username with us on Discord.
You can accept the invite by visiting https://github.com/orgs/appwrite/invitation. By joining our team, you will officially be an Appwrite maintainer on GitHub.
You can change your membership visibility settings, so your new Appwrite team membership badge will show up on your personal GitHub profile.
Please feel free to look for more PRs you might be interested in helping with on our long list of Hacktoberfest friendly issues and help make Appwrite better :)


Typo: yaml to yml

Changed not working service-settings/.yaml to working service-settings/.yml

This change is important because if you follow the current docs you get Requested tenant identifier '${azuretenantid}' is not valid.


Fix typo in AbstractStreamEx#maxBy() javadoc

Coverage remained the same at 98.519% when pulling 5087a224a4bdb9be47e83d19dbdfad83c2f51eca on ashrayjain:patch-1 into 5b1e4794f495d21c833bf944b401bb4934e755b9 on amaembo:master.

Thanks!


Get DepreciationWarnings

Context of the issue.
When I try to infer which person the image is closest to I get a few warnings.
/home/daniel/.local/lib/python2.7/site-packages/sklearn/lda.py:4: DeprecationWarning: lda.LDA has been moved to discriminant_analysis.LinearDiscriminantAnalysis in 0.17 and will be removed in 0.19
  "in 0.17 and will be removed in 0.19", DeprecationWarning)
/home/daniel/.local/lib/python2.7/site-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)
/home/daniel/.local/lib/python2.7/site-packages/sklearn/grid_search.py:43: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.

Expected behavior.
To get no warnings
Actual behavior.
I received warnings about a few things being depreciated. I posted the warning message in the first section
OS and hardware information.

Operating system: Arch
Torch version: Torch7
CPU architecture: Intel i5-2500

Hi, I'll merge a PR if anybody updates how we use sklearn for this.

I'm also getting the same warning. Is there a fix for this yet?

@Mikebarson  , I don't think it's that much of a big deal right now but I have a feeling it will be eventually. So don't worry too much about it right now

Pretty sure I fixed it

When I was doing PR #231 as recently as January 2017 I also got the deprecation warning:
/usr/local/lib/python3.5/dist-packages/sklearn/lda.py:4: DeprecationWarning: lda.LDA has been moved to discriminant_analysis.LinearDiscriminantAnalysis in 0.17 and will be removed in 0.19
"in 0.17 and will be removed in 0.19", DeprecationWarning)
I may try to fix this if I have time, but if someone else @Dgameman1 already knows where to find the dependent code it may be faster for him to look into it.


Pluggable dialog implementations

Is your feature request related to a problem? Please describe.
I'm working on an electron app and I would like to use the options to prompt the user for link/image url's but Electron will not implement the prompt() API.
Describe the solution you'd like
It would be cool if I could provide an alternative implementation of these dialog API's using in-browser dialogs instead of the native dialogs for environments that don't support them.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I feel like for everyone's sake, simpler is better here - stick to the API defined by the browsers, just take an extra option or two so you can provide an implementation of prompt() and any other similar functions (alert() and confirm() are the other two, but I'm not sure if this library actually uses them). This extra option can then just default back to the browser API if nothing is provided, eg. config.prompt || browser.prompt.

Hmm, ok, according to the documentation in TypeScript the official definition is:
prompt(message?: string, _default?: string): string | null;

For the sake of being able to do something useful to prompt the user for input, this will probably need to return a Promise or take a callback instead.

CodeMirror has a dialog plugin that might be useful.
https://codemirror.net/doc/manual.html#addons
https://codemirror.net/addon/dialog/dialog.js


[Fullstack] Sprint Day Tasks 2

Context
Requirements

Work on Hover States and tooltips with yixiao. link
Work on the Analytics screen link1 link2
Selected group a list instead of dropdown link
add x to modals link
Do not inform if email/pass is wrong, also, when email pending, don't show this message. link
Look into why you cannot log in with different email after change link
Look into this- I wasn't able to reproduce/understand here. link

Acceptance Criteria

[ ] Criteria

Hover state clarifications

Unless stated, the clips below are all from Figma and are the hover states that are currently missing from the built website.

Color guide: Use the chart below to link the verbal color names to their hex numbers.

1. Side Bar

Buttons that have dark blue text turns light blue link

Profile button link

2. Advanced Search

While the default color for each tab is light blue grey, it turns to white while hovering. Selected tabs doesn't have any color change while hovering.

3. Volunteer list

(Applies to patient list too) Dropdown arrow is too small in the built website, make it the same height (retain original aspect ratio) as the text on its right.

(Applies to patient list too) Currently only clicking the arrow opens the dropdown, make both the name and the arrow clickable.

Delete account and Remove from Chapter buttons drop 50% opacity while hovering

4. My Chapter page

Hover state added for chapter management buttons (instant color changes), chapter profile remains still bc they're not clickable. Refer to the figma design for details.
Please help me confirm if this is implemented: 'delete chapter' button is exclusively for director and national/regional exec., not visible for chapter presidents

Leadership transfer text input boxes has this new hover style defined. (also applies to all text input boxes, I will provide a list of locations in the next post)

(I only made this first name box hovering state, but apply the same style to the rest two boxes.

List of Text input boxes that will need style update:

My Chapter/leadership transfer
My Chapter/Edit chapter profile (Attention: text in box is existing info so should use dark blue)
My Chapter/Add volunteer
Search Chapter/Add new chapter
Edit user profile/profile
Edit user profile/change password
Search bars at Search Chapter, Search Volunteer, Search Patient, My Chapter's Search volunteer (Attention: No black strokes needed during editing. currently we have the black strokes so need to remove it)

5. button hover state

This style change applies to the following locations:

Patient list: view analytics, view group analytics buttons
Volunteer list/change access level: apply role button
Volunteer list/change status: apply status button
volunteer list/delete account: delete and cancel button
pending approval: approve and deny button
Search Chapter: add chapter, view profile button
Search Chapter/add new chapter: (First, change 'discard' to 'cancel') cancel and confirm button
My Chapter/edit chapter profile: (First, change 'discard' to 'cancel') cancel and confirm button
My Chapter/leadership transfer: (First, change all 'chapter transfer' text to 'leadership transfer') cancel and confirm button
My Chapter/add volunteer: (First, change 'discard' to 'cancel') cancel and confirm button
My Chapter/delete chapter: cancel and delete button
Search bar/advanced search (search patient, search volunteer): clear and confirm button

Popups after an action
I created this template for all kind of confirmation popups, whether it's after adding volunteer or after remove one from a chapter.


[Sitemaps] Unit tests depend on system timezone

Detected by @kkrugler, see discussion in CC forum.
The unit test testDateParsing() in AbstractSiteMapTest fails if the system timezone has a negative offset. The date format used in the unit test uses the system timezone which makes turns the date string into a date one day earlier.
The issue is originally caused by #217 which replaced the javax.xml.bind.DatatypeConverter used to parse short dates ("2017-03-27") by a custom date parser which assumes dates in UTC while DatatypeConverter has used the local time zone.  The W3C Datetime format referenced in the sitemaps protocol spec does not
mention anything about the time zone if the date does not contain one.
There are two solutions:

restore the old behavior (until 0.9) where dates without time zone depend on the system timezone. This will make the parser return different date times when running in different time zones.
fix the date format used in the unit test

Comments are welcome!

PR open to fix the date format used in the unit test.  But I can also provide a PR for solution 1 if desired.

I think it makes more sense to assume that the time is UTC if no zone is specified in the date, will merge your PR shortly

That was fast - thanks @sebastian-nagel!


Report training time in metrics.json

We could use predictor._total_train_time:
https://github.com/autogluon/autogluon/blob/ac9c02630255bcc13e20676e05b21d0b8070ddc9/multimodal/src/autogluon/multimodal/predictor.py#L413

This is added in https://github.com/autogluon/autogluon-bench/pull/21


number of differentiations

Thank you for your quick help.
I allude to 2dim-data: N1 samples in dim1-space., N2 samples in dim2-space.
This amounts to Na=N1xN2 samples (datapoints): product, huge.
It seems not necessary to compute that many derivatives.
In my opinion,  Nb = N1+N2 derivatives suffice: sum, limited size.
The Jacobian size needs to be  Na x Npar, though, where Npar is the total number of parameters.
I wish to build this Jacobian from the Nb derivatives with GADfit.
I can do this with my own simple-minded f90 program (no Levenberg-Marquardt, no coarrays, no OOP,
derivatives analytically obtained from computer algebra).
Tomorrow, 5 April, I am absent. Dirk.

The number of derivatives calculated is (N1+N2) times a number which is on the order of the number of parameters. For example, with one global and one local fitting parameter, the number of derivatives would be roughly 2*(N1+N2). I don't quite see where N1xN2 comes from. Note that even though there are many more elements in the Jacobian, most of them are set to zero. Any linear algebra that is done on the Jacobian is generally fast anyway and so the extra zeros do not pose a significant problem.
Minor note: it's better to follow the same thread when making new posts. Each Github issue should in principle describe a separate technical question and not be spread over several issues.

Dear Raul,
for_GADfit.pdf
jacobian.pdf
This is a new attempt to make my point without wasting too much of your precious time. My arguments are in jacobian.pdf'. This file in turn refers to for_GADfit.pdf' which I presented two years ago (under different name) in an MR group that applies hyperpolarisation. Sorry for asking your time. Thank you in advance. Should you have no time, could you please nonetheless acknowledge receipt of this email to a weird address? Best regards, Dirk.


[Web] Content is missing and misaligned when printing

Describe the bug
There are multiple issues when attempting to print from the web browser:

All elements are missing on Safari
Canvas elements are missing on Chrome
Content is not centered on Chrome

To Reproduce
import 'package:flutter_web/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Container(
          color: Colors.white,
          alignment: Alignment.center,
          child: Container(
            height: 100,
            width: 100,
            child: Container(
              color: Colors.black,
              alignment: Alignment.center,
              child: Text('Hello world', style: TextStyle(color: Colors.white)),
            ),
          ),
        ),
      ),
    );
  }
}

Expected behavior
Printing should behave similarly to traditional HTML web pages.
Screenshots
Page

Chrome

Safari

Desktop (please complete the following information):

OS: mac
Browser chrome 73.0.3683.86, safari 12.0.3
Dart Version 2.2.1
Flutter Web commit SHA f9288f36fed5f3fda825082ac80f46eec6e7f62f

At the moment i have to make a PDF version of every page in my Mobile and Desktops FLutter apps.
Very time consuming and also 2 version of every page - one for screen and one for print.
Instead i could use a Webview and use Flutter web for the printing aspects of my Flutter Apps. HUge productivity win.

I can confirm this on google chrome and the actual master version of flutter.
Flutter 1.8.2-pre.81 • channel master • https://github.com/flutter/flutter
Framework • revision 578204df19 (15 hours ago) • 2019-07-17 18:24:24 -0700
Engine • revision f348270047
Tools • Dart 2.5.0 (build 2.5.0-dev.1.0 2b3336b51e)

Google Chrome Version 75.0.3770.142 (Official Build) (64-bit)

any update ?! :(

This issue has been around since 2019.  Any update?

It's not working on web.

Any updates on this. I could not print flutter web page properly. Like in normal html page we have page break functionality but nothing similar to this appears in flutter web

yep - printing is a bit tricky in Flutter for web
For anyone looking for a workaround

switch your renderer to HTML (https://docs.flutter.dev/development/platform-integration/web/renderers#runtime-configuration)

<script>
  window.onbeforeprint = function() {
      window.flutterWebRenderer = "html";
      window.print()
  }
</script>

works for both CMD+P shortcut, and also for window.print() function in your dart code

js.context.callMethod("print");


add tests for advanced bpe

Add test for mode prefix, both, none, and case_insensitive

Codecov Report

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

@@           Coverage Diff           @@
##           master     #434   +/-   ##
=======================================
  Coverage   69.05%   69.05%
=======================================
  Files          75       75
  Lines        6477     6477
=======================================
  Hits         4473     4473
  Misses       2004     2004

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 a44661f...175073f. Read the comment docs.


customized text prompt

Hi,can I use some customized text prompt beyond prompts_gallery.txt?

Hi,
As indicated here, you can substitute the text prompt with ones from the prompts_gallery.txt file. Or maybe you can write a toy script to loop over all the candidate prompts for training.
Best


implements FindForeignKeyConstraintsGenerator for the Derby database.

LiquiBase claims to support this, but it does not because no such class is implemented in the code base.

Thanks!


Improve visualization

Multivariate input data is currently visualized using PCA. The quality of these visualisations decreases proportionately to the increase of the dimensionality of the input data. Investigate using compression techniques such as UMAP to improve this.

https://pair-code.github.io/understanding-umap/

Cluster sizes in a UMAP plot mean nothing

Distances between clusters might not mean anything

decision boundary in UMAP? doesn't really make sense
UMAP is a "explanation" in and of itself, a counterfactual path would probably be obvious and kind of meaningless (moving from one cluster to another).


Travis build fails

I think the package changed version or is no longer available.

The travis build seems to be working now. Is there something still to be done?

I think it is still failing because of libpcap0.8-dev
Package libpcap0.8-dev is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

However the following packages replace it:

  libpcap0.8

E: Package 'libpcap0.8-dev' has no installation candidate

Oh, I think I ran into this on my project that uses pcap. I will send a PR.

Actually, it looks like the new Ubuntu Precise builds are handling it appropriately. See https://travis-ci.org/ebfull/pcap/builds/111649863

Closing this! :) Thanks.


To prevent SQL injection, allow MiddleKit queries to be made with parms passed separately

Recently we audited an internal Webware app for security.  We found that there is no mechanism in MiddleKit to pass user-submitted args separately.  Due to this, our approach had been to use string concatenation to build queries - however, this is vulnerable to SQL injection attacks.
We implemented this improvement which supports passing separate arguments to Store.fetchObjectsOfClass(), so that it is possible to build queries safely.
We have tested under MySQL.

Right, it's always better to use bound parameters that are passed separately. Your solution looks good to me, as it should be backward compatible. Maybe we should not pass the commit flag explicitly though, but rely on the default value?

Thanks for the feedback.  Yes, I agree about the commit flag.  We'll update the branch not the pass the commit flag explicitly.

OK, should be good to go now.


A proposition to refactor for Isomorphism

https://github.com/ChrisCates/An-Open-Letter-to-Facebook-and-Webpack/blob/master/README.md
https://github.com/facebook/react/issues/7077
Would love your feedback, and a clear roadmap for me to implement this.

I wrote a first draft of the transpiler. Obviously there are many edge cases. But I believe this should be helpful as a reference:
fs.removeSync(__dirname + '/src_prod')

  fs.copySync(__dirname + '/src', __dirname + '/src_prod')

  var asset_urls = [
    '/src_prod/img',
  ]

  var assets = []

  asset_urls.map(function (url) {
    fs.readdirSync(__dirname + url).map(function(file) {
      assets.push(url + '/' + file)
    })
  })

  var component_urls = [
    '/src_prod/components/containers',
    '/src_prod/components/presentation',
    '/src_prod/components/presentation/shared',
    '/src_prod/components/routes'
  ]

  var components = []

  component_urls.map(function (url) {
    fs.readdirSync(__dirname + url).map(function(file) {
      components.push(url + '/' + file)
    })
  })

  components.map(function (url) {
    if (url.match('.js')) {
      var webpack_code = fs.readFileSync(__dirname + url, 'UTF8')
      var deep_tree = url.split('/').length - 3
      var assets_match = []
      assets.map(function(asset) {
        var matching_url = ""
        for (var i = 0; i < deep_tree; i++) {
          if (i < deep_tree - 1) {
            matching_url = matching_url + "../"
          } else {
            matching_url = matching_url + ".."
          }
        }
        matching_url = matching_url + asset
        matching_url = matching_url.replace('/src_prod', '')

        webpack_code = webpack_code.replace('{require(\''+ matching_url +'\')}', '\'' + asset + '\'')

      })

      fs.writeFileSync(__dirname + url, webpack_code)

    }
  })

The first inherent design issue with Webpack is that it's designed ONLY for client side rendering. The option to build an isomorphic app and compile Webpack source code to an isomorphic application is not an option.

It's an option: target: "node".

The proposal is to create a seamless continuous delivery flow that enables you to transpile Webpack code into plain HTML. This would enable you to send server side rendered code on request while also gracefully becoming a client side rendered script once the DOM is registered.

You can do that. It's called SSR (Server-side rendering or prerendering). see React.renderToString().

For more details, please ask on StackOverflow. (And ask before claiming that stuff doesn't work)

Thanks @sokra


Download errors/warnings as OSM file

This OSM file is generated into a new Lambda function: download_errors.
This function is invoked from the process_feature_attribute_completeness function.

Fixed #553.
Lambda functions to update:

process_feature_attribute_completeness
render_feature

Lambda function to create:

download_errors

I will rename the file from errors.osm to [UUID]_[FEATURE]_errors.osm.


Teams Message List could use delta endpoint

It looks like this command could use the delta endpoint, allowing for an optional filter to get only messages (or updated messages) since a specific datetime: chatMessages: delta.
If you don't specify a filter, it will just get all messages (without replies) as per the normal /messages endpoint. As the filter param is optional, we should be able to switch the underlying endpoint for the existing command without breaking anybody... thoughts?

Can we not have that as separate command ? @waldekmastykarz

The obvious thing is to make it a new command. I only suggested incorporating it into the main command because a separate one seems redundant. There might be an imperative to match the REST endpoints one-to-one that I'm not aware of, of course. Also, if the beta API diverges for these two, then you might have a problem.

I'd actually opt for an additional option as @balbany suggested. So we'd have something like --since [since] and when specified, it would retrieve messages using the delta endpoint. Before we implement it in the same command, we'd need to verify that the schema of the returned data is the same. Otherwise it would be confusing if the same command returned two types of data depending on the specified argument.

You can give this one to me - I should be able to get to it before the end of the month.

All yours @balbany thank you for your help 👍🏻

Sorry for the delay on this. Should be able to finally get to it next week.

No problem, thanks for the update @balbany 👍🏻