Getting issue while doing make in plugins

Hi ,
I am getting the follwoing erro while doing make in plugins folder. Can please help to resolve this erro?
/usr/local/cuda-10.2/bin/nvcc -ccbin g++ -I"/usr/local/cuda/include" -I"/usr/local/TensorRT-<IP_ADDRESS>/include" -I"/usr/local/include" -I"plugin" -m64 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -Xcompiler -fPIC -c -o yolo_layer.o yolo_layer.cu
g++ -shared -o libyolo_layer.so yolo_layer.o -L"/usr/local/cuda/lib64" -L"/usr/local/TensorRT-<IP_ADDRESS>/lib" -L"/usr/local/lib" -Wl,--start-group -lnvinfer -lnvparsers -lnvinfer_plugin -lcudnn -lcublas -lcudart_static -lnvToolsExt -lcudart -lrt -ldl -lpthread -Wl,--end-group
g++: error: yolo_layer.o: No such file or directory
Makefile:50: recipe for target 'libyolo_layer.so' failed
make: *** [libyolo_layer.so] Error 1
Thanks
GOutam

Are you using TensorRT-<IP_ADDRESS>?  Do make sure the path "/usr/local/TensorRT-<IP_ADDRESS>/include" (in the Makefile) is correct for your environment.
Otherwise, please attach the full log of make for checking.  I don't see why nvcc fails to build "yolo_layer.o" above...

I am using Jetpack 4.4 which installs tensorrt <IP_ADDRESS>. I am not able to get the path of the tensorrt installation as it is mentioned in the makefile. I tried using " /usr/src/tensorrt" as the path but the 'lib' and 'include' directories are not present there. How do i find the path of the tensorrt installation if i have installed tensorrt through deepstream sdk on Jetson TX2.
Thanks
Goutam

I see.  For TX2, you don't need to modify the Makefile.  TensorRT include/library should be in the default paths (/usr/includ/aarch64-linux-gnu & /usr/lib/aarch64-linux-gnu) already.
Please execute the nvcc command manually to see if "yolo_layer.o" is generated.
/usr/local/cuda-10.2/bin/nvcc -ccbin g++ -I"/usr/local/cuda/include" -I"/usr/local/TensorRT-<IP_ADDRESS>/include" -I"/usr/local/include" -I"plugin" -m64 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -Xcompiler -fPIC -c -o yolo_layer.o yolo_layer.cu

If not, please add "--verbose" and run the command again.  Attach the log so I could check what might be the problem.

I tried this command manually. There is no message even after adding --verbose. yolo_layer.o is not generated.
elma@elma-desktop:/media/elma/a3544183-e86d-4ae6-b0fc-a77e32544b55/tensorrt_demos/plugins$ /usr/local/cuda-10.2/bin/nvcc -ccbin g++ -I"/usr/local/cuda/include" -I"/usr/local/TensorRT-<IP_ADDRESS>/include" -I"/usr/local/include" -I"plugin" -m64 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -Xcompiler -fPIC -c -o yolo_layer.o yolo_layer.cu --verbose
elma@elma-desktop:/media/elma/a3544183-e86d-4ae6-b0fc-a77e32544b55/tensorrt_demos/plugins$ ls
Makefile  README.md  yolo_layer.cu  yolo_layer.h

I have no idea why this happens...
Could you copy the whole directory to another location (not on /media/XXX) and do make to see if it makes a difference?

The result is same.
elma@elma-desktop:~/tensorrt_demos/plugins$ /usr/local/cuda-10.2/bin/nvcc -ccbin g++ -I"/usr/local/cuda/include" -I"/usr/local/TensorRT-<IP_ADDRESS>/include" -I"/usr/local/include" -I"plugin" -m64 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -Xcompiler -fPIC -c -o yolo_layer.o yolo_layer.cu --verbose
elma@elma-desktop:~/tensorrt_demos/plugins$ ls
Makefile  README.md  yolo_layer.cu  yolo_layer.h
elma@elma-desktop:~/tensorrt_demos/plugins$

elma@elma-desktop:~/tensorrt_demos/plugins$ sudo make
/usr/local/cuda-10.2/bin/nvcc -ccbin g++ -I"/usr/local/cuda/include" -I"/usr/local/TensorRT-<IP_ADDRESS>/include" -I"/usr/local/include" -I"plugin" -m64 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -Xcompiler -fPIC -c -o yolo_layer.o yolo_layer.cu
g++ -shared -o libyolo_layer.so yolo_layer.o -L"/usr/local/cuda/lib64" -L"/usr/local/TensorRT-<IP_ADDRESS>/lib" -L"/usr/local/lib" -Wl,--start-group -lnvinfer -lnvparsers -lnvinfer_plugin -lcudnn -lcublas -lcudart_static -lnvToolsExt -lcudart -lrt -ldl -lpthread -Wl,--end-group
g++: error: yolo_layer.o: No such file or directory
Makefile:50: recipe for target 'libyolo_layer.so' failed
make: *** [libyolo_layer.so] Error 1

What are the outputs of which nvcc and nvcc -V?
And are you able to build official cuda samples with your "nvcc"?  Install cuda samples source code by following the instructions in the link below.  Then try make the 1_Utilities/deviceQuery sample program.  Check if "deviceQuery" could be built and run correctly.
https://docs.nvidia.com/cuda/cuda-samples/index.html#getting-started-with-cuda-samples

Hi,
I am not able to make deviceQuery sucessfully. Do i need to uninstall and re-install cuda?
elma@elma-desktop:/usr/local/cuda-10.2/bin/NVIDIA_CUDA-10.2_Samples/1_Utilities/deviceQuery$ which nvcc
/usr/local/cuda-10.2/bin/nvcc
elma@elma-desktop:/usr/local/cuda-10.2/bin/NVIDIA_CUDA-10.2_Samples/1_Utilities/deviceQuery$ make && ./deviceQuery
/usr/local/cuda-10.2/bin/nvcc -ccbin g++ -I../../common/inc  -m64    -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_72,code=sm_72 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_75,code=compute_75 -o deviceQuery.o -c deviceQuery.cpp
/usr/local/cuda-10.2/bin/nvcc -ccbin g++   -m64      -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_72,code=sm_72 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_75,code=compute_75 -o deviceQuery deviceQuery.o
mkdir -p ../../bin/aarch64/linux/release
cp deviceQuery ../../bin/aarch64/linux/release
cp: cannot stat 'deviceQuery': No such file or directory
Makefile:303: recipe for target 'deviceQuery' failed
make: *** [deviceQuery] Error 1

"nvcc" compiler appears not working on your TX2.  You need to fix that first.  You might try to reinstall cuda toolkit, or just re-flash the TX2 with JetPack-4.4 again.

@goutamgupta Did you manage to fix the problem?  Could we close this issue now?

Hi,
Yeah, i reflashed the Jetson and things seem to work. Looks like my CUDA installation got corrupted. Sorry, forgot to update on the forum. Thanks for your support.
Thanks
GOutam

