Will existing Apache Cordova app continue to work after Cordova support is retired.

Firstly, I was advised to raise this issue here by App Centre support - Doesn't seem the right place but I'm fresh out of options!
I'm working with a global financial organisation with 17 applications deployed across 20+ different countries.
All of these apps are written in Apache Cordova.
Cordova support in AppCentre is due to be retired in April 2022.
We only use app centre for distribution and are not using the AppCentre SDK.
So the question is this: Will we be able to continue pushing Cordova builds to app centre and distributing them to stores after April 2022?
For context, this is the message I received from support:
"Thank you for contacting App Center Support. Applications that are already created in Apache Cordova will continue to work! But we cannot confirm yet if this is true or not, so It's better if you can ask this directly to the development team in GitHub since they are the ones that can give you a correct answer.
Here is the link [Click here]
They might help you out if you open an issue in GitHub and ask about it to the development team since we didn't take this decision and they are the ones that could give you a correct answer!"

@Distinctlyminty, thanks for your feature request! Could you please clarify, do you use the Codepush functionality or do you upload new versions' APKs to distribute to stores?

Yes we push code from devops directly to app centre and then distribute from there to browser stack the App Store and Google play

We don't have any plans to change the Distribution side of things, so if you do not use any Cordova-specific SDKs/plugins, your workflow should be okay.

Hello @akamenev,
What about the codepush functionality? What happens there. I was also pointed over here by app center support.
 We create an application that is templated out and whitelisted in over 50+ listings in both Apple's app store and Google's play store. Code push allows us to push up one packaged Cordova bundle that gets distributed to all of the applications without having to go through 100+ store reviews every time we need to fix a simple bug.
Prior to codepush we used https://github.com/nordnet/cordova-hot-code-push, which suited our needs but was a lot buggier and lost support once cordova was moved to WKWebView on iOS.
Are there alternatives you can point us to?
Thanks,
Ray.


Boon Jun Personal portfolio update

Pull Request Test Coverage Report for Build 208

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 68.165%

Totals

Change from base Build 192:
0.0%

Covered Lines:
1790

Relevant Lines:
2626

💛  - Coveralls


Parser.lean - return isError if there is one in the InfoTree (if possible)

Evgenia, in zulip:
Do you remember some "there is an error" flag in the InfoTree?
Otherwise whenever there is an error Lean decides "we solved this goal", same UI issue in the infoview

Update: huh I noticed we only get this issue with exact min_le_l, apply min_le_l works nicely UI-wise.

Fixed by https://github.com/Paper-Proof/paper-proof/commit/2a7612db76d32942e3559a340539479237700a65, for both exact min_le_l and apply min_le_l.

Fixed by https://github.com/Paper-Proof/paper-proof/commit/2a7612db76d32942e3559a340539479237700a65, for both exact min_le_l and apply min_le_l.


Time Picker not working

When I click on the time picker to change to something greater than 30 minutes, it seems to just refresh a new 30 minutes. We have over 4500 applications, so this may be part of the problem. Any suggestions?

@reebr1234 can you please confirm which version of the app that you are using? v1.2.4 provided a fix for the custom timepicker and account with >200 applications.

Where can I check the version in the code?  The App Details button does not work in my version, it returns a "Something went wrong" error page.  The account > 200 apps works in my version, but the time picker does not.

The App Details button works in my older version 1.2.3, but not the version I downloaded a month ago.

@reebr1234 you can find the version number in the package.json file. Both issues you refer to should have been fixed in v1.2.4, which was available 1 month ago. I tested both fixes on an account with >1000 apps.
I'll look into why the app details button isn't working. Thanks for notifying.

It says version 1.2.4 in my package.json file.

@reebr1234 the app details button should work if the application is published. If you are serving the app locally it won't. I'm currently reaching out to your account team to attempt to debug your issue locally.


Added table of contents to README.rst

Does this really add any benefit? The readme is so short that this feels more noisy than useful to me.

Thanks, but I don't plan on changing the readme format at this time.


create a homebrew formula

Simon has a great tutorial here:
https://til.simonwillison.net/homebrew/packaging-python-cli-for-homebrew
and also here:
https://til.simonwillison.net/homebrew/auto-formulas-github-actions

If it helps, here's a walkthrough using homebrew-pypi-poet to generate the initial formula
$ python -m venv venv
$ source venv/bin/activate
$ pip install homebrew-pypi-poet
Collecting homebrew-pypi-poet
  Downloading homebrew_pypi_poet-0.10.0-py2.py3-none-any.whl (7.8 kB)
...

$ pip install harlequin
Collecting harlequin
  Downloading harlequin-1.0.1-py3-none-any.whl (30 kB)
Collecting click<9.0.0,>=8.1.3
  Using cached click-8.1.7-py3-none-any.whl (97 kB)
...

$ poet -f harlequin
class Harlequin < Formula
  include Language::Python::Virtualenv

  desc "Shiny new formula"
  homepage "https://harlequin.sh"
  url "https://files.pythonhosted.org/packages/61/b0/2efa237f3af0bb17f97fbed47a1b25b751998e3c7618e368832d88f5b981/harlequin-1.0.1.tar.gz"
  sha256 "52e04c7660a1db506b42f7f414b26942e0b5e0ad215ff7e3fb662a5d9d14ed25"

  depends_on "python3"

  resource "click" do
    url "https://files.pythonhosted.org/packages/96/d3/f04c7bfcf5c1862a2a5b845c6b2b360488cf47af55dfa79c98f6a6bf98b5/click-8.1.7.tar.gz"
    sha256 "ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"
  end

  resource "duckdb" do
    url "https://files.pythonhosted.org/packages/c6/6a/ddb7a1906d12a08095632f51d9b5a965ba3ff760cb4b3e52eec7907e4166/duckdb-0.9.0.tar.gz"
    sha256 "3a52c975cc13b965580cd00af1538b2d9f6b896431f97121dbee7ce715edcd2a"
  end

  resource "importlib-metadata" do
    url "https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz"
    sha256 "dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743"
  end

  resource "linkify-it-py" do
    url "https://files.pythonhosted.org/packages/8d/fd/73bb30ec2b3cd952fe139a79a40ce5f5fd0280dd2cc1de94c93ea6a714d2/linkify-it-py-2.0.2.tar.gz"
    sha256 "19f3060727842c254c808e99d465c80c49d2c7306788140987a1a7a29b0d6ad2"
  end

  resource "markdown-it-py" do
    url "https://files.pythonhosted.org/packages/38/71/3b932df36c1a044d397a1f92d1cf91ee0a503d91e470cbd670aa66b07ed0/markdown-it-py-3.0.0.tar.gz"
    sha256 "e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb"
  end

  resource "mdit-py-plugins" do
    url "https://files.pythonhosted.org/packages/b4/db/61960d68d5c39ff0dd48cb799a39ae4e297f6e9b96bf2f8da29d897fba0c/mdit_py_plugins-0.4.0.tar.gz"
    sha256 "d8ab27e9aed6c38aa716819fedfde15ca275715955f8a185a8e1cf90fb1d2c1b"
  end

  resource "mdurl" do
    url "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz"
    sha256 "bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"
  end

  resource "platformdirs" do
    url "https://files.pythonhosted.org/packages/dc/99/c922839819f5d00d78b3a1057b5ceee3123c69b2216e776ddcb5a4c265ff/platformdirs-3.10.0.tar.gz"
    sha256 "b45696dab2d7cc691a3226759c0d3b00c47c8b6e293d96f6436f733303f77f6d"
  end

  resource "Pygments" do
    url "https://files.pythonhosted.org/packages/d6/f7/4d461ddf9c2bcd6a4d7b2b139267ca32a69439387cc1f02a924ff8883825/Pygments-2.16.1.tar.gz"
    sha256 "1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29"
  end

  resource "pyperclip" do
    url "https://files.pythonhosted.org/packages/a7/2c/4c64579f847bd5d539803c8b909e54ba087a79d01bb3aba433a95879a6c5/pyperclip-1.8.2.tar.gz"
    sha256 "105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57"
  end

  resource "rich" do
    url "https://files.pythonhosted.org/packages/1d/d6/9773d48804d085962c4f522db96f6a9ea9bd2e0480b3959a929176d92f01/rich-13.5.3.tar.gz"
    sha256 "87b43e0543149efa1253f485cd845bb7ee54df16c9617b8a893650ab84b4acb6"
  end

  resource "shandy-sqlfmt" do
    url "https://files.pythonhosted.org/packages/f7/3c/dde713acca6998ce640e1c9967df1214a1c22a49dadb0160e8647b551191/shandy_sqlfmt-0.20.0.tar.gz"
    sha256 "2c6a8a39b03b1dac761239a08e66fbde849eed739528c2e80aeebf5164b45f6b"
  end

  resource "textual" do
    url "https://files.pythonhosted.org/packages/73/80/18a9ab265078a1b5618e3cc0090c622b0bf6f5f7655b02f69fef16c4f957/textual-0.36.0.tar.gz"
    sha256 "fbfc799a55938cfade6cfbf7c5ae3c3e5fc87ff9deaaed788a6dcefe72245451"
  end

  resource "textual-textarea" do
    url "https://files.pythonhosted.org/packages/e1/8f/167bcc2c864794f06c1525b004174767f1906aedfc26131aa12b654a2616/textual_textarea-0.7.0.tar.gz"
    sha256 "4dec274e7cd94eaa55ee2f6bab3ed166089ea24fdaeefb8ef6f51a86f614bb79"
  end

  resource "tomli" do
    url "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz"
    sha256 "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
  end

  resource "tqdm" do
    url "https://files.pythonhosted.org/packages/62/06/d5604a70d160f6a6ca5fd2ba25597c24abd5c5ca5f437263d177ac242308/tqdm-4.66.1.tar.gz"
    sha256 "d88e651f9db8d8551a62556d3cff9e3034274ca5d66e93197cf2490e2dcb69c7"
  end

  resource "typing-extensions" do
    url "https://files.pythonhosted.org/packages/1f/7a/8b94bb016069caa12fc9f587b28080ac33b4fbb8ca369b98bc0a4828543e/typing_extensions-4.8.0.tar.gz"
    sha256 "df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"
  end

  resource "uc-micro-py" do
    url "https://files.pythonhosted.org/packages/75/db/241444fe6df6970a4c18d227193cad77fab7cec55d98e296099147de017f/uc-micro-py-1.0.2.tar.gz"
    sha256 "30ae2ac9c49f39ac6dce743bd187fcd2b574b16ca095fa74cd9396795c954c54"
  end

  resource "zipp" do
    url "https://files.pythonhosted.org/packages/58/03/dd5ccf4e06dec9537ecba8fcc67bbd4ea48a2791773e469e73f94c3ba9a6/zipp-3.17.0.tar.gz"
    sha256 "84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"
  end

  def install
    virtualenv_create(libexec, "python3")
    virtualenv_install_with_resources
  end

  test do
    false
  end
