Implement exec on Directories

As discussed in issue #769. This is still a work in progress.
Todos:

[ ] Write tests
[ ] Implement in plugins other than docker.
[ ] Add option to enable in volume.NewFS?
[x] Update entrySchema on execDir.

That looks pretty straightforward, although it looks like some test mocking needs to be tweaked.

 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.


plot_neighborhood_cluster_result has multiple colors per cell

Please refer to our FAQ and look at our known issues before opening a bug report.
Describe the bug
This function should assign each cell a unique color. However, upon closer inspection, it's clear that many cells are getting assigned multiple colors, but only at the borders. From a distance it's not clear, but a zoom in highlights the problem.

This is after running the neighborhood analysis notebook, specifically this cell:
# load the masks in and plot them
for fov in subset_neighborhood_fovs:
    neighborhood_mask = load_utils.load_imgs_from_dir(
        data_dir=overlay_out_dir,
        files=[fov + "_neighborhood_mask.tiff"],
        trim_suffix="_neighborhood_mask",
        match_substring="_neighborhood_mask",
        xr_dim_name="neighborhood_mask",
        xr_channel_names=None,
    )

    plot_utils.plot_neighborhood_cluster_result(neighborhood_mask, [fov], k=k, save_dir=overlay_out_dir)

It was an issue with plt.imshow() using a custom defined ListedColormap for int values instead of a colormap along a range. By default, imshow uses interpolation='antialiased' for boundary points. We can fix this by setting that arg to 'none'.


安装依赖时报错，求教

如何操作导致的
WARN node unsupported<EMAIL_ADDRESS>is incompatible with<EMAIL_ADDRESS>› umi-build-d<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>expected node@>= 6.9
WARN node unsupported<EMAIL_ADDRESS>is incompatible with<EMAIL_ADDRESS>› umi-build-d<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>expected<EMAIL_ADDRESS>platform unsupported<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>› cpx@1                    .5.0 ›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>Package require os(darwin) not compatibl                    e with your platform(win32)
<EMAIL_ADDRESS>optional install error: Package require os(darwin) not compati                    ble with your platform(win32)
Love Preact? You can now donate to our open collective:

https://opencollective.com/preact/donate
peerDependencies link<EMAIL_ADDRESS>in D:\学习demo\antd-admin\node_modules_ajv-keyw                    ords@2.1.1@ajv-keywords unmet with D:\学习demo\antd-admin\node_modules\ajv(6.5.0                    )
peerDependencies WARNING<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>re                    quires a peer of<EMAIL_ADDRESS>|| ^22.1.0-alpha.1 || ^23.0.0-alpha.1 but none was                     installed
peerDependencies WARNING<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>requires a peer of react-native@* but none wa                    s installed
peerDependencies WARNING<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>requires a peer of react-native@* but none was                     installed
peerDependencies WARNING<EMAIL_ADDRESS>requires a peer of eslint-plug<EMAIL_ADDRESS>but<EMAIL_ADDRESS>was installed
peerDependencies WARNING<EMAIL_ADDRESS>›<EMAIL_ADDRESS>                   0 requires a peer of<EMAIL_ADDRESS>but<EMAIL_ADDRESS>was installed
peerDependencies WARNING<EMAIL_ADDRESS>›<EMAIL_ADDRESS>› @babel/plugin-prop<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>b                    ut<EMAIL_ADDRESS>was installed
peerDependencies WARNING<EMAIL_ADDRESS>›<EMAIL_ADDRESS>› @babel/plugin-prop<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>                   but<EMAIL_ADDRESS>was installed
peerDependencies WARNING<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>› @babel/plugin-syntax-dynamic-impor<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but @babel/core@7.                    0.0-beta.46 was installed
peerDependencies WARNING<EMAIL_ADDRESS>›<EMAIL_ADDRESS>› @babel/plugin-prop<EMAIL_ADDRESS>›<EMAIL_ADDRESS>                  -beta.32 requires a peer of<EMAIL_ADDRESS>but<EMAIL_ADDRESS>                  .46 was installed
peerDependencies WARNING<EMAIL_ADDRESS>›<EMAIL_ADDRESS>                   0 requires a peer of<EMAIL_ADDRESS>but eslint-plugin-jsx-a11y@6.                    0.3 was installed
deprecate<EMAIL_ADDRESS>this package has been deprecated, just imp                    ort modules from the highcharts folder
deprecate<EMAIL_ADDRESS>this package has been deprecated, just import m                    odules from the highcharts folder
deprecate<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>                   ›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>Package no longer supported. Contact support@np                    mjs.com for more info.
Recently updated (since 2018-05-24): 37 packages (detail see file D:\学习demo\an                    td-admin\node_modules.recently_updates.txt)
Today:
→<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>› istanb                    ul-lib-source-maps@^1.2.4(1.2.5) (08:37:46)
→<EMAIL_ADDRESS>›<EMAIL_ADDRESS>› typescript@^2.8.1(2.8.4) (04:03:54)

optional install error: Package require os(darwin) not compati ble with your platform(win32)
windows平台，建议升级nodejs，然后使用yarn安装依赖


CMS Plugins dropdown appears empty

Hi,
I'm using  Django==1.6.8, djangocms==3.0.7 and djangocms-text-ckeditor==2.4.3. When open the CK Editor, I see CMS Plugin dropdown as always, but when click on them, the options list appears empty, as show in the picture below.

In settings I have included the following configuration.
CMS_PLACEHOLDER_CONF = {
    'articulo_contenido_1': {
        'plugins': ['TextPlugin', 'PicturePlugin'],
        'text_only_plugins': ['LinkPlugin'],
        'extra_context': {"width":640},
        'name': gettext("Content"),
        'language_fallback': True,
        'default_plugins': [
            {
                'plugin_type': 'TextPlugin',
                'values': {
                    'body':'
Lorem ipsum dolor sit amet...
',
                },
            },
        ],
        'child_classes': {
            'TextPlugin': ['PicturePlugin', 'LinkPlugin'],
        },
        'parent_classes': {
            'LinkPlugin': ['TextPlugin'],
        },
    },
}

When I comment the CMS_PLACEHOLDER_CONF, all plugins appears in the dropdown normally. I think there is no typo error in this setting. Do you see anything wrong?

Downgrade to version 2.3.0 makes that the plugin dropdown works again.

Can't reproduce on the standard django CMS project or a custom project by copy/pasting the above placeholder configuration
@mkoistinen @evildmp @ojii could you give this a try?

Same thing here, downgrading to 2.3.0 brought back the plugin dropdown.

@yakky to reproduce this user has to be staff and not superuser.

Also after downgrading to 2.3.0. all plugins are shown - CMS_PLACEHOLDER_CONF plugins is not respected.

@darbula could you test latest master with django CMS 3.0.12? I still can't reproduce using a staff user with all permission (CMS_PERMISSION on and off) and the above CMS_PLACEHOLDER_CONF

Everything is fine, the mistake was in my CMS_PLACEHOLDER_CONF I did not realize that "plugin" is the primary plugin filter for placeholder i.e. that every plugin has to be listed there or in "text_only_plugins", that is, I thought that listing plugins in "child_classes" was enough to let them be selected in TextPlugin. Additionally "text_only_plugins" was not used (it seems deprecated because "parent_classes" can be used to restrict plugins as a child of TextPlugin) and all this was enough to make confusion. Reading again documentation it all seems clear and precise but my initial understanding was different and then I saw this issue and taught this must be it. On the other hand, @8ksoft configuration seems fine, he did not have same configuration mistakes thus the issue should probably left open.

@darbula thanks for your feedback
@8ksoft could you retest this on latest master / django CMS 3.0.12?

Sorry for my late feedback. I can confirm that the problem persist with django-cms 3.0.14 and djangocms-text-ckeditor==2.4.3. Maybe some problem with my environment (I have a lot of apps installed, including djangocms-ckeditor-filer). I will try this with a clean environment and share my feedback.

Downgrading djangocms-text-ckeditor from 2.4.3 to 2.3.0 all plugins are shown.
My environment:
django==1.6.11
django-cms>3.0,<3.1
djangocms-text-ckeditor==2.3.0

I still experience this issue with django-cms==3.1.4 I tried djangocms-text-ckeditor with versions 2.3.0, 2.5.2, 2.7.0 but changing version does not solve the problem.


support for unicode characters

I'm trying to migrate my iTunes library error and I've noticed this error:
(env) C:\Users\sterl\Desktop\itunes-navidrome-migration-master>itunestoND.py

This script will migrate certain data from your ITunes library to your Navidrome database.
Back up all your data in case it doesn't work properly on your setup. NO WARRANTIES. NO PROMISES.
The script will DELETE existing data you have in your Navidrome database so it can start "fresh".

Type PROCEED to continue, or Q to quit: PROCEED
Enter the path to the Navidrome database: C:\Users\sterl\Desktop\itunes-navidrome-migration-master\navidrome.db
Enter the path to the Itunes database: C:\Users\sterl\Desktop\itunes-navidrome-migration-master\Library.xml

Parsing Itunes library. This may take a while.
Traceback (most recent call last):
  File "C:\Users\sterl\Desktop\itunes-navidrome-migration-master\itunestoND.py", line 82, in <module>
    with open(itdb_path, 'r') as f: soup = BeautifulSoup(f, 'lxml-xml')
  File "C:\Users\sterl\Desktop\itunes-navidrome-migration-master\env\lib\site-packages\bs4\__init__.py", line 312, in __init__
    markup = markup.read()
  File "C:\Users\sterl\AppData\Local\Programs\Python\Python38\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 129421: character maps to <undefined>

Which seems like the issue can be fixed by adding the encoding="utf8" flag to the open statement that opens the Library.xml file on line 82, in my case, I have a lot of songs in my library using unicode characters (typically Japanese ones) in a lot of fields, after parsing the Library.xml with the utf8 encoding, the results in the navidrome.db aren't as expected:

the play count for all of the songs are still 0, and the date added field are all the the same, not the ones indicated in the iTunes library
my guess is that there's some mismatch with the unicode characters in the Library.xml and the navidrome.db but I'm not too sure
these two fields are the most important to me so any help here would be great

Thanks for the comments. I did some quick checking and it seems you're right that unless you specify UTF-8 encoding, you can run into problems such as that in Windows. So it looks like you solved problem # 1. I didn't know about that issue, so I'll update the script for that.
As for the Oriental characters...
The script correlates the songs between the two DBs by comparing their file paths. So it makes sense if the paths are different by virtue of their encoding, then nothing will get written to the Navidrome db because the path is "different."
Itunes uses URL encoding for the filepaths, which need to be decoded to match the format that ND uses. See lines 84 and 118 in the script for where that happens. I have some Spanish songs in my library, but no Japanese ones to test on, so if I were you, I would look at how the unquote command operates on such characters.
Example from my own Itunes library with some Spanish characters:
>>> unquote('Qu%C3%A9%20Paso_/02%20Viente%20A%C3%B1os.mp3')  #input
'Qué Paso_/02 Viente Años.mp3'   # result