Hi jkjung-avt !!1 I am following  your repo
[https://github.com/jkjung-avt/tensorrt_demos]
(https://github.com/jkjung-avt/tensorrt_demos)
but on the setp 3.- for Demo #5: YOLOv4 where "Go to the "plugins/" subdirectory and build the "yolo_layer" plugin. When done, a "libyolo_layer.so" would be generated." I get the next error ..
betanzos@betanzos:~/project/tensorrt_demos/plugins$ make
nvcc -ccbin g++ -I"/usr/local/cuda/include" -I"/usr/lo
cal/TensorRT-<IP_ADDRESS>/include" -I"/usr/local/include" -I"plugin" -m64 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_53,code=compute_53 -Xcompiler -fPIC -c -o yolo_layer.o yolo_layer.cu
yolo_layer.h(38): error: not a class or struct name
yolo_layer.h(44): error: member function declared with "override" does not override a base class member
yolo_layer.h(46): error: member function declared with "override" does not override a base class member
yolo_layer.h(51): error: member function declared with "override" does not override a base class member
yolo_layer.h(53): error: member function declared with "override" does not override a base class member
yolo_layer.h(55): error: member function declared with "override" does not override a base class member
yolo_layer.h(57): error: member function declared with "override" does not override a base class member
yolo_layer.h(59): error: member function declared with "override" does not override a base class member
yolo_layer.h(61): error: member function declared with "override" does not override a base class member
yolo_layer.h(63): error: member function declared with "override" does not override a base class member
yolo_layer.h(65): error: identifier "PluginTensorDesc" is undefined
yolo_layer.h(65): error: member function declared with "override" does not override a base class member
yolo_layer.h(69): error: member function declared with "override" does not override a base class member
yolo_layer.h(71): error: member function declared with "override" does not override a base class member
yolo_layer.h(73): error: member function declared with "override" does not override a base class member
yolo_layer.h(75): error: identifier "IPluginV2IOExt" is undefined
yolo_layer.h(75): error: member function declared with "override" does not override a base class member
yolo_layer.h(77): error: member function declared with "override" does not override a base class member
yolo_layer.h(79): error: member function declared with "override" does not override a base class member
yolo_layer.h(81): error: member function declared with "override" does not override a base class member
yolo_layer.h(83): error: member function declared with "override" does not override a base class member
yolo_layer.h(85): error: member function declared with "override" does not override a base class member
yolo_layer.h(87): error: member function declared with "override" does not override a base class member
yolo_layer.h(89): error: identifier "PluginTensorDesc" is undefined
yolo_layer.h(89): error: identifier "PluginTensorDesc" is undefined
yolo_layer.h(89): error: member function declared with "override" does not override a base class member
yolo_layer.h(89): error: expected a ";"
yolo_layer.h(91): error: member function declared with "override" does not override a base class member
yolo_layer.h(66): error: name followed by "::" must be a class or namespace name
yolo_layer.h(120): error: identifier "IPluginV2IOExt" is undefined
yolo_layer.h(120): error: return type is not identical to nor covariant with return type "nvinfer1::IPluginV2 *" of overridden virtual function "nvinfer1::IPluginCreator::createPlugin"
yolo_layer.h(120): error: member function declared with "override" does not override a base class member
yolo_layer.h(122): error: identifier "IPluginV2IOExt" is undefined
yolo_layer.h(122): error: return type is not identical to nor covariant with return type "nvinfer1::IPluginV2 *" of overridden virtual function "nvinfer1::IPluginCreator::deserializePlugin"
yolo_layer.h(122): error: member function declared with "override" does not override a base class member
yolo_layer.cu(151): error: identifier "PluginTensorDesc" is undefined
yolo_layer.cu(151): error: identifier "PluginTensorDesc" is undefined
yolo_layer.cu(181): error: identifier "IPluginV2IOExt" is undefined
yolo_layer.cu(282): error: identifier "IPluginV2IOExt" is undefined
yolo_layer.cu(347): error: identifier "IPluginV2IOExt" is undefined
/usr/include/aarch64-linux-gnu/NvInfer.h(5935): error: object of abstract class type "nvinfer1::YoloPluginCreator" is not allowed:
pure virtual function "nvinfer1::IPluginCreator::createPlugin" has no overrider
pure virtual function "nvinfer1::IPluginCreator::deserializePlugin" has no overrider
detected during instantiation of class "nvinfer1::PluginRegistrar [with T=nvinfer1::YoloPluginCreator]"
yolo_layer.cu(356): here
41 errors detected in the compilation of "/tmp/tmpxft_0000135a_00000000-6_yolo_layer.cpp1.ii".
Makefile:48: recipe for target 'yolo_layer.o' failed
make: *** [yolo_layer.o] Error 1
Please your support !!! I will be very grateful

https://github.com/jkjung-avt/tensorrt_demos/issues/230#issuecomment-694583342
https://github.com/jkjung-avt/tensorrt_demos/issues/156#issuecomment-691173417


[Ogre1.x] Mesh material memory leak

Original report (archived issue) by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).

Each time a mesh (submesh) is created, a new default material is also created for the mesh. That new material is never deleted.
related code

I believe this issue is already fixed and can be closed? (Unless there is another reason to keep it around)

It looks like it has.


[ML] problem with cv::ml::randMVNormal

The randMVNormal function always throws an error (failed assertion). Here is a minimal example to reproduce the error:
#include <iostream>
#include "opencv2/core.hpp"
#include "opencv2/ml.hpp"
using namespace std;
using namespace cv;
using namespace cv::ml;

int main()
{
    // generate nxd matrix of samples, X~N(mean,cov)
    int n = 10;
    int d = 2;
    Mat mean = Mat::zeros(1, d, CV_32F);  // I tried both 1xd and dx1
    Mat cov = Mat::eye(d, d, CV_32F);
    Mat samples;
    randMVNormal(mean, cov, n, samples);
    cout << samples << endl;
    return 0;
}

OpenCV Error: Assertion failed
(C.type() == type && (((flags&GEMM_3_T) == 0 && C.rows == d_size.height && C.cols == d_size.width) || ((flags&GEMM_3_T) != 0 && C.rows == d_size.width && C.cols == d_size.height)))
in cv::gemm, file C:\builds\master_PackSlave-win64-vc12-shared\opencv\modules\core\src\matmul.cpp, line 923

I think the arguments of gemm have the wrong dimensions. According to the docs, it performs the following operation: dst = src1.t()*src2 + src3.t().
Inside randMVNormal, it gets called with:
src1 = samples.row(i)   // 1xd vector
src2 = cholesky(cov)    // dxd matrix
src3 = mean             // 1xd vector
dst = samples.row(i)    // 1xd vector
flags = GEMM_3_T

Note that cv::ml::createConcentricSpheresTestSet also throws similar error, because it uses randMVNormal internally.

Beside the above problem, I think there is another bug in randMVNormal. The matrix samples is initially filled with randu(samples, 0., 1.). Shouldn't randn be used here instead?

Are you up to supplying a pull request with the suggested fixes? That might speed up the process of getting it fixed!

Ok. How about this version:
void randMVNormal(InputArray _mean, InputArray _cov, int nsamples, OutputArray _samples)
{
    // check mean vector and covariance matrix
    Mat mean = _mean.getMat(), cov = _cov.getMat();
    int dim = (int)mean.total();  // dimensionality
    CV_Assert(mean.rows == 1 || mean.cols == 1);
    CV_Assert(cov.rows == dim && cov.cols == dim);
    mean = mean.reshape(1,1);     // ensure a row vector

    // generate n-samples of the same dimension, from ~N(0,1)
    _samples.create(nsamples, dim, CV_32F);
    Mat samples = _samples.getMat();
    randn(samples, Scalar::all(0), Scalar::all(1));

    // decompose covariance using Cholesky: cov = utmat.t() * utmat
    // Note: cov must be square, symmetric, and positive semi-definite matrix
    Mat utmat;
    Cholesky(cov, utmat);

    // transform random numbers using specified mean and covariance
    //samples = samples * utmat + repeat(mean,nsamples,1);
    for(int i=0; i<nsamples; ++i) {
        Mat sample = samples.row(i);
        sample = sample * utmat + mean;
    }
}

I'm using matrix expressions to multiply instead of directly calling cv::gemm (simply because it's easier to read, I believe it will eventually call gemm as well).. I also I changed randu to randn as I previously mentioned.

@amroamroamro it is difficult to see here what you have changed.
Please create a pullrequest and link the pullrequest to this issue by commenting "#5469"
Then your fix will get reviewed.
https://github.com/Itseez/opencv/wiki/How_to_contribute#making-a-good-pull-request

Thank you for the PR!


Adapt https://tokenstats.threefoldtoken.com to include vested TFT's

Requires https://github.com/threefoldfoundation/tft-stellar/issues/289

This repo is not the right place for this issue


Update logic of the seeders to use JSON configurations

This PR updates the logic of the custom seeders to fetch the data (roles and custom fields) from the JSON files and create them. This allows the users to update the configurations easily.

Since we don't have any test suite and have only the docker build and publish tasks, does it make sense to remove the pull request from the workflow condition?
  pull_request:
    branches:
      - main

Can we also move the steps which run the seeders to this repository's startup script ? Also the environment variable configuration.

I'm also curious about this. If this works, then we can move the dependency from maintaining the crater project.

Can we merge this PR for now and explore the rest of the improvements?

Update readme
Remove /package/docker/customStart.sh

Since these changes are not related to this PR, can I address them in a new PR?

Update readme

Addressed in #3

Remove /package/docker/customStart.sh

Addressed in #2
@N0-man, can we please merge this PR?


SW-5804: Full application review screen is not reacting to application status

This PR includes a change to add an additional view to the Review screen for applications with the "Accepted" status.
Screenshots

Closing, as these changes are superseded by SW-5885


sanitycheck: native: Add option to enable UBSAN

Add option for native platform to enable undefined behaviour sanitizer.
Signed-off-by: Christian Taedcke<EMAIL_ADDRESS>

Result from sanitycheck -p native_posix --enable-ubsan (including some build errors in bluetooth):
INFO    - Total complete:  390/ 390  100%  skipped:   46, failed:   21
INFO    - 323 of 344 tests passed (93.90%), 21 failed, 46 skipped with 0 warnings in 1491.91 seconds
INFO    - In total 856 test cases were executed on 1 out of total 261 platforms (0.38%)
INFO    - 296 tests executed on platforms, 94 tests were only built.


Device and instrument definition improvements

As all surge instances are the same in implementation but differ dynamically we need to change how instrument mappings work. Currently those are static. Changes that need to be made are as follows:

[x] Split instrument definitions into separate files, with a file per "page" or two of the instrument.

This way we can swap oscillator types, effect types and maybe even filter types depending on what user wants.I am somewhat set on two oscillator with third by pressing both oscillator buttons and dual filter setup but we could possibly look into having a one page filter and one page oscillator device so people can have more FX at the same time

[x] New definition files need to be made, one file per device (eg: oscillator setup, filters, amp, effects etc)

Those files will define how pushpin is mapped to Surge-xt. I will write those definitions myself, as a 95% of the work is design work figuring out where to put values, what to include, what to ommit etc

[x] Add a way to have a "macro" knobs within instrument/device definitions

The new files should have the ability to abstract several different OSC commands under one knob. This would allow us to create abstractions of the synth engine - enabling making our own "machines" ala elektron rytm/machinedrum. Such a feature would be very useful for making pushpin into a drum machine and go a long way to having me perform with just it. Bonus point if it has curve settings for interpolation - could be done by having keywords or maybe numbers in the json along with additional functionality for it in the send_osc

[x] Add a way to send specific osc commands when a device is initialized

This would be needed for the "wrapper" devices so we know the state of certain parameters like envelopes etc. Would also be useful for stuff like enabling coarse osc tuning etc

[x] New definition files should include a way for us to add "paging" to devices

This would enable more intuitive layouts of devices with for example three band EQ. How a page would work is you'd have one knob scroll through the pages, while next X knobs would be paged and swap depending on position of the knob controlling the paging

[x] Devices should be assigned dynamically to their respective slots with the Add Device button

A menu should appear that a user can scroll through to select the device for the slot they're on right now

[x] Definitions should reload after a device is added or changed

Currently this is only on start - as we want to swap while pushpin is running we need to change this

[x] FXs have slightly different address for values depending which slot they occupy

We need to have a different way of keeping addresses for those three slots. Assembling the entire address when we know the slot plus param name won't be hard at all

[ ] Master track is FX only so it will have a different mapping than the synth tracks-

-With all of the changes outlined above making it so master has a different devices should not be hard at all
Deprecated because we will do 8x8 matrix mixer for inputs instead - so any track will be able to process audio

[x] Different Oscillator, Filter and waveshaper types should be selectable via Add Device

There's tons of filter types, tons of waveshaper types so this helps us group them into more sensible categories. With filters we could have Add Device menu for filter type (eg: ladder, k35, diode etc), a knob menu for response/slope and another knob menu for character(eg: pushed, 1 stage OJD). With waveshapers we could have Add device for category (eg: saturator, rectifier) and a knob menu for subcategory (eg:soft, medium, full wave rectifier etc).

[x] Add a macro page

Possibly by pressing convert

[x] Add a Modmatrix page

described in the doc, it's gonna be tons of work for sure

This is the bulk of the work that needs to be done for us to be able to use effects in pushpin

This is done! Some bugs present but nothing too hard to fix


EDO-244 configure number of required confirmations

