About the problem of logging in to garmin connect in China

Hi, I found that my garmin Chinese account cannot log in by default, this is because line 108 in the python package garminconnect defaults to Chinese is_cn=False, can you add a switch on the login page to allow us to manually What about changing this parameter to True?
If possible, I think this can greatly reduce login problems for Chinese users. thanks

@solitudechn Are you having this problem when using with Home Assistant? Or seperate?

This problem occurs when using it with Home Assistant. The original code file I just checked because I can't log into my garmin account on Home Assistant.

@solitudechn Are you having this problem when using with Home Assistant? Or seperate?

I am a user from China,too. I try many times to login, finally succeeded. But all the sensor state is "unknown". It seems doesn't work well in my HA.

Hi, I found that my garmin Chinese account cannot log in by default, this is because line 108 in the python package garminconnect defaults to Chinese is_cn=False, can you add a switch on the login page to allow us to manually What about changing this parameter to True? If possible, I think this can greatly reduce login problems for Chinese users. thanks

Hi, I met this problem today,too. I set 'is_cn=True', and run the 'python3 ./example.py', I can get my data correctly, But when
I using with Home Assistant, it doesn't get the data.

Hi, I found that my garmin Chinese account cannot log in by default, this is because line 108 in the python package garminconnect defaults to Chinese is_cn=False, can you add a switch on the login page to allow us to manually What about changing this parameter to True? If possible, I think this can greatly reduce login problems for Chinese users. thanks

Hi, I met this problem today,too. I set 'is_cn=True', and run the 'python3 ./example.py', I can get my data correctly, But when I using with Home Assistant, it doesn't get the data.
IMPORTANT : After modify the file (custom_components/garmin_connect/init.py)
Line 61 : change the self._api = Garmin(entry.data[CONF_USERNAME], entry.data[CONF_PASSWORD]) to the self._api = Garmin(entry.data[CONF_USERNAME], entry.data[CONF_PASSWORD], True) , then reboot the HA, I found it WORK!

108行的is_cn是在哪个文件里头？

I will check how to gather the users Country settings from the integration and set the variable accordingly.

Issue should be fixed in version 0.2.15


allow for multiple files on the command line

Hey, I'm just getting started with slimit, but I was wondering if it would be possible to pass more than one file at a time to the script? Or is the intended use to concat all JS files together first, and then apply slimit?
Thanks

Hi,
While slimit doesn't accept multiple input files you can use for loop if your goal is to minify multiple files at once and store each minified file separately:
$ for fname in file1.js file2.js; do slimit $fname > ${fname%.*}-min.js; done

If you want your multiple input JS files to be minified and concatenated I would concatenate them first, especially if you use -m/--mangle option, and pass the result to slimit for further minification:
$ cat file1.js file2.js | slimit -m > file1_file2.js

OK...sounds good. The cat multiple files thing should be just as good as taking multiple files on the command line. If you're doing mangling, you gotta do all files at once, right? In any case, the second solution is cool.
thanks for responding!


On Lincoln Park iframe push to trails page.

resolving issue #58

