spring-cloud-function-adapter-aws fails on local development with SAM Local

When using aws-sam-local , official framework for developing/testing locally for AWS Lambda, the requests fails with the following error:
PROBLEM:
➜  spring-cloud-functions git:(master) ✗ sam local start-api
2018-06-24 16:24:18 Mounting ReportLambda at http://<IP_ADDRESS>:3000/report [POST]
2018-06-24 16:24:18 You can now browse to the above endpoints to invoke your functions. You do not need to restart/reload SAM CLI while working on your functions changes will be reflected instantly/automatically. You only need to restart SAM CLI if you update your AWS SAM template
2018-06-24 16:24:18  * Running on http://<IP_ADDRESS>:3000/ (Press CTRL+C to quit)
2018-06-24 16:24:31 Invoking be.drissamri.serverless.ServerlessApplication (java8)
2018-06-24 16:24:31 Found credentials in shared credentials file: ~/.aws/credentials
2018-06-24 16:24:31 Decompressing /Users/drissamri/workspace/drissamri/aws-serverless-starter/spring-cloud-functions/target/spring-example-1.0.0-aws.jar

Fetching lambci/lambda:java8 Docker container image......
2018-06-24 16:24:37 Mounting /private/var/folders/pd/drhx_tzd4xn9_766g7223f080000gn/T/tmpAlydJ7 as /var/task:ro inside runtime container
START RequestId: 7139c8de-6d1c-4058-bedb-b443d818a0c0 Version: $LATEST
END RequestId: 7139c8de-6d1c-4058-bedb-b443d818a0c0
REPORT RequestId: 7139c8de-6d1c-4058-bedb-b443d818a0c0	Duration: 8168.78 ms	Billed Duration: 8200 ms	Memory Size: 1024 MB	Max Memory Used: 17 MB
14:24:39.723 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Searching manifests: [jar:file:/var/runtime/lib/LambdaJavaRTEntry-1.0.jar!/META-INF/MANIFEST.MF, jar:file:/var/runtime/lib/aws-lambda-java-core-1.2.0.jar!/META-INF/MANIFEST.MF, file:/var/task/META-INF/MANIFEST.MF]
14:24:39.747 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Searching manifest: jar:file:/var/runtime/lib/LambdaJavaRTEntry-1.0.jar!/META-INF/MANIFEST.MF
14:24:39.749 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Searching manifest: jar:file:/var/runtime/lib/aws-lambda-java-core-1.2.0.jar!/META-INF/MANIFEST.MF
14:24:39.750 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Searching manifest: file:/var/task/META-INF/MANIFEST.MF
14:24:39.768 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Main class: class be.drissamri.serverless.ServerlessApplication
14:24:40.430 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Initializing: class be.drissamri.serverless.ServerlessApplication

... more logs ...

{"statusCode":200,"body":"{\"result\":\"PROCESSED: Report me\"}"}
2018-06-24 14:24:48.575  INFO 1 --- [       Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@130f889: startup date [Sun Jun 24 14:24:43 UTC 2018]; root of context hierarchy2018-06-24 16:24:50 Function returned an invalid response (must include one of: body, headers or statusCode in the response object). Response received: 2018-06-24 14:24:48.579  INFO 1 --- [       Thread-2] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2018-06-24 16:24:50 <IP_ADDRESS> - - [24/Jun/2018 16:24:50] "POST /report HTTP/1.1" 502 -

After looking around, the same issue was encountered here: https://github.com/awslabs/aws-serverless-java-container/issues/134 and looks like it has to do with Spring Boot printing a shutdown  messages after the output is already printed.
SOLUTION (workaround):
Add a application.properties and minimize logging with logging.level.root=WARN
sam local start-api
2018-06-24 16:29:21 Mounting ReportLambda at http://<IP_ADDRESS>:3000/report [POST]
2018-06-24 16:29:21 You can now browse to the above endpoints to invoke your functions. You do not need to restart/reload SAM CLI while working on your functions changes will be reflected instantly/automatically. You only need to restart SAM CLI if you update your AWS SAM template
2018-06-24 16:29:21  * Running on http://<IP_ADDRESS>:3000/ (Press CTRL+C to quit)
2018-06-24 16:29:32 Invoking be.drissamri.serverless.ServerlessApplication (java8)
2018-06-24 16:29:32 Found credentials in shared credentials file: ~/.aws/credentials
2018-06-24 16:29:32 Decompressing /Users/drissamri/workspace/drissamri/aws-serverless-starter/spring-cloud-functions/target/spring-example-1.0.0-aws.jar

Fetching lambci/lambda:java8 Docker container image......
2018-06-24 16:29:38 Mounting /private/var/folders/pd/drhx_tzd4xn9_766g7223f080000gn/T/tmpZHZpPi as /var/task:ro inside runtime container
START RequestId: bdbb922c-5ff8-4d4c-bc59-c38695f4fdcf Version: $LATEST
END RequestId: bdbb922c-5ff8-4d4c-bc59-c38695f4fdcf
REPORT RequestId: bdbb922c-5ff8-4d4c-bc59-c38695f4fdcf	Duration: 7596.60 ms	Billed Duration: 7600 ms	Memory Size: 1024 MB	Max Memory Used: 17 MB
14:29:39.602 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Searching manifests: [jar:file:/var/runtime/lib/LambdaJavaRTEntry-1.0.jar!/META-INF/MANIFEST.MF, jar:file:/var/runtime/lib/aws-lambda-java-core-1.2.0.jar!/META-INF/MANIFEST.MF, file:/var/task/META-INF/MANIFEST.MF]
14:29:39.627 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Searching manifest: jar:file:/var/runtime/lib/LambdaJavaRTEntry-1.0.jar!/META-INF/MANIFEST.MF
14:29:39.628 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Searching manifest: jar:file:/var/runtime/lib/aws-lambda-java-core-1.2.0.jar!/META-INF/MANIFEST.MF
14:29:39.629 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Searching manifest: file:/var/task/META-INF/MANIFEST.MF
14:29:39.644 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Main class: class be.drissamri.serverless.ServerlessApplication
14:29:40.067 [main] INFO org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer - Initializing: class be.drissamri.serverless.ServerlessApplication

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::

2018-06-24 16:29:49 No Content-Type given. Defaulting to 'application/json'.
2018-06-24 16:29:49 <IP_ADDRESS> - - [24/Jun/2018 16:29:49] "POST /report HTTP/1.1" 200 -

I'm not sure if this can be fixed in the framework, but otherwise this might need to be documented?

Many improvements went into AWS recently and documentation has been updated. Given the age if this issue I am going to close it with no action, but feel free to raise new issue as you discover them.


added plan information

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

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

Codecov Report

Merging #4159 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #4159   +/-   ##
=======================================
  Coverage   70.55%   70.55%
=======================================
  Files         437      437
  Lines       28257    28257
  Branches     4352     4352
=======================================
  Hits        19936    19936
  Misses       7023     7023
  Partials     1298     1298

Impacted Files
Coverage Δ

...ure-cli-vm/azure/cli/command_modules/vm/_params.py
96.59% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I believe @yugangw-msft added the plan support, and intentionally hid these arguments.

Correct. CLI plumbs those information through behind the scene so those less used arguments won't clutter the command interface

@huzferd is there a scenario you have in mind that doesn't work today?

@tjprescott. Yes.
Scenario:

Create Data Science VM using templates.
Create Image from DSVM.
Restore DSVM from Image.
Have an error:

{
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "VMMarketplaceInvalidInput",
        "message": "Creating a virtual machine from Marketplace image requires Plan information in the request. OS disk name is 'test1_disk1'."
      }
    ]
  }
}

This is necessary for the educational process.

Let me confirm with CRP folks why the plan information was not captured at step 2

Hello @yugangw-msft, are there any news?