This PR allows you to configure the number of confirmations required to achieve a skill. This means that only if X teams / persons have verified (up-voted) that a user has achieved a skill will this skill actually be verified.
But I think I have found a bug in the voting functionality so far:
As soon as the x-th user has up-voted my skill, it should be displayed as verified (green) in the living room. However, this only happens if I first "reopen" the skill manually and then click on "complete" again.
I suppose this behaviour has to do with the TeamSkillVoteComponent (which is called when you follow the Mattermost link to vote [#/team-skill/SKILL-ID/vote]). The TeamSkillVoteComponent.upVote() method sends a PUT request to TeamSkillResource.
But a skill can only be verified by AchievableSkillService so far.

There are two different ways to verify (vote) another teams skill: The one which is described above and the one where you go to the living room of another team (there it says "Do you think TEAMNAME can handle this?"). The latter works fine, because it PUTs the update to the TeamAchievableSkillResource.


Spigot 1.16.2 server crash and hangs

latest.zip
I issued /cleanlight command using the new BKCommonLib-1.16.2-v1-SNAPSHOT with the LightCleaner-1.16.1-v2-SNAPSHOT . this sometimes crashes the server , but not always

Looks like a loop trying to load chunks, will look into it

I tried the new BKCommonLib snapshot I did not crash but got this error
[14:56:46] [Server thread/INFO]: MajorPayne181 issued server command: /cleanlight
[14:56:46] [Server thread/ERROR]: [BKCommonLib] Unhandled exception executing command 'cleanlight' in plugin LightCleaner v1.16.1-v2-SNAPSHOT
[14:56:46] [Server thread/WARN]: java.lang.NullPointerException
[14:56:46] [Server thread/WARN]: 	at com.bergerkiller.bukkit.common.utils.CommonUtil.hasPermission(CommonUtil.java:271)
[14:56:46] [Server thread/WARN]: 	at com.bergerkiller.bukkit.common.permissions.PermissionEnum.has(PermissionEnum.java:144)
[14:56:46] [Server thread/WARN]: 	at com.bergerkiller.bukkit.lightcleaner.lighting.LightingService$ScheduleArguments.handleCommandInput(LightingService.java:756)
[14:56:46] [Server thread/WARN]: 	at com.bergerkiller.bukkit.lightcleaner.LightCleaner.command(LightCleaner.java:198)
[14:56:46] [Server thread/WARN]: 	at com.bergerkiller.bukkit.common.PluginBase.onCommand(PluginBase.java:870)
[14:56:46] [Server thread/WARN]: 	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[14:56:46] [Server thread/WARN]: 	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149)
[14:56:46] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_16_R2.CraftServer.dispatchCommand(CraftServer.java:756)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.PlayerConnection.handleCommand(PlayerConnection.java:1697)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:1540)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.PacketPlayInChat.a(PacketPlayInChat.java:47)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.PacketPlayInChat.a(PacketPlayInChat.java:1)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.PlayerConnectionUtils$$Lambda$5371/1055741170.run(Unknown Source)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.TickTask.run(SourceFile:18)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeTask(SourceFile:144)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeNext(SourceFile:118)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.MinecraftServer.ba(MinecraftServer.java:941)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.MinecraftServer.executeNext(MinecraftServer.java:934)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.awaitTasks(SourceFile:127)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.MinecraftServer.sleepForTick(MinecraftServer.java:918)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:850)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164)
[14:56:46] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R2.MinecraftServer$$Lambda$3205/995364892.run(Unknown Source)
[14:56:46] [Server thread/WARN]: 	at java.lang.Thread.run(Unknown Source)
[14:57:08] [Server thread/INFO]: MajorPayne181 lost connection: Disconnected
[14:57:08] [Server thread/INFO]: MajorPayne181 left the game

The plugin snapshots for bkcommonlib are a bit unstable as I was making very large internal changes. Can you check using the latest 1.16.2 bkc build? (yes, it supports 1.16.1) https://ci.mg-dev.eu/job/BKCommonLib/867/

tested and no error

I think I've found and fixed the server crash you've encountered, see if it's better now. Also fixes slabs/stairs letting light through.
https://ci.mg-dev.eu/job/BKCommonLib/869/
https://ci.mg-dev.eu/job/Light-Cleaner/79/


Does bfloat16 support need to be added?

I'm having trouble loading Gemma2 2B It, which has bf16 weights, rather than fp16. Is this something easily fixed? Using numpy 1.26.4 and torch 2.2.2+cu121.
Loading checkpoint shards: 100%|█████████████████| 2/2 [00:00<00:00, 11.33it/s]
0%|                                                   | 0/74 [00:00<?, ?it/s]C:\users\jim\appdata\local\programs\python\python311\Lib\site-packages\transformers\models\gemma2\modeling_gemma2.py:458: UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at ..\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:263.)
attn_output = torch.nn.functional.scaled_dot_product_attention(
0%|                                                   | 0/74 [00:00<?, ?it/s]
Traceback (most recent call last):
File "C:\cygwin64\home\Jim\chat\repeng\example.py", line 59, in
trippy_vector = ControlVector.train(model, tokenizer, trippy_dataset)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\cygwin64\home\Jim\chat\repeng\repeng\extract.py", line 51, in train
dirs = read_representations(
^^^^^^^^^^^^^^^^^^^^^
File "C:\cygwin64\home\Jim\chat\repeng\repeng\extract.py", line 202, in read_representations
layer_hiddens = batched_get_hiddens(
^^^^^^^^^^^^^^^^^^^^
File "C:\cygwin64\home\Jim\chat\repeng\repeng\extract.py", line 293, in batched_get_hiddens
.numpy()
^^^^^^^
TypeError: Got unsupported ScalarType BFloat16

Fixed in #56 / the 0.4.0 release!


Adds links to documentation & missing strong tags

Hey! I'm just getting started with InfluxDB and I was kind of confused as to what some of the things this client Readme were referring to, so I added links to some useful documentation!
Other things:

There was a grammar mistake on line 154. There was a missing "is".

Previously

One nice advantage of using InfluxDB the ability to query your data using...

Now

One nice advantage of using InfluxDB is the ability to query your data using...

There was also an inconsistency in the way InfluxDB was written in this document. Most of the time it was surrounded by strong tags and other times it wasn't. This PR makes it so that all mentions of InfluxDB has strong tags.

Let me know how all this looks!
Cheers!

[ ] CHANGELOG.md updated
[x] Rebased/mergable
[x] Tests pass
[x] Sign CLA

I'm going to close this due to inactivity.
@faiq if you can rebase this change and update the URL to use the /latest path instead of a direct reference to a specific version, please reopen this PR and I can merge it.
Thanks.


Scrape summer 2024 schedules

The schedules are out and the courses should begin in a week or two

Done in #546


fix typo

Changes Unknown when pulling 0988c4eabc6d3a02f8b46312bb54d965ed210fc3 on sanuj:typo_fix into ** on shogun-toolbox:develop**.

@karlnapf merge if possible. Just a small typo fix.

Covered in #2840 . Closing.


Cite detector should handle semi-parallel cites

Some examples:
Ex parte Milligan, 71 U.S. [4 Wall.] 2 (1866)
Ex parte Milligan, 71 U.S. (4 Wall.) 2 (1866)
Ex parte Milligan, 4 Wall. (71 U.S.) 2 (1866)
Ex parte Milligan, 4 Wall. [71 U.S.) 2 (1866)
Marbury v. Madison, 5 U.S. (1 Cranch) 137 (1803)
Marbury v. Madison, 5 U.S. [1 Cranch] 137 (1803)
Marbury v. Madison, 1 Cranch (5 U.S.) 137 (1803)
Marbury v. Madison, 1 Cranch [5 U.S.] 137 (1803)
Osborn v. Bank of the United States, 22 U.S. (9 Wheat.) 738 (1824)
Osborn v. Bank of the United States, 22 U.S. [9 Wheat.] 738 (1824)
Osborn v. Bank of the United States, 9 Wheat. (22 U.S.) 738 (1824)
Osborn v. Bank of the United States, 9 Wheat. [22 U.S.] 738 (1824)

This will require, I think, a new kind of detector at the Go level. So this should remain a separate issue.


Create an Interface for the (User-)Repository

The Interface should contain functions to retrieve data from the API.

Implemented in #46


Can't install refit 3.0.1 to Xamarin.Forms PCL; target compatibility error

Getting this error when trying to install refit v3.0.1 via NuGet to a Xamarin Forms project in Visual Studio. Fresh project, other NuGet packages include Microsoft.Azure.Mobile.Client, Microsoft.Bcl, Microsoft.Bcl.Build, Microsoft.Net.Http, Newtonsoft.Json, and Xamarin.Forms.
Could not install package 'refit 3.0.1'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', but the package does not contain any assembly references or content files that are compatible with that framework.

Refit supports .NETStandard 1.1 and higher. You need to switch to a different PCL type (Profile 111) or use NETStandard directly for your portable library.
PCL 259 is only compatible with NETStandard 1.0.

Like AliciaSAvril I Tried to add refit to a Solution with a PCL Project . Tried multiple Profiles: Profile 78, 7 and 111. All failed. (An took me a few hours). Is there any way to add refit to a current Xamarin Installation using MvvmCross?

Ok, had to use Version 2.4.1. Works with the Xamarin default Profile 72 too.

@ipalfy what errors were you getting? what version of VS or XS are you using? It should work with Profile 111.

I use Xamarin 6.1.2 (build 44). Looks like Package Manager gets into trouble when trying to add System.Runtime (.Interop) I think. However: 2.4.1 runs fine.

@mhutch are you aware of issues installing .NET Standard packages into profile based PCL's with XS 6.x?

Nope. /cc @mrward

refit fails to install into a PCL profile 111 project, which uses a packages.config file, in Xamarin Studio 6.1.2 (NuGet 3.4.3) and Xamarin Studio 6.2 (NuGet 3.5). The error reported is:
Could not install package 'System.Runtime.InteropServices.RuntimeInformation 4.0.0'.
You are trying to install this package into a project that targets
'.NETPortable,Version=v4.5,Profile=Profile111',  but the package does not contain any
assembly references or content files that are compatible  with that framework. For more
information, contact the package author.

I get the same error in Visual Studio 2015 (NuGet 3.5) with Dependency Behaviour set to Lowest.
A workaround for Xamarin Studio is to install System.Runtime.InteropServices.RuntimeInformation first, which will install a later version 4.3.0. In Visual Studio 2015 you can switch the dependency behaviour option to Highest and refit can be installed.
System.Runtime.InteropServices.RuntimeInformation 4.0.0 has a runtime/netstandard1.1 folder but it does not have a lib/netstandard1.1 folder which I am guessing is causing NuGet to fail.

Does NETStandard.Library 1.6.1 fix this? I believe it references the 4.3.0 packages by default and would b reason enough for us to specify that as the min if it fixes stuff like this.

Yes, NETStandard.Library 1.6.1 installs without any errors into a PCL project profile 111 with Xamarin Studio 6.1 and 6.2. It references System.Runtime.InteropServices.RuntimeInformation 4.3.0 as you expected.

I've got it installed, but I'm getting

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1909,5): warning MSB3274: The primary reference "Refit, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111".

My setup
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile>

I think this is a bug oh the vs 2017 targets. Have you tried it in vs 2015 with all updates?
Sent from my Windows 10 phone
From: Jan<EMAIL_ADDRESS>Sent: Thursday, December 29, 2016 5:46 PM
To<EMAIL_ADDRESS>Cc: Oren<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [paulcbetts/refit] Can't install refit 3.0.1 to Xamarin.Forms PCL; target compatibility error (#282)
I've got it installed, but I'm getting
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1909,5): warning MSB3274: The primary reference "Refit, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111".
My setup
v4.5
Profile111
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/paulcbetts/refit/issues/282#issuecomment-269705546, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABXHVBliXzqDNgOpGUKNDkmpf_kLjvpwks5rNDhSgaJpZM4LK1ZP.

Hm, I didn't. Is there any upstream bug to follow? Currently it's ok for me to use 2.x version.

Yes looks like you need NETStandard.Library 1.6.1 before you can install 3.0.0+ (profile 111)

You can always install NETStandard.Library 1.6.1 separately/first and then NuGet should do the right thing as a workaround until the dependency version is raised.

I think this is a bug oh the vs 2017 targets. Have you tried it in vs 2015 with all updates?

The latest VS 2017 RC has fixed this! 🎉

I'm having the same problem, and none of the above solutions works anymore, .... any more solution?

Will be fixed in 3.1

So, Is't enough to install refit via nuget and reference .netstandard lib into PLC project?


Review whether component correctly leverages TWBS DOM and classes

outside of the proposals outlined in #1274, TWBS is being leveraged correctly.

outside of the proposals outlined in #1267, TWBS is being leveraged correctly.


Hide VPN users' passwords in virtual router

ISSUE TYPE

Improvement Request

COMPONENT NAME

Remote Access VPN Services (L2TP-over-IPsec)

CLOUDSTACK VERSION

4.19, 4.20

CONFIGURATION

Remote Access VPN Service enabled on guest networks or VPCs
Create VPN Users

SUMMARY

The users' credentials for the VPN remote access service are in plaintext in /etc/ppp/chap-secrets file.  Even though the VRs are secured and only the platform administrators have access to them, it is not a good practice and and may even have security consequences to leave the passwords in plain text.
It would be a good improvement if it were possible to hashing this data (or something like that).
STEPS TO REPRODUCE

- Enable VPN remote access service in guest network or VPC
- Create a VPN User
- Verify that the /etc/ppp/chap-secrets file on the virtual router contains the VPN user credentials in plaintext.

EXPECTED RESULTS

User credentials should not be in plaintext.

ACTUAL RESULTS

User credentials are in plaintext.

Not sure if strongswan supports encrypted password for vpn users


SignalR, No Connection with that ID

I have an asp.net core app that uses SignalR to report metrics that are visualized in the browser. It has been working fine for several weeks, but today I noticed that SignalR fails to connect very often and even when it connects, it disconnect shortly after. I'm using LongPolling and I can see in the network logs of Chrome that the first request to "negotiate" is always successful.
{"connectionId":"Vg4Mieg0ya3aD17-f8kMxw","availableTransports":[{"transport":"LongPolling","transferFormats":["Text","Binary"]}]}

but the second one which is a POST to "notify" is not (49 out of 50 times) and it responds with 404 Not found.
No Connection with that ID

I sometimes get the following as well.
{"error":"Handshake was canceled."}

The app works flawlessly when hosted locally (using localhost). It only happens when the app is hosted (IT/FT/..) in Azure as a Web App Service and all the resources of the application are downloaded successfully. I have the above issues only for SignalR requests from browser and logs on the server side don't show anything wrong.
Target framework: .NET Core 2.2

Are you using a multi-instance web app? If so do you have ARR Affinity (sticky sessions) enabled?

My colleague just checked. We are using single instance and ARR Affinity is on. I'm going to deploy to a local IIS (as opposed to express that I'm using to debug) with production build and similar URL (virtual folders) to see if I can reproduce the issue in my dev box.