end

I don't think I'll be doing this any time soon.
The main problem is that, unless the formula is in homebrew-core, the package has to be built entirely from source. Currently that includes compiling DuckDB from source, which takes forever (numpy also takes a few minutes, but DuckDB is like an hour on my machine).
The second problem is that Textual has a dependency that doesn't have an sdist. I think we can just remove that from the formula, but further testing is required, and I don't want to spend the time compiling DuckDB to figure this out.

Fair enough!
I am familiar with homebrew via homebrew-bio but haven't gone through the effort for a python package like this before.

This is done, thanks to a community member (see #699). brew install harlequin


Linux Fix (Iconbitmap)

Added images/iconbitmap.gif (converted images/iconbitmap.ico)
tkinter_designer.py now uses the new iconbitmap.gif when the os is Linux.
I could only test so far that the script isnt crashing or anything. BUT I am using GNOME which doesnt have any window icons. I am very confident that it will work on KDE for example but i cannot confirm.
Still this fix will mostly (if not fully) allow Linux support for now hopefully.

Thanks for making the improvements, I will test it and merge it.

Hey @Shaco74, Can you test the code by only using GIF's ?
Means try changing app_icon.ico to GIF and then using it for all the platforms. If Gif's work for all then why use .ico. We could get rid of that if else block.

@ParthJadhav
Hey. Just woke up.
I will test it on windows and on a Linux distro which uses window icons.
Give me 1-2 hours 👍

No, I think you got it wrong. What I am telling is that try the Icon which you used for linux for windows. Means use GIF for windows too.

Cool, Since it's working on windows too. I can merge it.
Great work, Thanks!

Yeah it works on windows. I am currently setting up KDE on my Ubuntu machine to test if the icon will get displayed correctly.
If it works I just have to clean up the code afterwards.
In addition I found out that the os().uname() method wasn't supported anyways in windows.

Oh, Cool. After you've done checking and cleaning we can merge it. It was better we tested it or else os.uname would have caused crashes.

Great ! Merging it.

Icon is displaying!
You should be able to merge it without further concerns.
But i found another file in the images folder. app_icon.ico could give us trouble in the future

That file is for Icon of the executables, and Pyinstaller supports ico files


Changed patch behavior to rely on module names instead of imported names

adapted tests and documentation

@jmcgeheeiv - please check if you see any potential problems with this approach.
The performance is slighly worse because of the added dict lookup, but still acceptable in my opinion.


Support for the "@graph" keyword in the linked data json node "application/ld+json"

Hi, I just started using this lib for a crawler that I'm building. Noticed the lack of support for the "@graph" keyword in the linked data nodes (application/ld+json). Some of the news websites use this structure for linked data nodes: {"@context":"https://schema.org","@graph":[{"@type":"...", ...}, {"@type":"...", ...}]}. I will submit a pull request for this :)

closed!
Thank you for the PR!


Sleep in Ventura/Sonoma

Hello,
is anybody still using the NUC7i3 for Ventura/Sonoma?
Everything is working fine, but I cannot geht the NUC to sleep. The Display turns off and the NUC just stays on.
Any ideas?
Best Regards
Richard

Hi Richard, I have the exact same NUC. Can you share your EFI folder please. For me WiFi and Bluetooth do not work. Everything else works. Your sleep issue can be resolved by deleting entry in Device Properties of "SMBus Controller". Sleep and wake work fine after this.

Hey,
do you want to use the original Bluetooth/Wifi-Card, or did you install an additional "Original" Apple-Card.
As the original Wifi-Card is Intel and not supported by MacOS, you'll need the drivers:
https://github.com/OpenIntelWireless/itlwm
I'm not using the NUC for MacOS anymore but switched to Levono M720q.
Best Regards

I use the Wireless/Bluetooth that comes with the NUC the Intel one. I tried the KEXT from the link you shared. It still is not working. Some other thing in my config.plist to check i guess. It was working perfectly in Catalina though. So i suspect something in the config.plist
Will keep checking.


Plugin displaying cooldown incorrectly.

Just to clarify, the cooldown does work. You set it to 120, and it will allow the player to teleport again in 120 secs. However, it is an issue with the DISPLAY of the cooldown message i am reporting - it is very confusing for players.
How to replicate issue:
Set cooldown to 120.
config is as follows: Cooldownmsg: '&4You must wait {rem} seconds until you can travel again!'
In game you see (as displayed in screenshot):
"You must wait 022 minutes, 22 seconds until you can travel again"
if you continue to spam the /wild command it does this:
https://imgur.com/a/4hOg29W
Issue:
Plugin seems to display that there are 023 mins left, ALONGSIDE the 023 seconds. when in actual fact there are 23 seconds left, not minutes.
How to resolve: remove the "you must wait 023 minutes," from the plugin, so it just displays the correct seconds.

Thanks for reporting this I will look into this

Turns out it was already fixed on my end


Bump builder images for otter images to

Description
Changes proposed in this pull request:

upgrade kaniko and docker-registry builders to golang:1.21.3-alpine3.18

this PR needs to be merged after this PR


Security Headers Defined in Server Block

Hi maxime
I am wondering if rocket-nginx interferes with headers i define in my server block.
I have added:
server {

add_header Content-Security-Policy "default-src 'self' https: data: 'unsafe-inline' 'unsafe-eval';" always;
add_header X-Xss-Protection "1; mode=block" always;

}

But these don't seem to work.

I am still using v1 btw. Is it better to upgrade to v2 ?

Yes it does impact what you setup.
The way Nginx works is that if you add headers in a "lower" block, it cancels what you added in a higher block.
You added headers at the server level and then I add headers  in location header. So instead of simply adding up everything or replacing part of what is already there, it cancels everything you put at the server level.
Fortunately, you can add these in the headers in the configuration file in version 2 of Rocket-Nginx!

Ok I am looking at v2 now but still I am a bit confused.

Is it possible to add the headers directly to the default.conf file instead of the .ini - I don't understand how to translate the notation of my Content-Security-Policy to the .ini file.

Even if I make changes to the .ini file, do I need to run the php rocket-parser.php again?

I am still not sure exactly where to place the security headers. As I understand, the default.conf has two places for cached and non-cached content. Do I need to write the headers twice?

This thread offers an alternative solution on where to place the headers. Will this be compatible with your script?

https://www.peterbe.com/plog/be-very-careful-with-your-add_header-in-nginx
Sorry for all the questions but I am sure you can understand this is important stuff! Thanks so much for all your help.

So in a nutshell, I think I need to go with this method:
https://gist.github.com/april/577212e08101186f81b5ff682f35f7cf
And include the pokeinthe.io.conf which I will call "security.conf" to 3 different places in default.conf
location ~ /wp-content/cache/wp-rocket/.html$ {.. }
location ~ /wp-content/cache/wp-rocket/._gzip$ {.. }
Debug header (when file is not cached) - though I am not sure if it's needed (since I will also include security.conf in the server block)..
Am I right ? :)

To answer your question:

Do not alter the .conf file. Put everything in the ini file. Otherwise, you will lose your changes when you run the parser.

Yes, you need to run the parser to generate the file

You discovered a limitation with the statements you provided. I will mark this as en enhacement and will address this in the next version. Thank you for that!

The thread is explaining exactly what I was saying in my previous message.

In the end, I suggest you "manually" alter the generated .conf file until I release version 2.2.

Yes I followed my method of including the security.conf in the abovementioned locations and everything works as expected..


CRD's within templates directory

Is there any path that can be taken to get a CRD to install, or overwrite an existing, within a given chart structure? We've got a chart that updates its existing CRDs and need to get those versions into a production system and have helm overwrite they existing versions. This is a 3rd party chart and not ours which is why I'm asking. Hoping there is some way we can repackage the chart to get their CRDs to install and overwrite their existing ones without being skipped.

@cdancy You can put CRDs into the templates directory like any other Kubernetes resource and it will be rendered and passed to Kubernetes API as usual. As CRDs are cluster resources then putting them in its own chart is best. The management of CRDs in this way are not supported by Helm.
Helm support of CRDs and the reasoning behind it are described in: https://github.com/helm/community/blob/main/hips/hip-0011.md. This document should provide a good insight as it covers the discussion arounds CRDs raised in the last number of years.
Let me know if this helps.

hey @hickeyma , I'm confused, so reading this https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#method-2-separate-charts , it says that the CRDs should be put into a separate chart, but what does that exactly mean? Putting the CRDs in the templates directory?

@Chili-Man If you want to be able to add templating to your CRD manifests then have a separate chart for your CRD and manage then them separately from the chart that requires the CRD(s).


Bug: event_source decorator with APIGatewayProxyEventV2 causes TypeError in debug mode

Expected Behaviour
Using the event source decorator with APIGatewayProxyEventV2 will run Lambda function and not fail with TypeError
Current Behaviour
When activating debug mode through either APIGatewayHttpResolver(debug=True) or POWERTOOLS_EVENT_HANDLER_DEBUG=true causes TypeError: Object of type APIGatewayProxyEventV2 is not JSON serializable and no further debug entries get logged.
Code snippet
from aws_lambda_powertools.utilities.data_classes import (
    APIGatewayProxyEventV2,
    event_source,
)
from aws_lambda_powertools.logging import correlation_paths
from aws_lambda_powertools import Logger
from aws_lambda_powertools.event_handler import APIGatewayHttpResolver
from aws_lambda_powertools.utilities.typing import LambdaContext

logger = Logger()
app = APIGatewayHttpResolver(debug=True)

@logger.inject_lambda_context(correlation_id_path=correlation_paths.API_GATEWAY_HTTP)
@event_source(data_class=APIGatewayProxyEventV2)
def lambda_handler(event: APIGatewayProxyEventV2, context: LambdaContext):
    return app.resolve(event, context)

@app.get("/my/path")
def get_hello_universe():
    return {"message": "hello universe"}