So I'd suggest using the unquote command on a troublesome song title, and compare that to how the same title is actually represented in the ND database. Sqlite Browser is a good program for exploring the ND database. Open a copy of your ND database with that, and look in the "media_file" table's path column to see how Navidrome represents the file path.
I don't have a Windows computer or  Japanese titles to easily test this, but if you or someone else can figure it out please let us know, or make a pull request or however this works.
I'm only at an intermediate lever in Python, and this is the only script I've written that other people seem interested in, so this is all sort of new to me!

Coming back to this after a while since I've had time, I realized it was just a mistake on my end with the particular way I had my iTunes music folder organized.
The line it_root_music_path = unquote(soup.find('key', text='Music Folder').next_sibling.text) Went to find my iTunes music folder in the /iTunes/iTunes Music/ subfolder, but I had forgotten I stored my iTunes media in a different folder.
Changing the it_root_music_path to the correct one solved this issue for me


Will this module support Multitenancy?

Sure, it was designed to support multi-tenant, but it seems the CreateNotificationEto is missing the IMultiTenant.
I will fix it.


Crash Release Android x86

This bug is reproducible when you generate the app using in release mode and you open it in an x86 or arm32 emulator
If you are having issues opening an app on your x86 or arm32 emulator, you may be seeing the following error message: "{AppName} consistently crashes". This may be caused by the fact that Flutter does not support x86 files, as mentioned in this link: https://docs.flutter.dev/deployment/android#what-are-the-supported-target-architectures. According to the documentation, Flutter currently does not offer support for generating x86 files for Android (see Issue 9253).
This can be a particularly problematic when you are trying to use packages that depend on resources such as the camera or MLKit. To resolve this issue, you can edit the 'build.grandle' file in the 'app' folder and add the following lines to prevent the generation of x86 files:
   defaultConfig {
        ndk {
            abiFilters 'armeabi-v7a','arm64-v8a','x86_64'
        }
    }

This should help resolve the issue and allow you to open the app on the emulator without errors. It is important to remember that Flutter currently only supports the armeabi-v7a (ARM 32-bit), arm64-v8a (ARM 64-bit), and x86-64 (x86 64-bit) target architectures. Therefore, when editing the 'build.grandle' file, it is important to ensure that you are only including these architectures.

Hello @rod-moraes. Are you raising an issue here or providing information to other developers facing an issue? If the latter, I do not think Guthub issues are the best place for this. Github issues are meant for raising bugs or requesting features. If this "bug" you're mentioning already has a fix, then it cannot be considered a bug and would make this issue invalid. Please clarify on this

Well, I don't know about you, but I investigate certain problems in Github issues, since they are very specific things, even if there is a stackoverflow, I still think that the github of the language is a good place to keep a history of problems x solutions. See the issue where it talks about x86 architecture support

There are communities you can find on https://flutter.Dev/community where this might be more valid to post on


Updated robopod

Hi, ive updated facebook robopod to 4.39.0, would be great if you could check if it works. No api changes. Sadly there are no snapshots right now.

@TomGrill
MobiVM/robovm-robopods#64
obigu merged commit f99c16e into MobiVM:master on Feb 12


Add mlflow callback for pushing config to mlflow artifacts

Adding a callback to push the axolotl config to mlflow artifacts. Similare setup as exists for wandb already.

Sure wil add it!


DeprecationWarning: The 'punycode' module is deprecated. Please use a userland alternative instead.

Problem
With the release of Node.js version 21, the internal punycode API has been deprecated. More details on this can be found here: Node.js Punycode API Documentation.
From our stack trace analysis, the tr46 package seems to be the root cause of this issue. This project currently relies on the whatwg-url package, which in turn depends on tr46.
The latest versions of whatwg-url (currently at v13.0.0) and tr46 (currently at v4.1.1) have addressed this deprecation notice. However, our project is currently using an older version of whatwg-url (v11.0.0), which does not include these updates.
Stacktrace

DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
at node:punycode:3:9
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:392:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:328:10)
at loadBuiltinModule (node:internal/modules/helpers:101:7)
at Function.Module._load (node:internal/modules/cjs/loader:1001:17)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object. (/usr/src/app/node_modules/mongodb-connection-string-url/node_modules/tr46/index.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1435:10)

Solution
To resolve this, I have created a Pull Request to update the whatwg-url package to its latest version. This update is crucial to ensure compatibility with Node.js v21 and to avoid potential issues related to the deprecated punycode API.
Please review the changes proposed in the Pull Request and consider merging it to maintain the project's compatibility with the latest Node.js standards.
Thank you!

Just linking https://jira.mongodb.org/browse/NODE-5709 as the ticket where we track this in our company JIRA instance.

Great @addaleax ! Is there anything I can do to speed things up?

