FastClasspathScanner#overrideClassPath do not work correctly

version
2.0.1
background
I write a framework, then I put all plugin jar on specified directory. So I need FastClasspathScanner to get all class implements the plugin interface.
issue
plugin jar directory: D:/xxx/procedure/class
file:xxx-procedure-auth-1.0-SNAPSHOT.jar
code:
 FastClasspathScanner scanner = new FastClasspathScanner();
 scanner.overrideClasspath("D:/xxx/procedure/class/xxx-procedure-auth-1.0-SNAPSHOT.jar");
 ScanResult scanResult = scanner.matchClassesImplementing(Procedure.class, clazz -> {
            System.out.println(clazz.toString());
        }).verbose().scan();

output:

195011028-05-14T09:40+08	FastClasspathScanner	FastClasspathScanner version 2.0.1
195012084-03-27T20:03+08	FastClasspathScanner	Overriding classpath
195012131-08-18T07:06+08	FastClasspathScanner	-- Adding classpath element: D:/xxx/procedure/class/xxx-procedure-auth-1.0-SNAPSHOT.jar
195012861-12-29T12:50+08	FastClasspathScanner	Scanning jarfile D:\xxx\procedure\class\xxx-procedure-auth-1.0-SNAPSHOT.jar (took 0.008536 sec)
195013056-12-11T21:00+08	FastClasspathScanner	-- Found whitelisted file in jarfile: META-INF/MANIFEST.MF
195013063-06-07T16:40+08	FastClasspathScanner	-- Found whitelisted file in jarfile: com/zz/xxx/GetUserProcedure2.class
195013118-07-07T04:40+08	FastClasspathScanner	-- Found whitelisted file in jarfile: META-INF/maven/com.zz.xxx/xxx-procedure-auth/pom.xml
195013123-09-19T20:13+08	FastClasspathScanner	-- Found whitelisted file in jarfile: META-INF/maven/com.zz.xxx/xxx-procedure-auth/pom.properties
195013237-05-10T14:26+08	FastClasspathScanner	Classpath element order:
195013244-05-18T01:40+08	FastClasspathScanner	-- 0: D:\xxx\procedure\class\xxx-procedure-auth-1.0-SNAPSHOT.jar
195013520-11-27T20:06+08	FastClasspathScanner	Parsing classfile jar:D:\xxx\procedure\class\xxx-procedure-auth-1.0-SNAPSHOT.jar!com/zz/xxx/GetUserProcedure2.class (took 0.003717 sec)
195013576-11-05T18:46+08	FastClasspathScanner	-- Found class com.iflytek.xxx.GetUserProcedure2
195013580-02-27T15:33+08	FastClasspathScanner	---- Superclass: java.lang.Object
195013634-07-26T13:50+08	FastClasspathScanner	---- Interfaces: com.zz.xxx.procedure.Procedure
195013637-08-03T15:03+08	FastClasspathScanner	---- Annotations: com.zz.xxx.procedure.annotation.Proc
195013645-06-28T12:43+08	FastClasspathScanner	Building class graph (took 0.005518 sec)
195013864-03-15T13:30+08	FastClasspathScanner	Calling ClassMatchProcessors
195014035-02-08T09:46+08	FastClasspathScanner	-- Matched class implementing interface com.zz.xxx.procedure.Procedure: com.zz.xxx.GetUserProcedure2
195014056-06-01T16:00+08	FastClasspathScanner	Exception while calling ClassMatchProcessor: java.lang.RuntimeException: Exception while loading or initializing class com.zz.xxx.GetUserProcedure2
195014061-01-03T17:10+08	FastClasspathScanner	Completed scan (took 0.079989 sec)

Load or initializ class failed. Why?

I have found the problem. FastClasspathScanner use default AppClassLoader/BootstrapClassLoader to load class,  so it can not find self defined directory class when loading  plugin class name.

Thanks for the report, and thanks for figuring out the root of the problem. Just so I understand, you manually overrode the classpath with the jar path that you passed to the scanner, but is the jarfile you listed not actually on the Java classpath? This would explain why Class.forName() doesn't work.
If that's the case, you can add that jar to the classpath, or you can use the methods that don't actually try to instantiate the class, e.g. ScanResult#getNamesOfClassesImplementing(Procedure.class)
Does that work? Or is there still an issue with FastClasspathScanner?

@lukehutch  Yes,That's the point.
Add all plugin jars in classpath is a good way, but now I have something confused too. The framework I write support to add/remove/update plugin jar  dynamically. So I have to watch all plugin jars for loading/uninstalling/overriding plugin component in runtime, then I need a custom classloader to load all plugin class with full control and isolate plugin class from default runtime env. If I want to use FastClasspathScanner to do this,  perhaps I need to write more code based on FastClasspathScanner.

I don't understand what you mean about dynamically loading/uninstalling/overriding plugin components at runtime. It's very complicated to do this:
http://tutorials.jenkov.com/java-reflection/dynamic-class-loading-reloading.html
Is this what you mean?  Even if so, you still need a ClassLoader to do the class loading, so anytime a plugin is "loaded", Class.forName() should work.
If you want to detect classes with FastClasspathScanner and a custom classpath, but without loading classes, that's totally fine, you just don't use a MatchProcessor for this ("Mechanism 1"). Instead use "Mechanism 2" or "Mechanism 3". See here:
https://github.com/lukehutch/fast-classpath-scanner/wiki/1.-Usage
Neither Mechanism 2 nor Mechanism 3 tries to load the classes using a Class.forName(), and the classes don't need to be loaded using a ClassLoader either.
Does that solve your issue?

Sorry , I have not explain all of that more clearly.
Now I  will explain my framework action.
==================================================
Plugin Class Demo
public interface Plugin {
     void execute(String[] params);
}

Auth.jar (a plugin jar)
@Plugin("auth")
public Auth implements Plugin {
     public void execute(String[] params) {
           .......................do something
     }
}

Step 1: Now I put auth.jar into plugin directory named A (not in classpath ). When I start my app,  the framework need to find all class implements of Plugin in specified directory A. Then load Auth.class and instantiate the class. Every plugin have a name, Auth.class defined by plugin annotation. Then in the memory, app get a map ("auth"-> AuthInstance). If app get a request with action name "auth", then AuthInstance call execute method.For isolation and safety , directory A is not be added in to classpath, so Class#forName can not load Auth.class, the framework have a custom classloader to load all plugin jars.
Step2: App is running, then I  put Store.jar in directory A. The framework need to watch directory A, and load added Store.class. ..... The app get map(auth->authInstance, store->storeInstance).
Store.jar (a plugin jar)
@Plugin("store")
 public Store implements Plugin {
      public void execute(String[] params) {
            .......................do something
      }
 }

Step3 Now app is running, I put Auth2.jar with the same plugin name auth in directory A.The framework need to load Auth2.class
and instantiate this and replace the AuthPlugin before. So app get a map ("auth"-> Auth2Instance, "store"->StoreInstance).
Auth2.jar (a plugin jar)
@Plugin("auth")
public Auth2 implements Plugin {

	public void execute(String[] params) {
	   ...........do something
	}

}

As above , that's what I want to do.
Two tips:
   1. For safety and isolation, I can not put plugin jars in classpath, I only need to have a custom classloader.
   2. I need to instantiate all plugin class.

Sorry for my pool english.
That's all.

OK, then please see my previous comment. You need Mechanism 2 or Mechanism 3. You were using Mechanism 1, which is what is causing your problem. Mechanisms 2 and 3 do not require the classes to be on the classpath, and they do not require classes to be loaded to be detected.

Now I understand what you mean. You let me use Mechanism 2 or Mechanism 3 to find class. After finding class, Load class and instantiate class are my work. Yes, that's a right way.