@huzferd, still in discussion and will post update. Since we are at it, one question, did you test out the VM creation works with your change? And you are not getting the error like
.[{"Legal terms have not been accepted for this item on this subscription. To accept legal terms, please go to the Azure portal (http://go.microsoft.com/fwlink/?LinkId=534873) and configure programmatic deployment for the Marketplace item

@yugangw-msft, No, there was not.
I enabled programmatic deployment from Azure portal.
And it working with my changes.

To get this PR merged, please do the following

In the _params.py, please add description, and make sure with wording ...only needed for self-made custom image with separate billing information
In the _validators.py, please skip this whole chunk if the --plan is supplied through command arguments

@yugangw-msft it might be more prudent to reject this PR, open an issue quoting the scenario he describes, and then having us create a PR that handles the finer points dealing with validators, etc.

Agreed we should do the work. @huzferd, are you okay with that?

@yugangw-msft, Yes. I agree with @tjprescott.

Thanks @huzferd I've opened issue #4233 if you need to provide any further clarification and for your tracking purposes when this is officially fixed.


Update JSZip

We are pinned to 3.2.2 of JSZip that has nodestream support, as it was removed: https://github.com/Stuk/jszip/issues/663
Making a ticket to update the version and track this issue. Previously Dependabot opened a PR: https://github.com/deephaven/web-client-ui/pull/183

Tried updating to latest v3.10.1, still failing with error:
[CsvInputBar] Error: nodestream is not supported by this platform
    at a.checkSupport (jszip.min.js:13:34660)
    at f.toNodejsStream (jszip.min.js:13:27913)
    at n.nodeStream (jszip.min.js:13:45595)
    at CsvTypeParser.parse (CsvTypeParser.ts:221:36)
    at _CsvParser.parse (CsvParser.ts:192:16)
    at CsvInputBar.handleFile (CsvInputBar.tsx:220:12)
    at CsvInputBar.tsx:245:18

Should we be using nodestream even? It might be the older stream type where they bundled the Node built-in into the browser, but browsers have been making progress on having native streams


treewide: bump copyright year to 2022 in generated files

Generated using:
sed -i 's/2017-2021/2017-2022/' Documentation/conf.py hack/custom-boilerplate.go.txt hack/spdx-copyright-header.txt
make generate-api enerate-health-api generate-hubble-api generate-k8s-api

LGTM 100
contrib/scripts/check-api-code-gen.sh should be run once for operator package.

Thanks, done. Also updated contrib/scripts/check-api-code-gen.sh in a separate commit to mention make generate-operator-api in case the check fails.

Received reviews from several code owners. The smoke tests and Travis CI passed and there is no need to run full CI, marking as ready to merge.


Provide a sample docker-compose file that includes launching a glauth server?

This is the one I came up with
version: '3.7'
services:
  ui:
    image: glauthui:latest
    container_name: glauthui
    restart: unless-stopped
    ports:
      - 801:5000
    volumes:
      # Mount Folder that contains DB and config file outside the container
      - 'glauth:/home/ldap/db'
    environment:
      - SECRET_KEY=mysuperlongsecretkeythatnobodywillguess
      # MAIL CONFIG
      #- MAIL_SERVER=mail.example.com
      #- MAIL_PORT=587
      #- MAIL_USE_TLS=1
      #- MAIL_USERNAME=username
      #- MAIL_PASSWORD=password
      #-<EMAIL_ADDRESS>  glauth:
    image: glauth/glauth
    command: glauth -c /config/

volumes:
  glauth:

Should make it easier for people to get set up. I'm not sure I have it set up properly though.

Yeah definitely. i was even thinking about including the glauth binary in the image itself so you could restart it a view live logs in the settings, but not sure yet if this is the right direction and lots of other stuff should be done first.


[SPARKR-154] Phase 4: implement subtract() and subtractByKey().

@concretevitamin Could you take a look ?

Thanks @sun-rui - will merge pending indent nits and can you rebase off/merge master?

@concretevitamin  merged with master.

Thanks!
Merging into master & cherry-picking into sparkr-sql.


Does not support 2021.3.0f1 There will be some errors

I will take a closer look to it, now that 2021 will be LTS

I'm testing on unity 2021.3.2f1 and everything is working as expected, what version of the unity and the project you are using?

Unity 2021.3.0+
------------------ 原始邮件 ------------------
发件人:                                                                                "brunomikoski/Animation-Sequencer"                                                                                @.>;
发送时间: 2022年5月12日(星期四) 凌晨5:04
@.>;
<EMAIL_ADDRESS>主题: Re: [brunomikoski/Animation-Sequencer] Does not support 2021.3.0f1 There will be some errors (Issue #45)
I'm testing on unity 2021.3.2f1 and everything is working as expected, what version of the unity and the project you are using?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Should work properly with https://github.com/brunomikoski/Animation-Sequencer/releases/tag/v0.3.6


LogManagement: convert put_or_update to put_unless_exists

LogManagement is probably going away.
But we are converting over to put_unless_exists to simplify
Follow up to https://github.com/ManageIQ/manageiq/pull/15152

This will conflict with #15156 , so let's get that one in first.

@Fryguy Put this together to get this list of entries into your radar

updated - removing depreciation stuff and moving over to put_unless_exists

_post_my_logs is called from .
options passed into _post_my_logs from log_file.rb:257#_request_logs in call from log_file:82#logs_from_server
Most of the fields for the put_or_update have a constant value.


USBError not returning error

"get_packet" module not returning exception with USBError in window 10(libusb-win32 devices) environment when usb connection lost. ex.errno return empty during the exception and it get treat as regular TimooutError(). Do not see the same issue in linux environment.  The temporary get around I implement was adding below code to "def get_pcaket(self, deadline):"
starttime=time.monotocis() right before timeout = max(int((deadline-starttime)*1000),0)
adding below code to the except usb.core.USBError as ex:
endtime=time.monotonic()
ret_time=(endtime-starttime)*1000
then capture the error using ret_time at
if ex.errno ==19 or ex.errno ==32 or ret_time==0:
this temporary solution allow the  code to catch if the USB connection was unplugged accidentally. Looking forward for permanent solution. Thanks!!

The Python implementation of Fibre will very soon be replaced by a C/C++ implementation and a thin Python wrapper that binds to the compiled library.
I will check if the new implementation still suffers problems with unplug events on Windows.

Thanks!!


I haven't been able to access my tydom from Home Assistant for months

Hi folks,
I have 1 1/2 year experience with Home Assistant. And some time ago I was able to install the tydom2mqtt addon.
I had to reinstall all my home assistant and the only thing I couldn't get back was my Tydom.
I've been with this for months and it doesn't freak me out. I am asking for some help please.....
This is the error the log gives me:

Hi,
Even if you d'ont have any alarm, you have to set a PIN.
This PIN has to be a String so if you set it directly via the yaml descriptor, please wrap the value with quotes (ieg '12345').

Hi,
Perfecto. He hecho lo que me dijiste y ya está funcionando.
Muchísimas gracias


More tests

Small clean ups and more tests

Codecov Report

Merging #94 (2bb241d) into master (dae4255) will increase coverage by 0.46%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   83.36%   83.82%   +0.46%
==========================================
  Files          29       28       -1
  Lines        2098     2096       -2
==========================================
+ Hits         1749     1757       +8
+ Misses        349      339      -10

Impacted Files
Coverage Δ

src/Backend/Options.jl
100.00% <ø> (ø)

src/Core/AtomicIntegrals.jl
99.33% <0.00%> (-0.67%)
:arrow_down:

src/Core/IntegralHelper.jl
100.00% <ø> (+1.47%)
:arrow_up:

src/Core/DIIS.jl
100.00% <100.00%> (+3.12%)
:arrow_up:

src/Core/Orbitals.jl
100.00% <100.00%> (+50.00%)
:arrow_up:

src/Core/PhysicalConstants.jl
100.00% <100.00%> (+66.66%)
:arrow_up:

src/Core/BasisSet.jl
100.00% <0.00%> (ø)

src/Methods/HartreeFock/HartreeFock.jl
100.00% <0.00%> (ø)

src/Methods/MollerPlesset/MollerPlesset.jl
100.00% <0.00%> (ø)

src/Methods/CoupledCluster/CoupledCluster.jl
100.00% <0.00%> (ø)

... and 4 more

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 dae4255...2bb241d. Read the comment docs.


⚠ ClamAV has degraded performance

In 2df5815, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 473 ms

Resolved: ClamAV performance has improved in 9ead63a after 11 minutes.


Change SagePay urls in Configuration.cs due to SagePay being taken over

Hi Jeremy
SagePay has been taken over by Elavon and they are retiring the urls. The new URLS are:
Testing Environment:
https://sandbox.opayo.eu.elavon.com/gateway/service/vspserver-register.vsp
Live Environment:
https://live.opayo.eu.elavon.com/gateway/service/vspserver-register.vsp
I've cloned the repo and changed the Configuration.cs and tried to run the sample app.
I'm getting a TLS error due to potentially this project targeting .NET 4.
I've tried to update the .NET target the projects compile on but same error:
The request was aborted: Could not create SSL/TLS secure channel.
request.ContentLength = requestData. Length;
using (var stream = request.GetRequestStream()) {
stream. Write(requestData, 0, requestData. Length);
I've also tried to force the security protocol in HttpRequestSender.cs but still the same error.
My machine is pretty ropey and was wondering if you're able to test it with the url changes to see if you can get any further?
Thanks

In my experience, re-targeting the project to >= .NET 4.7.2 solves the TLS issue as it'll use TLS 1.2 then automatically. That is the project which is using SagePayMvc, not SagePayMvc itself - so in your specific example, that'd be the sample app like you said.  I think this might also depend on the version of Windows that is in use, but I'm not sure of the specifics off the top of my head.
However I have also been in the same position as you (an older .NET 4 app running on an older Windows Server 2008 box) and in that instance, I added the following code to Application_Start in Global.asax.cs:
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;

The following links are useful for a bit more detail surrounding this (including caveats).

#24
https://support.quovadisglobal.com/kb/a433/how-to-enable-tls-1_2-on-windows-server-2008-r2.aspx
https://stackoverflow.com/questions/41478506/issue-to-use-tls-1-2-in-net-framework-4-0
https://docs.microsoft.com/en-us/officeonlineserver/enable-tls-1-1-and-tls-1-2-support-in-office-online-server#enable-strong-cryptography-in-net-framework-45-or-higher

Regarding the URLS, I can confirm that the change you mention should work. I haven't personally done exactly the same as you (i.e. updating the sample app and testing that) but I have tested my own existing app whilst referencing a custom build of SagePayMvc containing the changes against the Elavon test environment.
However, related to this, you'll also need to update the refund URLs, assuming you need that functionality. The communication about that part frankly could have been a little bit better IMO. I've got a fork of this repo and these are the two commits that deal with URLs:

https://github.com/markembling/SagePayMvc/commit/1888b6207692ade0eae8f841d4e0f78c0e8fa2bf
https://github.com/markembling/SagePayMvc/commit/e1464ca6ad40d6f36db765ed3eb70bb02e361cab

The relevant pages on the Elavon site are:

https://developer.elavon.com/products/opayo-server/v1/test-and-live-urls-4515
https://developer.elavon.com/products/opayo-shared-api/v1/urls-4714 (this covers other things out of scope in regards to SagePayMvc)

I do of course plan to contribute the changes back into this main repo but I'm also wanting to move to protocol v4.00 before doing that and that's not 100% ready to go just yet. In the meantime though, hopefully this answer helps you.

Hi Mark,
I'm glad I'm not the only one that has hit this. The dev machine is Win8, I've not tested it on the prod server which is Win 2012 Server.
As I say I've added code ServicePointManager.SecurityProtocol = Tls12 but it didn't make a difference and retargeted to .NET 4.6.2 and I'm wondering if the OS is the issue.
I'm tempted to create a new machine with Windows 11 on it and latest .NET framework and target the latest and see if it still compiles and runs.
Glad to hear just changing those URLs fixes the main issue though!

I'm not maintaining this anymore I'm afraid, but if one or both of you want to take it over let me know

I might be interested in that and as part of challenge to myself I'm playing around with it and I have some questions that I'll raise as issues if that's ok.

I have this compiling (on my fork) with the Config URLs just changed and it worked.
For a challenge I also have it compiling and tests passing against .NET8.

@jchannon I've sent you an invite to collaborate on the repo

👍 thanks!


HTTP requests are not URL encoding parameters

I tried to delete a rule group that includes a % in the name. I got an error with the following reasoning:
invalid URL escape "% n"

Command line inputs need to be sanitized before being used in a URL.

Also, I'm finding that any group with a / in the name cannot be deleted, even with URL encoding.

#24 resolves this issue


chore(tokio): add new_current_thread with unimplemented

... so that the API can be compatible with tokio while not breaking normal builds

CI failed due to

did a quick fix, need workflow approval 🤣


The possibility to set a timezone, then hiding the selector.

Is your feature request related to a problem? Please describe.
I love everything about this plugin, except that I would like the field to have a configurable hardcoded timezone. As of now I need to rely on the user to input the correct timezone.
Describe the solution you'd like
A possibility to override/set the timezone which would permanently set the timezone for the given field as well as hiding the timezone selector, leaving only the datepicker.
Describe alternatives you've considered
I've been trying to set the "initialValue"-property, but with no luck. And if I had been able to set the initial value of the timezone-selector then the timezone-field would still be visible.
Additional context
In my specific case the users are opting in to an event (that happens in a given timezone) and after opting in they also need to specify time slots where they are available for joining meetings during the event. In this case it is the event that controls the timezone, and the user controls the date and time of their time slots. Makes sense?

I'd gladly make a PR for this, if the author is interested in considering this feature.


GUACAMOLE-301: Clear login interface if navigation succeeds.

From GUACAMOLE-301:

The current login screen logic displays the prompt if credentials are requested and clears the prompt once login is successful, but this is partially incorrect. If the user navigates to a page which does not require authentication (such as one exposed by an extension), the login prompt will persist unless the entire interface is reloaded.
Because visiting a page will immediately result in credentials being requested if login is required, the login prompt should simply be cleared upon successful navigation.

Looks good to me.


[DB] Support writeParams

Feature Request
As discussed by the community, the wildcard writing standard should be based on a mixing of the EIP-5559 and CCIP-Read by introducing a writeParams call that returns all the required data for the offchain transaction.
Describe Preferred Solution
Support the writeParams call (signature below) and revert it using the EIP-5559 custom errors.
function writeParams(
    bytes calldata name,
    bytes calldata data
)
    external
    view;

Architecture Diagram
sequenceDiagram
  User ->> Client: Asks to set a text for test.eth
  Client ->> Client: namehash(name) = node
  Client ->> DBResolver: writeParams(name, calldata)
  L1Resolver -->> Client: OffchainMetadata{domain, url, message}
  Client ->> Gateway: HTTP request
  Gateway -->> Database: update data

done by #241


Improve Download with Index and Filename parameters

This PR does two things:

Add the ability to save or not to save the Index

Was possible before with kwargs={'index': False}.
I have kept it as True to follow the default used by pandas to_xxx methods.

Add Filename

If this is not defined, it will try self.view.title and thereafter self.view.pipeline.table and clean either of them up to be a valid filename. I have chosen not to do this with the parameter, as a user will expect the actually input to be the filename.

Code used for the filename:
import numpy as np
import pandas as pd
import panel as pn
from lumen.pipeline import Pipeline
from lumen.sources import FileSource
from lumen.views import Table
from lumen.views.base import Download

pn.extension("tabulator")

np.random.seed(1)
df = pd.DataFrame({"revenue": np.random.uniform(0, 10000, 30)})
df.to_parquet("data.parq")

source = FileSource(files=["data.parq"])
pipeline = Pipeline(source=source, table="data", name="Pipeline")

table = Table(
    pipeline=pipeline,
    download=Download(format="csv", index=False, filename="test"),
    # download=Download(format="csv", index=False),
    title="This is my ??test!!!!",
)
table

Codecov Report

Merging #438 (bc785c4) into main (5475c1a) will increase coverage by 0.02%.
The diff coverage is 73.68%.

@@            Coverage Diff             @@
##             main     #438      +/-   ##
==========================================
+ Coverage   69.25%   69.27%   +0.02%
==========================================
  Files          76       76
  Lines        8883     8896      +13
==========================================
+ Hits         6152     6163      +11
- Misses       2731     2733       +2

Impacted Files
Coverage Δ

lumen/views/base.py
64.93% <63.63%> (+0.13%)
:arrow_up:

lumen/util.py
68.39% <87.50%> (+0.74%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[BUG] dynamic_template throws class_cast_exception

Describe the bug
I trying to use dynamic_templates to map nested objects in a document as flat_object but receive the following error which has something to do with dotted field names:
{
  "error": {
    "root_cause": [
      {
        "type": "class_cast_exception",
        "reason": "class_cast_exception: class org.opensearch.index.mapper.FlatObjectFieldMapper cannot be cast to class org.opensearch.index.mapper.ObjectMapper (org.opensearch.index.mapper.FlatObjectFieldMapper and org.opensearch.index.mapper.ObjectMapper are in unnamed module of loader 'app')"
      }
    ],
    "type": "mapper_parsing_exception",
    "reason": "failed to parse",
    "caused_by": {
      "type": "class_cast_exception",
      "reason": "class_cast_exception: class org.opensearch.index.mapper.FlatObjectFieldMapper cannot be cast to class org.opensearch.index.mapper.ObjectMapper (org.opensearch.index.mapper.FlatObjectFieldMapper and org.opensearch.index.mapper.ObjectMapper are in unnamed module of loader 'app')"
    }
  },
  "status": 400
}

Related component
Indexing
To Reproduce
PUT _index_template/test_logs
{
  "index_patterns": [
    "test*"
  ],
  "template": {
    "mappings": {
      "dynamic_templates": [
        {
          "nested_object_fields": {
            "match": "*",
            "match_mapping_type": "object",
            "mapping": {
              "type": "flat_object"
            }
          }
        }
      ]
    }
  }
}

PUT test_logs/_doc/1
{
  "k8s.application.name": "test-app",
  "k8s.container.restart_count": "0",
  "k8s.namespace.name": "test",
  "k8s.pod.name": "test-app-9f45bf4b-v76fr",
  "network": {
    "ip_address": "<IP_ADDRESS>",
    "security_group_id": "sg-111111111111111",
    "subnet_id": "subnet-111111111111111",
    "vpc_id": "vpc-111111111111111"
  }
}

Expected behavior
The dotted field names should be mapped as text and nested objects should be mapped as flat_object when indexed.
Additional Details
Plugins
None
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: AWS Opensearch
Version 2.11

Additional context
Add any other context about the problem here.

[Triage - attendees 1 2 3 4 5 6 7 8]
@sharathganga Thanks for filing, we'd welcome a pull request to address this issue.

@peternied I'm not familiar with Java. Would anyone be so kind as to provide a fix for this problem? Your assistance would be greatly appreciated.
Also is there a workaround for this issue?


function scopus_df

this function gets the data from Scopus (.bib) and transforms it into a data frame. This is an example https://docs.google.com/spreadsheets/d/15I7DNXFtvT3N5ELQ6l5rXD51r5d8T9TtgPmDvdGGMnI/edit?gid=227674128#gid=227674128

Assigned @abritto2212
Deadline: Monday, September 30

I created the function bib_to_df, which takes filepath as an argument, corresponding to the path of the .bib file, and fields, which is an optional list that filters the fields in the DataFrame.


proventriculus "PR cell" [sf#39]

Reported by sjm41 on 2014-07-18 09:42 UTC
Please add 'PR cell' of the proventriculus to FBbt.
See FBrf0225140 - fig 1A and accompanying text.

Updated by mmc46 on 2014-08-13 17:07 UTC

status: open --> closed

Commented by mmc46 on 2014-08-13 17:07 UTC
The term 'larval secretory cell of the proventriculus has been added, with the synonym 'PR cell'.


Fix test failed with PySide due to delegate being deleted

Fix test failing with PySide

LGTM
Thanks for the fix


conditional checking fails

Below if different values of a, b are provided,the condition failed
failed cases are : abTest(-2,2) should return undefined
abTest(2,-2) should return undefined
// Setup
function abTest(a, b) {
// Only change code below this line
if(a < 0) { return "undefined";}
if(b < 0) { return "undefined";}
// Only change code above this line
return Math.round(Math.pow(Math.sqrt(a) + Math.sqrt(b), 2));
}
// Change values below to test your code
abTest(2,2);

Instructions
Modify the function abTest so that if a or b are less than 0 the function will immediately exit with a value of undefined.

Return the value undefined not "undefined" as a string.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined


Cu 8693z4817 plugin fix

This PR moves where the plugin is applied. Zeep plugins are applied before requests reach the transport layer, which is helpful for changing the XML structure but does nothing when multipart requests are being sent. As such, we have modified the code so that plugins are called inside the multipart transport.

Task linked: CU-8693z4817 MMS API service


Retry request after 503

Signed-off-by: Kevin Earls<EMAIL_ADDRESS>

@objectiser @pavolloffay @rubenvp8510 Please review


IOG serverless function + some fixes

resolved #2227, resolved #2684,

Motivation and context

Implemented IOG serverless function for interactive segmentation. Now it isn't possible to draw a bounding box. Thus you have to add 2 negative points using 2 right clicks on the right mouse button (top left and bottom right corners of the bounding box) and a positive point in the middle of the object.

Updated nuclio version till 1.5.16
All nuclio functions can be restarted after reboot (processor file is mounted as volume by nuclio mountMode: volume)
Interactive functions support negative points now (right click on the mouse button)
Refactored deploy_cpu.sh script (no code duplication anymore)
Fixed serverless/tensorflow/matterport/mask_rcnn

How has this been tested?

Manually deployed all functions and tested them.
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[x] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[x] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

@nmanovic
On Ubuntu 20.04 I have default installed python 3.8.5 and it leads to the next installation issues:
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - torchvision=0.2 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package _libgcc_mutex conflicts for:
python=3.8 -> libgcc-ng[version='>=7.3.0'] -> _libgcc_mutex=[build=main]
pytorch=0.4 -> libgcc-ng[version='>=5.4.0'] -> _libgcc_mutex=[build=main]

The command I used: nuctl deploy --project-name cvat   --path serverless/pytorch/shiyinzhang/iog/nuclio/    --platform local

Also there are some issues found by codacy in Python & markdown code

Coverage decreased (-0.03%) to 69.686% when pulling 5b33aca260446d20a0da019096a8154ac02350aa on nm/serverless_iog into c3b88ad4836d13985c27f8f377aa1e2ad075e318 on develop.

@bsekachev , @azhavoro , could you please one more time? It looks like all problems were fixed.

Works, but sometime strange.
Very depends on green point position

I suppose some headers in the patch were updated incorrect: 2020 -> 2021 instead of 2020-2021. What's more I don't really understand why they updated in files without any other changes

Works, but sometime strange.
Very depends on green point position

from abstract for the article: Concretely, we leverage an inside point that is clicked near the object center and two outside points at the symmetrical corner locations (top-left and bottom-right or top-right and bottom-left) of a tight bounding box that encloses the target object.

I suppose some headers in the patch were updated incorrect: 2020 -> 2021 instead of 2020-2021. What's more I don't really understand why they updated in files without any other changes

@azhavoro , could you please look at the issue?


Include resource usage extension in JupyterHub build

Users should be able to have an eye on memory usage.

Done.


Full Request/Response not logged because of missing TeeFilter

As far as I can see (may be mistaken) there is no configuration for the Logback TeeFilter.
So if you want the full request/response in your logging, for example:
logback-access.xml
<configuration>
    <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%fullRequest%n%n%fullResponse</pattern>
        </encoder>
    </appender>
    <appender-ref ref="CONSOLE" />
</configuration>

you will always see a blank responseContent.
This is because the AccessConstants.LB_OUTPUT_BUFFER attribute is never set by the TeeFilter.
The workaround is to manually configure a TeeFilter something like:
@Bean
public FilterRegistrationBean requestLoggingFilter() {
    FilterRegistrationBean filterRegistrationBean = new FilterRegistrationBean(new TeeFilter());
    // filterRegistrationBean.setInitParameters(...);
    return filterRegistrationBean;
}

and the request/response is logged.
Is omitting the TeeFilter auto configuration intentional or something that should be added?

Thanks for report!
Exactly, I currently do not provide TeeFilter.
I think there is no problem with your workaround.
I 'd like to support in a future versions.
I'm thinking to provide TeeFilter by Spring property (application.yml, etc).
for example:
logback.access:
  teeFilter:
    enabled: true
    includes: ...
    excludes: ...

Thanks.

Released in v2.10.0!


Bug: Microsoft word mixed text & image paste - Security issue

Lexical version: 0.12.4
Microsoft Word for Mac version: 16.78.3
Mac version: Monterey 12.6.7
See my next comment, but this error is specific to Firefox and Chrome. This error does not occur in Safari!
*Update: Just tested on windows. I can confirm this bug is present on Edge, Opera, Chrome and Firefox!
Steps To Reproduce

Create a simple docx with image and text. Select all and copy to clipboard.
Open lexical playground
Clear the editor, open your console and paste.

Here is the word doc:

I had a look at the source and am assuming this error stems from lexical/clipboard which is imported by lexical/rich-text
I would've attempted to fix but I don't want to mess with the source code!
The current behavior
An image node is inserted, but it is blank, due to error below - whilst the text is successfully pasted. Hence a faulty image node is inserted.
Error: Security Error: Content at https://playground.lexical.dev/ may not load or link to file:////Users/monkey/Library/Group%20Containers/UBF8T346G9.Office/TemporaryItems/msohtmlclip/clip_image001.png.

Additionally every click or paste in the editor after this results in the error repeatedly!
The expected behavior
For the image and text to successfully paste

Quick little update on the issue, I had another go tonight trying to isolate the issue.
The error is due to how the dataTransfer.getData('text/html') parses the word clipboard data differently between safari and chrome. Apparently Safari does some extra security parsing which returns this HTML:
"<html xmlns:o="urn:schemas-microsoft-com:office:office"↵xmlns:w="urn:schemas-microsoft-com:office:word…" (clipboard.ts, line 51)
"
<o:p></o:p>
Hihiih<o:p></o:p>"
As you can see above, safari converts the image src to a blob that it can locally show.
When I do the same in Firefox, the text/html returned by the DataTransfer object is about bloated 4 pages long Word security fillers and the src is not updated to a local blob. Hence why we get the security issue on the src!
"img width=236 height=216 src="file:////Users/monkey/Library/Group%20Containers/UBF8T346G9.Office/TemporaryItems/msohtmlclip/clip_image001.png" alt="A purple background with lines

Description automatically generated" v:shapes="Picture_x0020_1">"
So the issue is actually how the dataTransfer.getData method is parsing the clipboard data differently on safari and chrome! How could we even approach fixing this?

Read through some recently closed issues tonight and saw one about HMTL DOM and importDOM method. How did i forget about Lexical Serialisation docs for this?!
So now the key task is implementing an effective method to convert src file paths containing temp or word to blobs!

Will give it a shot when i have some time and update!
P.s i get lexical is super customisable, but where do we have a standard of interoperability though?

Read through some recently closed issues tonight and saw one about HMTL DOM and importDOM method. How did i forget about Lexical Serialisation docs for this?!
So now the key task is implementing an effective method to convert src file paths containing temp or word to blobs!

Thanks for the research, I would surprised you can do that because of security reasons. Browsers have limited access on the file systems they can access. In this case, MS Word should the one converting the clipboard to a blob. As for Safari, it looks like the conversion is being done by the browser (that has full control over the system) before it hits the product code but software like Pasteboard is showing how the clipboard contains file:///.

You got it! The clipboard contains the file:/// and safari is automatically fixing it into a blob which it can display!
Thanks for clarifying, that makes better sense! 🙏


[Tracker] WIP features for torchao 0.4

Release date: Aug 8 2024
Branch cut: Aug 2 2024
Developer Facing API

[x] static quantization flow example @jerryzh168
[ ] QAT refactor to generalize to other dtypes/techniques @andrewor14
[x] Int4 weight-only QAT

Developer Facing API use cases

[ ] hqq, hqq-mix subclasses (defer to next release) @HDCharles
[x] AffineQuantizedTensor layout cleanup @jerryzh168
[x] [postponed to 0.5] int4 weight only quantization change device support (e.g. cpu -> cuda) @jerryzh168
[x] sparse + quantization composability support @jcaip
[x] quantize kv_cache to int8 for gpt-fast/torchAO llama @HDCharles

Modeling user API

[ ] autoquant to use AffineQuantizedTensor @HDCharles
[x] [handed off to executorch team] torchchat/executorch compatibility @jerryzh168
[x] add sam-fast to torchao @jcaip

Documentation

[ ] add quantization overview to torchao doc @supriyar
[ ] Huggingface neural-magic SparseLlama 2:4 notebook

tracker for 0.5 is here https://github.com/pytorch/ao/issues/667


CropByMask node not found

Always get the error popped up as:
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because node LayerUtility: CropByMask does not exist.', 'details': "Node ID '#103'", 'extra_info': {}}
Error during image generation: cannot access local variable 'images' where it is not associated with a value
I already checked all the requirements, making sure they've been successfully installed. But i still get the error.

I need more details about how you use this workflow. Have you installed the missing nodes in ComfyUI?

Maybe it is the python problem. See the new quickstart step 1.

I encountered the same issue, and it says:
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because node LayerUtility: CropByMask does not exist.', 'details': "Node ID '#103'", 'extra_info': {}}
I installed ComfyUI and this should be the last step of generating the expected image. Oh, and it also says:
got prompt
!!! Exception during processing !!! ERROR: Could not detect model type of: C:\Users\Utter\Desktop\EveryoneNobel-main\ComfyUI_windows_portable\ComfyUI\models\checkpoints\XL_Nobel_Prizes_style-000005.safetensors
The terminal says:
Traceback (most recent call last):
File "main_without_openai.py", line 75, in
main(args.name, args.subject, args.content, args.image_path, args.comfy_server_address)
File "main_without_openai.py", line 46, in main
save_previews=True,
File "C:\Users\Utter\Desktop\EveryoneNobel-main\src\server.py", line 87, in prompt_image_to_image
prompt, output_path, input_path, filename, comfy_server_address, save_previews
File "C:\Users\Utter\Desktop\EveryoneNobel-main\src\server.py", line 104, in generate_image_by_prompt_and_image
return os.path.join(output_path, images[-1]["file_name"])
UnboundLocalError: local variable 'images' referenced before assignment

It seems that the issue might be due to incorrect model paths in the JSON file. You will need to modify all the model paths to point to your local directories.
Another solution is to run ComfyUI locally in your browser. Once it’s running, go to the settings and enable the "Dev Mode Options." You can export the workflow in API format as a JSON file. Use this exported JSON to replace the original resources/workflow/nobel_workflow.json.


CMake SOVERSION

This pull request sets the CMake SOVERSION to VERSION_MAYOR.VERSION_MINOR in order to avoid compatibility errors due to API changes in minor releases.
Please, accept the following pull request first:

[ ] https://github.com/eProsima/Micro-CDR/pull/43

Build status:

Linux
Windows


Missing spec for visibilityConfig in AWS CloudWatch metrics page

File: themes/default/content/registry/packages/aws/api-docs/wafv2/webacl/_index.md
I'm reading here: visibilityConfig

This property is required.
Property Map
Defines and enables Amazon CloudWatch metrics and web request sample collection. See visibility_config below for details.

But there is nothing below. I have searched for 'visibility' , 'metric' , and 'sample' and no useful hits on the page.
Clicking the 'Property Map' hyperlink goes nowhere

Here is equivalent terraform config

Thanks

One thing to note on this one is that it's one of those few resources that has > 200 nested types, so it's likely this one's being omitted:


Bump ashpd to 0.3

It should be nowadays possible to create a WindowIdentifier from raw-handle, in case someone wants to do that

Sounds good, thanks!


Microsoft.Extensions.DependencyInjection.Abstractions: Unable to resolve service for type '' while attempting to activate ''

I am stuck on this issue for hours now. I have tried every suggestions described in https://github.com/Azure/azure-functions-host/issues/4939 and https://github.com/Azure/azure-functions-dotnet-extensions/issues/14
public class Startup : FunctionsStartup
{
    public override void Configure(IFunctionsHostBuilder builder)
    {
        //builder.Services.AddHttpClient();
        builder.Services.AddScoped<IAccountService, AccountService>();

    }
}            public class AccountFunction
{
    private readonly IAccountService _accountService;

    public AccountFunction(IAccountService accountService)
    {
        _accountService = accountService ?? throw new ArgumentNullException(nameof(accountService));
    }

    [FunctionName("Account")]
    public async Task<IActionResult> Run(
        [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req,
        ILogger log)
    { .... }

NuGet Packages:
Microsoft.Azure.Functions.Extensions - v1.1.0
Microsoft.NET.Sdk.Functions v3.0.11
Microsoft.Azure.Functions.Extensions v1.1.0
I am debugging it in my local VS2019 environment.

@SGeorge007 Apologies for your experience. Please be noted that this repo(Azure docs) is primarily to drive improvements on Azure documentation.
Would request you to please create an issue with in Azure Functions Repo  so that right team can assist you accordingly. Thank you
We will close this issue for now, however if you have any further queries on Azure documentation please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


More formats?

I think it would be kinda cool if the book were available in more formats (for example, LaTeX, HTML, roff, and so on)
If you want, I can hack some scripts together to automate it. Just a thought though :)

Yeah, roff would be a good idea. I only don't know how it would go for stuff like images (because some items talk about X, and surely there will be pictures to show).
Other formats like html or pdf are okay, you all may redistribute this book in whatever form (don't forget the LICENSE when doing so, though).

Closing. Go to #4


Invalid copy of vector data block

The copy of data are using invalid length
(value.size() + 1) * sizeof(otext)

The vector is ending at value.size(), not value.size()+1, ocilib_impl.hpp:4179
Why is the length multiplied with sizeof(otext) ?
The definition of Raw is
typedef std::vector<unsigned char> Raw;

and otext is either
  typedef char              otext;

or
  typedef wchar_t           otext;

which leads to invalid length when compiling with OCI_CHAR_WIDE (2 times bigger size than allowed + 2 extra bytes).
The line 4179 must be
           memcpy(_data + (_elemSize * index), &value[0], value.size() );

template<>
inline void BindArray::BindArrayObject<Raw, unsigned char>::SetInData()
{
    if (_mode & OCI_BDM_IN)
    {
        std::vector<Raw>::iterator it, it_end;

        unsigned int index = 0;
        unsigned int currElemCount = Check(OCI_BindArrayGetSize(_pStatement));

        for (it = _vector.begin(), it_end = _vector.end(); it != it_end && index < _elemCount && index < currElemCount; ++it, ++index)
        {
            Raw & value = *it;

            if (value.size() > 0)
            {
===>             memcpy(_data + (_elemSize * index), &value[0], (value.size() + 1) * sizeof(otext));
            }
        }
    }
}

Hi,
Thanks again fro reporting issues :)
This was due to a faulty copy and paste action coupled to a missed test in OCI_CHARSET_WIDE builds
Fix committed.
Regards,
Vincent


offline transformation using pretrained model

Hi,
I have trained a tanda model and I would like to use it to generate several transformations of my dataset and save it to disk. Is there any exemplar script which can give me some hints how to do that?
Many thanks

Hi @af3113, sorry for the late response. Check out https://github.com/HazyResearch/tanda/blob/master/keras/utils.py for an example of loading in a pretrained TAN. From there, you can loop over your original data and call TAN.transform(...), saving the output to disk.


Update readme.md

Contribution Guidelines
Please ensure your pull request adheres to the following guidelines:

Search previous suggestions before making a new one, as yours may be a duplicate.
Make an individual pull request for each suggestion.
Use the following format: Bookmark Title: Description.
The title usually consists of several words. For bookmarks of an article or tutorial, use the title of the article.
The description consists of one-two sentences about the bookmark. It is required.
If the resource has 2 or more links please provide the Github repo link.
Additions should be added to the bottom of the relevant category.
New categories or improvements to the existing categorization are welcome.
Check your spelling and grammar.
Make sure your text editor is set to remove trailing whitespace.
The pull request and commit should have a useful title.

Thank you for your suggestions!

@datquocnguyen there seems to be a conflict. Could you resolve this?

I am sorry. That's my mistake. I accidentally removed my forked project. I am going to close this pull request and make another one. Thanks.


PUT /user never finishes

On freme-dev it is not possible to change a password. On a local instance this does not happen.
Is this related to #57?
@jnehring any ideas?

I will investigate on this.


Fix responsive layout

This attempts to fix #70 by clearing timers after use and removing unnecessary updates.

Oh, looks like I'm not the only one lagging on stuff. Anyone had the time to look into this yet ?


Fix a typo

As mentioned in https://github.com/rust-lang/rfcs/pull/2342#discussion_r181550902

Thanks!


Fix: Set minimumAmount to null for fixed tier amount

Coverage increased (+0.01%) to 66.242% when pulling 64c4f24a3e4352ea3dcda4b1e9370840480e7f19 on fix/minimumAmount into 21fbe410a0f2bb183eaa37571857ad4ba2cbcf1f on master.


Delete added Regex pattern from database

AS A Data Management Interface user
I WANT TO delete a given Regex pattern from a database
IN ORDER TO clean my data and keep Regexs list up to date.
Acceptance Criteria:

[ ]  I can click on 'Delete' on DMI View
[ ] If I click 'Delete' then confirmation is asked
[ ] If I confirm then specific Regex pattern is softly deleted from a Postgres database via Ruuter and ReSQL.

@alimuhammadahmer @kunnark

This issue is marked as "In progress" but should be groomed first;
ACs must contain all REST endpoints used to get the result;
"If I confirm then specific Regex pattern is softly deleted from a Postgres database via Ruuter and ReSQL" - please keep in mind that we don't allow using "UPDATE" and "DELETE" SQL queries. This results in writing different kind of SQL queries.

Delete Regex Mapping Ruuter Endpoint:
POST /delete_regex
Delete Regex Mapping Resql Endpoint:
POST /delete_regex

@alimuhammadahmer @kunnark

This issue is marked as "In progress" but should be groomed first;
ACs must contain all REST endpoints used to get the result;
"If I confirm then specific Regex pattern is softly deleted from a Postgres database via Ruuter and ReSQL" - please keep in mind that we don't allow using "UPDATE" and "DELETE" SQL queries. This results in writing different kind of SQL queries.

Moved to status 'Backlog'
Endpoints added
We will add new regex with latest timestamp with the same id to not use nor UPDATE or DELETE


History view for old tasks

Adds a view to let admins view historical task data.
Allows sorting by created time and selection of data ranges.
Should show a simplified view to see information about the task, but cannot be edited.
A button could allow navigating to the task on the dashboard, but this button will be disabled if the task is archived (once the archive script work is merged).

Codecov Report

Merging #136 (7b89d43) into master (450f507) will decrease coverage by 0.28%.
The diff coverage is 48.89%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
- Coverage   59.61%   59.33%   -0.28%
==========================================
  Files         304      318      +14
  Lines       10010    10460     +450
  Branches     2539     2629      +90
==========================================
+ Hits         5967     6206     +239
- Misses       3678     3892     +214
+ Partials      365      362       -3

Impacted Files
Coverage Δ

src/components/CommentsBadge.tsx
85.71% <ø> (-1.79%)
:arrow_down:

src/components/DaysSelection.tsx
100.00% <ø> (ø)

src/components/LoadingSpinner.js
92.15% <ø> (ø)

src/components/UserChip.tsx
81.48% <ø> (+18.51%)
:arrow_up:

src/graphql/mutations.ts
0.00% <0.00%> (ø)

src/graphql/queries.ts
0.00% <0.00%> (ø)

src/graphql/subscriptions.ts
0.00% <0.00%> (ø)

src/models/schema.js
100.00% <ø> (ø)

src/navigation/MainWindow.js
0.00% <0.00%> (ø)

src/navigation/NavDrawerItems.js
0.00% <0.00%> (ø)

... and 12 more

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

This looks great, good to be able to find data older than 2 weeks, is this separate to the CSV file or same but the above screenshot suggests it's now in a different format?

It's separate to the CSV export. There isn't a way to export data form this view. More or less it's for admins who want to look up some job that happened in the past.
Like if we want to know what happened (who, where, when, etc.) of a job from 6 months ago then we can find it with this view.
Of course it probably could be used for stat counting too if it's easier than reading the CSV. We just have to bear in mind that the way this view is sorted and the timestamps are the time the job is created.

Okay thank you, so will this mean we still can’t run a CSV file older than 2 weeks?Kind regardsJoe TookerOn 31 Mar 2023, at 21:03, Theo @.***> wrote:
This looks great, good to be able to find data older than 2 weeks, is this separate to the CSV file or same but the above screenshot suggests it's now in a different format?
It's separate to the CSV export. There isn't a way to export data form this view. More or less it's for admins who want to look up some job that happened in the past.
Like if we want to know what happened (who, where, when, etc.) of a job from 6 months ago then we can find it with this view.
Of course it probably could be used for stat counting too if it's easier than reading the CSV. We just have to bear in mind that the way this view is sorted and the timestamps are the time the job is created.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Okay thank you, so will this mean we still can’t run a CSV file older than 2 weeks?

Not yet. We could look at that next if you like. I'm just keen to nail down requirements and workflow before I start on anything.


[#5276] Update code analysis to latest VS recommendations - Fix error rules - Part 1

Addresses # 5276
#minor

IMPORTANT!
Note: These changes are being address as part of enabling the .NET Analyzers library in the PR # XXX.

Description
This PR replaces all the Logger methods' calls (LogInformation, LogError, etc) with defining the output using the LoggerMessage.Define method.
List:

CA1848
CA2254

Specific changes

Add Log private class for each class that is using the Logger, which contains all the methods and defined messages.
Update all Logger methods' calls to use the Log methods for each impacted class.

Testing
This image shows the CI pipeline successfully running after the changes.

promoted 6246


Rename COURSEINFO repository type to just INFO

This just renames the COURSEINFO to INFO.
Fixes #685.

Codecov Report

Merging #686 (fc8c0fc) into master (3d4536f) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #686   +/-   ##
=======================================
  Coverage   23.33%   23.33%
=======================================
  Files          70       70
  Lines       10322    10322
=======================================
  Hits         2409     2409
  Misses       7587     7587
  Partials      326      326

Flag
Coverage Δ

unittests
23.33% <0.00%> (ø)

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

Impacted Files
Coverage Δ

qf/repo.go
22.00% <0.00%> (ø)

qf/types.pb.go
7.72% <ø> (ø)

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 3d4536f...fc8c0fc. Read the comment docs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 25.898%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qf/repo.go
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2776

Relevant Lines:
10719

💛  - Coveralls


Added option to allow relative links

Could you please add some content to this PR to (at least) explain what it includes.
I have now added a PR template which might help you with what to include;
# Description

Describe:

* Content of the pull request
* Feature added / Problem fixed

## References

Provide any github issue fixed (as in ``Fix #XYZ``)

# Checklist

* [ ] I have ran `tox` to ensure tests pass
* [ ] Usage documentation added in case of new features
* [ ] Tests added / I have not lowered coverage from 100%

@azaitsev it'd be good to get this merged. Can you take a look at the conflict please?

allow_relative support is dropped by bleach in 2013 but there README is not up to date.

Thanks @Laityned
In that case I'll close this.


MyEtherWallet extension for Firefox

First of all—I will dash out a few issues today, but please know that it's not insatiability from my end. I thank you very much for the amazing product you brought about!
I'm wondering if you're planning porting MyEtherWallet CX to Firefox. Google's browser is avoided by many for suspicion of its security and this is amplified when it comes to cryptocurrency. The dist release runs well in Firefox, but lacks a number of features compared to CX. And opening the CX's files in Firefox doesn't produce an operational interface.

Into the backlog too. I'm just killing you today.
I just heard that jaxx is discontinuing their FF extension. Any insights into why?

They don't tell either. https://decentral.zendesk.com/hc/en-us/articles/115000276854
On twitter, they said something like they have problems with Firefox addons.
It is interesting that they decided to do so after the public realized their wallet security is extremely low and  the implementation is even worse. And they handled this with saying "not our problem, don't use it for big amounts".  In fact I'd rather they discontinue all their products.

The good news is Firefox add-on now support almost the same API of chrome extension, I follow the doc and ran their web-ext tool and MyEtherWallet extension icon can show correctly on FirefoxNightly.
Though to ship onto Firefox addon, there are some lint issues need to be solved from MyEtherWallet side.
Here's the web-ext lint result
$ web-ext lint
Validation Summary:

errors          2
notices         1
warnings        17

Error:

jquery-1.12.3.min.js is too old and unsafe, need update. more details https://bit.ly/1TRIyZY
etherwallet-master.js is larger than 4mb, which will not be parsed

Warnings:

avoid assign innerHTML if possible
Firefox addons runs in strict mode which does not allow inline JS.
(helpers.html, cx-wallet.html contain inline JS)

jQuery is only used for paper wallet and should be converted and removed.
In v4 we inline the paper wallet on HTML page to eliminate problem and remove elements you don't want to print via css

For too large, we need to test uglified v again (last time it broke some things) or see if there are unused things we can remove. Contract abis come to mind. Probably some libs. The translations are way smaller in 3.10 so that alone by?

Maybe** (I hate GitHub moble)

Just looked into this a bit as I am interested in using it with ffx.
Current state:
Errors:

jquery - what should it be converted to?
you mentioned 3.10 maybe being smaller, as observed from Github it actually got bigger with etherwallet-master.js going from 4.66 to 5.03 MB (more or less)

Warnings:

says that custom csp needs additional review/more time
but in return, innerhtml/inline script are then allowed by this csp afaik

Would be great if I can do somethign to help with this vor v4 if necessary, but I do not want to randomly remove stuff to make etherwallet-master.js smaller if that is the main thing stopping this.

Is there any update?


RFE: Add Len() to sync2.Map

It would be handy to have a way to get the # of elements in a map.
Thank you!

Hello @FGasper, great suggestion!
Will add

Available in v4.3.0

@jilleJr Thank you. :)


Appears to not support Python versions below 3.10

Your documentation indicates this library supports Python 3.6+.  I'm currently trying to use this library in my Python 3.9 environment but I'm receiving this error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Input In [1], in <cell line: 1>()
----> 1 from lunarcrush import LunarCrush
      3 lc = LunarCrush()

File ~/miniconda3/envs/trading/lib/python3.9/site-packages/lunarcrush/__init__.py:2, in <module>
      1 from lunarcrush.lcv2 import LunarCrush
----> 2 from lunarcrush.lcv3 import LunarCrushV3
      4 __all__ = ['LunarCrush', 'LunarCrushV3']

File ~/miniconda3/envs/trading/lib/python3.9/site-packages/lunarcrush/lcv3.py:8, in <module>
      4 import urllib.parse
      5 from lunarcrush.base import LunarCrushABC
----> 8 class LunarCrushV3(LunarCrushABC):
      9     _BASE_URL = 'https://lunarcrush.com/api3'
     11     def __init__(self, api_key):

File ~/miniconda3/envs/trading/lib/python3.9/site-packages/lunarcrush/lcv3.py:77, in LunarCrushV3()
     61     """
     62     Get a general snapshot of LunarCrush metrics on the entire list of tracked coins. It is designed as a
     63     lightweight mechanism for monitoring the universe of available assets, either in aggregate or relative to each
   (...)
     73     :param bool desc: Pass any value as desc and the output will be reversed (descending).
     74     """
     75     return self._request('/coins', sort=sort, limit=limit, desc=desc)
---> 77 def get_coin(self, coin: str | int) -> dict:
     78     """
     79     Get a robust and detailed snapshot of a specific coin's metrics. This endpoint was designed to provide a
     80     granular look at the coin at the timestamp that the call is made. Depending on the call frequency, can be used
   (...)
     86     :param str coin: Pass any value as desc and the output will be reversed (descending).
     87     """
     88     return self._request(f'/coins/{coin}')

TypeError: unsupported operand type(s) for |: 'type' and 'type'

I looked up the pipe syntax for typing and it appears to have been added in PEP 604 which wasn't added until Python 3.10.

Thank you for comment. The issue is already solved!


Boot Loop Prevention

Add statefulness to prevent boot loops so that a given number of consecutive failures or a failure of a certain duration causes different behavior than endlessly rebooting.

Check that time has had sufficient uptime before performing health checks.
A frequent script run interval will cause issues otherwise. The gateway takes approximately a minute to start up and will take a moment to connect to a band after the API is available, and a further slight delay until the 5G band connects under EN-DC.
Endpoint for gateway uptime:
GET /dashboard_device_info_status_web_app.cgi HTTP/1.1
Host: <IP_ADDRESS>
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Connection: keep-alive
Referer: http://<IP_ADDRESS>/web_whw/
Cookie: lsid=REDACTED
Pragma: no-cache
Cache-Control: no-cache

HTTP/1.1 200 OK
Cache-Control: no-store,max-age=0;, no-store,max-age=0;
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval'
Strict-Transport-Security: max-age=2592000; includeSubdomains
Content-type: text/html;charset=UTF-8
Content-Length: 2119
Date: Wed, 29 Sep 2021 21:02:48 GMT

{"device_app_status":[
{
"ManufacturerOUI":"REDACTED",
"ProductClass":"REDACTED",
"SerialNumber":"REDACTED",
"HardwareVersion":"REDACTED",
"SoftwareVersion":"1.2101.00.1609",
"Description":"FM 5G Gateway 2 T-Mobile",
"UpTime":729,
"lot_number":"REDACTED"
}
],
"device_cfg":["REDACTED"],
"bluetooth_status":[
{"Enable":0,
"Status":"Down"
}]
}

Uptime accessible via `response.json()['device_app_status'][0]['UpTime']``

If a check interval is frequent enough that a check is performed when there is insufficient uptime, it is unlikely necessary to make the script sleep because another check will be performed soon. Avoiding sleeping will allow mechanism like cron to work with short intervals by avoiding long-running script execution times. This is not an issue with systemd timers, which ensure that a task is not actively running before triggering a run.

Allow the boot loop prevention uptime check to be configurable with a sane default threshold.


Multiple GPU Support

I have 2 2070 supers and would love to be able to use them in parallel. Would be possible to enable memory pooling. I know it is in theory supported by pytorch. Any chance it can be added here so that memory from multiple GPUs can easily be used for one model quantized model?

Thank you for your suggestion! And yes, theoretically this can be done by doing tensor parallelism just like what TGI have done, will consider this as a future feature. For now I would highly recommend all users to use TGI for multiple GPU high performance inference.

@PanQiWei @Qubitium @TheBloke
Could we use multiple GPUs to do the quantization now?
Thank you very much in advance!
Best regards,
Shuyue
Aug. 2nd, 2024

@SuperBruceJia
You can/need to assign multiple gpus for quantization due to vram size of layers for very large models.  However, there is no parallel quantization feature and even if multiple gpu is used, only 1 gpu will be active any moment.

@Qubitium
Thank you very much for your reply.
When I use model.quantize(), only one GPU (cuda:0) is running. Do you have any advice on how I can use multiple GPUs?
Thank you very much again, and have a nice day!
Best regards,
Shuyue
Aug. 2nd, 2024

Tensor parallel is not supported in quantization so there is no way to use multiple gpus in parallel.


Balder/make element attribute iterator

@havardpe PR

@toregge please have a look at the low-level attribute code as well to see if you agree

@havardpe Now all comments are addressed.


[WIP] check for null HtmlNode and report error

Some tests have been flaky because HtmlDocument.DocumentNode was null which indicates an issue parsing the HTML.  In an attempt to discover the issue I've added a wrapper that reports the parsed HTML if DocumentNode was null.
Marking as work-in-progress because I expect to reset the tests repeatedly.

The null value seems to come from .SelectSingleNode().  One failing test which was looking for "//pre/code" had the HTML contents of:
<div class="notification is-danger">
  <svg ...>
  </svg>
  Package named "console" not found.
</div>

So the missing packages appears to be the root cause of most test flakiness.

I think this is a concurrency issue on creation of these package assets on-disk during test runs.


Update README.md

Adding release notes and versioning information to the README
Fixes #45

@jaybee84 done!


add liteX and migen platform

the list forget  liteX and migen(nmigen) platform ^_^

Thank you for pointing out the omission of the liteX and migen(nmigen) platforms.
Your input is valuable to us. We encourage you to contribute to the list by following the guidelines provided in the contribution link. Your expertise and knowledge would be a great addition to our resources. 😊


[ASP-2608] Add reservation system support

What
Add creation of system user, Slurm account and bind the user to the account.
This was added to the install hook.
Why
To set up the license-manager user to make the agent capable of managing reservations.
Task: https://jira.scania.com/browse/ASP-2608

Peer Review
Please follow the upstream omnivector documentation concerning
peer-review guidelines.

I agree that we should remove the account and user when the agent is uninstalled.
@jaimesouza I added the commands to remove the system user, Slurm account and Slurm user.


[Enhancements]: Display Error

What is going on?
When I entrance app:

I can't see Search Controls
I click on button Gallery -> It don't display anything you need click back to Home and after that click on Gallery back
When you on Galley -> Syncfusion -> More detail to open the new page -> It can't do it and got out of the program
When you on Galley -> Syncfusion -> SfRadialGauge, SfDataGrid -> More detail to open the new page-> I don't know It empty or no data
When you on Galley -> Built-in-> Check Box-> More detail to open the new page -> It can't do it and got out of the program
When you on Galley -> Built-in-> Application Settings JSON -> Detail and More detail to open the new page -> When I roll to the end and click on Show me those settings -> The program is closed
RefershView do not display all data or because my Windows doesn't assit
StackLayout -> More detail to open the new page -> Some Data  missing ?
TabbedPage -> Detal -> I can't back to Menu Galley
VerticalStackLayout -> More detail to open the new page -> It can't do it and got out of the program

@nhatminh1401 we move this to discussions yet ?


token: Bump C bindings

I really just wanted to pick up the InitializeAccount2 instruction enum variant, but it looks like this hasn't been done in a while...
I've tried to split the diff into related changes to ease review.  They're mostly cosmetic and comments changes.  Outliers being COption and Pubkey being moved to the solana-program crate (https://github.com/solana-labs/solana-program-library/commit/4d8fe2d6be4425183b03fac2436fcb04ab9bba25) and the addition of InitializeAccount2 (https://github.com/solana-labs/solana-program-library/commit/aa81dbd7dc65c6ea99f3cee4d56705ab7adb55a3)

Looks good @t-nelson , i wonder if pinning the cbindgen version would help minimize changes unrelated to our direct edits?

i wonder if pinning the cbindgen version would help minimize changes unrelated to our direct edits?

I was thinking the same. I'll add an issue now and try to get to it in a followup


[WIP][I-50][R4ML-123] new MLContext API

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Build triggered.

Unit test failed.

Failed tests:
OK: 679 SKIPPED: 9 FAILED: 53
1. Error: r4ml.als (@test-ml.model.als.R#27)
2. Error: r4ml.als_regularization (@test-ml.model.als.R#43)
3. Error: r4ml.als_weighted_regularization (@test-ml.model.als.R#59)
4. Error: r4ml.als_altered_rank (@test-ml.model.als.R#75)
5. Error: r4ml.als_all_parameters (@test-ml.model.als.R#91)
6. Error: r4ml.coxph model (@test-ml.model.cox.R#74)
7. Error: r4ml.glm (@test-ml.model.glm.R#29)
8. Error: predict.r4ml.glm (@test-ml.model.glm.R#59)
9. Error: r4ml.glm accuracy (@test-ml.model.glm.R#89)
1. ...

Build triggered.

Unit test failed.

Build triggered.

Unit test failed.

Build triggered.

Unit test failed.

Build triggered.

Unit test failed.

Build triggered.

Unit test failed.

Build triggered.

Unit test failed.

Build triggered.

Build success.
All unit tests passed.

Build triggered.

Build success.
All unit tests passed.


Issue69

Merged PR in my fork from @michaeldfallen.

see PR #77.
This is allow the 5 minute fetch to work on OSX as well as Linux distros such as Ubuntu.

Looks good :+1: Merging!


Align Cilium version in Vintage AWS to CAPA

In Vintage AWS v20, we currently ship cilium-app v0.19.2 (cilium v1.14). On the other hand, CAPA is using the cilium-app v0.22.0 (cilium v1.15)
Coming from https://github.com/giantswarm/roadmap/issues/3321, the idea is to patch the vintage release and align it to CAPA.
We should do a few checks to know if it'd be possible to patch the vintage release in place or we'll need to aim for a new version.

Test upgrade from v19 to v20 with cilium-app v0.22.0.
Test upgrade from v19 with ENI mode enabled to v20 with cilium-app v0.22.0.

In both cases it'd mean upgrading cilium from v1.13 directly to v1.15.

Cilium official recommendation performing incremental upgrades between versions.
https://docs.cilium.io/en/stable/operations/upgrade/#version-specific-notes

Discussion on SIG Arch:
https://gigantic.slack.com/archives/CN9LXS96U/p1712044149019049

options:

make v20.1.0 (cilium 1.15) the last vintage release. upgrade path would be then v19 (cilium 1.13) -> v20.0.x (cilium 1.14) -> v20.1.x (cilium 1.15) -> CAPA (cilium 1.15)
patch v20.0.0 in place. this is where the 1.13 -> 1.15 cilium upgrade comes from
downgrade CAPA
patch v20.0.0 in place for clusters that are already in v20
let it be and assume the risk of upgrading the app during the migration

In the CAPA Migration WG we decided to:

Test Vintage upgrade from v19 to v20.0.1 (this is jumping 2 Cilium versions).
Evaluate the effort of downgrading CAPA to Cilium 1.14.
Test migration with misaligned versions with ENI.

v20.0.1 already

I've done another test but with ENI mode enabled this time.
For this test I increased the load by running k6-operator on gaia and using this TestRun:
The upgrade was done from v19.3.2 (Cilium v1.13) to v20.0.0-mati (Cilium v1.15).
The results show a drop in traffic, with increased latency (buffering) and just little error. Note that Cilium was replaced just before 22.50 (note that drop in traffic).
As for the rest of the upgrade, it went smooth.

I had some problems while trying to test the migration with ENI mode (both setups are not yet the same). So I'm leaving those tests for later.

@T-Kukawka With all this, I think we should go with the latest version of Cilium on v20.0.1  and jump 2 cilium versions in case customers go from v19.3.x to v20.0.1.

@T-Kukawka With all this, I think we should go with the latest version of Cilium on v20.0.1  and jump 2 cilium versions in case customers go from v19.3.x to v20.0.1.

Nothing else to do for now here.


How can store selected markers in local storage

It’s just an example and you should save the following variable using some package.
Only the problem with the example code is that Marker class does not implement any serialization code.
https://github.com/espresso3389/pdfrx/blob/b126686d611e6d1eaf7ccf840df7417ab25b4cf5/example/viewer/lib/markers_view.dart#L4


ediff file is hard to distinction the different

I use doom-one theme, when I run ediff file , face of different is very similar the background color, how hard to distinction that. I must have to load  another theme then.

As of 1e2be0c, this should be resolved across all of Doom's themes, so I'll consider this resolved. Feel free to reopen if it doesn't work or you don't think it's enough.


Custom validation for webhooks

Fixes: #1225

Remove unique validation on webhook model
Create a custom validation for webhooks UI and API with better error reporting

Also, since this involves a new extras database migration, IMO we should target this for next rather than develop - otherwise we'll have to renumber all of the new extras migrations already present in next after this gets merged, which will be a pain.


Add repo to dotabap.org

You should consider adding your repo to https://github.com/dotabap/dotabap-list. It will be listed on https://dotabap.org/ and will be visable to a lot more fellow abap developers.

Appreciate it, I Added the project to the list via a PR.


Add lock for updating width and height

Ran into race condition here, and this pr can fix it.

Thanks again, @kiyonlin!

Thanks again, @kiyonlin!

 Looking forward to the release 😄


Could not find module 'SwiftDate' for target 'x86_64-apple-ios-simulator'

Could not find module 'SwiftDate' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: /Users/ftrybe/Library/Developer/Xcode/DerivedData/ITime-ios-geaxfifbblgkyvfqyrhqkcgisujo/Build/Products/Debug-iphonesimulator/SwiftDate.swiftmodule。

Any supports please?

I am also having this issue on an M1 Mac. I am able to workaround this by running Xcode in Rosetta. Are there any updates on M1 support?

@Ftrybe also running into this issue. Why did you close this issue? Were you able to resolve it?

@Ftrybe also running into this issue. Why did you close this issue? Were you able to resolve it?
Rosetta...


requests-cache breaks other backends

I've been having a issue where some other backends that use the requests module had stopped working properly. I tracked it down to the fact that mopidy-youtube is creating a cache using requests-cache. This cache is global and as such it breaks the functionality of all other backends that use web requests (which is a great many of them).
There are other caching options available but it seems to me it's easier just to disable it.

Agree. I've actually been meaning to remove it anyway - it doesn't really seem to improve performance in ordinary use situations.
Thanks for raising the issue.


fix: restore old unique id structure in AlertsSensors

Related Issues
Proposed Changes:
Change how is generated the uniqueID for Alerts and revert to old method for backward compatibility
Testing:
Extra Notes (optional):
Checklist

[X] Related issues and proposed changes are filled
[X] Tests are defining the correct and expected behavior
[X] Code is well-documented via docstrings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.348%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
432

Relevant Lines:
498

💛  - Coveralls


Fix mark_to_set bug

Deal correctly with ignored variants (0,1,2,subj,none) (used in Greynir.grammar). Fix 1/2/3p -> p1/2/3 regex with non-capturing look-behind group. Added corresponding tests.

I'll also format the files with black when the reviewing is finished (modifies too many things which would clutter the small PR, docstrings mostly)


Aluminium vs. Aluminum Tconstruct smeltery

Version:
MC 12.1
exnihilocreatio-1.12-0.1.3
TConstruct-1.12-<IP_ADDRESS>
Aluminium ore chunks are not recognized in the tinker's smeltery, I suspect this has to do with oredict oreAluminium and oreAluminum

Fixed in the dev version, not released yet tho
On Sa., 2. Sep. 2017, 02:00 Andras32<EMAIL_ADDRESS>wrote:

Version:
MC 12.1
exnihilocreatio-1.12-0.1.3
TConstruct-1.12-<IP_ADDRESS>
Aluminium ore chunks are not recognized in the tinker's smeltery, I
suspect this has to do with oredict oreAluminium and oreAluminum
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/21, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHwpZu5g66vA26GbFBIVN2ic7RH-XGhAks5seJqEgaJpZM4PKu-H
.


access localhost return [::1] [Bug]

Verify steps

[X]  确保你使用的是本仓库最新的的 mihomo 或 mihomo Alpha 版本 Ensure you are using the latest version of Mihomo or Mihomo Alpha from this repository.
[ ]  如果你可以自己 debug 并解决的话，提交 PR 吧 Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
[X]  我已经在 Issue Tracker 中找过我要提出的问题 I have searched on the issue tracker for a related issue.
[X]  我已经使用 Alpha 分支版本测试过，问题依旧存在 I have tested using the dev branch, and the issue still exists.
[X]  我已经仔细看过 Documentation 并无法自行解决问题 I have read the documentation and was unable to solve the issue.
[X]  这是 Mihomo 核心的问题，并非我所使用的 Mihomo 衍生版本（如 OpenMihomo、KoolMihomo 等）的特定问题 This is an issue of the Mihomo core per se, not to the derivatives of Mihomo, like OpenMihomo or KoolMihomo.

Mihomo version
alpha-16fadd2
What OS are you seeing the problem on?
No response
Mihomo config
无

Mihomo log
No response
Description
Causing localhost to be unusable

mihomo will read the system hosts and give the response, so this is the expected behavior. The system hosts usually contains a mapping of localhost to [::1]

@xue-lei Check your hosts file and delete the mapping from localhost to [::1]

@xishang0128  I didn`t set it up

@xue-lei https://wiki.metacubex.one/config/dns/#listen  尝试设置dns监听,然后用dig/nslookup对着mihomo的dns监听端口查询localhost

@xishang0128

所以和内核无关


The official website is down, and an error is reported

yarn run v1.22.19
$ prisma migrate deploy
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": MySQL database "umami" at "rm-bp12k5m7wx3jrs06oeo.mysql.rds.aliyuncs.com:3306"

1 migration found in prisma/migrations

Applying migration `01_init`
Error: P3018

A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Migration name: 01_init

Database error code: 1071

Database error:
Specified key was too long; max key length is 767 bytes

Please check the query number 1 from the migration file.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn run v1.22.19
$ prisma migrate deploy
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": MySQL database "umami" at "rm-bp12k5m7wx3jrs06oeo.mysql.rds.aliyuncs.com:3306"

1 migration found in prisma/migrations

Applying migration `01_init`
Error: P3018

A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Migration name: 01_init

Database error code: 1071

Database error:
Specified key was too long; max key length is 767 bytes

Please check the query number 1 from the migration file.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

可能是索引的问题,rds地址露出来了

yarn run v1.22.19
$ prisma migrate deploy
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": MySQL database "umami" at "rm-bp12k5m7wx3jrs06oeo.mysql.rds.aliyuncs.com:3306"

1 migration found in prisma/migrations

Applying migration `01_init`
Error: P3018

A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Migration name: 01_init

Database error code: 1071

Database error:
Specified key was too long; max key length is 767 bytes

Please check the query number 1 from the migration file.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

可能是索引的问题,rds地址露出来了

ok，谢谢，那个也快过期了没事

I think this has been fixed in MySQL versions 5.7 and up. I'm going to bump up the version check in check-db.js to 5.7. Upgrade your version if possible


Remove deprecated ocean-api-client/src/RawTx

What would you like to be added:
As per title.

/triage accepted
/area packages


Improve search speed

Improve search field using stored attribute and database index, requires postgres 12 or higher
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Blocked by https://github.com/rails/rails/pull/39368


test: use T.Setenv to set env vars in tests

What type of PR is this:
/kind cleanup

What does this PR do / why we need it:
This PR replaces os.Setenv with t.Setenv. Starting from Go 1.17, we can use t.Setenv to set environment variable in test. The environment variable is automatically restored to its original value when the test and all its subtests complete. This ensures that each test does not start with leftover environment variables from previous completed tests.
This saves us at least 2 lines (error check, and unsetting the env var) on every instance.
Reference: https://pkg.go.dev/testing#T.Setenv
Which issue(s) this PR fixes:

PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

/ok-to-test

Thanks @Juneezee for these changes
/lgtm
/approve
/override windows-integration-test/Windows-test

/override  ci/prow/v4.10-integration-e2e


Save renamings when clicking out of text fields

Context
When renaming maps, layers or widgets ENTER should be typed in order to save the changes. We've observed a big percentage of users expect those changes to be autosaved by clicking out of the text field.
Steps to Reproduce

Double click into a map name, layer name or widget name.
Type a new name
Clic out of the box

Current Result
Name is not changed
Expected result
Name should be changed to what has been typed

@saleiva @noguerol
Should we leave any way for the user to discard their changes?
Technically, clicking outside is handled the same way as hitting ESC, so we leave no real way of ignoring user input, besides trusting that the user will undo their changes.

As a proof of concept, I am 'undoing' the changes if the user hits ESC.

@rjimenezda using esc to "cancel" edits looks natural. Like it.

Deployed.


feat(docker): adds part to README + updates prod environment URL

This should close #2.
If there is anything you're missing inside the README, just tell me!
Also, I read the rest of the README, pretty good work!
Last but not least, I updated the URL of the production-server that we no longer depend on Heroku not getting sleepy 😃
I can also update the workflow, that the server is build automatically, but I need to have access to add secrets to this repository as I need to authenticate to the CentOS server the API is running on.
But it would also not be a problem to do that manually, as it's not much work to pull new images and rebuild the containers 😉

Super job, now the readme is complete! I will try to clarify it tomorrow because of the extended rights.


Allow directly nested arrays of arrays

Allows directly nested arrays.
The query select ([[1],[2]]++[[3]])[1:3][0]; returns [2].

Needs lots of tests, especially for the schema.
While compiler can handle nested arrays, the protocol can't
_localdev:main> select [[1]];
edgedb error: ProtocolEncodingError: array shape is invalid

array_unpack does not work because I need more special handling for set returning functions.
array_fill doesn't work because return type record[] is not supported for SQL functions.


missed files

images refered in css missed.
see: libs/emojione.sprites.css
   background-image: url("img/emojione.sprites.png");

Hi @vit100 please read "How to integrate emojis into chat" section in the ReadMe document of this SDK


Update template/example

The current example was out of date, so I decided to just make it a bit more generic so that it can be copied/pasted and edited, and renamed the directory to template.

I've now also added some docs about the plugins and configuration items

Ok so I was like 'why not just finish writing all the docs' and here we go.


[support request] github actions became very slow

What is your problem or scenario?
Since April 28th, github action needs way more time to complete all workflows.
Can you guys dig into this problem? Thanks.
Comparison:

/assign

It's back to normal.


Lock to branch for non-precompiled streams

Hi @tbaederr
When you have time, could you please take a look at this pull request in reference to #4 ?

Timm seemed to indicate it looked fine, merging.


(GH-11) Allow passing of ViewBag Dictionary

Rather than expecting a ViewBag to be populated using an Action, allow
passing in a populated Dictionary<string, object> for the ViewBag.
Fixes #11

@mholo65 with this change, all unit tests in Cake.Issues.Reporting.Generic now pass.  There were some additional changes that need to be made over there as well, but this change would be required.
What are your thoughts on pulling this in?

We discussed the contents of this PR at length on tonights stream, if you want to review what was discussed, then please feel free 😄

@gep13 thank you for your contribution. Your changes have been merged!

@mholo65 woot!  Thanks for merging this!