Possible Solution
Workaround: Enable debug mode and comment event source out
Steps to Reproduce
Create a Lambda function accepting APIGatewayProxyEventV2 requests. Decorate the handler method with logger inject and event source and add a simple route that will just return a small JSON response. Then enable debug mode by one of the supported ways and watch the lambda function fail
AWS Lambda Powertools for Python version
latest (Layer version 18)
AWS Lambda function runtime
3.9
Packaging format used
Lambda Layers
Debugging logs
[ERROR] TypeError: Object of type APIGatewayProxyEventV2 is not JSON serializable
Traceback (most recent call last):
  File "/opt/python/aws_lambda_powertools/logging/logger.py", line 354, in decorate
    return lambda_handler(event, context)
  File "/opt/python/aws_lambda_powertools/middleware_factory/factory.py", line 134, in wrapper
    response = middleware()
  File "/opt/python/aws_lambda_powertools/utilities/data_classes/event_source.py", line 39, in event_source
    return handler(data_class(event), context)
  File "/var/task/app.py", line 28, in lambda_handler
    return app.resolve(event, context)
  File "/opt/python/aws_lambda_powertools/event_handler/api_gateway.py", line 495, in resolve
    print(self._json_dump(event), end="")
  File "/opt/python/aws_lambda_powertools/event_handler/api_gateway.py", line 688, in _json_dump
    return self._serializer(obj)
  File "/var/lang/lib/python3.9/json/__init__.py", line 234, in dumps
    return cls(
  File "/var/lang/lib/python3.9/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/var/lang/lib/python3.9/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/opt/python/aws_lambda_powertools/shared/json_encoder.py", line 16, in default
    return super().default(obj)
  File "/var/lang/lib/python3.9/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '

Hey @sthuber90 tha is for reporting it - we'll look into it as soon as we can.
Any particular reason you're using event_source with Event Handler?
We already do that for you upon a Lambda invocation, and make it available under app.current_event property.
https://awslabs.github.io/aws-lambda-powertools-python/latest/core/event_handler/api_gateway/#accessing-request-details
Thanks!!

Thank you. No, no particular reason combining @event_source and APIGatewayHttpResolver. It's perfectly fine for me to remove the event source decorator. Are the resolver and event source incompatible? If so, I didn't see it in the docs

Ah great, I was mostly curious if you knew. For the decorator, I need to
double check in the custom serializer part but IIRC it should work, as we
reuse it elsewhere.
On Mon, 25 Apr 2022 at 19:30, Stephan @.***> wrote:

Thank you. No, no particular reason combining @event_source and
APIGatewayHttpResolver. It's perfectly fine for me to remove the event
source decorator. Are the resolver and event source incompatible? If so, I
didn't see it in the docs
—
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-lambda-powertools-python/issues/1152#issuecomment-1108847569,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZPQBDJ3ZAIEHHNN2MFAO3VG3JC5ANCNFSM5UJG3LXA
.
You are receiving this because you commented.Message ID:
@.***>

thanks @michaelbrewer for the quick fix. I've pushed a change before merging so customers receive a warning that this is not necessary (double serialization), and link to this issue.

Yes within handler, you do have the option of also passing in event.raw_event


Student Page Flow and Bugs

On the student page:

Connect the links at the bottom of the page to the student's assessment card, attitude survey, and student group pages.
Add a column for "gender" with the options "male", "female", and "non-specified".
Change the "ethnicity" dropdown so that multiple ethnicities can be selected.

/cib student-page-flow-and-bugs

Branch 126-student-page-flow-and-bugs created!


[query] Make it easier to ground sets of attribute idents

Right now, ground (see #99 and friends) doesn't make it easy to query over multiple attributes, which I believe is one of its principle uses in Datomic.  E.g., for
[:find
 ...
 :where
  [(ground [:credential/username :credential/password]) [?a ...]]
  [?e ?a _ ?tx]
]

I get
CC known empty: Type mismatch: var(?a) can't be ValueTypeSet({Ref}), because it's already ValueTypeSet({Keyword}).

That's correct, but not as helpful as it could be.  This ticket tracks trying to make ground bind its variable later, or otherwise not be as strict about its value type.  (Note that if the order of where constraints is reversed, this is fine -- we appear to be correctly interpreting the ident keyword as a ref.)

We might consider doing this during the existing pattern walk that Thom added; it’s apparent from the first walk that ?a is a ref here.
The broader question is whether we want to support dualism between keywords and refs:
[:find …
 :where
 [(ground :foo/bar ?dual)]
 [?e ?dual ?v]                      ; Dual must be an entity.
 [?x :attribute/keyword ?dual]]     ; Dual must be a keyword.

Right now we don’t support that: ground it twice!
In your case I think you can type-hint:
[:find …
 [(ref ?a)]
 [(ground […] [?a ...])]
 [?e ?a _ ?tx]]

Fixed by #713.


[BUG] Powered rail hill shows a missing model

Describe the bug
on my Minecraft rollercoaster, I found this:

Thank you for reporting!
Will get fixed in v1.3 & some other modded powered rails issues

Fixed in version 1.3


Display issue for select fields

I'm having some styling issues with select fields. Using the example from the docs the fields does not get styled as expected. This is using tailwind, no other CSS or resets present. Any ideas?

   Requested Limit   <select class="form-select mt-1 block w-full">     <option>$1,000</option>     <option>$5,000</option>     <option>$10,000</option>     <option>$25,000</option>   </select>

Can you share your tailwind config, PostCSS config, and the markup for the form?
On Oct 24, 2019, 4:44 AM -0400, Andreas sandström<EMAIL_ADDRESS>wrote:

I'm having some styling issues with select fields. Using the example from the docs the fields does not get styled as expected. This is using tailwind, no other CSS or resets present. Any ideas?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I'm using the HTML from the docs:
   Requested Limit   <select class="form-select mt-1 block w-full">     <option>$1,000</option>     <option>$5,000</option>     <option>$10,000</option>     <option>$25,000</option>   </select>
Gatsby SASS (from gatsby-config):
// SASS     {       resolve: gatsby-plugin-sass,       options: {         postCssPlugins: [require('tailwindcss')('./tailwind.config.js')],       },     },
Tailwind config:
module.exports = {     theme: {       extend: {         colors: {           'greenpeace-green': '#66CC00',         }       }     },     plugins: [       require('@tailwindcss/custom-forms'),     ]   }

Make sure you install autoprefixer and add it to your PostCSS config 👍 Styling custom form elements relies on the appearance: none property which currently requires vendor prefixes in all browsers, but we don't bake those vendor prefixes into Tailwind because we don't want to force all users to support the same browsers.
    {
      resolve: `gatsby-plugin-sass`,
      options: {
        postCssPlugins: [
           require('tailwindcss')('./tailwind.config.js'),
           require('autoprefixer'),
        ],
      },
    },

Thanks – It's working 🥳


Allow gravity to be set on resize_to_fill

When using resize_to_fill this allows the ability to set the gravity for the crop

@talklittle yup good point - fixed

@nitsujw Very cool. Thank you!

@talklittle thank you for the extremely fast response :)


Fix eagerly finding fdfind/fd

Previously this would call (executable-find "fdfind" t). The function
signature of executable-find is as follows:
(executable-find COMMAND)

A different solution was needed. This should be fixed as of 00ebbaf.

Thank you, @hlissner! :bow:


markdown mode don't support delete line, content render to content

markdown mode don't support delete line, '~~ content ~~' render to <del>content</del>

@lynnchae, the strikethrough syntax is not standard markdown. You need to add the gfm-strikethrough extension to the list of extensions for the parser.
See:
GitHubParsingSample.java

ok, thank you.


Larger velocity warning with subT dataset

Hello, I am testing the lio-sam system but I got a continuous warning for "Large velocity, reset IMU-preintegration!". And the trajectory result is very bad. The IMU data is from gx5-25 and with lidar ouster os1-64. Could you give me some hints for solving this?

Please refer to this issue for using Ouster lidar.
https://github.com/TixiaoShan/LIO-SAM/issues/94

Thanks for the reply, I've already check this. I am new to ROS, and wonder how to apply the ros::time::now() during the bag file play?

@DJNing hello，I encountered the same situation as you，have you solve it already？


Fixes to growthbook chart to allow use of AWS DocumentDB

Proposed changes

This PR contains changes which make it possible to apply the growthbook chart to configure the deployment to use an AWS DocumentDB cluster as its MongoDB backend.
Checklist

[ ] Lint and unit tests pass locally with my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added documentation to describe my feature.
[ ] I have squashed my commits into logic units.
[x] I have described the changes in the commit messages.

Other information

@AdamStaudt Thanks for this PR. Could you kindly update the version number before review?

@AdamStaudt Thanks for this PR. Could you kindly update the version number before review?

version number updated.


texlive does not properly create all outputs in its multi-output-drv

Describe the bug
Some texlive related bundles like texliveBasic or texliveFull man output, that fails. If one instead builds the out attribute, it works.
This again brakes nix shell!
❯ nix build nixpkgs#texliveBasic^man
error: derivation '/nix/store/0gng3g36c6y8ng039gkbbk7w6s1f1jpg-texlive-2022-env.drv' does not have wanted outputs 'man'
❯ nix build nixpkgs#texliveBasic.out
❯ echo $?
0
❯ nix shell nixpkgs#texliveBasic
error: derivation '/nix/store/0gng3g36c6y8ng039gkbbk7w6s1f1jpg-texlive-2022-env.drv' does not have wanted outputs 'man'

One can mitigate by using ^out in the nix shell invocation. This is reproducible on random commits since 23.11 branchoff, haven't checked any earlier release.
Steps To Reproduce
Steps to reproduce the behavior:

try to build the man output of texliveBasic or texliveFull or other similar collections using the ^ output selector
see the error as described above

Expected behavior
^man produces the same output that .man does.
Screenshots
Additional context
Notify maintainers

@xworld21
@tazjin

(Determined based on the history of pkgs/tools/typesetting/tex/texlive/build-tex-env.nix)
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
$ nix run nixpkgs#nix-info -- -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.0, NixOS, 24.05 (Uakari), 24.05.20240115.c3e128f`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.20.0pre20240117_b5ed36e`
 - channels(aroemer): `"nixpkgs-21.11"`
 - channels(nmelzer): `""`
 - channels(root): `""`
 - nixpkgs: `/etc/nixpkgs/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

@veprbl I guess we should merge #270232 and hope it doesn't introduce new bugs.
(I really wish man page handling weren't so coupled with multioutput derivations. It's the wrong model for TeX Live.)

nix shell nixpkgs#texliveBasic

now works as intended


Accessibility - First vocalize app bar title on screen change

There is a known issue on google side : https://issuetracker.google.com/issues/186443263


Is it possible for you to publish this publicly on npm?

Currently I'm installing directly from github, but I'm sure more people would consider using it if it was published on npm (unless I'm missing something, and it is there under a name I'm not seeing?).

I will publish it to npm

@rj33 It is now available on npm ;)


Version 1.2.0 removes all line feeds (LF)

Hi Armin,
I just used version 1.2.0 on my code base with this config:
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = LF
insert_final_newline = true
trim_trailing_whitespace = true

[*.php]
indent_style = space
indent_size = 4

After "fixing" my code base, all line feeds are removed, i.e. all files only contain 1 line afterwards. Example:
<?php

declare(strict_types=1);

namespace App\Controller;

...

is squashed into one line like this:
<?phpdeclare(strict_types=1);namespace App\Controller;...

Any idea what might be the issue?
Have a nice day,
Alex

Hi. I think the uppercase LF is the problem here, which I don't respect in LineEndingUtility. I'm going to fix it tomorrow.


Add some useful mkdocs extensions

We also make some initial use of them, but this is also in preparation of the creation of the user guide.

Add the mkdocs-include-markdown-plugin
Add the markdown-svgbob extension
Render Timer diagrams with svgbob
Reuse parts of README.md in docs/index.md

Based on #243, only the last 4 commits are for this PR.


Bug when generating the verification textual result for unmatched query param

In version 2.1.9 of WireMock, the following faulty behavior can be observed related to query parameters :

define an expected request which contains query param A with value ValA
make a call to the WireMock server using query param A , but the value ValXYZ
verify that the request contained query param A with value ValA.
verification throws VerificationException
the message of VerificationException doesn't show the query param of expected request correctly. It shows the actual query param (ValXYZ) as expected query param.

The scenario is illustrated in the following app:
  import com.github.tomakehurst.wiremock.WireMockServer;
  import com.github.tomakehurst.wiremock.client.RemoteMappingBuilder;
  import com.github.tomakehurst.wiremock.client.VerificationException;
  import com.github.tomakehurst.wiremock.http.RequestMethod;
  import com.github.tomakehurst.wiremock.matching.RequestPatternBuilder;
  import org.apache.http.client.methods.HttpGet;
  import org.apache.http.impl.client.HttpClients;
  import java.io.IOException;

  import static com.github.tomakehurst.wiremock.client.WireMock.*;
  import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
  import static com.github.tomakehurst.wiremock.client.WireMock.verify;

  public class ForTest3{

  public static void main(String[] args){

     /* start server and configure client */
    int portNumber = 2900;
    WireMockServer wireMockServer  = new WireMockServer(portNumber);
    wireMockServer.start();
    configureFor("localhost",portNumber);

   /* define expectation */
    RemoteMappingBuilder<?, ?> rmb = request("GET",urlPathEqualTo("/test"))
            .withQueryParam("firstParam",equalTo("firstValue"))
            .withQueryParam("secondParam",equalTo("secondValue"))
            .withHeader("aHeader",equalTo("aHeaderValue"))
            .willReturn(aResponse().withHeader("Content-Type","text/plain").withStatus(200).withBody("Success"));
    stubFor(rmb);

    /* execute a request */
    try {
        HttpGet httpGet = new HttpGet("http://localhost:2900/test?firstParam=unexpectedParam&secondParam=anotherUnexpectedParam");
        httpGet.setHeader("aHeader", "aHeaderValue");
        HttpClients.createDefault().execute(httpGet);
    }catch (IOException exc){
        shutdownServer();
        throw new RuntimeException(exc);
    }

    /* check actual interactions */
    RequestPatternBuilder rpb = new RequestPatternBuilder(RequestMethod.GET, urlPathEqualTo("/test"))
            .withHeader("aHeader",equalTo("aHeaderValue"))
            .withQueryParam("firstParam",equalTo("firstValue"))
            .withQueryParam("secondParam",equalTo("secondValue"));
    try {
        verify(1, rpb);
    }catch (VerificationException exc){
        System.out.println("THE MESSAGE:"+ exc.getMessage());
    }

    /* stop server */
    shutdownServer();
}
}

The displayed result is

THE
MESSAGE:No requests exactly matched. Most similar request was:  expected:<
GET
/test?firstParam=unexpectedParam&secondParam=anotherUnexpectedParam
aHeader: aHeaderValue> but was:<
GET
/test?firstParam=unexpectedParam&secondParam=anotherUnexpectedParam
aHeader: aHeaderValue>

Besides the issue above , may I suggest making the generated verification message a bit more readable? For instance, to clearly state which is the verb, the headers. And maybe some way of pointing out the difference between the actual and the expected request.
I am suggesting this, because we use WireMock in Integration testing and End To End Testing and the messages are usually read by testers, not developers.

Replicated this now. Thanks for reporting.

Hi,
May I ask if you planned in which version of WireMock this bug will be fixed?
Regards

Most likely the next one

Not sure when I fixed this, but fixed it is.


Added feature to add action button to terms in ModernTaxonomyPicker

Q
A

Bug fix?
[ ]

New feature?
[X]

New sample?
[ ]

Related issues?

What's in this Pull Request?
Added a feature to ModernTaxonomyPicker to add a custom action button to each term in the term set and the term set itself.
This also comes with the added bonus of better handling of keyboard navigation.
Added properties isLightDismiss and isBlocking that will be used for the panel.
Refactored TaxonomyTree into a separate component that could be used separately to just display a term set with action buttons for e.g. an admin UI.
Here is an example of what it could look like with a context menu for adding and deleting terms in the control:

Hi @estruyf, What happened to this PR, why was it closed without being merged first?

@patrikhellgren I have no idea why the PR got closed. Going to re-open it.

Thank you @patrikhellgren for these updates!


DataGrid: Add XmlnsDefinition to make DataGrid available without namespace

We should add a:
[assembly: XmlnsDefinition("https://github.com/avaloniaui", "Avalonia.Controls")]

Attribute to make DataGrid available in the default Avalonia XML namespace.

It seems to be fixed.
Feel free to reopen.


Feat/documentation

This mr introduce documentation using vuepress 2 and released through github pages.

Interesting candidate: https://markdoc.dev/

docusaurus.io


Add syntax highlighting

Current coverage is 76.99% (diff: 100%)

Merging #1 into master will not change coverage

@@             master         #1   diff @@
==========================================
  Files            11         11
  Lines           513        513
  Methods         100        100
  Messages          0          0
  Branches         31         31
==========================================
  Hits            395        395
  Misses          118        118
  Partials          0          0

Powered by Codecov. Last update 367f3d8...a0503ca

Thanks.


feat: banner for updated RWD

Checklist:

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

This adds a banner to the new RWD superblock with a link to the forum FAQ post.

I thought about that, but figured it would be better to avoid implicitly leading campers back to the legacy stuff - we want them to play with the new stuff.


[Bug]: Search input not working

Expected Behavior
When entering a search term in the "search for items" input in the header, and pressing enter, I would expect a search to be performed and the results to be displayed.
Actual Behavior
Nothing seems to happen - not network request is sent either when I type or when I press "enter".
Possible Solution
No response
Steps to reproduce
Enter a search term into the search bar and press enter.
What version of vendure integration are you using?
1.0.0-beta.3
What version of Node.js are you using?
16.x
What browser (and version) are you using?
Brave (Chromium 95)
What operating system (and version) are you using?
Windows 10
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search feature is not implemented (it is only mocked for now). It is not a part of the First iteration of the project. I will create an issue to implement search functionality in the next versions (probably 1.1.0), so for now closing this issue.


Add a "relative buffer" type with area-relative coordinates

Problem
I recently created my first ratatui widgets, and I was a bit shocked to realize that the buffer passed to render() is for the entire terminal (not just the area specified in the render_widget() call), that drawing directly on the buffer requires using absolute coordinates, and that there's nothing stopping widgets from drawing outside of their assigned areas.  I was also briefly impeded by the fact that the area() of the Buffer passed to render() isn't the same as render()'s area argument.
I feel that giving widgets the entire terminal buffer to play with is undesirable for at least two reasons:

Because buffer coordinates are global, but widgets will generally be laying things out relative to the upper-left corner of their assigned area, a widget that determines some glyph belongs at (x, y) in the local area has to add (area.x, area.y) for each & every coordinate operation.  It'd be much simpler if widgets only dealt with coordinates local to their Rect and ratatui did the necessary translation behind the scenes.

The potential for widgets to write anywhere on the screen smells more like Python's "We're all consenting adults, so who needs private attributes?" than like Rust's "You can be sure you won't even be able to do the wrong thing."  (Admittedly, there may be some widgets with genuine reasons to paint outside their areas, but I expect those to be few & far between.)

Solution
I'm assuming that changing the way the Widget trait works is a no-go, and adding a RelativeWidget trait seems likely to cause confusion.  Instead, I propose an opt-in mechanism for providing a "relative buffer" to those widgets that want it.  I call it "RelativeBuffer".
RelativeBuffer<'a>::new(area: Rect, parent: &'a mut Buffer) is called with the arguments passed to Widget::render() and returns an object that's like Buffer except (a) all coordinates are relative to the upper-left corner of area, and (b) you cannot use RelativeBuffer's methods to paint outside of area on the "main"/"parent" buffer.  As a specific example of the latter, RelativeBuffer::set_string() should only modify cells within area; if the text would go outside area, the outer graphemes are not drawn.
The main problem I see with this API at the moment is the awkwardness around calling render() on "sub-widgets".  Normally, if widget Foo wants to draw widget Bar inside itself, it can just calculate the appropriate Rect and pass it and the Buffer to Bar.render().  However, if Foo is using a RelativeBuffer, it would have to temporarily unwrap it to get the original Buffer back and then determine Bar's area via global-coordinate calculations, something Foo was trying to avoid in the first place by using RelativeBuffer.  There may be a clever solution involving trait methods here, but I'm not going to address that at the moment.

Because buffer coordinates are global, but widgets will generally be laying things out relative to the upper-left corner of their assigned area, a widget that determines some glyph belongs at (x, y) in the local area has to add (area.x, area.y) for each & every coordinate operation. It'd be much simpler if widgets only dealt with coordinates local to their Rect and ratatui did the necessary translation behind the scenes.

I suspect it might be possible to write a RelativeRect struct or or similar methods somewhere to help reduce the code needed to translate relative coordinates into the global coordinate system to solve this part of the problem.

The potential for widgets to write anywhere on the screen smells more like Python's "We're all consenting adults, so who needs private attributes?" than like Rust's "You can be sure you won't even be able to do the wrong thing." (Admittedly, there may be some widgets with genuine reasons to paint outside their areas, but I expect those to be few & far between.)

The question I would ask here is whether there's a real need for this change? If I ever felt that giving a particular widget access to the entire screen is a risk, I would not use that widget.

I'm assuming that changing the way the Widget trait works is a no-go

Yeah, doing that would break everything (app, libs, etc.)

I propose an opt-in mechanism for providing a "relative buffer" to those widgets that want it. I call it "RelativeBuffer"

Can you show some hypothetical calling code for the users of this idea?

Two big impediments to making a change like this are:

Widgets currently only deal in absolute coordinates
Apps only currently deal in absolute coordinates

Making this change would require a compelling argument to change both of those things.
One other possible solution for this might be a data structure that represents a 2 dimensional area and allows borrows of particular regions, so the memory safety aspect is guaranteed.

Overall, I can see this issue has some theoretical merit (the best type of merit - to paraphrase Futurama), but I'm not sure it has practical merit.

Two big impediments to making a change like this are:

Widgets currently only deal in absolute coordinates
Apps only currently deal in absolute coordinates

I'm not suggesting changing any of that.  What I'm asking for is giving widget authors the ability to do their rendering using relative coordinates.  Whether your code uses RelativeBuffer is entirely dependent on whether the programmer writing the widget chooses to use it.

Can you show some hypothetical calling code for the users of this idea?

impl Widget for Foobar {
    fn render(self, area: Rect, buf: &mut Buffer) {
        let relbuf = RelativeBuffer::new(area, buf);
        relbuf.set_string(0, 0, "This is at the top-left of `area`.", Style::new());
    }
}

Got it - that makes sense - I didn't realize what I described as "I suspect it might be possible to write a RelativeRect" was what you'd implemented.
I think this seems like a reasonable idea. I'd encourage you to implement this in an application and see how it works for your app before we consider it for Ratatui core. You could also create your a RelativeWidget that renders to a RelativeBuffer, and then provide adapters over the standard widgets if you want this to be the primary way to interact with things in your app.

Another way of implementing this internally that I've been giving a little bit of through to is to replace the backing store of buffer which is currently just a Vec with a 2D array using the ndarray crate. This would allow us to easily grab a section of the buffer as a ref, which cannot be written outside of. Wrapping a buffer around that new area then gives us pretty much most of this functionality without a new type.
The downsides for this is that it further locks us into a place where it makes it difficult to choose more performant data types for the buffer. (One particular notable approach would be to store the rendered data as spans instead of cells. I.e. don't break up strings that will be rendered to the screen in order).


Xcode warnning: Failed to set (lineWidth) user defined inspected property on (UIView)

Hello @Boris-Em , I got an error:
Failed to set (lineWidth) user defined inspected property on (UIView): [ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key lineWidth.
I initialize the BECheckBox using Interface Builder. All I do is just follow the readme steps.
Thank you!!

I got it too

@mtide, have you found a fix for this? I haven't been able to repro it.
If you're still experiencing this bug, would you mind posting detailed repro steps here?
Thanks!


Bias towards local directories for bare editable requirements

Summary
Given install -e dagster, we need to assume that the user meant install -e ./dagster, even though install dagster should not be treated as install ./dagster. I suspect pip will change this in the future (since pip install dagster does not meant pip install ./dagster) but for now it's what users expect.
Closes https://github.com/astral-sh/uv/issues/3994.

Needs tests.

I only see https://github.com/pypa/pip/issues/1289#issuecomment-1510735040 where they mention that lack of PEP 508 support for editables is an implementation issue, not a design issue. But if they change editables to support PEP 508, I think they'll have the same behavior as us (prior to this PR), unless they also special-case it?

I asked in pip here: https://github.com/pypa/pip/issues/12745


22.04

Are there any plans to provide a dockerfile for 22.04?

Bumping this. When I try to install on 22.04 (says it's supported on the website) I get these errors:
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C

Dockerfile up for 22.04 now. Sorry for the delay.


Intero 1.23 has problems loading current file

This is on a Windows 10 32 bit system.
Intero 0.1.23 doesn't seem to load the current file any more
Upgrading to Stackage LTS-9.4 upgrades Intero 0.1.23 after I upgraded Emacs' Intero-mode from Melpa.
Now Intero doesn't seem to load current file. Fly-check doesn't highlight the types of values in the project, C-c C-t claims whatever value I query isn't in scope: ":1:1: error: Variable not in scope: add6"
Values from the Prelude work fine, and also show up in company completion
After I load the project, Intero 0.1.21 shows 89 Meg of memory usage while Intero 0.1.24 shows 64 Meg. I would try to load a file into the Intero process manually to see if that works, but I haven't figured out how yet.

Try updating your Elisp?

I've had similar problems on a Windows 7 64-bit system. (A colleague on a similar system doesn't seem to have the problem, though.)
The cause was that when emacs sent the :move command to the intero process, the file path arguments were appearing with unescaped \ separators, causing the move to fail, so the temp files used for checking were empty.
My current workaround is hacking a fix into intero.el, to replace \ with / before formatting the move command.

Same issue here, following bmjames I solved it by changing line 667:
(format ":move "%s" "%s"" -> (format ":move %S %S"

Ah, fair enough. I'll apply that change.

Please let me know if you have further issues!


[BUG] 1.3.0 Document exception

In version 1.3.0
The function of workgroup has changed. The current code does not support adding and modifying functions
So in 1.3.0, it also supports the new editing function of workgroup ??

The current 1.3.0 document has not been updated yet, it is still the template of the previous 1.2.0

come on.


Remove variable shadowing from the JavaScript files in the web/ folder

This is part of a series of patches that will try to split PR #11566 into smaller chunks, to make reviewing more feasible.
Once all the code has been fixed, we'll be able to eventually enable the ESLint no-shadow rule; see https://eslint.org/docs/rules/no-shadow

/botio-linux preview

Looks good!


Before- and after-create hooks

Hey buddy!
I came across the Tus protocoll these days, as I need to upload huge files and then convert them to mp3. I use Companion, AWS S3 Multpart, Lambda & Elastic Transcoder for the moment but the costs seem to high. So I want to run my own Tus Server for the files. I checked your package first as I prefer Ruby over Node or Go, but I then started using the Go implementation "tusd" as it overs a hook system, which is very similar to my current AWS Lambda Trigger "S3 Object created" and then triggers conversion of audio files to mp3.
Any possibility of implementing something like before create hook for stuff like authentication and after create hook for stuff like "move this file somewhere and manipulate it"? Or did you not choose doing so on purpose?
Cheers from snowy Germany!

Yeah, I've seen that tusd has hooks, but I thought it wasn't necessary to implement it directly, because it's already possible indirectly via Rack middleware. Tus::Server is a Roda app, so you can add middlewares with use.
For example, this would be an "after create" hook:
class TusHooksMiddleware
  def initialize(app)
    @app = app
  end

  def call(env)
    request = Rack::Request.new(env)

    result = @app.call(env)

    if request.post?
      # perform your "after create" hook
    end

    result
  end
end

Tus::Server.use TusHooksMiddleware

Likewise, authentication can be performed before the @app.call(env). If you're using an authentication framework like Rodauth, you don't even need any hooks, as Rodauth works on the Rack level and not Rails level.
Alternatively, you can use Roda's hooks plugin, if you want to use Roda when implementing your hooks:
Tus::Server.plugin :hooks
Tus::Server.before do
  # authentication
end
Tus::Server.after do
  if request.post?
    # after create hoook
  end
end

Let me know if that doesn't suit your needs.

@janko-m sorry, I meant "after finished", so I can move the file and/or process it ...

You can check whether the upload has finished by checking whether the request was a PATCH request and whether Upload-Offset and Upload-Length headers are the same.
Tus::Server.plugin :hooks

Tus::Server.after do
  if request.patch? && response.headers["Upload-Offset"] == response.headers["Upload-Length"]
    # after create hook
  end
end

But I see it would be useful to have hooks so that you don't have to know this logic. I'll see which ones tusd has and probably add them to tus-ruby-server.

yeah man!

@janko-m I'm new to tus, maybe you are willing to answer me some questions: I upload large audio files and then need to process these (create an additional mp3 version). it seems to me, that the main purpose of all tus implementations is, to get files uploaded to the server and that's it, right? so anything like after upload moving and serving the files can be any creative implementation of myself. for the moment I use tusd for uploading and a shell script after finished upload to create a mp3 version and then move the file+mp3 version to another folder on e.g. /mnt/new-disk/.... the folder name is the tus id.
is there any best practice for serving the files as downloads and enable deleting via request by user? currently I'm feeling like I am creating a really glued architecture, with tusd for uploads, shell script for processing and pinging my backend after finish ... So if I now start writing an extra web app (rack or node) only to serve downloads and let users delete files this mess gets bigger and bigger :-)
sorry, maybe you can give me an advice on  best practice for serving/deleting after upload, as I can't find much on this topic ...
cheers

If you want some structure in dealing with the file after it has been uploaded, you can use Shrine with shrine-tus. Shrine is a gem that helps you attach uploaded files to database records, while shrine-tus integrates with tus-ruby-server. So, you can have Shrine move the file directly from the tus-ruby-server storage (by default the data/ directory) to your configured Shrine storage (/mnt/new-disk/...) when attaching to a record (and optionally process an mp3).
Then for downloading the file from the Shrine storage (/mnt/new-disk/...) you can use the download_endpoint Shrine plugin.
As for deleting, if the file is "attached" to a database record, you can either have files automatically deleted by deleting the database record, or you can use the remove_attachment Shrine plugin to "deassign" the attached file (which would also delete the files). If you're using the versions plugin, Shrine will automatically delete both the original file and your generated mp3.
I primarily wrote tus-ruby-server so that I can bring resumable uploads to Shrine 😃

hm yeah the thing is, I have a tus server, and a backend+frontend server ... so my database connection is the backend ...

If your requirements don't include attach files to database records, then you should probably skip Shrine. Outside of that I don't have any guidelines to give you, as it sounds like you're implementing a custom workflow.

yeah that seems right. but thank you very much! :-)

Hooks have been released in version 2.2.0: https://github.com/janko-m/tus-ruby-server#hooks


access mysql inside wocker

How can I access mysql inside wocker? I need this because i need export import databases.
Thanks

You can use a Wocker command $ wocker exec to enter a running container, and the simplest way to export / import database is probably using WP-CLI.
Enter the running container
$ vagrant ssh

core@wocker ~ $ wocker exec -it CONTAINER bash

WP-CLI
root@****:/var/www/wordpress# wp --allow-root db

Note: the --allow-root option is required.
More information about WP-CLI: http://wp-cli.org/
MySQL
root@****:/var/www/wordpress# mysql -uwordpress -pwordpress

These issues may also help you:

Accessing the database from host OS #6
Sharing DBs across machines #7

I will improve the documentation about this in the future.


XPRESS System.AccessViolationException: Attempted to read or write protected memory (caused because inconsistent number of cols and timelimit)

What version of OR-tools and what language are you using?
Version: source V7.5 stable
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
XPRESS
What operating system (Linux, Windows, ...) and version?
Windows 10
What did you do?
Solved MIP matrix with a max time limit for XPRESS. The Max time limit was reached.
What did you expect to see
OR tools should return the solution values
What did you see instead?
It crashed with a System.AccessViolation message
Problem/Solution
Note: All the code below is in xpress_interface.cc
The problem is that depending in the status of the solution the next code can bring different values:
XPRSgetintattrib(mLp, XPRS_COLS, &nCols);
In my case it was bringing the Presolve number of columns. But the next code request an array with the original number of columns:
XPRSgetmipsol(mLp, x.get(), 0)
This mismatch of number of columns causes the System.AccessViolation.
In order to solve the problem, it is better to call the number of columns and rows before solving.
  int const rows = XPRSgetnumrows(mLp);   int const cols = XPRSgetnumcols(mLp);

Hi,
Thanks for this feedback, any PR is welcome !

Thank you and the team, ORTools is awesome!!


DeepTraffic not available

DeepTraffic is no longer available at https://deeplearning.mit.edu/deeptraffic .  Is this permanent?  Temporary with a new version soon?  If a new version is coming, when?
Thank you in advance for any information you can provide.

Same issue as of 2022, this was a great tool, any possibility of putting it back online or sharing it?


Update ti-test-splitting.md

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e622d6310f2b2c5f87463f--harness-developer.netlify.app


Speed up travis CI build

Only build master (This also builds PR)
Only build latest PR change (to prevent piled up builds.)

:+1:


Save System (Old & New) Won't save character last position when saved in the middle of moving/tweening

Describe the bug
Saving a game while the character is in the middle of movements will make the character not appearing after being loaded. I tried this with the default Fungus Save System and The new Save System (cherry picked from related PR)
To Reproduce
Save the game when a character is tweening/moving between stages, then load the game back, the character is missing/not showing on screen.
Expected behavior
Would appear at the right position

I know this is not really a solution to your problem the way you would prefer fixing it, but it might be worth considering working around this issue by disallowing saving while a character is moving, because saving character position the way you have in mind is probably more complicated than its worth.

Hello, thanks for your input. But that's not a feasible solution when the game itself consists lots of tweening (moving characters, characters expression, moving UI elements, etc...)

The new save system (targeting 3.14) doesn't attempt to save positions and does not make any attempt to save tweens. It does save character state though.
Can you give more detail on the repro circumstance so I can add test case for it to the new save system.

I should've clarified that I was using a custom command via LeanTween to make sorta like character expression. For example, when the character is happy, the portrait would jump up and down etc.
And yes those custom commands work under Fungus Stage system, with slight adjustment to it.


Force auto connect to be on for lbryum

This will force auto connect to be on for lbryum when using lbry.
Auto connect allows lbryum wallet to connect to a functioning server if the default is down, and reconnect if a connection dies.
This should fix lbryum wallet startup being slow in some instances.
Goes with merged lbryum patch https://github.com/lbryio/lbryum/pull/52

this should already be set: https://github.com/lbryio/lbry/blob/e03db79f79fdf4c20a960485b15cdf468af4dba8/lbrynet/lbrynet_daemon/Daemon.py#L801

Ah, that has a spelling mistake, should be auto_connect instead of auto-connect. Will close and make new pull request that fixes that mistake.


Add option for size of the preflight PVC

I'm currently migrating some manual iSCSI PVs to Democratic-CSI managed iSCSI PVs, one of the problems I've hit is that 1Mi is too small for xfs filesystems to format correctly with the block size setup I have.
Building a custom version of pvmigrate with the PVC size bumped to 100Mi worked. It would be nice if we had a argument to pass in the preflight PVC size to avoid this issue.

I am experiencing the same issue with a netapp-trident backend.
volume pvc-d471b3e6-96ff-4455-ba6e-91b8fca79a13 on storage pool n11_aggrNLSAS_01 from backend ontap-nas: unsupported capacity range; requested volume size (1048576 bytes) is too small; the minimum volume size is 20971520 bytes]; [Failed to create volume pvc-d471b3e6-96ff-4455-ba6e-91b8fca79a13 on storage pool n10_aggrSSD_01 from backend ontap-nas: unsupported capacity range; requested volume size (1048576 bytes) is too small; the minimum volume size is 20971520 bytes]; [Failed to create volume pvc-d471b3e6-96ff-4455-ba6e-91b8fca79a13 on storage pool n09_aggrSSD_01 from backend ontap-nas: unsupported capacity range; requested volume size (1048576 bytes) is too small; the minimum volume size is 20971520 bytes]; [Failed to create volume pvc-d471b3e6-96ff-4455-ba6e-91b8fca79a13 on storage pool n12_aggrNLSAS_01 from backend ontap-nas: unsupported capacity range; requested volume size (1048576 bytes) is too small; the minimum volume size is 20971520 bytes]


Why time indices are ignored in FieldSet.from_netcdf?

I have a set of netcdf files with a date overlap: the last date of one file is the first date of the next file. I have one file per day and hourly outputs, and instead of having 24 indices per file, I have 25 indices. Because of this, I get an error when creating the fieldset with FieldSet.from_netcdf. To solve this, I need to read only the first 24 indices of each file. However, when doing an easy test like this for only one file:
indices = {'depth': np.arange(2).tolist(),
              'lat': np.arange(2).tolist(),
              'lon': np.arange(2).tolist(),
              'time': np.arange(2).tolist()}

fieldset = FieldSet.from_netcdf(filenames, variables, dimensions, indices, deferred_load=False)

I get the following warning: "WARNING: time dimension in indices is not necessary anymore. It is then ignored."
And the shape of the U field (fieldset.U.data.shape) is (25, 2, 2, 2).
Hence, indices works for all dimensions except for time. Why this happens? Can I force the code to read the time indices?

Hi @bbarcelollull, thanks for posting this question. You are right that parcels doesn't support indexing for the time-dimensions. That would have take a lot of development effort, and in most use-cases so far there is one snapshot per file so users can easily subselect by changing the list of files they provide when creating a fieldset.
An alternative is to use FieldSet.from_xarray_dataset(), which is much more flexible because it allows you to pass xarray datasets directly


Nissan: Increase steer threshold

Occationally when going around a corner, a bump in the road would trigger the steer threshold, reducing the torque applied by LKAS and the car would run wide.  A value of 1.75 is roughly what the stock system uses for the STEERING_PRESSED signal.

You can update ref_commit to 520cf8bbbc7e37d3a54ce8d443f52eb232758be5


Add track snippet

Other tracks have hello world as their snippet. We can use something else though.On Feb 3, 2024, at 2:10 PM, Isaac Good @.***> wrote:
@IsaacG approved this pull request.
Are we going to confuse people trying to solve Hello World?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Should we add something sqlite-like?

Perhaps a CREATE TABLE statement, and a .save hello_world.db ?


add video link editor for cases/methods/orgs and add videos to details pages

We want:

when editing a case/method/org, to have the ability to add a link to one or more youtube or vimeo URLs
to have those URLs stored by the API using the videos field of things.  This field should be an array of URLs.
when viewing a detailed case/method/org, use a widget to let people play/pause etc. that video in the page.

Steps:

the API will already return videos fields if they exist
for editors, modify CaseEditor, MethodEditor, OrganizationEditor to have a Field that's just like the solution for links.  In fact you can probably reuse makeLocalizedListField at first, although I think we will want to over time move to a setup where we check that the links are indeed links to video hosting sites that the widget knows how to play
for details view, modify CaseDetails etc with a widget (make sure it knows how to deal with youtube vs. vimeo links for example).

The Field widget is part of 'simple-react-form, which is worth reading about.  The Formtakes the object in question, extracts the fields for eachField, sends the value at the time of rendering to the component specified by the typefield in theField, and expects that component to call the onChangedprop that it is passed.  It's confusing, but look at the otherPropEditors` for the model (if you need it -- you probably only need to dig into that to do validation)
Ask if you have questions!

Covered in #539


API key not working

I keep getting GooglePlaces API Error: REQUEST_DENIED in the debugger why is tat? Which API key should I use?

Found the error, needed to enable the Google Places API Web Service


Adding separate field to provide summary for release series

@gunnarmorling  knowing the char limit(120) I tried to keep the summary sort and in one line.
And if we wanted to have something like 2 or 3 lines description. I would suggest we keep the existing 120 char inside the box but also show the complete version on the detail page(screen below). At the top just above Tested versions

Hey @Naros, @jpechane, wanted to point you to this change; there'll be a new attribute taking a description of the contents of a release family (1.4, 1.5, 1.6, etc.). So far, we only showed the contents of the latest micro for reach series, which typically would result in rather unspecific descriptions like "bugfix release". @indraraj already changed this to show the first one (Alpha1), which changes the focus towards more feature-related changes, but it's missing all the other stuff added in subsequent preview releases. So we decided to go for a new attribute at the series level. So when doing a release going forward, this will need some attention (defining an initial value for Alpha1, updating the value when doing subsequent preview releases that contribute significant features). Hope that makes sense, let's discuss if there are any questions.

Rebased and applied. Thanks a lot, @indraraj!


Razor Page completions shown for older projects

In an ASP.NET Core 1.0 project:

Looks like this only happens before the packages are restored for the project.

Yup, that makes sense. We default to latest Razor until we know better 👍


Json Compat issues with Skills and .Net Core 3.1

We have identified some issues when root bots (skill consumers) try to consume bots written in .Net Core 2.x or 3.x.
Here are the two issues we've found so far:

A skill consumer throws a MissingMethodException when receiving a response from a skill

OAuth Cards render empty in a 3.1 Core skill consumer.

We are currently researching the issue and will post an update once we find a resultion.
Related articles:
Breaking changes to Microsoft.AspNetCore.App in 3.0
Discussion: JsonResult has moved to the Microsoft.AspNetCore.Mvc.Core assembly
The future of JSON in .NET Core 3.0
FYI: @johnataylor & @lzc850612 & @lauren-mills

Need to make some additional changes based on Tom's feedback, reopening this issue


File globbing is broken

Issue Type

[x] Bug Report
[ ] Feature Request
[ ] Other

There are couple of issues - will update when I get time.
Current/Missing Behaviour
Expected/Proposed Behaviour
Additional Info

Package version: 4.2.1
Operating System: N/A
Node version: N/A
NW.js version: N/A

Tracking in #868


refactor(transformer): rename VarDeclarationsStore methods

Follow-on after #7668. Rename create_var* methods to create_uid_var*.
Previous method name create_var might suggest that it creates a binding with the provided name. But actually it creates a UID with name based on the name provided.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#7682  👈 (View in Graphite)
#7668
#7667
#7666
#7665
#7642
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Dec 5, 10:08 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


fix: add on_primary_container() method to dynamic_scheme.rs

Thank You! Sorry I was away from programming for a while


the socialsharing plugin in my app is kinda slow to show the popup tabs

Im creating an app that has a sharing function, but its pretty slow to show the actual share popup, ive tried sending url link to the image and a base64 version of the image, but I don't see the difference in performance speed. Is there something wrong with my code. I don't know if I have to show the code or not, if I do please tell me and I'll upload the social sharing part

you should check on the process, but I tested the share is pretty fast itself with text based trigger :)

