building.md#build-packages arm64 and amd64 build args is wrong?

Still from the toolkit folder, copy the toolchain archive built in the previous step into the toolkit folder
mv ../build/toolchain/toolchain_built_rpms_all.tar.gz .
Build ALL packages FOR AMD64  this is for ARM64?
sudo make build-packages -j$(nproc) CONFIG_FILE= TOOLCHAIN_ARCHIVE=toolchain_built_rpms_all.tar.gz DOWNLOAD_SRPMS=y REBUILD_TOOLS=y REBUILD_TOOLCHAIN=n REBUILD_PACKAGES=y PACKAGE_IGNORE_LIST="openjdk8 openjdk8_aarch64 shim-unsigned-aarch64"
Build ALL packages FOR ARM64 this is for AMD64  ?
sudo make build-packages -j$(nproc) CONFIG_FILE= TOOLCHAIN_ARCHIVE=toolchain_built_rpms_all.tar.gz DOWNLOAD_SRPMS=y REBUILD_TOOLS=y REBUILD_TOOLCHAIN=n REBUILD_PACKAGES=y PACKAGE_IGNORE_LIST="openjdk8 openjdk8_amd64 shim-unsigned-amd64"

Thanks for pointing this out, its not particularly intuitive and we probably should have explained!
If you are referring to the PACKAGE_IGNORE_LIST= variable, they are intentionally reversed. These are an artifact from an old bug build system and the slightly odd setup of those packages (I believe since resolved). The intent was to stop some of the tools attempting to process packages they were incapable of parsing due to an architecture mismatch.
I'm almost certain you can omit those completely now, and I'll make a note to clean this up for the next version (we are reworking some of the tooling anyways).

Ah, realized the issue. Some of the documentation fixes haven't bubbled up to the main branch yet.
I would recommend using https://github.com/microsoft/CBL-Mariner/blob/1.0/toolkit/README.md which has some streamlined build instructions.

Closing this issue as resolved.  Please open a new one if the current documentation has not fully addressed your concern.


Ubuntu 22.04 Jammy Jellyfish fails to build

Hi @BytesGuy Seems to be Kernel compat issues. The recent kernels in Focal are now refusing to boot in latest vmware fusion tech preview(Build 19431034). UTM users face the same issue as well.

Posts in vmware suggests that latest kernels cause the problems and to block updating them.

Hi @irfanjunaid thanks for the info, that's really useful. Seems like we will need to wait for some kind of workaround or update from VMWare to proceed with this box then! Hopefully it won't take too long 🙂

Hy there and thanks for your great work!
The issue is resolved for the most recent Ubuntu 22.04.1 images: https://kb.vmware.com/s/article/89983?lang=en_US

@hajowieland Ah thank you for the update :) I hope I'll get round to sorting this out soon now that I have some time!

Hi @hajowieland @BytesGuy @irfanjunaid
I have a working version of Ubuntu 22.04.2 in my fork 🙂


Add more unit tests

This pull request fixes a bug in the calculation of the ellipsoid points and adds following unit tests:

test_ellipsoid_reflection.f90
test_grid2par.f90
test_free_slip_3d.f90

Thanks @sjboeing. I updated the PR.

@matt-frey: I am happy for you to merge: I haven't gone through them completely but since these are tests they are checking existing functionality. If you would like me to have a closer look, maybe we can look at it together.

@sjboeing Yes, they test existing functionality, but just ported to 3D. Sure, we can also have a look together,


Refactor jobpost app, event app, add debug toolbar, add LOGIN_URL

Many changes, separated in 4 commits, rolled into one PR:
NOTE: this PR has backwards incompatible migration changes in 'jobpost' and 'event' apps (so DB should be recreated) and also requires installing django-debug-toolbar while DEBUG=True.  Due to these significant changes, I'm requesting review from @benjaoming before they are merged.
Summary of changes:
Refactor 'event' app

renamed model field names
related template changes
delete old migrations and create new migrations for event app

Refactor 'jobpost' app

renamed model field names
moved ModelForm to forms.py
updated templates to reflect new model field names (in this app and others)
delete old migrations, create new migrations for jobpost app

Add django-debug-toolbar for help with dev/debugging:

add to requirements_dev.txt
changes to settings/dev.py required for debug toolbar
modify djangodenmark/urls.py to add debug toolbar URLs when DEBUG = True

Add LOGIN_URL = 'login' (named URL) because default value ('/accounts/login/') does not work based on current url structure.  (this future-proofs things as well... as long as 'login' is still the named URL for desired login page)
Various changes to some template files just to restructure HTML/CSS for layout purposes.

Good catch on the JOBTYPE_CHOICES... I got a bit carried away with my find/replace.
I'll merge the PR.

Great! The staging server is updated now :)


Run Development Models using Production Data

Feature
Run Development Models using Production Data
There should be a command that allows data analysts to test models using production data. With a DAG like this:
model_a \
          - model_c - model_d
model_b /

If an analyst wants to test a modification to model d (or create a new dependent model e), they would need to have models a, b, and c present in their development schema or render these models at runtime as well. If model a, b or c is a large dataset or if any of those models has a significant run time this could represent nontrivial costs in time and storage. With a new command dbt develop --models model_d that parses any refs to models not stated in the --models argument to the command as referencing an up-to-date production dataset while still writing to a development target, these costs could be avoided and data model development could be significantly sped up.
Who will this benefit?
This would benefit larger analytics teams who observe significant storage costs from duplicate data, and teams with more generations in their dependency graphs.

Hey @nickymikail - thanks for making this issue!
Check out the thread over here: https://github.com/fishtown-analytics/dbt/issues/1603
#1603 describes something different than what you're asking for, but I think there might be a feature that we can pull out of that issue which would address your use case. The big idea is just that(some?)  refs should address models in your development schema, while others should address the models in the production schema.
It's would be really hard to build the generalized version of this: models can have all sorts of environment-aware logic which changes the destination schema/table names in prod vs. dev, for instance. Just knowing the location of the prod version of a model is going to be really tough in development!
Here are some alternative approaches that we recommend:

add filters to models in development, eg:

select * from my_really_big_table
{% if target.name == 'dev' %}
where created_at > getdate() - interval '3 days'
{% endif %}

Implement use-case specific logic in some specific models

{% if target.name == 'dev' %}
  -- just make a view that points to the prod model
  {{ config(materialized='view') }}

  select * from production.table_name

{% else %}
  -- build the model here
  {{ config(materialized='incremental') }}
  select ....

{% endif %}

utilize "zero copy clones" if possible (Snowflake only!)

Curious what you think about all of this!

Hi @drewbanin / @nickymikail :  I think the use case I have aqnd just discussed with dylan baker is similar in nature
What I am looking for is the following:
Initial state:

I have 2 years of snowplow event data
On top of that I have an incremental model in prod, aggregating it to the pageview level.

Change:

Now I want to start create a new model OR change an existing one on top of the pageview model
Initially, that pageview model does not exist in my dev env
instead of (partially) rebuilding that, I would like that pageview model to be copied (or cloned in snowflake) when the model is not found.

So, basically, when querying that pageview model in dev, I would like dbt to do something like this:
IF model_used_in_ref  NOT found THEN  COPY  or CLONE model_used_in_ref from prod target END IF
I could imagine a new DBT command like dbt develop --models model_d
OR a new run flag like dbt run -models +model_d --initialize_parents
The --initialize_parents flag would then take care of cloning / copying any parent models.

@bashyroger You've outlined a really compelling use case. We've come a long way on our thinking here over the past several months.
If you're on Snowflake, zero-copy cloning is a massive help because there's almost no added cost for cloning more than you need to. You can paint with the broadest possible brush. GitLab uses cloning as part of their CI process today; check out @emilieschario's recent Discourse comment for links.
Copying is a much costlier operation, so you wouldn't want to copy any more objects than you absolutely need to. We're laying some significant groundwork to enable more precise approaches in the next release:

nth-level parent/child selectors that allow you to select and copy only the first-degree parent of the model you want to run (#2052, #2485)
Even better: The ref() function could "defer" to a different namespace by pointing to a different run's artifacts (#2527), allowing you to select directly from the prod version of the pageview model and avoid copying/cloning entirely


CBC Radio Functionality

Please follow the guide below
Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Site support request (request for adding support for a new site)

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

# youtube-dl --verbose http://www.cbc.ca/radio/popup/audio/player.html?autoPlay=true&clipIds=2678738964&mediaIds=2678739061
[1] 22764
[2] 22765
xxx@xxx:/home/xxx# [debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'http://www.cbc.ca/radio/popup/audio/player.html?autoPlay=true']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.7
[debug] exe versions: avconv 11.8-6, avprobe 11.8-6, rtmpdump 2.4
[debug] Proxy map: {}
[cbc.ca] player.html: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError(u'clipId',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 427, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/cbc.py", line 128, in _real_extract
    for player_init in re.findall(r'CBC\.APP\.Caffeine\.initInstance\(({.+?})\);', webpage)]
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/cbc.py", line 111, in _extract_player_init
    clip_id = player_info['clipId']
KeyError: u'clipId'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 761, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 440, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'clipId',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.cbc.ca/radio/popup/audio/listen.html?autoPlay=true&clipIds=2678738964
Single video: http://www.cbc.ca/radio/popup/audio/listen.html?autoPlay=true&clipIds=2678738964&mediaIds=2678739061&contentarea=radio&subsection1=radio1&subsection2=currentaffairs&subsection3=back_story&contenttype=audio&title=2016/12/23/1.3317621-the-earthquake-and-the-aftermath-david-gutnick-haiti-2010&contentid=1.3317621

Description of your issue, suggested solution and other information
CBC Radio support is stated for youtube-dl.  I could not make it work.  If it is supported, could you please provide an example command & URL?

You have to either put the URL into quotes or manually escape all the special shell characters. Read FAQ entry for details.

I just wanted to apologize for not thinking of trying that.  Thank you for all of your hard work.


Task loop

Build a task scheduler responsible for sending crawl tasks at an interval; so that no manual work is required to keep a resource up to date. There are 2 ways:

Cronjob
Gevent task

Cronjob has my preference, as this can operate independently from the front-end and does not require a hack to keep some sort of threaded loop active within the findex-gui python process.

Implemented as of version <IP_ADDRESS>


[core][docs] Remove the "Understanding MUI packages" page

Understanding MUI packages is very outdated and just generally feels out of place as a doc in the Material UI product space. The products are described better in the Introduction to the MUI ecosystem blog post, and the info about styled-components can also be found in the Using styled-components doc, so I don't think this page really serves much of a purpose.
Here's what I propose:

remove Understanding MUI packages
redirect that page to the MUI ecosystem blog post
update the ecosystem blog post to include package names as well as the latest info from MUI X

hey can i work on this?

@ValkonX33 go ahead and open a PR for the first 2 points on the list! I'll take care of the third part (updating the content of that blog post). Do you know how to add a 301 redirect on the site?

Hey Thnaks
i'm having an issue, i'm not able to redirect the understand-mui-packages.md to mui-product-comparison
i've attached the screenshot of the problem would you mind looking at it and check if i'm doing it right in the understand-mui-packages.js file
its showing module not found i think i'm messing up with path of file which is causing the whole issue

Hey @samuelsycamore, I'd like to work on this issue; could you please assign it to me?

Hey @samuelsycamore, I've submitted a PR with the proposed changes here: #39835


adds some clarity around adding/getting files in node vs browser

Signed-off-by: andrew<EMAIL_ADDRESS>Been a number of related questions lately, so better if we can answer with some docs.

moving forward here too


gradle build failed when using annotationProcessor but intellij idea build and run successfully

Cause: superclass access check failed: class org.example.processor.SetterProcessor$1 (in unnamed module @0x1acf0bc3) cannot access class com.sun.tools.javac.tree.TreeTranslator (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.tree to unnamed module @0x1acf0bc3

When I use the compilation and operation of intellij idea, it can run normally. This error occurs when I switch to gradle

processor info

module-info.java
module annottation.processor.demo.processor {
    requires jdk.compiler;
    requires java.compiler;
    requires annottation.processor.demo.annotation;

    exports org.example.processor;
}

build.gradle
dependencies {
    implementation project(":annotation")
}

tasks.withType(JavaCompile) {
    options.compilerArgs = [
            "--add-exports=jdk.compiler/com.sun.tools.javac.api=annottation.processor.demo.processor",
            "--add-exports=jdk.compiler/com.sun.tools.javac.tree=annottation.processor.demo.processor",
            "--add-exports=jdk.compiler/com.sun.tools.javac.util=annottation.processor.demo.processor",
            "--add-exports=jdk.compiler/com.sun.tools.javac.code=annottation.processor.demo.processor",
            "--add-exports=jdk.compiler/com.sun.tools.javac.processing=annottation.processor.demo.processor",
    ]
}

demo info

build.gradle
dependencies {
    implementation project(":annotation")
    annotationProcessor project(":processor")
}

Gradle 7.4.2
Kotlin:       1.5.31
Groovy:       3.0.9
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          17.0.2 (Oracle Corporation 17.0.2+8-LTS-86)
OS:           Windows 10 10.0 amd64

Sorry that you're having trouble with Gradle!
Your issue lacks information about how to reproduce the problem you're having. A reproducer project can really help us track down and fix your problem quicker.  We may also be able to suggest workarounds or ways to avoid the problem if we can reproduce it.
This issue will be closed after 7 days, unless you can provide more information.

I've noticed that cause mentions to _unnamed_ module while --add-exports use explicit module name not the ALL-UNNAMED
Any chance that ALL-UNNAMED would work better?
On the other hand you are trying to name your module wonder why is error message referring as unnamed?

Closing as stale. If there's a stable reproducer, we'll reopen the issue.

@donat I believe that is potentially a duplicate and there is a sample project over there


Azure KeyVault 1.2.1 Maven dependencies issue, missing artifacts

Hi,
Dependencies are missing for azure-keyvault version 1.2.1
At least, azure-keyvault-parent and azure-keyvault-complete are missing in repository https://repo.spring.io/libs-release
	<dependency>
		<groupId>com.microsoft.azure</groupId>
		<artifactId>azure-keyvault</artifactId>
		<version>1.2.1</version>
	</dependency>
	<dependency>
		<groupId>com.microsoft.azure</groupId>
		<artifactId>azure-keyvault-cryptography</artifactId>
		<version>1.2.1</version>
	</dependency>
	<dependency>
		<groupId>com.microsoft.azure</groupId>
		<artifactId>azure-keyvault-extensions</artifactId>
		<version>1.2.1</version>
	</dependency>
	<dependency>
		<groupId>com.microsoft.azure</groupId>
		<artifactId>azure-keyvault-core</artifactId>
		<version>1.2.1</version>
	</dependency>
	<dependency>
		<groupId>com.microsoft.azure</groupId>
		<artifactId>azure-keyvault-webkey</artifactId>
		<version>1.2.1</version>
	</dependency>

Best regards,

Thank you for opening this issue! We are routing it to the appropriate team for follow up.

/cc @weshaggard @g2vinay

@hhanquez
We don't ship azure-keyvault-parent anymore for KV Track 1 SDKs.
The latest release version is 1.2.4, you can find them in the maven repo.
@vcolin7 can you confirm the release of azure-keyvault-complete 1.2.4 ?
Also,
We've shipped next gen KV SDKs, the v4.x azure-security-keyvault-* libraries are the latest supported SDK libraries for KeyVault. We do recommend upgrading to this latest stable, supported release. Packages and more information can be found here:
https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/keyvault/azure-security-keyvault-secrets
https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/keyvault/azure-security-keyvault-keys
https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/keyvault/azure-security-keyvault-certificates

We released azure-keyvault-complete 1.2.4 last week :)


0.0.3

Discussed in https://github.com/tuncayofficial/js-math/discussions/7

Originally posted by tuncayofficial October 12, 2022
Full Changelog: https://github.com/tuncayofficial/js-math/compare/0.0.2...0.0.3
This discussion was created from the release 0.0.3.

Package bug fixed successfully!


Volume control from PlayBar doesn't work

OS: Arch Linux KDE x86_64
Issue Descriptions: when using PlayBar (or, in fact, other Plasma widget for multimedia players) the volume slider does not change the volume at all:

(look at the volume sliders in-app and in PlayBar)
Also, when trying to move the slider in PlayBar, it just chooses some random value and moves the slider there (although the volume doesn't change, as mentioned above). Changing the volume in GPMDP does not affect the widget.
Steps to Reproduce:

Get some Plasma 5 player-control-widget
Run GPMDP
Try to change the volume level
PROFIT

I use Cinnamon and Gnome as my main DEs on Arch, but I will install KDE/Plasma and try to reproduce this.

The volume event from the MPRIS service hasn't been implemented.
See https://github.com/emersion/mpris-service/blob/cdd02bbef4585f8259b029caf912f667e220bcbf/index.js#L286
Our code: https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/blob/master/src/main/features/linux/mprisService.js
I can try to blindly implement this but I don't have a VM to try it out on (overseas atm) so it would be better if someone else could try this 👍


Inquiry regarding Bluetooth reconnection

If the Bluetooth connection is lost, doesn't it automatically re-scan? It is unfortunate that once it is disconnected, it cannot be reconnected.

It's the same symptom.
When the smartphone and dongle are paired, the connection switches to Wi-Fi and the Bluetooth connection is disconnected. And if the Wi-Fi connection is lost while going outside for a while, the Bluetooth and dongle need to be repaired, but nothing happens. However, if you kill aawgd and run it again, it will be repaired and reconnected.

Thanks! Let's continue the conversation as part of #26 in that case.


Issue with Galaxy S7

Hello,
First of all, thanks for creating this repo!
However, when I try to use your compiled version of Aframe (https://rawgit.com/thoragio/vr-aframe-dist/master/040/aframe-v0.4.0.min.js) with a Samsung Galaxy S7 the image is still distorded/duplicated in a cardboard, despite your additions.
http://btco-code.appspot.com/debug/screen_test.html returns
UA: Mozilla/5.0 (Linux; Android 6.0.1; SM-G935F Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.91 Mobile Safari/537.36
computed resolution: 2560 x 1440
screen.width: 640
screen.height: 360
screen.availWidth: 640
screen.availHeight: 360
window.devicePixelRatio: 4
Is there anything that can be fixed?
Thank you!

Hi, you have the exact same phone as me! Did you clear the cache when you updated your app to use my compiled version of A-Frame? I've had to go into Settings > Privacy > Clear browsing data and then clear cached images and files or my app would still use the previous version of A-Frame.

Thanks for the reply. Unfortunately it didn't help. I'm using it to display the default a-sky.

Can you show me your code so I can try and replicate the problem?

It is located here: http://loc.diagamter.com/testcardboard.html
On my OnePlus One, everything works just fine, but the view with the S7 is distorted.

I tested the page and was getting an error in the DPDB loader. I made a slight modification to the DPDB online cache file. I've tested it and it seems to be working fine now. Please try on your side and let me know.
Also, follow the steps above to clear your cache so that you get the latest DPDB cache file that I have updated.

Awesome, it works! Many thanks.
I've also tried with an iPhone 6S and the image looks fine until I enter VR mode. Then, the image looks blurry, I assume this is related to this? https://github.com/aframevr/aframe/issues/2008 In this case, is there anything that I can do to help?

Great!
Yes, the blur is related to that other issue. If you have some experience dealing with npm packages, check out the end of the discussion thread for that issue thread to see if you have any ideas. I am going to take a look at it when I get a chance.
In the meantime, you can just replace the Google DPDB URL in the 0.3.2 version with the URL to my repo and it will work fine. Or just use the one I've just updated here: https://github.com/thoragio/vr-aframe-dist
The URL you can use is: https://rawgit.com/thoragio/vr-aframe-dist/master/032/aframe-v0.3.2.min.js
Let me know if you have any issues with it when you test it on your iPhone 6S.

Once again, thank you. I don't own an IPhone personally which makes it hard for me to debug but I'll let you know if I face any issue.

OK. Thanks again for flagging this up.


Implement x-ms-parameterized-host functionality

https://github.com/Azure/autorest/blob/master/docs/extensions/readme.md#x-ms-parameterized-host
We implicitly implemented some of this in order to support blobs.  Needs to be completed.

Added in #368


Uploading images?

I apologize, but how should I go about uploading an image that will be associated with lets say a Sermon?
$rec[] = ['TableName' => 'Pocket_Platform_Sermons', 'RecordId' => (int)$sermon_id];
I really dont even know where to start.

Hey Mark,
The current API only supports the Tables and Procedures end points.  It
does not support file uploads as I haven't had a need for it.
But, if you give me a week or two, I'll see if I can get the Files piece
working to support the basic features.

Scott Madeira
On Fri, May 1, 2020 at 11:41 PM Mark Chaney<EMAIL_ADDRESS>wrote:

I apologize, but how should I go about uploading an image that will be
associated with lets say a Sermon?
$rec[] = ['TableName' => 'Pocket_Platform_Sermons', 'RecordId' =>
(int)$sermon_id];
I really dont even know where to start.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/smadeira/ministry-platform-api/issues/8, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABE4U3EBS6B2MQBSLP7PF6LRPOI65ANCNFSM4MXQKNQA
.

Well I extended the library to be able to do it but its a bit dirty (works though). The problem I am finding is that for the extra parameter options:
[
  {
    "FileId": 0,
    "FileName": "string",
    "Description": "string",
    "FileSize": 0,
    "ImageHeight": 0,
    "ImageWidth": 0,
    "IsDefaultImage": true,
    "TableName": "string",
    "RecordId": 0,
    "UniqueFileId": "string",
    "LastUpdated": "2020-05-05T18:12:24.339Z"
  }
]

They have to be passed as form_params with guzzle and when using multipart for the image data, you cant use anything other than multipart for that call.
http://docs.guzzlephp.org/en/stable/request-options.html#multipart

multipart cannot be used with the form_params option. You will need to use one or the other. Use form_params for application/x-www-form-urlencoded requests, and multipart for multipart/form-data requests.
This option cannot be used with body, form_params, or json

Now I really only need IsDefaultImage and that can be passed in the url as '?%24default=true' (not sure why they change the variable name). Id like to know what the UniquFileID is. Wondering if I can set that to something unique and new files will overwrite that file record without having to actually know the file record. Right now if I do multiple test uploads to a a sermon, it creates multiple files all with them saying they are the default image.
I had quite a few issues with the headers and the additional curl parameters, so had to remove them and reformat. Here is what I have so far that does at least successfully upload and attach  a sermon. Obviously not that flexible and as mentioned, a bit crude.
// Attempt to authenticate to the MP API
$mp = new FILES();
$mp->authenticate();

$response = $mp->table('Pocket_Platform_Sermons')
            ->record($record_id)
            ->file($filePath)
            ->upload();

var_dump($response[0]);

<?php namespace MinistryPlatformAPI;

class MinistryPlatformFilesAPI extends MinistryPlatformBaseAPI
{

    /**
     *  parameters
     *
     */
    protected $tableName = null;
    protected $recordID = null;
    protected $filePath = null;

    /**
     * Set the table for the GET request
     *
     * @param $tableName
     *
     * @return $this
     */
    public function table($tableName)
    {
        $this->tableName = $tableName;

        return $this;
    }

    /**
     * Set the recordID for
     *
     * @param $recordID
     *
     * @return $this
     */
    public function record($recordID)
    {
        $this->recordID = $recordID;

        return $this;
    }

    /**
     * Set the filePath for
     *
     * @param $filePath
     *
     * @return $this
     */
    public function file($filePath)
    {
        $this->filePath = $filePath;

        return $this;
    }

    /**
     * upload the file
     *
     * @return mixed
     */
    public function upload()
    {
        // Set the header
        $this->buildHttpHeader();

        $parameters = [
            'multipart' => [
              [
                'name' => 'image',
                'contents' => fopen($this->filePath, 'r'),
              ]
            ],
            'headers' => $this->headers,
        ];

        return  $this->sendData('POST', $parameters);
    }

    /**
     * Construct the API Endpoint for the request
     *
     * @return string
     */
    protected function buildEndpoint()
    {
        return $this->authorization->apiEndpoint . '/files/' . $this->tableName . '/' . $this->recordID.'?%24default=true';
    }

    protected function buildHttpHeader()
    {
        // Set the header
        $this->headers = [
            'Accept' => 'application/json',
            'Authorization' => $this->authorization->credentials->getAccessToken()
          ];

        return $this->headers;
    }

    /**
     * Return a Guzzle error message
     */
    public function errorMessage()
    {
        return $this->errorMessage;
    }
}

API wrapper now supports Files endpoint.


Pull in the latest knife-google, kitchen-google, inspec and more

The updated knife-google now uses the latest google API gem, which
allows us to use the latest inspec and kitchen-google gems as well. This
does explode our deps a bunch, but I think that's just life.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

We should probably measure the size increase at least to know what it is, even if we aren't going to fix it right now :)

The new deps are removed here https://github.com/inspec/train/pull/329


Able to connect bot to the test network

The test environment is completely separate from the main environment, so you will need to create a new user account and a new bot with @BotFather. This is very convenient when connecting a web app with a bot
https://docs.ton.org/develop/dapps/telegram-apps/testing-apps
examples https://docs.pyrogram.org/topics/test-servers

What actions are required for this support?

Hi @negasus
ran into the same question as @saneqq
Bot API 6.0 introduced the test environment
After receiving your bot token, you can send requests to the Bot API in this format:

https://api.telegram.org/bot<token>/test/METHOD_NAME

so i guess to support that it would need a flag - eg UseTestEnvironment - to pass to bot.New - using bot tokens created with an account in the test env get rejected by as Unauthorized when initializing the bot.

thanks @negasus !
works well.


Use new syntax for applying plugins on subprojects

https://docs.gradle.org/3.4/userguide/plugins.html#sec:subprojects_plugins_dsl

So there's something in there which I'm not super clear on, the inclusion of the google maven repository mirror. I wonder if kokoro is slower or unaffected without that in there.

It was introduced in #1406 under the assumption that it does speed up builds; maybe @patflynn knows more?

When I tested it out I did see a decent speedup in the build times.
alexsloan saw the opposite.
On Mon, Jul 17, 2017 at 2:47 PM, Nate Kibler<EMAIL_ADDRESS>wrote:

It was introduced in #1406
https://github.com/GoogleCloudPlatform/google-cloud-intellij/pull/1406
under the assumption that it does speed up builds; maybe @patflynn
https://github.com/patflynn knows more?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-intellij/pull/1553#issuecomment-315845933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HYkOZe0opIsXht2MJUCUjBnjGknSks5sO6xEgaJpZM4OaSq_
.

I'm still inclined to keep it though because gcs is less flaky than maven central

@loosebazooka we merging this?

I guess not, I forgot I wrote this. It's up to you guys really, if you want to.


redisbp: Minor improvements on the prometheus exporter

Move the Desc from the exporter to global variable as they really
don't change between different exporter instances.
Add a test to make sure that a service creating multiple redisbp
clients won't cause prometheus exporter registration issues.

cc @SuperQ

:+1: Thanks!


Latest update

The base universal cable, if you try to remove it, to move it The game crashes
The Enrichment chamber does not work now.
This is on FTB Infinity Lite 1.10

Please make sure you're using the latest version, build 295.

I installed 295 and the cables, now can be moved, but the Enrichment chamber still does not work. Dirty iron dust from crusher will not work in enrichment chamber.

On Nov 27, 2016, at 1:15 PM, Aidan<EMAIL_ADDRESS>wrote:
Closed #4018 https://github.com/aidancbrady/Mekanism/issues/4018.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/aidancbrady/Mekanism/issues/4018#event-872908602, or mute the thread https://github.com/notifications/unsubscribe-auth/ADPWwBIGjUJLYsNDWFycRQcttD0Uv5Xlks5rCcjIgaJpZM4K9NFj.

Works fine in latest build (295), perhaps you should consult the modpack makers to find out whats going on with THEIR pack, since default operation is working as intended. They may have made changes, etc.


Problem about generate

Thanks for the repo!
I used your code to trained the model. But when I tried to do the inference, the output is just the copy of the input. Have you met this problem before?

Hi you’re more than welcome, happy to hear you were able to train and sorry to hear you’re having trouble with inference! I have not encountered that issue personally but lets see if we can work it out.
Are you using the generate.py script for inference?
Any additional details you’re able to provide about what how to replicate the error would be very helpful as well.

Thank you for your response! Yes, I'm using generate.py script for inference. And for the training, I just changed the base model path, because I downloaded the mpt-7b.

That is very strange. You’re going through the gradio interface it sets up?
I've actually only really used the mpt-7b-instruct version so far so that might be a source of the error itself. The pretrained, non fine tuned model (non-instruct) just does next word prediction pretty much without knowledge of how to follow instructions/answer questions so if your fine tuning isn't sufficient to teach it this process then it could potentially cause this error but I would still expect it to at least generate some different text/more text.
Im about to go to bed but can try and briefly look at this tomorrow morning and look in detail on Monday if you’re still having issue.

No problem. I will do more tests, and I will let you know if I still have that problem. Thank you!

Now for the original dataset, it can be fine tuned well. But if I changed it to my self constructed dataset, it still have the same error (Repeat the input).

Yeah it worked fine. Did you continue to use the Seq2Seq collator and set everything up in the same format as the Alpaca in terms of compatibility with the prompt generator and everything?

I tested with the vanilla Mpt model and had no issue either. Ill be around tomorrow if you’re still having issue I can make time for a video call or something if you’d like. I learn from working through these things as well so its no bother.

I changed nothing but the dataset format. I set everything up in the same format as the Alpaca. And I used the same dataset for llama-lora and it worked fine.
Yeah, it would be good if we can make time for a video call on zoom tomorrow.

If you don't mind, could you please share your dataset? So I can double check the right format.

Sure, I don't see a way to do a private message on github. I made a burner email so I don't get my real one loaded with spam. Feel free to reach out to plan the zoom, I can late-afternoon/night today or tomorrow.
Email:
<EMAIL_ADDRESS>

Sorry for the late reply. I sent you an email a few days ago, but I'm not sure I use the burner email correctly. I think I find the where the problem is. I will let you know if I have any updates and problem. Thank you so much for your help.


GC Command is triggered by client

This PR adds the GC Command to the client. By doing so the client can now decide when to send a GC command.

This change is

Coverage decreased (-0.2%) to 68.383% when pulling 03473f2ef1e7e019a16cb9a87c10622983273568 on gc-command into 26c9664f6d5c30ddd01b7f17b6f756f221a8995f on master.

Reviewed 9 of 9 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

see #261

Coverage decreased (-0.2%) to 68.919% when pulling 9c412a6a4bf7e41f3c55e5ff7ed8caeb0c471da1 on gc-command into 999c0b7f0377f82b80981dc7d33bc6ad00c7e342 on master.

Coverage decreased (-0.2%) to 67.739% when pulling 1c873f099db2d97f271fc3b929bbc0dc3f8c2af1 on gc-command into af9c851f16de91e8525d70198d1eb0e20d7f230c on master.

Coverage decreased (-0.2%) to 67.739% when pulling 1c873f099db2d97f271fc3b929bbc0dc3f8c2af1 on gc-command into af9c851f16de91e8525d70198d1eb0e20d7f230c on master.

Coverage decreased (-0.02%) to 68.333% when pulling 79ec4d42e3fb43d82fcba855330762b1a3ab5f79 on gc-command into ca78bbff2c527f5e979b596a993937dbcca30811 on master.

Coverage increased (+0.02%) to 68.383% when pulling 79ec4d42e3fb43d82fcba855330762b1a3ab5f79 on gc-command into ca78bbff2c527f5e979b596a993937dbcca30811 on master.


Target the browser

Getting started with rollup for a webapp wasn't as easy as I thought it would be!
I usually want rollup-plugin-node-resolve and getting tests to run can be even more troublesome.
I don't expect this to be merged into master, perhaps there's a rollup-starter-webapp repo that I failed to find but I'd love some feedback on my approach.

@au-phiware thanks for sharing! I opened a related issue here (trying to provide both Node.js and browser implementations):
https://github.com/rollup/rollup/issues/1308
I'd love to know what you think.


add a changelog for Zaraz

Thank you @kodster28 !

My information submitted name Naveed iftikhar from Quetta Balochistan
Pakistan phone number<PHONE_NUMBER>51
Address. Faisal town brewery road Quetta Balochistan Pakistan
Postel coad area 87300
Bank details submitted
PK27TMFB0000000029800288
Plsss myself amount given me payment amount My given me and plsss my
porparty given my information submitted
On Thu, Sep 7, 2023, 6:09 AM bjesus @.***> wrote:

Thank you @kodster28 https://github.com/kodster28 !
—
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/cloudflare-docs/pull/10583#issuecomment-1709318877,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4M4HOEHLJDCQ5I2S37SYCTXZENGFANCNFSM6AAAAAA4NZAFVU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


record_transformer filter

How to add filter with specific syntax?
For example I need  tag:
<filter foo.bar>
  type record_transformer
  <record>
    hostname "#{Socket.gethostname}"
  </record>
</filter>

So it looks to me that the filter template  is actually a match template.
However, @nnovikov you can just use fluentd::configfile directly to do what you want.


Large loadable types: Fixes a bug in Apply's result type

Radar rdar://problem/31956335
Large loadable types: Fixes a bug wherein we did not update an Apply’s result type in case it is a function type - causing an incorrect function signature to be passed on to subsequent Apply instructions

@swift-ci Please smoke test

Please add tests!

LGTM.

@slavapestov Done. Added a new IRGen test case: f3_uses_f2 is similar to the radar's crash location (conceptually) now the compiler produces legal IR - I checked that the swiftcc calls inside f3_uses_f2 look like I expect them to.

@swift-ci Please smoke test


TypeError: Cannot read properties of undefined (reading 'path')

When the vscode updated to 1.74.0 the extension doesn't start anymore
This is the output i got from vscode Extension Host

I have the same issue

I confirm that it does not work with version 1.74!

I updated to v1.2.2 and it worked perfectly!
Thank you!😆


⚠ SceneTime has degraded performance

In 1174f3c, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1724 ms

Resolved: SceneTime performance has improved in 7ccb0a9 after 6 minutes.


[Enhancement] refactor allin1 image (#28240)

add supervisor and nginx into allin1
add broker into allin1
robust register BE BROKER into FE
be able to use stream load directly talking to nginx http port

Fixes #13319
(cherry picked from commit 011bf1714c15a08fa262e30ca1470b91e7edc4e2)
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[X] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[X] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


show loading message while loading commits

The loading of the commits can take quite some time. During startup nothing is displayed white the commits are loaded.
This PR introduces a loading message for the commit-boxes while loading the commits. This speeds up the start-up-time significantly. 🎉

Can somebody please review this. Thx!

@notwaldorf Done!

Thanks!


delete python files

[x] Remove python files
[ ] Move go-controller directory contents to parent level
[ ] Re-configure CI tests

Signed-off-by: Rajat Chopra<EMAIL_ADDRESS>

/test integration

/lgtm

Change of plans proposed here. This PR will just remove the python files. Then we can tag the commit and cut a release.
The rest of the tasks will be carried out post tag/release.
@shettyg PTAL
End of an era :).


[Tab] - Evenly divided tabs pixel offset between last tab and segment

Steps to Reproduce

Create an evenly divided tabular menu, e.g. ui top attached three item tabular menu.
Create corresponding segments, e.g. ui bottom attached tab segment.
add required javascript, e.g. $('.menu .item').tab();.

Expected
The border of the last tab of an evenly divided tabluar menu should match with the border of the attached segment.
Result
There is a small offset (1 pixel) between tab border and segment border.
Testcase
http://jsfiddle.net/9ux939ro/
(second example)

Was playing around with tabs today and noticed it.
it happens because of this:
.ui.attached.segment {
    width: calc(100% + 2px );
    max-width: calc(100% + 2px );

if you set
calc(100% + 1px);

it's fixed

This might be related: #4248.

Seems to be fixed in the community fork Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/1480
See your adjusted jsfiddle here http://jsfiddle.net/lubber/cr9xhogn/


🐛 Duplicating: non-working keyboard shortcut

Describe the bug
Duplicating in the modeling editor does not work for me because CTRL+D is the shortcut to create a bookmark.
Please choose another shortcut, CTRL+D always creates a bookmark when pressed!
Chrome Version: 74.0.3729.131 (64 bit; Windows 10)

Closing this in favor of #426.


Build using Powershell-Script fails

Building using the Powershell-script BldSdk.ps1 fails on my system with Nmake error u1095 (expanded command line too long).
System: Windows Server 2008 R2, Visual Studio Express 2012 for Windows Desktop

@michivo: We are closing this issue as BldSdk.ps1 PS script is no longer a part of present code base.


[CustomDbEngineVersion] Add new parameters in CEV

Issue #, if available: N / A
Description of changes:
Latest AWS RDS SDK has added three optional parameters for CEV model and originally required field is now no longer compulsory. This PR is to add the additional parameters to CFN accordingly.
Tests:

unit tests covered by default (doesn't require changes as it was generated based on model)
contract tests have passed locally

curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{ "TypeName": "AWS::RDS::CustomDBEngineVersion", "Bucket": "jiayuwa-cfn", "Key": "aws-service-resource-cev.zip", "TestDetails":["TestCreate,test_create_list", "TestCreate,test_create_create", "TestRead,test_governance", "TestRead,test_read_return_write_only_properties", "TestRead,test_read_return_readonly_properties", "TestDelete,test_delete_read", "TestDelete,test_delete_delete", "TestDelete,test_delete_list", "TestUpdate,test_update_read", "TestUpdate,test_update_list", "TestRead,test_read_return_all_schema_properties_using_one_or_more_inputs"] }'

test_read_input_output_negative_match from contract test doesn't apply for the API, this is because some parameters are not supposed to be used together (e.g. S3 bucket and source CEV). This particular test will fail with below if enabled.
"Invalid Inputs: not all the properties defined in the schema are specified": true

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Can you kindly confirm if all possible exceptions have been taken care of?
if the SourceCustomDBEngineVersionIdentifier or ImageId is not found or in an inappropriate state for the operation, what specific exceptions will be thrown?
Moreover, It will need to be associated with a recognized error from CloudFormation by adding it to the CreateHandler error role set, otherwise It will lead to an internal failure on the customer's end.

Yes I checked exceptions that could be thrown from the latest change, all have been covered by existing CreateHandler exceptions:

InvalidParameterValue
InvalidParameterCombination
AccessDenied
KMSKeyNotAccessibleFault

"s3:GetObject"

Thanks for the reminder! I do need to add additional permissions.


V1.1.0 computed breaks when computing a different shape for a computed signal

This was working under v1.0.1 but breaks under v1.1.0

availablePaymentTypes is a computed signal derived from:

configuredPaymentTypes: A resource signal that fetches data from an Apex method and updates based on its dependencies.
registeredPaymentTemplateByComponent: A computed signal that reshapes registeredPaymentComponents, a tracked signal (an array of objects).

Update Behavior:

The tracked signal registeredPaymentComponents is updated via reassignment in a function, for example:registeredPaymentComponents.value = [...registeredPaymentComponents.value, newItem];

-Updates to registeredPaymentComponents propagate to its dependent computed signals, including registeredPaymentTemplateByComponent and availablePaymentTypes.

availablePaymentTypeOptions Usage:

availablePaymentTypeOptions is a standalone computed signal that transforms availablePaymentTypes into an array of objects with { label, value }.
It’s exported and used to provide options for dropdowns or other UI components.

Thanks for the added info @stanleyzapata .
It seems I am going to need some additional help reproducing this on my side. I stood up some LWCs to try and replicate based on your comment, but all transformations are working as expected on my side.
Here is the code that I created to try and reproduce. If you have the chance, can you take a look and see if there's something I'm missing?
https://github.com/cesarParra/lwc-signals/compare/track-computed-values?expand=1
Here is what I built:

There are 2 components + 1 service that holds all of the signals. The component on top displays what the signals/resources/computed values have at any given time. The component at the bottom let me register new "Payment Types" by their name, which then recompute the available payment type signal, which in turn recomputes the options signal.

I tried to replicate my issue with your code, and couldn't replicate it either. After debugging some more, I found that the issue in my code is being caused by a circular reference from an effect.
What I Found

The issue is caused by an effect that sets a selected payment type based on availablePaymentTypes. The effect logic looks something like this:

It checks if there are availablePaymentTypes, and if there are, it performs a number of checks:

Verifies if the value in the selectedPaymentType signal is valid.
If selectedPaymentType doesn’t have a value, it sets the first value from availablePaymentTypes.

This creates a reference to availablePaymentTypes in the effect.

When availablePaymentTypes changes, it notifies its subscribers, including the effect. However:

During the notification phase, the effect attempts to access availablePaymentTypes again.
At this point, the code detects that availablePaymentTypes is still in a "computing" state, even though it has already finished computing and is simply notifying subscribers.

Call Stack Tree
availablePaymentTypes (computed)
  └── Notifies Subscribers
       └── selectedPaymentEffect
            └── Reads availablePaymentTypes (dependency)
                 └── Detects computing state, re-triggers effect causes an exception that stops notifications to other subscribers

I’d appreciate any insights or suggestions on whether this behavior is expected and if there’s a better way to handle such cases.

It depends. If the effect reads and writes the same signal, then yes, that is a known limitation and that is expected to cause a circular reference/infinite loop. Otherwise, if the effect just writes but does not read then that might be a bug.
For the first use case, I am planning on investigating adding something similar to the Preact untracked functionality (https://github.com/preactjs/signals?tab=readme-ov-file#untrackedfn) to be able to read a signal inside of an effect without subscribing to future notifications, but that is still in the idea stage.

If I understood correctly my issue falls under the first case where the effect reads and writes signals that are directly or indirectly linked. Specifically:
The effect reads from availablePaymentTypes to check if there are available payment types and determine if the selectedPaymentType signal should be updated.
Here’s a simplified version of the code:
$effect(function selectedPaymentEffect() {
    const availableTypes = availablePaymentTypes.value;

    if (availableTypes.length === 0) {
        if (selectedPaymentType.value !== null) {
            console.log('[LOG] Setting selectedPaymentType to null');
            selectedPaymentType.value = null;
        }
        return;
    }

    let selectedPaymentTypeValue = selectedPaymentType.value;

    // If the selected payment type is not available, reset it
    if (selectedPaymentTypeValue && !availableTypes.find(pt => pt.id === selectedPaymentType.value.id)) {
        selectedPaymentTypeValue = null;
    }

    // If no payment type is selected, select the first one
    if (!selectedPaymentTypeValue) {
        selectedPaymentTypeValue = availableTypes[0];
    }

    // Set the selected payment type, if it has changed
    if (selectedPaymentType.value !== selectedPaymentTypeValue) {
        selectedPaymentType.value = selectedPaymentTypeValue;
    }
});

I also want to highlight that is a bit a problem that if a single subscriber has issues with an update it affects the other subscribers and stops the complete update chain

Here’s a refined version of your response:

Oh, I didn’t think about doing it that way! If I follow the approach you mentioned, I believe it would work well to solve my case.
What I was trying to explain earlier is that errors in my previous implementation weren’t surfacing properly. If I used the logic I mentioned earlier, the errors seemed to get swallowed. I had to add debug logs in the library and step through the code multiple times to figure out what was happening. It seems that when one of the subscribers fails (in this case, the $effect subscriber), the error gets caught by the computed signal, and at some point, it gets lost. As a result, the computedGetter never runs. I suspect this might have something to do with $computed relying on $effect under the hood.

Oh, I didn’t think about doing it that way! If I follow the approach you mentioned, I believe it would work well to solve my case.
What I was trying to explain earlier is that errors in my previous implementation weren’t surfacing properly. If I used the logic I mentioned earlier, the errors seemed to get swallowed. I had to add debug logs in the library and step through the code multiple times to figure out what was happening. It seems that when one of the subscribers fails (in this case, the $effect subscriber), the error gets caught by the computed signal, and at some point, it gets lost. As a result, the computedGetter never runs. I suspect this might have something to do with $computed relying on $effect under the hood.

Got it. Let me do some work to improve the error handling experience.

Closing because main issue, was resolved by refactor and the problem I was seeing will be solved by #23


Typo

https://github.com/lucasfcosta/testing-javascript-applications/blob/e7a9a460827c522d0539607c5df23ae8bb5d788c/chapter4/1_setting_up_a_test_environment/1_exposing_modules/3_unit_tests/cartController.test.js#L71
Test Should be :
test('returns false for cards with more than 3 items of a kind',....)

Hi @Kubik-a, thank you for the issue! Would you like to open a PR to update the test description? If so, that would be welcome. Otherwise, I will fix this next week to give you time to create the PR yourself.


[BUG] - Folding more than class or className

Hi,
I noticed a bug that I don't think is already discovered. In the images below you can see that the extension is also folding content after the className
Without folding:

With folding:

Its seens a misbehaviour of regex...
Please provide the settings you are using so we can replicate it.

u can try this regex instead "inlineFold.regex": "(?<=(class|className|style|xmlns|[^\\w]d)=\")(.*?)(?=\")",


a bit more documentation for the rbfs

I found myself wanting examples in the docstrings of the GaussianRBF and PolynomialCutoffRBF, and I wanted some discussion over whether or not to choose normalize_output to be true or false

done in #186


Merger all device classes to EnchantedDevice

Use EnchantedDevice as some new devices is needing it and it shall not harming old devices wot we knowing.
Fixes: #2042

Codecov Report
Base: 83.64% // Head: 83.64% // No change to project coverage :thumbsup:

Coverage data is based on head (23055ec) compared to base (a6556fe).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2049   +/-   ##
=======================================
  Coverage   83.64%   83.64%
=======================================
  Files         249      249
  Lines        8024     8024
=======================================
  Hits         6712     6712
  Misses       1312     1312

Impacted Files
Coverage Δ

zhaquirks/tuya/ts001x.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6712

Relevant Lines:
8024

💛  - Coveralls


Updated Asana hello world with instructions

Wrote a simple hello world app that interrogates the Asana API, pulls the username from the user (based on their access token) and renders that name in the console. This is an example on the Asana API documentation, so nothing original, but provided step by step instructions to write it.
I am not a developer, so I spent my time making sure the instructions were easy to follow rather than building some elaborate   app using the Asana API. I also built a simple PUML diagram.
This is my first pull request ever, first time using PUML, so a few firsts for me. If there are any questions or I misunderstood how to contribute please let me know and I can make some changes to my fork.

Hi @ssbob - thanks for the contribution.  LGTM!


Fix some typing errors in DuckArrayModule

Fixes these errors that I've been seeing locally for a while:
!mypy C:\Users\J.W\Documents\GitHub\xarray\xarray\core\coordinates.py --ignore-missing-imports
C:\Users\J.W\Documents\GitHub\xarray\xarray\core\pycompat.py:48: error: Incompatible types in assignment (expression has type "Tuple[]", variable has type "Tuple[Any]")
C:\Users\J.W\Documents\GitHub\xarray\xarray\core\pycompat.py:50: error: Incompatible types in assignment (expression has type "Optional[Module]", variable has type "Optional[Literal['dask', 'pint', 'cupy', 'sparse']]")
Found 2 errors in 1 file (checked 1 source file)

Not sure why the CI isn't catching these?

Not sure what is up with minimum version policy and flox but it is unrelated.

I think the CI wasn't catching this because of:
https://github.com/pydata/xarray/blob/63a69fe4b2fa7a4de8a1b65826f6af4869818166/pyproject.toml#L73-L77

I think the CI wasn't catching this because of:
https://github.com/pydata/xarray/blob/63a69fe4b2fa7a4de8a1b65826f6af4869818166/pyproject.toml#L73-L77

Since now it seems to work, should we remove the ignore in pyproject.toml?
It seems that this module does mostly handle lazy duck module imports and not python version fixes.

Yeah, sounds reasonable. Maybe the reason for the ignore disappeared once DuckArrayModule was implemented?


Modify detection of HTTPS

This modifies the detection of HTTPS by checking whether the lower-case value of the HTTPS-key of the server variable equals 'on'. Before that checked whether the value did not match 'off' which meant that the nginx-default for non-HTTPS connections (which, according to the documentation is an empty string) did in fact match and returned that the connection is encrypted.
This fixes #362
Provide a narrative description of what you are trying to accomplish: See #362

[x] Are you fixing a bug?

[x] Detail how the bug is invoked currently.
[x] Detail the original, incorrect behavior.
[x] Detail the new, expected behavior.
[x] Base your feature on the master branch, and submit against that branch.
[x] Add a regression test that demonstrates the bug, and proves the fix.
[x] Add a CHANGELOG.md entry for the fix.

Thanks, @heiglandreas!


socketify.py - Add Docker files in Test Cases (alpine and debian)

PyPy3 alpine is not viable for now
https://github.com/docker-library/pypy/issues/5
But PyPy3, Python3 and Python3-alpine created


Implement creation, retrieval, and deletion APIs for items

I was also working on the items, mine looks very similar to this. I threw in an extra aggregation function just cause but we can talk about that on tomorrow, Approving this as PR


Re-touching header and homepage

(Create) background component
(Update) Header.tsx

remove onClick function as it changed into link
changed color

(Update) page.tsx(Home)

Remove default
Add Background
Change UIs

looks good to me.


Confusion about images' latest tag

How to categorize this issue?

/area delivery
/kind bug
/priority 3
What happened:
Currently the latest tag is not applied to v1.19.x but to v1.16.x. For example it is v1.16.6-dev-87995ad2e1599d2963d538afb9b0ba1eceece816 for admission-controller image when my opening this issue.
When installing with charts/gardener/controlplane admission-controller fails to start because of compatibility.
What you expected to happen:
I would expect my first day installation succeeds smoothly and avoid this kind of confusion. Latest label should be applied to latest images.
How to reproduce it (as minimally and precisely as possible):

clone this repo
with any kubernetes cluster, kind for example, install chart charts/gardener/controlplane
you will find admission-controller pod fails to start

Anything else we need to know?:
Environment:

Gardener version:
Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
Others:

/cc @AndreasBurger @ccwienk - can you help?

In general we don't recommend to use latest tag. For gardener the latest tag is pointed at the most recent updated image and it can be hot fix or minor branch.


I think dependency laravel/browser-kit-testing coul be removed

Done see https://github.com/acacha/adminlte-laravel/commit/eaa97d51a6cd5a42a27b38502060e019b3038841


Custom Metrics

Right now if you setup multiple checks then they all fall under the same metric for the Lambda failure. It doesn't distinguish between domains. Instead the script should generate metrics for each domain being tracked. Custom metrics aren't free ($0.50/month) but 10 are available in the free tier.

This would also require given the Lambda more permissions to put these metrics.


how can this be used for semantic segmentation of my 3d point cloud data taken from velodyne 16. i am very new in this field please someone help me.

This issue has been addressed here: https://github.com/PRBonn/lidar-bonnetal/issues/69#issuecomment-711153879

Thanks @kosmastsk for pointing in the right direction. Does this solve your problem? Please, reopen the issue or comment here if you still have questions.


Session can be replaced by Estimator for training

The code organization is very good resulting in a clean and readable implementation of the SEGNET architecture. Good Job :+1:. However, the training loop is implemented by using the lower level Session api. This can be improved by using the new Estimator API.

Thank you for the tip! I'll look into it, but I'm probably not gonna change the code yet as I'm currently working on an implementation of a new network. I'll be happy to accept a PR though if you have time :)


Trap Version Parsing Errors (ValueError on connect)

When connecting to servers that are not actually PostgreSQL, trap version parsing exceptions and issue a client warning instead.
Given the presence of a new server_version client parameter, use it instead of the version presented by the server averting the warning.

We have found this ValueError when connecting to older PostgreSQL instances also

It's only particular builds of PostgreSQL. Specifically, debian/ubuntu packages have chosen to modify the server_version issued to the client in a way that would (likely) break any driver/application that is splitting/parsing the string. This is inconsistent with the source releases made by postgresql.org and is not a modification that clients/applications can/would/should anticipate.

Yeah we are seeing this on an old postgres that has server version = 10.9 (Ubuntu 10.9-0ubuntu<IP_ADDRESS>)
If that helps you debug the issue.
I have a fix locally for that one module versionstring if you want it? Might not be too clever just an if statement to check the length of the expected version string.

I think they've released builds like this for some time. It is a known incompatibility.
The change that I will be committing regarding the issue will allow users to compensate by explicitly stating the server version. This is preferable as it allows for compensation of any variation, which is useful beyond one errant build.

Hi, I was just wondering if there was any movement on this? I am using the Postgres docker container and it is setting my PG_VERSION to PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit which is resulting in the versionstring.py error: invalid literal for int() with base 10: '3 (Debian 13.

My desire to implement this has stalled as the effect of the incompatibility has been present for so long. Either the driver has been patched locally already or it's not being used to connect to instances of those builds. Also, I'm not optimistic that a server version override is actually superior to runtime patching the version string parser. The latter being a solution that is already available to users.

Can we have a sane default version in the cases and a user warning ?
The way it is currently implemented it is simply unusable.

Also, I'm not optimistic that a server version override is actually superior to runtime patching the version string parser. The latter being a solution that is already available to users.

Just ran into this using the postgres docker image from Docker hub: https://hub.docker.com/_/postgres
This is what I'm using as a runtime patch to work-around it:
import re

import postgresql
import postgresql.versionstring

# monkey patch postgresql.versionstring.split to accept 14.5 (Debian 14.5-1.pgdg110+1)

_orig_split = postgresql.versionstring.split

def _monkey_split(vstr):
    m = re.match("^([0-9]+\.[0-9]+[^\s]*)\s+\(.+\)$", vstr)
    if m is not None:
        vstr = m.group(1)
    return _orig_split(vstr)

postgresql.versionstring.split = _monkey_split


Does not support landscape orientation [Global]

This is a known issue for V1Launch. It will also be addressed in the Accessibility Statement.
Landscape orientation is currently disabled. @amazingphilippe this is something we should start considering sooner rather than later.
Success Criterion 1.3.4 Orientation (Level AA): Content does not restrict its view and operation to a single display orientation, such as portrait or landscape, unless a specific display orientation is essential.
This issue links to an upstream issue here: https://github.com/CovidShield/mobile/issues/11

Landscape orientation is back on - it needs work but the device accepts it now.

@JuliannaR thinking we should close this - and revisit all the sections in v2 as new issues.

@timarney Yes, I'll break out new issues for V2 to address landscape orientation.


Not auto selecting flying mount for level 60 character

I have been using RAVMounts for awhile and it has always worked fine until I decided to level a new character from 1-110 (when i started using ravmounts all my characters where at least 90).  It worked fine while all I had was ground mounts but at 60, when I learned flying mounts it will not summon any flying mounts unless I hold down the alt key while clicking the macro.  I currently have simplest config I believe possible with a macro that is simply
/ravmounts
Thanks
Oddle

Hi there,
Thanks for sending in this bug report—much appreciated!
Thankfully, as seems to be a recurring theme now, Phanx has updated the code that powers the flyable check in Ravenous Mounts.
This is reflected in #20 and in the latest release, 1.8.8.


Actions: Fixed aqtinstall

-Using an action that uses aqtinstall, instead of doing it all manually.
-Bumped aqtversion to 0.8a3, which has a fix for issues we encountered (QT could not be installed properly)

Nice!
Might be interesting to use this action on macOS as well, to be able to lock the Qt version, but lets look into that separately.


Allow passing a different optimizer and attributes

Pull request details
Describe the changes made in this pull request
The solve_model, solve_model!, and run_scenario functions now allow passing an optimizer and parameters. The verbose option is removed. This should allow #113.
This does NOT allow more general scenario specification and does not save the used parameters anywhere, as this is a job for the scenario specification issue (which should be created).
List of related issues or pull requests
Closes #246
Collaboration confirmation
As a contributor I confirm

[ ] I read and followed the instructions in README.dev.md
[ ] The documentation is up to date with the changes introduced in this Pull Request (or NA)
[ ] Tests are passing
[ ] Lint is passing

@abelsiqueira, you marked it as ready for review, but I still see that the codecov is not 100% 🤷♂

Now it is done. I've rebased and fixed the coverage.


Age2 bug?

Just got this:

Out of the two the ingame value is correct.

age2 is only accurate in explorable areas

I see, thanks!

Not even if we want to be very pendantic. /age returns the time you have been on the map, not the instance time. It's very obvious in the case where someone loads slowly, let's say 1 minute slower than someone else. Both will have different /age.


Docker: Issues with file-based logging

Gitea version (or commit ref): 1.14.0+dev-260-g7bc0c8cff
Git version: <IP_ADDRESS>
Operating system: docker
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No

Log gist:

Description
I am struggling to set up logging in a docker-based Gitea install.
In app.ini I have
[log]
ROOT_PATH =
; Either "console", "file", "conn", "smtp" or "database", default is "console"
; Use comma to separate multiple modes, e.g. "console, file"
MODE = console, file

[log.file]
LEVEL = debug
; Set the file_name for the logger. If this is a relative path this
; will be relative to ROOT_PATH
FILE_NAME = log.txt

and I expect a data/gitea/log/log.txt to be written.
However, this file never appears (anywhere).
The console log appears in debug level just fine.
What is wrong in my config?

Setting the ROOT_PATH = means that the ROOT_PATH will default to:
LogRootPath = Cfg.Section("log").Key("ROOT_PATH").MustString(path.Join(AppWorkPath, "log"))

Where AppWorkPath  is the environment variable $GITEA_WORK_DIR or the directory of the gitea binary.

Thanks. I forgot to mention that I tried this already without success.

Do you have any other [log.file] sections in your app.ini? Testing on a non-docker build here those settings above seem to work.
Is it possible that the /data/gitea/log directory is in some temporary place which get overwritten on restart of the container?

Do you have any other [log.file] sections in your app.ini?

No. I am also out of ideas why nothing is written to a file (anywhere).
Directory permissions are also ok (git user).

I think this does not apply anymore for me - probably a misconfigured config file on my side?


anchor  tag inside slide snaps to next slide on first click

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/elated-margulis-5m21z?file=/index.html
Bug description
when I use a anchor(<a>) tag inside a slide when I do a right click on the  tag it slides without animation to the next slide.
Expected Behavior
open browser context menu
Actual Behavior
slides to the next slide without animating
Swiper version
8.0.3
Platform/Target and Browser Versions
Brave 1.34.80 Chromium: 97.0.4692.71
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

+1

Found the answer here : https://github.com/nolimits4web/Swiper/issues/3149#issuecomment-1044631964
Setting watchSlideProgress to true fixed the problem for our use case.

Also possibly related to #5490

disabled mousedown on the  tags inside the swiper tag
jQuery:
$(".swiper").find("a").off("mousedown").on("mousedown", function(e){ e.preventDefault(); e.stopImmediatePropagation(); });

jQuery:
$(".swiper").find("a").off("mousedown").on("mousedown", function(e){ e.preventDefault(); e.stopImmediatePropagation(); });

thank you! it worked

Also happens on  tags...
Adding e.preventDefault() on your click event 'fixes' it

Had the same issue,
adding e.preventDefault() on your anchor tag solves the issue
a.addEventListener('click', function(e) {
    e.preventDefault()
}

This is still a problem.

Also happens on button tags... Adding e.preventDefault() a your mousedown event (not click) 'fixes' it

To build on this, if using React, add via the onMouseDown prop on the SwiperSlide component.

disabled mousedown on the tags inside the swiper tag
jQuery: $(".swiper").find("a").off("mousedown").on("mousedown", function(e){ e.preventDefault(); e.stopImmediatePropagation(); });

This method works for me!

I had to use pointerdown to make it work:
item.addEventListener('pointerdown', (e) => {
  e.preventDefault()
  e.stopImmediatePropagation()
})


OrderedSet-Swift.h

Today i cant build my project with anappwebview with following error:

/Users/macos/Library/Developer/Xcode/DerivedData/Runner-fsjsfxksdjramohjctwfeextbmqj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap:9:12: Header 'OrderedSet-Swift.h' not found

any clue?

Same Issue when I try to run with X code

I'm also having this problem running to phone in Xcode. I can run from Flutter without a problem.
Clean, flutter build ios works fine. Open in Xcode and run to device it fails
/Runner-dlznetgjwnpqmzfbuajunhceudly/Build/Intermediates.noindex/Pods.build/Release-iphoneos/OrderedSet.build/module.modulemap:9:12: error: header 'OrderedSet-Swift.h' not found
header "OrderedSet-Swift.h"
^
:0: error: could not build Objective-C module 'OrderedSet'

I'm also having this problem running to phone in Xcode. I can run from Flutter without a problem.
Clean, flutter build ios works fine. Open in Xcode and run to device it fails /Runner-dlznetgjwnpqmzfbuajunhceudly/Build/Intermediates.noindex/Pods.build/Release-iphoneos/OrderedSet.build/module.modulemap:9:12: error: header 'OrderedSet-Swift.h' not found header "OrderedSet-Swift.h" ^ :0: error: could not build Objective-C module 'OrderedSet'

After a few hours .. I've got it building for me, hopefully it helps you as well.
In my case, opening Pods in the Project Navigator and selecting the OrderedSet target, I upped it from iOS 8 to 9 and it started working.


Use of deprecated Navigator component

I note that the demo app uses the deprecated Navigator component, and that the Dialog component, for example, appears to require a navigator in order to work.   I don't really want to use a component that has been deprecated!
What other navigation components are supported?

Update: I've been trying to use React Navigation.  It might simply be my ignorance (I'm a React Native beginner) but the Toolbar object does not seem to integrate; I get the React Navigation "toolbar" above it, which is obviously not right.
Again, this could be something that a more experienced React Native coder could fix. I don't know.

@cepm-nate do you mean something like this?
static navigationOptions = ({ navigation }) => ({
    header: <Toolbar
      leftElement="arrow-back"
      onLeftElementPress={() => navigation.goBack()}
      centerElement="Title"
      rightElement="menu"
      onRightElementPress={() => navigation.navigate('DrawerOpen')}
    />
  })

Thanks aburai, that just might do the trick! I was not aware you could combine the navigationOptions and a custom component.

@xotahal It's better to update your documentation and demo app to react-navigation anyway, so it's not misleading the beginners

@aircatcher we're working towards a documentation website - sorry for the delay. This particular issue wasn't really about this library and dealt more with react-navigation -- using 2 libraries together is something the developer should be able to figure out. With that said, we will try to add relevant examples to the documentation.


Rename NO_ALIAS_PREFIX -> NO_PREFIX

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

Comparison is base (f821f05) 83.33% compared to head (eb392b5) 83.33%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #63   +/-   ##
=========================================
  Coverage     83.33%   83.33%
  Complexity       74       74
=========================================
  Files            10       10
  Lines           354      354
  Branches         52       52
=========================================
  Hits            295      295
  Misses           30       30
  Partials         29       29

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


[T2A4][W14-A1]Haya Alsharef

Ready for review

Some comments added. Feel free to add more comment if you have any questions. Once you are done, you may close the PR after reading comments.


Field Hooks Don't Run in Relationship Edit View

Bug Report
I have an array field that has an afterChange FieldHook that runs to sort the array. The hook runs well when editing the document directly, but doesn't run when editing it from another document via a relationship (by clicking on the edit button in the relationship field it's linked to from another document).
Steps to Reproduce

Have an array field that sorts via an afterChange FieldHook
Test to make sure the hook runs when editing the document directly
Link to that field via a relationship in another document
Once it's linked and saved, click on the edit button on the relationship to bring up the side panel edit view of the original document. Editing the field here does not appear to run the FieldHook

Other Details
Payload Version: 1.6.19
Browser: Chrome

Hey @TheDunco — as mentioned on Discord, I am thinking this may be to do with your installation but we're happy to do some testing.
In addition, I want to make sure that I clarify one thing:
Field hooks ONLY run on the server. So while you are editing in the browser, you should not see them run while editing. Only after save.
So when you save the doc in the drawer, and then re-open it, you should see your hook changes. But you won't see them until you save, then reopen the drawer. Is this not happening for you?

Hey @TheDunco — as mentioned on Discord, I am thinking this may be to do with your installation but we're happy to do some testing.

This could potentially be an issue with my setup. Although, if I come across the time I can see about making a small repo to showcase the issue and see if it's an actual bug or something to do with my current setup (although I'm not sure what about the configuration/setup would affect this).

In addition, I want to make sure that I clarify one thing:
Field hooks ONLY run on the server. So while you are editing in the browser, you should not see them run while editing. Only after save.

Yes, this is what I expected it to behave like, and it is what I'm seeing when I'm editing the document directly. However...

So when you save the doc in the drawer, and then re-open it, you should see your hook changes. But you won't see them until you save, then reopen the drawer. Is this not happening for you?

I am not seeing this behavior. I was actually able to verify that the hook does run, but the returned value does not actually take effect, even if I close and reopen the drawer. When editing the document directly (eg. not via the drawer) upon saving I see the afterChange field hook I specify run (console.log in the server) and am able to visually see the fields change to be sorted how I would expect (the functionality of the hook). When it's in drawer edit mode, I only see the field hook run, but the value of the fields is not updated.

OK - thank you for the further info. We will take it from here. Should be something simple and I have a sneaking suspicion that I know what's happening!

OK - thank you for the further info. We will take it from here. Should be something simple and I have a sneaking suspicion that I know what's happening!

Oh, cool. Roger that. If you need me to try to make a minimum reproducible repo at some point/can't figure it out let me know and I can try to make one some time time soon. Thanks!

 I was using an afterChange hook when I really meant to be using a beforeChange hook which is why I wasn't seeing it save properly.


support tailing-sidecar multi-arch image build

it works well in my fork repo actions ci: https://github.com/JaredTan95/tailing-sidecar/actions/runs/3541915453/jobs/5946774315

ops, seems there is not permissions of github packages in dev builds: https://github.com/SumoLogic/tailing-sidecar/actions/runs/3542022775/jobs/5947012316#step:7:12

@swiatekm-sumo hi, do you have time to help review this?

@JaredTan95 Sorry for two additional commits, please squash all commits and the change can be merged

@JaredTan95 Sorry for two additional commits, please squash all commits and the change can be merged
nvm, I made it for you :)

thx


fluxcd: 0.39.0 -> 0.40.0

fluxcd: 0.39.0 -> 0.40.0
Release: https://github.com/fluxcd/flux2/releases/tag/v0.40.0

Result of nixpkgs-review pr 217672 run on x86_64-linux 1

1 package built:

fluxcd


FYI that link didn't work for me but I found it (I assume it's the same article) here http://www.jerriepelser.com/blog/get-the-twitter-profile-image-using-the-asp-net-identity


generate.py could not deal with multi lines input？

It seems that the tokenizer ’‘icetk-glm-130B’‘ of swisstransformer is import from icetk
the encoder in  icetkhttps://github.com/THUDM/icetk/blob/ffd8def44769ff58b6aed97ea831749487e4316e/icetk/ice_tokenizer.py#L62： is has the default setting：ignore_linebreak=True
However, in  SwissAmryTransformer ignore_linebreak is not given.
https://github.com/THUDM/SwissArmyTransformer/blob/ddfcea5215ac98742805ce07f7874b2495275e61/SwissArmyTransformer/tokenization/icetk_glm_130B/ice_tokenizer.py#L83

Hello @cyente, you can use <n> as a replace of \n in prompt.

Thanks～that helps me a lot


dx: set @typescript-eslint/array-type default to generic

👨💻 Changes proposed

set @typescript-eslint/array-type default to generic

📄 Note to reviewers

I suggest we use the generic way for better readability
https://github.com/ykdojo/defaang/pull/158#discussion_r962184200

string[] -> Array<string>
https://github.com/ykdojo/defaang/blob/bd38360602c67ef36b5d16b92ff6c7682a6c74a1/src/components/Header.tsx#L8
Also, while you are at it can you also add this rule: https://typescript-eslint.io/rules/consistent-type-definitions

string[] -> Array<string>
https://github.com/ykdojo/defaang/blob/bd38360602c67ef36b5d16b92ff6c7682a6c74a1/src/components/Header.tsx#L8
Also, while you are at it can you also add this rule: https://typescript-eslint.io/rules/consistent-type-definitions

yes, what type do you prefer? interface?

yes, what type do you prefer? interface?

yeah


Feat: Add 'forgot password' page

Describe the feature
Upon clicking the 'forgot password' link, no redirection is happening to any of page. I would like to add 'forgot password' page by contributing to this feature.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hi @Suchitra-Sahoo,
I am interested to contribute to this feature. Please assign this to me.
I am a GSSOC'24 contributor.

The working of forgot password should be on same login page.

Hello @Suchitra-Sahoo
I would like to add forgot password page to the login page which redirects to another page where users can retrieve their password. Please assign me the issue.


fix empty http request body read panic

During test of my new write filter, i find if we set empty http request body http.NewRequest(http.MethodPost, "<IP_ADDRESS>", nil) and read body from HTTPContext, callbackreader will panic. this pr aims to fix this issue.

Codecov Report

Merging #457 (f6682f6) into main (42801f2) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #457      +/-   ##
==========================================
+ Coverage   80.57%   80.60%   +0.03%
==========================================
  Files          70       70
  Lines        8171     8194      +23
==========================================
+ Hits         6584     6605      +21
- Misses       1230     1232       +2
  Partials      357      357

Impacted Files
Coverage Δ

pkg/object/mqttproxy/client.go
76.25% <0.00%> (-0.92%)
:arrow_down:

pkg/filter/proxy/request.go
95.45% <0.00%> (+0.14%)
:arrow_up:

pkg/cluster/config.go
89.07% <0.00%> (+0.18%)
:arrow_up:

pkg/filter/proxy/server.go
73.54% <0.00%> (+2.95%)
: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 42801f2...f6682f6. Read the comment docs.


mat-error doesnt work in mat-date-range-picker

Bug, enhancement request, or proposal
Bug

Demo and steps to reproduce the issue
This blank StackBlitz demo can be used to create a reproduction that demonstrates your issue.
Demo URL (required)*:  https://stackblitz.com/angular/oaraqppyjoo?file=src%2Fapp%2Fdate-range-picker-forms-example.ts
Detailed Reproduction Steps

enter an invalid date

Explain the expected behavior
Error message should be shown (mat-error)
Explain the current behavior
Field only gets red
Discuss the use-case or motivation for changing the existing behavior
Errors on date range picker are a must
List the affected versions of AngularJS, Material, OS, and browsers

AngularJS: 9.0.7
AngularJS Material: 10.0.1
OS: Windows 10
Browsers: Chrome

Add anything else we should know
Stack Trace

Screenshots

The name of the error is matDatepickerParse, not matStartDateInvalid or matEndDateInvalid. If you swap it out in your ngIf it should work.


Add a logging module for nitcorn

Goal: Using class refinement, add a logging system to nitcorn to ease the debugging of Web apps and help to detect abuse.
This system should rely on the existing print and print_error. Expect stdout and stderr to be handled by an outside services which takes care of writing the messages to a log file.

[x] Use the standard nitcorn entry points like Action::answer to mark the beginning and end of actions, and associate the following messages to a precise action.
[x] Add timestamps to print and print_error by refinement.
[x] Count the execution time of each answer to a request using a Clock and storing the results in a sys.perfs from performance_analysis. Print a summary every some_customizable_variable requests.

closed by #1869


Support CUDA 11.3

Tasks

[ ] Read CUDA Release Notes.
[ ] Update CUDA driver in Linux (Jenkins) / Windows (FlexCI) test infrastructure (ask @kmaehashi). -> driver update is not mandatory for CUDA 11.3
[ ] Update chainer-test to test the CUDA version.
[x] Update compute capability support.

[x] Check NVRTC Reference (--gpu-architecture option) and change the maximum value of supported compute capability defined in cupy/cuda/compiler.py (_nvrtc_max_compute_capability) if needed. -> no changes needed
[x] Check NVCC Reference (--generate-code) and change the list of architectures in cupy_setup_build.py (_arch_list) if needed. -> no changes needed
[X] Backport. -> not needed

[ ] Update bundled FP16 header files.

[ ] Copy FP16 header files to cupy/core/include/cupy/_cuda/, then update cupy/core/core.pyx to use it.
[ ] Backport.

[ ] Update library installer.

[ ] Fix cupyx/tools/install_library.py.
[ ] Backport.

[ ] Wheel distribution -> planning to not release cupy-cuda113 as cupy-cuda112 is compatible with CUDA 11.3. But need to confirm chainer-test pass

[ ] Update cupy-release-tools.
[ ] Add new Python matrix to the Jenkins job configuration (other_cupy_release_builder).
[ ] Ask PyPI team to increase the limit.

[ ] Documentation

[ ] Add new wheel package to Installtion Guide and README.md. Update requirements in the installation guide.
[ ] Backport.
[ ] Add new wheel package to the website.

[ ] Implement new features using the version, if any.

I think we hard-wired CUDA_VERSION in a few places (say driver.get_build_version()). We may need to verify if building on CUDA 11.2 and running on 11.3 is OK (I guess so).

If we support APIs added in CUDA 11.3 in CuPy code base, CuPy wheel for CUDA 11.2 will contain a stub signature (null implementation) of such APIs. But that will cause signature conflict (between null implementation and real implementation in CUDA) if the wheel is installed under CUDA 11.3 environment. So... what can we do?

Release a wheel for each CUDA version as we have been doing
Do not add support for new API introduced within minor releases (use ifdef CUDA_VERSION < 12000 instead of ifdef CUDA_VERSION < 11020 for such API stubs) (I don't want to do this)
Any ideas?

cuDNN for CUDA 11.3 is not available yet: https://developer.nvidia.com/rdp/cudnn-download
cuTENSOR does not care about minor version: CUDA 11.x https://developer.nvidia.com/cutensor/downloads
NCCL: https://github.com/cupy/cupy/issues/5105

So... what can we do?

Sorry @kmaehashi for dropping the ball 😅 My own preference would  be to release a wheel for each CUDA as it makes our life simpler.
But, I just came across the new device entry point access added since 11.3. I am still digesting it as I do not understand how to use it properly, but I feel it might provide us a clue to an alternative solution for the 11.x support challenge.


Certificate is not working after expired

My first time of expired certificate and it's not working anymore. My connection is not private.
I already tried to pull the latest version, remove the container and build it again.
Still, does not work, what can I do to solve this?

Ok, it took some time but it's seems to work now, if I will have issue I will reopened this. Thanks.


Fix unhandled error

Note that I'm going to change the title of this PR because it is technically not an "unhandled error"... it is simply an error that is not explicitly tested for.


fix(app.js): interval time date is now 5min

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


test user not functional

The Cloud-in-a-Box install has a test user in /opt/configuration/environments/openstack/clouds.yml
(which is used by the openstackclient container).
However, that user does not seem to be configured in the deployed openstack keystone ...
So we should probably create a test project and assign the test user as tenant user, no?

I'm struggling with setting up the external/public network, so I can get access to the internet from the VMs (via SNAT or FIPs). Trying to use physnet1 as flat provider network -- but it's unclear to me how physnet1 relates to the physical NICs / VLANs. I guess I need to better understand the ml2 config? ovn?

vlan100 is the internal interface. vlan101 is the external interface. vlan101 is mapped to physnet1.
Try if the approach we are using in the testbed is working in the cloud-in-a-box as well. There we have a vxlan instead of a vlan.
sysctl -w net.ipv4.ip_forward=1
iptables -A FORWARD -i eno1 -j ACCEPT
iptables -A FORWARD -o eno1 -j ACCEPT
iptables -t nat -A POSTROUTING -o eno1 -j MASQUERADE

The openstack client works if you export the OS_CLOUD environment variable on the host. This get's passed automatically into the container. Will add this to the documentation.

test user/project fixed with 80663abd6d3857e93511579765cded56bd80fcde


Kazoo 2.9.0 throws "Connection dropped: socket connection error: The handle is invalid"

Kazoo 2.9.0 throws Connection dropped: socket connection error: The handle is invalid and from server, I got EndOfStreamException: Unable to read additional data from client, it probably closed the socket: address = /<IP_ADDRESS>:3664, session = 0x0
I have tried with previous version (2.8.0) and it is working fine.
Expected Behavior
KazooClient can be started after issuing zk.start()
Actual Behavior
Kazoo returning Connection dropped: socket connection error: The handle is invalid after issuing zk.start()
Snippet to Reproduce the Problem
Python 3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from kazoo.client import KazooClient
>>> zk_hosts    = "zookeeper_host_1:2181"
>>> zk = KazooClient(hosts=zk_hosts)
>>> zk.start()
Connection dropped: socket connection error: The handle is invalid
Connection dropped: socket connection error: The handle is invalid
Connection dropped: socket connection error: The handle is invalid
Connection dropped: socket connection error: The handle is invalid
Connection dropped: socket connection error: The handle is invalid
Connection dropped: socket connection error: The handle is invalid
Connection dropped: socket connection error: The handle is invalid
Connection dropped: socket connection error: The handle is invalid
Connection dropped: socket connection error: The handle is invalid
Failed connecting to Zookeeper within the connection retry policy.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python38\lib\site-packages\kazoo\client.py", line 635, in start
    raise self.handler.timeout_exception("Connection time-out")
kazoo.handlers.threading.KazooTimeoutError: Connection time-out
>>>

Logs with logging in DEBUG mode
This is logs from zookeeper host. It is repeated numbers of times.
Nov 03 17:19:39 nsl-zookeeper-02 zkServer.sh[1452]: EndOfStreamException: Unable to read additional data from client, it probably closed the socket: address = /my_client_IP:4089, session = 0x0
Nov 03 17:19:39 nsl-zookeeper-02 zkServer.sh[1452]:         at org.apache.zookeeper.server.NIOServerCnxn.handleFailedRead(NIOServerCnxn.java:163)
Nov 03 17:19:39 nsl-zookeeper-02 zkServer.sh[1452]:         at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:326)
Nov 03 17:19:39 nsl-zookeeper-02 zkServer.sh[1452]:         at org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:522)Nov 03 17:19:39 nsl-zookeeper-02 zkServer.sh[1452]:         at org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:154)
Nov 03 17:19:39 nsl-zookeeper-02 zkServer.sh[1452]:         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Nov 03 17:19:39 nsl-zookeeper-02 zkServer.sh[1452]:         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Nov 03 17:19:39 nsl-zookeeper-02 zkServer.sh[1452]:         at java.lang.Thread.run(Thread.java:750)