Correct, yes. The classloading is entirely up to you. But Mechainsms 2 and 3 were created to solve exactly this sort of problem: finding classes without even calling the ClassLoader. (You correctly identified that you will need to manually override the classpath in your case, since you are scanning jars that you don't want to be in the classpath.)
Try it out, and let me know if this works for you. (It should work.)

Hi, can you please confirm if the suggested mechanisms fix this problem for you? If so, please go ahead close the bug. Thank you!

@lukehutch Sorry for forgetting it. Yes, as you suggested, I use Mechainsms 2 find all target class and use self defined ClassLoader to load class. It works well.

@DefconZhou great, glad it works for you. Thanks for the report, please let me know if you find any other issues.


Uncontrolled motor spinup when using only index pulse calibration

If the motor is disabled due to an error (e.g. ERROR_DC_BUS_OVER_VOLTAGE = 0x04) and I use odrv0.reboot() or power cycle then the motor will begin to spin up to full speed. If I then restart again control returns to normal.
If I power-cycle or reboot without an error condition then the startup is normal. I have also noticed that if I power cycle over and over at short intervals I can cause the spinup problem.

Ok, sorry for the delay. V3.2 board running of 14.8A PSU, 280KV SK3 motor with 8192 AMT102 encoder. Flywheel attached to the motor. Running current devel I enter the following:
odrv0.reboot()

odrv0.config.brake_resistance = 0.53
odrv0.axis0.encoder.config.use_index = True
odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE

odrv0.axis0.encoder.config.pre_calibrated = True
odrv0.axis0.motor.config.pre_calibrated = True
odrv0.axis0.config.startup_encoder_index_search = True
odrv0.axis0.config.startup_closed_loop_control = True
odrv0.axis0.motor.config.current_lim = 40
odrv0.save_configuration()

odrv0.reboot()```

After multiple reboots and power cycles there was no uncontrolled spin-up.

However, if I do the following then the motor will spin-up uncontrollably on startup:

1. Remove power
2. Spin the motor by hand in the opposite direction to that used for the index pulse search
3. Restore power

This also works if I reboot and quickly spin it by hand. No such problem if I spin it by hand in the same direction as that used for the index pulse search. Note that this is with a large flywheel attached to the motor.

Can you check if the issue persists in firmware version 0.4.4?

@Capo01 Reminder to verify issue.

Thanks for the reminder. I will take a look this weekend.

@Capo01 did you check for a false index? I'm seeing similar condition with false index found even though the index line is clean on the scope.

Continued in #462.


CI:  Failure to Checkout with Beta Package Added

Failure during CI
This could be related to memory in the CI or another issue.
Blocks

#2069
#2071
#2084

Blocker Upstream-Graph-SDK-129

Temporarily, we can move in the two files from Beta. We will need to solve the problem of compilation with Beta to use the API for backups and restore.

Suggestion from the comments is to increase the swap space on the runner:
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Set Swap Space
        uses: pierotofy/set-swap-space@master
        with:
          swap-size-gb: 12

Need to verify if changes to the configuration will allow for the fix.

Setting the swap space to 15 gb resulted in:
Memory and swap:
               total        used        free      shared  buff/cache   available
Mem:           6.8Gi       526Mi       5.2Gi       7.0Mi       1.1Gi       6.0Gi
Swap:          4.0Gi          0B       4.0Gi

NAME          TYPE SIZE USED PRIO
/mnt/swapfile file   4G   0B   -2

Run with 12 GB of Swap.
Run pierotofy/set-swap-space@master
Run echo "Memory and swap:"
Memory and swap:
               total        used        free      shared  buff/cache   available
Mem:           [6](https://github.com/alcionai/corso/actions/runs/3960126507/jobs/6783853293#step:3:7).8Gi       548Mi       5.1Gi       7.0Mi       1.1Gi       5.9Gi
Swap:          4.0Gi          0B       4.0Gi

NAME          TYPE SIZE USED PRIO
/mnt/swapfile file   4G   0B   -2

Run export SWAP_FILE=$(swapon --show=NAME | tail -n 1)
Setting up swapspace version 1, size = 12 GiB<PHONE_NUMBER>2 bytes)
no label, UUID=45934725-a0c4-462d-a6a4-668924b10b9e
Run echo "Memory and swap:"
Memory and swap:
               total        used        free      shared  buff/cache   available
Mem:           6.8Gi       554Mi       5.1Gi       7.0Mi       1.1Gi       5.9Gi
Swap:           11Gi          0B        11Gi

NAME          TYPE SIZE USED PRIO
/mnt/swapfile file  12G   0B   -2

Run Time 2h 2m
15s
ok  	github.com/alcionai/corso/src	0.031s [no tests to run]
ok  	github.com/alcionai/corso/src/cli	0.017s [no tests to run]
ok  	github.com/alcionai/corso/src/cli/backup	0.018s [no tests to run]
ok  	github.com/alcionai/corso/src/cli/config	0.017s [no tests to run]
ok  	github.com/alcionai/corso/src/cli/help	0.003s [no tests to run]
?   	github.com/alcionai/corso/src/cli/options	[no test files]
ok  	github.com/alcionai/corso/src/cli/print	0.003s [no tests to run]
ok  	github.com/alcionai/corso/src/cli/repo	0.017s [no tests to run]
ok  	github.com/alcionai/corso/src/cli/restore	0.017s [no tests to run]
ok  	github.com/alcionai/corso/src/cli/utils	0.018s [no tests to run]
?   	github.com/alcionai/corso/src/cmd/factory	[no test files]
?   	github.com/alcionai/corso/src/cmd/factory/impl	[no test files]
?   	github.com/alcionai/corso/src/cmd/getM365	[no test files]
?   	github.com/alcionai/corso/src/cmd/mdgen	[no test files]
?   	github.com/alcionai/corso/src/cmd/purge	[no test files]

The above fix is not stable for multiple msgraph libraries. The first compilation was successful, but the following calls on linting and testing when attempting to access the cache.

Cache failure from run verified with only beta as main library. Beta library is not to be added to the Corso library.

Additional reasons for not using the Beta library is that objects saved in version1.0 cannot be deserialized as model fields are current at the time they moved from Beta to v1.0. Additional changes to models.Contacts after it was added causes deserialization failures.


Update yarn to version 0.19.1

Hello lovely humans,
a new version of yarn is available.

StateUpdate :rocket:
New version0.19.1

Hm they changed 0.20.0 back to pre-release: https://github.com/yarnpkg/yarn/releases


Intellisense "Error squiggles"  doesn't work properly

Type: Bug

Error squiggles shown non-existent errors in "using" section (C++20 on MAcOS Ventura 13.5, M1), example:

using          debugmode::Debug,
debugmode::DEBUG_MODE,
stringutils::mergeStrings;

The error was signaled on the row:
             debugmode::DEBUG_MODE,

that was marked red;

The header file related to that symbol was correctly included, and no real problem was present : as demostration compiling the program launching 'make clean all' , no error at all was shown;

I tried :
-- to refresh Intellisense, no effect;
-- to restart VSCode, no effect;
-- to disable and re-enable the Intellisense extensions (workspace), no effect;

I  also was trying to disable and enable again "error sguiggles" , no effect.

I'm confident this problem raised after recent updates.

Extension active on the Workspace:

Microsoft Remote SSH / Export

vscodevim

and obviously Microsoft Intellisense

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:40:25.698Z)
OS version: Darwin arm64 22.6.0
Modes:

System Info

Item
Value

CPUs
Apple M1 Pro (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.05GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

remote-ssh
ms-
0.102.0

remote-ssh-edit
ms-
0.86.0

cpptools
ms-
1.17.5

remote-explorer
ms-
0.4.1

vim
vsc
1.25.2

Further information:

Intellisense Error:
"identifier "debugmode" is undefinedC/C++(20)"

Please file this on the C++ extension repo, thanks


updated file as currently the file here is same as app_c.csv

Issue Identified:
The existing file appeared to be identical to the old version, possibly due to a copy-paste error.
Changes Made:
Re-implemented the data processing logic to ensure proper handling of 2010 and 2000 surname datasets, including:
Correctly appending the datasets.
Removing duplicate records from the 2000 data when conflicts exist.
Standardizing data cleaning, including formatting names and calculating proportions.
Verified that the output files (census_surnames_lower.csv and .dta) are generated correctly and reflect the intended updates.
Outcome:
The new file is consistent with the intended functionality and resolves the discrepancy with the old file.
Testing:
The output was reviewed and validated against expected results.

Code used to generate the file -
import pandas as pd
import numpy as np

# Define file paths
INPUT_2010_PATH = "Names_2010Census.csv"
INPUT_2000_PATH = "app_c.csv"
OUTPUT_PATH = "census_surnames_lower.csv"
OUTPUT_DTA_PATH = "census_surnames_lower.dta"

# Load 2010 surname data
names_2010 = pd.read_csv(INPUT_2010_PATH)
names_2010['name'] = names_2010['name'].str.strip().str.title()  # Proper case
names_2010['list_year'] = 2010

# Load 2000 surname data
names_2000 = pd.read_csv(INPUT_2000_PATH)
names_2000['name'] = names_2000['name'].str.strip().str.title()  # Proper case
names_2000['list_year'] = 2000

# Append the two datasets
surnames = pd.concat([names_2010, names_2000], ignore_index=True)

# Create a flag where there are duplicates within a name
surnames['multiple_flag'] = surnames.duplicated(subset=['name'], keep=False)

# Drop the entry from 2000 if there are duplicates
surnames = surnames[~((surnames['multiple_flag']) & (surnames['list_year'] == 2000))]

# Format the Census data proportions
proportion_columns = ['pctwhite', 'pctblack', 'pctapi', 'pctaian', 'pct2prace', 'pcthispanic']

# Ensure percentage columns are numeric and convert to proportions
for col in proportion_columns:
    surnames[col] = pd.to_numeric(surnames[col], errors='coerce')
    surnames[col] = surnames[col] / 100

# Calculate the number of missing proportions
surnames['countmiss'] = surnames[proportion_columns].isnull().sum(axis=1)

# Calculate the remaining proportion for names where not all proportions are available
surnames['remaining'] = surnames['count'] * (1 - surnames[proportion_columns].sum(axis=1, skipna=True))

# Fill missing proportions proportionally based on the remaining value
for col in proportion_columns:
    surnames[col] = surnames.apply(
        lambda row: row['remaining'] / (row['countmiss'] * row['count'])
        if pd.isnull(row[col]) and row['countmiss'] > 0 else row[col],
        axis=1
    )

# Convert name to lowercase
surnames['name'] = surnames['name'].str.lower()

# Save the final dataset to a CSV file
surnames.to_csv(OUTPUT_PATH, index=False)

surnames.to_stata(OUTPUT_DTA_PATH, write_index=False)

print(f"Processing complete. Final file saved at '{OUTPUT_PATH}'.")


Enforce and user guards as read-only

cc @CryptoPascal31
Implements KIP 0027, and loosens the restriction that enforce should be sys-only as well. This was probably the for FV's sake, but considering we need to revamp FV as well, I think it makes sense to loosen this restriction.
It also adds regression tests for this behaviour as well.
As a bit of historical background note: pact did not used to always have runtime recursion checking, but now that we do, I think it's probably fair to consider this as a straight enhancement. We are still not vulnerable to any sort of reentrant attacks due to the mode being set to read-only.
PR checklist:

[x] Test coverage for the proposed changes
[x] PR description contains example output from repl interaction or a snippet from unit test output
[x] (If Relevant) Documentation has been (manually) updated at https://docs.kadena.io/pact

Additionally, please justify why you should or should not do the following:

[x] Benchmark regressions
[x] Confirm replay/back compat (Ignore until core release)
[x] (For Kadena engineers) Run integration-tests against a Chainweb built with this version of Pact (Ignore until core release)

Ty


Tuning updates for 5.1 SWDEV tickets

https://ontrack-internal.amd.com/browse/SWDEV-307987
SuperBenchmark v0.3
https://ontrack-internal.amd.com/browse/SWDEV-314316
SSD + Resnet50
https://ontrack-internal.amd.com/browse/SWDEV-310832
DeBERTa XXL
https://ontrack-internal.amd.com/browse/SWDEV-317850
Tensorflow UNET
Tuned on MI100, MI200, MI250x
miopen branch b8773bfe0d82c960d716e7da5079cc1679b5c535
rocm bkc 9174

Shall we test this on MI100/200/250x before merging? I mean manual performance testing.

Shall we test this on MI100/200/250x before merging? I mean manual performance testing.

Oops manual per stage slipped my mind when I'm trying to catch the next staging tomorrow ...
Can we start a few of them now? If you have a script I can run them on my nodes too.


current maybe is null.That cause abnormal.

Expected behavior
There is risk of array bounds,current maybe is null.That cause abnormal.
src code line 1522
if (pos === current.length) {
pos = 0;
current = array[++line_index];
}
draw_cursor_line(current, pos);
Actual behavior
if (pos === current.length) {
pos = 0;
current = array[++line_index];
if(!current){current="";}
}
draw_cursor_line(current, pos);
Steps to reproduce
You can create demo by forking this codepen http://codepen.io/jcubic/pen/MbVMwO

Do you know the case when this out of bound will happen? What do I need to do as a user to have current equal to undefined?

I can add:
if (!current) {
     throw new Error('Internal error, wrong position in cmd redraw');
}

so if this happen (and I don't think it will) users will report the exception.
I don't think it will happen because that case current = array[++line_index]; is only executed when current line is in the middle of the lines so there will always be next line.

Added exeption in version 1.0.9


[Enhancement] Make Discord commands available in separate text channel

Checks

[X] I confirm that I have searched for existing issues before reporting to avoid duplicate reporting.

Description
be able to select what channels one can use slash commands in.
for example in my case I would really like to be able to have the ability to not only use commands in the #chat channel on my server, but also in my #console-log channel, or perhaps in only a separate #commands channel.
so if there was a feature to whitelist the channels one can use commands in then that would be perfect :D

How about just remove the channel check function for slash command?

just removing it would work since it is possible to just control what channels the bot has access to chat in through discords own permissions.

Ok

Please try the latest build version and see if there is any problem.

sadly don't have much time to find out exactly what is going wrong today because of work, but this is the error that it spews out over and over again and the server wont start.
upgraded from the 1.19 version on modrinth from the 10.06 to the newest build:

[10:20:44] [Worker-Main-1/ERROR]: Mixin apply for mod mcdiscordchat failed mcdiscordchat.mixins.json:MixinLanguage from mod mcdiscordchat -> net.minecraft.class_2477: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Redirect annotation on build could not find any targets matching 'create' in net.minecraft.class_2477. Using refmap MCDiscordChat-refmap.json [PREINJECT Applicator Phase -> mcdiscordchat.mixins.json:MixinLanguage from mod mcdiscordchat -> Prepare Injections ->  -> redirect$bgp000$build(Lcom/google/common/collect/ImmutableMap$Builder;)Lcom/google/common/collect/ImmutableMap; -> Parse]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Redirect annotation on build could not find any targets matching 'create' in net.minecraft.class_2477. Using refmap MCDiscordChat-refmap.json [PREINJECT Applicator Phase -> mcdiscordchat.mixins.json:MixinLanguage from mod mcdiscordchat -> Prepare Injections ->  -> redirect$bgp000$build(Lcom/google/common/collect/ImmutableMap$Builder;)Lcom/google/common/collect/ImmutableMap; -> Parse]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets(InjectionInfo.java:656) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets(InjectionInfo.java:587) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:330) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:316) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:308) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.RedirectInjectionInfo.(RedirectInjectionInfo.java:44) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at jdk.internal.reflect.GeneratedConstructorAccessor64.newInstance(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:149) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:708) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1330) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1043) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:413) ~[fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:322) ~[fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.7.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at net.minecraft.class_2588.method_11025(class_2588.java:49) ~[server-intermediary.jar:?]
at net.minecraft.class_2588.method_27659(class_2588.java:146) ~[server-intermediary.jar:?]
at net.minecraft.class_2561.method_27657(class_2561.java:111) ~[server-intermediary.jar:?]
at net.minecraft.class_5348.getString(class_5348.java:91) ~[server-intermediary.jar:?]
at net.minecraft.class_2561.getString(class_2561.java:50) ~[server-intermediary.jar:?]
at net.minecraft.class_3951.method_17670(class_3951.java:44) ~[server-intermediary.jar:?]
at net.minecraft.class_3898.method_17225(class_3898.java:679) ~[server-intermediary.jar:?]
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-5.0.28.jar:?]
at net.minecraft.class_3898.method_17224(class_3898.java:672) ~[server-intermediary.jar:?]
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.class_3900.method_17634(class_3900.java:62) ~[server-intermediary.jar:?]
at net.minecraft.class_3846.method_16907(class_3846.java:91) [server-intermediary.jar:?]
at net.minecraft.class_3846.method_16900(class_3846.java:146) [server-intermediary.jar:?]
at net.minecraft.class_3846.run(class_3846.java:102) [server-intermediary.jar:?]
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]

Try the new build.

superb, the update works perfectly now, tested it out and it is now possible to send / commands in different channels and regulate this with the built permissions just as i wanted.
thanks for the extremely fast response :D

Fast response because I am browsing GitHub lol

there is one thing that i found now though, if i use the /console command the output/response form the bot is pasted to the normal chat channel, and not the same channel that you used the command in, example:
command channel:

normal chat:

Should be resolved, please try the new build. My server hasn't been upgraded to 1.19 so I can't test.

youp, it works now


angular/cli an error occurred while creating a new project

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [x] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

os: windows 10
node: 10.11.0
npm: 6.4.1
Angular CLI: 7.0.2
Node: 10.11.0
OS: win32 x64
Angular:
...
Package                      Version
@angular-devkit/architect    0.10.2
@angular-devkit/core         7.0.2
@angular-devkit/schematics   7.0.2
@schematics/angular          7.0.2
@schematics/update           0.10.2
rxjs                         6.3.3
typescript                   3.1.3
Repro steps

The log given by the failure

Desired functionality

Mention any other details that might be useful

Duplicate of https://github.com/angular/angular-cli/issues/12670


[Question] Recognizing intent in Email

System Information (Required)

SDK Language: C#
SDK Version: <IP_ADDRESS>
Development Environment: AZURE_APP_SERVICE

Issue Description
I have deployed a bot and have enabled Skype and Email channels for it. I also tested it using an emulator. So while it recognizes proper intents with Skype and Emulator, it fails to do so on Email. Only one intent is recognized, even if I send utterance related to another intent. The same utterance if made by Skype works without any issue.
Steps to Reproduce the Issue

Create a bot having multiple intents, deploy it on Azure App Service.
Converse with Email. It cannot recognize intent.

Expected Behavior

Same behavior as on Skype, intents being recognized.

Actual Results

An intent is to get me tasks  and another is to get files. For both it is returning files. This works fine in Skype. It even cannot recognize Greeting intent when I sent Hi in Subject of email. It replied back with files.

Email channel can have a lot of "noise" in the text content as it can be html content, there is also the signature, etc.
Can you post some samples of what you are sending, and also the recognition code (or maybe it's done through LUIS)?

You are correct in assuming it is done by LUIS.
I am sending 'Hi' in the email subject and keeping the rest of the email body blank. If I sent the same message 'Hi' via Skye it would activate Greeting Intent and reply back with a message listing the options I have but that doesn't happen if I am using the email channel.
I have also tried sending just Hi in the body, keeping the subject empty or Hi in both subject and body but all return with capturing the same intent which is 'Searching Files'.
I understand it could be because of the extra html that is being sent to LUIS for recognition. So how can I write code for just capturing email subject or text and sending to LUIS separately for email channel as the setup seems to work fine with Skype?

Have a look to the implementation of LuisDialog: the MessageReceivedAsync is getting the text of the message from message.Text (here). If you test with some emails you will see that it only get email body (email subject is accessible using channelData).
For your question about being able to log, I think you can use Text property of your incoming message like in the MessageController.
Or if you want to enable a better logging tool, implement IActivityLogger:
public class MyLogger : IActivityLogger
{
    public async Task LogAsync(IActivity activity)
    {
        var message = (Activity)activity;

        var infoThatIsSentToLuis = $"{message.Text}";

        // Log where you want

    }
}

I thought both body and subject of email was being read by default. I tried sending emails with text in the body of email for which I want intent to be captured but again, wrong intent is captured.

The message received by your bot will contain the body of the email, not the subject.
How well trained is your LUIS model? Which intent is not getting recognized, and how many sample utterances was it trained with? Is "hi" one of the example utterances used for training your LUIS model? What does your LUIS model look like? Can you export your LUIS model JSON and share it here for reference?

@ashicertis can you please share your LUIS model App ID so we can have the LUIS team take a look.
I have tested an email bot using multiple LUIS intents and was able to produce the expected behavior.  It would really help to see your LUIS model JSON.

@JasonSowers Here is my LUIS Id : df31b88b-a521-4e5e-800a-3819fe5c261f.
Also you can email my sample deployed bot at<EMAIL_ADDRESS>

@nwhitmont I understand that you may need LUIS model JSON to exactly see what's wrong. Please look at attachment for that.
luis.txt

Any updates on this??

Hi @ashice
I imported your LUIS model JSON and tested it in the LUIS website. When I sent "hi" to your model, it detected the "Greeting" intent with 0.88 score.

It's possible you need to train your LUIS model with additional utterances to make the intent detection more precise.
If you are still having issues, please post your complete bot code, here or in a shared GitHub repository,  so we can better assist you in reproducing the error.

@nwhitmont The issue lies not with simple LUIS recognition as the Skype channel works fine with the same model but the email channel does not reply with same dialogs as Skype. To confirm I have a bot deployed on Azure. Skype Add -https://join.skype.com/bot/f9cf18d8-9e89-459b-86c2-5ce1840f449a. Also an email can be sent to<EMAIL_ADDRESS>Both are channels for the same bot and must reply with the same responses but in reality they don't . While Skype captures the correct intent, email fails to do so.

@nwhitmont I had mentioned earlier in the question that Skype channel works fine, Hence probably LUIS is a non-issue. But email channel is causing issues. You can test this using the details provided above.

@ashice Thanks for the update.
Please post your complete bot code here or in a public GitHub repository if you want further assistance. If you don't share your code, we cannot help you troubleshoot past this point.

@nwhitmont Why would it behave differently over Skype and other channels and not work on Email?

@ashice  Please try using a new @outlook.com email address.

I changed email from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Still similar behaviour.

Closing as user did not provide their bot code for investigation, and does not want further assistance


[WIP] I48 quiz solving page

Change Summary
[Briefly summarise the changes that you made. Just high-level stuff]
Change Form
Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

[x] The pull request title has an issue number
[ ] The change works by "Smoke testing" or quick testing
[ ] The change has tests
[ ] The change has documentation

Other Information
[Is there anything in particular in the review that I should be aware of?]
Related issue

Resolve #48

Codecov Report

Merging #107 (9f676d6) into main (ccf6bbb) will decrease coverage by 29.22%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main     #107       +/-   ##
===========================================
- Coverage   42.85%   13.63%   -29.23%
===========================================
  Files           7       17       +10
  Lines           7       22       +15
  Branches        1        6        +5
===========================================
  Hits            3        3
- Misses          4       19       +15

Flag
Coverage Δ

frontend
13.63% <0.00%> (-29.23%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Replace winning module of conflict first before losing modules

Visit the winning module first so that when we visit unattached dependencies of losing modules, the winning module always has a selected component.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test RfN

I've triggered the following builds:

Ready for Nightly (Trigger) (Check)

Build Scan

The following builds have passed:

Ready for Nightly (Trigger) (Check)

Build Scan


Request client identifier

The client must provide an unique identifier used for resolution.

In order to perform any mutations the users must be login, see #11


debuginfo/manager: Exclude the time to wait for goroutines turn

Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>

Oooooo is that why we saw upload context cancelled so frequently?

I'm not sure 100% sure but this is semantically more correct.
Most of the context cancellation happens at ShouldInititateUpload calls, and this doesn't effect it. I still don't know the reason for that DeadlineExceeds.

Ah right, that's what I observed as well.


deps: Update gRPC to version v1.40.0

Commit message:
Disable layering check in gRPC BUILD file to prevent build errors against Envoy's cmake dependencies.
Additional Description:
Bump to the first version that needed some changes to the dependencies. Next version needs more work, which is in progress.
Risk Level: Low
Testing: Unit Tests
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
Signed-off-by: Yan Avlasov<EMAIL_ADDRESS>

headsup that current grpc version is 1.48

headsup that current grpc version is 1.48

We have failing tests due to changes in gRPC code starting with 1.41, which I'm trying to figure out. This may take some time and going to 1.40 is the best we can do at the moment.

yep, ive tried to update this a couple of times myself and hit similar issues


Fix transm bug and rename l down

This PR fixes an oversight in the TIR RTM that used the transm quantity in the L_down component of the radiance model. It should be one. In fixing this bug, it renames a few quantities and functions in order to be a bit clearer.

I incorporated these changes, and more, under #91


Add patternProperty validator

See https://github.com/pydantic/pydantic/discussions/3303.
We should allow the descriminator to be a regex or function.

How would validators behave in this case? E.g.
class Model(BaseModel):
    prop_a: int

    class Config:
        extra_pattern = {r'^prop_': str}

    @validator(r'^prop_')
    def validate_props(cls, v) -> str:
        return v.upper()

I don't care about the python interface yet, let's work out how it should work in rust first.
I guess this should be added to TypedDictValidator.
I think the best solution would be to convert
https://github.com/pydantic/pydantic-core/blob/bcf799f0e8caa9774e839a2d8d30c7f4dd15852f/src/validators/typed_dict.rs#L36
Into
    patterns: Vec<PatternField>,

Where PatternField is
enum Pattern {
    Regex(Regex),
    Function(PyObject),
    All,
}

struct PatternField {
    descriminator: Pattern,
    validator: CombinedValidator,
}

Then
https://github.com/pydantic/pydantic-core/blob/bcf799f0e8caa9774e839a2d8d30c7f4dd15852f/src/validators/typed_dict.rs#L283
Becomes:
for pattern in self.patterns {
   if pattern.matches(value) {
        ...
  }
}

In python I guess patternProperties will have to be defined via config since we can't use attributes and annotations as we don't know what the key will be.

@samuelcolvin, is this still a relevant issue?


Use C# style events

Hey, I had one other really silly question is it possible to define the event handlers like this?
sockJs.OnMessage += onMessage;
In lieu of:
sockJs.AddEventListener("message" (sender, e) => .. );
??
Originally posted by @zerocarbthirty in https://github.com/sypbiz/SockJS.NET/issues/2#issuecomment-559279673

This project was a direct port of the JavaScript library and kept most of the code as-is in order to provide a C# solution as quickly as possible.
There is a plan to re-write the solution from the ground up in a pure-C#, object-oriented, best-practice way. This would include C# event subscription, async support and/or reactive handlers.
I hope I can get to it ASAP and you are also welcome to contribute.

I'll try. I have had a lot of issues getting up to speed with C#. Im mostly
a PHP developer. Things as simple as parsing JSON has been a whole new
world :)
On Thu, Nov 28, 2019, 10:32 AM Doron Guttman<EMAIL_ADDRESS>wrote:

This project was a direct port of the JavaScript library and kept most of
the code as-is in order to provide a C# solution as quickly as possible.
There is a plan to re-write the solution from the ground up in a pure-C#,
object-oriented, best-practice way. This would include C# event
subscription, async support and/or reactive
https://github.com/dotnet/reactive handlers.
I hope I can get to it ASAP and you are also welcome to contribute.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sypbiz/SockJS.NET/issues/4?email_source=notifications&email_token=AD7FNQUE5VBEDLXMWYJAJV3QV7QAFA5CNFSM4JSV7AD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFM5L2I#issuecomment-559535593,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7FNQV3KEIVFEL7IC7A3BTQV7QAFANCNFSM4JSV7ADQ
.

resolved https://github.com/sypbiz/SockJS.NET/commit/25a9422b056bcdc7ba4256479fdf13957567d9bd


Theme Generator

In order to currently generate a theme, a user must clone the repository, modify a file tracked by Git, generate the theme, and copy it out of an untracked directory. Users should not have to leave their current working environment to create/modify themes. Here is a rough guide for what the improved generator should look like:

A config file (JS) should be read from .nrg/config.js. If a config doesn't exist, it should be created.

autoFormat - if true, run Prettier on the generated theme file(s)
outputDir (required) - the location to save generated CSS to (defaults to app/styles/themes)

A series of theme SCSS files: .nrg/themes/<name>.scss

Each file specifies a new theme that can be used by setting the data-theme="<name>" attribute to any element. The name for the initial theme is light.

CLI commands

build [...name] - regenerate all (or named) themes
new <name> - create new theme with name <name>

Resolved by:
#234
#241
#291


Egg fun

Add ability to put items inside plastic eggs, with a Modifier system for custom impact behavior.
Add a single impact behavior for Gunpowder to explode. Not really sure what else to add.
#45
In order to add an item to an egg, you shapelessly craft them together. It adds a "Contains " tooltip. Registering custom EggModifiers will modify the behavior of a plastic egg depending on what is contained in it. Right now, there's just gunpowder, which explodes.

Awesome work, looks well implemented, although I haven't tested it yet. :+1:

Random aside, but I thought I'd note that /u/_7355608_ is doing some cool stuff with an extremely similar idea (using arrows).

@squeek502 That's pretty neat/innovative.
I'd hope we/I would add more EggModifiers before this gets merged. Do you have any ideas?


B #5856: Fix sunstone charters times on non-relative actions

Thanks Kristian. We've created b-5856-feldsam-fix-charters branch to do some minor tweaks before merging, closing this for the time being.

merged upstream, will be available in upcoming releases


Interactive t-SNE [R]

App name
dashr-tsne
App

[ ] This app is currently deployed on Dash(R) Gallery: [deployment URL]
[x] This app is new

Source code repository
[source code repo URL]
Current appearance
[attach screenshot of current app here]
Redesign
Link: https://github.com/plotly/streambed/issues/12068#issuecomment-461590032

Link: https://github.com/plotly/streambed/issues/12879#issuecomment-488090333

Playground deployment
[url of playground deployment]

t-sne.zip


Fix validate systemd-container package task

Include machined task instead of tuned
JIRA OSPRH-10318

should we backport to 18.0-fr1?

recheck provider

should we backport to 18.0-fr1?

no as we've moved https://issues.redhat.com/browse/OSPRH-10318 to fr2

recheck provider

recheck

this is quite a trivial fix, perhaps we could skip rechecking tempest until it passes?

this is quite a trivial fix, perhaps we could skip rechecking tempest until it passes?

please don't. The deployment actually fails due to the changes in this commit.

this is quite a trivial fix, perhaps we could skip rechecking tempest until it passes?

please don't. The deployment actually fails due to the changes in this commit.

done

@slagle @gibizer good to go, all tests passed


Browse Docs button on main page of docs site not working

Describe the bug

A clear and concise description of what the bug is.

Browse Docs button on the main page of docs site not working
Sandbox or Video

If applicable, please provide a minimal reproduction sandbox on code sandbox. Or a video / screenshots that could help.

https://raw.githubusercontent.com/pmndrs/use-gesture/main/documentation/pages/index.mdx
<Button variant="primary" forwardedAs={Link} to="/docs/" style={{WebkitAppearance: 'none'}}>
   Browse Docs
</Button>

ends up as
<button type="button" data-variant="primary" as="[object Object]" to="/docs/" class="sc-bqGGPW Button__InnerButton-sc-1qxez5q-0 bUceVa iGzYAt" style="appearance: none;">Browse Docs</button>

In the output code
Information:
MacOS 10.14.7
Chrome 94

Thanks! Should be fixed now!


Composer update fails because of uncommitted changes

 [composer]   - Updating friendsofphp/php-cs-fixer dev-master (6674476 => 0bd436b)
 [composer]
 [composer]
 [composer]   [RuntimeException]
 [composer]   Source directory /home/jenkins/workspace/myproject/vendor/friendsofphp/php-cs-fixer has uncommitted changes.
 [composer]
 [composer]
 [composer] Exception trace:
 [composer]  () at phar:///home/jenkins/workspace/myproject/composer.phar/src/Composer/Downloader/VcsDownloader.php:209

running git status in the vendors dir:
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified<EMAIL_ADDRESS>#       modified<EMAIL_ADDRESS>#       modified<EMAIL_ADDRESS>
Any idea why do we have such test files in the vendor dir.

from what I can see you already have @Symfony.test and @Symfony_whitespaces.test comes with update

maybe the test are checkout out with diff. white space and so become marked as changed OOTB?

hm... but why would it care? i already installed beta on few envs.
and in the end, gitattrubutes on Fixtures is set up to don't care

I think this is a regression since #2221
In fact it affects only the whitespace fixtures after checkout.
Maybe we have to provide additional attributes in gitattributes for those files?

like what? we already treat them as non-text and ignore during export
https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/.gitattributes

like
/tests/Fixtures/**/* -text -diff

which is the default for binary files

but displaying diff for that files is working. no need to turn it off

The problem occurs when running composer in no interaction mode:
composer update --no-interaction

The workaround that I've found so far is to discard all changes on vendor in composer.json:
    "config": {
        "discard-changes": true
    },

I'm having the same issue here. Can someone suggest a solution for this? I won't implement @kachar 's solution above though. I have 4 different projects and this thing is happening randomly.
All I do in my build is composer install and composer self-update.

This is is just ODD. It produces a different problem everytime when I run build. IT HAS NOTHING TO DO WITH THE BUILD IF YOU SUSPECT. To solve this issue I have to delete whole folder and re-run the tests MANY TIMES REPEATEDLY. If it doesn't pass after 5th try, it will pass randomly after 9th try. If not after 2nd try, it will pass after 10th try. It is just ODD. It does what it likes. There has to be problem with this repo.
Now it passed with this output.
vendor/friendsofphp/php-cs-fixer$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	modified<EMAIL_ADDRESS>#	modified<EMAIL_ADDRESS>#
no changes added to commit (use "git add" and/or "git commit -a")

maybe the .gitattibutes are not honored by all git clients, can someone (who has this problem) provide details about the git client used (and OS)?

on a side note;
#   modified<EMAIL_ADDRESS>#   modified<EMAIL_ADDRESS>
these files only exist on master, you might want to switch back to a stable and supported version.

I'm using it on 3 environments:
Debian GNU/Linux 5.0.10 (lenny)
git --version
git version <IP_ADDRESS>

Debian GNU/Linux 7.5 (wheezy)
git --version
git version <IP_ADDRESS>

Windows 10
git --version
git version 1.9.5.msysgit.1

This is currently what I have:

composer.json: "friendsofphp/php-cs-fixer": "2.0.*@dev"
git version <IP_ADDRESS>
Debian GNU/Linux 7.9 (wheezy)

Don't think this is a bug with us tbh.

only thing I can think of is the git client version, anyone with git client @ version 2.x with this problem?

Closing as we didn't get the input needed to investigate this any further. If anyone who has this issue can help out; please comment here and we'll reopen it and continue.

I had this error which I resolved by just deleting vendor directory and 'make composer install'

This worked for me! Thank you!
composer.json
    "config": {         "discard-changes": true     },


Upgrades to Mongo 5.0.5 & Uses Ubuntu 20.04

Upgrades to the latest version of MongoDB i.e 5.0.5
Downgrades Ubuntu to the currently available LTS version 20.04

@candeemis thanks for this PR!
We're not using MongoDB 5.0.x yet, so we just upgraded to 4.4.12


Support tls in the etcd discovery backend

Problem
Support tls in the etcd discovery backend
Solution
All the docker tools supports SSL/TLS, it should be possible to enable TLS to talk to the discovery service. Let's use etcds:// and use the tlsconfig already provided

isn't this a duplicate of #404 ?

:+1:

#dibs

Hi @packetcollision, you mind if I take this one? I already fixed it at the party but haven't double checked my work.

@timfallmk go for it!

Duplicate of #404


Adv-Desktop partition changed to dropdown

The partition field for the Advanced Desktop app is changed to a dropdown list. The VNC partition is removed from that list as per Ticket 342716 and discussion over email.

The Advanced Desktop app will ignore the GPU field if the job is submitted to batch, debug or bigmem partitions. If the job is submitted to gpu, gpu-debug or gpu-he partitions and 0 GPUs are selected, the job will exit immediately after starting. I have tested glxspheres64 for each case.


API: Limit the maximum size of incoming events

Currently, the POST api/v1/event endpoint (implemented in the api-service) does not restrict the maximum size of events sent to Keptn. Since information from incoming events is persisted at numerous places, we should limit the maximum size of events to avoid unwanted performance degradations in our APIs. The size restrictions should be in line with the CloudEvents API:
https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#size-limits

Duplicate of https://github.com/keptn/keptn/issues/5544


Ycmd crashes without any error messages.

As it says in the title, I can't get ycmd to work on my projects.
Maybe these lines from the Messages buffer are relevant:
gui-get-primary-selection: No selection is available
Ycmd server killed
ERROR: Ycmd server timeout

An interesting fact is that it can be used if I restart it with ycmd-open.
I am using the latest version installed by Spacemacs.

I'm not sure why you might be seeing this, but it seems to be coming from select.el. Can you use stack-trace-on-error or debug-on-error to see the context in which this is happening?

It seems to be unrelated.
It happens if I open the file by clicking on it in the home screen. If I press RET it doesn't show up.

So this happens when you start emacs and click on a file from the *spacemacs* buffer's "Recent Files" list?
What does the *ycmd-server* buffer show?

ycmd crashes no matter how I open the file. If I open it with the mouse the
GUI selection error appears.
The ycmd-server buffer is empty
Il 27/feb/2017 01:21 PM, "abingham"<EMAIL_ADDRESS>ha scritto:

So this happens when you start emacs and click on a file from the
spacemacs buffer's "Recent Files" list?
What does the ycmd-server buffer show?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/abingham/emacs-ycmd/issues/401#issuecomment-282768690,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC9n6l0hrMmZCh37oAGyjowD04HO_tkKks5rgvfugaJpZM4MNO-g
.

Hmmm...does ycmd-show-debug-info show anything that looks useful?

No debug info available from server
Server is not running
Ycmd Mode is enabled

Ycmd version:   1.1snapshot (package: 20170114.445)
Emacs version:  25.1.1
System:         x86_64-w64-mingw32
Window system:  w32

I found a workaround: setting ycmd-startup-timeout to 10 seems to fix the problem.

OK, good, that was kind of thing I was going to suggest you look at next.
Can I go ahead and close this, or do you think there's more to do?
On Mon, Feb 27, 2017 at 8:05 PM nicber<EMAIL_ADDRESS>wrote:

I found a workaround: setting ycmd-startup-timeout to 10 seems to fix the
problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/abingham/emacs-ycmd/issues/401#issuecomment-282836444,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE1eEJc0VgEdUcKzcdcxU7vvjJewLzbks5rgyyDgaJpZM4MNO-g
.

Maybe the timeout can be longer by default to avoid similar issues?

A longer timeout might be the right way to go, but I don't want to do that until/unless we get more reports of similar problems. Yours is the first that I know of.
What I have done, though, is added some text to the error message printed when a timeout occurs. Now is tells users that that they might need to increase the value of ycmd-startup-timeout. Thanks for working with us on this!


Stilted English language use throughout Teams installation documentation

Hello!  On the "Get clients for Teams" page, there (at least) 2 examples of highly-technical-yet-unapproachable language ...

Windows
The Microsoft Teams installation for Windows provides downloadable installers in 32-bit and 64-bit architecture.
Note
The architecture (32-bit vs. 64-bit) of Microsoft Teams is agnostic to the architecture of Windows and Office that is installed.

On the "Install Teams using MSI" page, there are whole sentences within parentheses, or referring a PC as a "the computer" or "that machine" ...

When deployed, Teams will auto launch for all users who sign in on that machine. (You can disable auto launch after installing the app. See below.) We recommend that you deploy the package to the computer, so all new users of the machine will also benefit from this deployment.

... and also on that MSI page, use of long run-on sentences using 1-2 syllable words like ...

PC installation
The Teams MSI will place an installer in Program Files. Whenever a user signs into a new Windows User Profile, the installer will be launched and a copy of the Teams app will be installed in that user's AppData folder.

Other pages within the Teams documentation flow like conversational language, but the Teams (and SkypeBiz?) install pages suggest the original author is uncertain about MS enterprise app installers OR has lifted straight from a technical doc, and used "agnostic" when other words are more-appropriate (like "indifferent" or "irrelevant").  I'd suggest a passthrough to align Teams (and SkypeBiz) with Office's C2R docs to match their content & terminology.

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

ID: 6457d204-d229-9154-28fd-ca9bbb4bddcd
Version Independent ID: f5d82846-41cb-3548-6997-ce23bd8f89c6
Content: Get clients for Microsoft Teams - Microsoft Teams
Content Source: Teams/get-clients.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@yukon-cornelius Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@yukon-cornelius thank you for reaching out and helping improve MS Docs. I see this article was updated yesterday. Please let me know if you still need assistance.

@yukon-cornelius Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 12:39:29 on 2023.08.18
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 1, errors out: 0
Original problem ID: 85073
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=85073

Problem has been resolved in 3m 0s at 12:42:29 on 2023.08.18
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 85073


Instant Article API publishing

 Integration with FB API

Looking good so far

@mparent61 @benghaziboy @spra85 ready for review

👍

@spra85 @mparent61 made updates based on feedback

Remaining concern is that much of the FB API interaction is not covered in local/test environments, and only loosely covered by unit tests.
At the very least I would make sure that the settings access + template rendering is executed before the environment check, so that settings + template errors can be caught earlier in testing.
What abou using VCR to record single IA article create + delete interactions, which could then be replayed via tests?

I'd be fine using VCR, but the requests mocks are already sending back the exact payloads from the API.

@mparent61 more updates

Yeah, the API responses are simple enough that VCR probably is overkill. VCR would potentially make maintenance easier in the future (auto-regenerate mocks), but we can punt on it.
The refactoring you just did to always render even in non-prod seems like the low-hanging fruit here.

👍

👍

Coverage decreased (-0.08%) to 86.155% when pulling 23e26d9a93eb3c9660dd2d0e220320b41d210532 on ia-publishing into 3621edb26f7c4e05de259dc0cfd1a526533989d4 on master.


build fails

https://github.com/NestroyCA/nestroyca-astro-base/actions/runs/6960093168/job/18938813714#step:3:240

reason: wrong import syntax!

syntax wasn't wrong, for some unknown reason, astro wasn't resolving the packages accordingly, probably because tabulator behaves a bit strange


Generate structure from InChI String - Incorrect structure rendering in Remote mode

Steps to Reproduce

Launch Ketcher in Remote mode.
Click the Open button.
Type "InChI=1/C11H12/c1-3-5-7-9-11-10-8-6-4-2/h1H,5,7-8,10H2,2H3" into dialog field.
Click OK.

Expected behavior
The correct structure - chain string that contains some triple bonds - appears on canvas.

Actual behavior

Desktop:
OS: Windows 10
Browser: Chrome Version 93.0.4577.63, Firefox Version 92.0, Microsoft Edge Version 93.0.961.47
Additional context
Not reproduce in 3.2 version.

fixed, tested 2.4


Some random test tweaks

Some random improvements

Coverage decreased (-0.3%) to 89.644% when pulling cfe56abc39f3c72f19ab7fd69389bea2f743c7ca on Pchelolo:test_tweaks into a66b4c69baf9e046d60ae0257f95028bb13303a3 on wikimedia:master.


TPV histamine secretion by mast cell &  mast cell degranulation

GO:0002553    histamine secretion by mast cell
and
mast cell degranulation
are children of
GO:0032418   lysosome localization

Here I thought the p[arent looed incorrect, so the fix should  e easy, or the ticket can be closed if correct.
I just couldn't see how  it fit with lysosomes localization

'lysosome localization' is inferred from the logical definition:
'regulated exocytosis'
and ('occurs in' some 'mast cell granule')
and ('transports or maintains localization of' some 'mast cell granule')

the fact that 'mast cell granule is_a lysozyme

I think the 'occurs in' some 'mast cell granule' is odd, I will remove it.
Thanks, Pascale


[Bug] Torch 2.5 issue with Tensor Parallel Size > 1

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[X] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
[X] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 5. Please use English, otherwise it will be closed.

Describe the bug
With PyTorch 2.5, tensor parallel size > 1 causes an EOF error; do you know where it might come from?
Reproduction
1|sglang  | [2024-11-05 13:52:51 TP2] Init torch distributed begin.
1|sglang  | [2024-11-05 13:52:52 TP1] Init torch distributed begin.
1|sglang  | [2024-11-05 13:52:52 TP7] Init torch distributed begin.
1|sglang  | [2024-11-05 13:52:53 TP4] Init torch distributed begin.
1|sglang  | [2024-11-05 13:52:53 TP6] Init torch distributed begin.
1|sglang  | [2024-11-05 13:52:54 TP3] Init torch distributed begin.
1|sglang  | [2024-11-05 13:52:54 TP0] Init torch distributed begin.
1|sglang  | [2024-11-05 13:52:54 TP5] Init torch distributed begin.
1|sglang  | Traceback (most recent call last):
1|sglang  |   File "/root/miniconda3/lib/python3.10/runpy.py", line 196, in _run_module_as_main
1|sglang  |     return _run_code(code, main_globals, None,
1|sglang  |   File "/root/miniconda3/lib/python3.10/runpy.py", line 86, in _run_code
1|sglang  |     exec(code, run_globals)
1|sglang  |   File "/home/ubuntu/sglang-4/python/sglang/launch_server.py", line 16, in
1|sglang  |     raise e
1|sglang  |   File "/home/ubuntu/sglang-4/python/sglang/launch_server.py", line 14, in
1|sglang  |     launch_server(server_args)
1|sglang  |   File "/home/ubuntu/sglang-4/python/sglang/srt/server.py", line 436, in launch_server
1|sglang  |     launch_engine(server_args=server_args)
1|sglang  |   File "/home/ubuntu/sglang-4/python/sglang/srt/server.py", line 413, in launch_engine
1|sglang  |     scheduler_pipe_readers[i].recv()
1|sglang  |   File "/root/miniconda3/lib/python3.10/multiprocessing/connection.py", line 250, in recv
1|sglang  |     buf = self._recv_bytes()
1|sglang  |   File "/root/miniconda3/lib/python3.10/multiprocessing/connection.py", line 414, in _recv_bytes
1|sglang  |     buf = self._recv(4)
1|sglang  |   File "/root/miniconda3/lib/python3.10/multiprocessing/connection.py", line 383, in _recv
1|sglang  |     raise EOFError
1|sglang  | EOFError
Environment
Python: 3.10.15 (main, Oct  3 2024, 07:27:34) [GCC 11.2.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: NVIDIA H100 80GB HBM3
GPU 0,1,2,3,4,5,6,7 Compute Capability: 9.0
CUDA_HOME: /usr
NVCC: Cuda compilation tools, release 12.4, V12.4.131
CUDA Driver Version: 550.90.12
PyTorch: 2.5.0+cu124
sglang: 0.3.4.post2
flashinfer: 0.1.6+cu121torch2.4
triton: 3.1.0
transformers: 4.46.0
requests: 2.32.3
tqdm: 4.66.5
numpy: 1.26.4
aiohttp: 3.10.10
fastapi: 0.115.4
hf_transfer: 0.1.8
huggingface_hub: 0.26.2
interegular: 0.3.3
packaging: 24.1
PIL: 10.4.0
psutil: 6.1.0
pydantic: 2.9.2
uvicorn: 0.32.0
uvloop: 0.21.0
zmq: 26.2.0
vllm: 0.6.3.post1
multipart: 0.0.16
openai: 1.52.2
anthropic: 0.37.1
NVIDIA Topology:
GPU0    GPU1    GPU2    GPU3    GPU4    GPU5    GPU6    GPU7    NIC0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      NV18    NV18    NV18    NV18    NV18    NV18    NV18    SYS     0-103   0               N/A
GPU1    NV18     X      NV18    NV18    NV18    NV18    NV18    NV18    SYS     0-103   0               N/A
GPU2    NV18    NV18     X      NV18    NV18    NV18    NV18    NV18    SYS     0-103   0               N/A
GPU3    NV18    NV18    NV18     X      NV18    NV18    NV18    NV18    SYS     0-103   0               N/A
GPU4    NV18    NV18    NV18    NV18     X      NV18    NV18    NV18    SYS     104-207 1               N/A
GPU5    NV18    NV18    NV18    NV18    NV18     X      NV18    NV18    SYS     104-207 1               N/A
GPU6    NV18    NV18    NV18    NV18    NV18    NV18     X      NV18    SYS     104-207 1               N/A
GPU7    NV18    NV18    NV18    NV18    NV18    NV18    NV18     X      SYS     104-207 1               N/A
NIC0    SYS     SYS     SYS     SYS     SYS     SYS     SYS     SYS      X
Legend:
X    = Self
SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX  = Connection traversing at most a single PCIe bridge
NV#  = Connection traversing a bonded set of # NVLinks
NIC Legend:
NIC0: mlx5_0
Hypervisor vendor: KVM
ulimit soft: 1024

Can you try torch 2.4? Can you check whether there is OOM?


markdown-it support

I have skimmed the about page to see how the typography and markdown parsing is done. At the end of the page there are some markdown-it plugins mentioned with a sample text to demonstrate how they work. It seems that only some of the examples work (might be only footnotes) and the rest is not.

Also the typographic replacements at the top of the page do not work.

I compared to the output of the markdown-it sample page at https://markdown-it.github.io/.
My questions are:

Is this a bug or missing feature? Or are markdown-it plugins generally not supported?

If those plugins should be supported: Where to configure them? I'm not sure if this theme is using a specific markdown parser and how to change it accordingly.
If those plugins aren't and won't be supported: The only possibility to extend the markdown functionality is to configure the hugo goldmark markup. Or am I missing something?

They were working previously. I was using goldmark for markdown. This could be why, so it needs to be fixed.

Looks like those have never worked from looking at the demo. I did test goldmark and it made no difference.


↗ Auto "open browser" option

Clear and concise description of the problem
I want an option that will automatically open up the browser window when starting dev server or preview
I typically use --open in my package.json scripts but when trying to use this with Histoire it did not work.
Suggested solution
i.e.
  "scripts": {
    "story:dev": "histoire dev --port 6006 --open",
    "story:build": "histoire build",
    "story:preview": "histoire preview --port 6006 --open"
  },

Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

:laughing:  , right after i submitted feature request i figured out how to do it.
Vite can do this easily from within the vite.config.js file
export default defineConfig({
  server: {
    open: '/'
  }
})

https://vitejs.dev/config/server-options.html

you may or may not want to reimplement this functionality for histoire

you may or may not want to reimplement this functionality for histoire so i'll leave open for now

Or document it on the histoire config page :)


Setup failed for custom integration kingspan_watchman_sensit: Requirements for kingspan_watchman_sensit not found: ['kingspan-connect-sensor==2.1.0'].

Setup failed for custom integration kingspan_watchman_sensit: Requirements for kingspan_watchman_sensit not found: ['kingspan-connect-sensor==2.1.0'].
New error at startup with HA 2023.5

+1 Same issue

I just updated to latest HA core and it's some new python dependencies that I need to fix. Expect an update in the next couple of days.

Many tanks for your speedy fix @masaccio


[Addition]: 2 HELTEC CLUSTER IN JAPAN IN SPOOFED AREA

Hotspot b58 Addresses
A CLUSTER
1123Bt2s2AAno4artmhgctZD3fW9B5bv3UmU2Nvu9qf9gVpX1EMD
112Wux4NKzXbM7vRqMZPsZA4gshZkrGciLkxfC2o7ZL4HqXpk1PQ
11DaWaYPG8DcnvtCckzPddiyTudRNdZoNS13jWSQR4ZfomoakqG
11rUo3Z8tE94pu4yRojEbepV9S8ZwrWEZWFCrqm4hDUCqth4sTi
B CLUSTER
1125yGxfrJv4qhZxdisxrbmzgVyU4qSoQX7tHWYnoMDXpsHPmcDp
1127M4XHdVkKVakK7KW9oTySopi2KRtU6Fvfdh67mFMD83o7xkjr
112cEWHbkJGPCxBup69eY4s5MCn7jJN3WLEpVpcM6QVr75ZAhKRS
112F9rLi7MhfZgCk58NoijGNspMisYvLCnF3rwQFVNnYcfG2kY2r
112jUhyTvndZujx58gitLY1EpBagzEzXjZkzPffgWSbi3AUDKRMX
11hcF8D9cf2HLrhbYeeu2qCEtccZpLiiUR7UQ5PiptP5wHnH3hW
11wzTsXeioHNAGLBRRNc7hpxDRtMezdPGxX2wbMmVcMzJiJUvAn
Discord Handle
No response
Reason(s)
The spoofed area

2 Clusters with same brand heltec in a spoofed area of past. Evidence showed below
A) Based on 11rUo3Z8tE94pu4yRojEbepV9S8ZwrWEZWFCrqm4hDUCqth4sTi

B) Based on 112jUhyTvndZujx58gitLY1EpBagzEzXjZkzPffgWSbi3AUDKRMX

Chinese traitor

Chinese traitor

I'm not sure who this comment is addressed at, but it's not an appropriate way to talk about people. Please don't do it.


Masked and rsv data is not currently supported code 1002

Hi, I was debugging normaly testing some parsing and now I'm getting this error on websocket.connect() I did a rollback on my minor changes and the error persists.
this is the log:
viabilityChanged
error Optional(Starscream.HTTPUpgradeError.notAnUpgrade(503))
error Optional(Starscream.WSError(type: Starscream.ErrorType.protocolError, message: "masked and rsv data is not currently supported", code: 1002))

Today it was working again.. so it's something that the server replies. I'm consuming a exchange server, so I wouldn't have access to know what it was sending.

I have the same problem！ but it works when I use ip connect, not works for domain。

HTTP/1.0 503 Service Unavailable\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n503 Service Unavailable\nNo server is available to handle this request.\n
Optional(Starscream.HTTPUpgradeError.notAnUpgrade(503))
Optional(Starscream.WSError(type: Starscream.ErrorType.protocolError, message: "masked and rsv data is not currently supported", code: 1002))

I solved this question！
First I use domain connect，not ip connect！
Reason：
WSEngine --> connectionChanged(state: ConnectionState)  -->  let wsReq = HTTPWSHeader.createUpgrade(request: request, supportsCompression: framer.supportsCompression(), secKeyValue: secKeyValue) --> HTTPWSHeader.createUpgrade -->  let hostValue = req.allHTTPHeaderFields?[HTTPWSHeader.hostName] ?? "(parts.host):(parts.port)"
req.setValue(hostValue, forHTTPHeaderField: HTTPWSHeader.hostName)
If we do not set Host，default value is  "(parts.host):(parts.port)", if we use domin connect, Host's value is like "ws://api.ws.cn:80".
The Host's value is like "ws://api.ws.cn" without port.
Hope usefully.

I have the same problem, it happen when I use ip connect via lan.
It quickly received this error(Starscream.WSError(type: Starscream.ErrorType.protocolError, message: "masked and rsv data is not currently supported", code: 1002)) when the websocket connected.

Did you get to fix this?


Description from joined yamls not added to the output yaml

Describe the bug
I hope I  have this right, someone correct me if I'm wrong. If I join a couple of YAMLs and they have this info definition:
info:
  title: Sample API 1
  description: Description for api 1
  version: '0.1'

shouldn't the "description" be added to the resulting tag?
To Reproduce
Input files:
1.yml
openapi: 3.0.0
info:
  title: Sample API 1
  description: Description for api 1
  version: "0.1"
paths:
  /a/users:
    get:
      summary: Returns a list of users 1.
      description: Optional extended description in CommonMark or HTML.
      responses:
        '200':    # status code
          description: A JSON array of user names
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string

2.yml
openapi: 3.0.0
info:
  title: Sample API 2
  description: Description for api 2
  version: "0.1"
paths:
  /b/users:
    get:
      summary: Returns a list of users 2.
      description: Optional extended description in CommonMark or HTML 2
      responses:
        '200':    # status code
          description: A JSON array of user names
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string

3.yml
openapi: 3.0.0
info:
  title: Sample API 3
  description: Description for api 3
  version: "0.1"
paths:
  /c/users:
    get:
      summary: Returns a list of users 3.
      description: Optional extended description in CommonMark or HTML.
      responses:
        '200':    # status code
          description: A JSON array of user names
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string

RESULT
openapi: 3.0.0
info:
  title: Sample API 1
  description: Description for api 1
  version: '0.1'
paths:
  /a/users:
    get:
      summary: Returns a list of users 1.
      description: Optional extended description in CommonMark or HTML.
      responses:
        '200':
          description: A JSON array of user names
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
      tags:
        - 1_other
  /b/users:
    get:
      summary: Returns a list of users 2.
      description: Optional extended description in CommonMark or HTML 2
      responses:
        '200':
          description: A JSON array of user names
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
      tags:
        - 2_other
  /c/users:
    get:
      summary: Returns a list of users 3.
      description: Optional extended description in CommonMark or HTML.
      responses:
        '200':
          description: A JSON array of user names
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
      tags:
        - 3_other
tags:
  - name: 1_other
    x-displayName: other
  - name: 2_other
    x-displayName: other
  - name: 3_other
    x-displayName: other
x-tagGroups:
  - name: '1'
    tags:
      - 1_other
  - name: '2'
    tags:
      - 2_other
  - name: '3'
    tags:
      - 3_other
components: {}

Expected behavior
If my undrstanding is correct, I expect tags to be:
tags:
  - name: 1_other
    description: Description for api 1
    x-displayName: other
  - name: 2_other
    x-displayName: other
     description: Description for api 2
  - name: 3_other
    x-displayName: other
    description: Description for api 3

OpenAPI definition
Added to steps to reproduce
openapi-cli Version(s)
$ openapi --version
1.0.0-beta.78

Node.js Version(s)
$ node -v
v14.17.1

It looks like this is the expected behaviour. As per documentation an entry should contain the tags section to produce the info.description in the x-tagGroups of the resulting file. Also, the tags section is not expected to contain a description.
I'm closing the issue. Feel free to reopen it if I've missed something.


Modify the weekly report generator script to create two new CSVs instead of current four CSVs

Task
In support of BOD 22-01 requirements 10 and 11: Update create_snapshots_reports_scorecard.py to only create the 2 new CSVs (and stop creating the previous 4 CSVs).
Comments
The associated CSVs are generated here: https://github.com/cisagov/cyhy-reports/blob/develop/extras/create_snapshots_reports_scorecard.py#L747-L777
References

Epic https://github.com/cisagov/cool-system-internal/issues/107
Story #34
Current Estimated LOE: 4 hours for this task.

Resolved via:

https://github.com/cisagov/ncats-webd/pull/27
https://github.com/cisagov/cyhy-reports/pull/72


Don't depend on latest common in track 1 storage.

Attempt to solve https://dev.azure.com/azure-sdk/public/_build/results?buildId=1712068&view=results
"current" commons is currently pointing to "unreleased_core" which is then (unnecessarily) pulled into mvn builds..
Track 1 doesn't really need current commons. It's deprecated product.

/azp run java - storage - data - ci


feat(python): support for 3.13

Closes: https://github.com/rustedpy/result/issues/181

The question is if we start testing in the CI Pipeline against 3.13.0-rc.1 (and change it to 3.13 after the official release) or if we keep this open until 3.13 is officially released.

There's no rush to add support for 3.13 right now. I'd prefer to wait until it's fully released. Thank you for the PR however, we can keep this as a draft for now and revisit it when 3.13 is released.

Update: Python3.13 released on 2024-10-07


No config file with Symfony 6.0.1 and PHP 8.0.13

Umbrella version affected
4.2
Description
No config/packages/umbrella_admin.yaml file when install with :
composer require umbrella2/adminbundle
and when create manualy, nothing happend....
I have create the Admin/DefaultController.php and this route is fine.
I try to make the menu with the file : src/Menu/AdminMenu.php and with the config file but I don't find this file (config/packages/umbrella_admin.yaml).
I try to create this manualy and I put the config nut nothing happend (no menu on the screen) :
umbrella_admin:
  menu: App\Menu\AdminMenu

How to reproduce
composer require umbrella2/adminbundle on a clean symfony 6.0.1 installation (Debian 10 and PHP 8.0.13)
Additional Context
No response

I have try to do the same with a Symfony 5.4.1 version and I have the same situation...(always on the same server with the same PHP version)

Can you push your project somewhere ? i will check


x/website/cmd/golangorg: frequent TestWeb failures with "connect: no route to host" to play.golang.org since CL 388016

2022/03/02 11:56:35 readVersions: Get "https://play.golang.org/versions": dial tcp <IP_ADDRESS>:443: connect: no route to host
2022/03/02 11:56:35 newDirTree reading src: open src: no file system
2022/03/02 11:56:38 ERROR share error: Get "https://play.golang.org/p/MAohLsrz7JQ.go": dial tcp <IP_ADDRESS>:443: connect: no route to host
2022/03/02 11:56:38 https://go.dev/
--- FAIL: TestWeb (5.18s)
    --- FAIL: TestWeb/godev.txt (0.16s)
        --- FAIL: TestWeb/godev.txt/GET/https://go.dev/play/p/MAohLsrz7JQ.go (0.01s)
            webtest.go:260: testdata/godev.txt:46: GET https://go.dev/play/p/MAohLsrz7JQ.go
                testdata/godev.txt:50: body does not contain `Hello, 世界` (but should)
                	Internal Server Error
                testdata/godev.txt:47: code = "500", want "200"

2022/03/02 11:56:41 newDirTree reading src: open src: no file system
FAIL
FAIL	golang.org/x/website/cmd/golangorg	15.760s

These failures appear to have started as of CL 388016 (attn @jamalc, @dmitshur).
We should probably either roll back that CL or skip the test until the cause of the failure can be diagnosed and fixed.
@golang/release, we may also want to investigate whether this indicates a problem with the builders' network connectivity, the go.dev server, and/or the play.golang.org server.

greplogs --dashboard -md -l -e 'connect: no route to host\n(?:.*\n)*FAIL\s+golang\.org/x/website/cmd/.*'

2022-03-02T11:49:04-d10dfbe-40e24a9/linux-386-stretch
2022-03-02T11:49:04-d10dfbe-40e24a9/linux-amd64-stretch
2022-03-02T11:33:18-d10dfbe-fd2e1e7/linux-386-stretch
2022-03-02T11:33:18-d10dfbe-fd2e1e7/linux-amd64-stretch
2022-03-02T11:28:40-d10dfbe-bebe9aa/linux-386-stretch
2022-03-02T11:28:40-d10dfbe-bebe9aa/linux-amd64-stretch
2022-03-01T23:49:01-d10dfbe-6da16b6/linux-386-stretch
2022-03-01T23:49:01-d10dfbe-6da16b6/linux-amd64-stretch
2022-03-01T23:20:30-d10dfbe-aaa3d39/linux-386-stretch
2022-03-01T23:20:30-d10dfbe-aaa3d39/linux-amd64-stretch
2022-03-01T22:02:33-d10dfbe-d40e7bb/linux-386-stretch
2022-03-01T22:02:33-d10dfbe-d40e7bb/linux-amd64-stretch
2022-03-01T21:27:42-d10dfbe-b0db2f0/linux-386-stretch
2022-03-01T21:27:42-d10dfbe-b0db2f0/linux-amd64-stretch
2022-03-01T20:52:30-d10dfbe-f4722d8/linux-386-stretch
2022-03-01T20:52:30-d10dfbe-f4722d8/linux-amd64-stretch
2022-03-01T19:46:09-d10dfbe-d6d2ebb/linux-386-stretch
2022-03-01T19:46:09-d10dfbe-d6d2ebb/linux-amd64-stretch
2022-03-01T19:33:14-d10dfbe-a222963/linux-386-stretch
2022-03-01T19:33:14-d10dfbe-a222963/linux-amd64-stretch
2022-03-01T19:33:14-d10dfbe-7d8fa65/linux-386-stretch
2022-03-01T19:33:14-d10dfbe-7d8fa65/linux-amd64-stretch
2022-03-01T19:33:14-d10dfbe-620a3c0/linux-386-stretch
2022-03-01T19:33:14-d10dfbe-620a3c0/linux-amd64-stretch
2022-03-01T19:33:14-d10dfbe-258fc75/linux-386-stretch
2022-03-01T19:33:14-d10dfbe-258fc75/linux-amd64-stretch
2022-03-01T18:48:36-c18706c-620a3c0/linux-386-stretch
2022-03-01T18:48:36-c18706c-620a3c0/linux-amd64-stretch
2022-03-01T18:43:08-c18706c-510ad45/linux-386-stretch
2022-03-01T18:43:08-c18706c-510ad45/linux-amd64-stretch
2022-03-01T18:13:15-c18706c-d9fd920/linux-386-stretch
2022-03-01T18:13:15-c18706c-d9fd920/linux-amd64-stretch
2022-03-01T15:19:50-c18706c-a222963/linux-386-stretch
2022-03-01T15:19:50-c18706c-a222963/linux-amd64-stretch
2022-03-01T15:19:50-c18706c-7d8fa65/linux-386-stretch
2022-03-01T15:19:50-c18706c-7d8fa65/linux-amd64-stretch
2022-03-01T15:19:50-c18706c-2199841/linux-386-stretch
2022-03-01T15:19:50-c18706c-2199841/linux-amd64-stretch
2022-03-01T07:36:46-c3d4063-2199841/linux-386-stretch
2022-03-01T07:36:46-c3d4063-2199841/linux-amd64-stretch
2022-03-01T06:01:28-c3d4063-4f04e1d/linux-386-stretch
2022-03-01T06:01:28-c3d4063-4f04e1d/linux-amd64-stretch
2022-02-28T22:24:58-c3d4063-936c7fb/linux-386-stretch
2022-02-28T22:24:58-c3d4063-936c7fb/linux-amd64-stretch
2022-02-28T22:02:43-c3d4063-acc5f55/linux-386-stretch
2022-02-28T22:02:43-c3d4063-acc5f55/linux-amd64-stretch
2022-02-28T21:56:43-c3d4063-f04d5c1/linux-386-stretch
2022-02-28T21:56:43-c3d4063-f04d5c1/linux-amd64-stretch
2022-02-28T21:50:54-c3d4063-f928581/linux-386-stretch
2022-02-28T21:50:54-c3d4063-f928581/linux-amd64-stretch
2022-02-28T19:56:27-c3d4063-eb8198d/linux-386-stretch
2022-02-28T19:56:27-c3d4063-eb8198d/linux-amd64-stretch
2022-02-28T19:56:27-c3d4063-a222963/linux-386-stretch
2022-02-28T19:56:27-c3d4063-a222963/linux-amd64-stretch
2022-02-28T19:56:27-c3d4063-7d8fa65/linux-386-stretch
2022-02-28T19:56:27-c3d4063-7d8fa65/linux-amd64-stretch
2022-02-28T19:38:22-832feb7-eb8198d/linux-386-stretch
2022-02-28T19:38:22-832feb7-eb8198d/linux-amd64-stretch
2022-02-28T19:00:23-832feb7-b33592d/linux-386-stretch
2022-02-28T19:00:23-832feb7-b33592d/linux-amd64-stretch
2022-02-28T17:51:12-832feb7-57e3809/linux-386-stretch
2022-02-28T17:51:12-832feb7-57e3809/linux-amd64-stretch
2022-02-28T15:58:07-832feb7-06a43e4/linux-386-stretch
2022-02-28T15:58:07-832feb7-06a43e4/linux-amd64-stretch
2022-02-28T15:50:51-832feb7-0907d57/linux-386-stretch
2022-02-28T15:50:51-832feb7-0907d57/linux-amd64-stretch
2022-02-28T15:43:07-832feb7-9c4a862/linux-386-stretch
2022-02-28T15:43:07-832feb7-9c4a862/linux-amd64-stretch
2022-02-28T14:59:04-832feb7-57dda97/linux-386-stretch
2022-02-28T14:59:04-832feb7-57dda97/linux-amd64-stretch
2022-02-26T01:16:03-832feb7-a064a4f/linux-386-stretch
2022-02-26T01:16:03-832feb7-a064a4f/linux-amd64-stretch
2022-02-26T00:21:50-832feb7-286e3e6/linux-386-stretch
2022-02-26T00:21:50-832feb7-286e3e6/linux-amd64-stretch
2022-02-25T23:38:11-832feb7-01e522a/linux-386-stretch
2022-02-25T23:38:11-832feb7-01e522a/linux-amd64-stretch
2022-02-25T21:55:09-832feb7-a222963/linux-386-stretch
2022-02-25T21:55:09-832feb7-a222963/linux-amd64-stretch
2022-02-25T21:55:09-832feb7-7d8fa65/linux-386-stretch
2022-02-25T21:55:09-832feb7-7d8fa65/linux-amd64-stretch
2022-02-25T21:55:09-832feb7-26999cf/linux-386-stretch
2022-02-25T21:55:09-832feb7-26999cf/linux-amd64-stretch

From looking at the build dashboard, this failure isn't just frequent, it happens reproducibly since the test case in CL 388016 was added. And it only happens on linux-{386,amd64}-stretch builders, not any others.

There appears to be two separate issues uncovered here.
One, the tests cases that were added in CL 388016 should be moved to live.txt, since they depend on production resources. It just so happens these production resources are normally accessibly when running local tests, since they use "https://play.golang.org" URLs (as opposed to an internal resource only available to the go.dev server in production). I confirmed this locally by running tests with my internet disabled, as should be the case on many builders. Will send a CL to fix this.
The other issue is that this is only caught by the linux-386-stretch and linux-amd64-stretch builders, but not any of the others. In x/build/dashboard, many more builders have GO_DISABLE_OUTBOUND_NETWORK=1 in their configuration, and this shows that might not be having effect on most builders. This needs more investigation.


[SPARK-46551][PYTHON][DOCS] Refine docstring of flatten/sequence/shuffle

What changes were proposed in this pull request?
This pr refine docstring of flatten/sequence/shuffle and add some new examples.
Why are the changes needed?
To improve PySpark documentation
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass Github Actions
Was this patch authored or co-authored using generative AI tooling?
No

Merged into master. Thanks @HyukjinKwon @itholic


Change the way the kernel entry point is called to honor alignement ABI

Compilers expect functions to be called with the stack containing the return address making the rsp be 8 mod 16. jmp caused rsp to be 0 mod 16 (aka 16 bytes aligned), which then caused compiler to meke the stack misaligned everywhere.
Fix #80

Apparently the test just blew up because rustfmt is unavailable in todays nightly 😱

Note all the test passed apart from the missing rustfmt.

@GuillaumeDIDIER Thanks for reporting and directly fixing this issue!
Don't worry about the failing rustfmt checks. This is a known problem and I already have a solution in mind. I'm planning to rewrite the CI scripts and update the testing framework soon, and I will fix it then.

Published as version 0.8.2


TabBar jumps above keyboard

I'm using this with react-navigation and the tabBar jumps above the keyboard when i want to type something. How can I make it stay in bottom ?

This is a already requested feature for react-navigation, see https://github.com/react-community/react-navigation/issues/618. Keep an eye on that issue. This library can't configure that behaviour.


Some aria-labels assume the current language is English

For example, the "Close" string seen here
Ideally, these should be i18n-able yes?
I'm not super sure how we'll be able to make this work, but I noticed it during my current work and wanted to make sure I made a note somewhere.

@efischer19 ahhh good point - we should probably create a prop for aria-labels with an English default prop value?
That seems like the most obvious solution but maybe there's a better way?

Can aria-labels have props? I was under the impression that they could only be strings.
The super-far-fetched ideal is to get paragon working with react-intl, but that will require extracting/translating all display strings contained within, similar to the work I've got in progress at https://github.com/edx/studio-frontend/pull/84.

@efischer19
I think you could do something like

import React from 'react';
import PropTypes from 'prop-types';

const Example = ({ ariaLabel }) => (

{ `This is an example with aria-label: ${ariaLabel}`}

);

Example.defaultProps = {
  ariaLabel: 'foobar',
};

Example.propTypes = {
  ariaLabel: PropTypes.string,
};

export default Example;

Could totally be misunderstanding though.
Basically, I am not sure if we should handle i18n compatibility in Paragon - instead, we should allow the API user to determine what values to use.
StackBlitz example

Oh I see what you're saying - we could definitely make the aria-labels be props like we do here in Modal, I was saying there's no way to give the aria-label its own prop (for example, a lang prop identifying what language is currently being used)
I'm fine leaving it as an open question for now.

We are moving towards adding i18n support natively in Paragon, hosting its own translated messages so consumers no longer have to provide translations if using the default English messages, or where some messages are not currently customizable.


Question: Setting the corner radius

Probably a silly question but is there a way to give the top of the drawer a corner radius?

There is. If you take a look at the examples it has the following piece of code;
.sheetPlus(
            isPresented: $settings.isPresented,
            background: (
                Color(UIColor.secondarySystemBackground)
                    .cornerRadius(12, corners: [.topLeft, .topRight])
            ),
            onDrag: { translation in
                settings.translation = translation
            },
            header: { headerContent },
            main: {
                mainContent
            }
        )

It is using a view modifier which can be found in the view modifiers folder so it has backwards compatibility.
struct CornerRadiusStyle: ViewModifier {
    var radius: CGFloat
    var corners: UIRectCorner

    struct CornerRadiusShape: Shape {
        var radius = CGFloat.infinity
        var corners = UIRectCorner.allCorners

        func path(in rect: CGRect) -> Path {
            let path = UIBezierPath(
                roundedRect: rect,
                byRoundingCorners: corners,
                cornerRadii: CGSize(width: radius, height: radius)
            )
            return Path(path.cgPath)
        }
    }

    func body(content: Content) -> some View {
        content
            .clipShape(CornerRadiusShape(radius: radius, corners: corners))
    }
}

extension View {
    func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
        ModifiedContent(content: self, modifier: CornerRadiusStyle(radius: radius, corners: corners))
    }
}


This method should correctly render also if the children is created d…

…ynamically runtime.
What does the pull request do?

I could not get the FindControl or Find method on an existing Control to work with other controls being generated at runtime.
What is the current behavior?

FindControl or Find method could not recognise existing children, that are created runtime.
What is the updated/expected behavior with this PR?

Children should now be queryable from parent
How was the solution implemented (if it's not obvious)?

I did have to include System.Collections.Generic in namespace
Checklist

[ ] Added unit tests (if possible)? No
[x] Added XML documentation to any related classes? Yes
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes

Fixed issues

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

FindControl currently has a very distinct semantics of looking for the control in the name scope that doesn't necessary match visual or logical trees. I'd like to keep that this way.
Suggested API can be replaced by a one-liner in the user code: control.GetLogicalDescendants().Where(x => x.Name == name)

So I'm not sure that we want FindChildren as a part of the stable public API.
@grokys

Yeah, I think I'd prefer to push people towards the LINQ-style methods we already have for querying the logical tree rather than introducing a new method that looks similar to the methods that look in the name scope.


[AVM Module Issue]: IPv6 support for avm/res/network/public-ip-prefix

Check for previous/existing GitHub issues

[x] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/network/public-ip-prefix
(Optional) Module Version
0.5.1
Description
The module currently only supports Public IP prefixes, can you add support for IPv6 Public IP Prefixes?
(Optional) Correlation Id
No response

@cmezach thanks for reporting it. Actually the timing was very good, I was just about to update this module. The PR is in review, see above.


Add CI tests

Will it test? That is the question.
Essentially copying the test CI and code from deck after https://github.com/Kong/deck/pull/1109. Will need to figure out what to snip out later.

@rainest assuming (also based on the commits) this PR is basically this other PR plus tests, can we use chore/lift-and-shift as base branch for this PR in order to help with diffs?

Sure.

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

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

Re-added Codecov now that I've realized this doesn't require an org admin to configure and added a token.
In deck (and KIC) we weirdly have the CODECOV_TOKEN in a configure CI environment, but we don't use this environment in the workflow configuration (which apparently doesn't cause any issues). I'm not sure what's up with that. I've just placed it in the main repo secrets for now.


[Op][Topi] Gather, GatherND, Take can accept unsigned integers as indices

They really should be able to!
Link issue #10064

Thanks @AndrewZhaoLuo


[Feature Request] Trip Energy Consumption data

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
Hi,
I've been thinking that it would be great to fork the Trips data from the car.
I use Trip A as a monthly miles and kWh done and trying to reset it every month, but there are other types such as: Since Last Charge, Current Trip etc.
Wondering if these are available to be pulled in to get some graphs created in HA.

I'm not sure Tesla provides this information natively. If it doesn't, then you'd have to use HA to define trips and do the counting there. That would most likely be template sensors or even a HA component. If it turns out it's in the API, then it may be a feature request that someone could add.


Enable keycloak authentication to fire weather page WPS #193

WPS #193

Some comments - but only one change we need:
We can rely on config maps - we don't need to pollute things with dev/prod environment variables - sorry that I missed that yesterday when we walked through the code.

@Sybrand now the deployment template uses values from global config map.

Something seems to have gone wrong with deployment, I suspect you're going to have to close this PR and do a new one. (I think the failed production push did some cleanup that's now causing the build to fail?)

@Sybrand could you please elaborate? where is the build failing?


Release 0.19.0

@eparis @cjcullen @alex-mohr

This docs cloning is some new thing? Where'd I miss that discussion?

@eparis
Issue: https://github.com/GoogleCloudPlatform/kubernetes/issues/8969
PR: https://github.com/GoogleCloudPlatform/kubernetes/pull/9305
The reasoning is that we need a place where the docs are not always perma-sync'd to HEAD.

Please hold off on merging this.  I've had requests for some new PRs into 0.19.0, I'm going to create a new roll-up PR.

do not forget to update the tag.

@eparis yep, thanks for the reminder.

Ok, this is ready for re-review.
@eparis I cleared and re-pushed the tag.  Please let me know if there are problems...
Thanks!
--brendan


[<IP_ADDRESS>] Environment Information doesn't work

Environment Info no longer shows in <IP_ADDRESS>.
Checked with

Cloud9 (PHP5.5.9)
Laravel/Valet PHP70 (default config on the latest build)
AWS Linux Instances (PHP 5.5.33)

When it tries to make AJAX call to /index.php/dashboard/system/environment/info/get_environment_info, it returns 500 error.
Call to undefined method Concrete\Core\Localization\Localization::pushActiveContext()

Line 64 of /home/cf/public_html/takenaka-kaigo.jp/concrete/src/System/Info.php

I can confirm this.

I can confirm as well, running XAMPP 5.6.28.

Will be fixed in <IP_ADDRESS>