@Boby ahh okk ill try and change a few things and ill update the thread in a bit

the base64 could be the issue but you can test and strip off the base64 and try text 1st see how it goes

does the internet factor into the popup speed?, Ive tried text only, base64img and url and now they're fast. everytime i make a change I made a new build for the ionic app, now its fast even with the base64img, i dont know what happened but I guess this is ok. If you have anymore suggestions just incase, pls reply to this thread. I think ill keep this thread open for a few more hours.

Im creating an app that has a sharing function, but its pretty slow to show the actual share popup, ive tried sending url link to the image and a base64 version of the image, but I don't see the difference in performance speed. Is there something wrong with my code. I don't know if I have to show the code or not, if I do please tell me and I'll upload the social sharing part

Check this Pull Request https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/pull/1090


[Questions] Is there a way to discover the digest for the 3.4.3 image?

I have a scenario in which I need access to the alpine Docker image that contains 3.4.3.  I tracked down the PR to the official image library where it was introduced but can't find the digest for the built image anywhere.  I would like to be able to pull it via alpine@sha256xxxx

I got an answer - https://github.com/docker-library/official-images/issues/2715
Would be nice if the Alpine Docker images had x.y.z tags.


Add decorators to babel parser

We have a project that is using decorators. We would like to add the option to the babel parser so that Stryker will work on our project