Specifications

Kazoo version: 2.9.0
Result of pip list command:
Zookeeper version: 3.6.1
Zookeeper configuration:

3 instance of zookeeper server
zookeeper config:

tickTime=2000
initLimit=10
syncLimit=5
dataDir=/path/to/data/zookeeper
clientPort=2181
metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider
metricsProvider.httpPort=7000
metricsProvider.exportJvmInfo=true
4lw.commands.whitelist=mntr,conf,ruok
server.1=...:2888:3888
server.2=...:2888:3888
server.3=...:2888:3888

- Java OpenJDK, `openjdk version "1.8.0_352`
- put here any useful ZK configuration (authentication, encryption, number of ZK members, number of (concurrent?) clients, Java version, krb5 version, etc.)

Python version: 3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)] on win32
OS: Windows 10 version 21H2 (OS Build 19044.2130)

Thank you

Hello,
Thanks for reporting this issue.
Thoughts: can it be linked to https://github.com/python-zk/kazoo/pull/656 that may not be working as expected on Windows?

I have the same problem~

Hello,
FWIW, I believe I have a fix in https://github.com/python-zk/kazoo/pull/681

This issue broke my production server, as I didn't freeze the dependency to 2.8.0... Upgrading ZooKeeper didn't fix the problem either and after thinking/investigating a few days it became clear it's neither client nor server, but the Python library :-)
Workaround: pip install -U "kazoo=2.8.0"