Imbed google map in trail page #58
added zoomed out default.
Please double check in (not Smitty's) browser.


--certificatestore specified but still uses C:\ProgramData for certificates

C:\tool>letsencrypt.exe --verbose --plugin manual --installation none --manualhost example.org --webroot Q:\inetpub\wwwroot --centralsslstore Q:\ssl --certificatestore Q:\ssl --renew
[DBUG] Config folder: C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org
[INFO] IIS not detected
[INFO] Loading signer from C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org\Signer
With the "--certificatestore" option I expected certificates would be written to Q:\ssl but they got written to C:\ProgramData. Isn't that what it is supposed to do?
I could change the environment variable "ProgramData" but it is a bit of an odd way to do it.
letsencrypt 1911.2.6726.40690
Windows 2008
Nginx 1.14.0
best regards
Hans

--certificatestore can only be used to specify the name of a Windows Certificate Store, not a file system folder.
--centralsslstore is a feature meant for IIS, where the program copies the *.pfx files (one per domain) to a file system location.
I think what you are looking for is the CertificatePath in settings.config. If you change that then all files related to the certificate are written there.
See also:
https://github.com/PKISharp/win-acme/wiki/Command-line-arguments
https://github.com/PKISharp/win-acme/wiki/Application-Settings

Thanks for the explanation of  --certificatestore et al.
I have tried to have the following in 'settings.config' without success:

Q:\ssl

Q:\ssl

But it still writes:
[INFO] Saving certificate to C:\ProgramData\win-acme\httpsacme-v01.api.letsencrypt.org
Well, I have a work around for that: Just copy the files from "CertificatePath" to Q:
I use the Q: drive because my web server is not allowed to contact say
https://acme-v01.api.letsencrypt.org/
Then I mount a share as Q: from the web server to my desktop and then run letsencrypt.exe on my desktop pc.

Have you restarted the application after making those changes to the .config file? And are you sure you didn't change settings_default.config instead of settings.config? Can you post the log in --verbose mode? I'd be curious to see if it does pick up the ConfigPath

On 19 June 2018 at 19:29, Wouter Tinus<EMAIL_ADDRESS>wrote:

Have you restarted the application after making those changes to the
.config file?

Restart? I run it as a oneliner not interactive.

And are you sure you didn't change settings_default.config instead of
settings.config?

Yes
E:\tool\wacs>findstr "ConfigurationPath CertificatePath Q:" settings.config

Q:\ssl

Q:\ssl
Can you post the log in --verbose mode? I'd be curious to see if it does

pick up the ConfigPath

E:\tool\wacs>letsencrypt.exe --verbose --plugin manual --installation none
--webroot Q:\inetpub\wwwroot --manualhost www.example.org
[DBUG] Config folder: C:\ProgramData\win-acme
httpsacme-v01.api.letsencrypt.org
[VERB] Settings SettingsService {ConfigPath="C:\ProgramData\win-acme\
httpsacme-v01.api.letsencrypt.org", ClientNames=["win-acme",
"letsencrypt-win-simple"], Renewal
ledTaskRandomDelay=00:00:00, ScheduledTaskStartBoundary=09:00:00,
ScheduledTaskExecutionTimeLimit=02:00:00}
[VERB] .NET Framework >=4.7 detected
[INFO] A Simple ACME Client for Windows (WACS)
[INFO] Software version 1911.2.6726.40690 (RELEASE)
[INFO] IIS not detected
(I will not be back again on this server before monday)
--
Venlig hilsen - best regards
Hans Schou

So the only way I can reproduce this issue is if I create two entries in the config file for ConfigurationPath (or CertificatePath. The program will use the last one. So if you put yours at the top, then they will be overruled by the default values further in the file.


Adding support for remotely-sourced zoo datasets

Adds support for loading zoo datasets whose download/preparation instructions are stored in a GitHub repository or publicly accessible URL! 🎉
Example datasets published in this format:

https://github.com/voxel51/coco-2017
https://github.com/voxel51/caltech101

Usage
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset(
    "https://github.com/voxel51/coco-2017",
    split="validation",
    max_samples=50,
    shuffle=True,
)

dataset = foz.load_zoo_dataset("https://github.com/voxel51/caltech101")

Once downloaded, the rest of the zoo API (ie the foz module and fiftyone zoo CLI) "knows" about remotely-sourced datasets, and henceforward they may be referred to by either the name in their fiftyone.yml or by the source URL from which they were downloaded:
fiftyone zoo datasets list

# These are equivalent
fiftyone zoo datasets info voxel51/coco-2017
fiftyone zoo datasets info https://github.com/voxel51/coco-2017

# These are equivalent
fiftyone zoo datasets info voxel51/caltech101
fiftyone zoo datasets info https://github.com/voxel51/caltech101

fiftyone zoo datasets delete voxel51/coco-2017
fiftyone zoo datasets delete voxel51/caltech101

Creating remotely-sourced datasets
This is extensively documented in the PR, but the basic ingredients to defining a remotely-sourced zoo dataset are a fiftyone.yml file:
name: voxel51/coco-2017
type: dataset
author: The COCO Consortium
version: 1.0.0
url: https://github.com/voxel51/coco-2017
source: http://cocodataset.org/#home
license: https://cocodataset.org/#termsofuse
description: The COCO-2017 dataset
fiftyone:
  version: "*"
supports_partial_downloads: true
tags:
 - image
 - detection
 - segmentation
splits:
 - train
 - validation
 - test
size_samples:
 - train: 118287
 - test: 40670
 - validation: 5000

and an __init__.py file that contains a download_and_prepare() method:
def download_and_prepare(dataset_dir, split=None, **kwargs):
    """Downloads the dataset and prepares it for loading into FiftyOne.

    Args:
        dataset_dir: the directory in which to construct the dataset
        split (None): a specific split to download, if the dataset supports
            splits. The supported split values are defined by the dataset's
            YAML file
        **kwargs: optional keyword arguments that your dataset can define to
            configure what/how the download is performed

    Returns:
        a tuple of

        -   ``dataset_type``: a ``fiftyone.types.Dataset`` type that the
            dataset is stored in locally, or None if the dataset provides
            its own ``load_dataset()`` method
        -   ``num_samples``: the total number of downloaded samples for the
            dataset or split
        -   ``classes``: a list of classes in the dataset, or None if not
            applicable
    """

    # Download files and organize them in `dataset_dir`
    ...

    # Define how the data is stored
    dataset_type = fo.types.ImageClassificationDirectoryTree
    dataset_type = None  # custom ``load_dataset()`` method

    # Indicate how many samples have been downloaded
    # May be less than the total size if partial downloads have been used
    num_samples = 10000

    # Optionally report what classes exist in the dataset
    classes = None
    classes = ["cat", "dog", ...]

    return dataset_type, num_samples, classes

and possibly a load_dataset() method:
def load_dataset(dataset, dataset_dir, split=None, **kwargs):
    """Loads the dataset into the given FiftyOne dataset.

    Args:
        dataset: a :class:`fiftyone.core.dataset.Dataset` to which to import
        dataset_dir: the directory to which the dataset was downloaded
        split (None): a split to load. The supported values are
            ``("train", "validation", "test")``
        **kwargs: optional keyword arguments that your dataset can define to
            configure what/how the load is performed
    """

    # Load data into samples
    samples = [...]

    # Add samples to the dataset
    dataset.add_samples(samples)

Summary by CodeRabbit

New Features

Added a delete command to the CLI for removing local dataset copies.
Introduced support for remote datasets in the Dataset Zoo, allowing users to specify dataset names or URLs.
Added a new section in documentation for managing remotely-sourced datasets.

Documentation

Enhanced clarity and usability of CLI documentation with refined command descriptions and examples.
Updated user guide to clarify the distinction between built-in and remote datasets, along with dependencies.

Bug Fixes

Improved error handling and logging for dataset commands and plugin metadata.

Added some comments but otherwise looks good! Do you need help testing this PR?

Nah it should be good to go. Big delta but the code paths are pretty simple; just verified that the zoo API methods work for builtin/remote datasets with/without splits 😄


sanitiseMatchedBytes range does not work on POST arguments

If you have the following rule:
SecRule ARGS "@verifyCC \d{13,16}" "id:1,phase:5,pass,sanitiseMatchedBytes:4/4,capture"

Sending a GET request (www.example.com/test?a=1001200230034004) produces the following in the log as expected:
GET /test?a=1001********4004 HTTP/1.1

Sending a POST request however produces the following in the log:
a=****************

So it's not showing the first and last 4 characters as expected, but is instead doing a full sanitisation.

Maybe related with #673
Should be fixed once Sanitize is implemented on libModSecurity/v3.


ImportError: No module named inception_v3

Traceback (most recent call last):
  File "polyvore/run_inference.py", line 28, in <module>
    import polyvore_model_bi as polyvore_model
  File "/root/workdir/tf0.10.0/polyvore/polyvore_model_bi.py", line 29, in <module>
    from ops import image_embedding
  File "/root/workdir/tf0.10.0/polyvore/ops/image_embedding.py", line 25, in <module>
    from tensorflow.contrib.slim.python.slim.nets.inception_v3 import inception_v3_base
ImportError: No module named inception_v3

I suppose that tensorflow 0.10.0 doesn't support inception_v3 module.
https://github.com/tensorflow/tensorflow/tree/r0.10/tensorflow/contrib/slim/python/slim/nets
I used the below settings.

Ubuntu: 14.04
GPU: NVIDIA GeForce GTX 1080
architecture: Pascal
NVIDIA driver: 367.57
CUDA: 7.5
cudnn: 5
python: 2.7.4
tensorflow: 0.10.0

Try 0.11.0. Tensorflow 0.10.0 doesn't support inception_v3 module as I mentioned in the README:
I actually used some version between r0.10 to r0.11 as the first commit of Tensorflow's im2txt, you might need to install r0.11 and modify some functions to run the code. Newer versions of Tensorflow prevent me from doing inference with my old code and restoring my models trained using this version. However, I have a commit that supports training using TensorFlow 1.0 or greater idd1e03e. I will create a new repo supporting TensorFlow version >= 1.0.


feat: Expose iconSrc on ToastButton to allow custom SVGs in toast components

Feature Request
Ionic version:
[x] 4.x
Describe the Feature Request
Allow the Ion Toast component to render SVGs inside declared buttons
Describe Preferred Solution
when adding a button to the Toast Component allow an iconSrc prop to pass in paths to assets (svgs, png, etc)
this.toastController.create({
      message,
      buttons: [
        {
          text: 'Some Button',
          side: 'end',
          iconSrc: 'a/path/to/svg',  <----------
          handler: () => null
        }
      ]
})

Related Code
Created PR here. This is my first PR, so may need some pointers on styles and making sure I updated the docs properly etc.

Thank you for the issue and PR! So the ion-icon component actually has a property called icon that allows it to accept either a src or a name: https://github.com/ionic-team/ionicons/blob/master/src/components/icon/icon.tsx#L64
The fix for this should be changing this line: https://github.com/ionic-team/ionic/blob/master/core/src/components/toast/toast.tsx#L246
to
icon={b.icon}

Let me know if you have any questions!

@brandyscarney ah, awesome! should have looked more closely at the API, I'll get that updated, thanks!

@jfspencer Thank you! I'm going to close this since it was fixed by your PR: https://github.com/ionic-team/ionic/pull/18969
It will be in the next release!


document the runs syntax

I don't think the docs do the runs syntax.  They say things like run = 2 where core.runs[any]=2 works now.
Also I don't actually know how to do more than one run ie core.runs[?]=??

I am not sure what you mean by "docs do the runs syntax". Runs is a DUNE specific data and I do not think they belong in MetaCat documentation.
DUNE SAM to MetaCat conversion is documented here: https://docs.google.com/spreadsheets/d/1H3VxGbZt8e3ag-HoRs34Adqr2uGAdRXgzqJ7mMX_bZI/edit?usp=sharing
MQL support for lists and dictionaries is documented here: https://metacat.readthedocs.io/en/latest/mql.html#array-or-dictionary-elements-access


Error: com.google.inject.util.Types.collectionOf(Ljava/lang/reflect/Type;)Ljava/lang/reflect/ParameterizedType;

cp $DRUID_HOME/lib/guice $HADOOP_HOME/share/hadoop/yarn/lib/
cp $DRUID_HOME/lib/guice $HADOOP_HOME/share/hadoop/mapreduce/lib/
It's still fail.

It's useful to me, thank you very much.

add
"jobProperties": {
"mapreduce.job.classloader": "true"
}


[Bug]

💻 系统环境
Other Linux
📦 部署环境
青龙
🐛 问题描述
请问一下青龙面板安装，遇到自动升级失败如何决解？

📝 运行日志
Requirement already satisfied: dailycheckin in /usr/local/lib/python3.11/site-packages (24.5.15)
Requirement already satisfied: pycryptodome==3.17 in /usr/local/lib/python3.11/site-packages (from dailycheckin) (3.17)
Requirement already satisfied: requests~=2.25.1 in /usr/local/lib/python3.11/site-packages (from dailycheckin) (2.25.1)
Requirement already satisfied: rsa~=4.0 in /usr/local/lib/python3.11/site-packages (from dailycheckin) (4.9)
Requirement already satisfied: urllib3~=1.26.2 in /usr/local/lib/python3.11/site-packages (from dailycheckin) (1.26.18)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.11/site-packages (from requests~=2.25.1->dailycheckin) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.11/site-packages (from requests~=2.25.1->dailycheckin) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/site-packages (from requests~=2.25.1->dailycheckin) (2024.2.2)
Requirement already satisfied: pyasn1>=0.1.3 in /usr/local/lib/python3.11/site-packages (from rsa~=4.0->dailycheckin) (0.6.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
执行结束... 2024-05-16 10:56:25  耗时 4 秒

哪里失败了？

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead这句话是啥意思？

命令改成 task pip3 install dailycheckin --upgrade --root-user-action=ignore


go test  paxos

你这 paxos  测试不通过呢？

错误信息贴一下我看看。

Test: Single proposer ...
--- FAIL: TestBasic (30.82s)
test_test.go:64: too few decided; seq=0 ndecided=0 wanted=3

你这是paxos目录下的用例，还是kvpaxos下面的用例？

paxos

我测试了一下是可以的哦，你是cd到paxos目录执行的go test吗？

Cd arc
go test -v paxos/
然后就报错，你是用的这个代码吗

我是cd 到paxos目录执行 go test的，没有报错。我试了下你那个方式，确实有问题。但是换了我这样做就好了。
➜  src git:(master) ✗ cd paxos
➜  paxos git:(master) ✗ go test
2017/03/03 23:35:03 method Done has wrong number of ins: 2
2017/03/03 23:35:03 method Kill has wrong number of ins: 1
2017/03/03 23:35:03 method Max has wrong number of ins: 1
2017/03/03 23:35:03 method Min has wrong number of ins: 1
2017/03/03 23:35:03 method Start reply type not a pointer: interface {}
2017/03/03 23:35:03 method Status has wrong number of ins: 2
2017/03/03 23:35:03 method Done has wrong number of ins: 2
2017/03/03 23:35:03 method Kill has wrong number of ins: 1
2017/03/03 23:35:03 method Max has wrong number of ins: 1
2017/03/03 23:35:03 method Min has wrong number of ins: 1
2017/03/03 23:35:03 method Start reply type not a pointer: interface {}
2017/03/03 23:35:03 method Status has wrong number of ins: 2
2017/03/03 23:35:03 method Done has wrong number of ins: 2
2017/03/03 23:35:03 method Kill has wrong number of ins: 1
2017/03/03 23:35:03 method Max has wrong number of ins: 1
2017/03/03 23:35:03 method Min has wrong number of ins: 1
2017/03/03 23:35:03 method Start reply type not a pointer: interface {}
2017/03/03 23:35:03 method Status has wrong number of ins: 2
Test: Single proposer ...
... Passed

OK，因为我之前就是我那样测试的，你要进入才行的话，那也行咯
lichuang<EMAIL_ADDRESS>周五下午11:37写道：

我是cd 到paxos目录执行 go test的，没有报错。我试了下你那个方式，确实有问题。但是换了我这样做就好了。
➜ src git:(master) ✗ cd paxos
➜ paxos git:(master) ✗ go test
2017/03/03 23:35:03 method Done has wrong number of ins: 2
2017/03/03 23:35:03 method Kill has wrong number of ins: 1
2017/03/03 23:35:03 method Max has wrong number of ins: 1
2017/03/03 23:35:03 method Min has wrong number of ins: 1
2017/03/03 23:35:03 method Start reply type not a pointer: interface {}
2017/03/03 23:35:03 method Status has wrong number of ins: 2
2017/03/03 23:35:03 method Done has wrong number of ins: 2
2017/03/03 23:35:03 method Kill has wrong number of ins: 1
2017/03/03 23:35:03 method Max has wrong number of ins: 1
2017/03/03 23:35:03 method Min has wrong number of ins: 1
2017/03/03 23:35:03 method Start reply type not a pointer: interface {}
2017/03/03 23:35:03 method Status has wrong number of ins: 2
2017/03/03 23:35:03 method Done has wrong number of ins: 2
2017/03/03 23:35:03 method Kill has wrong number of ins: 1
2017/03/03 23:35:03 method Max has wrong number of ins: 1
2017/03/03 23:35:03 method Min has wrong number of ins: 1
2017/03/03 23:35:03 method Start reply type not a pointer: interface {}
2017/03/03 23:35:03 method Status has wrong number of ins: 2
Test: Single proposer ...
... Passed
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lichuang/paxos/issues/1#issuecomment-283986154, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEI4gdGS6szDQpWLHArxF5om2o-LMlwxks5riDOggaJpZM4MQjJ9
.


Seekbar "knob" not always drawn above other UI elements

No idea what is happening, I'll have to bisect because I think this is recent ;)

Looks like it's related to a Gtk update, I'll have to find a way to work around it!

Can confirm this is happening for me after updating to fedora 34 beta. I'm trying out some things to fix this and ill see if they work but Its unlikely I will be able to fix this issue so best of luck.

I couldn't figure out how to fix it but I found another issue with seek, if you keep scrolling the timestamp can go infinitely. also I don't know if you can fix it but currently scrubbing through the songs is very laggy.

Cool, thanks for investigating a bit on your end :) This seems to confirm it's a new behavior from Gtk.
Would you mind creating a dedicated issue for the scrolling issue?
As for the lag, could you be more specific? Is the UI unresponsive, or is it that the song takes a little while to catch up with the new position?

I am by no means a professional developer or anything I have onky really been doing gtk4 rust development as an off hobby so take my analysis as a grain of salt. But nothing really stuck out a huge amount to me.
Ill have some time tommorow to do a proper issue report on the other issues related to the seek bar.

No worries, I am no Gtk pro either!

This is a tricky one, I'm experimenting with gtk::Overlay but not having much success: every time I fix the problem I create a new one. Couldn't seem to find any help for this online either.

Same here! :/ maybe we'll just have to change the design a bit (very tall seekbar so that the knob fits?)
I also need to dig more into the gtk doc -- pretty sure there are things that can help us here!

Thanks for trying things! :)
https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget--app-paintable looks promising too; looks like it could impact the drawing order (https://developer.gnome.org/gtk3/stable/chap-drawing-model.html) but that is not its primary intent.
(oh and as for the rest -- sorry, I am a bit busy atm, but I'm still working when I can on the long playlists thingy and improved selection; as always don't hesitate to reach out if there's something you want to work on or if I am blocking you in some way)

Similar report here: https://github.com/xou816/spot/issues/191

Fixed with Gtk4 for some reason :)

Fixed in 0.2.0


[Suggestion]Add change the snapshot period item

I'd like to add the textbox of snapshot_epoch for changing the snapshot period.
Or my disk is going to explode...
Would you tell me which file should I change?
(I've found the digits/model/forms.py to add the box)

i've also changed "solver.snapshot = self.snap_epochs" in "digits/model/tasks/caffe_train.py"

Also "self.snap_epochs = snap_epochs" in "digits/model/tasks/caffe_train.py" "init"

Hi @AltenLi. Yes, that's a feature that I was planning on adding. It looks like you've found all the right changes to make. If you've got it working, please send a pull request and I'll get it added into the master branch!

I wonder if while we are at it, we should add an option to save the last N snapshots as well, with the default being all.

It seems worked, but I wonder...is the unit of snapshot should be epoch or
iteration
On Tue, Mar 24, 2015 at 3:38 AM, Luke Yeager<EMAIL_ADDRESS>wrote:

Hi @AltenLi https://github.com/AltenLi. Yes, that's a feature that I
was planning on adding. It looks like you've found all the right changes to
make. If you've got it working, please send a pull request and I'll get it
added into the master branch!
—
Reply to this email directly or view it on GitHub
https://github.com/NVIDIA/DIGITS/issues/15#issuecomment-85161882.

--
Best Regards,
李千
Qian Li
HUST
Mobile:+86-18511584115
Email<EMAIL_ADDRESS>

@lukeyeager I've updated the func for snapshot on my fork


cache poisoning for "enum after enum" case

Test case:
namespace engine::render
{
	/**
	 * @runtime
	 */
	enum class ESample
	{
		ES_FIRST = 1,
		ES_SECOND = 2
	};
}

enum ESomeLegacy
{
	__LDO_NO_INIT_OR_SMTH_I_DONT_KNOW__ = 0x1337,
	_SOME_WEIRD_ENTRY = 0x201,
	LOL_IT_MUST_BE_SOMEWHERE_ELSE = 0x500
};

Expected result: enum engine::render::ESample has 2 entries
Actual result: enum engine::render::ESample has 5 entries (imported entries from ESomeLegacy)
It's critical issue, will release a new version soon.

Added fix https://github.com/DronCode/RG3/commit/ec2074068b56ee882a3fe92ed7e8d4edfb7fdbd1
Wait for GitHub Actions for release (0.0.18)

Release 0.0.18 with bugfix was initiated at https://github.com/DronCode/RG3/actions/runs/9631835914


Add support for more axum extractors

[x] #5
[x] #4
[x] #6
[x] #7
[x] #8
[x] #9
[x] #10
[x] #11

Supported in version 0.5.0


Freudian slip in cli help docs?

See here:
https://github.com/co2-git/express-redis-cache/blob/master/bin/express-redis-cache.js#L164
Notice the following text near the end:
Dildo for --prefix <prefix>

:open_mouth:

lol! Indeed, I meant ditto :sweet_potato:  Will be fixed in next shipping. Thanks for the heads up :D

Freud removed in v0.1.5 (pushed to NPM)


chore: update chore lib rn-reanimated version

To which ticket/issue is this PR linked to?
MGW-719
What does this PR add, change or fix?

chore: change chore lib version (rn-reanimated)

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Code refactoring
[ ] CI/CD or build process changes
[ ] Other

:tada: This PR is included in version 3.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


RET-4926: New Counter for WA Task - Test Version

Jira link (if applicable)
https://tools.hmcts.net/jira/browse/RET-4926
Change description
Add a counter so that the ET3 Processing Task would only trigger once.
Checklist

[x] commit messages are meaningful and follow good commit message guidelines
[x] README and other documentation has been updated / added (if needed)
[x] tests have been updated / new tests has been added (if needed)
[ ] Does this PR introduce a breaking change

Closing as not being used afterall


pydemo bug

I used pydemo with this case

but when I add code "return fetch(0)+fetch(1)" in the code block, the program crash. My system is windows11 python 3.11.5

tested on Windows 11 + Python 3.11.5, still failed to reproduce the problem
the test graph is:
{"items":[{"aabb":{"max":{"x":30.0,"y":15.0},"min":{"x":-30.0,"y":-15.0}},"color":"#ffffffff","f":"node","id":6603431362,"name":"np.arange","parms":{"range":[0.0,10.0],"step":1.0},"pos":[-93,-101],"pynode":"","type":"np.arange","uid":"b1c3a740-fc51-440c-947f-4bbf2b108528"},{"aabb":{"max":{"x":25.0,"y":25.0},"min":{"x":-25.0,"y":-25.0}},"color":"#689f38ff","f":"node","id":1472294687,"name":"Output","parms":{},"pos":[2,141],"pynode":"","type":"output","uid":"7bc744ba-ac1a-4b9f-b6e3-d69f0a759cc5"},{"aabb":{"max":{"x":25.0,"y":20.0},"min":{"x":-25.0,"y":-20.0}},"color":"#81d4faff","f":"node","id":10515940801,"name":"code","parms":{"code":"import platform\nimport sys\nimport numpy\nreturn (fetch(0)+fetch(1),\n        'PY: '+sys.version,\n        'NP: '+numpy.__version__,\n        'OS: '+platform.platform())","ui_only":null},"pos":[2,32],"pynode":"","type":"code_snippet","uid":"6d3bfc0c-ccb7-4367-8fcd-876129568c8d"},{"aabb":{"max":{"x":30.0,"y":15.0},"min":{"x":-30.0,"y":-15.0}},"color":"#ffffffff","f":"node","id":13926435273,"name":"np.arange","parms":{"range":[0.0,10.0],"step":1.0},"pos":[93,-96],"pynode":"","type":"np.arange","uid":"cae03582-328c-4c3b-a196-5f27289a3f30"}],"links":[{"from":{"id":13926435273,"port":0},"to":{"id":10515940801,"port":1}},{"from":{"id":10515940801,"port":0},"to":{"id":1472294687,"port":0}},{"from":{"id":6603431362,"port":0},"to":{"id":10515940801,"port":0}}]}

// above content can be directly pasted into a node graph ⇑
Please proved more details on how to reproduce the problem

In your example there do have a bug where fetch(1) should return None but returned the result of second input node instead, this has been fixed in commit #fb10c78c7418e41f8acac8ac80e192896bf051e9
Hope this commit also fixed your problem, since there is no consist way of reproducing your problem, I'm closing this issue.


Handle gracefully the case where no email is specified

A request was put in that we handle gracefully the case where no emails are specified (i.e. just don't send any warning emails to admins or users).  I think right now, the actual token push will work, but we'd get errors about sending notifications if there's no email specified in the recipient list.

This is rapidly becoming more urgent.  This will be the next issue worked on.
Right now, the plan is to implement a --no-email flag and config entry that allows a service to be excluded from emailing upon error.

This is now --dont-notify that aliases to a viper disableNotifications flag that can be read from the config file as well.


use inbox Powershell instead of pwsh

Users who don't have the new Powershell installed get error because pwsh is not found so use normal Powershell.exe which is still part of Windows 10 and 11.

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

ok, I see that something called jq is also missing

This should instead be conditioned to the $(OS), since this now made the solution only build-able on Windows...

Superseeded by https://github.com/devlooped/ThisAssembly/pull/356


Use fine-grained features for derive_more

What was changed
Changed the derive_more dependency to specify default-features = "false" plus a minimal set of derives that are actually used.
Why?
Helps minimize transitive dependencies brought in by derive_more.
Checklist

Closes: related to #687
How was this tested: it still compiles
Any docs updates needed: no

Rebased.


Replace orphan message deletion signals with database triggers

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

Project coverage is 99.40%. Comparing base (ca81a00) to head (03bb5fb).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #68      +/-   ##
==========================================
- Coverage   99.40%   99.40%   -0.01%
==========================================
  Files          82       83       +1
  Lines        2201     2198       -3
==========================================
- Hits         2188     2185       -3
  Misses         13       13

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


chore: bump windows base image version and create PR automatically

What type of PR is this?
Bump version and create associated PR automatically.
Find current latest base image version by az vm image show. Update it in environment windows-image.env. For this update, create a pull request automatically.
/kind feature

What this PR does / why we need it:
Automate the process. Speeding up windows image release.
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall First build on wanqingfu/find-latest-version at 61.59%

Totals

Change from base Build<PHONE_NUMBER>:
61.6%

Covered Lines:
2572

Relevant Lines:
4176

💛  - Coveralls


feat: Nakamoto 3.0 primary testnet updates

What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update

Description
Nakamoto 3.0 primary testnet updates
Issue ticket number and link
Checklist:

[x] I have performed a self-review of my code.
[x] I have tested the change on desktop and mobile.
[ ] I have added thorough tests where applicable.
[ ] I've added analytics and error logging where applicable.

Screenshots (if appropriate):

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


Change Onyx.render(:text) argument to :plain_text

See https://github.com/onyxframework/rest/issues/67

Cancelled, because :text is good enough.


Feature request: better tab grouping

Usually user browsing has some "Subject" it would be really great to find some way to group tabs by subject like: "finding new apartment" or "research on vim like chrome extensions".
Phase 1: We can try to clusterize tab open events by time, to better detect this groups
Phase 2: we can try to parse meta or website titles to compose group name.

This idea sounds interesting, but I believe it is out of scope for Tab Wrangler. chrome://history or other bookmark management extensions might be a good place to find this functionality. I'm always happy to review pull requests around this though.


Reconstruction and Editability benchmark for experiments

Hello there!
Thanks for providing a low level evaluation for benchmarking the quality of the latent space embeddings . 👍 💯
I have some questions regarding Reconstruction and Editability concepts:
1 ) Reconstruction .
From the paper I´m understanding that the metric used as a quality benchmark for the reconstructed concept is the average PAIR CLIP-space cosine-similarity between the generated images and the images of the concept-specific training set .It takes 64 images generated using the prompt “A photo of S*” .
Therefore, the closest to 1 the better the reconstruction might have been produced. Is this vector thought correct?

For computing this metric with different configs, I shall produce 64 images with “A photo of S*” and the 3-5 training images and then compute the average PAIR CLIP-space cosine-similarity in between them. Is this correct ?

Is this metric implemented somewhere in the code and can it be printed easily ?

2 ) Editability
From here, what Im understanding is that you measure CLIP-space embedding of the samples, and compute their cosine similarity with the CLIP-space embedding of the textual prompts omiting S* . So , as I´m understanding, we take a generated image with S* , and then compare it with the textual prompt without S* , is this correct ? Do you know if using this might work ?
Last , but not least, could we say that the difference in between those metrics is that in Reconstruction we measured similarity in between images and in Editability we measure similairty in between the image and the text prompt ?
Thanks so much and congratulations again for the fanstastic work ! Super Inspiring!

Hi,
First of all, regarding implementations of the evaluation script, you can find the relevant code to run similar evaluations here and here. I just ran the later file with a batch script, but if you want that code as well let me know and I'll tidy it up asap.
It does all the clip calculations including cosine similarity etc, so you don't need to run that gradio demo manually.
On the rest of the questions:

Keep in mind the string that you should actually be using to test reconstruction is "a photo of ". We used S for better clarity in the paper, but the actual default placeholder string in our code is just '*'.

You are correct on the interpretation of the metrics. Reconstruction checks the similarity between generated images and the original set, and editability checks similarity between the generated images and the text prompts.

Thanks for the detailed help and rigourousness towards the answer.
Following the trade-off exploration in between editability and reconstruction coming from section 5.3 Results , in page 13 , 1st paragraph (just after figure) , I´m assuming

the closer the learned embedding coming from * and the lower the learning rate, the better the editability is, but it shall fail to catch concept details. In contrast, the deviation gives a better reconstruction but a lower editability. The metric that controls this tradeoff is the learning rate. Could you please confirm when you have the time that we are taking about the base_learning_rate coming from the model  yaml ?

Have you found a learning rate / range interesting to be benchmarked that could be consider robust enough for extended latent spaces ?

Tangential : Fully aware that this vector thought deviates from the conversation and this is just an idea for future benchmarking and metrics (could be wrong, take this with a pinch of salt...). For evaluation ,at some point AlphaStar supplementary material A.5- introduced a evaluation robustness metric .
Maybe in this case a robust *  would be a probabilty distribution closest to 1 in between the CLIP quotients coming from R/E could gives us an idea of how well the concept has been learnt and is implemented in a context ?
Thanks ! 👍

Hello there,
My apologies for the follow up in another comment. I think it might be more fruitfull to touch Tangential discussions once  supplementary material is digested on my side. Thanks for your support again!

Hi,
On the question of LR controlling the tradeoff - the paper refers to the base_learning_rate, yes. However, please note that this isn't the only way to control the tradeoff. Adding more tokens, or adding regularizations to keep the embedding close to real words can also have a similar effect.
The learning rate we ended out settling on is the repo's default of 5e-03. It is near the 'corner' of the tradeoff curve.
We did not consider robustness scores, but if you look at our openreview supplementary you'll see a new experiment about coverage which is semi-related.

Learning rate:
The unfrozen yaml has two different learning rates, both of which are being used.
The first is the base_learning_rate, which is used as before to optimize the model embedding.
The second is the model_lr, which is used when optimizing the model's parameters. Basically this lets you run the pivotal tuning experiment described in our paper, and use a different learning rate for each part.
Additional approaches:
Bipartite and Pivotal are indeed two more advanced methods for inversion, and they are not presented in the main paper mostly over length concerns.
I'm not sure I follow the question about scale factor. It is set to the same value for both the frozen and the unfrozen versions of the model. Keep in mind that the scale factor in the config is not the classifier guidance scale. You're supplying the classifier guidance scale when running inference with the model.
We did not play with the scale_factor param in the config, we're just using CompViz' defaults.
Regularization:
Yes. What we basically checked was whether staying closer to the distribution of real words would help with editability, and this is indeed the case. It did hurt identity preservation, however.
I can confirm that the parameter you pointed at in the yaml is controlling the strength of this regularization. You want to keep it fairly low (probably around 1e-6 though your mileage may vary if you're using Stable Diffusion and not LDM).

Hello @rinongal ! Thanks so much for the detailed answer.
Learning Rate
Thanks so much for the clarification of the learning rates use.
Scale in Additional approaches VS scale guidance during inference
In the additional approaches, the image matrix shows different scales ( s =1, s=2, s=5 ) . I was wondering if conceptually speaking it was the same as classifier guidance scale during inference.  Now I see I had a missconception. Thanks for pointing me out in the right direction .
Regarding this guidance_scale_factor , Im assuming do you recommend Iterating over this in inference for controlling the tradeoff ?
I think Im having a good enough perspective and I don´t want to abuse your kindness , so If you want we can agree on discussing over this last question and close the issue.
We are working with all this to release a case of use with CI/CD  on top of your adsorbing and refreshing work, and more than happy to amplify the voice of your research .
Hopefully you don´t mind we thank you in one of our articles for all your support 🥇

Sorry for the late response. Busy week :)
For guidance_scale_factor you probably want to keep it somewhere near the original values (so 7.0-10.0). Higher will likely give you saturation issues without much benefit to the prompt-matching, low values will probably create things unrelated to your prompt.
Don't worry about closing the issue, you're more than welcome to ask questions, that's what this place is for.


bug: New interdependency between math and data_structures due to ed25519 feature

Bug Report
Alexandria version:
main
Current behavior:
Since the merge of ed25519 feature, there is a dependency between alexandria_math and alexandria_data_structures which force a user to add the alexandria_data_structures if he wants to only use alexandria_math.
Expected behavior:
I expected that each library would not be interdependent, but I could be wrong.
Steps to reproduce:
scarb add alexandria_math --git https://github.com/keep-starknet-strange/alexandria
scarb build

Generates the following error:
error: Identifier not found.
 --> ed25519.cairo:9:5
use alexandria_data_structures::array_ext::{ArrayTraitExt};
    ^************************^

error: Method `concat` not found on type "@core::array::Array::<core::integer::u8>". Did you import the correct trait and impl?
 --> ed25519.cairo:303:49
    let k: Array<u8> = sha512(r_string.snapshot.concat(pub_key.snapshot).concat(msg.snapshot));
                                                ^****^

error: Method `concat` not found on type "<missing>". Did you import the correct trait and impl?
 --> ed25519.cairo:303:74
    let k: Array<u8> = sha512(r_string.snapshot.concat(pub_key.snapshot).concat(msg.snapshot));
                                                                         ^****^

To solve this we could either not use alexandria_data_structures in alexandria_math, or merge both libraries.
Finally, this is a good opportunity to statuate on this situation and if possible add a test to prevent it in the future if we choose to avoid this situation.
Related code:
https://github.com/keep-starknet-strange/alexandria/blob/3fae57a07ba8904f8e8a4299448a5c2f443f8330/alexandria/math/src/ed25519.cairo#L9C1-L9C60

I forgot to add alexandria_data_structures to the scarb.toml, but why not have interdependencies? The only issue I can see is recursive dependency, is there something else that might be annoying?
The reason I ask is because this happens as well in the package alexandria_encoding with base64, which imports rhs and lsh from alexandria_math.

but why not have interdependencies?

I don't have strong opinion about interdependencies, I didn't notice any other so I was thinking that we have to avoid that. But as you mentioned base64 already did that so adding the dep in the scarb should be the right thing to do then.
Also, @LucasLvy if we create interdependencies what is the point to split libs, why not just to merge them all into an Alexandria lib? Is there any benefict to use alexandria_math  which uses alexandria_data_structures behind the scene vs just use alexandria::math with a single Scarb file at the top level?

Also what I was thinking, maybe it would make sense to group everything into one package

I'm not against inter deps but i fear that this will lead to having a cyclic dependency. I'd rather keep everything separated

Ok, should we switch Alexandria to be only one package then? In the meantime I will remove any interdependencies

Also what I was thinking, maybe it would make sense to group everything into one package

I think this would be a good solution. People can then specify the one they want to use in their project.

This would lead to use it like this:
alexandria::math::pow;
alexandria::data_structure::ArrayTraitExt;

Is it better?

This would lead to use it like this:
alexandria::math::pow;
alexandria::data_structure::ArrayTraitExt;

Is it better?

This would be much better

I tend to agree that it'd be better. Do you have any argument against @gaetbout

None, I can work on this today ASAP and have it done by tomorrow.
I'm just concerned about breaking projects that might be using it already.

I was already playing with it and almost have a working version, last step I need to figure out if it's an issue to run all tests with --starknet flag, as storage module needs it.

Wonder if it is somehow possible to make a release so that other project can somehow refer to that release in their scarb file.
I don't know this is possible

It should be possible with this: https://docs.swmansion.com/scarb/docs/guides/dependencies#adding-a-dependency

Here's what I propose for the merging of packages: https://github.com/keep-starknet-strange/alexandria/pull/136


LCAM-485-ccp integration testing

What
Link to story
Describe what you did and why.
Integration testing for CrownCourtProceedingController.java
Checklist
Before you ask people to review this PR:

[x] Tests should be passing: ./gradlew test
[x] GitHub should not be reporting conflicts; you should have recently run git rebase main.
[x] Avoid mixing whitespace changes with code changes in the same commit. These make diffs harder to read and conflicts more likely.
[x] You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

@loganathanMOJ In the integration test, for external HTTP calls , instead of using Mockito implementation please use Wiremock as this simulates the external service and runs the code to invoke the API and getting the response.


BUG: Duplicate index.html file and the paths to all pages and link correction in login/sign/forgetpassword

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
So Finally I have found that on deleting index.html file inside the assest folder created the problem with following three page:
Login
Sign Up
Forgot password
The navbar was Not working as the paths were given wrong or we can say that in these three files the two different navbar were made i want to change them as one with all working
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

@huamanraj please assign so that I can make PR


wholerow doesn't line up; second column dom order wrong

I have a jstree with ajax loading and a single extra column (jstree latest build - 9770c67). The row selection seems out of order for some (but not all) items. I'm not doing anything out of the ordinary with my code:
var $TREE = $("#xmlTree").jstree({
    'core' : {
    	'themes' : {
	    	'dots': true,
	    	'icons': true
    	},
        'data' : {
		    'url' : function (node) {
	            	var parentId = ~~node.id.replace(/(page_|\#)/g,""),
	            		url = '/engine/loadnav/' + _courseid + '/' + parentId;
		            return url;
	        }
        },
        'check_callback': true
    },
	'grid' : {
		'fixedHeader': false,
		'columns': [{"header":"structure","tree":true},{"header":"score","value":"score"}]
	},
	'plugins' : ['contextmenu','dnd','wholerow','grid']

Hmm, probably something in the logic of selection.
Can you put up a jsfiddle with the issue? If we can replicate it and look at the error happening, maybe we can get somewhere with it...


Ehance native backend documentation

Documentation says that to use native file backend is necessary to use spring.profiles.active=native.
But if it's necessary to use different profiles (embedded config server with local files for example) it'd be impossible to change behavior for staging or production for example.
In such cases it's possible to use a different profile from native and create a NativeEnvironmentRepository Bean:
@Bean
public NativeEnvironmentRepository environmentRepository(NativeEnvironmentRepositoryFactory factory,
                                       NativeEnvironmentProperties environmentProperties) {
    return factory.build(environmentProperties);
}

Can you provide a more complete example of the problem?  I am not sure I understand what the issue or suggestion is.

Documentation does not say about the possibility to create the NativeEnvironmentRepository, only says about the pring.profiles.active=native.
It could help someone else this information. I spent some time to figure out this.

That is true of every bean that is conditionally activated.  If the bean is not created for some reason you have the option to create it yourself.  We don't typically document those things, we try to document functionality instead.

Well, I tried it, but didn't work. I don't know why but the only way for me was creating the NativeEnvironmentRepository

It should work.  In fact we explicitely call that out in the documentation as a way of supporting multiple EnvironmentRepositorys
https://docs.spring.io/spring-cloud-config/reference/server/environment-repository/composite-repositories.html

But that wasn't the problem. The NativeEnvironmentRepository was needed to use one repository (native) with multiple profiles

The additional profiles were unrelated to the config server?

In my specific case I intended to use config server for resource bundles to another apis. But I needed to use it with local files, so I needed to use the profile=native.
I tried to use 2 profiles at the same time (native and production or native and staging) but this didn't work. So I created the NativeEnvironmentRepository and used the desired profile with the respective properties

Can you provide a sample that reproduces the problem?

I'll create a sample project and share it here :)

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Validate failed: Detected resolved migration not applied to database

Which version and edition of Flyway are you using?
Flyway Pro Edition 5.0.7 by Boxfuse
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Gradle plugin
Which database are you using (type & version)?
PostgreSQL 9.6.3
Which operating system are you using?
CentOS Linux release 7.3.1611
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
Ran gradle migration
./gradlew :commerce:flywayMigrate -i
-PflywayDbUser=${DB_USER}
-PflywayDbPassword=${DB_PASSWD}
-PflywayDbName=${DB_NAME}
-PflywayDbHost=${DB_HOST}:5432
What did you expect to see?
Successful migration of V23__test_member_group_promo.sql
What did you see instead?
build	06-Apr-2018 19:08:16	Flyway Pro Edition 5.0.7 by Boxfuse
build	06-Apr-2018 19:08:16	Database: jdbc:postgresql://xxxx.xxxx.xxx.xxx:5432/denver (PostgreSQL 9.6)
build	06-Apr-2018 19:08:16	:commerce:flywayMigrate FAILED
build	06-Apr-2018 19:08:16	:commerce:flywayMigrate (Thread[Task worker for ':' Thread 5,5,main]) completed. Took 0.504 secs.
error	06-Apr-2018 19:08:16
error	06-Apr-2018 19:08:16	FAILURE: Build failed with an exception.
error	06-Apr-2018 19:08:16
error	06-Apr-2018 19:08:16	* What went wrong:
build	06-Apr-2018 19:08:16	1 actionable task: 1 executed
error	06-Apr-2018 19:08:16	Execution failed for task ':commerce:flywayMigrate'.
error	06-Apr-2018 19:08:16	> Error occurred while executing flywayMigrate
error	06-Apr-2018 19:08:16	  Validate failed: Detected resolved migration not applied to database: 5.76.1
error	06-Apr-2018 19:08:16
error	06-Apr-2018 19:08:16	* Try:
error	06-Apr-2018 19:08:16	Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
error	06-Apr-2018 19:08:16
error	06-Apr-2018 19:08:16	* Get more help at https://help.gradle.org
error	06-Apr-2018 19:08:16
error	06-Apr-2018 19:08:16	BUILD FAILED in 6s

Here is what we see with gradle flywayInfo
build	06-Apr-2018 19:45:50	Schema version: 22
build	06-Apr-2018 19:45:50	+-----------+------------+-----------------------------------------+----------+---------------------+---------+----------+
build	06-Apr-2018 19:45:50	| Category  | Version    | Description                             | Type     | Installed On        | State   | Undoable |
build	06-Apr-2018 19:45:50	+-----------+------------+-----------------------------------------+----------+---------------------+---------+----------+
build	06-Apr-2018 19:45:50	| Versioned | 1          | Base                                    | BASELINE | 2015-09-12 17:54:16 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 2          | update fraudcheck generatetickler colum | SQL      | 2016-01-12 16:22:26 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 3          | audit loggedactions                     | SQL      | 2018-03-13 14:48:01 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 4          | member group promo                      | SQL      | 2018-03-13 15:11:51 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 5          | petprofile                              | SQL      | 2018-03-13 15:16:02 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 5.76.1     | BulkUpload                              | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 5.76.2     | DDLStageMerge                           | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 5.76.3     | OrderPrime                              | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 5.76.2583  | watchmacallit                           | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 5.76.2585  | requiredattribute                       | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 6          | trackticklertime                        | SQL      | 2018-03-14 09:59:06 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 6.76.2598  | customerSegmentSetup                    | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 7          | update transportattr                    | SQL      | 2018-03-14 17:38:01 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 7.76.2606  | promotionFix                            | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 8          | chase                                   | SQL      | 2018-03-14 17:38:01 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 9          | petprofileMetadata                      | SQL      | 2018-03-14 17:38:02 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 9.76.2647  | catEntrySetup                           | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 10         | returns address                         | SQL      | 2018-03-14 17:54:54 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 11         | chase avcode drop                       | SQL      | 2018-03-14 17:57:05 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 11.76.2686 | manifest                                | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 12         | add icf tklrreason create catentsync    | SQL      | 2018-03-15 11:51:32 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 12.76.2692 | NAVandWMSsync                           | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 13         | ship calendar                           | SQL      | 2018-03-15 12:32:56 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 13.76.2717 | shipCalendar                            | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 13.76.2719 | SubscriptionCommandSetup                | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 14         | promofraudvw                            | SQL      | 2018-03-15 12:35:05 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 14.76.2742 | shipcalendarMetadata                    | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 14.76.2748 | lasership                               | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 15         | paybatch                                | SQL      | 2018-03-15 16:15:29 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 16         | paybatch index                          | SQL      | 2018-03-15 16:15:31 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 16.76.2754 | PreprocessRecurringOrder                | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 16.76.2756 | sensitiveproducts                       | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 16.76.2757 | relationshipcatentrel                   | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 17         | petprofileweight                        | SQL      | 2018-03-15 16:15:32 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 18         | shipcalendar updates                    | SQL      | 2018-03-15 16:42:33 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 19         | order routing rules                     | SQL      | 2018-03-15 16:47:53 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 19.76.2807 | orderRoutingRules                       | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 20         | order routing info fix                  | SQL      | 2018-03-15 16:48:35 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 20.76.2818 | chase config update                     | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 21         | paytran index for paybatch              | SQL      | 2018-03-15 16:48:59 | Success | No       |
build	06-Apr-2018 19:45:50	| Versioned | 21.76.87   | chaseUrlUpdate                          | SQL      |                     | Ignored | No       |
build	06-Apr-2018 19:45:50	| Versioned | 22         | allow null ordroutinginfo               | SQL      | 2018-04-04 11:07:15 | Undone  |          |
build	06-Apr-2018 19:45:50	| Undo      | 22         | allow null ordroutinginfo               | UNDO_SQL | 2018-04-04 11:19:34 | Missing |          |
build	06-Apr-2018 19:45:50	| Versioned | 22         | allow null ordroutinginfo               | SQL      | 2018-04-04 16:10:30 | Success | Yes      |
build	06-Apr-2018 19:45:50	| Versioned | 23         | test member group promo                 | SQL      |                     | Pending | No       |
build	06-Apr-2018 19:45:50	+-----------+------------+-----------------------------------------+----------+---------------------+---------+----------+

Here is what we see with command line Info
Schema version: 22

+-----------+---------+-----------------------------------------+----------+---------------------+---------+----------+
| Category  | Version | Description                             | Type     | Installed On        | State   | Undoable |
+-----------+---------+-----------------------------------------+----------+---------------------+---------+----------+
| Versioned | 1       | Base                                    | BASELINE | 2015-09-12 17:54:16 | Success | No       |
| Versioned | 2       | update fraudcheck generatetickler colum | SQL      | 2016-01-12 16:22:26 | Success | No       |
| Versioned | 3       | audit loggedactions                     | SQL      | 2018-03-13 14:48:01 | Success | No       |
| Versioned | 4       | member group promo                      | SQL      | 2018-03-13 15:11:51 | Success | No       |
| Versioned | 5       | petprofile                              | SQL      | 2018-03-13 15:16:02 | Success | No       |
| Versioned | 6       | trackticklertime                        | SQL      | 2018-03-14 09:59:06 | Success | No       |
| Versioned | 7       | update transportattr                    | SQL      | 2018-03-14 17:38:01 | Success | No       |
| Versioned | 8       | chase                                   | SQL      | 2018-03-14 17:38:01 | Success | No       |
| Versioned | 9       | petprofileMetadata                      | SQL      | 2018-03-14 17:38:02 | Success | No       |
| Versioned | 10      | returns address                         | SQL      | 2018-03-14 17:54:54 | Success | No       |
| Versioned | 11      | chase avcode drop                       | SQL      | 2018-03-14 17:57:05 | Success | No       |
| Versioned | 12      | add icf tklrreason create catentsync    | SQL      | 2018-03-15 11:51:32 | Success | No       |
| Versioned | 13      | ship calendar                           | SQL      | 2018-03-15 12:32:56 | Success | No       |
| Versioned | 14      | promofraudvw                            | SQL      | 2018-03-15 12:35:05 | Success | No       |
| Versioned | 15      | paybatch                                | SQL      | 2018-03-15 16:15:29 | Success | No       |
| Versioned | 16      | paybatch index                          | SQL      | 2018-03-15 16:15:31 | Success | No       |
| Versioned | 17      | petprofileweight                        | SQL      | 2018-03-15 16:15:32 | Success | No       |
| Versioned | 18      | shipcalendar updates                    | SQL      | 2018-03-15 16:42:33 | Success | No       |
| Versioned | 19      | order routing rules                     | SQL      | 2018-03-15 16:47:53 | Success | No       |
| Versioned | 20      | order routing info fix                  | SQL      | 2018-03-15 16:48:35 | Success | No       |
| Versioned | 21      | paytran index for paybatch              | SQL      | 2018-03-15 16:48:59 | Success | No       |
| Versioned | 22      | allow null ordroutinginfo               | SQL      | 2018-04-04 11:07:15 | Undone  |          |
| Undo      | 22      | allow null ordroutinginfo               | UNDO_SQL | 2018-04-04 11:19:34 | Missing |          |
| Versioned | 22      | allow null ordroutinginfo               | SQL      | 2018-04-04 16:10:30 | Success | Yes      |
| Versioned | 23      | test member group promo                 | SQL      |                     | Pending | No       |
+-----------+---------+-----------------------------------------+----------+---------------------+---------+----------+

Here is what we see in schema_version table
denver=> select * from schema_version order by installed_rank;
 installed_rank | version |               description               |   type   |                     script                      |  checksum   | installed_by |        installed_on        | execution_time | success
----------------+---------+-----------------------------------------+----------+-------------------------------------------------+-------------+--------------+----------------------------+----------------+---------
              1 | 1       | Base                                    | BASELINE | << Flyway Baseline >>                           |  -438345155 | denver       | 2015-09-12 17:54:16.542605 |              0 | t
              2 | 2       | update fraudcheck generatetickler colum | SQL      | V2__update_fraudcheck_generatetickler_colum.sql |<PHONE_NUMBER> | denver       | 2016-01-12 16:22:26.490093 |             83 | t
              3 | 3       | audit loggedactions                     | SQL      | V3__audit_loggedactions.sql                     | -1358985616 | bohalloran   | 2018-03-13 14:48:01.665046 |              0 | t
              4 | 4       | member group promo                      | SQL      | V4__member_group_promo.sql                      |  -755503284 | bohalloran   | 2018-03-13 15:11:51.349875 |              0 | t
              5 | 5       | petprofile                              | SQL      | V5__petprofile.sql                              |  -558679931 | bohalloran   | 2018-03-13 15:16:02.830503 |              0 | t
              6 | 6       | trackticklertime                        | SQL      | V6__trackticklertime.sql                        | -1239233337 | bohalloran   | 2018-03-14 09:59:06.096964 |              0 | t
              7 | 7       | update transportattr                    | SQL      | V7__update_transportattr.sql                    |<PHONE_NUMBER> | bohalloran   | 2018-03-14 17:38:01.183617 |            158 | t
              8 | 8       | chase                                   | SQL      | V8__chase.sql                                   |  -430236424 | bohalloran   | 2018-03-14 17:38:01.751137 |            201 | t
              9 | 9       | petprofileMetadata                      | SQL      | V9__petprofileMetadata.sql                      | -1936269498 | bohalloran   | 2018-03-14 17:38:02.426263 |          14527 | t
             10 | 10      | returns address                         | SQL      | V10__returns_address.sql                        |<PHONE_NUMBER> | bohalloran   | 2018-03-14 17:54:54.419396 |              0 | t
             11 | 11      | chase avcode drop                       | SQL      | V11__chase_avcode_drop.sql                      | -1101345713 | bohalloran   | 2018-03-14 17:57:05.164366 |            159 | t
             12 | 12      | add icf tklrreason create catentsync    | SQL      | V12__add_icf_tklrreason_create_catentsync_.sql  |   -87045201 | bohalloran   | 2018-03-15 11:51:32.337018 |              0 | t
             13 | 13      | ship calendar                           | SQL      | V13__ship_calendar.sql                          |  -232218439 | bohalloran   | 2018-03-15 12:32:56.716853 |              0 | t
             14 | 14      | promofraudvw                            | SQL      | V14__promofraudvw.sql                           |<PHONE_NUMBER> | bohalloran   | 2018-03-15 12:35:05.323933 |            215 | t
             15 | 15      | paybatch                                | SQL      | V15__paybatch.sql                               |   122696777 | bohalloran   | 2018-03-15 16:15:29.485673 |           1119 | t
             16 | 16      | paybatch index                          | SQL      | V16__paybatch_index.sql                         |  -149991748 | bohalloran   | 2018-03-15 16:15:31.685901 |            327 | t
             17 | 17      | petprofileweight                        | SQL      | V17__petprofileweight.sql                       | -2141537509 | bohalloran   | 2018-03-15 16:15:32.011651 |            424 | t
             18 | 18      | shipcalendar updates                    | SQL      | V18__shipcalendar_updates.sql                   |<PHONE_NUMBER> | bohalloran   | 2018-03-15 16:42:33.139859 |              0 | t
             19 | 19      | order routing rules                     | SQL      | V19__order_routing_rules.sql                    | -1045195151 | bohalloran   | 2018-03-15 16:47:53.502748 |              0 | t
             20 | 20      | order routing info fix                  | SQL      | V20__order_routing_info_fix.sql                 |<PHONE_NUMBER> | bohalloran   | 2018-03-15 16:48:35.076869 |            445 | t
             21 | 21      | paytran index for paybatch              | SQL      | V21__paytran_index_for_paybatch.sql             |  -160234178 | bohalloran   | 2018-03-15 16:48:59.347806 |          22671 | t
             22 | 22      | allow null ordroutinginfo               | SQL      | V22__allow_null_ordroutinginfo.sql              |  -170291584 | bohalloran   | 2018-04-04 11:07:15.124184 |              0 | t
             23 | 22      | allow null ordroutinginfo               | UNDO_SQL | U22__allow_null_ordroutinginfo.sql              |    29367394 | bohalloran   | 2018-04-04 11:19:34.370825 |            368 | t
             24 | 22      | allow null ordroutinginfo               | SQL      | V22__allow_null_ordroutinginfo.sql              |  -170291584 | bohalloran   | 2018-04-04 16:10:30.456743 |            201 | t
(24 rows)

denver=>

Thanks for the detailed report. It appears there are a few things going on here.
First, your Gradle plugin seems to be configured with a different set of locations than the commandline tool, resulting in the many Ignored migrations.
That however doesn't explain why Flyway complains about 5.76.1 (which is marked as Ignored) instead of simply ignoring it. Note that this behavior will change in 5.1 as part of #1865 . Could you share the debug output of that same Gradle command as well as the definition of that command in your build file?
Also interesting is U22__allow_null_ordroutinginfo.sql marked as Missing, yes the second entry for 22 is being detected as undoable. Is that file still there?


picker-day-today is applied to today cell only after first click

picker-day-today is applied to today cell only after first click

If I check on the demo page the .picker-day.today css (and not .picker-day-today) is always applied.
Do you have the problem on the demo page too ? If so what is you browser ?

No, sorry, in the demo it's o.k. I'll double check my changes... :-(


Different Number of Worker Processes Created

What did you do? If possible, provide a simple script for reproducing the error.

**Context:**
I am using Smf\ConnectionPool library version v1.0.16 for postgreSQL Connection Pool, installed using
`composer require open-smf/connection-pool: ~1.0`

Server Configuration sets worker_num as 4 and task_worker_num as 8

My server listens to port 9501.

I test the number of "processes" created when provide same Connection Pool code in $server->on("request", callback() { ... my code ...} and in $server->on("WorkerStart", callback() { ... my same code .. }

**The Code:**

        $pool1 = new ConnectionPool(
            [
                'minActive'         => 10,
                'maxActive'         => 30,
                'maxWaitTime'       => 5,
                'maxIdleTime'       => 20,
                'idleCheckInterval' => 10,
            ],
            new CoroutinePostgreSQLConnector,
            [
                'connection_strings' => 'host=<IP_ADDRESS>;port=5432;dbname=muasheratdb;user=postgres;password=passwd123',
            ]
        );
        $pool1->init();
        $this->addConnectionPool('pgsql', $pool1);

And, i use the command below on ubuntu terminal to list the processes created:
sudo lsof -i:9501
2. What did you expect to see?

The list should show 14 processes whether the code is used in onRequest or in onWorkerStart. (including Master Process, Manager Process, Worker Processes (4), and Task Worker Processes(8))
3. What did you see instead?

When Code is supplied in onRequest event, i get number of processes correctly as 14 processes.
BUT when i supply the code in onWorkerStart, i get lesser number of Processes equal to 11.
Note: The expected output of SQL Query shown in Postman is showing correct, in both cases.
4. What version of OpenSwoole are you using (show your `php --ri openswoole`)?

Openswoole version 4.11.1
Note: I installed it by compiling source coce.
5. What is your machine environment used (show your `uname -a` & `php -v` & `gcc -v`) ?

Output of uname -a (where fakhar is my name in my computer-name "fakhar-HP-laptop".
Linux fakhar-HP-Laptop 5.17.5-76051705-generic #202204271406165150484020.04~63e51bd-Ubuntu SMP PREEMPT Wed Ma x86_64 x86_64 x86_64 GNU/Linux
"Output of php -v"
PHP 8.1.10 (cli) (built: Sep 18 2022 10:26:02) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.10, Copyright (c) Zend Technologies
with Zend OPcache v8.1.10, Copyright (c), by Zend Technologies
"Output of gcc -v"
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.2.0-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)

You can also try the following OpenSwoole support channels:

* [Documentation](https://openswoole.com/docs) - Documentation for Open Swoole
* [Slack](https://goo.gl/forms/wooTTDmhbu30x4qC3) - Slack channel of Open Swoole
* [Discord](https://discord.gg/5QC57RNPpw) - Discord server of Open Swoole

Could you provide code to reproduce the issue?

Could you provide code to reproduce the issue?

Please, close the issue as i fixed a bug in my code which solved this issue. Thank you.


Does this package work on Umbraco Cloud?

Hi,
We're evaluating Umbraco Cloud and we're wondering whether this package works there?
Thanks,
Rai

Hi Rai,
Unfortunately not as they do not offer access to the API which is required.
It would work with our hosting (https://umbhost.net) if you were to use your own Cloudflare account


Force python2 virtualenv

python defaults to 2.7 on Fedora 29 yet virtualenv chooses 3.7
instead.  Force python2 to work around this.

Superseded by #264.


Display list of users on /users

We need a master list of society members. We should fetch this list of users from the API and display it in a DataTable on /uesrs.

Can put users into groups on Amplify. Will have groups member and exec. exec will be set manually, member will be automatically assigned via lambda function which runs as a Post Authentication Lambda function in Cognito https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-post-authentication.html.

Decided to use /admin/users instead of /users so we can have admin dashboard at /admin

Table containing each user with basic info for each user, or everything (all projects, talks, etc.) - toggleable. Use MaterialUI Data Grid, because has rich filtering and searching functionality (e.g. can filter by users in a specific project).


more tests in experimental conformance profile report

something is broken in the conformance framework, ive disabled the mesh feature, but the tests still run
cc @Xunzhuo

This is sn upstream bug. I manually remove them before

blocked on https://github.com/kubernetes-sigs/gateway-api/pull/2515

hey @Xunzhuo where's the report artifact :) ?

https://github.com/envoyproxy/gateway/actions/runs/6648815440?pr=2056
@arkodg

thanks
looks like we should work on enabling the skipped tests before v0.6
apiVersion: gateway.networking.k8s.io/v1alpha1
date: "2023-10-26T02:53:47Z"
gatewayAPIVersion: TODO
implementation:
  contact:
  - https://github.com/envoyproxy/gateway/blob/main/GOVERNANCE.md
  organization: envoyproxy
  project: envoy-gateway
  url: https://github.com/envoyproxy/gateway
  version: latest
kind: ConformanceReport
profiles:
- core:
    result: partial
    skippedTests:
    - GatewaySecretInvalidReferenceGrant
    statistics:
      Failed: 0
      Passed: 9
      Skipped: 1
    summary: ""
  name: TLS
- core:
    result: partial
    skippedTests:
    - GatewaySecretInvalidReferenceGrant
    - GatewayWithAttachedRoutes
    statistics:
      Failed: 0
      Passed: 27
      Skipped: 2
    summary: ""
  extended:
    result: partial
    skippedTests:
    - HTTPRouteRewritePath
    statistics:
      Failed: 0
      Passed: 11
      Skipped: 1
    summary: ""
    supportedFeatures:
    - HTTPRoutePortRedirect
    - HTTPRoutePathRedirect
    - HTTPRouteRequestTimeout
    - HTTPRouteQueryParamMatching
    - HTTPRouteRequestMultipleMirrors
    - HTTPRoutePathRewrite
    - HTTPRouteBackendTimeout
    - HTTPRouteSchemeRedirect
    - HTTPRouteHostRewrite
    - HTTPRouteRequestMirror
    - HTTPRouteMethodMatching
    - HTTPRouteResponseHeaderModification
  name: HTTP


aggregate_select() removed in Django 1.10

aggregate_select() was replaced by annotation_select() in Django 1.8.
Need fix it in compiler.SQLCompiler._fix_aggregates.
In my case(MSSQL 2008) simple replace aggregate_select to annotation_select works well.

Regarding the above pull request:
In order to get my django application working I've patched my fork of django-pyodbc as suggested by OrangeDog23 and the solution seems to work.  My own knowledge of Django's database internals is not great enough to assure anyone that @OrangeDog23 's solution is a good one, I can only say that I implemented his suggestion with some attention to forward and backward compatibility and that it does (so far) seem to work for me.
Thanks!
Ben Mehlman

This issue is resolved in alpha release 2.0.0a1, using Django 2.0. I am closing this issue, but if this is an unacceptable outcome, please re-open the ticket.


CameraPreview.flip() is not a function

I have a working module for this, however, on calling flip() I get the error from android devices (not tested iOS). I'm on AndroidX.
Msg: ERROR TypeError: CameraPreview.flip is not a function.
"capacitor-camera-preview": "^0.6.0",
"@angular/core": "~9.1.9",
"@capacitor/core": "^2.1.0",
import { Component, OnInit, Output, EventEmitter } from '@angular/core';
import {
  Plugins
} from '@capacitor/core';
const { CameraPreview } = Plugins;

@Component({
  selector: 'app-camera-preview',
  templateUrl: './camera-preview.component.html',
  styleUrls: ['./camera-preview.component.scss'],
})
export class CameraPreviewComponent implements OnInit {
  @Output() takePictureCamera = new EventEmitter<string>();

  constructor() { }

  ngOnInit() {
    CameraPreview.start({
      parent: "cameraPreview",
      position: "front",
      camera: "front"
    });
  }

  takePicture(){
      const pictureOpts = {
        correctOrientation: true,
        width: 150,
        quality: 50
      };
      CameraPreview.capture(pictureOpts).then((base64PictureData) => {
          this.takePictureCamera.emit('data:image/jpg;base64,'+base64PictureData.value);
          CameraPreview.stop();
      }, (err) => {
          console.log(err);
          CameraPreview.stop();
      });
  }

  flip(){
    CameraPreview.flip();
  }
}

Did you add the plugin to MainActivity?

Yes, but I've just spotted in the build that it throws: "error: cannot find symbol       add(CameraPreview.class);".

Are you import CameraPreview?

in Main Activity or in Angular? Adding anything else to MainActivity doesn't work.
It is imported in the project as it works (apart from flip() )
Where should I be adding additional import statement?

Here's a repo: https://github.com/ASomerN/camera-preview-example
In this repo, I can't generate a .apk file if I have added the line for Android quirks: "add(CameraPreview.class);"
The emulator works with and without that line.

You are missing import on main activity, please add
import com.ahm.capacitor.camera.preview.CameraPreview;
And let me know if works

That doesn't resolve the issue. Still can't build a .apk file with those lines included in the MainActivity either.

@ASomerN as I say, what you missing is importing CamperaPreview on MainActivity I just download you code and test and works !!!!

I'm having no joy. I can get the camera working but not the flip.
I have added those lines (and I've updated the repo). I had the same issue in Android Studio where it wouldn't recognise the package. After reverting to an older Gradle version it allows the build to proceed but nothing works.
I have then upgraded and now get: "android:failed: Cause: org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext"
When building.
I'll need to overcome these issues with Android Studio which I assume is where the issues exist now.
Can you let me know what version of gradle you are using?

I see you add
import com.getcapacitor.camera.preview.CameraPreview;
but the plugin is
import com.ahm.capacitor.camera.preview.CameraPreview;
also, grade 6.0+ not have support for LazyConfigurationUsageContext so, you need to use a lower grade version

If you upgrade to capacitor 2.1.2, it will work with Gradle 6.1.1

see this PR https://github.com/ASomerN/camera-preview-example/pull/1

The commit with the "import com.getcapacitor.camera.preview.CameraPreview;" import was me trying anything to get it to work, I've pushed the change with the correct code I was using but as mentioned it still doesn't work.
Will upgrade capacitor and rebuild. It would be helpful to have a working example of camera.flip() being used! I can get the camera to function but not the preview and flip on native. The functionality difference between web and app is another issue.

I've got it working but now there's no preview on initialising the module.
I'm closing this as the flip() issue is resolved but now there are different issues.

How did you fix the flip issue? @ASomerN


Bump mathlib

There is one proof I couldn't fix. Look for the stop in WeakPFR. It shouldn't be too hard to fix for someone who knows what's going on.

I think I got it to work.  Some inefficiency now with regard to using both Nonempty and Set.Nonempty but I didn't aim to streamline the code.

Ugh, now I my local build for this bump branch has broken down, sorry, you'll have to fix the remaining issue (in ImprovedPFR.lean) yourself.  (I'm getting this error message:
c:\Users\teort\.elan\toolchains\leanprover--lean4---v4.5.0-rc1\bin\lake.exe setup-file C:/Users/teort/Dropbox/Lean/pfr/Pfr/ImprovedPFR.lean Init PFR.Main failed:
stderr:
warning: mathlib: repository '..lake/packages\mathlib' has local changes
info: [297/1828] Building Mathlib.RingTheory.Finiteness
error: > LEAN_PATH=..lake/packages\std.lake\build\lib;..lake/packages\Qq.lake\build\lib;..lake/packages\aesop.lake\build\lib;..lake/packages\proofwidgets.lake\build\lib;..lake/packages\Cli.lake\build\lib;..lake/packages\mathlib.lake\build\lib;..lake\build\lib PATH c:\Users\teort.elan\toolchains\leanprover--lean4---v4.5.0-rc1\bin\lean.exe -Dpp.unicode.fun=true -Dpp.proofs.withType=false -DautoImplicit=false -DrelaxedAutoImplicit=false ..lake/packages\mathlib..\Mathlib\RingTheory\Finiteness.lean -R ..lake/packages\mathlib.. -o ..lake/packages\mathlib.lake\build\lib\Mathlib\RingTheory\Finiteness.olean -i ..lake/packages\mathlib.lake\build\lib\Mathlib\RingTheory\Finiteness.ilean -c ..lake/packages\mathlib.lake\build\ir\Mathlib\RingTheory\Finiteness.c
error: stdout:
..lake/packages\mathlib..\Mathlib\RingTheory\Finiteness.lean:1:0: error: unexpected identifier; expected command
..lake/packages\mathlib..\Mathlib\RingTheory\Finiteness.lean:6:0: error: invalid 'import' command, it must be used in the beginning of the file
error: external command c:\Users\teort\.elan\toolchains\leanprover--lean4---v4.5.0-rc1\bin\lean.exe exited with code 1
)


Add file locking to the VersionControlSystem instances

With this wrapper, we can be sure that, during VersionControlSystem
population, the directory cannot be written to or read from by any
other thread.
Related to gradle/gradle-native#146
Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

I'm really not sure how to test this one. Looking for guidance during review. Also, I don't know if I'm using the PersistentCache and CacheRepository interfaces correctly. They feel very difficult to reason about to me.


Can you provide the Projected_ShapeNet-55_noise dataset？

Can you provide the Projected_ShapeNet-55_noise dataset？

Sure, uploading it to BaiduYun now. I will share the link a little later.

see here

see here

Is there a  Google Drive version?


URL

I request to add open web site plugin with the URL like in stream deck but in a specific browser that we select please The website is too good and now i always use it But i always want to add this feature but i cant find and if it has a plugin that i say tell me the plugin name
-Thank you.

s


Contribution

Your Question:
Who can I talk to, to get started contributing? is there a gitter or slack somewhere?

There is a Discord server available here: https://discord.gg/rV24CzG
Le ven. 15 janv. 2021 à 12:42, jwoff78<EMAIL_ADDRESS>a écrit :

Your Question:
Who can I talk to, to get started contributing? is there a gitter or slack
somewhere?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Minestom/Minestom/issues/103, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJNFMU2LT55CM2MJIZR6GTS2AS3TANCNFSM4WD524UQ
.

There is a Discord server available here: https://discord.gg/rV24CzG
Le ven. 15 janv. 2021 à 12:42, jwoff78<EMAIL_ADDRESS>a écrit :

Your Question:
Who can I talk to, to get started contributing? is there a gitter or slack
somewhere?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Minestom/Minestom/issues/103, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJNFMU2LT55CM2MJIZR6GTS2AS3TANCNFSM4WD524UQ
.

There is a Discord server available here: https://discord.gg/rV24CzG
Le ven. 15 janv. 2021 à 12:42, jwoff78<EMAIL_ADDRESS>a écrit :

Your Question:
Who can I talk to, to get started contributing? is there a gitter or slack
somewhere?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Minestom/Minestom/issues/103, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJNFMU2LT55CM2MJIZR6GTS2AS3TANCNFSM4WD524UQ
.

There is a Discord server available here: https://discord.gg/rV24CzG
Le ven. 15 janv. 2021 à 12:42, jwoff78<EMAIL_ADDRESS>a écrit :

Your Question:
Who can I talk to, to get started contributing? is there a gitter or slack
somewhere?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Minestom/Minestom/issues/103, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJNFMU2LT55CM2MJIZR6GTS2AS3TANCNFSM4WD524UQ
.


How can I route public schema requests?

When I try to enter into my main domain (without specifiying a tenant) I'm viewing

No tenant for hostname "example.com"

But when I go into some tenant (ex: franco-dev.example.com) it does work. I have set my PUBLIC_SCHEMA_URLCONF to a valid urls.py though.
Thanks!

You can do your own version of the middleware then you can override the routing to the correct place. I do this on my project to make <IP_ADDRESS> route to my demo tenant. Hope this helps

Just found a solution :) I created a "public" schema with the main domain (w/o subdomain) and it recognized it fine. Thank you.


[BUG] Always pass in CancelationToken's to async apis.

Library name and version
All of them from the tip of main on the repo
Describe the bug
When I tried to investigate into doing https://github.com/Azure/azure-sdk-for-net/issues/28577 I discovered that there are a lot of apis for which compile errors are thrown because CancelationTokens are not passed into them.
Expected behavior
For all of the async usages to pass in CancelationTokens so they can abort when the user requests for cancellation.
Actual behavior
It looks like the tokens are not passed which results in a ton of compile errors when .NET 6 is added to all the project's targets.
Reproduction Steps
Follow issue https://github.com/Azure/azure-sdk-for-net/issues/28577 by adding .NET 6 to the projects, then dotnet build -c Release (or debug) and notice hundreds of compile errors.
Environment
.NET SDK:
 Version:   7.0.100-preview.5.22229.2
 Commit:    937d0c970e

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22000
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\7.0.100-preview.5.22229.2\

global.json file:
  Not found

Host:
  Version:      7.0.0-preview.5.22226.6
  Architecture: x64
  Commit:       c10154087e

.NET SDKs installed:
  3.1.419 [C:\Program Files\dotnet\sdk]
  5.0.407 [C:\Program Files\dotnet\sdk]
  5.0.408 [C:\Program Files\dotnet\sdk]
  6.0.105 [C:\Program Files\dotnet\sdk]
  6.0.203 [C:\Program Files\dotnet\sdk]
  6.0.300 [C:\Program Files\dotnet\sdk]
  7.0.100-preview.5.22229.2 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Elskom.Sdk.App 6.0.0-preview.58.1 [C:\Program Files\dotnet\shared\Elskom.Sdk.App]
  Microsoft.AspNetCore.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.0-preview.5.22228.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0-preview.5.22226.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.0-preview.5.22228.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Download .NET:
  https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
  https://aka.ms/dotnet/runtimes-sdk-info

Visual Studio 2022 17.3 preview 1

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Storage:0.3081295,Service Bus:0.07427041,Extensions:0.069169946'

Thanks, @AraHaan, for assisting with #28577.   Determining what the right course of action is for resolving these errors is something that would fall under the scope of that issue and we believe it would make sense to track your findings there.   Since you were kind enough to update that issue as well, I'm going to close this one out.


Any solutions to viewing the full table on mobile browsers?

Right now we can't view the full table on mobile browsers.
Actually the table gets cut off since we cannot scroll left to view the remaining table content.
Any ideas/solutions to this?

I know this post was over a year ago, but the way to solve this issue is to set a media query. In the regular view, in order to keep appearances, the table is set to have a nowrap. In mobile view, once you remove it, the table can become responsive.
Add this to your custom css:
@media only screen and (max-width: 768px) {
table.flakes-table td {
white-space: normal;
}
}

Wow thanks a lot for answering this.
It does fix the issue somehow.


Role model definition

Closes: #1063
What's Changed

Role model and further related classes that are pertinent to Role models were created.
This PR only focuses on how role models would look like; If accepted, a different PR would be made that incorporates the role into the necessary models.
TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

PR Milestones:

[x] Create Role model
[x] API view for role model, this PR would include: filterform, serializers, ViewSet and URLs -> PR
[x] UI view for role model - CRUD operations -> PR
[x] Add data migrations for roles i.e In IPAddress, there are several default roles that should be introduced automatically. and obtain existing roles in all apps -> PR
[x] Add/update role fields to these models: Racks, Device, VirtualMachine, prefix, vlan, ipaddress
[x] Remove outdated code and Models that was rendered obsolete by the implementation of a role model.
[x] Add testcases
[ ] Add documentation

Also, I've moved most of the classes and functions relevant to roles to core; those that haven't been moved generated partial import issues, therefore they haven't been transferred to core.

Also, I've moved most of the classes and functions relevant to roles to core; those that haven't been moved generated partial import issues, therefore they haven't been transferred to core.

At a quick glance, I'm not sure having this feature partly in core and partly in extras is an improvement. Makes it just that much less intuitive to find things. (nested serializer in core, but non-nested serializer in extras? filterset and forms in core, but views in extras?)

Also, I've moved most of the classes and functions relevant to roles to core; those that haven't been moved generated partial import issues, therefore they haven't been transferred to core.

At a quick glance, I'm not sure having this feature partly in core and partly in extras is an improvement. Makes it just that much less intuitive to find things. (nested serializer in core, but non-nested serializer in extras? filterset and forms in core, but views in extras?)

It was my request to not add additional models into extras if we could avoid it. I'd like to see us try to keep it in core and see how non-ideal the imports need to be to be able to do that. At least until we can do #2722 maybe we can draw the line at no new ones.

Also, I've moved most of the classes and functions relevant to roles to core; those that haven't been moved generated partial import issues, therefore they haven't been transferred to core.

At a quick glance, I'm not sure having this feature partly in core and partly in extras is an improvement. Makes it just that much less intuitive to find things. (nested serializer in core, but non-nested serializer in extras? filterset and forms in core, but views in extras?)

It was my request to not add additional models into extras if we could avoid it. I'd like to see us try to keep it in core and see how non-ideal the imports need to be to be able to do that. At least until we can do #2722 maybe we can draw the line at no new ones.

Understood - but in my opinion this partial implementation in core and partial in extras is worse than just adding it in extras for the time being.


minimum version and non-semantic versioning (netCDF4)

We currently pin netCDF4 to version 1.5. However, I think netCDF4 does not really follow semantic versioning, e.g. python 2 support was dropped in version 1.5.6. So they may actually be doing something like 1.major.minor[.patch] - I asked about their versioning scheme in Unidata/netcdf4-python#1090.
So I wonder if we would need to pin netCDF to version to version 1.5.4.

1.major.minor sounds about right.

See https://github.com/Unidata/netcdf4-python/issues/1090#issuecomment-787212361
Notes

Currently netcdf4=1.5 is required which would imply version 1.5.6. However, due to #4491 version 1.5.3 is currently tested in ubuntu-latest py37-min-all-deps.
ci/min_deps_check.py is written for the format major.minor.patch so this is currently not written for this scenario