@wiseolddj thanks for the PR. Unfortunately, we didn't have time to look at it before.
I'm closing this PR in favor of #1474. Is that implementation also good for you?


TODO 2019/03

03/04

[x] Release servr and xaringan

03/05

[ ] Release pagedown
[ ] Triage knitr and rmarkdown issues

03/06

[ ] Triage knitr and rmarkdown issues


PAPI's High Level API from version >6.0.0 has some problems depending on selected events

Depending on available events at a given machine, and which events are selected, using  papi_high.hl_region_begin and papi_high.hl_region_end pair from #37 may throw the following exceptions:
>>> from pypapi import papi_high
>>> papi_high.hl_region_begin("computation")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/serodio/Documents/Open_Source/debug/pypapi/exceptions.py", line 197, in papi_error_wrapper
    raise object_()
pypapi.exceptions.PapiInvalidValueError: Invalid Argument. (PAPI_EINVAL)
>>> papi_high.hl_region_end("computation")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/serodio/Documents/Open_Source/debug/pypapi/exceptions.py", line 197, in papi_error_wrapper
    raise object_()
pypapi.exceptions.PapiMiscellaneousError: Unknown error code. (PAPI_EMISC)

This happens if the selected events are not available on the current machine, in my example I previously set the PAPI_EVENTS environment variable with export PAPI_EVENTS="PAPI_TOT_CYC", but this preset event was not available at my machine. So it is important to check the events available at the PAPI installation that has been used to configure PyPAPI.
This can be done by running the auxiliary scripts papi_components_avail, papi_avail or papi_native_avail from the library USED with the Python Binding.
It is possible to use the Low Level API as well. However, it will list the preset events even though you might not have them available at your current machine.
from pypapi import papi_low