Hi there,
Just to confirm, on what platform was your zookeeper client running?
Thanks!
On Sat, Dec 17, 2022, 13:37 ArneBachmannDLR @.***>
wrote:

This issue broke my production server, as I didn't freeze the dependency
to 2.8.0... Upgrading ZooKeeper didn't fix the problem either and after
thinking/investigating a few days it became clear it's neither client nor
server, but the Python library :-)
Workaround: pip install -U "kazoo=2.8.0"
—
Reply to this email directly, view it on GitHub
https://github.com/python-zk/kazoo/issues/679#issuecomment-1356377572,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIFTHQ24UTR2EZ3I3CBSQ3WNYCANANCNFSM6AAAAAARV5TLJ4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The client was on Windows 10 21H2 19044.2364 in an Enterprise setup. The ZooKeeper installation same on a different machine. Access via other tools (like ZKUI) worked fine, but not from Python anymore. Downgrade to 2.8.0 resolved the issue for now.

@fafairuz @yanchunhuo are you both running on Windows as well?

@fafairuz @yanchunhuo are you both running on Windows as well?

yes

@tcalmant @fafairuz @yanchunhuo can one of you test master now that #681 is merged to confirm this is resolved?
We would like to cut a release with the fix to unbreak folks, but first want to confirm this is resolved for you.

Hi @jeffwidman, the master branch works in my use case


Native projection types

Finishes the last bits of #4
Also simplifies the projection setups.
Basically, we only provide the vertical FOV/extent, and the horizontal is derived from the current aspect ratio in order to produce square pixels.

bors r+

On Jun 20, 2017, at 01:26, Ilya Bogdanov<EMAIL_ADDRESS>wrote:
@vitvakatu approved this pull request.
Great!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.