@AaronActu Done, and released in 3.0.0! (Unfortunately, whatwg-url bumped its minimum Node.js version to 16, so we're just matching that after this bump)

@AaronActu Done, and released in 3.0.0! (Unfortunately, whatwg-url bumped its minimum Node.js version to 16, so we're just matching that after this bump)

sorry but i'm a little confused , is there a fix for this as of yet? i checked whatwg-url and the minimum node.js version is now 18 if that helps anything. thanks in advanced!!

Hi! I'm using node v21.7.3 with whatwg-url v13.0.0 and tr46 v4.1.1 but I still get the DeprecationWarning – is this the right place to ask why?

@leta-krahenbuhl That's hard to tell, but you'll probably want to run your code with node --trace-deprecation ... and then share the full stack trace for the deprecation warning in question

(@addaleax I was about to comment but I forgot how fast you were ⚡)
@leta-krahenbuhl It could be related to the package that has mongodb-connection-string-url in its dependencies. If it doesn't depend, at least on the v3.0.0 of that package, that might explain why you're still getting this error.
(cc: @hdlslm )


Implementation of encoding/decoding using closure

When inputting and outputting audio files, data exchange using closures is most suitable.
I get a slightly meaningful error when writing with the #write method.
Passing PCM classes with different frequencies/sizes in an array throws a semantic error similar to the following:
"Exporting each channel's the different ### is not supported yet"
Yet... What "yet"?
SLAKE (Takehiko Fujii) told me "to create a sampler", so I created a routine like the one below using closures.
def audioclient(vector)
  enum = vector.enum_for(:each)
  ->{
    loop do
      return enum.next
    end
    return 0.0
  }
end

def main
  vector1 = Array.new(10){(rand-0.5)*2}
  vector2 = Array.new(16){(rand-0.5)*2}
  mixer = Array.new(2)
  mixer[0] = audioclient(vector1)
  mixer[1] = audioclient(vector2)

  20.times do |i|
    p mixer.map {|client| client.call}
  end
end

main
#=> [0.7064661083886434, 0.23767742860663676]
#=> [0.5140081469621989, 0.0036619062193694596]
#=> [0.7669447107229099, 0.02087963281521188]
#=> [0.5435803866259479, 0.25614368496310047]
#=> [-0.1809655254470417, -0.47441357158825026]
#=> [0.7287987755911116, 0.5043952533538847]
#=> [0.7199471888482307, 0.20250054163877262]
#=> [0.9682745621889539, 0.43646251680091575]
#=> [0.2392610947310838, -0.28959053164321746]
#=> [-0.8333190777778108, 0.2844694929932423]
#=> [0.0, -0.9408717058272795]
#=> [0.0, 0.9596422576110293]
#=> [0.0, -0.9616840221855663]
#=> [0.0, 0.08033563493342855]
#=> [0.0, 0.4387505915598844]
#=> [0.0, 0.38115140609540377]
#=> [0.0, 0.0]
#=> [0.0, 0.0]
#=> [0.0, 0.0]
#=> [0.0, 0.0]

Have you ever noticed that an array of audio data keeps creating 0.0 forever even when it reaches the end?
Yes, just write this in C.

This is an example implementation in C.
/* Lexical Environment */
typedef struct {
	long pos;
	long len;
} snd_env;

/* Queries the pointer position */
long
ptr_idx(snd_env *env)
{
	if (env->pos >= env->len)  return -1; // Notify '-1' if the number of arrays more
	return env->pos++;
}

/* Closure */
typedef struct {
	snd_env env;;
	long (*lambda)(snd_env *);
} snd_closure;

/* Instance */
snd_closure snd_broker(long len)
{
	snd_closure c;
	c.env.pos = 0;
	c.env.len = len;
	c.lambda = ptr_idx;
	return c;
}

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int
main(void)
{
	size_t size = 16;
	snd_closure c1 = snd_broker((long)size);
	double *s = (double *)malloc(size * sizeof(double));
	for (size_t i = 0; i < size; i++)
	{
		s[i] = 0.1 * sin(2 * M_PI * 500.0 * i / 8000);
	}

	for (long i = 0; i < 20; i++)
	{
		const long index = c1.lambda(&c1.env);
		const double snd = index == -1 ? 0.0 : s[index];
		printf("%02ld % f\n", i, snd);
	}
	free(s);
}

/* Result
00  0.000000
01  0.038268
02  0.070711
03  0.092388
04  0.100000
05  0.092388
06  0.070711
07  0.038268
08  0.000000
09 -0.038268
10 -0.070711
11 -0.092388
12 -0.100000
13 -0.092388
14 -0.070711
15 -0.038268
16  0.000000
17  0.000000
18  0.000000
19  0.000000
*/

I thought Mutex was not necessary.
The functions of these closures will be aggregated into procedures. Since the procedure is for each chunk, a critical section will always occur.
From the perspective of atomicity, it seems like any amount is necessary.
schedule(io) {
  threads << Thread(each_chunk) {
    procedure(methods) {
      Mutex(lock) { read/write }
    }
  }
}


Configure CastleMock Docker on Azure

It isn't possible to use the default CastleMock base directory on Azure given it has a . (dot) before the directory name.
It should be possible to define a different base directory to avoid situations where paths like /{path}/.castlemock are undesirable.
There is a reason to give the main directory this name? Could I open a pull request changing this feature?
Thanks.

Hi @rcouto-cit.
My apologies for the late response.
Unfortunately, I believe it might be quite hard to customize this with the official Docker image. However, the default directory is configurable by overriding the following property: base.file.directory.
Example: --base.file.directory=${user.home}/MyCustomPath

You could provide your own property and configure the directory, but then I believe that you perhaps need to do your own Docker image.
I hope you find this answer helpful.
Best regards,
Karl Dahlgren

@karldahlgren where i can find the file for overriding the property: base.file.directory ?

From sources, take a copy of app\src\main\resources\file-repository.properties and add update file to WEB-INF/classes folder in your expanded castlemock WAR folder

@rcouto-cit was u able to solve this issue ?

Hey @jasmeetsehgal, I don't remember. At that time my team and I was looking for a mocking server. If I'm not mistaken we adopted other solution.


feat(performance tab): Add initial structure for performance tab

Add a perf item for inspected app, create a performance tab, add some basic stylings.
Calculate total time taken per-watcher.
We're finally adding performance back into the mix!  Styling is fairly utilitarian at this point.
TODO:

[ ] Add graph from https://github.com/kentcdodds/ng-stats (thanks, @kentcdodds !)
[ ] Pull out watchers with a time of zero (irrelevant)
[ ] Stats on last N digest cycles
[x] # of watchers in last digest cycle

(I'll be rebasing all these commits down before PR is ready)

Ready for review, will compress to a single commit when everyone's ok with the current state.

 At least there's a lot less code! Good work :+1:

:clap: bravo!

:+1:

LGTM

landed via https://github.com/angular/batarang/commit/f8359a9f410a173397f461a6ffc14c4b52ad2990


Ability to decouple images

If multiple images are uploaded at one time (i.e. using one file dialog), they're "grouped" together under one div rather than appearing as separate uploads. Is there a way to prevent this from happening?

No, right now it's not possible to separate them. If you need this, feel free to create a pull request.


Detectnet training error

Hello,
Why I get this error? (I'm running on CPU)
ERROR: error code 1
Memory required for data:<PHONE_NUMBER>
Creating layer bbox_loss
Creating Layer bbox_loss
bbox_loss <- bboxes-obj-masked-norm
bbox_loss <- bbox-obj-label-norm
bbox_loss -> loss_bbox
Setting up bbox_loss
Top shape: (1)
with loss weight 2
Memory required for data:<PHONE_NUMBER>
Creating layer coverage_loss
Creating Layer coverage_loss
coverage_loss <- coverage_coverage/sig_0_split_0
coverage_loss <- coverage-label_slice-label_4_split_0
coverage_loss -> loss_coverage
Setting up coverage_loss
Top shape: (1)
with loss weight 1
Memory required for data:<PHONE_NUMBER>
Creating layer cluster

This error is at the end of caffe log file:
import cv2 as cv
ImportError: No module named cv2

I have installed the opencv by these dependencies:
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
sudo apt-get install --no-install-recommends libboost-all-dev

I should not get this error.

it seems it got fixed by running this command: sudo apt-get install python-opencv
but I keep this thread open till if the error does not persist. then I gonna close this issue myself.

caffe_output_log.txt
Makefile.config.txt
Hello, I got the similar error when train models:
"Train Caffe Model Error Initialized at 08:32:53 PM (1 second) Running at 08:32:54 PM (1 second) Error at 08:32:55 PM (Total - 2 seconds) ERROR: error code -11 Setting up coverage_loss Top shape: (1) with loss weight 1 Memory required for data:<PHONE_NUMBER> Creating layer cluster "
My Ubuntu 16.04.3 LTS (xenial)
Python: 2.7.12
OpenCV: 3.4.0-dev
Protobuf:3.5.1
Cuda Tool Kit: v9.1
CuDNN: v7.1
Caffe: caffe-0.15(nvcaffe)
My NVIDIA card: GeForce GTX 1070 (8 GB)
I am building an object detection system(vehicle), and I'm using drone images(1280X720, 1920X1080, 4096X2160).
When i create dataset, I set Pad image size as 4096(width) and 2160(height).
Also I set resize image size as 1280(width) and 720(height).
I will attach my Makefile.config, caffe log and some other files.
Currently I'm trying to install digits object recognition system with my models, but I'm failed every time over about 20 times with various errors.
I would like to get working as soon as possible.
Thank you
Ed

I have the same question. Can you give me some way to fix the problem.
Thanks you.


[WIP]: Resolved #147: Add Server state and related API.

Add ServerContext
Add init_server_state and get_server_state
Add server_state parameter when initialize application.layer instance.
Update unittest.
Some code cleanup.

@chhsiao90  Help me review thanks.

I will update unittest for server state later.

Coverage decreased (-0.3%) to 79.241% when pulling 69ccc04c22a09e4e795bb92a0264a7d102c87819 on server-state-#147 into 6ea6b13ebe586ea9268971d0f620ad6e6e5b3105 on master.

Great work! LGTM~
Had some suggestion about the global state of server_state. (Global state is hard to maintain!)
How I think to remove the global state of server_state

Remove the global state in server_state.py (init_server_state just return ServerContext, don't keep the instance) CodeReference
Init server_state instance and pass ServerContext to ProxyServer in proxy.py as its initialize field CodeReference
Call run_layers with the server_state instance in ProxyServer CodeReference

And the layer_manager in ProxyServer I think we could remove self.layer_manager = layer_manager in __init__ method.
Because layer_manager had changed from object to a module, it's not object anymore, so I think there is no need to assign it to ProxyServer as its field.
How do you think :)

Coverage decreased (-2.4%) to 77.06% when pulling 464a96000973502484782cfc71ec931aa7fff632 on server-state-#147 into 6ea6b13ebe586ea9268971d0f620ad6e6e5b3105 on master.

@chhsiao90 I have modified the code based on the previous review.

Thanks.
You have used the new github feature. XD

Yeah, it's cool~ XD

There is no reject options, so sad...

Coverage increased (+0.4%) to 79.858% when pulling 6ee31163c05eee3f5cff8f1c2d8b1d3fbb3420d9 on server-state-#147 into 6ea6b13ebe586ea9268971d0f620ad6e6e5b3105 on master.

Don't reject me\ QAQ/


waydroid issue

OS: Arch Linux x86_64
Kernel: 6.1.9-zen1-1-zen
GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q
GPU: Intel Alder Lake-P
After update waydroid gui doesn't start.
❯ cat /var/lib/waydroid/waydroid.log
(246255) [18:46:53] session manager stopped, stopping container and waiting...
(246255) [18:46:53] % lxc-stop -P /var/lib/waydroid/lxc -n waydroid -k
lxc-start: waydroid: ../src/lxc/conf.c: run_buffer: 322 Script exited with status 126
lxc-start: waydroid: ../src/lxc/start.c: lxc_end: 985 Failed to run lxc.hook.post-stop for container "waydroid"
(246255) [18:46:55] % /usr/lib/waydroid/data/scripts/waydroid-net.sh stop vnic is waydroid0
(246255) [18:46:55] % umount /var/lib/waydroid/rootfs/vendor/waydroid.prop
(246255) [18:46:55] % umount /var/lib/waydroid/rootfs/vendor
(246255) [18:46:55] % umount /var/lib/waydroid/rootfs
(246255) [18:46:55] % umount /var/lib/waydroid/data
(246255) [18:46:55] % modprobe -q ashmem_linux
(246255) [18:46:55] % chmod 666 -R /dev/anbox-binder
(246255) [18:46:55] % chmod 666 -R /dev/anbox-vndbinder
(246255) [18:46:55] % chmod 666 -R /dev/anbox-hwbinder
(246255) [18:46:55] Container manager is waiting for session to load

It seems to start, i hear system sounds, but nothing appears on the screen.
On gnome it works.

After update waydroid gui doesn't start.

please do a git bisect on hyprland to narrow down the faulty commit. If reverting to hyprland from before your update does not fix the issue, it's not my fault

Seems like multi-window mode doesn't work on Hyprland. After I run  waydroid prop set persist.waydroid.multi_windows false waydroid window can be displayed

Seems like multi-window mode doesn't work on Hyprland. After I run  waydroid prop set persist.waydroid.multi_windows false waydroid window can be displayed

That was exactly the problem.
However some time ago it worked also in window. I tried different versions of hyprland and wlroots but got nothing.
Thanks ayasa.


pino-noir hangs the server (redacting req.headers)

Tried to use pino-noir in the following way:
  opts.serializers = noir([
    'created',
    'req.headers.authorization'
  ], '[Redacted]')

Server hangs.
Note that the created property is redacted on the server start event and the bug seems to kick in when having to deal with the request headers.

Is this with Hapi? I've tried to redact req.headers.cookie which seems to modify the actual outgoing request object, crashing Hapi.

Can you please provide an example to reproduce the issue?

@mcollina see https://github.com/novemberborn/_pino-noir-hapi-repro.
I think there the issues are unrelated. The example given for Hapi causes seemingly infinite log output (probably a circular recursion problem). Uncomment https://github.com/novemberborn/_pino-noir-hapi-repro/blob/b0a40659bb2e4a3046095690d88f9c30cfbda3a9/index.js#L42 to see.
Redacting cookies is tricky because asReqValue needs to be copied out of hapi-pino. But then if the cookie is present, it actually crashes Hapi. See: https://github.com/novemberborn/_pino-noir-hapi-repro/blob/b0a40659bb2e4a3046095690d88f9c30cfbda3a9/index.js#L46:L48
Clone the repo, run npm install, and then node index.js. It should start a server at http://localhost:8000/hello.

ok here's the problem (thanks @novemberborn for the example)

the server.ext('onRequest') hook creates a child logger of the request object as ({req: request})
the request object is passed to this.serializers which hits pino-noir,
pino-noir runs the asReqValue serializer to get the req object (btw, we should be able to grab this from hapi-pino instead of rewriting it, if not hapi-pino should expose it I think)
the req object is then processed for redactions, req.headers.cookie is converted to a Redacted placeholder instance - important to note here that Redacted objects retain a reference to the parent object - hence.. a circular reference
the req object is then passed to this.stringify in pino - which is fast-safe-stringify - the point of fast-safe-stringify is to work around circular references (maybe we can see where this is going)
pino-noir sets the forceDecirc flag on the toJSON function of the Redacted instance  (https://github.com/davidmarkclements/fast-safe-stringify/pull/17) - this is to ensure that the original object (pre-redaction) is scoped out for circular references by fast-safe-stringify
however, the unintended side effect is that this checks the parent property as a circular  - and since at this moment req.headers.cookie.parent === req.headers it marks it as a circular reference, replacing the parent key with a Circular placeholder instance , and the val is set to the Redacted placeholder instance
when the object is stringified, the toJSON of the Circular.prototype replaces the parent with the value (as usual) - however the because the value is now Redacted instance instead of the cookie string we've left the wrong value on the object
later on Hapi tries to use the replace method on cookies (which is header.cookie) expecting it to be a string, and it isn't a string - server crashes.

This is going to be a tricky fix, but here's what I reckon is best for minimum impact

add another flag , forceDecircOnSingleKey (better names welcome)
check parent.toJSON.forceDecircOnSingleKey === k about... here https://github.com/davidmarkclements/fast-safe-stringify/blob/master/index.js#L32
only perform circular check if k matches the key
in pino-noir set Redacted.prototype.toJSON.forceDecircOnSingleKey = 'val'

@mcollina I'd welcome less ugly ideas - bear in mind I still want to keep fast-safe-stringify legacy compatible (including older browsers etc) so using Symbols is out


Feature Request/Question: Accept URL's from Stdin

Hey!
I was about to write my tool then I discovered meg, would it be possible to do something like:
crobat -s dyson.com | httprobe | meg paths - out
Is there support for this with bash-fu or is this something I can PR for?
Thanks!
Keep up the great work :)

Just an update:
I found out a much better way of doing this with concurl:
 crobat -s dyson.com | httprobe | ./add_path.sh | concurl

Where add_path.sh is:
#!/bin/bash

while read line
do
  echo "$line/.env"
done < "${1:-/dev/stdin}"

It's a neat little hack I'll probably turn into a utility somewhere.
Thanks!


Create a User Dashboard.

Create a user profile page layout. It should at least contain the following fields to show the user information: Name, Username, Email, Total soln submitted, Total AC, Total WA, Total TLE, a link to MySubmission page: http://localhost:3000/user/submissions (#41 ).
route: http://localhost:3000/user/profile
ejs file: ./views/profile.ejs
You can look at https://www.codechef.com/users/vishal_nnd0 for reference. Feel free to show your creativity :smiley:

I want to work on this issue

This issue has a dependency which is #2 , you need to complete that one first in order to work on this one, also the issues with good first issue label are preffered for beginners.

Basic layout completed:


Can't open config

I tried updating to the newest version and after running the setup bat, it doesn't show any errors or missing requirements and when I hit a button cmd briefly pops up with the config title but does not display any lines of code before it disappears. I can run the start and it seems to work, but I can't open the config

Do log files generate for the config window? (in the logs folder) Does running config with the debug script give any errors?

Running from Sublime Text I get the following:
ImportError: cannot import name 'utils' from 'utils'
This is after having run the setup bat and reinstalled utils to be safe.

When I run the config file on its own I get the same thing.  When I run the debug script, nothing pops up, no cmd window but I do get the loading icon on my mouse cursor. I'm unsure how to get the logs to generate. I have a few that seem to be generated as a result of running the start script but that is working fine. The program works fine aside from me not being able to launch the config and issues with vlc. It keeps crashing on launch but that's a separate issue

Have you tried updating python? I updated to 3.12.3 and it worked after rerunning the setup script. I think the setup script isn't working with older versions of python anymore.
https://www.python.org/downloads/

I actually got fed up with my pc's boot times because I built it forever ago and just never moved windows over to an ssd so I just reinstalled windows to an ssd and then I had to reinstall basically everything but I think you are correct. I believe python itself was out of date.


Error: impossible to start searched songs

Hi!
Searching for songs, I always get an error when I try to start them.
Here is the log:
# Error Log #
## Error Info ##
Too few arguments to function OhAlfred\OhAlfred::errorify(), 4 passed in /Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AFD28D72-DE4F-4E3A-B5DB-F56F5C0FD9A1/src/citelao/Spotifious/Menus/DetailAlbum.php on line 91 and at least 5 expected
Line 287, /Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AFD28D72-DE4F-4E3A-B5DB-F56F5C0FD9A1/src/citelao/OhAlfred/OhAlfred.php

## Symbols ##
Array
(
    [0] => Array
        (
            [file] => /Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AFD28D72-DE4F-4E3A-B5DB-F56F5C0FD9A1/src/citelao/Spotifious/Menus/DetailAlbum.php
            [line] => 91
            [function] => errorify
            [class] => OhAlfred\OhAlfred
            [type] => ->
            [args] => Array
                (
                    [0] => 8192
                    [1] => Implicit conversion from float 121.12 to int loses precision
                    [2] => /Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AFD28D72-DE4F-4E3A-B5DB-F56F5C0FD9A1/src/citelao/Spotifious/Menus/DetailAlbum.php
                    [3] => 91
                )

        )

    [1] => Array
        (
            [file] => /Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AFD28D72-DE4F-4E3A-B5DB-F56F5C0FD9A1/src/citelao/Spotifious/Menus/DetailAlbum.php
            [line] => 59
            [function] => prettifyTime
            [class] => Spotifious\Menus\DetailAlbum
            [type] => ->
            [args] => Array
                (
                    [0] => 121120
                )

        )

    [2] => Array
        (
            [file] => /Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AFD28D72-DE4F-4E3A-B5DB-F56F5C0FD9A1/src/citelao/Spotifious/Menus/Detail.php
            [line] => 41
            [function] => output
            [class] => Spotifious\Menus\DetailAlbum
            [type] => ->
            [args] => Array
                (
                )

        )

    [3] => Array
        (
            [file] => /Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AFD28D72-DE4F-4E3A-B5DB-F56F5C0FD9A1/src/citelao/Spotifious/Spotifious.php
            [line] => 143
            [function] => output
            [class] => Spotifious\Menus\Detail
            [type] => ->
            [args] => Array
                (
                )

        )

    [4] => Array
        (
            [file] => /Users/myuser/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AFD28D72-DE4F-4E3A-B5DB-F56F5C0FD9A1/main.php
            [line] => 24
            [function] => run
            [class] => Spotifious\Spotifious
            [type] => ->
            [args] => Array
                (
                    [0] => spotify:artist:6XyY86QOPPrYVGvF9ch6wz ⟩ spotify:album:4fy0SXW5G8evBCo2A3kn02 ⟩ numb ⟩⟩
                )

        )

)

Reverting back to v0.0.8 as search seems to be generally broken. Sorry.


Excluding vulnerability CWE-20 {patch}

Excluding CWE-20 as the affected functionality (TAR parsing) is not used in Lowkey Vault.


Works but reduces performance?

This is a strange one - I followed the guide and I can see that it clearly fixed the SMT issue, because I went from seemingly 11 active threads before (that's odd in itself, no?) to 16 active threads on my 5800x afterward. But I've found across the board it dropped performance. I saved the game at a cut scene with the fix installed, steady at 41 FPS. I uninstalled the fix and loaded it back up, and FPS went back up to 52. Any thoughts on this?

Can you try going in config.json and disable all of them and re enable one by one to know which one is causing your issue? This mod needs to be configured sometimes, it's not always the magic fix, every machine is unique so it can't be spot on every time

OK I'll give that a shot! For some context I'm running:
5800x (PBO enabled)
Gigabyte X570 Aorus Wifi
32GB G.Skill 3600 CL16
RTX 3070 FE (+130 mhz core, +900 mhz memory)
game is installed on a PCIE Gen 4 SSD
Before I discovered your GitHub page I had just found instructions to edit the Hex which I did the other night, and found it had the same results I'm getting here.

You could disable amd smt in that case, the other changes should give a boost (sometimes hard to notice).

I'm going to give this some further extended testing. I've found no gains with the only difference being SMT clearly working via HWMonitor's report. And when I reported the FPS drop it seemed to occur after a few minutes rather than immediately, although I'm testing again now with everything enabled and so far haven't seen any drops...hmm...

Oddly enough, I have a 5800X, 32GB RAM, with a 3080 but on Low settings I get like 75fps max, and on Ultra with RT on (with some stuff like motion blur, grain, DOF turned off and some other settings lowered) I also get around 75fps, with the difference being the GPU usage is higher on Ultra.
The hex edit patch, pool config change didn't appear to solve the 75fps cap at Low which was how I was testing these patches cause I assume I should see an improvement there, but sadly did not improve performance for me there. I also tried the patches from this repo (with original exe and verified it was patching correctly in the logs) but it also does not appear to increase performance for me.

@chendo What kind of monitor do you have? It's not 75hz is it? (I'm thinking it might be because of vsync)

Good question, I have an ASUS VG27A 144hz running in G-SYNC mode, at 1440p. Windowed Fullscreen vs Fullscreen appears to make no difference. I have ensured that it's not being capped in settings, and the monitor's info panel is showing variable FPS. I don't have an issue in any other game that I currently play with the 75fps issue. I have also tried setting a max FPS in the game to see if it helps to no avail.
I also tried turning off SMT in the BIOS as well as lowering the number of cores active to 4 physical only, and it made no difference to FPS at Low.

@yamashi - I'm running a 5950x and 3080FE - the SMT patch REDUCES performance on my 5950x by approximately 10%.
I've been reading around, and seen similar results from many AMD users who have dual-CCD CPUs. single-CCD CPUs appear to benefit greatly from the SMT fix, but the higher-end CPUs are not.
I haven't looked too far into your patch just yet - but noticed you list the SMT patch in your list of fixes, and found this ticket to share the feedback on.

I've been reading around, and seen similar results from many AMD users who have dual-CCD CPUs. single-CCD CPUs appear to benefit greatly from the SMT fix, but the higher-end CPUs are not.

Yes I have seen this as well, yet the 5800X only has one CCD so it's not consistent with that hm...

Good spot - I was thinking it was dual-CCD still
On Wed, Dec 16, 2020 at 3:27 AM Chris Yeninas<EMAIL_ADDRESS>wrote:

I've been reading around, and seen similar results from many AMD users who
have dual-CCD CPUs. single-CCD CPUs appear to benefit greatly from the SMT
fix, but the higher-end CPUs are not.
Yes I have seen this as well, yet the 5800X only has one CCD so it's not
consistent with that hm...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yamashi/PerformanceOverhaulCyberpunk/issues/74#issuecomment-745739729,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADSVIW7TB6VNUGBD4PKLE3SVASJFANCNFSM4U5C2I6A
.

It's possibly due to the number of "real" cores (and how fast those cores are) rather than dual-CCD specifically. It might be that 8 strong cores is the minimum, and anything less than that needs SMT enabled.

Considering that effective CPU usage can go up but the actual performance doesn't improve performance makes it feel like a bad spinlock, which is why I thought this patch might fix the issue for me but sadly didn't seem to improve performance at Low

I have an Intel System here and also experiencing 5-10fps lower with the patch. Tried exact same place with patch and without it.
9900K
32GB
RTX 3090

I have an Intel System here and also experiencing 5-10fps lower with the patch. Tried exact same place with patch and without it.

Which patch? The SMT patch shouldn't do anything on an Intel system, it only affects AMD

I have an Intel System here and also experiencing 5-10fps lower with the patch. Tried exact same place with patch and without it.

Which patch? The SMT patch shouldn't do anything on an Intel system, it only affects AMD

The entire patch/mod with all the fixes, copied the files, didn't change global.ini

Good question, I have an ASUS VG27A 144hz running in G-SYNC mode, at 1440p. Windowed Fullscreen vs Fullscreen appears to make no difference. I have ensured that it's not being capped in settings, and the monitor's info panel is showing variable FPS. I don't have an issue in any other game that I currently play with the 75fps issue. I have also tried setting a max FPS in the game to see if it helps to no avail.
I also tried turning off SMT in the BIOS as well as lowering the number of cores active to 4 physical only, and it made no difference to FPS at Low.
Measuring FPS is via MSI Afterburner and Nvidia's built in one.
When I'm in menus, I get ~105fps (but obviously not useful)

I have a similar issue - out of curiosity, what motherboard are you running?

I have an Intel System here and also experiencing 5-10fps lower with the patch. Tried exact same place with patch and without it.

Which patch? The SMT patch shouldn't do anything on an Intel system, it only affects AMD

The entire patch/mod with all the fixes, copied the files, didn't change global.ini

I'm experiencing a 5-10 FPS drop as well with the mod installed, also on a 9900k. I tried turning on and off some of the settings in the mod config, like spectre fix and AVX fix(which the log said wasn't installed). Deleting the whole mod did not fix it, it's like the mod changed something that stuck.

I have an Intel System here and also experiencing 5-10fps lower with the patch. Tried exact same place with patch and without it.

Which patch? The SMT patch shouldn't do anything on an Intel system, it only affects AMD

The entire patch/mod with all the fixes, copied the files, didn't change global.ini

I'm experiencing a 5-10 FPS drop as well with the mod installed, also on a 9900k. I tried turning on and off some of the settings in the mod config, like spectre fix and AVX fix(which the log said wasn't installed). Deleting the whole mod did not fix it, it's like the mod changed something that stuck.

I deleted the mod and it went back to normal, compared it with a YT video benchmarking the game with a 3090. I can try future updates of the mod and see if it improves, but right now it makes it worse for me.

The mod does a lot of things, it's the user's responsibility to tweak the mod settings to get the best out of the mod.

I have a similar issue - out of curiosity, what motherboard are you running?

@Mikecom32 ASUS ROG B550-I, you?

Okay, it looks like my issue and potentially other people's issues is to do with ASUS' AI Suite 3 software. I tried to purge AI Suite 3 manually but it was an in-place reinstall of Windows 10 that resolved the issue for me. I'm able to get 144fps (monitor limit) at Low @ 1440p, and overall performance at my regular settings increased by ~10fps, and frametimes feels a lot smoother.
Post in question: https://forums.cdprojektred.com/index.php?threads/cant-get-over-60-65-fps-no-matter-what-resolution-or-settings-on-pc.11043734/page-10#post-12392714

@chendo ASUS ROG X570-I here. I found the same thread yesterday and ended up removing AI Suite 3 and doing an in-place reinstall, which fixed the issue. I'm now regularly getting 100 fps at near ultra settings with raytracing. Glad you had the same experience.
@yamashi - Sorry for the ping, but it might be worth adding something about this issue in an FAQ or checking for the presence of the ASUS AI Suite 3 software and kicking a warning in the logs. This seems to be fairly wide-spread for anyone running AI Suite 3 with a modern ASUS board. Happy to do a PR for the former, but my C++ is too weak to do the latter.

@chendo ASUS ROG X570-I here. I found the same thread yesterday and ended up removing AI Suite 3 and doing an in-place reinstall, which fixed the issue. I'm now regularly getting 100 fps at near ultra settings with raytracing. Glad you had the same experience.
@yamashi - Sorry for the ping, but it might be worth adding something about this issue in an FAQ or checking for the presence of the ASUS AI Suite 3 software and kicking a warning in the logs. This seems to be fairly wide-spread for anyone running AI Suite 3 with a modern ASUS board. Happy to do a PR for the former, but my C++ is too weak to do the latter.

100fps, 1440p, Ultra settings, RTX all on and Ultra lighting? No DLSS?


Update opentelemetry-go and drop registry link-check ignore rule

Brings in #3638, and no other doc changes
Contributes to #2202

/cc @open-telemetry/go-instrumentation-approvers @svrnm

/cc @open-telemetry/go-maintainers


Handle/Test multiviews more robustly

fixes #36
updates setup-miniconda
resolve env (new importnb)

So now that transform exists, and has identified bugs, should we drop the hypothesis hammer on it?

:fire:


Add quantitle regression mode to AutoGluon-based TabularEstimator

Issue #, if available:
Autogluon has quantile method
Description of changes:

add quantile parameters to TabularEstimator to allow user to decide use quantile prediction model or not and assign the quantile value to training process
update TabularPredictor to fit quantile prediction output
add quantile_example.py because the forecast visualization is different from non-quantile prediction.
changed model exclude because RF is required for quantile prediction

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

There is a test for this class here:
https://github.com/awslabs/gluon-ts/blob/663268032cfde371a88dd5fd177911f2a3949852/test/nursery/test_autogluon_tabular.py#L216
Maybe you could expand it to cover the behavior introduced in this PR?

I tried to quantile test case with existing test data. autogluon quantile method can't train a model with the existing test data. The quantile method failed with existing data but it succeed with electricity dataset. I'll add the test case if I find out a suitable sample data for quantile method later.

Hey @jindingars I pushed some final changes and made sure that the example runs. I think this can be merged now, and then we can figure out how to add proper tests: the existing one would need to run for much longer in order to work for quantile regression as well, so I didn't add it yet. But the example runs fine! Thanks for this!


TextField not displaying in Layer2D

In the program I am writing...
With the following piece of code, the label is displayed.
Label tf
tf:SetText("This is me")
tf:SetPosition(40,500)
tf:SetSize(500, 30)
tf:SetFontColor(color:White())
controlLayer:Add(tf)
When I switch the Label to a TextField as in the following code, the TextField is not displayed.
TextField tf
tf:SetText("This is me")
tf:SetPosition(40,500)
tf:SetSize(500, 30)
tf:SetFontColor(color:White())
controlLayer:Add(tf)
And when I instead add the TextField not to controlLayer as in the following code , the Textfield is displayed.
TextField tf
tf:SetText("This is me")
tf:SetPosition(40,500)
tf:SetSize(500, 30)
tf:SetFontColor(color:White(())
Add(tf)

I'm closing this one. I'm not sure I follow what it was referring to.


fix(e2e): Kustomize registry check

Ref #4954
Ensure IP is ready before checking its status configuration
Release Note
fix(e2e): Kustomize registry check

@squakez @oscerd can you launch the falling test again please 🙏 ?

@gansheer it seems that the new condition added is failing.

@oscerd can you launch the tests again please 🙏 ?

@squakez  can you launch the tests again please 🙏 ? I want to confirm the metrics test failure.

Replaced by https://github.com/apache/camel-k/pull/4979


Creating an open source contribution guide and instructions

Create a comprehensive guide with clear instructions for contributing to open-source projects, aimed at fostering effective collaboration and ensuring high-quality contributions. This guide will build on the existing one, with enhancements and improvements.
The guide will include:

Reviewing board items (user stories) and contributing code to implement them.
Reviewing board items (bugs) and providing fixes.
Reporting new bugs by submitting them as issues.
Suggesting new features by creating issues.
Proposing improvements or enhancements by submitting them as issues.

Example:
https://github.com/Azure/azure-devops-cli-extension/blob/master/CONTRIBUTING.md

@RehabAbotalep  I worked on this but I would like your review for any improvements.

@MohamedRadwan-DevOps Looks perfect to me. Thank you for your effort on this!

@RehabAbotalep Thanks for your feedback!


How to create YAML file inside data(test-repo) folder?

   - description: Read a cookie named "MyCookie"
      action: org.getopentest.selenium.ExecuteScript
      args:
        script: |
         function getCookieValue(cookieName) {
            var regexResult = document.cookie.match('(^|[^;]+)\\s*' + cookieName + '\\s*=\\s*
  ([^;]+)');
             return regexResult ? regexResult.pop() : '';
         }
           return getCookieValue('MarcelAUTH');

   - description: Append a new line to the CSV file
      action: org.getopentest.actions.files.WriteTextFile
      args:
        targetFile: $tempDir + "/cookies.csv"
        append: true
        text: $output.result + "\n"

By the above code, CSV file is generated inside the temp folder but I want to create YAML which should be created inside the data folder.
I tried with below code: but getting error
  - description: Append a new line to the CSV file
      action: org.getopentest.actions.files.WriteTextFile
      args:
        targetFile: $data + "/marcelauthconfig.yaml"
        append: false
        text: $output.result

A test cannot write files into the test repository and it would be a bad idea to do so. If you need to share authentication details between test actions running on the same test actor or on separate test actors (or even between tests), this is possible using $sharedData and $sessionData, respectively. Let me know if you need more information on that.


ClamAV

I have a problem for help:
Use sigtool -u to extract a clamav virus library, such as sigtool-u daily.cvd, and then modify a file, such as daily.pdb, and then how to re-sign package back


Translation not available

Hi,
Italian translation is not available for a GUI.
Any idea?
Thanks,
A.

@albanobattistella Issue with Linux snap translations is fixed. Is your translation missing in some other platform?

@albanobattistella Issue with Linux snap translations is fixed. Is your translation missing in some other platform?

HI,
I installed snap package and I have not translation.

Yes that was a mistake that is now fixed.
You can get snap version with translations fixed by running sudo snap install buzz --channel latest/edge

Fix for snap locales will be available on the edge channel in next few days.


Internal request not returning errors

I am trying to get the internal request to work on laravel 5.2. On the backend if validation fails a ValidationHttpException is thrown and I have the internal request wrapped in a try catch statement.
try
        {
            app(Dispatcher::class)->be(\Auth::user())->json($request->all())->post('/api/v1/claims');
        }
        catch (ValidationHttpException $e)
        {
            dd($e->getErrors());
        }

If I try to catch InternalHttpException instead then I can dump the exception but there are no errors returned. Going through the stack trace it brought me to the Dispatcher file where it rethrows any caught exceptions as InternalHttpException. Is this expected behavior? My main concern is returning the errors back to the frontend to display the errors.

I was getting the same issue. Since the Dingo FormRequest just extends the Illuminate FormRequest, I submitted a PR to have the validation pass through back to the framework if it's an internal request: https://github.com/dingo/api/pull/1367


[CSR-5751] Save filters locally

Remove filters from views
Add page size to views

Could you please show me the 'local save' functionality that you've added?

The local save is currently already handled in the front-end project ( the datagrid component in shared-components ). Here we extract the values from the localStorage and then pass it along with the filters as defaultValues.
But currently we do a sort of combination of saving filters in localStorage and in views which we don't want to do anymore. So everything related to saving filters inside views is now removed in this pr.
Will also need to make some changes to the front-end project after this one is merged.


internal/eval: bare unary expression results in a Noop operator

Discussed in https://github.com/cue-lang/cue/discussions/1094

Originally posted by srikrsna July 13, 2021
Hey everyone, I am trying to use Cue for validation. I wanted to built a protoc plugin that would generate validation functions based on cue.value  field option to various languages. Starting with Go and Dart. I am trying to parse a simple expressions but the below code always returns NoOp.
package main
import (
	"cuelang.org/go/cue/cuecontext"
	"github.com/davecgh/go-spew/spew"
)
func main() {
	ctx := cuecontext.New()
	const expr = `>30`
	op, vv := ctx.CompileString(expr).Expr()
	// op is always NoOp
	spew.Dump(op, vv)
}

Can anyone guide me in the right direction?

Thanks for raising an issue for this, @srikrsna. The issue is perhaps best demonstrated by the following repro:
go mod tidy
go run main.go
cmp stdout stdout.golden

-- go.mod --
module mod.com

go 1.16

require cuelang.org/go v0.4.0
-- main.go --
package main

import (
	"fmt"

	"cuelang.org/go/cue/cuecontext"
)

func main() {
	ctx := cuecontext.New()

	const expr1 = `>30`
	v1 := ctx.CompileString(expr1)
	op1, vv1 := v1.Expr()
	fmt.Printf("expr1: op %#v (%T), %#v\n", op1, op1, vv1)

	const expr2 = `x: >30`
	v2 := ctx.CompileString(expr2).Lookup("x")
	op2, vv2 := v2.Expr()
	fmt.Printf("expr2: op %#v (%T), %#v\n", op2, op2, vv2)
}
-- stdout.golden --
expr1: op 14 (adt.Op), []cue.Value{30}
expr2: op 14 (adt.Op), []cue.Value{30}

which fails with:
> cmp stdout stdout.golden
[diff -stdout +stdout.golden]
-expr1: op 0 (adt.Op), []cue.Value{>30}
+expr1: op 14 (adt.Op), []cue.Value{30}
 expr2: op 14 (adt.Op), []cue.Value{30}

It seems the bare >30 is not parsed as a unary operator, despite this seemingly being valid CUE.

Analysis: in the failing form, the bound is implicitly wrapped in a struct. Expr doesn't handle structs. But of course now we have embedded scalars, it should.


Golden Files won't update until failed test is run.

In order to update the golden files, a failed test must be run first to override the actual file. Only then the CLI will update the golden file.

Hi @Jagl257  Yeah, the CLI's purpose is to only update the golden files now. I'm not sure if there's a way to run the tests using hspec CLI via a second CLI (in this case hgold). I'll try to research a little bit about it. Feel free to open a PR if you want to work on this.

Hey @Jagl257 I'll be closing this issue for now since it's necessary to run the tests to know if actual value changed or not. The CLI can be used after that to update the golden files.


Support for multiple and remote raml files

I want to use multiple and in some cases remote raml files for my project. Would it be supported in the future? Or is there a best practice to do so?
Edit:
Support for multiple raml files solved by myself. Simply put the configuration to the execution part of the client generation plugin.
The remote problem exists further.

Handling remote raml files might be an option for us.
Can you consider a PR?

We are facing the same issue right now. We want to refer to multiple RAML files. I have put the configuration under the execution tag but still, it doesn't work.
Can you explain further how you solved this issue?

I've used a RAML to SWAGGER converter. Because swagger was a lot more powerful.


Cannot implement this library to module

I am unable to implement 'com.github.michael-rapp:android-material-dialog:5.1.3' cause, gradle sync fails.
Using android studio 3.2.1 and using compile and target SDK version 27.
It is showing error :
Android resource linking failed : \app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:917: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Hello,
since version 5.0.0 this library uses AndroidX instead of the AppCompat support libraries. This requires your app to be migrated to AndroidX as well. If you are unable to do so you must use a version of the library older than 5.0.0.

Thank you so much for clarifying.


⚠ Bofrost.at has degraded performance

In 36b2c32, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1365 ms

Resolved: Bofrost.at performance has improved in 2309a88 after 15 minutes.


Integration with zk-regex

Implement same change as https://github.com/zkemail/zk-email-verify/issues/116
See https://github.com/zkemail/zk-email-verify/pull/143#issuecomment-1826112142

✅  This repo uses twitter_reset_regex circuit generated by zk-regex.


Extract github username from url if user inputs a github url and redirect properly

Currently,
On the homepage, we expect the user to input GitHub handle. But some users might paste GitHub URL.
Here are the tasks that need to be done-

[ ] If the user pastes a GitHub URL instead of GitHub username we need to extract the username from the url.
[ ] Use the newly extracted username to navigate to user's profile page.

Join our Discord server to discuss ideas, ask questions, and collaborate with others.

@thtauhid Can i work on this?

@irfanfaraaz go ahead.

Join our Discord server to discuss ideas, ask questions, and collaborate with others.

@thtauhid is there anything you want me to improve?


Include this gif meme above the Results header

Keep it on the page all the time :-D
https://imgflip.com/gif/530whg

https://user-images.githubusercontent.com/18421017/113240429-17a51d00-9283-11eb-9f6c-d4f90b6b4b42.mov


Image Media Viewer does not display the primary bitstream's thumbnail. It always displays the first image bitstream's thumbnail.

Describe the bug
Discovered while testing #2213.
When the Image media viewer is enabled, the Item page may not display the primary bitstream's thumbnail image.  Instead, it will display the thumbnail of the first bitstream with an image/* Mime Type.
To Reproduce
Steps to reproduce the behavior:

Enable the media-viewer for images in your config.*.yml:mediaViewer:
  image: true

Create/find an Item which has at least two files with thumbnails.  This could be an Item with two image files or two PDFs, but you must see multiple files in the THUMBNAIL bundle.
Check which thumbnail is being displayed on the Item page /item/[uuid] when the mediaViewer is turned on.
Now, edit the Item, and select the other file as the primaryBitstream.  This will change the thumbnail anywhere the <ds-thumbnail> component is used (e.g. in search results or on the Collection page or similar)
Go back to the Item page and notice that the thumbnail displayed by the mediaViewer does not change.

It appears the mediaViewer does NOT obtain the thumbnail from the /items/[uuid]/thumbnail REST endpoint.  If you call that endpoint manually, you'll see it will always return the thumbnail associated with the primary Bitstream.

This behavior is somewhat "by design" because the Image Media Viewer allows you to page through all the image/* bitstreams in that Item.  So, by default, it pages through them in the order in which they appear on the Item page.
Expected behavior
Ideally, the Image Media Viewer should treat the "primary bitstream" as the first bitstream (as long as it has an image/* mime type).  However, this would require this Media Viewer to be refactored to align with this behavior... or it would require the backend to be refactored to always return the "primary bitstream" as the first bitstream when bitstreams are returned in a paginated list (i.e. from /api/core/bundles/[:uuid]/bitstreams)
See also notes at https://github.com/DSpace/dspace-angular/pull/2213#issuecomment-1591456071
Related work
Related to Primary Bitstream work in #2213

Based on earlier analysis in https://github.com/DSpace/dspace-angular/pull/2213#issuecomment-1591456071, this doesn't seem like an easy fix. So, moving this to the 8.0 board is it may require a larger code refactor.

I found an issue that seems related to this. If you upload a file with a pdf and an image in this order and generate the thumbnails, the pdf thumbnail will be shown on any "search" page but if you go to the item page, the image thumbnail will be shown. This leads to confusion for the users, since the item that you've searched appears to change when you access the item page.
Here's an example on our test server https://testrephip.unr.edu.ar/items/b212dfa7-9d5f-4c51-a176-8a7ccb0c7e8d


tr_shader: colormap stage with 2D image bit is generic2D

Color map stage with 2D image bit is generic2D.
We can skip the render-time test for them.
Also make a variable local to the block using it.

Because RSF_2D is not in master, it was added in:

https://github.com/DaemonEngine/Daemon/pull/1145

Providing RSF_FITSCREEN and RSF_2D broke compatibility with game.

Is that really a good way to decide whether we are doing 2d rendering? What if the same image were used for both something in the UI and something in the map and it got registered with the 2D flag. The if ( backEnd.projection2D ) that we have now seems more reliable

That's something that crossed my mind, but images with RSF_2D flags are created by the game for its own UI. There are even no legacy image having RSF_2D flag to take care about.
 Using them on a 3D surface may work but would be hacky and it would be recommended to create a special shader for them.
Also those images using the RSF_2D flag usually live in folder like ui/ which are not usable at all on map surfaces: only images in textures/ can be applied on map surface. Well it's possible to edit a bsp to set non-textures-prefixed images, but the map source format make it impossible to do in a map editor or even by hand in the map format itself..
Those 2D images may still be usable by the engine anyway, like on a model, or in a particle system. For example I know some maps have implemented fireworks using a granger emoticon as particle. As far as I know we don't set RSF_2D on them. It would be then considered wrong to set RSF_2D on them.
If one day we implement UI on some 3D surfaces (like some DOOM3 in-game screens), we would either duplicate the shader, either remove the RSF_2D flag.
The purpose of the RSF_2D flag is to tell the engine it's an UI image. In fact we may even rename it to RSF_UI to avoid confusion with SHADER_2D (which I have no idea what it is about, but is unrelated to the 2D UI images).

Fine, you can say the use cases for that are doing it wrong, but the benefits from this seem microscopically small. So I disapprove of the proposed change.


Datasource picker

Description
1st version of datasource UI and related UT. You may start from flatterned datasource picker UI- fb84961dd73feac26adf63fe204c8b9058b494be to avoid duplicate reviewing for those commits from rebasing main.
https://github.com/opensearch-project/dashboards-observability/assets/80358241/e4539837-57b4-41bf-b084-d20602043007
Issues Resolved
#545
Check List

[x] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

part of the codebase will be sitting in core, therefore closing this


Added camel case aliases for all public methods and exported functions

As per #3.
Also included some test coverage for the added helpers.

Coverage increased (+0.3%) to 89.167% when pulling 30a78e5b9f0525035b6bd89228a5212ea96d97c8 on sampeka:camel-case into 5acfd4f173ac3ac1e7b5184596626bc961595fab on halt-hammerzeit:master.

It's failing in node 0.12 because string.startsWith isn't there. Is there a way we can just configure babel to handle that? Or would you rather I just rewrite it slightly? Not a big deal either way.

Hello.
I looked through your Pull Request and I understand only
aliasCamelCaseAttrs(webpack_isomorphic_tools.prototype)

and
function aliasCamelCaseAttrs() { ... }
function camelCase() { ... }

I don't see the purpose of all the other code (except tests)

The rest just makes camel case aliases for all exported functions and adds them to module.exports. It's not totally necessary to have helpers and the other modules also export camel case, but it makes it more consistent if somebody does for whatever reason decide to use any of them in their own code. If you disagree though I'll strip the PR back to just index.js

Coverage increased (+0.1%) to 89.053% when pulling 05856b9f3d2fe630b4bd1932f1554bcee59d45a2 on sampeka:camel-case into 5acfd4f173ac3ac1e7b5184596626bc961595fab on halt-hammerzeit:master.

Coverage increased (+0.1%) to 89.053% when pulling aa1ee245a1f0472dd462c1d603b4ae2d0e1a5dee on sampeka:camel-case into 5acfd4f173ac3ac1e7b5184596626bc961595fab on halt-hammerzeit:master.

Coverage increased (+0.2%) to 89.064% when pulling f3fb07d154faa0a1dac40816983ac6d662135c77 on sampeka:camel-case into 5acfd4f173ac3ac1e7b5184596626bc961595fab on halt-hammerzeit:master.

Done, removed the module-level stuff. Also added an extra test to make sure the camel case attributes have been properly added to the isomorpher prototype. If you're happy, let me know and I'll squash the commits.

@sampeka ok, that looks good to go.
I'll accept the PR after you squash it

Squashed, also just realised that people use plugin.js directly as well. Not all of the methods had camel case variants, so did the same there + added some light coverage.

Coverage increased (+0.1%) to 89.053% when pulling 3c244632adeb87ca80498e6e2b09e2ece95e15e9 on sampeka:camel-case into 5acfd4f173ac3ac1e7b5184596626bc961595fab on halt-hammerzeit:master.

Ok, your contribution accepted.
i'll go release a new version.

done
<EMAIL_ADDRESS>

FYI
I'm posting this in every issue and PR to notify whoever may be interested:
today I've released an alternative helper library called universal-webpack.
It takes a different approach than webpack-ismorphic-tools and instead of hacking Node.js require() calls it just compiles all code with target: 'node' webpack configuration option.
As a result, all Webpack plugins and features are supported.
If you think you might need that here's an example project:
https://github.com/halt-hammerzeit/webpack-react-redux-isomorphic-render-example


S3 input/output support

Filer needs to support S3 upload and download (public buckets)
Not sure if private buckets should also be supported.

Inputs Test Setup

Build multi-filer container
Obtain S3 cerdentials from Gianni (see slack)

Inputs Test Script

Create a test.file in `s3://tesk-bucket/test/test.file
Create test.json file

{
    "inputs": [
      {
        "name": "input1",
        "description": "Example",
        "url": "s3://tesk-bucket/test/test.file",
        "path": "/tmp/test.file",
        "type": "FILE"
      }
    ]
}

Run multi-filer

docker run -it <multi-filer CONTAINER> \
-v $(PWD):/globus/
-e SRC_S3_ACCESS_KEY_ID='<access-key-id>' \
-e SRC_S3_SECRET_ACCESS_KEY='<secret-access-key>' \
inputs test.json

This is the command that worked for me
$ docker run -v $PWD:/globus/ \
  -e SRC_S3_ACCESS_KEY_ID=<snipped> \
  -e SRC_S3_SECRET_ACCESS_KEY=<snipped> \
  susheel/multi-filer:latest \
  /multi-filer.sh inputs /globus/test.json
/multi-transfer.sh s3://tesk-bucket/test/test.file /tmp/test.file

It dinished without errors, but how do I make sure the files was uploaded correctly?

Would this be the correct command line for outputting a file?
$ docker run -v $PWD:/globus/ \
  -e SRC_S3_ACCESS_KEY_ID=<snipped> \
  -e SRC_S3_SECRET_ACCESS_KEY=<snipped> \
  susheel/multi-filer:latest \
  /multi-filer.sh outputs /globus/test.json

It's not clear to me how the file from the bucket is chosen to output to local system.
or what is the relation between input/output and import/export.

I'm not able to upload the dummy file:
2018/05/18 11:45:02 ERROR : : error reading destination directory: AllAccessDisabled: All access to this object has been disabled
        status code: 403
2018/05/18 11:45:02 ERROR : S3 bucket test path test.file/: not deleting files as there were IO errors
2018/05/18 11:45:02 ERROR : S3 bucket test path test.file/: not deleting directories as there were IO errors
2018/05/18 11:45:02 ERROR : Attempt 1/3 failed with 1 errors and: not deleting files as there were IO errors

I'm interested in this too. Plus the ability to target minio as the s3 backend.


Problem when add Phoenix Driver

When I add Phoenix Driver(org.apache.phoenix.jdbc.PhoenixDriver), I found this problem,
problem:
LoggerFactory is not a Logback LoggerContext but Logback is on the classpath.
Either remove Logback or the competing implementation
If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml: org.slf4j.impl.Log4jLoggerFactory
please help me, thank you so much.

You can try multi-version  isolation.


Clicking buttons and submitting things sometimes has a noticeable delay

Especially on production.

The button blocking should do the trick, needs qa


"Parse error on "query" (STRING) at [1, 2]"

But changing the Content-Type to application/json magically works despite all the docs saying to use application/graphql.

It was hard to get this work, but this works for me (python)
import requests
for i in [
"2125738868770",
]:
    headers = {
        "Content-Type": "application/json",
        "X-Shopify-Access-Token": <PASSWORD>
    }

    query = """
    mutation orderMarkAsPaid($input: OrderMarkAsPaidInput!) {
      orderMarkAsPaid(input: $input) {
        order {
          id
        }
        userErrors {
          field
          message
        }
      }
    }

    """
    variables ={
      "input": {
        "id": "gid://shopify/Order/"+i
      }
    }
    request = requests.post('https://<Name>.myshopify.com/admin/api/2020-07/graphql.json', json={
          "query": query,
      "variables": variables
    },  headers=headers)
    result = request.json()

wow. thank you.
The only other reference to this (that i now after hours remember seeing) is this: https://github.com/Shopify/storefront-api-examples/blob/master/vanilla-graphql-client/example.js#L69-L90

@pmourer because we didn't use any library. The implementation was done from scratch using HTTP.

But changing the Content-Type to application/json magically works despite all the docs saying to use application/graphql.

That was so helpful, thank you.

but why?

This worked for me too, but likewise, why????

Changing to application/json works for me, but it throws CORS errors if I'm calling it from a browser. No CORS errors if I do application/graphql, but I get this error.

@swalkinshaw lovely 👏

But changing the Content-Type to application/json magically works despite all the docs saying to use application/graphql.

That was so helpful, thank you.

This was the issue for me.


Updated the ProvisionDemo lab to use CustomImageId instead of CustomI…

…mageName.

Can one of the admins verify this patch?

Changes look good.


Add JustList: {DZIRE TOKEN}

        "symbol":"DZR",
        "address":"TEZdC6tv9LqN5DabUTmpiPTnYx5jLGtq2E",
        "chainId":1,
        "decimals":18,
        "name":"DZIRE TOKEN",

Sorry, your issue will be closed as you did not submit your information in the correct format.Please resubmit.


More detailed version of Tocker Trials

I would love if there would be more information like on what stage you are on or what score you have.

I personally haven't tried the mode yet, but given that it's a time-limited mode, I don't think it's worth implementing. Maybe in the future I might add more details like ranks and kda to all modes, but probably not anytime near though

you can do KDA, simply throw a get request on https://<IP_ADDRESS>:2999/liveclientdata/playerscores?summonerName=XXX#0000

id love to be part of it if you want as well

If you want sure, you can do pull requests or sth, I don't really know how github works. Besides, my code is really messy as this was my first ever project so if you can work it out i'd be very surprised xd

yeah i dont know how prs works either... do you got discord or something by any chance so i can send codes and stuff?

sure add me on discord @11shadows


Group by daily

Hi, thanks for the excellent list of questions and the schedule option is very helpful especially for preparing in short duration.
However, it will be even useful if the questions are grouped by day in a week like how the questions are grouped by week. This way one can have a daily target and will know if there are any spillovers from the previous day.
Thanks

Also. adding a progress bar to track the user's daily progress when question is marked as 'Solved' comparing with an expected value will make the process very clear.
Something like:


Don't auto-trace generators

I would quite like to implement something like this someday, particularly to measure the time spent blocking in an async function (https://linear.app/pydantic/issue/PYD-595/measure-time-spent-blockingwaiting-in-coroutinesgenerators-using) but today is not that day.


Add tolerations and nodeselector

Hello. This pull request adds the ability to deploy MySQL servers on dedicated nodes.

 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.Nikolay Bogdanov seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Test name
Status

config
passed

init-deploy
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

sidecars
passed

users
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/58/commits/cc8063269cdda4f18a6170dff207f2376bfca981
image: perconalab/percona-server-mysql-operator:PR-58-cc80632

Test name
Status

config
passed

init-deploy
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

sidecars
passed

users
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/58/commits/b69d3cb7a7ae521598536e3899e020598299fe23
image: perconalab/percona-server-mysql-operator:PR-58-b69d3cb

Test name
Status

config
passed

init-deploy
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

sidecars
passed

users
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/58/commits/233e8efd0248f615fa3aabe27d0cd3eaec81e8c5
image: perconalab/percona-server-mysql-operator:PR-58-233e8ef

Test name
Status

config
passed

init-deploy
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

sidecars
passed

users
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/58/commits/3bec22f4d01ea2dbe4891b132b5999495023d4df
image: perconalab/percona-server-mysql-operator:PR-58-3bec22f


NixOS channel updates stuck

See NixOS/nixos-org-configurations#159. Channel updates have been stuck for a few days.

cc @NixOS/infra

Looks fixed, all channels updated.  Thanks Graham!


[Log-in flow] Gallery returns 400 on double login

Repro steps:

login with user id and password
Click "back" until you get to login page again
enter used id and password again
Result: 400 page

This happens due to a mismatch during the validation of ValidateAntiforgeryToken attribute on the POST to the SignIn page.
Exception: The provided anti-forgery token was meant for a different claims-based user than the current user.
This is working as expected.


GH-550 Add missing tests for Panda Utilities

This PR may increase test coverage a little for Panda Utilities.

org.panda_lang.utilities.commons.console.Colored
org.panda_lang.utilities.commons.ValidationUtils

related to issue #550.

Coverage increased (+0.8%) to 55.275% when pulling c3aa2e448bbb421eeedb77821d62218fe4c8246a on takuma-watanabe:feature/add-missing-tests into 3d68626e465409b4b88bd765fd71bcc570bce0d9 on panda-lang:master.

Thanks for PR! ❤ I've made a review and I have just one note as you see, after that I'll be able to merge it :)


Enhancement Request: Implementing Multiple SSH Keys with Enhanced Management Features

Description
The current SSH key page offers limited functionality with support for only a single SSH key. To improve user experience and flexibility, I propose the implementation of a feature that allows users to manage multiple SSH keys.
Enhancements Proposed

Multiple SSH Keys:

Users should be able to save and manage more than one SSH key.
The option to activate only one SSH key at a time should be available.

Key Activation:

Users can easily switch between SSH keys and activate/deactivate one.
Each SSH key should have a generated fingerprint, and users must enter the fingerprint when activating a key.

Adding SSH Keys:

Users should have the ability to add multiple SSH keys with no set limitations.

Deletion Options:

Users can delete individual SSH keys.
Batch deletion should be supported, allowing users to select multiple keys for deletion.

Benefits:

Enhanced flexibility in managing multiple SSH keys.
Improved security with unique fingerprints for each key.
Streamlined user experience with the ability to add, activate, and delete keys conveniently.

Additional Context:
This enhancement aims to provide users with a more robust and user-friendly interface for managing their SSH keys, catering to scenarios where multiple keys are used for different purposes.
Here are some designs we can stand for generating our design by @ehab-hassan

after trying to deploy a vm with more than one ssh key, it works fine. Just set the sshkey env var with all required sshkeys separated by \n.

Issue update
Work in progress
Working on the design of adding the multiple ssh-keys feature
Screencast from 03-18-2024 04:59:50 PM.webm

Issue Update
Work Completed:

Implemented a helper function to generate a unique name for the generated key, enhancing the user experience by providing descriptive names.
Added activation and deletion logic, enabling users to activate or deactivate keys and delete them when necessary.
Developed the feature to delete all selected keys, with preparations underway to delete keys based on types such as active or all keys.

Work in Progress (WIP):

Refining the deletion process to ensure seamless removal of keys based on user-selected types (active or all keys).
Testing the functionality to ensure proper activation, deactivation, and deletion of keys across different scenarios.

Issue update
Work in progress
during the call with @ehab-hassan we have updated the whole style of the view to be like that

Issue Update:
Work in Progress (WIP):

Enhanced the UI by adding a new dialog for importing SSH keys and updating the colors of the table.
Calculated the SSH key fingerprint, consolidated form dialogs, and introduced a key details dialog. Also removed a redundant dialog.
Refined the copy input wrapper to conditionally display the copy icon based on field data presence and improved the functionality of the generate dialog.

Issue Update
Work Completed

Resolved the issue related to saving the SSH key in the chain.
Implemented loading of SSH keys directly from the chain, eliminating the use of dummy data.

Work in Progress

Implementing the functionality to display all keys when deploying a deployment, with the requirement that active keys must be selected.
Working on updating the chain appropriately when activating, deactivating, or deleting any key to maintain data integrity.
Planning to remove the fingerprint from the chain data and calculate it dynamically during loading from the chain instead of storing it directly.
Addressing the issue related to the "Close" button in the SSH dialog view to ensure proper functionality.

Working on https://github.com/codescalers/CSHR/issues/353#issuecomment-2019144595

Issue Update:
Work Completed:

Implemented a helper function to generate a name for the generated key to be saved with the key.
Added activation and deletion logic for SSH keys.
Worked on the feature to delete all selected keys, preparing to delete keys based on types like active or all keys.
Unified UI elements by removing the tonal theme from cards to maintain consistency with the contracts list view.
Enhanced UI by adding another dialog for importing SSH keys and updated the colors of the table.
Calculated SSH key fingerprints, consolidated form dialogs, and introduced a key details dialog while removing redundant dialog.
Refined the copy input wrapper to conditionally display the copy icon based on field data presence and improved the functionality of the generate dialog.
Migrated old SSH keys to the new SSH key type and set them as active keys.
Fixed the issue when saving SSH keys by loading them from the chain instead. Work in progress on updating the chain when pressing on active/inactive or deleting keys.
Enhanced the way of saving/removing the keys and improved the import key form by adding a rule to validate the entered SSH key.
Merged SSH key management functionality into all applications.

@Mahmoud-Emad @samaradel
the id also was duplicated after this issue

verified on devnet
version : dd92950
User now can have more than key
he can activate which keys are active for deployments , manage keys before deploying

provided tests covering it
https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=430164#suite_section_430164

Verified:

Devnet
e7030e6


Fix process mapping in DEV-0322_SolarWinds_Serv-U_IOC

Fix process entity mapping in DEV-0322_SolarWinds_Serv-U_IOC
Fixes #
Proposed Changes

@liatlishams

file version should be updated (?)


Adds badges to README

Badges:

npm version
Travis CI build status
Ember Observer score

@josh Let's pair up soon and get Travis passing!

@crodriguez1a Sounds good.
I believe https://github.com/open-tux/ember-bulma/pull/70/files will fix the issues I was tracking:

add bower back to the travis install step
remove default tests that were failing


Add observability into "violations" for rubocop based package protections

For privacy and dependency enforcement, we have two primarily metrics:

Count of packages that have the enforcement turned on
Number of violations related to the enforcement

Note that for (2), We compute this regardless of whether the enforcement is on or off at Gusto (i.e. we turn on the protection then run packwerk)
Note also that for both (1) and (2), we compute these metrics by package and also by team.
For rubocop based protections, such as typed API or namespace protection (shipped with package protections) or other Gusto-specific protections, we only count the number of packages that have the protection turned on (also aggregated by team).
We do not currently capture how many violations there are, so we do not have a true vision of progress. That is – 100% of packages can have a protection turned off with 100% of the code in those packages not conforming to the protection via rubocop exclusions.
This PR DOES capture:

The total count of exclusions for each rubocop based protection

This PR DOES NOT capture:

The count of "violations" in the same vein as (2) above, as we won't be "turning on the protection" and rerunning rubocop to get the true count of violations. This means the semantics for this metric are different compared to privacy and dependency enforcement. For technical reasons, I think this may be acceptable for now, because although packwerk makes it simple by its design to turn on a protection and count violations, this may be more challenging to do. If we wanted to, we could actually delete all .rubocop_todo.yml files and run bundle exec rubocop --only=PackageProtections/CopName --format=files. However, I'm afraid that will be a bit of a maintenance nightmare, for now. For that reason, I opted to only capture exclusions as they are in the codebase. For this reason we can expect to see the metric rapidly going up and down as folks turn protections on and off. I think this is fine. We can focus on two separate goals: getting the protection turned on, and then working the exclusions list down.
This does not capture per team or per package based metrics. That is – we cannot look at how individual packages or teams have reduced their rubocop exclusion lists. I think this is fine and I think having the eagle eye view of progress is all we need.

It seems to me like concern #1 is at least as much in control of the implementing organization as counting "all" (even non-activated enforcements) for privacy and dependency. Anyone who'd like to implement the script can do so.
I agree that it is a step in the right direction to expose the total metric. Maybe someone (including us) wants to invest in team and package based metrics later on.

Filling a knowledge gap: Can someone opt accept a rubocop based protection violation by commenting on a line instead of the todo list entry?


disable flaky test

PR description
disable flaky permissioning test - example https://github.com/hyperledger/besu/actions/runs/9936399295/job/27444542474?pr=7266
Fixed Issue(s)

Thanks for sending a pull request! Have you done the following?

[ ] Checked out our contribution guidelines?
[ ] Considered documentation and added the doc-change-required label to this PR if updates are required.
[ ] Considered the changelog and included an update if required.
[ ] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

[ ] unit tests: ./gradlew build
[ ] acceptance tests: ./gradlew acceptanceTest
[ ] integration tests: ./gradlew integrationTest
[ ] reference tests: ./gradlew ethereum:referenceTests:referenceTests

#7327 instead


File Marking and execution

Hey NERDTree huggers,
Great plugin! Love what you've done! There's one feature I'm really missing from netrw that I think would be a great addition to your plugin: the ability to mark multiple files and execute a command on them at once. In netrw this is done by the mf and mx commands, by the functions NetrwMarkFile(islocal, fname) and NetrwMarkFileExe(islocal). From taking a brief peek at the code this should be extremely do-able in NERDTree, and would be extremely useful. For example, say I'm working on NERDTree in my git repository and I want to add certain files. I could mark those files using a command (in different directories in my tree branch even) then use one command to add them all to git! A myriad of other possibilities awaits.

I'm not going to pursue this, but if someone wants to tackle it, I'll entertain a pull request for it. One of the difficulties is that we're running out of letters to use for commands.


SERVFAIL on fallthrough to forward

When trying to use kubernetai with the following configuration
.:53 {
  errors

  kubernetai cluster-a.local in-addr.arpa ip6.arpa {
    fallthrough in-addr.arpa ip6.arpa
    kubeconfig /Users/user/.kube/config arn:aws:eks:us-east-1:000000000000:cluster/a
    pods insecure
  }

  kubernetai cluster-b.local in-addr.arpa ip6.arpa {
    fallthrough in-addr.arpa ip6.arpa
    kubeconfig /Users/user/.kube/config arn:aws:eks:us-east-1:000000000000:cluster/b
    pods insecure
  }

  forward . /etc/resolv.conf {
    max_concurrent 1000
  }
}

and using dig to query PTR records of an IP address
dig @<IP_ADDRESS> -x <IP_ADDRESS>

it raises an error saying that the next plugin was not found
.:53
CoreDNS-1.8.3
darwin/amd64, go1.16.3, 4293992b-dirty
[ERROR] plugin/errors: 2 <IP_ADDRESS>.in-addr.arpa. PTR: plugin/kubernetes: no next plugin found specified

and answers the request with SERVFAIL
; <<>> DiG 9.10.6 <<>> -x <IP_ADDRESS> @<IP_ADDRESS>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 57076
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;<IP_ADDRESS>.in-addr.arpa.          IN      PTR

;; Query time: 0 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Thu May 06 17:11:41 -03 2021
;; MSG SIZE  rcvd: 49

instead of using the forward plugin configuration.

I don't know if it would be appropriate, but patching https://github.com/coredns/kubernetai/blob/a3ae9db639d497b20fefa309d180571f4297cfde/plugin/kubernetai/kubernetai.go#L74-L76 to
		} else {
			k.Next = k8i.Next
			rcode, err = k.ServeDNS(ctx, w, r)
		}

solved my problem.

Thanks @t0rr3sp3dr0!  At first glance, that seems like the right fix.

Actually, I can only set Next if k8i.Fall[i].Through(state.Name()) is true. I'll submit a PR with the changes.

OK. On second look - it probably would be better to set it at setup time.

https://github.com/coredns/kubernetai/blob/a3ae9db639d497b20fefa309d180571f4297cfde/plugin/kubernetai/setup.go#L33-L36
In there, setting the last instance of k8i.Kubernetes to next ...

Instead of setting the Next for the last Kubernetes instance, I think it would be better to remove the condition that makes the fall zones of the last Kubernetes instance not nil. And then remove the specialization of the code that treats the last Kubernetes instance as a special one. This also make the code simpler.
So this piece of code https://github.com/coredns/kubernetai/blob/a3ae9db639d497b20fefa309d180571f4297cfde/plugin/kubernetai/setup.go#L60-L63 would become
		// for all instances, disable fallthrough in the Kubernetes object
		k8i.Kubernetes[i].Fall.Zones = nil

And https://github.com/coredns/kubernetai/blob/a3ae9db639d497b20fefa309d180571f4297cfde/plugin/kubernetai/kubernetai.go#L47-L78 would become
		// If fallthrough is disabled, then we should not continue to the next plugin.
		if !k8i.Fall[i].Through(state.Name()) {
			return k.ServeDNS(ctx, w, r)
		}

		// Use a non-writer so we don't write NXDOMAIN to client
		nw := nonwriter.New(w)

		_, err := k.ServeDNS(ctx, nw, r)

		// Return SERVFAIL if error
		if err != nil {
			return dns.RcodeServerFailure, err
		}

		// If NXDOMAIN, continue to next kubernetes instead of next plugin
		if nw.Msg.Rcode == dns.RcodeNameError {
			continue
		}

		// Otherwise write message to client
		m := nw.Msg
		state.SizeAndDo(m)
		m = state.Scrub(m)
		w.WriteMsg(m)

		return m.Rcode, err

Because previously https://github.com/coredns/kubernetai/blob/a3ae9db639d497b20fefa309d180571f4297cfde/plugin/kubernetai/kubernetai.go#L80 was never called as the last Kubernets instance would throw an error as no Next was set.


Add an Augment directive

Currently there is the @data directive to augment $data->value() fields. However, Statamic generates data without values. Take term entries, for example.
Term entry pages have a variable $entries, which is a Statamic\Stache\Query\EntryQueryBuilder object. Using Statamic\Stache\Query\EntryQueryBuilder::get() we get a Statamic\Entries\EntryCollection object, which needs augmentation. We can't use @data for this object, because there is no value() method.
Maybe clone the Edalzell\Blade\Directives\Data directive to something like Edalzell\Blade\Directives\Augment and remove the ->value() part? With a @augment directive, we could then augment all kind of iterable data.

I don't like my solution, but I made the @data tag a bit smarter so it'll work on $entries and other Builders.

Nice!
Yeah, I know what you mean. But I see no other option at the moment.