papi_low.library_init() # It is necessary to init the library before running functions from the Low Level API
papi_low.enum_cmp_event(0) # Component 0 is usually perf_event

Another important thing to point out is that some counters can't be read without superuser privileges, which may lead to incorrect event counts, which is the case for some energy counter used by the powercap component. To use them, it is possible to run the script as root or run it inside a Docker containers with the --privileged flag.

This is not a problem with the Python Binding but with how PAPI works.


The framer.js is not the newest framer.js

The framer.js of Framer.zip can not compile "borderRadius".

You might want to go to http://builds.framerjs.com/ for the latest framer.js

@vennsoh  Thanks!

If you're using the Mac App, you can also use 'Update Framer Library' from the file menu to update to the latest build


Add 1st draft of docker deploy --compose-file

Describe the proposed changes
Adds documentation on the new compose to swarm feature in the engine — making it possible to use a compose file to deploy services, with docker deploy --compose-file ….
Unreleased project version
For 1.13.0 GA.
Related issue
Not aware if there is an issue in this repo on that or not :angel: but this should fix https://github.com/docker/docker/issues/28414 :angel:
Related issue or PR in another project
https://github.com/docker/docker/pull/27998
Please take a look
@mstanleyjones @thaJeztah
It's a really simple draft to start the process of documenting the feature. It's probably a little bit poorly written and misses some informations (like the list of forbidden/unsupported elements and the reason why)

