FancyZones: [WINDOWS] + [LEFT/RIGHT] behaves opposite to the normal windows snap behavior

Environment
Windows build number: [run "ver" at a command prompt]
PowerToys version: 0.13.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce
Press Windows+Left
Expected behavior
Window snaps to the left
Actual behavior
Window snaps to the right
Screenshots

Hi @AlCalzone
Windows Snap and FancyZones Snap have a slightly different logic given the different functionality.
The FancyZones Snap feature allows to cycle through the zones in the order of creation, so Win + right arrow will snap the window to the first zone (if the window is not already in a zone) and subsequent Win + right arrow will move the window to the next zone.
While Win + left arrow goes the other way around, starting from the last zone and going back to the first.
We can reconsider the design if the community supports this change.

That makes sense but if you just have two zones side by side, it seems uninuitive. Maybe there could be a consistent ordering for the zones? E.g. left to right, then top to bottom (for equal x coordinate).

Closing as duplicate of https://github.com/microsoft/PowerToys/issues/554


conda problem on Travis

Travis installation is currently failing due to an issue with conda reported here:
https://github.com/conda/conda/issues/1952
Will keep an eye on it.

Fixed now.

Reopening this issue with:
https://github.com/conda/conda/issues/2241

Fixed now.


MIDI instrument program names sometimes don't get displayed

This bug affects mainly SC-88Pro MIDIs iirc.

Steps to replicate:

Just after starting the program, open any SC-88Pro .mid, for example th.tar.gz.

It's because a Roland reset is not recognized, I'll add it.

this is the typical GS reset: "f0 41 10 42 12 40 00 7f 00 41 f7"
the one that this file has: "F0 41 10 42 12 00 00 7F 00 01 F7"

The latter might be specific to SC88, I dont know for sure.

added in 4877977

That fixed this problem, thanks!


Use gRPC StatusRuntimeException instead of StatusException.

Motivation:
We have changed to use StatusException for gRPC client in this PR: https://github.com/line/armeria/pull/4636/files#diff-39112577712e2be6800f84834abc33a690eed333cd96581b777e1e1cd1ccdadaR497
However, StatusRuntimeException is used more by the upstream gRPC and gRPC's stubs favor it.
/**
 * {@link Status} in Exception form, for propagating Status information via exceptions. This is
 * semantically equivalent to {@link StatusRuntimeException}, except for usage in APIs that promote
 * checked exceptions. gRPC's stubs favor {@code StatusRuntimeException}.
 */
public class StatusException extends Exception {...}

They are semantically equivalent and users handle the exceptions together.
https://github.com/grpc/grpc-java/issues/4683
https://github.com/grpc/grpc-java/blob/master/api/src/main/java/io/grpc/Status.java#L404-L408
gRPC stub usually creates StatusRuntimeException:
https://github.com/grpc/grpc-java/blob/master/stub/src/main/java/io/grpc/stub/ClientCalls.java#L540-L544
https://github.com/grpc/grpc-java/blob/master/stub/src/main/java/io/grpc/stub/ServerCalls.java#L291
So we'd better to use StatusRuntimeException instead of StatusException. If so, we can also reduce creating the exception multiple times which is expensive due to fillInStackTrace call,
Modifications:

Use StatusRuntimeException instead of StatusException.
Add StatusAndMetadata that creates the StatusRuntimeException only once.

Result:

StatusRuntimeException is used for aborting a request and logging.

Side note: We may increase the coverage of StatusAndMetadata in future work. For example, StatusAndMetadata is created when a Status is first created or injected by the gRPC-Java's public API. To make it feasible, it would be necessary to make StatusAndMetadata mutable to add a Status description or update metadata.
StatusAndMetadata may be treated as gRPC layer's ResponseHeaders.
The following method could be refactored to doClose(StatusAndMetadata statusAndMetadata, @Nullable Throwable exception).
https://github.com/line/armeria/blob/0bda8ccc522f6e034dea55c0ffd279e2fc8df5d6/grpc/src/main/java/com/linecorp/armeria/server/grpc/AbstractServerCall.java#L228


shell: add more extensions and interpreters

ash: only interpreter, extension is more commonly used for
Kingdom of Loathing scripting, e.g. github.com/twistedmage/assorted-kol-scripts

dash: only interpreter, extension is more commonly used for
dashboarding-related stuff

ksh: extension was already present

mksh

pdksh

@pchaigno Done.


Missing header file

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
The latest version of mumps-include seems to miss a header file. Specifically, mumps_c_types.h from mumps-include has these lines:
/* mumps_int_def.h will define either MUMPS_INTSIZE32 (default)
   or MUMPS_INTSIZE64 (if compilation is with -DINTSIZE64 to
   match Fortran -i8 or equivalent option). This allows one to
   test from an external code whether MUMPS_INT is 64bits or not */
#include "mumps_int_def.h"

however mumps_int_def.h is missing from mumps-include.
Installed packages
mumps-include                         5.6.2         ha770c72_0               conda-forge
mumps-seq                             5.6.2         h5c37537_0               conda-forge

Environment info
-

Thanks for the report. I guess everything was fine for earlier version of mumps, right?

Yes, I believe that this is due to a change introduced in 5.5.1, where MUMPS was switching integer formats. The corresponding segment of mumps_c_types.h from 5.2.1 (the version that was previously packaged via conda) is:
#include <stdint.h>
#ifdef INTSIZE64
#define MUMPS_INT int64_t
#else
#define MUMPS_INT int
#endif

and so it doesn't include the other file.

Ok, I investigate a bit:

On Windows, the issue is not a problem as the 64-bit header is used (see https://github.com/conda-forge/mumps-feedstock/blob/2ca093101ca93c4be47246e018ead673985c9270/recipe/bld-seq.bat#L8)

On Linux/macOS, the 32-bit version is selected by the makefile:

2023-12-12T15:32:54.9625337Z if echo " -O " | grep DINTSIZE64; then cat mumps_int_def64_h.in > ../include/mumps_int_def.h; else cat mumps_int_def32_h.in > ../include/mumps_int_def.h; fi

However, this is not picked as mumps-include was built before the make script was ever execute.
So the possible action is to move mumps-include build after make as been run.
A non-directly related issue is that Windows uses 64 bit indeces, while Linux/macOS 32 bit. Was this intentional @minrk ?

Was this intentional @minrk ?

No, I updated the build scripts until they worked and figured defaults would apply. It probably makes sense to use 64b indices everywhere.

@minrk Wouldn't this blow in our faces as a huge ABI breakage? Maybe this package would need two build variants for 32 and 64 bit indices that can be explicitly selected via the build string?

If it had been out in use by any packages, it would be. But this change is only in a new version just published (which should perhaps be yanked), which presumably nobody can build against due to the missing header, which is the subject of this Issue.
Reading a bit more, I think we should stick with the 32b indices as the default, and the 64b choice for Windows was probably wrong.

The latest windows version win-64_mumps-seq-5.6.2-h1f49738_1 still misses the header file mumps_int_def.h, so I believe this issue was not completely fixed.


fix "Submit" and "Cancel" buttons not showing

Line 105 broke UI buttons

Hmm. Works fine for me on Safari Chrome and Firefox in any resolution.
How can I reproduce that?

Yes, I noticed now that I'm back on a bigger screen. Might be related to my laptop's screen size, will look into that later and post back here.

Actually, no, sorry. I'm on Safari Version 12.0.2 (14606.3.4) and cannot see any buttons for the "create new schema" sidebar at all – independent of my screen size.
I can confirm it works on Chrome and Firefox, though.

Weird. This is Safari 12.1 on MacBook Pro.

But I tested this fix and it doesn't break anything, so I can merge it. Weird though


Explicit port 80 gets lost for http proxies

Hi,
A user of rustup came to us yesterday with an issue they have.  Their corporate web proxy runs on port 80, not port 8080 and they cannot use rustup via our env_proxy support (forcing them to fall back to cURL mode).
As an example, I wrote a trivial echo-proxy program:
fn main() {
    println!("{:?}", env_proxy::for_url(&url::Url::parse("http://www.example.org").unwrap()).to_url());
}

If you run it as:
$ env http_proxy=http://corporate-proxy:80 cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/echoproxy`
Some("http://corporate-proxy:8080/")
$

You can see that the explicit :80 on the proxy variable has been eaten somewhere along the way.
I believe I have traced this through env_proxy::ProxyUrl::to_url() through its use of url.port().is_some() (which seems reasonable) into url::parser::Parser::parse_port() where it has:
if !has_any_digit || opt_port == default_port() {
            opt_port = None;
}

This means that if a URL has an explicit :PORTNR where that matches the default port number for the scheme in question (http and :80 here) then it claims the incoming URL had no port number.  As such your approach to detecting the port is not going to always work.
As I see it there are two options here:

An alternative, more explicitly preserving-of-form URL parser is used
A change to url is proposed in which the port (if present) is always recorded, and then perhaps not serialised back out if it's not needed.

Either way, right now this is blocking some rustup users from being able to use env_proxy and reqwest because of their corporate proxies using port 80 :(

@kinnison Nice analysis. While running a proxy on port 80 is... eccentric, it should be supported. The root of the problem is that a proxy URL uses the http scheme, but its default port is 1080 (cURL) or 8080 (env_proxy), instead of 80, and there is no way to tell that to Url::parse(). I know how I'd change url, and I'll propose the change by and by, but meanwhile I believe that I can patch env_proxy to sidestep the problem.

Ok, you can try the "explicit80" branch.

Okay, running that through my echo proxy test confirms that it works.
I am uncomfortable with the use of unsafe and while I understand the efficiency argument, I wonder if it might be better to have ProxyUrl carry an Option<String> for the scheme which should be used, and then unconditionally replace the scheme in the stored URL when it's set into ProxyUrl ? If you have a better discussion ongoing with url's upstream then ignore me :D
If you can make a release in which this functionality (in whatever form) is present, I'll udpate rustup for it.
thank you

I lost the unsafe and 0.3.1 will be up on crates.io shortly.

Awesome, thank you so much @inejge -- I shall update rustup tonight and ask the original bug reporter to check.

Confirmed as good by the bug reporter, thank you!


Update minimum experiment fx version to 57

We only want to install when Activity Stream is supported, so from 57 onwards.
Nightly currently reports extensions with minVersion 57.0 as incompatible and won't install them, so blocked until that changes.

Apologies, wrong repo


Config variables in the .env.local file problem

I try to move JWT_PASSPHRASE variable to the .env.local file and it fails with error:
"Environment variable not found: "JWT_PASSPHRASE".".
If I setup JWT_PASSPHRASE in the .env file, it works perfectly.
It looks like for now bundle doesn't support this feature. But what if I don't want to store this variable in the version control system?

I have a similar issue.
# .env
APP_SECRET=ThisTokenIsNotSoSecretChangeIt
# ...
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=secret

#.env.test
APP_SECRET=testSecret
JWT_SECRET_KEY='%kernel.project_dir%/config/jwt/test-private-nopass.pem'
JWT_PUBLIC_KEY='%kernel.project_dir%/config/jwt/test-public.pem'
JWT_PASSPHRASE=

I've placed a simple debug in my test:
var_dump('JWT_SECRET_KEY', $_ENV['JWT_SECRET_KEY']);
var_dump('JWT_PUBLIC_KEY', $_ENV['JWT_PUBLIC_KEY']);
var_dump('JWT_PASSPHRASE', $_ENV['JWT_PASSPHRASE']);

You'll never guess what the output is. Seems like all environment variables besides JWT_* env's are read from .env.test, but JWT_* env's are read from .env file... It doesn't make much sense and I'm not sure if it's a problem with your bundle or Symfony itself.
string(10) "APP_SECRET"
string(13) "s$cretf0rt3st"
string(14) "JWT_SECRET_KEY"
string(43) "%kernel.project_dir%/config/jwt/private.pem"
string(14) "JWT_PUBLIC_KEY"
string(42) "%kernel.project_dir%/config/jwt/public.pem"
string(14) "JWT_PASSPHRASE"
string(6) "secret"

Using Symfony 4.2.9 (with Dotenv 4.2.9) and Lexik 2.6.3.

Having no problem here since .env.local or .env.local.php will overwrite the .env.
Using Symfony 4.4 and 5.3.

I'm going to assume this was more a symfony/dotenv issue and close the ticket. If you still run into this, please comment so we can consider to reopen.
Thanks.


Remember the Timeline Sidebar Size

When reloading the project, the right sidebar of the timeline editor does not remember its last manually set size.
This pull request saves the size as project setting, assigns the correct size to all relevant containers, and sets the proper event button style.
Closes #2152

@CakeVR We have our own "editor settings" for this, stuff like this should not be stored in the project settings, because it's super annoying for vcs, especially in a team.
You should use:
DialogicUtil.set_editor_setting()
DialogicUtil.get_editor_setting()
Also I'll have to take another look, but I had tried to implement this originally, but somehow it didn't work, not sure if there are any leftovers from that attempt.

Thanks a lot, I use DialogicUtil now and it still works.

There is now an error, because initialized is using two different spellings!

Looks good to me. Thanks!


mat-datepicker is not working in IE

Reproduction
The issue occurs for specific users/machines in IE-11 with Windows 7 OS. When the user tries to open up the calendar, the pop-up is empty or blank. Below is the screenshot of the calendar from angular material site. The same is working well in Chrome.

So, when the user clicks on the input box, following is the error logged in console.
ERROR Error
"ERROR"
{
[functions]: ,
proto: { },
description: "",
message: "",
name: "Error",
number: -2147418113,
stack: "Error
at t.prototype._format (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:975134)
at t.prototype.format (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:973592)
at e.prototype._formatValue (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:1281835)
at value.set (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:1279347)
at pc (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:582858)
at Anonymous function (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:631193)
at Anonymous function (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:631081)
at Xm (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:629973)
at Dh (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:641070)
at Anonymous function (https://material.angular.io/main.424eb6dff99073b21ed0.js:1:2892784)"
}
=================
Expected Behavior
Calendar should be populated with dates as it does in all the browsers.
Actual Behavior
Calendar is not populating with the dates/entries.
Environment

Angular: 6.2.6
CDK/Material: 7.1.1
Browser(s): IE11
Operating System (e.g. Windows, macOS, Ubuntu): Windows 7

I wasn't able to reproduce it on a Windows 10 machine.

@crisbeto - Yes. Its working on windows 10 machine. The issue occurs in Windows 7 machine.

This give these two errors in console
ERROR RangeError: Locale 'default' is not well-formed
ERROR CONTEXT [object Object]

I am also facing this issue, any1 got any updates?

I also couldn't reproduce this on a Windows 10 PC w/ IE11. I don't think anyone on the team has access to a Windows 7 (or 8) PC, so if someone from the community wants to debug this to find the root cause that would be helpful.

Closing this issue because Angular is dropping support for IE11 in the upcoming version 13. We don't plan to fix any further IE11 bugs going forward.


p19

p19. You are right—we should be more clear that this is a simplified perspective, or else note the correct details.

p19: The type of random number seeds in QuickCheck comes from the tf-random package (which is in fact the paper you cited), not System.Random. Also, the Gen monad is not a reader monad because its bind operation performs a split: the type declaration is the same but the behaviour is entirely different (in particular the reader monad satisfies many laws which Gen does not).


Nil handling Unpaywall import

undefined method `[]' for nil:NilClass unpaywall_title = unpaywall_json['results'].nil? ? '' : unpaywall_json['results'].first['response']['title']
I don't think this is preventing anything from being imported, but it does add a lot of errors to the error log.  Would be best to resolve it.

Actually, I'm going to fix this now since it will clog up the "new" import.  unpaywall_last_checked_at does not get updated if there's an error.

Also, the unpaywall import was not updating unpaywall_last_checked_at even when there were no results from unpaywall.  We still want to set this to true so we aren't filling up the unpaywall backlog with things we've checked but haven't found anything.


bug: AppConfig id is not working as intended.

🐛 Describe the bug
This could very well have to do with the new Chroma.
Delete your db folder. Run this test script.
from embedchain import App
from embedchain.config import AppConfig

config = AppConfig(id="1")
elon_musk_bot = App(config=config)

# Embed Online Resources
elon_musk_bot.add("web_page", "https://en.wikipedia.org/wiki/Elon_Musk")

response = elon_musk_bot.query("How many companies does Elon Musk run?", dry_run=True)
print(response)

It looks like it works as intended.
ERROR:chromadb.telemetry.posthog:Failed to send telemetry event client_start: module 'chromadb' has no attribute 'get_settings'
ERROR:chromadb.telemetry.posthog:Failed to send telemetry event collection_add: module 'chromadb' has no attribute 'get_settings'
Successfully saved https://en.wikipedia.org/wiki/Elon_Musk. New chunks count: 361

  Use the following pieces of context to answer the query at the end.
  If you don't know the answer, just say that you don't know, don't try to make up an answer.

  In popular culture Elon Musk Ludicrous Power Play "Members Only" "The Platonic Permutation" "The Musk Who Fell to Earth" "One Crew over the Crewcoo's Morty" Elon Musk's Crash Course Related Boring Test Tunnel Hyperloop Musk family Musk vs. Zuckerberg SolarCity Tesla Roadster in space TSLAQ Twitter Files 2022 Twitter suspensions vte Elon Reeve Musk (/ˈiːlɒn/ EE-lon; born June 28, 1971) is a business magnate and investor. He is the founder, chairman, CEO, and chief technology officer of SpaceX;

  Query: How many companies does Elon Musk run?

  Helpful Answer:

Now change the id to config = AppConfig(id="2").
Expected behavior: It should not find the existing embeddings, because the existing embeddings are filtered with the where clause in the add method.
Actual behavior:
ERROR:chromadb.telemetry.posthog:Failed to send telemetry event client_start: module 'chromadb' has no attribute 'get_settings'
# these 4 lines 361 times
WARNING:chromadb.segment.impl.vector.local_persistent_hnsw:Add of existing embedding ID: c871e6271355a2148e2cbdf84fbcd8861832fc56a10b166e4170fb66268e93a1
WARNING:chromadb.segment.impl.metadata.sqlite:Insert of existing embedding ID: c871e6271355a2148e2cbdf84fbcd8861832fc56a10b166e4170fb66268e93a1
# these 4 lines 361 times
ERROR:chromadb.telemetry.posthog:Failed to send telemetry event collection_add: module 'chromadb' has no attribute 'get_settings'
Successfully saved https://en.wikipedia.org/wiki/Elon_Musk. New chunks count: 0

  Use the following pieces of context to answer the query at the end.
  If you don't know the answer, just say that you don't know, don't try to make up an answer.

  Query: How many companies does Elon Musk run?

  Helpful Answer:

It looks like chroma has internal deduplication, so no new chunks are added. But because the where clause is using the id, no context is received.
I also got it to actually error when changing ids, but I can't reproduce this
This means we need to rethink, if two id's cant have the same embeddings, if there's any use to having this functionality, or if it's better to remove it and rely on collections.
tagging @shashank42 because you originally implemented this in #189.

AppConfig is deprecated, so closing this issue now.


How to make the multi-level classification?

How to make the multi-level classification in the above picture?

How to dynamically get data through the server when switching tabs, without exposing apikey?
Use NUXT.js

You could have a field named category and another field name subcategory with the type repeater for your subcategories.
If you don't want to expose your apikey, go to your collection > permissions > public: view entries


I can't pull data

*** There is a device that measures tire tread depth and air pressure.
I made a connection but I can't pull data. Can you direct me on how to do it?
I pulled data using Android DLLs but failed with plugin.ble.
Note: The state in the device object disconnect after a certain time. I do not know the reason.
*** Source code I wrote
------------------------ Part-1 ------------------------
bluetoothBLE = CrossBluetoothLE.Current;
adapter = CrossBluetoothLE.Current.Adapter;
list = new ObservableCollection();
DevicesList.ItemsSource = list;
------------------------ Part-2 ------------------------
adapter.ScanTimeout = 10000;
adapter.ScanMode = ScanMode.Balanced;
adapter.DeviceDiscovered += (obj, a) =>
{
if (!list.Contains(a.Device))
list.Add(a.Device);
};
await adapter.StartScanningForDevicesAsync();
------------------------ Part-3 ------------------------
device = DevicesList.SelectedItem as IDevice;
await adapter.StopScanningForDevicesAsync();
var connectParams = new ConnectParameters(true, true);
await adapter.ConnectToDeviceAsync(device, connectParams);
------------------------ Part-4 ------------------------
var xservices = await device.GetServicesAsync();
var xservice = await device.GetServiceAsync(xservices[0].Id);
var Characteristic = await xservice.GetCharacteristicsAsync();
var xxxcharacteristicread = await xservice.GetCharacteristicAsync(xitem.Id);
var c = await xxxcharacteristicread.ReadAsync();
Version of the Plugin: 2.1.1
Platform: iOS 10.1 / Android 7.0
Device: samsung note 5 /i Phone 7 ...

Hi @MuhammetDeregozu,
I'm the friendly issue checker.
It seems like (62.50 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.
If you think it's fine to make an exception, just ignore this message.
But if you think it was a mistake to delete the template, please close the issue and create a new one.
Thanks!

@MuhammetDeregozu
How is it sending the data? Do you need to be subscribing to the notifications?
Have you tried connecting to it with a different app such as Nrf Connect to test and make sure things are working correctly?


Added json schema for range plugin

The json schemas are in separate files one for input and one
for output. The input could most probably be used by the UI
the output is what would be sent to the drools engine as object
definition

@benthomasson Please review

@mkanoor why the schemas are not placed in the schema folder?

@bzwei this is just a trial balloon we can discuss where it should sit. The schema folder I thought is for the ruleset and not for individual plugins. I kept it closer to where the source plugin is defined.


Added support for version ^2 of thecodingmachine/safe

Hi there!
This is just a dependency bump to allow the usage of thecodingmachine/safe:^2.0 with this package. Support for v1 is still included, and in fact required at the moment due to certain dev dependencies in this project not yet supporting v2.
Kind Regards,
Luke

Thank you

That was fast!


tokenization time remaining not working

on 7884: 3988320, 0.2% complete => Time remaining: ? --- elapsed time: 0.5881497859954834

I am not sure why I filed this issue - it seems to be working fine for me


glsl shader problem

glsl shader problem

opacity 0 is not avalible
gl_FragColor = vec4(1.0,0.3,0.3,0.0);

https://github.com/pixijs/pixi.js/issues/6542#issuecomment-612472089

if you have fg.rgb and fg.a = 1.0 to make it 0.5 you have to multiply whole fg
fg *= 0.5;

https://github.com/pixijs/pixi.js/issues/6542#issuecomment-612472089

if you have fg.rgb and fg.a = 1.0 to make it 0.5 you have to multiply whole fg
fg *= 0.5;

PixiJS uses premultiplied alpha. Hence, your color's RGB channel must be multiplied by the alpha. If alpha is zero, it is impossible for a premultiplied color to have RGB ≠ 0, 0, 0.

PixiJS uses premultiplied alpha. Hence, your color's RGB channel must be multiplied by the alpha. If alpha is zero, it is impossible for a premultiplied color to have RGB ≠ 0, 0, 0.


refactor: Replace GUIUtil::ObjectInvoke() with QMetaObject::invokeMethod()

A comment in 5659e73493fcdfb5d0cb9d686c24c4fbe1c217ed states that GUIUtil::ObjectInvoke

can be replaced by a call to the QMetaObject::invokeMethod functor overload after Qt 5.10

Approach ACK

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts
Reviewers, this pull request conflicts with the following ones:

#417 (Ditch wallet model juggling by promag)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.


API version is unstable

After updating the latest code, the sound changed when using the API call. The same model was working in the version released in mid-August. I don't know why. Has anyone encountered the same problem?

#1480 Check this


duplicate entries in range vector

Bug Report
What did you do?
I'm trying to identify the reason why, on a particular scrape target, rate() computation is systematically inconsistent for basically all counters.
For just one target on a particular instance, it appears that the range vectors rate() operates on aren't right to begin with. Looking at the data points of such a vector (anonymised):
counter_msg_total{label="mylabel", hostname="host4421"}[24h]
[..]
25863821 @1530790815
25863822 @1530790830
25863823 @1530790845
25863825 @1530790860
[..]

This target is scraped every 15s and given the label, there should be no more than 5760 data-points as it is the case for other targets. I'm getting 7200 instead with some duplicates
sort -k2n data-points.txt | perl -MPOSIX -pe 's/@(\d+).*/ctime $1/se' | uniq -c

      1 25863953 Thu Jul  5 04:59:30 2018
      1 25863954 Thu Jul  5 04:59:45 2018
      2 25863954 Thu Jul  5 05:00:00 2018              < - begin duplicate period
      2 25863956 Thu Jul  5 05:00:15 2018
[..]
      2 25864148 Thu Jul  5 05:29:30 2018
      2 25864148 Thu Jul  5 05:29:45 2018               <- end duplicate period
      1 25864148 Thu Jul  5 05:30:00 2018
      1 25864152 Thu Jul  5 05:30:15 2018

I'm seeing 12 such occurrences of duplicated data, 120 consecutive points  spanning 30 minutes. Interestingly, the start time is always an even hour, every 2 hours, and given we are using the following settings:
storage.tsdb.min-block-duration | 2h

I suspect periodic data snapshotting to disk might have something to do with this. Am I on the right track or this 2 hour alignment is just coincidental?
FWIW, Prometheus interprets these as resets:
resets(counter_msg_total{label="mylabel", hostname="host4421"}[24h])
12

it doesn't get therate() right however:
rate(counter_msg_total{label="mylabel", hostname="host4421"}[24h])
3295.033605371303

should be something like this:
$ sort -k1n data-points.txt | head -n1
25863820 @1530790800
$ sort -k1n data-points.txt | tail -n1
25879012 @1530877185
$ echo 'scale=8; (25879012-25863820)/86400' | bc
.17583333

Environment
Version  2.2.1
Go  go1.10

EDIT:

2 hour alignment remark

Can you try this with 2.3.1?

@jbenoist Any news on testing this with a newer Prometheus version?

@juliusv I haven't had the chance to give it a try on 2.3.1 yet :/
Hopefully in a week or so, I'll give you an update.

Good news, we have been running prometheus 2.3.2 for almost 24hours and the duplicate points are gone.

Thanks for reporting @jbenoist. I'm closing the issue, feel free to reopen if you see the problem again.


"Method has too many lines" check ignore blank lines

Here's my use case:
case day
when :monday
  Manager.new.do_something

when :tuesday
  Manager.new.tuesday!

 else
   Terminator.do_it

end

Now imagine you have 7 days in the week. I think the blank lines make the code more readable. (And Rubocop doesn't complain.)
Is there a way to suppress counting the blank lines for "Method has too many lines" check?
RuboCop version
$ rubocop -V
0.47.1

Metrics/MethodLength never counts blank lines. What report do you get?

I guess I should have checked before opening the issue. Thank you.


KMail on Plasma6 on wayland: "Plugin library 'ktexttemplate_defaulttags' not found."

Describe the bug
In kmail on plasma6 on wayland on nixos-stable, opening an email opens a window that says:
Plugin library 'ktexttemplate_defaulttags' not found.

Steps To Reproduce
Steps to reproduce the behavior:

Open a mail from kmail from kdePackages in a wayland session

Expected behavior
Email is shown
Screenshots

Notify maintainers
@NixOS/qt-kde
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.33, NixOS, 24.05 (Uakari), 24.05.git.cc54fb41d137`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/var/src/nixpkgs`

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

Installing kdePackages.ktexttemplate solves this, but IMO this should be automatically added when installing an application using it (kmail in my case), right?
@NixOS/qt-kde @ttuegel @vandenoever @nyanloutre


Now we can prepopulate the database by passing --test/-t

To speed up testing and development, I added a way to prepopulate the database with some users and restaurants.

Can you tell me which file contains the flask code actually?
I am not able to figure out which file connects with "html" files ?
On Mon, 3 Jan 2022 at 02:35, Marc Page @.***> wrote:

Merged #64 https://github.com/marcpage/scheduling/pull/64 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/marcpage/scheduling/pull/64#event-5833047382, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AT7PRY5I47HYZR6KT7WLMCDUUC42LANCNFSM5LECB3OA
.
You are receiving this because your review was requested.Message ID:
@.***>

There are five python files at the moment.

src/scheduling.py The flask app, all web server connection handling
src/model.py The SQLAlchemy database management code
src/tests/test_model.py The unit tests for model.py
src/tests/prepopulate.py Code that will prepopulate the database to make it easier to work with (if you pass --test)
src/tests/__init__.py A file needed to get the unit tests to run

src/scheduling.py is the code that starts the web server. I do have a bug in serving static (files that do not change) that I will put up with the pull request I'm working on now.


Switch the main page to HTMX

I've tested the code locally, everything works the same way as before, except main page now works faster.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

45 of 53 (84.91%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 89.474%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

backend/rest/server.go
38
46
82.61%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.1%

Covered Lines:
527

Relevant Lines:
589

💛  - Coveralls


Upgrade TypeScript, Jest, Prettier, etc. to modern versions

What problem does this PR solve?
I found that my code wouldn't compile when using modern TS syntax (e.g. ?. and ?? were not available). Upgrading TS required upgrading the rest of the dev environment stack.
What does this PR do?
The versions of the dev dependencies were very old, so I updated them to the latest versions. I ran the linter and fixed the new issues
What testing was done?
Ran UTs.

Curious what the timeframe might be for getting this merged and released?


Use lax.iota also for jnp.arange(0, stop)

This PR updates jnp.arange to also use lax.iota when calling it with jnp.arange(0, stop). jnp.arange(0, stop) and jnp.arange(stop) will now return the same Jaxpr.
This was inspired by https://github.com/google/jax/pull/10176#discussion_r846166229 as jnp.arange is often called with an explicit start argument that equals zero.

Want to add a test using jax.make_jaxpr? I can advise more if that's unclear.

Want to add a test using jax.make_jaxpr?

Good idea! I added a small test that verifies the Jaxpr and a test that checks for the correct floating behaviour.

@mattjj or @jakevdp looks like this PR slipped through the cracks, do you mind taking a quick look at it?


rajel718

Contact Details
<EMAIL_ADDRESS>Discord Username
No response
Code of Conduct

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

Hello, everyone.
As a senor web developer, I would like to join in this community.
Best regards.


Use gnark-crypto for felt and Pedersen hash

Towards #466
Description
Use gnark-crypto for the felt and Pedersen hash primitives.
Changes:

Replace felt package with starkcurve/fp package
Reimplement pedersen hash with starkcurve package, resulting in 3x performance improvement

Types of changes

Refactoring (no functional changes, no api changes)

Testing
Requires testing: No, only modifying existing tests in a few places (since Pedersen and PedersenArray functions no longer return errors in any situations).
Documentation
If this requires a documentation update, did you add one? Comments where appropriate.

Some things we need to figure out:

[ ] The feeder gateway has an inconsistent representation for felts (e.g., sometimes uses the 0x prefix, sometimes not). The strict unmarshaler in the fp sub-package only accepts strings with the 0x prefix. Previously, we had modified the felt package to fix this. Since we are now importing it as a third-party library, we need to find a different solution.
[ ] The implementation for PedersenArray previously returned an error if the user tried to hash an array with less than three elements. The spec doesn't say that the function is only defined for arrays with three or more elements, so I removed this behavior. Even though it probably won't have an impact (the PedersenArray is only used in a few places, every time on arrays of more than three elements), it would be best to double-check before proceeding.

Note to self: although the pull request is ready for review, we should probably wait to merge it until the stark-curve feature branch is in the latest gnark-crypto release.

Split this into two separate PRs #476 #475


[ISSUE #3088] format SQL

format SQL , fix #3088

Codecov Report

Merging #3132 (b21e687) into master (592288e) will decrease coverage by 0.39%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3132      +/-   ##
============================================
- Coverage     58.80%   58.40%   -0.40%
+ Complexity     4464     4420      -44
============================================
  Files           695      695
  Lines         20097    20094       -3
  Branches       1840     1839       -1
============================================
- Hits          11818    11736      -82
- Misses         7249     7322      +73
- Partials       1030     1036       +6

Impacted Files
Coverage Δ

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
68.75% <0.00%> (-31.25%)
:arrow_down:

...admin/controller/ShenyuHttpRegistryController.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
70.00% <0.00%> (-13.34%)
:arrow_down:

...in/disruptor/RegisterServerDisruptorPublisher.java
52.94% <0.00%> (-11.77%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
52.12% <0.00%> (-11.71%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
52.44% <0.00%> (-11.19%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
74.79% <0.00%> (-8.95%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

... and 26 more

Continue to review full report at Codecov.

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

Good job. If you want, you can add me on WeChat LL332595980 and invite you to join the shenyu contributor group.

Good job. If you want, you can add me on WeChat LL332595980 and invite you to join the shenyu contributor group.

my pleasure


Hotfix vendor libcontainer

This fixes a security vulnerability in Docker, which can cause a DoS
under certain circumstances. This is from the hotfix branch, so the
vendored commit is actually opencontainers/runc@bf899fef451956be4abd63de6d6141d9f9096a02
in runc master.
This needs to be merged into 1.10.
Signed-off-by: Aleksa Sarai<EMAIL_ADDRESS>/cc @crosbymichael @calavera @tiborvass @vdemeester

Nice, thanks for adding those tests.
LGTM

LGTM

please dont merge yet im still testing it

LGTM

Merging


[blas/lapack] force BLA_VENDOR in wrapper

to make sure we are actually picking up the selected blas/lapack from vcpkg.

/azp run

/azp run

/azp run

/azp run

This PR has been inactive for a long time, please reopen it if there is any progress.


[cxx-interop] Fix inline operators of address-only types.

This turned into a patch to actually fix operators for address-only instead of just add tests for them. Should be good to go, now. I may want to add a few more tests, though.

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


Show multiple selections in columns

I have added multi-select as the example shows. However, in the example, the multi-select is only saved in the form for each entity. When I try to display the multiple selections in a column, it doesn't appear. There are no console errors, and when I view the XHR payload, the column where my list is defined is part of the IncludeColumns:. I get a HTTP 200 status code for the XHR. When looking at the response data, there is no data for my list sent. Do I need to define a foreign key attribute on top of the multiselect attribute in order for Serenity to resolve my list data? Thank you for your help.

If you are using a List, you can't show this multi select simply as in SQL it is not possible in a performant way. It is possible to use FOR XML and parse returning string, but it is a bit complicated. For now, override on return method of your list handler, traverse entities, and select these related rows with IN critieria.

Ok. Thank you very much for your guidance.

I am using a CustClassField<List> for the collection from the multiple select control but I do not follow your comment about using XML.


[TINY] Fix to #4549 - ExpressionEqualityComparer NullReferenceException

@anpete

Is the indentation actually wrong or is it just the diff? Why didn't this fail in any of our tests? Should we add one?
Otherwise :shipit:

:shipit:

Fixed the indentation. We don't have the test for, but I don't think we really need one. This only repros if you manually create ParameterExpression using the Expression builder API. I will take a look at other expressions though to see if there are more NREs like this.


New version: GlobalSensitivityAnalysis v1.2.0

Registering package: GlobalSensitivityAnalysis
Repository: https://github.com/lrennels/GlobalSensitivityAnalysis.jl
Created by: @lrennels
Version: v1.2.0
Commit: 20295b05a661999e09b899401a3a0e143e3680ea
Reviewed by: @lrennels
Reference: https://github.com/lrennels/GlobalSensitivityAnalysis.jl/commit/20295b05a661999e09b899401a3a0e143e3680ea#commitcomment-45975152

The new version should have been 1.1.0 instead of 1.2.0, I fixed that here: https://github.com/lrennels/GlobalSensitivityAnalysis.jl/commit/ce1bd16bcf9a7f92adfed561ec8c94484d94466d

The new version should have been 1.1.0 instead of 1.2.0, I fixed that here: https://github.com/lrennels/GlobalSensitivityAnalysis.jl/commit/ce1bd16bcf9a7f92adfed561ec8c94484d94466d

I should have used version 1.1.0, not 1.2.0, which I have done in this commit ... not sure how to merge it with this one though https://github.com/lrennels/GlobalSensitivityAnalysis.jl/commit/ce1bd16bcf9a7f92adfed561ec8c94484d94466d

I should have used version 1.1.0, not 1.2.0, which I have done in this commit ... not sure how to merge it with this one though https://github.com/lrennels/GlobalSensitivityAnalysis.jl/commit/ce1bd16bcf9a7f92adfed561ec8c94484d94466d


Add Typography components

Here's a PR to address your feedback https://github.com/adobe/parliament-ui-components/pull/6


Run-From-Zip is set to a remote URL using WEBSITE_USE_ZIP app setting.

Does this occur consistently?
Repro steps:

Action: azureFunctions.deploy
Error type: 409
Error Message: Run-From-Zip is set to a remote URL using WEBSITE_USE_ZIP app setting. Deployment is not supported in this configuration.
Version: 1.0.1
OS: win32
OS Release: 10.0.18363
Product: Visual Studio Code
Product Version: 1.51.1
Language: en

Call Stack
new RestError extension.bundle.js:46:109835
extension.bundle.js:48:167633extension.bundle.js:48:167633
processTicksAndRejections task_queues.js:94:5

Please add repro steps

I found a way, thanks for the swift response!


Detect fast tracking

If a PR has a fast-track label on it, it should not be complained about. Right now there is a warning sign in case the PR is younger than 48 hours (do we check 72 hours on the weekend by the way?). But if the label is applied, that should not warn out of my perspective. And if the label is not applied, I would expect a error instead of just a warning.

@BridgeAR we do check for 72 hours on weekdays.

And if the label is not applied, I would expect a error instead of just a warning.

I dont think we can detect if a PR needs fast track
Can you elaborate more on what you need error for or don not have warning for.

I dont think we can detect if a PR needs fast track

We definitely can, that's what the fast-track label is for.

@apapirovski we do warn in case when PR has fast-track label i think @BridgeAR was talking about detecting if PR needs fast-tracking
(Correct me if am wrong)

In that case there doesn't seem to be much to do with this issue? I think @BridgeAR is just asking for the functionality that was implemented in https://github.com/nodejs/node-core-utils/pull/104/files

What I am asking for is a error instead of a warning. It is of course trivial to change that but I would really like to enforce using the label.

ncu handles fast-track properly today


Orchid

https://github.com/TheOrchid/Platform

Sorry, your project needs to get 100+stars: https://github.com/chiraggude/awesome-laravel/blob/master/CONTRIBUTING.md


Homepage carousel text falls behind cards on narrow screens

When a user browses the homepage with a narrow viewport, the carousel text falls below the image and sometimes ends up behind the homepage cards.
Screenshot:

Closed by #152


Using "As" with the field being sorted on produces incorrect SQL

Haven't delved into the code, so not sure if this is a "core" or SQL Server issue, but if I have this:
.Select(
  db.GeneratedKeys.KeyGenerationSessionId.As("DT_RowId"),
  db.GeneratedKeys.Key,
  db.GeneratedKeys.Description)

Where KeyGenerationSessionId is the PK, and therefore the default sort order, the SQL it generates includes the "AS [DT_RowId]" in the order by:
ROW_NUMBER() OVER(ORDER BY [dbo].[GeneratedKeys].[KeyGenerationSessionId] AS [DT_RowId]) AS [_#_]

If I remove the .As("DT_RowId"), or remove it from the first line and then add db.GeneratedKeys.KeyGenerationSessionId.As("DT_RowId") further down (so bring back the id as "itself" and also as DT_RowId) then it works fine.

Yeah, this is on the SQL Server provider; all the providers implement their own paging code.

@markrendle cheers - I'll hack at it and send a pull ;-)


LocalPath in URL

can i give my local file path in URL for generating PDF:
i am using : http://<IP_ADDRESS>:8080/convert/html2pdf?u=doctron&p=lampnick&url=file%3A%2F%2F%2Fhome%2Fshweta%2FDownloads%2Fvital_5fb7c71130463_20112020070929.htmll
But it gives m blank PDF instead of my html page.

can i give my local file path in URL for generating PDF:
i am using : http://<IP_ADDRESS>:8080/convert/html2pdf?u=doctron&p=lampnick&url=file%3A%2F%2F%2Fhome%2Fshweta%2FDownloads%2Fvital_5fb7c71130463_20112020070929.htmll
But it gives m blank PDF instead of my html page.

Unfortunately! Doctron can't reach the file in the local mechine because it's deployed in the container.


Remove grpc tools from package

Fixes https://github.com/Azure/azure-functions-python-worker/issues/392

There's some really bizarre CI failure happening for mypy code quality checks in 3.7. Tried repro-ing it with the same bits in my private branch using DevOps, and locally as well, but did not see it reoccur. I'm checking this in because there might be something on DevOps side causing the failure on this particular PR. Will debug some more if issue continues.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Create CODEOWNERS

I will handle merging this right after i release.

@all-contributors add @geoand and @melloware for code and maintenance

@all-contributors add @melloware for code and maintenance

@all-contributors add @melloware for code and maintenance


Add support for recursive CTEs

This is a WIP
Which issue does this PR close?

Closes #462
Rationale for this change

Datafusion should support recursive CTEs so that it can express calculations that depend on the results of previous iterations.
What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Started adding tests, will continue to add more.

I've been out for the last couple weeks because life got busy. I'll be back on this soon to push it over the finish line.

Rebased

@alamb Finally got around to cleaning this up. I think this is ready for initial review. Happy to hear what other tests/safeguards you'd like to see in the initial version. But would be great to get in so that I can continue layering on improvements without the PR blowing up into too much of a larger change.

cc @Dandandan  for your thoughts

I thought more about this PR last night and in the shower. First of all, I think the direction it is headed is great and would make a good addition to DataFusion. Thank you @matthewgapp both for the code as well as for your patience
In terms of implementation, I think there are a few items that we need prior to making this feature available for everyone

More test coverage (I hilighted some areas)
Memory limits (so a recursive CTE where the intermediate relation grows without limit will not cause the process to be OOM killed). This is to prevent a denial of service (DOS) attack vector against systems that use DataFusion by exploding memory

Some nice to have (but not strictly required) items:

Simpler API (as @jonahgao  and I have suggested)
A config flag to enable/disable support (as a way to protect against DOS)

In order to avoid a massive PR, my suggestion is to implement this feature in stages:

Add a config flag to enable/disable CTE support, default to disable
Add parser / LogicalPlan support in one PR
Add execution support in a second PR
Add memory limiting in another PR
Iterate / update tests
When we are happy that everything is working well, change the switches default to enabled by default

Thanks @alamb! Think this impl plan makes sense. I'll start knocking out the PRs. Also going to have a go at reworking the existing PR to use MemTable in the two plans (as @jonahgao mentioned here https://github.com/apache/arrow-datafusion/pull/7581#discussion_r1446062679). I'll link the resulting PRs to this one.

I think this PR has been superseded by other PRs on https://github.com/apache/arrow-datafusion/issues/462#issuecomment-1888183053
I think all that remains for CTE work is make sure it doesn't explode with memory and turn it on by default 🎉  (that is tracked by https://github.com/apache/arrow-datafusion/issues/462)


make keyPrefix default to $app->id for host-shared caches like Apc, Memcache

For shared caches, like APCu, Memcache, the defaut behaviour require to use keyPrefix, because of interpolability of hosting application, which share caches. So, defult configuration is not usabled.
I'm proposing set keyPrefix to \Yii::$app->id by default, so, the default configuration of \yii\cache\ApcCache, \yii\cache\MemCache become usable.

Q
A

Yii version
2.0.20

PHP version
7.2

Operating system
debian linux

That would cause backwards compatibility break. Won't be done in 2.x.

@samdark
lets implements it in 3.x
$app->id is the best place for Cache::keyPrefix, and the default configuration is not suitable to work because of cache intersect conflicts in multiple web-applications.


chore(.github): Update logback issues and prs assignee

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕
This is to update the PR and issue auto-assignees to api-logging-java-reviewers group.
If you write sample code, please follow the samples format.

Could you move the PR assignee to another PR? Otherwise LGTM.

Could you move the PR assignee to another PR? Otherwise LGTM.

Hi @gkevinzheng , this is the new PR separating out the changes: https://github.com/googleapis/java-logging-logback/pull/1229


Also delete breakdown when deleting connection

Quick fix, when deleting connection, also delete breakdown from the db. Also use debug mode by default, so we can see more info from sdx instance.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 2 (50.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 52.5%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bapm_server/main.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>1:
0.02%

Covered Lines:
768

Relevant Lines:
1485

💛  - Coveralls


New predicate NullPredicate

It's a concrete predicate. So make a domain predicate library for php types or incorporate it into  this framework.


Template do not return results data

In case with TemplateHTMLRenderer temlate do not have results array for use.
class MyList(MultipleModelAPIView):
flat = True
filter_backends = [filters.OrderingFilter]
serializer_class = MyListSerializer
renderer_classes = [JSONRenderer, TemplateHTMLRenderer, BrowsableAPIRenderer]
template_name = 'accounts/my/index.html'
add_model_type = False
def get_queryList(self):
    queryList = [
        ( Record.objects.filter(author = self.request.user), MyListSerializer, 'community')
    ]
    return queryList

In case with native generic DRF view, results data is set
class MyList(generics.ListAPIView):
filter_backends = [filters.OrderingFilter]
queryset = Record.objects.all()
serializer_class = MyListSerializer
renderer_classes = [JSONRenderer, TemplateHTMLRenderer, BrowsableAPIRenderer]
template_name = 'accounts/my/index.html'
add_model_type = False

So, I found the problem: the MultipleModelAPIView always creates a list, but the TemplateHTMLRenderer needs a dictionary to properly make template context.  So, I added a wrapper that checks to see if the requested format is html, and it will wrap that whole thing in the dictionary {'data': results} -- this means that your data will be available in the template now as:
{{ data }}

and, of course, you can get whatever you need from it, such as:
{{ data.0.recordAttribute }}

The new version is now up on PyPi, so grab it and let me know if there are any issues.


Fix typo in docs

I assume blacklist was meant here. (instead of whitelist)

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Hi, @SandraKriemann , actually, it's a whitelist but the text is confusing here.


Performance comparison with zkCNN.

Hi, thanks for your very practical work. Through a series of optimizations, the performance problem of zkml has been greatly solved.
We would like to learn more about how you compare the performance with zkCNN's work. The paper mentions "For zkCNN and pvCNN we estimate the proving time by scaling the largest model in the paper..., the proving time for the prior work is at least 10× higher than our method and up to 1,000× higher", we wanted to know more details and steps about how it was estimated.
Thanks!

We scaled the number of ReLU operations and the convolution sizes to match the smallest MobileNet in our paper.


Optimize parsing

This PR optimizes our handling of JSDoc comment parsing resulting in parse time improvements of 6-7%. Previously, on every AST node where a JSDoc comment could occur we would always re-scan the whitespace preceding the node during finalization of the node object. Now, the scanner provides a flag to indicate if any JSDoc comments precede the current node, and we use this information to only process JSDoc comments when they are actually present.

Note that #19979 broke parsing of arrow functions in one case. See here:
https://github.com/Microsoft/TypeScript/pull/19979/files#diff-5158944ac4103f3398a8f41ae0139069
The commit above to improve lookahead for arrow functions fixes this.

@mhegazy I'd like to merge this one, so take a look when you can. Other than the 6-7% improvement it contains a fix to a regression. See above.


Can't see a way to set the dome light position randomly

Hello,
I am trying to follow your NVISII API to set different things inside the DOPE (Deep Object Pose Estimation) training pipeline. Here is the pipeline script. Now I want to set the dome light position randomly but when I try to do that in this way:
 # Enable the dome light with the selected position
    light_position = random.choice(dome_light_positions)
    visii.enable_dome_light()
    visii.set_dome_light_position(light_position)

    # Randomly change the position of the dome light for each sample
    light_position = visii.vec3(
         random.uniform(0, 2),
         random.uniform(0, 2),
         random.uniform(0, 2)
     )

    visii.set_dome_light_position(light_position)

The python compiler tells me that there is no api like set_dome_light_position. Now how can I set the light position randomly ??

You can only rotate the dome light, you cannot move it sadly.

Yeah, dome lights have no position, since they’re meant to model the ambient light from the sky, which only rotates but does not translate.


[FIX] Use hr instead of div for divider

What's changed?

Added hr instead of div for Divider component

Why?

Semantically appropriate

How?

Replacing the div tag with hr tag and retaining the border color as the default color varies according to different browsers

Hey @aadilghani1
Thank you.
Please update jest snapshot.


Pre-processing on synthia4D

hi, i am wondering why you cut one frame into two pieces and use the loss of each piece to update the model when training with synthia4D? Is there any reason to do this?
Specifically, i don't understand why using the function called half_crop_w_context in datasets.synthia.

Hi, these processings are from the MeteorNet work.


projects made using the web app (grant_type password) are not accessible from the API

Is there a way to change this. I mean to be able to edit the projects made using the a real user account by another client account (API, grant_type client_credentials).

Yes, at the moment the client_credentials can only access the 'export' endpoints for the project assigned to it. But this will be addressed soon.
The original use case is, for example, if you have a mobile game that you want to update the localization files on start, the mobile game would connect to the API with the client_credentials grant type and get the data, without worrying that somebody could extract the credentials and manipulate the API.
The plan is to enhance this grant type by server validated scopes. So you can grant full or partial access to your API clients.


Adding asem hamid as  CODEOWNERS for Bengali

Describe your changes
This commit will add Asem Hamid as codeowners for the Bengali CNCF glossary.
Related issue number or link (ex: resolves #issue-number)
Tracking Issue: https://github.com/cncf/glossary/issues/410
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Requesting approval from  repository owner
/cc @seokho-son
/cc @jihoon-seo
/cc @iamNoah1

Hei @asem-hamid , all new approvers first need to read, understand and agree to the following discussion by commenting it: https://github.com/cncf/glossary/discussions/723
After that I need to open an PR in https://github.com/cncf/people to add the new approvers :)
cc @jihoon-seo @seokho-son

@iamNoah1 Understood  these policies ,,
comment done

/hold

@iamNoah1 Please let me know if something missing from my end

there you are @asem-hamid, thanks a bunch for your patience and your contributions :)

Thank you  @iamNoah1


App skips songs when internet disconnects, instead of staying at same song

OS: Windows 10
Issue Descriptions: When my internet disconnects, the app keeps skipping to the next song to find one that works, instead of waiting for the connection to return.
Steps to Reproduce: As described above.

@duplicate-issue-bot not even close :D

This is a GPM design decision.  Whenever the current song fails to play it automatically skips to the next one to try that out.  We can't change this behavior

I get it, thanks.


pxr.Tf.ErrorException:  Error in 'pxrInternal_v0_20__pxrReserved__::UsdStage::_SetValueImpl'

Hi,
when running the robot_control_example,

python -m omnigibson.examples.robots.robot_control_example

it reports the following error. It seems related to the object_state reset issue that I reported last week.
Traceback (most recent call last):
  File "/home/user/anaconda3/envs/omnigibson/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/user/anaconda3/envs/omnigibson/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/examples/robots/robot_control_example.py", line 145, in <module>
    main()
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/examples/robots/robot_control_example.py", line 95, in main
    env = og.Environment(configs=cfg, action_timestep=1/60., physics_timestep=1/60.)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/utils/python_utils.py", line 89, in wrapper
    func(*values.args, **values.kwargs)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/envs/env_base.py", line 70, in __init__
    self.load()
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/envs/env_base.py", line 282, in load
    self.reset()
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/envs/env_base.py", line 397, in reset
    self.task.reset(self)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/tasks/task_base.py", line 163, in reset
    self._reset_agent(env)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/tasks/dummy_task.py", line 30, in _reset_agent
    land_object(robot, np.zeros(3), np.array([0, 0, 0, 1]), env.initial_pos_z_offset)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/utils/sim_utils.py", line 340, in land_object
    place_base_pose(obj, pos, quat, z_offset)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/utils/sim_utils.py", line 278, in place_base_pose
    lower, _ = obj.states[AABB].get_value()
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/object_states/object_state_base.py", line 241, in get_value
    self.update_cache(get_value_args=key)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/object_states/object_state_base.py", line 113, in update_cache
    val = self._get_value(*get_value_args)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/object_states/aabb.py", line 9, in _get_value
    aabb_low, aabb_hi = BoundingBoxAPI.compute_aabb(self.obj)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/utils/usd_utils.py", line 276, in compute_aabb
    return cls._compute_flatcache_aabb(prim=prim) if gm.ENABLE_FLATCACHE else \
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/utils/usd_utils.py", line 315, in _compute_flatcache_aabb
    FlatcacheAPI.sync_raw_object_transforms_in_usd(prim=obj)
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/utils/usd_utils.py", line 438, in sync_raw_object_transforms_in_usd
    joint.set_attribute(f"state:{state_name}:physics:position", float(joint_pos))
  File "/data/omniverse/lib/isaac_sim-2022.2.0/OmniGibson/omnigibson/prims/prim_base.py", line 251, in set_attribute
    self._prim.GetAttribute(attr).Set(val)
pxr.Tf.ErrorException:
        Error in 'pxrInternal_v0_20__pxrReserved__::UsdStage::_SetValueImpl' at line 6028 in file /buildAgent/work/ca6c508eae419cf8/USD/pxr/usd/usd/stage.cpp : 'Empty typeName for </World/robot0/base_link/l_wheel_joint.state:angular:physics:position>'
Exception ignored in: <function _make_registry.<locals>._Registry.__del__ at 0x7fd1f0ef5b00>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 103, in __del__
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 98, in destroy
TypeError: 'NoneType' object is not callable
Exception ignored in: <function _make_registry.<locals>._Registry.__del__ at 0x7fd1f0ef5b00>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 103, in __del__
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 98, in destroy
TypeError: 'NoneType' object is not callable
Exception ignored in: <function SettingChangeSubscription.__del__ at 0x7fd3ef754f80>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/kernel/py/omni/kit/app/_impl/__init__.py", line 114, in __del__
AttributeError: 'NoneType' object has no attribute 'get_settings'
Exception ignored in: <function SettingChangeSubscription.__del__ at 0x7fd3ef754f80>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/kernel/py/omni/kit/app/_impl/__init__.py", line 114, in __del__
AttributeError: 'NoneType' object has no attribute 'get_settings'
Exception ignored in: <function SettingChangeSubscription.__del__ at 0x7fd3ef754f80>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/kernel/py/omni/kit/app/_impl/__init__.py", line 114, in __del__
AttributeError: 'NoneType' object has no attribute 'get_settings'
Exception ignored in: <function SettingChangeSubscription.__del__ at 0x7fd3ef754f80>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/kernel/py/omni/kit/app/_impl/__init__.py", line 114, in __del__
AttributeError: 'NoneType' object has no attribute 'get_settings'
Exception ignored in: <function SettingChangeSubscription.__del__ at 0x7fd3ef754f80>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/kernel/py/omni/kit/app/_impl/__init__.py", line 114, in __del__
AttributeError: 'NoneType' object has no attribute 'get_settings'
Exception ignored in: <function SettingChangeSubscription.__del__ at 0x7fd3ef754f80>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/kernel/py/omni/kit/app/_impl/__init__.py", line 114, in __del__
AttributeError: 'NoneType' object has no attribute 'get_settings'
Exception ignored in: <function SettingChangeSubscription.__del__ at 0x7fd3ef754f80>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/kernel/py/omni/kit/app/_impl/__init__.py", line 114, in __del__
AttributeError: 'NoneType' object has no attribute 'get_settings'
Exception ignored in: <function _make_registry.<locals>._Registry.__del__ at 0x7fd1f0ef5710>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 103, in __del__
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 98, in destroy
TypeError: 'NoneType' object is not callable
Exception ignored in: <function _make_registry.<locals>._Registry.__del__ at 0x7fd1f0ef5710>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 103, in __del__
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 98, in destroy
TypeError: 'NoneType' object is not callable
Exception ignored in: <function SettingChangeSubscription.__del__ at 0x7fd3ef754f80>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/kernel/py/omni/kit/app/_impl/__init__.py", line 114, in __del__
AttributeError: 'NoneType' object has no attribute 'get_settings'
Exception ignored in: <function Task.__del__ at 0x7fd3f0fd13b0>
Traceback (most recent call last):
  File "/home/user/anaconda3/envs/omnigibson/lib/python3.7/asyncio/tasks.py", line 146, in __del__
AttributeError: 'NoneType' object has no attribute '_PENDING'
Exception ignored in: <function _make_registry.<locals>._Registry.__del__ at 0x7fd1f0ef5710>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 103, in __del__
  File "/data/omniverse/lib/isaac_sim-2022.2.0/kit/extscore/omni.kit.viewport.registry/omni/kit/viewport/registry/registry.py", line 98, in destroy
TypeError: 'NoneType' object is not callable
Exception ignored in: <function RegisteredActions.__del__ at 0x7fc54b1c5ef0>
Traceback (most recent call last):
  File "/data/omniverse/lib/isaac_sim-2022.2.0/extscache/omni.kit.viewport.menubar.lighting-104.0.8/omni/kit/viewport/menubar/lighting/actions.py", line 345, in __del__
  File "/data/omniverse/lib/isaac_sim-2022.2.0/extscache/omni.kit.viewport.menubar.lighting-104.0.8/omni/kit/viewport/menubar/lighting/actions.py", line 350, in destroy
TypeError: 'NoneType' object is not callable

I will need to look into this a bit more. Meanwhile, could you set ENABLE_FLATCACHE to be False for now?


New package: JLWintun v0.1.0

Registering package: JLWintun
Repository: https://github.com/shuaixing86/JLWintun.jl
Created by: @shuaixing86
Version: v0.1.0
Commit: d7d4a9bb70ec5ccb06b25b9e070ec198c924893a
Git reference: main
Release notes:

In the windows system, Julia drives the TUN/TAP driver for Wireguard - wintun

It would be preferable to go with https://github.com/JuliaRegistries/General/pull/112370. The name similarity is a false positive and can be overridden.
However, the package still lacks a README that describes the purpose of the package and documents the available functionality, with a usage example.
I’m also not quite sure if Julia packages are supposed to wrap DLL files in this way… let me see if I can get back to you on that.

Even though the bot doesn't catch it, but JL as a prefix in the name is in the same category as "Ju" and similar redundant prefixes that generally are not allowed for Julia packages. Closing in favor of https://github.com/JuliaRegistries/General/pull/112370

最好选择#112370。名称相似性是误报，可以被覆盖。
但是，该包仍然缺少一个自述文件，该自述文件描述了包的用途并记录了可用的功能，并提供了一个使用示例。
我也不太确定 Julia 包是否应该以这种方式包装 DLL 文件......让我看看我是否可以就此回复您。

I can't use "wintun.jl"，Its name is very similar to a certain package, which caused Julia's review to fail

As you can see in https://github.com/JuliaRegistries/General/pull/112370, I've overridden the name similarity check. So Wintun.jl (starting with a capital letter!) is fine as a package name. The other issues (lack of documentation, not using BinaryBuilder) definitely need to be addressed, though.


Allow settings to be defined in wp-config.php

It would be great to have the option of defining settings win wp-config.php. Several plugins offer this, eg: https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/. It's great for devs and better for security when dealing with tokens etc.

@binaryfire Curious to know which constants or settings you want to be defined inside wp-config.php. Can you elaborate more on this?

thanks! i'm closing this as there's no plan to do this. we'd prefer to have the plugin be as simple and as easy as possible to use for all. all the settings and features we want to allow in the plugin should have an easy way to enable/disable in the UI


why?

hey! :-)
saw this rep of yours, and i read the README, but to me it is not clear why i would want to use x xeyes instead of just xeyes. could you maybe explain?

Try:
$ firefox

That should be enough of reason as you can see a ton of message being printed out for your debugging purpose, and you can't use the shell until the process ends.  Actually, you can, you just need to put it in background, but you wouldn't want to do it every time.  This is why I wrote x.
The x is a helper, just one line actually:
nohup "$@" &> /dev/null &

That is the entire source code.  (I watered it down with lots of comments)
You make me believe not many people have never practically use shell as launcher, if they do, they will find they need more terminal windows/panes, as shells are all occupied, and pretending all those messages being dumped out are not there to annoy them.
Even so, I still don't plan to expand the WHY? section to explain.
Please close the issue if you don't have any further questions or discussions to make.

its not that i don't know any problems like the ones you described, about starting X software from a terminal, but that if you don't explain what problems are solved by your code, i see no use in it, and won't use it.

@hoijui You've convinced me, I have edited in e2faaf6, hopefully that would clarify for people don't take a peek of the code, which mostly wouldn't that, even few might do, it's best to lay it out clearly, that's what this question really is about, I supposed.
I was too lazy to explain, thought it'd be obvious and only considering why from the terminal needed an explanation.  Thanks for the nudge!

I've renamed the repo to "Shell is the New Launcher," that's what this repo was supposed to do, to sell the idea, so to speak, not to sell the x.
When I got the idea of using the shell/terminal as launcher a year ago, that's like an eureka moment, but I lost sight when I decided to create a repo and making a simple Bash function into a one-liner script, because it's easier to install
When I read your words:

i see no use in it, and won't use it.

I didn't care, that's why I said I wouldn't expand WHY?, because I never had thought that anyone but me would actually make install after git clone, after all, it's just one single line, and that's why I used UNLICENSE, so anyone could just copy and paste.
The whole purpose of the repo is that WHY?, I wanted to convey my idea for people who have similar environment, redirecting their thoughts to what a launcher they are looking for.  For me, I don't need a launcher, a shell would do wonderful, but shell wouldn't work for anyone if it's using more conventional DE or non-tilting WM.
I shouldn't have put x under the spotlight in the first place, there was no mentions about the idea from your question, that telling me I've failed to tell the idea, whether I could put the idea in your mind, is it good or bad idea for you, that doesn't matter, because you didn't see I was trying to tell the idea, but the x, because I didn't try to in the original README.
I've reshaped and renamed the repo and rewrote the README.

boooaahhh!
it is perfect now, thank you a lot! :-)
and thanks for sharing your though process, too.
it is funny how we can have so many thoughs, write so many words, about a single line of code. but it makes a lot of sense.. it is like philosophy, and self reflection and thus.. meditation, psychology, and when interaction with others sparks from it, like in our case, it becomes a sociological issue too. ;-)
for me, at times when i am disconnected from theworld, deep into code, forgetting too much about the real world out there, something in me still takes note, and that something steers me towards sharing .. whatever.. be it coding, or my code, with other humans. sure, it is a meager way of interaction, but it shows the intention, the desire. yet, until there is feedback, the desire to share is just that, a desire, a hand reaching out into the dark of the night.
as itis now, it is real free software, perfectly explained, and really usefull!
i never had the idea to use/make such a launcher. with this explanation, it now seems like a no-brainer. also, even though i use the shell a lot since years, i did not know about nohup. ;-)
i have x in my path now.
nice to see reflection, as you describe it so well, in an other being.
ride on, my friend, ride on!


v2.wttr.in has no fahrenheit option?

With wttr.in you can specify results in Fahrenheit, but there seems to be no option for this in v2. Why is that?

Not yet implemented; no bad intentions of course; it will be implemented in future.
I close this as a duplicate of #376

@atobi16
I've added UCSC support for v2.wttr.in. Please test if it works for you.
It should switch automatically to USCS if you are in the US,
otherwise the mode should be activated with ?u, as usually.
$ curl v2.wttr.in/?u

If the USCS mode is active:

The temperature is displayed in Fahrenheit
The wind-speed is displayed in MpH


feat: Added support for object type

Codecov Report

Merging #75 (df27e0b) into main (d9dc17f) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
+ Coverage   91.32%   91.33%   +0.01%
==========================================
  Files           8        8
  Lines        1878     1881       +3
  Branches      278      279       +1
==========================================
+ Hits         1715     1718       +3
  Misses        161      161
  Partials        2        2

Impacted Files
Coverage Δ

src/types.ts
93.31% <100.00%> (+0.01%)
:arrow_up:

src/utility.ts
97.65% <100.00%> (+0.01%)
:arrow_up:

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


[Footer v2] Web Components & React: enhancements

User Story

As a [user role below]:
Carbon for ibm.com developer

I need to:
create/change the Footer v2

so that I can:
provide the ibm.com adopter developers components they can use to build ibm.com web pages

Additional information

Story within Storybook with corresponding knobs
Utilize Carbon
Create with Shadow DOM and Custom Elements standards
See the Epic for the Design and Functional specs information
Web Components Visual QA testing issue (#6356 )
Web Components Prod QA testing issue (#6358 )

Acceptance criteria

[ ] Include README for the web component and corresponding styles
[ ] Create Web Components styles in styles package
[ ] Do not create knobs in Storybook that include JSON objects
[ ] Break out Storybook stories into multiple variation stories, if applicable
[ ] Create codesandbox example under /packages/web-components/examples/codesandbox and include in README
[ ] Minimum 80% unit test coverage
[ ] Update the Carbon for ibm.com website component data file to be sure the web site Component Status and Storybook links are correct
[ ] Use the Visual QA checklist to verify design quality
[ ] Dragos is the designer and should be included as a Reviewer in the Pull Request
[ ] Provide a direct link to the deploy preview for the designer in the Pull Request description
[ ] A comment is posted in the Prod QA issue, tagging Praveen when development is finished

Closing as Dev work is combined in issue (#6354 ).  The Prod QA testing of both React and Web Components is included in issue (#6358 )


Follows you keep duplicating when going back and forth

Description
The follows you is duplicating
How to replicate the issue
Go to some users that follow you and go to your profile and back
https://user-images.githubusercontent.com/16746759/194730562-278c1fc3-2ab3-4647-801c-05711876a032.mov
Extension version
22.10.3
Browser(s) used
Chrome 105.0.5195.125

I was about to create a fix and then I saw this:
https://github.com/refined-github/refined-github/blob/c1f308405ae9ce5f712803265b93be537178863d/source/features/user-profile-follower-badge.tsx#L37
which looks like it relates to this issue

If you'd like to send a PR, you can use the selector-observer.ts, it has automatic deduplication. Check the other features to find out how to use it.
That decuplicate line can then be dropped, it's obsolete.

If you'd like to send a PR, you can use the selector-observer.ts, it has automatic deduplication. Check the other features to find out how to use it.
That deduplicate line can then be dropped, it's deprecated.

Oh sorry missed your comment, was on vacation


Discovery example breaks on resize on desktop

Describe the bug
In certain conditions a full-size PortalEntry's size is not updated when resizing the window.
To Reproduce

Replace the discovery example's build method with this. I can't get it to reproduce with the PortalEntry around the floating action button, but around the other button it reproduces consistently.

 @override
  Widget build(BuildContext context) {
    return Portal(
      child: MaterialApp(
        home: Scaffold(
          appBar: AppBar(title: const Text('Discovery example')),
          body: Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                const Text('You have clicked the button this many times:'),
                Text('$count', style: Theme.of(context).textTheme.headline4),
                Discovery(
                    visible: showDiscovery,
                    description: const Text('Click to increment the counter'),
                    onClose: () => setState(() => showDiscovery = false),
                    child: ElevatedButton(
                      onPressed: () => setState(() => showDiscovery = true),
                      child: const Text('Show discovery'),
                    )),
              ],
            ),
          ),
          floatingActionButton: FloatingActionButton(
            onPressed: _increment,
            child: const Icon(Icons.add),
          ),
        ),
      ),
    );
  }

Generate the desktop files by running flutter create . in the examples folder with a desktop configuration enabled
Run the app
Resize the window, it's not super consistent, but it does happen more if you drag the bottom right corner of the window to the far right of the screen and then drag down a ways.

See the following:

Expected behavior
The full-size PortalEntry overlay should resize like the rest of the window (which does update appropriately), the PortalEntry that follows the button is fine, just the barrier doesn't fill the space.

Hi, this issue maybe related, since it is also about problems when resizing: https://github.com/rrousselGit/flutter_portal/issues/53

Still is happening, a more reliable way to reproduce the problem is not to resize by the corner, just the bottom of the window. If you drag down quickly you will see it. It doesn't have the same issue for horizontal resizing though.

I looked at the issue you mentioned. I think that is the root cause. I switched it to a Row and got horizontal resizing issues instead of vertical. Wrapping in a Flexible or Expanded seems to fix it, I'll close this in favor of #53, but I think the Flexible / Expanded workaround is not great, because we don't always want the widget to fill the full width / height.

Thanks for the information :)


Fixed formatting and hover effects for social media buttons

My previous pull request had error of formatting that is fixed.
Added hover effects for social media buttons.
Fixes #123

I have starred the repository.


Update to 1.2.6

Update packages for v1.2.6
Package changes
main packages:

e3sm_diags - 1.6.1 (py2), 1.7.1 (py3)
geometric_features - 0.1.1
mpas-analysis - 1.2.4
mpas_tools - 0.0.3
nco - 4.8.1
zstash - 0.2.0 (py2), 0.3.0 (py3)
processflow - 2.2.1 (py2)

dependencies:

output_viewer - 1.3.0
xarray - 0.11.3 (py2), 0.12.3 (py3)
dask - 2.1.0
pyproj - >=1.9.6,<2.0.0
proj4 - >=5.2.0,<6.0.0
hdf5 - 1.10.5
netcdf4 - <IP_ADDRESS>
jigsaw - nospec
metis - nospec
pyflann - nospec
scikit-image - nospec
pyamg - nospec
ffmpeg - nospec

processflow has been moved to its own separate environment because of incompatibilities between ncl and basemap, see #51
closes #51

@rpwagner, looks like CI is failing because we've lost our access token.  Care to take a look?  This version of e3sm-unified is a long way from ready, so no rush.

Not ready to merge until #51 gets addressed.

It's failing due to a chicken and egg problem:
Solving environment: ...working... failed
PackagesNotFoundError: The following packages are not available from current channels:
  - e3sm-unified=1.2.6

I was thinking about this, and the definition file for CI shouldn't have a pinned version. That doesn't make sense. We can pin versions for releases.

@rpwagner, I see.  I should have realized that the current source code isn't being used to build the package that goes into the module.  I think unpinning the version is probably not a good idea, since it would likely give the misimpression that the current recipe for the conda package is building in CI, which is not the case.  Instead, I think the right solution is to leave the version pinned at 1.2.5 for now and update it once the packages have been uploaded to the e3sm channel.
Thanks for the help!

@rpwagner, just FYI, the new container seems to have built successfully now that I uploaded the packages to the e3sm channel.


Tolerance

truncate rand value to avoid numerical issues
there is one other rand in test_dependency_bugs.py not sure if should be changed too

Codecov Report

Merging #870 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #870   +/-   ##
=======================================
  Coverage   88.88%   88.88%
=======================================
  Files         104      104
  Lines       11674    11674
  Branches     2290     2290
=======================================
  Hits        10377    10377
  Misses       1009     1009
  Partials      288      288

Continue to review full report at Codecov.

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

merged.


Sass comments are not ignored

Sass silent comments (//) are not ignored by jscpd.
Steps to reproduce
Create two .scss files
1.scss
// Copyright (c) 2015, salesforce.com, inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
// Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
// Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

  All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
// Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
// Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

 IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

bar { padding: 0; }

Run jscpd
jscpd --files "*.*" --languages css --skip-comments

Expected
Found 0 exact clones with 0 duplicated lines in 0 files

Actual
info:    Found 1 exact clones with 7 duplicated lines in 2 files

	- 1.scss: 1-8
	 2.scss: 1-8

thank you, I'll test it

and fix :)

fixed in<EMAIL_ADDRESS>

Thank you so much!


Karate benchmarking: Why is karate having high cpu usage for a load testing of just 25 minutes

I am working on a benchmarking of Jmeter and Karate for load testing and see which would suite our needs. Surprisingly enough Karate is consuming too much of cpu. I have invariably kept the config same for both karate and Jmeter but still this issue. What's happening here, any help or suggestions would be highly appreciated.
Have attached the required codebase as per guideline mentioned
@peter Thomas, need help here.
AutomationKaratePerfBackup.zip
Resource usage before Execution:

Resource usage after Jmeter Execution:

Resource usage after Karate Execution:

@birajksahu sorry see screen shot. this is not valid, try again:

@birajksahu I thought I made it clear with examples how other teams have done this in the past, but let me try again https://github.com/intuit/karate/issues/1668 | https://github.com/intuit/karate/issues/845

@birajksahu ignore my previous message, I was looking at the wrong version. see screenshot below. I can't use this project because it is making calls to some unknown IP - and doing a perf test is dangerous because of so many reasons. please use the links above as a reference.

@birajksahu and as I said before, ideally you should provide the equivalent JMeter project to compare

@ptrthomas

s to some unknown IP - and doing a perf test is dangerous because of so many reasons. please use the links above as a reference.

This is not unknown IP, this is my personal server hosted on digitalocean. I have the mock application made in node js here.
If you still want to use your own server, then you can use below code and save as server.js file to build the application.
`var express = require('express');
const app = express();
var PORT = 3030;
var countRequest = new Map()
var a=0
app.post('/sample_post', async function(req, res) {
/* let key=new Date().getMinutes() + ":" + new Date().getSeconds();
if(countRequest.has(key)){
countRequest.set(key,countRequest.get(key)+1);
}
else{
countRequest.set(key,1);
}
a++; */
res.status(200).send("Ok");
});
app.get('/request_count',async function(req, res) {
countRequest.set("Total",a)
res.status(200).send(JSON.stringify(Array.from(countRequest.entries())));
});
app.listen(PORT, function() {
console.log('Server is running on PORT:',PORT);
});
`
if you need any further information do let me know.

@birajksahu I'm leaving this on the project board for others to investigate: https://github.com/intuit/karate/projects/3#card-68417162
just try to make this "self contained" as far as possible. it just increases the chances that someone picks this up. now it is up to you or the community

@ptrthomas
Please find the attached attached JMeter file.
PerformanceTest.zip


introduce 'flatten_arrays()' (to overcome pointer hack)

Usable and tested as drop in replacement for the CLOUDSC Loki C transpilation

do we want to keep the original pointer hack as another option or just replace it?

Convert e.g.,
  INTEGER, INTENT(INOUT) :: x1(l1)
  INTEGER, INTENT(INOUT) :: x2(l2, l1)
  INTEGER, INTENT(INOUT) :: x3(l3, l2, l1)
  INTEGER, INTENT(INOUT) :: x4(l4, l3, l2, l1)
  DO i1=1,l1
    x1(i1) = ...
    DO i2=1,l2
      x2(i2, i1) = ...
      DO i3=1,l3
        x3(i3, i2, i1) = ...
        DO i4=1,l4
          x4(i4, i3, i2, i1) = ...
        END DO
      END DO
    END DO
  END DO

to:
  INTEGER, INTENT(INOUT) :: x1(l1)
  INTEGER, INTENT(INOUT) :: x2(l2*l1)
  INTEGER, INTENT(INOUT) :: x3(l3*l2*l1)
  INTEGER, INTENT(INOUT) :: x4(l4*l3*l2*l1)
  DO i1=1,l1
    x1(i1) = ...
    DO i2=1,l2
      x2(i2 + l2*(i1 + -1)) = ...
      DO i3=1,l3
        x3(i3 + l3*(i2 + l2*(i1 + -1) + -1)) = ...
        DO i4=1,l4
          x4(i4 + l4*(i3 + l3*(i2 + l2*(i1 + -1) + -1) + -1)) = ...
        END DO
      END DO
    END DO
  END DO

However:
currently not handled are arrays like
NTEGER, INTENT(INOUT) :: x4(0:l4, 0:l3, 0:l2, 0:l1)

This complicates things a lot and the question is how to handle this especially regarding the f2c transpilation... thus, whether this utility should handle that or whether another utility/transformation before flattening the arrays is more appropriate.

Old/"pointer cast hack" version

compiles and runs with Intel
won't compile with NVHPC

New/"index arithmetic" version

compiles and runs with Intel
compiles with NVHPC and runs for NPROMA=1,2

however, floating point exception for different NPROMA
works with arbitrary NPROMA compiling with -O0 instead of -O2 (haven't checked for -O1)

    * however, floating point exception for different `NPROMA`
    * works with arbitrary `NPROMA` compiling with `-O0` instead of `-O2` (haven't checked for `-O1`)

This suggests to me that we see one of the recurring vectorization-related issues. Does this occur in the kernel itself or the validation routine?

    * however, floating point exception for different `NPROMA`
    * works with arbitrary `NPROMA` compiling with `-O0` instead of `-O2` (haven't checked for `-O1`)

This suggests to me that we see one of the recurring vectorization-related issues. Does this occur in the kernel itself or the validation routine?

Yes ... must be kernel itself, as the rest (including validation) is still (the original) Fortran?!


⚠ ClamAV has degraded performance

In 4519e28, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in ce1a6ca after 537 days, 7 hours, 55 minutes.


Cleaner teardown for better error reporting

This fixes #473 and fixes #474:
The PR changes the layout of the outermost run() function, to encapsulate cleanup code via context managers. This allows to better understand the exception flow during teardown.
Secondly it fixes an issue, where exceptions caught by the node monitor would not raise all the way up to run_scenario. This lead to situations where the scenario player would fail because of self inflicted network errors (i.e. the node monitor stopped another node after an error, but run_scenario still tried to access it).

@konradkonrad Looking at this again, shouldn't we do something with the report variable? https://github.com/karlb/scenario-player/blob/master/scenario_player/main.py#L239-L291

@konradkonrad Looking at this again, shouldn't we do something with the report variable? https://github.com/karlb/scenario-player/blob/master/scenario_player/main.py#L239-L291

Oh well, with the mail reporting gone, we can also get rid of this one now...


Crashes on startup

log.txt
it seems to have issues when loaded with the mods ive got listed in the log, without tree hollows loaded, it works fine but id like to use this mod so yeah
mc 1.18.2
fabric 0.14.0
fabric api 0.51.1

Oh, it seems it's my code for compatibility with Architect's Palette breaks here. I'll look into it when I'll have time and energy

Should be fixed in 1.3.3 (at https://www.curseforge.com/minecraft/mc-mods/tree-hollows/files/3770045 once it's approved)


[Debugger] Run To Cursor on comment line causes incorrect breakpoint UI behavior

Issue Type: Bug

Create an app.js file with the following code:

var msg = 'Hello, World!';
const i = 'foo'; // breakpoint here
let x = Math.pow(3, 4);
let y = 1;
if (y === 1)
{
    // this is a comment, run to cursor on this line
    x = 4;
}

console.log(msg);

Set a breakpoint on const i = 'foo' line
After hitting the breakpoint, right click on the comment line and select Run To Cursor

Expected: Debugger stops on x = 4, no additional breakpoint glyphs are shown in the UI.
Actual: Debugger stop on x = 4, two breakpoint glyphs are shown on the line.


Make projects index summary responsive

Changes
Currently, the projects index summary wraps onto two lines when overlaps occur on small viewports and doesn't look great. We want to ensure the summary looks good on any screen size.
This applies responsive styling to the summary when the viewport is smaller than desktop size. Unfortunately, this was difficult to achieve with the GOV.UK grid system, so instead uses flexbox.
This includes a general tidy up of the component, which defines a govuk-section-break--s class that is absent from the GOV.UK Frontend styles.
Checklist

[x] Attach this pull request to the appropriate card in Trello.
[x] Update the CHANGELOG.md if needed.

 Make project index view responsive


Add SearX plugin

SearX is a privacy-respecting, hackable metasearch engine. The link points to the main instance at https://searx.me.

@invariant: Any interest in this at all? Please let me know as I would otherwise close this pull request. Additionally, as there appears to be an immense backlog of unresolved issues and pull requests, let me know if you could use a hand. I'd be happy to help out as a collaborator.

I need to have a think about how to deal with extension submissions. You are right it clearly isn't working!


Refactor LogSorter to use config

Refactor LogSorter writeBuffer to allow use of system configuration
when writing out sorted rfiles. This will use configured settings on the
sorted files instead of only the defaults.

The change looks fine. My only concern about this change is that it doesn't fully fix the issue. As far as I can tell, the configuration that is being passed in is always the system config, and never the per-table configuration, in spite of per-table properties being read from it later on.

The change looks fine. My only concern about this change is that it doesn't fully fix the issue. As far as I can tell, the configuration that is being passed in is always the system config, and never the per-table configuration, in spite of per-table properties being read from it later on.

Correct. It is only an improvement of what is there. This doesn't fix https://github.com/apache/accumulo/issues/2187


Notes application numbers

**As a ministry user I want all notes to have an application number when applicable. This is important for being able to identify where restrictions were applied or to what application work was done.
Acceptance Criteria

[ ] Add "Application #" under the date in the notes UI for each time a note is added if applicable.
[ ] If there is no application number attached then leave it blank and do not populate either new item

How it should look if there is an application number available to be attached

How it should look if there is no application number available to be attached

Additional Context
Lower priority for manually entered notes as they can add application numbers to their note requirements
This is higher priority for system created notes or notifications such as restrictions

I think adding this in can be helpful, maybe at the bottom of the note with other automatic details (time/user)? Or in the header beside "Application"


Sigma

Add functionality for calculating surface density on CPU and with CUDA

We're missing some of the test infrastructure to make sure this doesn't run cuda tests when it cannot. However we can add that later.


Move to .Net Standard2

Motivation
In order to use OLLAMA with a maximum of .Net application, I suggest to deliver your package in .NET Standard2.0 which is more convenient for libraries rather than .NETCore8.
What changed

Change the target framework to netstandard2.0
Use System.Net.Http.Json NuGet package
Adapt the code to support the NuGet package.

Thanks for the PR, I'll update the other nuget also to netstandard2.0