Could you collect a network trace of the failing connections? https://docs.microsoft.com/en-us/aspnet/core/signalr/diagnostics?view=aspnetcore-2.2#network-traces

Could you collect a network trace of the failing connections? https://docs.microsoft.com/en-us/aspnet/core/signalr/diagnostics?view=aspnetcore-2.2#network-traces

Thanks for the suggestion. I did and to be sure I also asked my colleague to reduce the instance count to 1 to reduce the number of things that can go wrong. After reducing the instances, it's now working fine apart from random Gateway timeout issues that can happen a few times during the day. If it happens I think SignalR stops polling permanently until I refresh the page. Is there any retry-policy + circuit breaker in it that I can configure?

After reducing the instances, it's now working fine

This heavily indicates that sticky sessions is not enabled or working correctly. The network traces (with 2 instances) would be useful to see what's going on.

Is there any retry-policy + circuit breaker in it that I can configure?

In 3.0 we're adding support for automatic reconnect, but for now you can do something like https://docs.microsoft.com/en-us/aspnet/core/signalr/javascript-client?view=aspnetcore-2.2#reconnect-clients

I will do the trace with multiple instances tomorrow to prove your theory.
Thanks for the suggestion. I thought I have read all the documentation, but obviously I have missed this one at least.

Closing this as we haven't heard from you and generally close issues with no response after ~7 days. Please feel free to comment if you're able to get the information we're looking for and we can reopen the issue to investigate further!

Im also experiencing same issue , configurations are
Asp.Net Core 2.2 Load balancing between two instances (Redis is using)
Hosted on kestrel server on CentOS behind the HAProxy.
Please help me on this matter.
Thanks.

Asp.Net Core 2.2 Load balancing between two instances (Redis is using)
Hosted on kestrel server on CentOS behind the HAProxy.

Do you have session persistence (also called session affinity or "sticky sessions") enabled to ensure that all requests for the same user always go to the same server? SignalR requires that all HTTP requests for a single connection go to the same physical server and if any request ends up getting routed to a different server, you'll get a 404.

Lets improve the error message to include that information both in the logs and response.

cough https://github.com/aspnet/AspNetCore/issues/5350 cough

Yes, 404 error disappears when sticky sessions enabled in HAProxy, but why SignalR can't share connection information via Redis, then  what is the purpose of Redis backplane as described here (https://docs.microsoft.com/en-us/aspnet/core/signalr/redis-backplane?view=aspnetcore-2.2)

Yes, 404 error disappears when sticky sessions enabled in HAProxy, but why SignalR can't share connection information via Redis,

Because it's unreliable to expect a persistent connection to exist across multiple server instances.

then what is the purpose of Redis backplane as described here (https://docs.microsoft.com/en-us/aspnet/core/signalr/redis-backplane?view=aspnetcore-2.2)

Message propagation across multiple servers (broadcast, group send, sending to another connection on another server).

Ok, I got the answer, Thank you very much.

Yes, 404 error disappears when sticky sessions enabled in HAProxy, but why SignalR can't share connection information via Redis,

Because it's unreliable to expect a persistent connection to exist across multiple server instances.

@davidfowl
I've seen a few presentations about the subject. I do understand this does reduce the complexity of the SignalR codebase. But, with cloud workloads becoming more and more common, scaling out and load balancing instead of scaling up an instance (be it on app services or kubernetes), load balancing on a round robin is being used more and more. Now, add geo localized deployments behing an Azure Traffic Manager and the problem shows up even more. This limitation (keeping a single server endpoint for 1 signal-r connection) is increasing the complexity of deployment and maintenance of systems since for this specific usage, we need a sticky session/server pair where, if in a micro-service pattern, most if not all services will not require sticky sessions. Move from app services to kubernetes and this become a bigger problem since containers are expected to get re-balanced over time. Is there a plan to enable breaking this link between server and session? If there's no plan, is there a work around?
Thanks a lot!

There is no plan. This is why we built the azure SignalR service, to hide the complexity of scaling persistent connections. It’s not about making the code base cleaner, it’s about making it easier to scale persist connections. This isn’t your typical stateless web tier, it’s stateful and you need to be aware of that when you use persistent connections. If for some reason you can’t use the service, then split your SignalR traffic from your web tier and scale them differently (that effectively what the service gives you for free).

Thank you for the quick reply.

Hi, I'm getting this issue after having my server running for a while. As far as I know, I have not scaled out my SignalR server to multiple instances, I assume this is something you have to configure actively on Azure somewhere (?) If it happens on a single instance, what could be the reason behind it? The exact error I get is
Request Finished Successfully, but the server sent an error. Status Code: 404-Not Found Message: No Connection with that ID

If it happens on a single server then something else is wrong. What server is this and does it happen randomly or can you reproduce it.

It's an Azure Web App running ASP.NET Core with the newest version of SignalR. I increased the timeout intervals, but it didn't seem to do a difference. It happens randomly, although there seems to be periods where it happens several times in a row.

@mathiassiig I'd strongly advise you to create a new issue with your specific scenario. Since this is a closed issue, it doesn't come up in our regular tracking so you're relying on David and I alone paying attention to our GitHub notifications (which we generally do, but can easily get behind on ;)).


Simple CRUD application

I wish to make an simple CRUD app with MERN stack..
Please assign to me

@Subhradeep10  Do assign me :)


Add a spanId field to the google-cloud-logging LogEntry class.

The new field is consistent with the span_id field in the Stackdriver LogEntry
protocol buffer message.  Fixes #3325.

LGTM. @garrettjonesgoogle This technically touches the surface. Do you want to take a look?

Thanks!


[REVIEW] HoltWinters Demo Notebook

Adding a notebook giving an overview of the cuML HoltWinters (ExponentialSmoothing) algorithm, tutorial, some use cases, and performance.

@egoolish, overall, I like the notebook. I am currently working on a PR to update all of our existing demo notebooks so they follow a consistent format and flow.
I will provide more feedback on your HW notebook next week, however, one thing I'd like to point out right away is that the notebook could be made easier to follow by using sub-headings and better separating the text into different paragraphs.
The main purpose of these notebooks is to very quickly demonstrate to a user:

How we provide a near-drop-in replacement for industry-standard APIs (this means putting imports close to each other and in a single place so that users can see them).
Simple and lightweight demonstration of basic operation on one or a few different datasets
Speed of computations vs the industry-standard equivalent
A simple example of how a model might be evaluated

IMO, the more complicated "tutorial-style" notebooks might find a better home in our notebooks-extended repository.

Please don't forget to update README.md with the notebook descriptions and links! :)
Also, @divyegala use cuml.tsa and you used cuml to get HoltWinters.  I'm still waiting for the ops issue to be fixed with the docker containers, so can you explain to me the discrepancy?


Add cURL examples for Powershell & Command Prompt

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Every REST API reference, the index of which is this.
What part(s) of the article would you like to see updated?
All the examples of REST API endpoint requests.
We should consider some scenarios for Command Prompt & Windows Powershell/Powershell(multi-platform). I've highlighted them below :

The line break symbols are different in Command Prompt & Powershell. While \ is for Unix shells, ^ and ` are the symbols for making line breaks in Command Prompt & Powershell respectively.
Also warn the Windows Powershell users that curl is an alias for Invoke-WebRequest cmdlet in Windows Powershell. So they should type curl.exe instead of curl. For more information refer PowerShell/Powershell#1901.
cURL comes bundled in Windows 10 build 1804 & later.
Also show Command Prompt users how to use double quotes in JSON Request body correctly. An example :

Bash    curl -X PUT https://api.github.com/repos/thispsj/thispsj/topics -d '{"names":["about-me"]}'

Command Prompt    curl -X PUT https://api.github.com/repos/thispsj/thispsj/topics -d "{\"names\":[\"about-me\"]}"

If possible add examples that use Invoke-WebRequest cmdlet of PowerShell.

Additional information

As seen in the above screenshot we could add a drop-down list at the marked area containing options : Unix, Command Prompt, Windows Powershell & Powershell. The user can then change the snippet using drop-down which fits best to their platform.
Can give some examples here on request.

@thispsj
Thanks so much for opening an issue! I'll triage this for the team to review :eyes:

Thank you for opening this issue! I linked to it from the REST feedback discussion so that it can be considered with that project.

Thanks for the feedback! Since this is now linked to the feedback discussion I'll close this.


Automated cherry pick of #9012

Cherry pick of #9012 on release-6.0.
/cc  @agarciamontoro
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.


[SPARK-30346][CORE]Improve logging when events dropped

What changes were proposed in this pull request?
Make logging events dropping every 60s works fine, the orignal implementaion some times not working due to susequent events comming and updating the DroppedEventCounter
Why are the changes needed?
Currenly, the logging may be skipped and delayed a long time under high concurrency, that make debugging hard. So This PR will try to fix it.
Does this PR introduce any user-facing change?
No
How was this patch tested?
NA

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@seanli-rallyhealth Thanks for reply, I've updated as commented.

cc. @vanzin

adding cc. @cloud-fan and @squito for expanding visibility

ok to test

Test build #116192 has started for PR 27002 at commit 5bf09c2.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20986/
Test PASSed.

Thanks for reply @vanzin, I think this log can still do much help even after it was logged at first, in real cluster, the logging always configured as rolling by size, and the log is rolling fast, expecially for SparkSQL thriftserver case. With this log we can still know what happened and probably find out what make it slow with the threaddump even after the log was rolled.

The thing is that the current event dispatcher is processing now may not be the culprit of slowdown, and the log could give wrong information which points out innocent one which would lead us wasting time to investigate. What's worse, we cannot determine whether the information is correct or not. Please correct me if I'm missing here.

Test build #116192 has finished for PR 27002 at commit 5bf09c2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116192/
Test PASSed.

@HeartSaVioR I agree that this log can not definitely tell us where the slow must be, but at least can provide some clues, it's no worse than no clues. Moreover, I think if there are some hot points are really slow, then there are larger probability that it will appear in the periodic log.

Quoting my comment again:

Spark will introduce a new configuration to log the event and listener name if the execution takes more than configured threshold; it would be more helpful. The commit is 0346afa

@liupc Any update here?

@liupc Any update here?

Sorry for late reply, already fixed the indent.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23276/
Test PASSed.

Test build #118521 has started for PR 27002 at commit a216f58.

Test build #118521 has finished for PR 27002 at commit a216f58.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118521/
Test PASSed.

thanks, merging to master!

also merged to branch-3.0.


Every command has a 30 second delay

So I started play with Acorn today and am seeing a strange behavior of commands such as acorn build and acorn run having a 30 second delay (more precisely it's like 26 to 28 seconds) before it starts to really do anything.
The below is an example of from the output of the acorn build command:
$ acorn build --debug
DEBU[0000] Looking up https://beta.acorn.io/apis/manager.acorn.io/v1/accounts/stevel032
DEBU[0000] Response code: 200. Response body: {"kind":"Account","apiVersion":"manager.acorn.io/v1","metadata":{"name":"stevel032","uid":"17c354cb-441f-439d-ba74-a8d6e5264023","resourceVersion":"12478","generation":6,"creationTimestamp":"2023-08-22T00:27:44Z","annotations":{"manager.acorn.io/plan":"free"},"ownerReferences":[{"apiVersion":"manager.acorn.io/v1","kind":"Identity","name":"gh-55261196","uid":"5c7addfd-69f4-43a5-86aa-8436f77acdaf","controller":true,"blockOwnerDeletion":true}],"finalizers":["acorn-us-east-2.manager.acorn.io/account","acorn-us-east-2-a.manager.acorn.io/account","acorn-gp-us-east-2.manager.acorn.io/account","acorn-sb-us-east-2.manager.acorn.io/account"],"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"manager.acorn.io/v1","time":"2023-08-22T00:27:44Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:ownerReferences":{".":{},"k:{\"uid\":\"5c7addfd-69f4-43a5-86aa-8436f77acdaf\"}":{}}}}},{"manager":"account-plan-handler","operation":"Update","apiVersion":"manager.acorn.io/v1","time":"2023-10-02T16:08:17Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:manager.acorn.io/plan":{}}}}},{"manager":"cluster-agent","operation":"Update","apiVersion":"manager.acorn.io/v1","time":"2023-10-05T21:54:24Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:finalizers":{".":{},"v:\"acorn-gp-us-east-2.manager.acorn.io/account\"":{},"v:\"acorn-sb-us-east-2.manager.acorn.io/account\"":{},"v:\"acorn-us-east-2-a.manager.acorn.io/account\"":{},"v:\"acorn-us-east-2.manager.acorn.io/account\"":{}}}}}]},"spec":{},"status":{"id":"stevel032-5821f8450ed6","endpointURL":"https://a-stevel032-5821f8450ed6-3c058e70.0z3ef3.on-acorn.io","deployedAcornImage":"42bc2943366f7017c8cd3d054dd5dccd7001aadb6e2f85ed01a35badf21d59d4","desiredAcornImage":"41a6b29b55becfbf757a61cae990d72e90d016ce1cb64e48d9e2f293c6c37bbf"}}
INFO[0000]    in 0 milliseconds

( a loooong delay of about 27 seconds here)

INFO[0026] GET https://a-stevel032-5821f8450ed6-3c058e70.0z3ef3.on-acorn.io/apis/api.acorn.io/v1 200 OK in 348 milliseconds
INFO[0026] GET https://a-stevel032-5821f8450ed6-3c058e70.0z3ef3.on-acorn.io/apis/api.acorn.io/v1/namespaces/acorn/builders 200 OK in 98 milliseconds
INFO[0026] GET https://a-stevel032-5821f8450ed6-3c058e70.0z3ef3.on-acorn.io/apis/api.acorn.io/v1/namespaces/acorn/builders?fieldSelector=metadata.name%3Ddefault 200 OK in 90 milliseconds
DEBU[0027] builder status code: 200
INFO[0027] POST https://a-stevel032-5821f8450ed6-3c058e70.0z3ef3.on-acorn.io/apis/api.acorn.io/v1/namespaces/acorn/acornimagebuilds 201 Created in 119 milliseconds
DEBU[0027] Building with URL: https://bld-default-a-stevel032-5821f8450ed6-acorn-23505724-10873-3fb20.qactc6.on-acorn.io
DEBU[0027] Switching from status session  => 08e193f5-1556-4223-b6f2-26e3f731b41c
[+] Building 1.1s (9/10)
[+] Building 1.2s (10/10) FINISHED

I wonder if someone can look into it. I am using the Mac version of your command line software.
$ acorn version
acorn version v0.9.1+21ff0c84

Thank you!

Hi @stevel032!
The acorn build and acorn run commands may be special in this case because they need to ensure that the builder is deployed and running. If you run acorn build twice in short order, does the second one take a while, too?

If I run acorn build twice in short order, I still get a long delay. Today the delay is pretty constant at about 57 seconds, rendering the acorn command somewhat not usable.

I wonder if there's away for me to build your CLI command and maybe debug this myself as well?

You absolutely can. Typically, if I am having trouble with a command, I setup my GoLand IDE to run the particular command in "debug" mode with breakpoints. Or, you can do print-statement debugging.
There is no special-sauce to build the CLI: go build -o bin/main . should do the trick. You may see some deprecation warnings since you're using macOS, but those can be ignored for now.

I think I narrowed down the problem quite a bit. Basically the delay occurred here in the go-git package:
func (w *Worktree) Status() (Status, error) {

The Acorn CLI is invoking a git client locally from this code snippet:
func (c *DefaultClient) AcornImageBuild(ctx context.Context, file string, opts *AcornImageBuildOptions) (*v1.AppImage, error) {

... ...
	vcs := vcs.VCS(file, opts.Cwd)

Unfortunately the go-git library seems to have an open issue from 4 years ago indicating that this is indeed the case (see https://github.com/go-git/go-git/issues/181). A guy claims the time delay to be 46 seconds with a NodeJS project. I had multiple NodeJS project in my directory tree, covered by .gitignore, but the go-git library would still be delayed according to this open issue.
In any case, I hope you guys find a way to resolve this soon, or maybe simply don't invoke a git client under the hood. It's really unexpected by a user like myself, when using the Acorn CLI tool. It is a little unsettling to learn that the Acorn CLI tool is traversing ALL my source code files.

We're only looking for basic metadata (commit hash, remotes, is it "dirty", etc) to add into the image.
But shelling out to git status --porcelain to get modified/untracked status is probably a lot more efficient than what go-git is doing.

Thanks for the clarification, I didn't mean to allude that there's any ill intent, in fact to the contrary your codebase being open source eliminate a lot of concerns. But still, why having such a discussion if you don't have to. If the Acorn CLI wants/needs to gather information from the local environment and make such information part of an image, and thus possibly unerasable once published, it'll be more desirable to have the user make the choice instead of the tool, say through an option, or at the very least, clearly state such activity is taking place through some DEBUG or INFO statements around the activities.
In any case, I'm excited about the Acorn platform, and would love to be able to experience it unencumbered. I guess I'll just go ahead and comment out this VCS/git operation, and use my own local build until you guys implement some type of work-around.


The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
- Coverage   90.07%   89.68%   -0.39%
==========================================
  Files           5        5
  Lines         514      514
==========================================
- Hits          463      461       -2
- Misses         51       53       +2

Impacted Files
Coverage Δ

cerberus-cpp/validator.hh
97.95% <100.00%> (ø)

cerberus-cpp/rules.hh
86.71% <0.00%> (-0.70%)
:arrow_down:

Continue to review full report at Codecov.

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


Functions with sound

Team 0xADDC0DE
Ticket 52
Unfinished (There are functions to play sound for required situation). It will also play losing sound when program is opened).

Please, add some event handlin.
This systems only loads the game.


Applying CSS Contrast + Brightness Adjustment

Hi, I've researching for a few hours how to apply a CSS filter operations brightness and contrast with sharp, but I haven't been able to succeed at both at the same time.
CSS brightness is simply a multiply operation I believe, so linear is ax + b, then:
image.linear(brightness)

For contrast, I ran across this: https://www.w3.org/TR/filter-effects/#contrastEquivalent, combining with a stack overflow result I was able to get this, which appears to work:
image.linear(contrast, -(128 * contrast) + 128);

However, for the life of me, I can't get these 2 operations to combine with correct results. It appears that the second linear call overwrites the first, is that correct behavior? I don't see it documented but perhaps I missed it.
So, I tried to apply both operations in one call via replacement, i.e.:
f (x) = b * x
g (x) = c * x + (-(128 * c) + 128)
f(g(x)) = (b * c * x) + (b * (-(128 * c) + 128))

To js:
image.linear(brightness * constrast, brightness * (-(128 * contrast) + 128));

But that didn't work either, perhaps my logic is off here.
Finally, I attempted to combine operation from above with the modulate brightness function to solve the brightness multiplier, but changing the brightness for some reason changes the hue of the image, or perhaps I don't understand the purpose of modulate.
So I'm left pretty lost in a field I don't know much about. Any pointers would be appreciated, and if there's any way that the sharp api could be extended to apply these 2 common option easily, that would be much appreciated, I know at least a few people have this use case.

I would expect your suggested approach of using the modulate operation to adjust brightness (it uses to the linear LCH colourspace internally so should be more visually accurate) and the linear operation to adjust contrast to give the best results.
Do you have an example (code and images) of the unexpected hue change? It's always possible there might be some kind of rounding bug/error.

Yup, here's a self-contained example:
https://github.com/mrapogee/sharp-images-test
to run, you can
git clone https://github.com/mrapogee/sharp-images-test
cd sharp-images-test
npm install
npm run test

To preview, , using this code:
const contrast = 1.5;
const brightness = 0.5;

await sharp(inputFile)
    .linear(contrast, -(128 * contrast) + 128)
    .modulate({ brightness: brightness })
    .toFile(outputFile);

The difference looks like css, left is using css filters, right is using the sharp pipeline above

Thank you, this is a great example that led me straight to the problem, which was that the modulate operation was not ensuring the right (internal) colourspace for other colour-based operations.
Commit 833aaea fixes this and adds a unit test to prevent regression.

v0.23.3 now available, thank you for reporting this.

🙌  Thank very much, appreciate it.


Version 1.1 has some internal changes to the Python - Faker step

Internal code changes:

indention changes to address incompatibility with some versions of Python/Viya
refactoring for legibility
quality of life changes

Please include answers to these questions as part of your pull request
In the GitHub webUI, use the Write tab to modify the Markdown text that is part of the pull request. For each question simply place an X inside the square brackets, [X], that represents your answer. Using the Preview tab you can see the formatted/rendered version of the message.

Q1: Confirm that you have the right to submit the code that is being contributed. Please consider the origin of your code and confirm you have the appropriate rights to make the submission subject to the Apache 2.0 license that applies to everything in this repository of custom steps. If so, follow the instructions for the Contributor Agreement (which is based on the industry-standard Developer Certificate of Origin (DCO)).

[ ] Yes, I have the right to submit the contributed code on behalf of myself, my company, or any other owner of the code. I have also attached my signed copy of the DCO to this message.
[ ] No

Q2: Confirm that your contribution does not include any personally identifiable information (PII), for example, in any examples used in your README file.

[ ] My contribution does NOT include PII data
[ ] My contribution includes PII data

Q3: Confirm your contribution does not include any encryption or other export-controlled technology.

[ ] My contribution does NOT contain encryption or other export-controlled technology
[ ] My contribution includes encryption or other export-controlled technology

As this is a separate pull request, the questions in the form need to be answered and a contributor agreement needs to be attached.

Closing this PR so I can do an updated one...

To close the loop, the new pull request is #33


Additional examples

Hi!
It would be awesome to have some examples that show the following:

[ ] Generate a new address and attach the address to the tangle
[ ] Move balance from previously used and therefore insecure address to a newly generated address
[ ] Send amount to recipient and move leftover balance to newly generated address
[ ] Send to multiple recipients
[ ] Promote a transaction

This would really help a lot.
Best regards
Tobias

thats good

We are in the process of creating usable documentation for developers on https://docs.iota.works/ (it is not finished yet but we have dedicated persons working on it). I've propagated your example requests to the corresponding persons.


MoPat uses wrong ODM package

The current version 3.1 still uses the old ODM package version 2.0.1 which is missing some bugfixes.
This has to be updated to 2.0.2 and will be included in a hotfix.

Updated package version to 2.0.2


flutter doctor error - cannot find chrome, try setting chrome exucuatble to chrome exucutable??

flutter doctor error - cannot find chrome, try setting chrome exucuatble to chrome exucutable?? -- How to fix this sh*t

duplicate of https://github.com/flutter/flutter/issues/79181
please watch the language

Hi @somitrov
Are you using non-stable Chrome, only stable would be supported in Flutter
Check out the solution here https://github.com/flutter/flutter/issues/79181#issuecomment-808704777
Closing as duplicate of https://github.com/flutter/flutter/issues/79181
If you disagree, please write in the comments and I will reopen it.
Thank you


curl fails to download custom install script, downloads HTML instead

We have a couple thousand nodes configured to use our own wrapper of this cookbook, which works on most of the nodes.  On one of them, we get the following error:
had an error: Mixlib::ShellOut::ShellCommandFailed: execute[installing with hab-install.sh] (/var/chef/cache/cookbooks/habitat/resources/install.rb line 123) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
---- Begin output of bash /var/chef/cache/hab-install.sh ----
STDOUT:
STDERR: /var/chef/cache/hab-install.sh: line 1: syntax error near unexpected token `newline'
/var/chef/cache/hab-install.sh: line 1: `<!DOCTYPE html>'
---- End output of bash /var/chef/cache/hab-install.sh ----
Ran bash /var/chef/cache/hab-install.sh returned 2

This usually happens when curl fails to download our install script.  I'm just curious if the habitat cookbook has curl as a dependency so it doesn't depend on the system-installed version of curl.

It does not.  When creating the cookbook we wanted to leave out as many external dependencies as possible.

Thanks.  That makes sense.  Closing since that was my only question.


fix(astro): resolve Astro's private APIs properly

Fixes https://github.com/stackblitz/tutorialkit/issues/235

The usage of private APIs was added in https://github.com/stackblitz/tutorialkit/pull/4 (👋 @d3lm).

we'll be able to get rid of the type error

This is not just type error. In monorepo setups this import actually fails and TutorialKit fails to start. Here's example from https://github.com/AriPerkkio/tutorialkit/tree/test/ui-tests/test/ui which doesn't work without this fix.

Yes, I agree with @Nemikolh and I'd like to keep it as is. The whole point to get this in upstream is to avoid copying code from Astro so we can fully rely on upstream for this. I think we can give them the feedback that it works well for us so it can be exposed properly and we don't need to import from node_modules directly. But I am not a fan of copying it again cause that's what we wanted to avoid in the first place.

Sure, that would be ideal case. It's also breaking change as we would need to set new minimum version of astro but we can do breaking change release at this point easily.
If you have any ideas how to fix #235 and https://github.com/stackblitz/tutorialkit/pull/241 without this change, feel free to help! Otherwise this will block those two, I think.

@AriPerkkio For #235, I think we can temporarily use a config option. We should definitely provide feedback that this has been working fine for us.
For #241, why is this an issue there? Doesn't the dependency also get installed by pnpm? (I only had a quick look so sorry if it's something obvious 🙈)

Removed copied Astro's swap-functions.js and added Vite plugin that resolves it properly. I tried to add module resolving logic directly to Layout.astro but it just didn't work. It's best to do on Vite's side.
Tested with https://github.com/stackblitz/tutorialkit/issues/235 and https://github.com/stackblitz/tutorialkit/pull/241. Checked dev mode and build dist contents.
Using private APIs like this relies on Astro's npm package's file structure and can break at any time. There's reason why package.json's exports are required for imports. In my opinnion it would be best to simply copy-paste this from Astro if it's wanted to be used. And once they include it in their public API (exports), we can start requiring that version as peer dep.

We should definitely provide feedback that this has been working fine for us.

@Nemikolh @AriPerkkio I can provide that feedback to them and ask them to expose it properly for us.

Ok PR is on the way https://github.com/withastro/astro/pull/11708

@d3lm, @AriPerkkio do we want to wait for that PR to land on Astro's side then? Or are we all happy to move forward with this PR?

Let's close this and wait for Astro's PR instead. I can add work-around into the #241 for now, and post same instructions in #235.


develop the home page

Our home page is currently empty. You will implement the design we created in Figma.

@AmazingConnie I would recommend breaking this issue down into smaller pieces and being more specific. IE implements the accordion component for Semester information.
Let me know what you think!


it’s still not usable through postman:(

The postma ouath2-passport and other library use
crypto.createHash("sha256").update(codeVerifier).digest()
https://github.com/jaredhanson/passport-oauth2/blob/master/lib/strategy.js#L242
Maybe use decode type as optional too?

Sorry I missed this one, I think I saw it late at night and then just forgot to check the next morning. I'm not entirely sure I understand the problem here, but I am 100% willing to help fix it. It looks like in Jared Hanson's oauth2 they are doing the full base64url encode just the same as we are.
Here is our snippet of code that is effectively doing the same thing:
    const codeHash = crypto
      .createHash("sha256")
      .update(codeVerifier)
      .digest("hex");

The only difference I see is that we are digesting it into "hex" whereas they are not. Could this be it?

yes, 'hex' is different.
crypto.createHash("sha256").update(codeVerifier).digest() !== crypto.createHash("sha256").update(codeVerifier).digest("hex");

ouath2-passport using
 crypto.createHash("sha256").update(codeVerifier).digest()   for challenge code.
after oauth2-server try to check with
  crypto.createHash("sha256").update(codeVerifier).digest("hex")

I pushed a fix to version 1.1.0-beta.0 if you don't mind giving this one a try and seeing if it works for you
npm install --save<EMAIL_ADDRESS>
You can see the PR at #18

@klerick just bumping this thread, let me know if you're able to test this branch

sorry for the delay.
I can check only next week because I am on vacation this week)

Oh psh sorry for bugging you! Enjoy your vacation!

@klerick I think that now you might actually be running into an issue with useUrlEncode.
I am guessing that you have that option set to false. With that option set to useUrlEncode=true (see here: https://github.com/jasonraimondi/typescript-oauth2-server#the-authorization-server), the function base64urlencode it is effectively running the code above exactly.
Our base64urlencode function is taking the binary output from the digest, and recasting it as a base64 string, and then replacing the invalid url fields.
Can you verify that you are using useUrlEncode=false, and if so, try setting that value to true (or omitting it altogether), and seeing if the same version<EMAIL_ADDRESS>works.

ooops, sorry I have checked on me worked repo%)
and my repo has this removed code
https://github.com/jasonraimondi/typescript-oauth2-server/pull/18/files#diff-9970c3a9624f7d3a9a52b3d9eaca331c6f6fc9901c672fdd24632fc4555b15dfL170
now it's ok.
so, useUrlEncode option is not needed now. And the problem was in the incorrect createHash of sha256 type.

Perfect, that makes sense. I am actually going to just drop out that feature in a minor version.

updated in<EMAIL_ADDRESS>


Get rid of the red highlight in the example

It's due to the apostrophe in 'I'm'
It's super annoying.. thanks

Fair enough, done


Unexpected value 'ClickOutsideModule' Angular 10

Hi,
We receive the same error message as the old #7, but we have the following versions:
Angular: 10.2.3
Typescript 3.9.7
ClickOutside: 7.0.1
We are compiling using ivy and removing the module the compilation works. Maybe Angular 10.2 broke compatibility. Using the directive results in a similar issue.
An unhandled exception occurred: Unexpected value 'ClickOutsideDirective in ...' declared by the module 'AppModule in ...'. Please add a @Pipe/@Directive/@Component annotation.

Same goes for Angular 11.0.2 Typescript 4.0.5

Probably fixed in v8.0.0.


Prettier breaks Concordion HTML Templates which then fails CI Tests

Example failing build Circle CI build
Formatting via Trunk delegates HTML linting /  Formatting to Prettier.
Prettier then automatically lowercases the DOCTYPE declaration in HTML templates used by Concordion.
Concordion then fails with an initialization error when executing the template. (error similar to https://github.com/concordion/concordion/issues/15) Prettier issues: #https://github.com/prettier/prettier/pull/7391 and https://github.com/prettier/prettier/issues/6502 as it expects an Uppercase DOCTYPE.
Fixes:

Manually revert DOCTYPE after formatting (fragile /hacky)
Add / maintain custom exclusion configurations for affected templates. (fragile / hacky)
Add blanket exclusion for all Concordion HTML template folders (incurring loss of 99% point of using Prettier)
Convert existing HTML templates to their Markdown equivalent. (Some advanced features are only available using @FullOGNL and HTML.)
Create Issue @ Concordion to make their tool case-insensitive.
Add / create parser to undo Prettier's opinion.

The official stance is that DOCTYPE in this context should be case-insensitive.  However, each tool explicitly utilizes a different option.
Current work-around:
Trunk check / fmt should only affect new and modified code, so once it's manually committed, it shouldn't break.
Forgetting to manually implement the work-around simply results in wasted cycles and an assumption the less-than-obvious stack-trace will trigger recollection of the needed fix.

The official stance is that DOCTYPE in this context should be case-insensitive

This is not correct. You are using an XML context, and DOCTYPE is case sensitive in that context.


Feat: add "expandable and collapsable" view type to allday panel (closes #27)

Please check if the PR fulfills these requirements

[x] It's submitted to right branch according to our branching model
[x] It's right issue type on title
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] It does not introduce a breaking change or has description for the breaking change

Description

Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

There was no background of AllDay panel. Check it please.

@todo

[ ] Add Test cases for collapsed state. => the +{n} is right?
[ ] split calculation logic when it is collapsed state like calculating exceed date and get rid of the items


MS Teams Channel folders not automatically connected anymore on non-English SP sites

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
When creating a folder in a, MS Team connected, SP site default documents library and afterwards create a Channel with the same name from within Teams, these two were previously magically and automatically connected to each-other so you can see the contents of the created folder directly from the Channel 'files' tab. That is what we expect to happen in both English and (in our case) Dutch sites.
The same method is also mentioned in Laura Kokkarinen's blog @LauraKokkarinen and used to work fine for a long time.
Observed Behavior
We see that in, MS Team conneced, SP sites with the Dutch base language we get an error in MS Teams when navigating in the Channel to the files tab.
Exception encountered from Sharepoint for requestId 6ee7129f-60bc-0000-4971-317df438dcb1 Scenario ID: 1382
Tenant: https://enctbxrmtst.sharepoint.com/
So the connection to the already created folder is not correct. In SP sites with the English base language (the same base language as the root site of our tenant) and with an English user opening the 'files' tab this still works fine.
So only the combination of an English Root site, English Teamsite and English profile user language is still working fine, all other seem to fail.
Steps to Reproduce

Login with a user with another profile language than English (in our case Dutch)
Create a new Team site from the SharePoint home site
Choose the language Dutch (or any other)
Open the site and promote it to a Team, using the link in the quick launch navigation
Go to Documents library and create a folder "Channel1"
Open the Channel1 folder and create a subfolder "SubFolder1"
Open the corresponding Team and create a new Channel "Channel1"
Open the Channel and go to the 'Files' tab

We see the same issue appear recently in all our own and our customer's tenants. We saw it working fine last monday (28 october). When we now try to do the same in older Teams where we provisioned both the folders and the corresponding channels, it's also failing. So it seems that it's some mechanism inside the Teams 'files' tab functionality which has changed and caused these issues.

@advdberg I cannot reproduce this but I might have missed a step somewhere (or my profile isn't properly updated to Dutch). When you see this issue, do you have the "old" files tab or the "new" files tab in Teams (the new one is with the views and resembles the SharePoint doc lib)?
In any case, while this might have worked before, I believe this was an unsupported side effect of how Teams handled folder creation. I know that the PG has been looking into ways to make sure that folders get renamed when a Teams channel gets renamed and gracefully handling the renaming of a SharePoint site url, as well as introducing the new files experience. I can imagine any of these breaking this undocumented behavior.
If a folder needs to be connected to a channel, I'd suggest letting Teams be in control by creating the channel first and then applying site designs or calling PnP.

I posted to the PG asking if this was even an intended, supported scenario to begin with. Hopefully I'll get an answer soon.

@YannickRe I got some signs that it's working again. We will further test it now over multiple tenants to check if it's resolved everywhere it used to fail yesterday.
We got this view (so looks like the "old" files tab):

and then after a few seconds the stated error message.
To come back to your suggestion about letting Teams to be in control, the issue is that when you request a new Channel via Graph API, the channel is created but the SP folder won't be available (yet), unless you navigate as a user in Teams to the Files tab in the created Channel. It seems like that action triggers the creation/connection of the folder in SharePoint. If you wan't to do customizations to the folder while provisioning the whole bunch, you'll have to provision the folder up front (or afterwards, but that has the same effect).

Good to hear! The Product Group let’s me know that they don’t consider this scenario to be 100% supported, so it’ll be better if you could find an alternative.
I’ll share your use case with them, they might come up with an alternative approach too.

I get reports from other environments and customers that it's also fixed there.
What we do see is that the 'Go to channel' button and 'Message' are not visible in the 'pre-created' Channel folder in SharePoint. I guess that the folder properties such as 'vti_teamchannelurl' are indeed only set when Teams is creating the channel folder.
It would be nice if there's a better/supported way of automating the Channel folder creation, while in our opinion is the possibility to provision a default file/folder structure in it is crucial from a functional perspective. A small sidenote is that we now in some use cases also apply permissions to this Channel folder but that will hopefully no longer be needed with the introduction of private Channels.

Since you're saying it appears fixed, I'll mark this issue as resolved...


First segment missing

On this short route the first and second segment is missing:

This looks like a resolve issue:


Fix JSON bug on Flutter

Story: N/A
Summary
A few sentences/bullet points about the changes
Known Issues
Any shortcomings in your work. This may include corner cases not correctly handled or issues related
to but not within the scope of your PR. Design compromises should be discussed here if they were not
already discussed above.
Test Instructions
Concise test instructions on how to verify that your feature works as intended. This should include
changes to the development environment (if applicable) and all commands needed to run your work.
Screenshot
If applicable (e.g. UI changes), add screenshots to help explain your work.

@jumaallan the results need to be normalized, android and iOS have different results for the attributes we're encoding to json, an example is ios has documentFrontImage and android has documentFrontFile we need these to be uniform so that on the flutter side the user doesn's have to figure out which platform then know the attribute, on react native I fixed this by basing these on android so iOS just changes the names when encoding to json

Fixed that - thank you Japhet


Away mode missing

Thanks for your work on this!
Version of the custom_component

Version 0.1.9
Configuration
Followed the wizards at and downloaded through HACS
Describe the bug
Everything works but the “Away Mode” is missing. It’s shown in the documentation screenshots so I wonder why I don’t have it. See image here

Ups, that switch was accidentally removed from the component some time ago. I can add it back in if you need it.

That would be great, thank you so much!

Added in v0.2.0


Issue with https://kubernetes.io/docs/user-guide/kubectl/kubectl_create/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
The docs page for kubectl_create is returning a 404 error. Same for many other kubectl docs
Proposed Solution:
If these pages moved, put redirects in place.

Ah, I see this is a duplicate of at least https://github.com/kubernetes/kubernetes.github.io/issues/3053. Feel free to close.

Also fixed by #3160
/cc @chenopis

Yup, this should be working now.


removed duplicate word

as per user report #6647   so  i removed  the word  and

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@Kateyanne, PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Tests hang in Docker

What are we trying to do?
Run rails test inside Docker! (Or rake test, still not sure of the difference...)

What happens?
It hangs within the first few tests (depending on seed).  A typical run looks as follows:

$ docker-compose run web rails test
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <top (required)> at /usr/src/app/config/environment.rb:5)
DEPRECATION WARNING: after_filter is deprecated and will be removed in Rails 5.1. Use after_action instead. (called from <top (required)> at /usr/src/app/config/environment.rb:5)
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <top (required)> at /usr/src/app/config/environment.rb:5)
DEPRECATION WARNING: after_filter is deprecated and will be removed in Rails 5.1. Use after_action instead. (called from <top (required)> at /usr/src/app/config/environment.rb:5)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /usr/src/app/config/environment.rb:5)
Running via Spring preloader in process 17
Started with run options --seed 17952

  350/14: [==                                                                    ] 4% Time: 00:00:07,  ETA: 00:02:52

and then just this, forever.
The end of log/test.log looks like:
  Rendering user_mailer/account_created.html.erb
  Rendered user_mailer/account_created.html.erb (0.1ms)
  Rendering user_mailer/account_created.text.erb
  Rendered user_mailer/account_created.text.erb (0.1ms)
UserMailer#account_created: processed outbound mail in 11.8ms
Sent mail to<EMAIL_ADDRESS>(5.8ms)
Date: Sat, 15 Apr 2017 23:36:01 +0000
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>Subject: Your DCAF account has been created
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_58f2ae6153941_112b1d04ea1018338e8";
 charset=UTF-8
Content-Transfer-Encoding: 7bit

----==_mimepart_58f2ae6153941_112b1d04ea1018338e8
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

Hi Billy Everyteen -- A CMAPP account has been created for you!

Please unlock it by heading to the system and resetting your password.

Email the CM Directors if you experience any difficulties.

Thanks for your service!

- Team DCAF

----==_mimepart_58f2ae6153941_112b1d04ea1018338e8
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

Hi Billy Everyteen --

A CMAPP account has been created for you!

Please start by heading to the system and resetting your password.

Email the CM Directors if you experience any difficulties.

Thanks for your service!

- Team DCAF

----==_mimepart_58f2ae6153941_112b1d04ea1018338e8--

MONGODB | db:27017 | dcaf_case_management_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58f2ae613c1ab40011486aa3')}, "u"=>{"$addToSet"=>{"patient_ids"=>{"$each"=>[BSON::ObjectId('58f2ae613c1ab40011486a9f')]}}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | db:27017 | dcaf_case_management_test.update | SUCCEEDED | 0.001003625s
MONGODB | db:27017 | dcaf_case_management_test.insert | STARTED | {"insert"=>"audit_trails", "documents"=>[{"_id"=>BSON::ObjectId('58f2ae613c1ab40011486aa4'), "association_chain"=>[{"name"=>"Patient", "id"=>BSON::ObjectId('58f2ae613c1ab40011486a9f')}], "modified"=>{"user_ids"=>[BSON::ObjectId('58f2ae613c1ab40011486a...
MONGODB | db:27017 | dcaf_case_management_test.insert | SUCCEEDED | 0.000996234s
MONGODB | db:27017 | dcaf_case_management_test.update | STARTED | {"update"=>"patients", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58f2ae613c1ab40011486a9f')}, "u"=>{"$set"=>{"updated_at"=>2017-04-15 23:36:01 UTC, "version"=>2}, "$addToSet"=>{"user_ids"=>{"$each"=>[BSON::ObjectId('58f2ae613c1ab40011486aa3')]}}}, "mu...
MONGODB | db:27017 | dcaf_case_management_test.update | SUCCEEDED | 0.000727548s
MONGODB | db:27017 | dcaf_case_management_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58f2ae613c1ab40011486aa3')}, "u"=>{"$set"=>{"call_order"=>["58f2ae613c1ab40011486a9f"]}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | db:27017 | dcaf_case_management_test.update | SUCCEEDED | 0.000860793s
MONGODB | db:27017 | dcaf_case_management_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58f2ae613c1ab40011486aa3')}}
MONGODB | db:27017 | dcaf_case_management_test.find | SUCCEEDED | 0.000660827s
MONGODB | db:27017 | dcaf_case_management_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58f2ae613c1ab40011486aa3')}}
MONGODB | db:27017 | dcaf_case_management_test.find | SUCCEEDED | 0.000733542s

It doesn't seem to always be the same test, but I did notice that there tends to be the user-creation email near the end of the log each time. (However, it's not the first user-creation email generated in the test run or anything like that.)

What feature or behavior is this required for?
Making changes without fear :)

How could we solve this issue? (Not knowing is okay!)
I don't know.  Things I checked:

Entropy didn't run out inside the container
It doesn't appear to be trying to connect to any SMTP server or something like that

Doing dev in a Docker environment is pretty new to me, so I may be missing something obvious.
I don't have any evidence for it, but maybe it's hanging when it hits the first Capybara test?  Let me know if you can think of any other logs to check or diagnostics to run.
Also, running the tests outside of Docker, they don't get stuck but progress slowly because they are full of Capybara::Poltergeist::TimeoutErrors (the saved screenshots all show just the main homepage, so clearly something fundamental is amiss with my setup there.)

Anything else?

This was tested on master, as of writing this is at 4d6a26af87.

This is an issue with Alpine and PhantomJS. Currently tackling.


Add codecov icon

add codecov icon
add DifferentialEquations.jl to deps

Codecov Report

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

@@          Coverage Diff           @@
##           master     #21   +/-   ##
======================================
  Coverage    7.37%   7.37%
======================================
  Files          20      20
  Lines         908     908
======================================
  Hits           67      67
  Misses        841     841

Continue to review full report at Codecov.

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


Map not loading in FF (68.0.2 64-bit) on Win 7

very similar to #98,  I get
ReferenceError: L is not defined worldmap.js:126:1
I see the icon and Node Red - Map all the things but no map.
I am loading the map inside the dashboard with a variation on the example included with the map. my version in the template says:
<iframe src="../virsPolyMap"  scrolling="no" frameborder="0"
    style="position: relative; height: 400px; width: 100%;" >
</iframe>

I think this is actually a symptom, not the root cause, I think the root cause is:
Source map error: request failed with status 404
Resource URL: http://localhost:1880/ui/js/app.min.js
which loads if you click it in the error link but 404s if you dont.
Does not happen on chrome.
IE 11 does a similar thing, no map just black screen with logo and slogan
but gives me:
SCRIPT1014: Invalid character
File: worldmap.js, Line: 177, Column: 16
this is using:
node-red 0.20.5
dashboard 2.14.0 and redmap 2.0.12
IE 11, FF 68.0.2 64-bit, Windows 7 pro

Which version of worldmap ?
line 126 doesn't have L.

you bet, Ill be back in the office on monday and try it. Have no idea why I did not try upgrading first, sorry.


PDF Blank

Configuration:

Google Chrome 88.0.4324.150
Ubuntu 20.10
vue-pdf-app latest version

Steps to reproduce the problem:
Only follow the example in github.
What is the expected behavior?
PDF will show in the browser.
What went wrong?
PDF not showing. But its load in network tab.
Attachments (screenshots, links, etc)

I'm sorry, this is css issue. I set the style to this one.

Hi @irzafaikar !
Yes, your solution works fine.
However a package already has a height 100%
So it is better to specify a height of parent container
<template>
  <div style="height: 100vh">
    <vue-pdf-app />
  </div>
</template>

Or specify a height directly
<template>
  <vue-pdf-app style="height: 100vh" />
</template>

Explanation is in this discussion


Use the correct URL parameter for token revocation when refresh tokens disabled

In its current state, this logs a 400 error when trying to revoke the session from Keycloak if refresh tokens aren't enabled because it's trying to pass an ID token on the refresh_token parameter.  This change selects the correct parameter name based on which token is being used.
Also, ran "make format" to allow the gofmt check to pass.

@GJKrupa @robbiemcmichael could you please file a Jira (https://issues.jboss.org/browse/KEYCLOAK-8856), add the affected version and steps to reproduce the issue? It helps us to plan/prioritize the next releases.

Thanks.  I've raised https://issues.jboss.org/browse/KEYCLOAK-8990.

@GJKrupa thank you!

Hi @GJKrupa, could you please rebase and remove the commit 83f9fb4? I managed to manually reproduce the issue, but do you think you can attack some test cases for this scenario?

@GJKrupa  It has been a while since we requested changes to this PR. While the submission is appreciated, we are not able to merge it without these changes. Because it has been so long, we are going to close the issue. Feel free to reopen with the changes included, if your time permits.

Apologies that I haven't had time for this due to workload.  Probably best at this point to re-create it anyway rather than try to rebase after so long.

@GJKrupa absolutely no problem. I agree with you, but before you move forward with coding, let's figure out the exact steps to reproduce the issue.


[Master to v0_11] Authenticator SPI

Cherry-pick https://github.com/treasure-data/digdag/commit/3cf6d7d26d5c9e7be5b6fa4bad473f04034479da (pull request #1324 from treasure-data/master-v10-auth-spi)

PTAL @yoyama @szyn @serihiro
I think this change is safe even with v0_11. It modifies io.digdag.server.ServerModule#bindAuthenticator and introduces BasicAuthenticatorFactory. But BasicAuthenticatorFactory just returns NoAuthenticator unless the configuration file doesn’t have any basic auth configuration.

Thanks!!


The .order() method does not accept sys properties

According to Contentful Delivery API docs we can sort by sys properties as well as field names:
Both the sys properties (such as sys.createdAt) or field values (such as fields.myCustomDateField) can be used for ordering.

The current .order() method only implements the order query hash with "fields".  As a workaround, we're currently the params(order: '-sys.updatedAt') to get us where we need to go, but would like to just user the order method as we are elsewhere.
I have a PR open for a possible refactor to make this possible https://github.com/contentful/contentful_model/pull/41

This has been merged
Cheers
PS: Sorry it took a bit long!