Closing in favor of #685 :angel:


fix: test meta vars

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.258%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4378

Relevant Lines:
5270

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.258%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4378

Relevant Lines:
5270

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.258%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4378

Relevant Lines:
5270

💛  - Coveralls


Fixing discovery, and on-new-lead template

I don’t think we need to. The comments should be enough, without the key
set it will just return the entry and the computed values without the
clearbit prop.
On Sun, Oct 29, 2017 at 7:27 PM Bobby Johnson<EMAIL_ADDRESS>wrote:

@NotMyself commented on this pull request.
If the clearbit key is not set, should we send a message to the UI?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/auth0/extend/pull/43#pullrequestreview-72712878, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAInRP-ogRGa9xQhWakWj3__qKfHHSB6ks5sxPvvgaJpZM4QKLT0
.

Clearbit is an optional capability, not required
On Sun, Oct 29, 2017 at 7:38 PM Glenn Block<EMAIL_ADDRESS>wrote:

I don’t think we need to. The comments should be enough, without the key
set it will just return the entry and the computed values without the
clearbit prop.
On Sun, Oct 29, 2017 at 7:27 PM Bobby Johnson<EMAIL_ADDRESS>wrote:

@NotMyself commented on this pull request.
If the clearbit key is not set, should we send a message to the UI?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/auth0/extend/pull/43#pullrequestreview-72712878, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAInRP-ogRGa9xQhWakWj3__qKfHHSB6ks5sxPvvgaJpZM4QKLT0
.


How to close gui

Can I just use Gui#setClosed to close the openned gui when my plugin is disabling?

No, you have to use player.closeInventory() method. obliviate-invs will handle everything after that. Do you have any issue during plugin disabling?

Thanks a lot! What should I do when my plugin is disabling expecting closing all opened gui when using this library?
I only find init method to initialize the library.

There is no unload method. Why do you need it?

Ok, thanks for your support!


12 out of 12 tests: Fix Incorrect Implementation and Module Path Impo…

This pull request addresses the issues in the implementation and incorrect module path imports in the test files.
Changes Made:
Corrected the implementation logic in the affected files.
Updated the module paths for the test files to ensure proper imports.
Issue Fixed:
Resolves issue https://github.com/radicalxdev/kai-ai-backend/issues/65.

Closed as this issue was solved in the new Develop branch

Closed as this issue was solved in the new Develop branch


Add restart if 0.00 KH/s is displayed

Miner stops if synchronization stops.
Miner is not working even sync is going OK later.
Please add flag such as -r for restarting miner automatically if node sync was lost.

I just tested this and it seems to work fine and go back to mining after the node finished syncing.
Are you sure your node finished syncing? (if so you should be seeing messages like Accepted block 905c3fbc6bf25b37a1d95081ebebe07c47f6a6ec7b0df17f7b12a882665492f3 via relay in kaspad logs)


Support of Multi-GPU inference

Hi, I've tried some samples with good results, and I'm wondering if there is support for multi-GPU parallel inference?

Hi, it should be possible. You can use the accelerate library along with a dataloader. You will need to use accelerator.prepare(dataloader) to prepare the dataloader and move the model to accelerator.device to support multi gpu inference.


Please Fix logo URI in 2 tokens #13533

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

PR #13533 I am fixing the logo URIs of two tokens and one symbol minor change

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

This is required for an educational course example in 2 weeks. Thanks in advance

merged


ChannelVolume overflows when using u16 samples

When using ChannelVolume with u16 samples, the output is overloaded and clipped. If I print the output samples next to the input ones, it appears that 0x8000 is consistently added to each sample:
7c7c fc7c
8080 ffff
8585 ffff
8787 ffff
8383 ffff
7e7e fe7e
7171 f171
7373 f373
8484 ffff
8181 ffff
8282 ffff
7575 f575
7d7d fd7d
8989 ffff
8f8f ffff

This appears to be done by this code on channel_volume.rs line 90 (similar code also on line 34):
Some(self.current_sample
.get_or_insert_with(|| I::Item::zero_value())
.saturating_add(s));

Since with u16 samples, the zero value is 0x8000, this ends up clipping the upper half of the waveform.

Not sure why Sample is implemented for unsigned u16 in the first place, that's weird.


Thanos update causing compactor to err on sync before retention

Updated from Thanos 0.28.1 to Thanos 0.36.0. My compactor has been giving the following error across many instances (but not all):
{"caller":"compact.go:553","err":"syncing metas: filter metas: filter blocks marked for no downsample: get file: 01HTBG8EWAJGTQP6EHTPB37705/no-downsample-mark.json: Get \"https://storage.googleapis.com/instance-1/01HTBG8EWAJGTQP6EHTPB37705%2Fno-downsample-mark.json\": dial tcp <ip>: connect: cannot assign requested address","level":"error","msg":"retriable error","ts":"2024-08-09T00:04:41.953444998Z"}

Tried updating cpu, as I noticed that increased significantly with the version update to no avail. Help appreciated. Thanks!

This doesn't seem like a bug. Is it a 404 from GCS? Do you have any GCS metrics to check? I think it just means the no downsample marker was not found, which is expected.

Verified with our GCS team, and they don't see any issues on their side. It's also not just downsample markers. There's logs such as:
{"caller":"compact.go:553","err":"sync before retention: filter metas: filter blocks marked for deletion: get file: 01HZ6J56Y6FWE1J6PX22QSPG5K/deletion-mark.json: Get \"https://storage.googleapis.com/instance/01HZ6J56Y6FWE1J6PX22QSPG5K%2Fdeletion-mark.json\": dial tcp 1<ip>: connect: cannot assign requested address","level":"error","msg":"retriable error","ts":"2024-08-12T06:30:29.010988725Z"}

To add more details to this: if a compactor pod is bounced, it maybe goes 2-3 hours without the errors. Doesn't seem to sound like gcs network saturation.
Is there anything else I can try (debug logs don't really help much)?

Some other info.
cpu usage after update:

The thanos_compact_retries_total metric was a no factor prior to upgrade. Started right after update:


Typo and dev environment step missing

Two small things that I found while jumping around

Test failure is unrelated to this change, and it is fixed on dev. Good to merge.
Thanks!


Add file for Istituto Comprensivo Massa Martana

@niccolo-diamanti First stage of verification passed, official domain for Istituto comprensivo Massa Martana is scuolamartana.it as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@niccolo-diamanti Please tell us more about the school. What age are the students? Do you have high school curriculum at the school? If everyone at school are younger than 13, why don't PyCharm Community Edition and IntelliJ IDEA Community suit their needs?

@niccolo-diamanti You might miss my previous comment. Please react.

@niccolo-diamanti I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


HTTP_CLIENT: esp_transport_read returned:-1 and errno:128 (IDFGH-9463)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
W (08:14:20.210) HTTP_CLIENT: esp_transport_read returned:-1 and errno:128
E (08:14:20.211) esp_https_ota: data read -1, errno 128

i look up Error Numbers in https://github.com/espressif/esp-lwip/blob/10197b212a95c49c733fb18ffed56cafb0d196d4/src/include/lwip/errno.h
but this list end at 124.
pls Help. Need to know what 128 is.
Thanks!

Try printing strerror(errno)

@franz-ms-muc 128 means the peer send FIN to close the tcp connection.

The question is who is the peer (embedded device or the backend)..
Should be the ESP since it is receiving the data. Please , correct me if I am wrong.

@franz-ms-muc Thanks for reporting, would you please help share if any updates for the issue? Thanks.

Closing this issue due to lack of feedback, feel free to reopen with more updates. Thanks.


Priministar [PCSG00905]

Game summary

Game name: プライミニスター(Priministar)
Game serial: PCSG00905
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1082-416725d
Commit hash: https://github.com/vita3k/vita3k/commit/416725d

Test environment summary

Tested by: U-Bird
OS: Windows 10
CPU: AMD　A10-8750 3.60GHz
GPU: AMD Radedon R7(ON Board)
RAM: 8GB

Issues

Can't Play From Pink Scene.(Error is Same to Tetris Ultimate)
Screenshots
Log
vita3k.log

Vita3K summary

Version: v0.1.5
Build number: 2631
Commit hash: https://github.com/vita3k/vita3k/commit/aa88739b
CPU backend: Dynamic

Test environment summary

Tested by: othmanead
OS: Windows 11
CPU: Intel i5-10300H
GPU: RTX 3060 mobile
RAM: 16 GB

Issue:

Game has minor audio issues in voices, but other than it's good

Screenshots:

Log
vita3k.log
Recommended labels

Playable
Audio issues

graphics bugs

vita3k.log


JSR Command fails on Windows

OS: Windows
Package Manager: pnpm
I tried to run jsr using npm dlx jsr publish but I got this
 npx jsr publish --dry-run
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) Y

Downloading JSR binary...
[00:00] [#################################################>] 37.2 MiB/37.6 MiB
'C:\Users\Venel' is not recognized as an internal or external command,
operable program or batch file.
Child process exited with: 1

It has something to do with windows path but I don't know if I can fix this I might have to install jsr instead.
Link to minimal reproducible example: https://github.com/louiss0/dummy-jsr

Tried to reproduce the described error on my windows machine, but I'm not able to. It works as expected and publishes the package.

Tried to reproduce the described error on my windows machine, but I'm not able to. It works as expected and publishes the package.

I realized that it has something to do with the path.
The path on Windows is.
C:\Users\Venel Louis\Desktop

Tried with a folder that contains spaces, but still can't reproduce it. Publishing works as expected. Tried both with PowerShell and the old cmd.exe.

I guess it had something to do with my computer


Twitch Log-In not available since version 2.0.7

Version 2.0.7 (with 2.0.6 everything was working fine)
Windows 11 Home 21H2 64 Bit (Surface Pro 8)
After I installed Version 2.0.7 I can't login with my twitch information anymore.
When I click on Log-in / or Sign Up nothing happens. Also when I type in the fields nothing happens. Also I can't click in the password                                                field. (Screenshot attached)

I think Twitch is onto something fucky... see #800
Lots of changes to the authentication form. I am looking into it. Closing this one for #800


BayesSearchCV callback error

[Progress monitoring and control using callback argument of fit method example in this binder works OK - https://mybinder.org/v2/gh/scikit-optimize/scikit-optimize/a2369ddbc332d16d8ff173b12404b03fea472492?urlpath=lab%2Ftree%2Fnotebooks%2Fauto_examples%2Fsklearn-gridsearchcv-replacement.ipynb]
When I try to run the Progress monitoring and control example on my computer using SKopt 0.9.0 and Sklearn 1.0.1, the callback fails. Implementing a debugger, searchcv has the following Attribute Error
*** AttributeError: 'BayesSearchCV' object has no attribute 'best_score_'

still the same error in '0.9.0' version. Please, fix it!

Also having the same issue - any updates here please?

Same issue here.
def on_step(optim_result):
    score = opt.best_score_
    print("best score: %s" % score)
    if score >= 0.95:
        print('Interrupting!')
        return True

opt.fit(X, y, callback = on_step)


Update bunny instrumentation

The Ruby agent is known to support up to version 2.9.x of the bunny gem. We would love your help in making sure our instrumentation works with the latest version.
For guidance on how to proceed, see our Guide to Updating Instrumentation, and please let us know if you have any questions not covered there.

We addressed this as part of our prepend instrumentation work


glogger: Allow postponed initialization of Sender

What happened here? What was wrong with approved changes for Yesterday?

What happened here? What was wrong with approved changes for Yesterday?

@DanielShaulov , after talking with @netaneld122 it seems that this change is cleaner then the other one.
The change in sender is more complicated because we need to perform the change we did for auth_token to server_address also.


SSR client plugin should watch template change

What problem does this feature solve?
In v2.3.0, vue-server-renderer create a helper, client-plugin, that used to replace the html-webpack-plugin in server render situation.
However, the new plugin doesn't watch the template file change. If the plugin add this feature, like html-webpack-plugin, that will improve development experience.
What does the proposed API look like?
Not changes.

After looking at this - the feature should be implemented outside of vue-server-renderer via a userland setup. Here's how it's done in the vue-hn-2.0 demo app: https://github.com/vuejs/vue-hackernews-2.0/commit/27cb2c6f7758176a73c5400620a6478c57bc4dff


dotnet test --help output discrepancy with online documentation

Hello,
We recently found this page to find more about the behavior of "dotnet test" in a whole and were surprised to find there is more detail online than within the help output of the cli itself:

Is it intended or the help output is indeed missing details?
Thank you!

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

ID: 61ca4064-7481-a263-60fc-c70127f2ad16
Version Independent ID: 2878af44-8208-7bd8-46d4-3acda3e82ce0
Content: dotnet test command - .NET CLI
Content Source: docs/core/tools/dotnet-test.md
Product: dotnet-fundamentals
Technology: dotnet-cli
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

It's normal for the web-based documentation to have more detail than the CLI --help option. There is much more flexibility in Markdown and HTML for formatting and organizing data.


HDDS-9453. scm-leader-transfer.robot not part of any acceptance test

What changes were proposed in this pull request?
scmha/scm-leader-transfer.robot is not run in any test suite currently.
Aim is to execute this test for atleast one of the suite.
What is the link to the Apache JIRA
HDDS-9453
How was this patch tested?
CI

cc @tanvipenumudy @swamirishi can you please take a look.

scm-leader-transfer.robot was part of ozonesecure-ha/test.sh until the change: HDDS-8689, PR https://github.com/apache/ozone/pull/4943 (looks like it has been moved to the cert-rotation suite).

scm-leader-transfer.robot was part of ozonesecure-ha/test.sh until the change: HDDS-8689, PR #4943 (looks like it has been moved to the cert-rotation suite).

Hi @tanvipenumudy , I dont see it being executed as part of https://github.com/apache/ozone/actions/runs/6538885863/job/17774323240?pr=5439 CI, this is for cert-rotation acceptance tests.
This commit disabled the root-ca-rotation tests hence disabling this test too.
So currently its not being called anywhere.

Thanks @LZD-PratyushBhatt for the patch, @tanvipenumudy for the review.


Fix for a hang when searching for ICE candidate pairs

Pull Request Test Coverage Report for Build 1532

4 of 7 (57.14%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 46.799%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/ice/agent.go
4
7
57.14%

Totals

Change from base Build 1523:
0.04%

Covered Lines:
2814

Relevant Lines:
6013

💛  - Coveralls

The only thing that happens when an error gets returned is a write call returns 0 length, and a write gets missed. in the case that a candidate appears late, the connection should recover. @bakkem and I discussed this a bit this morning. I'm going to go ahead and merge. Thanks for all the help!


Use Charset throughout

The driver spends a lot of time converting from Charset to String and
from String to Charset. Every time checked exceptions have to be
caught. In addition the Charset lookup code is quite involved. It would
be simpler to use Charset everywhere.

@marschall  thank you very much


fixed critical logic error in CrossingsRemoved and added unit test as…

…sertions to catch this problem. The method could fail if paths started inside themselves.

Codecov Report

Merging #19 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   91.81%   91.86%   +0.04%
==========================================
  Files          26       26
  Lines        3934     3945      +11
==========================================
+ Hits         3612     3624      +12
+ Misses        322      321       -1

Impacted Files
Coverage Δ

BezierKit/Library/AugmentedGraph.swift
93.33% <100%> (+0.38%)
:arrow_up:

BezierKit/BezierKitTests/PathTests.swift
98.91% <100%> (+0.02%)
: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 27a8111...2db7841. Read the comment docs.


the dataset url is unavaliable

hello, the processed WMT'16 dataset url is unavaliable now, could you please share this dataset again?
I'd appreciate it if hearing your reply.

I've already found it : )