there is a question in getting fbank_pitch feature between pykaldi and kaldi

1.use kaldi to get fbank_pitch feature as C
fbank_feats="ark:compute-fbank-feats $vtln_opts --verbose=2 --config=$fbank_config scp,p:$logdir/wav.JOB.scp ark:- |"
pitch_feats="ark,s,cs:compute-kaldi-pitch-feats --verbose=2 --config=$pitch_config scp,p:$logdir/wav.JOB.scp ark:- | process-kaldi-pitch-feats $postprocess_config_opt ark:- ark:- |"
paste-feats --length-tolerance=$paste_length_tolerance "$fbank_feats" "$pitch_feats" ark:- |
copy-feats --compress=$compress $write_num_frames_opt ark:- \
2.use kaldi to get fbank_pitch feature as feat
3.then use
result=approx_equal(C,feat,0.1)
the result is False,Is C different from feat?tol is 0.1 so big.

In general, they should be very similar. Since they are different -- 0.1 tolerance is indeed large --, I am guessing your Python code is doing something different from Kaldi executables. Make sure you are using the same feature extraction options in both cases. Also, the Python code you shared in the other thread was averaging the two audio channels prior to feature extraction. Kaldi executables choose one of the channels based on the command line options.

How much tolerance is similar?
my python code :
kaldi.matrix.set_printoptions(5)
#Create FBANK
fbank_opts = FbankOptions()
fbank_opts.frame_opts.samp_freq = 16000.00
fbank_opts.mel_opts.num_bins=80

fbank_opts.frame_opts.dither = 0.0  #add by 20190318

sf_fbank = fbank_opts.frame_opts.samp_freq
fbank=Fbank(fbank_opts)

if TestFlag==False:
    wavedata=WaveData()
# inp=Input("test.wav")
    inp = Input(f_wavename)

    wavedata.read(inp.stream())
    s3=wavedata.data()
else:
    s3=wavedata.data()
s3 = s3[:,::int(wavedata.samp_freq / sf_fbank)]
m3 = SubVector(mean(s3, axis=0))
f3=fbank.compute_features(m3,sf_fbank,1.00)
#print f3.shape

####make_pitch_feature
pitch_opts = PitchExtractionOptions()
#pitch_opts.samp_freq=16000.0
pitch_opts.resample_freq=16000.0
feat_pitch=compute_kaldi_pitch(pitch_opts,m3)
processpitchoptions=ProcessPitchOptions()
f_pitch=process_pitch(processpitchoptions,feat_pitch)
#print f_pitch.shape

#C = Matrix(142,83)
C = Matrix(f3.num_rows,83)

C[:,:80]=f3
C[:,80:]=f_pitch

cmvn=Cmvn(83)
cmvn.read_stats("cmvn.ark")
cmvn.apply(C,norm_vars=True)

Maybe something like 0.01, definitely smaller than 0.1. I don't understand what is happening in your Python code. You are taking average of two channels it seems, which is different from Kaldi executables. Why are you averaging them?  Why? Are you also setting them in this way when running Kaldi executables? Also, you are reading CMVN stats from an archive file which is probably wrong.

Also, the Python code you shared in the other thread was averaging the two audio channels prior to feature extraction. Kaldi executables choose one of the channels based on the command line options.

what should i do one of the channels in pykaldi.

What does that mean? I'm saying you are averaging them in your code. Why are you doing that?

Are you referring to these codes?
m3 = SubVector(mean(s3, axis=0))

Yes.

I learn from the example of pykaldi mfcc. i want to delete mean,but how to do it.

If you want to choose the first channel, it would be something like
m3 = s3[0,:]

The example you copied from is doing all kinds of non-standard things. That is not how standard features are computed in Kaldi. This script is a much better example for feature extraction.

ok,thanks

Also, you are reading CMVN stats from an archive file which is probably wrong.
how to reading CMVN stats?

The code you have is trying to read the stats from a file with extension ark. If that file is indeed an archive file, then that is not correct. What you need to provide is a file containing a stats matrix not a stats matrix inside a Kaldi archive file. See my earlier answer.
From the questions you have been asking, I am gathering that you do not understand how Kaldi works. Note that you won't be able to make progress with PyKaldi unless you understand how Kaldi does the things you are trying to achieve. You need to start reading Kaldi documentation and code to see how everything comes together. Asking questions every time you get stuck is not a scalable strategy.

1.use kaldi to get fbank_pitch feature as C
fbank_feats="ark:compute-fbank-feats $vtln_opts --verbose=2 --config=$fbank_config scp,p:$logdir/wav.JOB.scp ark:- |"
pitch_feats="ark,s,cs:compute-kaldi-pitch-feats --verbose=2 --config=$pitch_config scp,p:$logdir/wav.JOB.scp ark:- | process-kaldi-pitch-feats $postprocess_config_opt ark:- ark:- |"
paste-feats --length-tolerance=$paste_length_tolerance "$fbank_feats" "$pitch_feats" ark:- |
copy-feats --compress=$compress $write_num_frames_opt ark:- \
2.use pykaldi
#Create FBANK
fbank_opts = FbankOptions()
fbank_opts.frame_opts.samp_freq = 16000.00
fbank_opts.mel_opts.num_bins=80
sf_fbank = fbank_opts.frame_opts.samp_freq
fbank=Fbank(fbank_opts)
if TestFlag==False:
wavedata=WaveData()
inp=Input("test.wav")
inp = Input(f_wavename)

wavedata.read(inp.stream())
s3=wavedata.data()

else:
s3=wavedata.data()
s3 = s3[:,::int(wavedata.samp_freq / sf_fbank)]
m3 =s3[0,:]
f3=fbank.compute_features(m3,sf_fbank,1.00)
#print f3.shape
####make_pitch_feature
pitch_opts = PitchExtractionOptions()
#pitch_opts.samp_freq=16000.0
pitch_opts.resample_freq=16000.0
feat_pitch=compute_kaldi_pitch(pitch_opts,m3)
processpitchoptions=ProcessPitchOptions()
f_pitch=process_pitch(processpitchoptions,feat_pitch)
#print f_pitch.shape
#C = Matrix(142,83)
C = Matrix(f3.num_rows,83)
C[:,:80]=f3
C[:,80:]=f_pitch
cmvn=Cmvn(83)
cmvn.read_stats("cmvn.ark")
cmvn.apply(C,norm_vars=True)
3.result=approx_equal(C,feat,0.01)
result is false

The code you have is trying to read the stats from a file with extension ark. If that file is indeed an archive file, then that is not correct. What you need to provide is a file containing a stats matrix not a stats matrix inside a Kaldi archive file. See my earlier answer.
From the questions you have been asking, I am gathering that you do not understand how Kaldi works. Note that you won't be able to make progress with PyKaldi unless you understand how Kaldi does the things you are trying to achieve. You need to start reading Kaldi documentation and code to see how everything comes together. Asking questions every time you get stuck is not a scalable strategy.

the cmvn.ark is use compute-cmvn-stats to generate cmvn.ark in kaldi.


Extracting the subtitles as plain text

I'm trying to figure out how to extract the subtitles as plain text, as opposed to the default vtt.
I had a look at the youtube-dl docs and it's not clear to me.
Also the options passed to this module, look a little different to the core module options.. so I'm not sure how to construct my object either.
Or do I need to post-process the vtt to extract the plain text? Any suggestions as to how to do that?
Thanks.

I try to output srt, from the vtt.
First, I found difficult the lack of API. The need to refer to /rg3/youtube-dl isn't clear enough.
Secondly, I noticed /lib/youtube-dl.js, which is actually building the command for rg3/youtube-dl/ . So I tried to edit it, adding the following (unsuccessfully):
    if (options.format) {
        args.push('--sub-format=' + options.format);
    }

I think the main issue is : I don't see how to process the vtt data, where, within this subtitle example
var options = {
  // Write automatic subtitle file (youtube only)
  auto: false,
  // Downloads all the available subtitles.
  all: false,
  // Languages of subtitles to download, separated by commas.
  lang: 'en',
  // The directory to save the downloaded files in.
  cwd: __dirname,
};
youtubedl.getSubs(url, options, function(err, files) {
  if (err) throw err;

  console.log('subtitle files downloaded:', files);
});

@hugolpz I've been researching this more since I posted this. My solution to extract subtitles is as follows now...
const { getSubtitles } = require('youtube-captions-scraper');
const getYouTubeID = require('get-youtube-id');

const getYouTubeSubtitles = async youtubeUrl => {
  try {
    const videoID = getYouTubeID(youtubeUrl);
    const subtitles = await getSubtitles({ videoID });
    return subtitles.reduce(
      (accumulator, currentSubtitle) =>
        `${accumulator} ${currentSubtitle.text}`,
      ''
    );
  } catch (error) {
    console.log(`Error getting captions: ${error.message}`);
  }
};

(async () => {
  const consoleArguments = process.argv;
  if (consoleArguments.length !== 3) {
    console.log(
      'usage example: node get-youtube-subtitles.js https://www.youtube.com/watch?v=gypAjPp6eps'
    );
    return;
  }

  const subtitles = await getYouTubeSubtitles(consoleArguments[2]);
  console.log(subtitles);
})();

I wrote about my findings here.

Just as an addition, recently was added support for selecting subtitle format https://github.com/przemyslawpluta/node-youtube-dl/pull/235 🙂.
Please, if the solution by @magician11 was helpful, you can add it as README as an example user case for the benefit the rest of users.


testing ENG

Not sure how to see ENG but sending this as a test

@seakhtar checking to see if this makes it to our email


WSL does not support : in extended attribute names

When trying to run ocis in WSL the ocis driver tries to persist the grants using an extended attribute like this:
user.ocis.grant.u:f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c which leads to an invalid argument error because it does not like the :.
Can be reproduced with:
➜  4c510ada-c86b-4815-8820-42cdf82c3d51 setfattr -n user.ocis.grant.u:f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c -v a .
setfattr: ../19941f00-0dd8-411a-b3a3-99004aad42bd: Invalid argument
➜  4c510ada-c86b-4815-8820-42cdf82c3d51 setfattr -n user.ocis.grant.u.f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c -v "a" .
➜  4c510ada-c86b-4815-8820-42cdf82c3d51

We could change all xattr names to only use dots.
What works: .#()~$!@{}%&^
What not works :;[]=|+?\/<>",

ocis doesn't use xattrs anymore.


Replacement or complementary of ApplicationRunner?

Hi there! I don't know where to ask the following. Is this starter compatible with Spring ApplicationRunners? I have a small application consisting of several Spring ApplicationRunners, but I am not sure if @Command annotated class/es is/are designated to be a replacement of ApplicationRunner. I couldn't manage to get it working together as call() method in command class does not get executed (at least before ApplicationRunners run).
What I try to achieve is to run picocli before any of my existing runners start in order to parse args and setup some stuff in a Spring Bean. Then run the runners that will make use of that configured bean.
Do I need to replace my ApplicationRunner classes with something provided by this starter? Thx!

@gerardbosch sorry for delay. Yes @Command in that starter will generate at the end an CommandLineRunner class which is similar to ApplicationRunner.
So it could be a perfect replacement.
However you said you're not successfully manage the transition, do you have a sample app to test?
But problem seems to be related to order. I'll try to check if we can affect order to be run before other ApplicationRunner


Add Carthage Support

I've replace the current single view application with an iOS framework project. If the example app is needed, it could be organised in a workspace alongside the framework.
Please bump another version and create a tag after this pull request, otherwise a branch name should be specified in the Cartfile. There are some deprecation warnings that I haven't looked into yet. I think they could also be taken care of later.
For now, a Cartfile as follows should work:
github "bcylin/EZSwiftExtensions" "feature/framework"

This should close #6. Please try this out, thanks.

Thanks for to update!
We need people to be able to download the project and just compile and test its features. Thats the reason for the example app, can you bring that back please?
Also this update won't be messing with the current cocoapods correct?

Sure I will bring back the example app. The Sources and EZSwiftExtensions.podspec stay unchanged so this won't affect CocoaPods.

I rearranged my commits and renamed the example app to EZSwiftExtensionsExample.

Thanks. Does there have to be 2 xcodeproj's ?

Yes there are two xcodeprojs and one xcworkspace.
EZSwiftExtensions.xcworkspace
├─ EZSwiftExtensions.xcodeproj
└─ EZSwiftExtensionsExample.xcodeproj

It'll look like this: https://github.com/bcylin/EZSwiftExtensions/tree/feature/framework
Please try this workspace on your machine and see if it works as expected, thanks!
git clone git@github.com:bcylin/EZSwiftExtensions.git tmp --branch feature/framework --origin bcylin && cd tmp

It works, need to make a little edit tho.
Thanks bro :+1:

:beers:


Changes for 5.1 release

I think the tests still need the .env file since that's where it gets value for STUDIO_CONFIG_PACKAGE

Let me see if I can alter that test to not require the .env file before we merge this...I think these integration tests are still valuable


KeyError: 'OwnerPlayerUId'

点击删除损坏对象就会出错

duplicated #101

新版还没出吗

I encounter the same issue when running "Del Damage Instance":
ContainerID 99e77b0c-82a4-4ccc-829b-0eb1a5448e6c Invalid
Exception in Tkinter callback
Traceback (most recent call last):
  File "tkinter\__init__.py", line 1948, in __call__
  File "palworld_server_toolkit\editor.py", line 2224, in delete_damage_container
  File "palworld_server_toolkit\editor.py", line 4357, in FindDamageRefContainer
  File "palworld_server_toolkit\editor.py", line 4141, in CharacterDescription
KeyError: 'OwnerPlayerUId'

新版还没出吗

In case you cannot run the latest version, you can download https://github.com/alvinHRFM/palworld-server-toolkit/releases/tag/0.8.5 and put it to the v0.8.3 folder to run v0.8.5.

新版还没出吗

In case you cannot run the latest version, you can download https://github.com/alvinHRFM/palworld-server-toolkit/releases/tag/0.8.5 and put it to the v0.8.3 folder to run v0.8.5.

使用删除存档功能后pal终端消失了，但有新玩家再建造新终端的时候就会显示是其他人的


Https with YARP doesn't work for https and the ASP.NET Core Dev certificate

The ServiceDiscoveryDestinationResolver sets the host name to the original host in local dev scenarios and this results in a RemoteCertificateNameMismatch since the dev cert expects localhost as the domain name (for SNI).
This can be worked around by forcing the host name to be localhost in dev scenarios but that's not a great solution:
https://github.com/dotnet/aspire/issues/836#issuecomment-2075656462
cc @ReubenBond

Plan: special case localhost

Change ServiceDiscoveryDestinationResolver logic so that if the service resolves to localhost, we do not set the Host property
Add an option to opt-out and always respect YARP's Host value

In pseudocode:
if (IsLocalhost(resolvedAddress) && !options.AlwaysUseConfigureHostValue)
{
    result.Host = null;
}
else
{
    result.Host = config.Host ?? originalUri.GetLeftPart(UriPartial.Authority);
}


[ layer ] Bugfix for enabling unittest_models on Android

This commit fixes unusual memory access on cross-compiled unittest executable on Android

Resolves:

SIGSEGV : signal segmentation violation

lldb | signal SIGSEGV: invalid address
SIGILL : illegal instruction

Self evaluation:

Build test:     [X]Passed [ ]Failed [ ]Skipped
Run test:     [X]Passed [ ]Failed [ ]Skipped

Fix the indentation style error. (unnecessary indentation)


Database First approach

Little new to this and I have an existing database that I want to try and create a graphql api for. I guess I'll need to use EF to produce entities then plugin hot chocolate and go from there? Is this an ok approach to use EF with graphql?
Regards,
Paul

Yes, you could do that.

https://dev.to/michaelstaib/get-started-with-hot-chocolate-and-entity-framework-e9i


Flinthook: deadlocks after intro or screen with disk logo

Description:

see title

log.txt:

Paris.Engine.WebServices.GetBinaryRequest : ERROR | GetBinaryRequest Error: NameResolutionFailure

Possible Solution:

Contacted devs, maybe WebServices can be disabled and this might solve the problem

Maybe related to Paris Engine? (see Wizorb)

Flinthook is now running with MONO_IOMAP=all and the bundled mono dlls in the folder. Need to identify what's going on with the mono libraries. Seems to run well otherwise

that now doesn't work anymore. Game just says "Killed" and never launches. Similarity with RCRU is the use of NLog

NLog requires msbuild - maybe that's what's missing...

Now works after replacing NLog with latest version (4.6.5) and latest fnaify - but make sure to have NLog.*.config still in the repository!

fnaify now contains logic to detect outdated NLog.dll (https://thfr.info/cgi-bin/cvsweb/projects/fnaify/fnaify?rev=1.91&content-type=text/x-cvsweb-markup); otherwise runs fine on brief testing. Closing issue.


Cannot read properties of undefined (reading 'attr')

Hi, I faced issue if destination file is not empty.
"@angular/core": "14.0.2",
"ng-extract-i18n-merge": "^2.0.1",
https://www.screencast.com/t/Wn8dB1QxvVP2

Hi @Khokhlachov
thanks for reporting! could you detail what the contents of your destination file (messages.en.xlf, I suppose) is?

ok - just read the referenced issue - now I think the problem is clear and solvable :)

ok - just read the referenced issue - now I think the problem is clear and solvable :)

In my case we use third party tool for translators (poeditor.com) so each export will forced to this case...
Thanks for quick response !


removed portion which is added by patches in clusterclass

this data will be passed thru variables

What this PR does / why we need it:

make kind-create
make docker-build
make deploy
make test-cc-cluster-create
make list-cc-cluster-resources
make test-cc-cluster-install-cni
make list-cc-cluster-resources
make test-cc-cluster-delete

had to keep the entries along with default values to avoid following error in capi controller

"Failed to apply patch with uid \"3e69afb5-bd71-4dc2-a663-d06131c31ce7\": error applying json patch (RFC6902): [{\"op\":\"add\",\"path\":\"/spec/template/spec/bootType\",\"value\":\"legacy\"},{\"op\":\"add\",\"path\":\"/spec/template/spec/vcpusPerSocket\",\"value\":1},{\"op\":\"add\",\"path\":\"/spec/template/spec/memorySize\",\"value\":\"4Gi\"},{\"op\":\"add\",\"path\":\"/spec/template/spec/systemDiskSize\",\"value\":\"40Gi\"},{\"op\":\"add\",\"path\":\"/spec/template/spec/image/name\",\"value\":\"ubuntu-2204-kube-v1.28.6.qcow2\"},{\"op\":\"add\",\"path\":\"/spec/template/spec/cluster/name\",\"value\":\"auto_cluster_prod_deepak_muley_1a3f2d29c58f\"},{\"op\":\"add\",\"path\":\"/spec/template/spec/subnet\",\"value\":[{\"name\":\"vlan.capx\",\"type\":\"name\"}]}]: add operation does not apply: doc is missing path: \"/spec/template/spec/bootType\": missing value" controller="topology/cluster" controllerGroup="cluster.x-k8s.io" controllerKind="Cluster" Cluster="ns-topology/mycluster-with-topology" namespace="ns-topology" name="mycluster-with-topology" reconcileID="294c0f93-a528-4c3c-9910-c14a48bea13b" patch="add-ssh-user" patch="update-control-plane-endpoint" patch="add-pc-endpoint-and-creds" patch="update-control-plane-machine-template" uid="3e69afb5-bd71-4dc2-a663-d06131c31ce7"

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
How Has This Been Tested?:
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration and test output
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note:

I've rebased these changes and pushed them to a feature branch on repo instead of your fork so it's easier to actually build on changes (stacked diffs): #392. I'd recommend closing this PR and pushing any further changes to that branch jira/krbn-8065 on source repo instead.

@thunderboltsid could you please elaborate why was this required and why cant we create stacked from here itself? all the history of who first started goes away with this approach


HDFS-13671. Namenode deletes large dir slowly caused by FoldedTreeSet#removeAndGet

https://issues.apache.org/jira/browse/HDFS-13671

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
buf
0m  1s

buf was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 13 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m  8s

trunk passed

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 14s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  7s

trunk passed

+1 :green_heart:
mvnsite
1m 22s

trunk passed

+1 :green_heart:
javadoc
0m 56s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 26s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 16s

trunk passed

+1 :green_heart:
shadedclient
18m 45s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 13s

the patch passed

+1 :green_heart:
compile
1m 18s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
cc
1m 18s

the patch passed

+1 :green_heart:
javac
1m 18s

the patch passed

+1 :green_heart:
compile
1m  8s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
cc
1m  8s

the patch passed

+1 :green_heart:
javac
1m  8s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  0s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 1028 unchanged - 13 fixed = 1029 total (was 1041)

+1 :green_heart:
mvnsite
1m 13s

the patch passed

+1 :green_heart:
javadoc
0m 48s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 16s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 23s

the patch passed

+1 :green_heart:
shadedclient
19m  5s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
358m 51s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

-1 :x:
asflicense
0m 38s
/results-asflicense.txt
The patch generated 2 ASF License warnings.

450m 55s

Reason
Tests

Failed junit tests
hadoop.tools.TestHdfsConfigFields

hadoop.hdfs.server.namenode.ha.TestBootstrapStandby

hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.TestDFSShell

hadoop.hdfs.TestDecommission

hadoop.hdfs.server.datanode.fsdataset.impl.TestFsVolumeList

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3065

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat

uname
Linux 93502d85aa10 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / ee516f731bbbcf5c4ecb4b45527b5ccf525ba2b0

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/1/testReport/

Max. process+thread count
2010 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 52s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
buf
0m  0s

buf was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 18 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m  9s

trunk passed

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 15s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  8s

trunk passed

+1 :green_heart:
mvnsite
1m 22s

trunk passed

+1 :green_heart:
javadoc
0m 55s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 23s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 17s

trunk passed

+1 :green_heart:
shadedclient
18m 45s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 13s

the patch passed

+1 :green_heart:
compile
1m 18s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
cc
1m 18s

the patch passed

+1 :green_heart:
javac
1m 18s

the patch passed

+1 :green_heart:
compile
1m  8s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
cc
1m  8s

the patch passed

+1 :green_heart:
javac
1m  8s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  2s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 2 new + 1338 unchanged - 13 fixed = 1340 total (was 1351)

+1 :green_heart:
mvnsite
1m 16s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 47s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 21s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 21s

the patch passed

+1 :green_heart:
shadedclient
18m 55s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
354m 59s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

-1 :x:
asflicense
0m 39s
/results-asflicense.txt
The patch generated 2 ASF License warnings.

447m  0s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.ha.TestBootstrapStandby

hadoop.hdfs.TestDFSShell

hadoop.hdfs.server.datanode.fsdataset.impl.TestFsVolumeList

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.server.namenode.TestDecommissioningStatus

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3065

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat xml

uname
Linux cdb05ad52f99 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 34c1c50c94722daa8a1da96606fba2fb020bc4c2

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/2/testReport/

Max. process+thread count
1920 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Failed tests pass locally. Now it is already for review!

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  3s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
buf
0m  1s

buf was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 18 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
37m 56s

trunk passed

+1 :green_heart:
compile
1m 38s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 26s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m 15s

trunk passed

+1 :green_heart:
mvnsite
1m 36s

trunk passed

+1 :green_heart:
javadoc
1m  2s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 33s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 47s

trunk passed

+1 :green_heart:
shadedclient
21m 16s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 25s

the patch passed

+1 :green_heart:
compile
1m 29s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
cc
1m 29s

the patch passed

+1 :green_heart:
javac
1m 29s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
cc
1m 17s

the patch passed

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  6s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 1338 unchanged - 13 fixed = 1339 total (was 1351)

+1 :green_heart:
mvnsite
1m 26s

the patch passed

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 54s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 29s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 48s

the patch passed

+1 :green_heart:
shadedclient
20m 44s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
381m 20s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

-1 :x:
asflicense
0m 41s
/results-asflicense.txt
The patch generated 2 ASF License warnings.

485m  4s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.ha.TestBootstrapStandby

hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.TestDFSShell

hadoop.hdfs.server.datanode.fsdataset.impl.TestFsVolumeList

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.TestHDFSFileSystemContract

hadoop.hdfs.server.namenode.TestDecommissioningStatus

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3065

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat xml

uname
Linux 103fae16a9dd 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 85517df11ae33ab3a06654d40a1ef4d8eae013e3

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/4/testReport/

Max. process+thread count
1878 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@aajisaka @ferhui Thanks for comments, i have fixed all mentions, take a look please.

@xiaoyuyao Thanks for review, i have update this PR, take a look please.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 59s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
buf
0m  1s

buf was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 18 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m 42s

trunk passed

+1 :green_heart:
compile
1m 25s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 16s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  8s

trunk passed

+1 :green_heart:
mvnsite
1m 22s

trunk passed

+1 :green_heart:
javadoc
0m 54s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 25s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 16s

trunk passed

+1 :green_heart:
shadedclient
18m 55s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 15s

the patch passed

+1 :green_heart:
compile
1m 18s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
cc
1m 18s

the patch passed

+1 :green_heart:
javac
1m 18s

the patch passed

+1 :green_heart:
compile
1m  8s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
cc
1m  8s

the patch passed

+1 :green_heart:
javac
1m  8s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  0s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 1338 unchanged - 13 fixed = 1339 total (was 1351)

+1 :green_heart:
mvnsite
1m 17s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 18s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 20s

the patch passed

+1 :green_heart:
shadedclient
18m 39s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
346m  2s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

-1 :x:
asflicense
0m 38s
/results-asflicense.txt
The patch generated 2 ASF License warnings.

439m 46s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.ha.TestBootstrapStandby

hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.TestDFSShell

hadoop.hdfs.server.datanode.fsdataset.impl.TestFsVolumeList

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.server.namenode.TestDecommissioningStatus

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/6/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3065

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat xml

uname
Linux 49dbda01f480 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6685fbc6f821c4fac484bd176febb6aa6267cca5

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/6/testReport/

Max. process+thread count
1748 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/6/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@xiaoyuyao Thanks for review! Is @AlphaGouGe 's fix OK?

I think the patch looks good except for the things that were already pointed out by others.

Thanks @kihwal @xiaoyuyao @sodonnel for review, i have updated the PR, take a look please.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 51s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
buf
0m  1s

buf was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 18 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 31s

trunk passed

+1 :green_heart:
compile
1m 25s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 14s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  9s

trunk passed

+1 :green_heart:
mvnsite
1m 24s

trunk passed

+1 :green_heart:
javadoc
0m 56s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 30s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 14s

trunk passed

+1 :green_heart:
shadedclient
18m 42s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 13s

the patch passed

+1 :green_heart:
compile
1m 18s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
cc
1m 18s

the patch passed

+1 :green_heart:
javac
1m 18s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
cc
1m  9s

the patch passed

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  0s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 1338 unchanged - 13 fixed = 1339 total (was 1351)

+1 :green_heart:
mvnsite
1m 15s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 50s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 19s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 19s

the patch passed

+1 :green_heart:
shadedclient
18m 41s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
373m 27s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

-1 :x:
asflicense
0m 56s
/results-asflicense.txt
The patch generated 2 ASF License warnings.

465m 45s

Reason
Tests

Failed junit tests
hadoop.hdfs.web.TestWebHdfsFileSystemContract

hadoop.hdfs.server.namenode.ha.TestBootstrapStandby

hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.TestDFSShell

hadoop.hdfs.server.datanode.fsdataset.impl.TestFsVolumeList

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.server.namenode.TestDecommissioningStatus

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/7/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3065

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat xml

uname
Linux 3cefafabc6a8 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6950c26f9d9414aaee4db589e21b457badd11181

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/7/testReport/

Max. process+thread count
1840 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3065/7/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@AlphaGouGe Thanks for contribution. @aajisaka @sodonnel @kihwal @xiaoyuyao Thanks for careful review! All review comments are addressed, now it is ready to merge


Spatial mode

Should determine sensible parameters for spatial regularization and add a spatial option, as with other Fabber-based widgets.

Fix committed. Tests indicate that spatial regularization on all parameters is the best way to go.

v0.9.2


Suggestion: Make rewards scale with distance (maybe using luck?)

Luck affects a lot of things in minecraft. I was thinking you could make the rewards scale a lot better with the difficulty if you had some kind of scale for luck too.
Naturally it would be good to have a setting in the config for this. I think this setting could be very easily adjusted to fit any scaling settings, though, i am not sure how hard it would be to implement. Maybe use a custom playerdata variable for tracking player luck/distance?

Hey EmoBubbleGum,
It is overall a good idea but I think if mobs drop more loot than in the loot table defined, the player would get too much stuff for killing mobs in a short amount of time. Somebody else requested something like this for another mod made by me called LevelZ where the player can skill on luck but even there I don't think this will fit in minecrafts world good

Added more loot config which depends on the nameplate mod addon with https://github.com/Globox1997/RpgDifficulty/commit/a5da5b9214f23908a0621f24c281aec58fb0072b
Definitely open for suggestions how to calculate the dropped item count


No warnings that telemetry is installing.

Is your feature request related to a problem? Please describe.
When doing glasskube bootstrap there is ZERO warnings that telemetry will be populated.
It also installs this with the telemetry config enabled within the cluster config.
This isn't cool as it's a big privacy concern with company kubernetes clusters.
Describe the solution you'd like
Telemetry warning / "we are installing telemetry on your cluster" when using bootstrap
Describe alternatives you've considered
N/A
Additional context
N/A

As commented on the linked issue - we try to be very open about what data we collect: https://glasskube.dev/docs/design/telemetry/
This hint is definitely reasonable. Altoutgh I would prefer a message that encourages users to keep sending telemetry data. Similar to "You will be contributing to Glasskube by sending anonymous telemetry data. Find more information in our documentation"

I would like to work on this!

@sratslla this issue does not have the help wanted label, see:

https://github.com/glasskube/glasskube/issues?q=is%3Aissue+is%3Aopen+label%3A"help+wanted"


Docker container error: Could not load library libcudnn_ops_infer.so.8

The error message is as follows:
Client 583ffd78-2bfe-4e1e-bbbc-8efed00e1904 connected
2024-05-20T08:38:53.837582891Z Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory

The NVIDIA CUDA® Deep Neural Network library (cuDNN) is included in runtime docker image.
Overview of NVIDA Docker images

If someone encounters the above issue in a local development environment (without using Docker), you can refer to this issue:
https://github.com/SYSTRAN/faster-whisper/issues/516
I am using a venv-based virtual environment locally, so I add the following environment variable when starting:
# Replace <path-to-repo> with the actual path
LD_LIBRARY_PATH=<path-to-repo>/.venv/lib64/python3.10/site-packages/nvidia/cudnn/lib/


fix(names-in-underlying-database): Iterate on structure

The page is certainly okay, but somehow felt backwards in many ways to me.
This is my attempt to simplify and restructure all these things so the topic gets a page that really helps our users to understand the feature.
Best way to preview the changes is probably via the Percy diff - it shows the before and after next to each other.

Thank you very much @janpio !


Snippets not working

Hi,
I'm trying to set up a small new project using Phile in which I have to display an audio player. I tried to use your plugin but I can't make it work and I have no errors from Phile.
I'm working locally (on a Xubuntu up to date). I've just installed Phile using composer
composer create-project --no-dev phile-cms/phile

I've installed your plugin using composer:
composer require infostreams/snippets:*

and updated my config file plugin section:
$config['plugins'] = array(
	'infostreams\\snippets' => array('active' => true)
);

In a content index.md when I try to use
(youtube: http://www.youtube.com/watch?v=mSB71jNq-yQ)

(youtube: https://www.youtube.com/watch?v=mSB71jNq-yQ width:640)

(link: cnn.com)

(file: Catherine_awards.xls text:our brochure)

I only got the same, I mean it isn't parse.
I've tried to deactivate the cache from the default config but without success ; here is the plugin section from the default:
$config['plugins'] = array(
	// key = vendor\\pluginName (vendor lowercase, pluginName lowerCamelCase
	'mycompany\\demoPlugin'            => array('active' => false),
	'phile\\errorHandler'              => array(
		'active' => true,
		'handler' => \Phile\Plugin\Phile\ErrorHandler\Plugin::HANDLER_DEVELOPMENT
	), // the default error handler
	'phile\\parserMarkdown'            => array('active' => true), // the default parser
	'phile\\parserMeta'                => array('active' => true), // the default parser
	'phile\\templateTwig'              => array('active' => true), // the default template engine
	'phile\\phpFastCache'              => array('active' => false), // the default cache engine
	'phile\\simpleFileDataPersistence' => array('active' => false), // the default data storage engine
);

I've tried to use the Github version but without success.
It seems I have the 1.5.0 version of Phile (from the Changelog) and here is my composer.json if it can help:
{
    "name": "phile-cms/phile",
    "type": "project",
    "description": "A file-based CMS with a swappable parser, template engine, cache and storage services, error handler, and meta parser.",
    "keywords": ["cms", "markdown", "flat", "file", "twig", "plugins"],
    "homepage": "http://philecms.com",
    "license": "MIT",
    "authors": [
        {
            "name": "Frank Nägler",
            "email"<EMAIL_ADDRESS>            "homepage": "http://www.frank-naegler.de",
            "role": "Developer"
        },
        {
            "name": "James Doyle",
            "email"<EMAIL_ADDRESS>            "homepage": "http://ohdoylerules.com/",
            "role": "Developer"
        },
        {
            "name": "Schlaefer",
            "email"<EMAIL_ADDRESS>            "homepage": "http://siezi.com/",
            "role": "Developer"
        }
    ],
    "config": {
        "vendor-dir": "lib/vendor"
    },
    "require": {
        "php": ">=5.4.0",
        "twig/twig": "1.15.*",
        "michelf/php-markdown": ">=1.4",
        "phpfastcache/phpfastcache": "~3.0",
        "phile-cms/plugin-installer-plugin": ">=1.0.2",
        "gibbs/phile-sub-navigation": "1.*",
        "infostreams/snippets": "*"
    },
    "require-dev": {
        "phpdocumentor/phpdocumentor": "2.6.*",
        "phing/phing": "2.*",
        "phpunit/phpunit": "*"
    }
}

Thanks in advance.

Hi again,
I've intalled the phileMarkdownExtraExtended plugin ; in order to do so I had to add to the composer.json this line
"minimum-stability": "dev"

I've launched a composer update but even after a lot of upgrades, your plugin doesn't work :(
Thanks in advance,

Hi! It seems you were completely right. With the new version 1.5 Phile changed the way it initializes plugins, and how you should register events, and that broke the plugin. I've updated it so and released a new version on composer, so that it should work again. Can you do a composer update and let me know if that fixed the problem? Thanks!

Great ! The update works :)
Two question :

is it possible to create a snippet generating both javascript and html ? Any particular precautions ?
just to check if I understand well : new snippets are defined in the config.php ?

Thanks !

Awesome! Regarding your questions:

You can pretty much generate anything you want, as long as it's text. So javascript, html, css, svg, and xml are all very much possibilities.
Yes, any new snippets need to be registered and made available to the plugin, and you can only do that via the configuration file (config.php). If you have more than a few snippets I'd suggest to use a Snippets class, because otherwise your config.php will become a mess.

Cheers,
Ed

I've tried and it works perfectly !
In the second case, using a Snippets class : where do we have to save it ? I haven't really understand that in your README.
More questions after my test:

is there a way to get the base_url variable when defining a snippet ?
is there a way to pass the current url to the snippet without having to write it, as in this example:

(sound: content/ec_01/effet_coleoptere_01_sex_drugs_rocknroll.mp3 text:Sex, Drugs & Rock\'n\'roll)

Thanks again.

We're not really talking about the bug anymore, but I'll allow it for now (and then close this ticket).
Regarding where to put your Snippets class - you can either do a require_once('<somefolder>/MySnippets.php'); in your index.php or config.php, but that's pretty dirty. Instead, you should probably follow this procedure to have it autoloaded like the rest of Phile:

First, think of a name (a single word) for the namespace. Use your own name, or your company name, or the name of your site. In this example I use mynamespace. Replace any occurrences with the name you've chosen.

Update your composer.json to include the following (put it at the end of the file, directly after require or require-dev):
"autoload": {
    "psr-0": {
        "<mynamespace>": "src/"
    }
}

    My `composer.json` now reads something like:

    ```json
    "require": {
        "php": ">=5.4.0",
        "twig/twig": "1.15.*",
        "michelf/php-markdown": ">=1.4",
        "phpfastcache/phpfastcache": "~3.0",
        "phile-cms/plugin-installer-plugin": ">=1.0.2",
        "infostreams/snippets": "1.*"
    },
    "require-dev": {
        "phpdocumentor/phpdocumentor": "2.6.*",
        "phing/phing": "2.*",
        "phpunit/phpunit": "*"
    },
    "autoload": {
        "psr-0": {
            "mynamespace": "src/"
        }
    }
}

Run composer update (or equivalent) to have composer generate a new autoloader

Open lib/vendor/composer/autoload_namespaces.php and check if it contains an entry for <mynamespace>

If it does, create a directory named src in the root of your site, relative to where composer.json is. You can obviously name this directory anything you want, but I went with 'src'.

In that directory, create a new directory named <mynamespace>.

Add a file called MySnippets.php to the src/<mynamespace>/ directory. Put the following contents in that file:

$text";
	}

	public function facebook($who, $attribute, $other_attribute) {
		// ...
	}

	public function scroller($pictures) {
		// ...
	}

	public function youtube_popup($link) {
		// ...
	}
}
```
8. Finally, in your site's `config.php`, add the following code:

    ```php
$config['plugins']['infostreams\\snippets']['snippets'] = array(
	new \mynamespace\MySnippets()
);
```

9. That should do it! You can now define your own snippets in the `MySnippets` class. If it doesn't work, read up on the Composer autoloader, for example [here](https://jtreminio.com/2012/10/composer-namespaces-in-5-minutes/).

Regarding your other two questions: you can get the base URL with `(new Router)->getBaseUrl()` and the current URL with `(new Router)->getCurrentUrl()` - but since your original issue is resolved and these are basically questions about Phile itself I will now close this question.

Happy hacking!

Ed

Hi,
Thanks a lot, it works perfectly ; maybe you could add this howto on your readme for noobs like me :)
Thanks again !

Cool, that's great to hear! I already linked to this comment from the project README, so hopefully people should be able to find it and save themselves some troubles.
Cheers,
Ed


Make toggling accordion groups keyboard accessible

http://plnkr.co/edit/Ih2u4SymbKkC4pdwbDMi

Note that If you have a button or something with "ng-click" inside . Then the URL will change when clicking on the button unless you do $event.preventDefault(). Since you didn't need to stop the event before, this can introduce new behavious on websites.

I just noticed that this workaround doesn't work for IE9-10 in terms of accessibility.


Fail to read peer->datapath->tunnel_key field

Description
ovn-controller crash and issue a coredump file, we gdb the coredump file and print the blow stack information:
(gdb) bt
#0  0x0000aaaabde41094 in hmap_first_with_hash (hmap=<optimized out>, hmap=<optimized out>, hash=187651361199872)
    at /usr/src/debug/ovn-21.09.2.b20220523/openvswitch-<IP_ADDRESS>20523/include/openvswitch/hmap.h:334
#1  get_local_datapath (tunnel_key=<error reading variable: Cannot access memory at address 0x100>, local_datapaths=0xaaaafbb6d930) at controller/local_data.c:53
#2  remove_local_datapath_peer_port (pb=<optimized out>, ld=<optimized out>, local_datapaths=0xaaaafbb6d930) at controller/local_data.c:241
#3  0x0000aaaabde106a4 in remove_pb_from_local_datapath (pb=<optimized out>, b_ctx_out=b_ctx_out@entry=0xffffd73705c8, ld=<optimized out>) at controller/binding.c:1772
#4  0x0000aaaabde10e3c in handle_deleted_lport (pb=<optimized out>, b_ctx_out=b_ctx_out@entry=0xffffd73705c8, b_ctx_in=0xffffd7370628) at controller/binding.c:2130
#5  0x0000aaaabde1457c in binding_handle_port_binding_changes (b_ctx_in=b_ctx_in@entry=0xffffd7370628, b_ctx_out=b_ctx_out@entry=0xffffd73705c8) at controller/binding.c:2390
#6  0x0000aaaabde3b69c in runtime_data_sb_port_binding_handler (node=0xffffd7371b00, data=0xaaaafbb6d930) at controller/ovn-controller.c:1388
#7  0x0000aaaabde5712c in engine_compute (recompute_allowed=<optimized out>, node=<optimized out>) at lib/inc-proc-eng.c:369
#8  engine_run_node (recompute_allowed=true, node=0xffffd7371b00) at lib/inc-proc-eng.c:424
#9  engine_run (recompute_allowed=recompute_allowed@entry=true) at lib/inc-proc-eng.c:449
#10 0x0000aaaabde0d5d4 in main (argc=8, argv=0xffffd738f748) at controller/ovn-controller.c:3660

Analyze
we have analyzed the stack and wonder that what operation can run the below code:
From ovn/controller/binding.c:handle_deleted_lport
    /* If the binding is not local, if 'pb' is a L3 gateway port, we should
     * remove its peer, if that one is local.
     */
    pb = lport_get_l3gw_peer(pb, b_ctx_in->sbrec_port_binding_by_name);
    if (pb) {
        ld = get_local_datapath(b_ctx_out->local_datapaths,
                                pb->datapath->tunnel_key);
        if (ld) {
            remove_pb_from_local_datapath(pb, b_ctx_out,
                                          ld);
        }
    }

Because the port from a gateway router and the related peer port should be in the same local datapath. So we wonder how to construct a scenario to enter the above code and reproduce the issue.

I think you're probably hitting the bug that was fixed in the IDL here:
https://github.com/openvswitch/ovs/commit/02f31a1262fccab21d6ef2726a8ac877a07a7e06
This was picked up by OVN in https://github.com/ovn-org/ovn/commit/2e4f393650ccf298f26787583c13a88197ba8348
This last one was backported down to branch-22.03 so could you please try with the latest code of a stable branch (or the main branch)?
Thanks,
Dumitru

Our ovn branch is branch-21.09. Although the patch is not included our branch, I try to reproduce the bug using linked testcase . Unfortunately, the bug cannot be reproduced. So I wonder the bug must be reproduced using linked testcase based on our current ovn branch(branch-21.09)?

We acquire more information from gdb.
(gdb) bt
#0  0x0000aaaad00a13f8 in hmap_first_with_hash (hmap=<optimized out>, hmap=<optimized out>, hash=187651642701824)
    at /usr/src/debug/ovn-21.09.2.b20221021/openvswitch-<IP_ADDRESS>21021/include/openvswitch/hmap.h:334
#1  get_local_datapath (tunnel_key=<error reading variable: Cannot access memory at address 0x100>, local_datapaths=0xaaab0d2c9eb0) at controller/local_data.c:53
#2  remove_local_datapath_peer_port (pb=<optimized out>, ld=<optimized out>, local_datapaths=0xaaab0d2c9eb0) at controller/local_data.c:241
#3  0x0000aaaad0070868 in remove_pb_from_local_datapath (pb=<optimized out>, b_ctx_out=b_ctx_out@entry=0xfffffe5f4a28, ld=<optimized out>) at controller/binding.c:1772
#4  0x0000aaaad0071000 in handle_deleted_lport (pb=<optimized out>, b_ctx_out=b_ctx_out@entry=0xfffffe5f4a28, b_ctx_in=0xfffffe5f4a88) at controller/binding.c:2130
#5  0x0000aaaad00746cc in binding_handle_port_binding_changes (b_ctx_in=b_ctx_in@entry=0xfffffe5f4a88, b_ctx_out=b_ctx_out@entry=0xfffffe5f4a28) at controller/binding.c:2390
#6  0x0000aaaad009b860 in runtime_data_sb_port_binding_handler (node=0xfffffe5f5f60, data=0xaaab0d2c9eb0) at controller/ovn-controller.c:1438
#7  0x0000aaaad00b74a8 in engine_compute (recompute_allowed=<optimized out>, node=<optimized out>) at lib/inc-proc-eng.c:372
#8  engine_run_node (recompute_allowed=true, node=0xfffffe5f5f60) at lib/inc-proc-eng.c:427
#9  engine_run (recompute_allowed=recompute_allowed@entry=true) at lib/inc-proc-eng.c:453
#10 0x0000aaaad006d700 in main (argc=8, argv=0xfffffe613ba8) at controller/ovn-controller.c:3710
(gdb) f 5
#5  0x0000aaaad00746cc in binding_handle_port_binding_changes (b_ctx_in=b_ctx_in@entry=0xfffffe5f4a88, b_ctx_out=b_ctx_out@entry=0xfffffe5f4a28) at controller/binding.c:2390
2390	        handle_deleted_lport(node->data, b_ctx_in, b_ctx_out);
(gdb) p *(struct sbrec_port_binding *)node->data
$1 = {header_ = {hmap_node = {hash =<PHONE_NUMBER>, next = 0x0}, uuid = {parts = {3589582299, 915752653,<PHONE_NUMBER>,<PHONE_NUMBER>}}, src_arcs = {prev = 0xaaab0dabcd70, next = 0xaaab0dabcd70}, dst_arcs = {
      prev = 0xaaab0dabcd80, next = 0xaaab0dabcd80}, table = 0xaaab0d2f9800, old_datum = 0x0, parsed = true, new_datum = 0x0, prereqs = 0x0, written = 0x0, txn_node = {hash = 0, next = 0x1},
    map_op_written = 0x0, map_op_lists = 0x0, set_op_written = 0x0, set_op_lists = 0x0, change_seqno = {0, 0, 176438}, track_node = {prev = 0xaaab0d2f98a0, next = 0xaaab0d8daff0}, updated = 0x0,
    tracked_old_datum = 0xaaab0d8471e0}, chassis = 0x0, datapath = 0xaaab0d852030, encap = 0x0, external_ids = {map = {buckets = 0xaaab0dabce40, one = 0x0, mask = 0, n = 0}}, gateway_chassis = 0x0,
  n_gateway_chassis = 0, ha_chassis_group = 0x0, logical_port = 0xaaab0d910b40 "lrp-6e6b2784-0bc9-418d-bf0b-7ea587902d51", mac = 0xaaab0d652a80, n_mac = 1, nat_addresses = 0x0, n_nat_addresses = 0,
  options = {map = {buckets = 0xaaab0dabcea0, one = 0x0, mask = 0, n = 0}}, other_config = {map = {buckets = 0xaaab0dabcec0, one = 0x0, mask = 0, n = 0}}, parent_port = 0x0, tag = 0x0, n_tag = 0,
  tunnel_key = 1, type = 0xaaab0d65b860 "patch", up = 0xaaab0d748b30, n_up = 1, virtual_parent = 0x0}
(gdb) p (*(struct sbrec_port_binding *)node->data).type
$3 = 0xaaab0d65b860 "patch"
(gdb) p (*(struct sbrec_port_binding *)node->data).logical_port
$4 = 0xaaab0d910b40 "lrp-6e6b2784-0bc9-418d-bf0b-7ea587902d51"
(gdb) p *((*(struct sbrec_port_binding *)node->data).mac)
$6 = 0xaaab0d790a80 "fa:16:3e:05:9f:b0 <IP_ADDRESS>/24"

We can ensure that the port_binding is patch type. In addition, the options column have no data.
(gdb) p (*(struct sbrec_port_binding *)node->data).options
$16 = {map = {buckets = 0xaaaabeb8b7a0, one = 0x0, mask = 0, n = 0}}

For some reason the line numbers in your gdb output for binding.c don't seem to match any revision of the branch-21.09 code.  In any case, I think what's happening is:
binding_handle_port_binding_changes()
  handle_deleted_lport()
    remove_pb_from_local_datapath() // The first call in handle_deleted_lport().
      pb->type == "patch"
      remove_local_datapath_peer_port()
        // Here we find peer_ld to be a port binding with ->datapath == NULL.
        // This should never happened and is fixed in recent IDL versions.

Checking the differences between OVS submodule versions in 21.09 and 22.03 I see:
https://github.com/openvswitch/ovs/commit/e379e42d47f8
https://github.com/openvswitch/ovs/commit/91e1ff5dde39
Both of these can cause what you're seeing.
Can you please try recompiling OVN 21.09 against OVS branch-3.0 and see if that fixes your issue?
You need to patch OVN 21.09 with this minor diff:
diff --git a/lib/actions.c b/lib/actions.c
index 7cf6be3085..f61f6cd507 100644
--- a/lib/actions.c
+++ b/lib/actions.c
@@ -2291,7 +2291,7 @@ validate_empty_lb_backends(struct action_context *ctx,

         switch (o->option->code) {
         case EMPTY_LB_VIP:
-            if (!inet_parse_active(c->string, 0, &ss, false)) {
+            if (!inet_parse_active(c->string, 0, &ss, false, NULL)) {
                 lexer_error(ctx->lexer, "Invalid load balancer VIP '%s'",
                             c->string);
                 return;
diff --git a/lib/ovn-util.c b/lib/ovn-util.c
index 683ca37d9d..ab55f5d8e4 100644
--- a/lib/ovn-util.c
+++ b/lib/ovn-util.c
@@ -746,7 +746,7 @@ ip_address_and_port_from_lb_key(const char *key, char **ip_address,
                                 uint16_t *port, int *addr_family)
 {
     struct sockaddr_storage ss;
-    if (!inet_parse_active(key, 0, &ss, false)) {
+    if (!inet_parse_active(key, 0, &ss, false, NULL)) {
         static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(5, 1);
         VLOG_WARN_RL(&rl, "bad ip address or port for load balancer key %s",
                      key);
diff --git a/utilities/ovn-nbctl.c b/utilities/ovn-nbctl.c
index 9e6bef9d69..f3360029eb 100644
--- a/utilities/ovn-nbctl.c
+++ b/utilities/ovn-nbctl.c
@@ -2794,7 +2794,7 @@ nbctl_lb_add(struct ctl_context *ctx)
     }

     struct sockaddr_storage ss_vip;
-    if (!inet_parse_active(lb_vip, 0, &ss_vip, false)) {
+    if (!inet_parse_active(lb_vip, 0, &ss_vip, false, NULL)) {
         ctl_error(ctx, "%s: should be an IP address (or an IP address "
                   "and a port number with : as a separator).", lb_vip);
         return;
@@ -2824,7 +2824,7 @@ nbctl_lb_add(struct ctl_context *ctx)
         struct sockaddr_storage ss_dst;

         if (lb_vip_port) {
-            if (!inet_parse_active(token, -1, &ss_dst, false)) {
+            if (!inet_parse_active(token, -1, &ss_dst, false, NULL)) {
                 ctl_error(ctx, "%s: should be an IP address and a port "
                           "number with : as a separator.", token);
                 goto out;
@@ -2970,7 +2970,7 @@ lb_info_add_smap(const struct nbrec_load_balancer *lb,
             const struct smap_node *node = nodes[i];

             struct sockaddr_storage ss;
-            if (!inet_parse_active(node->key, 0, &ss, false)) {
+            if (!inet_parse_active(node->key, 0, &ss, false, NULL)) {
                 continue;
             }

diff --git a/utilities/ovn-trace.c b/utilities/ovn-trace.c
index 3348d7213e..13ebaca922 100644
--- a/utilities/ovn-trace.c
+++ b/utilities/ovn-trace.c
@@ -214,7 +214,7 @@ static void
 parse_lb_option(const char *s)
 {
     struct sockaddr_storage ss;
-    if (!inet_parse_active(s, 0, &ss, false)) {
+    if (!inet_parse_active(s, 0, &ss, false, NULL)) {
         ovs_fatal(0, "%s: bad address", s);
     }

I have verified the issue based on ovn 22.03 and found that the issue is not existed. I have analyzed this issue in depth and think the patch(https://github.com/ovn-org/ovn/commit/add4972e24bd48a08f5c32642b709e08cf5bbe7b) have solved my issue. Thanks @dceara


[Feature Request]: Gender Classification !

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
If we are talking about the safety of women on public places through CCTV then we should make assure that the project we will be designing works correctly.
For Example: What if two men are fighting on the streets and the camera had not been trained on how to classify the gender between them, thus it can easily get confused and will cost a lot of time and energy of police with no outcome.
Use Case
We can use this feature to classify the difference between the two genders. The camera can detect whether it is a men who is involved with a women in any sort of violence or there is a violence between two men. This is not only about women but by using this feature we can expand this project on a large scale. We can command the CCTV what necessary actions it has to take when a men is involved with a women in any sort of assault or when a group of men are involved in the fight.
Benefits
Implementing this feature will make this project more scalable.
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I want to work on this issue

Hey @hasmithagunda123 , the idea of your project is really inspiring. I always wanted to make my contributions in such projects. I am a GSsoC'24 Contributor and had already worked on such kind of project earlier.
I have a codebase ready for this, kindly assign me this issue under GSsoC label thus I can form a pull request :)

Hey @hasmithagunda123 , I had formed the pull request at #92. If you found my work good enough, kindly close this issue with GSsoC label 3 on it, it will be really helpful for me. Happy to contribute on your side.


Revise primary tests (minor)

Mostly cleanup and addition of some defensive code.

Rebased. This can be reviewed now.

Am thinking of removing the globals in test_primary by initializing the values in module-level code rather than inside functions.
That would slow importing this module down significantly, but realistically, things aren't going to import test_primary.

This:
# Load the private key for this Primary ECU.
primary_ecu_key = uptane.common.canonical_key_from_pub_and_pri(
    demo.import_public_key('primary'), demo.import_private_key('primary'))

# Generate a trusted initial time for the Primary.
clock = tuf.formats.unix_timestamp_to_datetime(int(time.time()))
clock = clock.isoformat() + 'Z'
tuf.formats.ISO8601_DATETIME_SCHEMA.check_match(clock)

# Load the public timeserver key.
key_timeserver_pub = demo.import_public_key('timeserver')
key_timeserver_pri = demo.import_private_key('timeserver')

This means that setUpModule will be empty:
def setUpModule():
  """
  This is run once for the full module, before all tests.
  """
  destroy_temp_dir()

Okay, I don't see anything wrong with the cleanup PR.  Safe to merge/


Test failures in Travis

The master branch is hitting test issues in Travis:
Full log:
https://travis-ci.org/mit-mit/flutter/builds/198863534
Excerpt:
34.25s$ ./dev/bots/test.sh
+flutter analyze --flutter-repo
Analyzing 942 files...
[warning] The name 'FutureBuilder' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 47, col 15)
[warning] The name 'FutureBuilder' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 25, col 6)
[warning] The name 'AsyncSnapshot' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 74, col 33)
[error] The constructor returns type 'dynamic' that isn't of expected type 'Widget'. (examples/hello_services/lib/main.dart, line 52, col 11)
[warning] The name 'AsyncSnapshot' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 98, col 33)
[warning] The name 'StreamBuilder' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 54, col 15)
[warning] The name 'ConnectionState' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 88, col 12)
[error] Case expressions must be constant. (examples/hello_services/lib/main.dart, line 86, col 12)
[warning] The name 'FutureBuilder' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 52, col 15)
[warning] The name 'ConnectionState' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 86, col 12)
[error] The constructor returns type 'dynamic' that isn't of expected type 'Widget'. (examples/hello_services/lib/main.dart, line 47, col 11)
[warning] The name 'AsyncSnapshot' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 82, col 29)
[error] Case expressions must be constant. (examples/hello_services/lib/main.dart, line 88, col 12)
[error] The constructor returns type 'dynamic' that isn't of expected type 'Widget'. (examples/hello_services/lib/main.dart, line 54, col 11)
[warning] The name 'StreamBuilder' is defined in the libraries 'async.dart' and 'async_widgets.dart'. (examples/hello_services/lib/main.dart, line 25, col 23)
[lint] 340 public members lack documentation (ran in 33.8s)
+detect_error_on_exit
+exit_code=1
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Error: script exited early due to error (1)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The command "./dev/bots/test.sh" exited with 1.
cache.2
store build cache
0.00s
1.84snothing changed, not updating cache
Done. Your build exited with 1.

The build failed yesterday when we merged changes from flutter/flutter over, thereby duplicating the async widgets. It was fixed last night when I removed async_widgets.dart from the hello_services example.


java.lang.NullPointerException: Attempt to get length of null array

This code produces NPE:
static {
    // Init okhttp.
    OkHttpClient.Builder builder = new OkHttpClient.Builder();

    TrustManager[] trustAllCerts = { new X509TrustManager() {
        @Override
        public X509Certificate[] getAcceptedIssuers() {
            return null;
        }

        @Override
        public void checkClientTrusted(X509Certificate[] chain, String authType)
                throws CertificateException {
            // Not implemented
        }

        @Override
        public void checkServerTrusted(X509Certificate[] chain, String authType)
                throws CertificateException {
            // Not implemented
        }
    }};

    try {
        SSLContext sc = SSLContext.getInstance("TLS");
        sc.init(null, trustAllCerts, new java.security.SecureRandom());
        builder.sslSocketFactory(sc.getSocketFactory());
    } catch (KeyManagementException e) {
        e.printStackTrace();
    } catch (NoSuchAlgorithmException e) {
        e.printStackTrace();
    }

    HTTP_CLIENT = builder.build();
}

Stacktrace:
java.lang.ExceptionInInitializerError
  at ru.xseconds.xseconds.app.activity.WelcomeActivity.onResume(WelcomeActivity.java:46)
  ...
Caused by: java.lang.NullPointerException: Attempt to get length of null array
  at okhttp3.internal.tls.CertificateAuthorityCouncil.<init>(CertificateAuthorityCouncil.java:44)
  at okhttp3.OkHttpClient.<init>(OkHttpClient.java:190)
  at okhttp3.OkHttpClient.<init>(OkHttpClient.java:60)
  at okhttp3.OkHttpClient$Builder.build(OkHttpClient.java:719)
  at ru.xseconds.xseconds.net.API.<clinit>(API.java:88)
  ....

There was no error in 3.0.1 version, started to crash in 3.1+

Hey, I had also this error. I managed to fixed it by changing 'return null;' for 'return new X509Certificate[0];' in getAcceptedIssuers()

@masztalski Thanks, but it is still regression or there should be more detailed message about this case.

@hexonxons indeed, I have spent some time searching through forums to find out about solution.

I had the same problem. I think this is not an OkHttp issue.
When you read the javadoc for getAcceptedIssuers the method must return a non null value.
Return an array of certificate authority certificates which are trusted for authenticating peers.
Returns:
a non-null (possibly empty) array of acceptable CA issuer certificates.

@ralscha Maybe, but there is another doc in android-23:
/**
 * Returns the list of certificate issuer authorities which are trusted for
 * authentication of peers.
 *
 * @return the list of certificate issuer authorities which are trusted for
 *         authentication of peers.
 */

nothing about null value. And there should be more detailed exception message still, not just NPE inside the framework.

Yep, that’s a good point. You should submit a pull request!


Feature Request: inbox processing

I really like the concept of inbox processing from Andy Matuschak and it seems like this plugin could support it with a few tweaks. Would it be possible to add options when marking a repetition complete to adjust the interval time like shown in this video: https://www.youtube.com/watch?v=zG5r7QIY_TM (where you can set it to normal repetition time, sooner, or later)

Sure thing, this should be fairly easy to implement, and has been requested by a couple of people on Discord too.


[WorkflowClient] fixed return template method newRunningWorkflowStub

What was changed
Arg $class at the method newRunningWorkflowStub, Contract WorkflowClientInterface
Why?
corrects the return type of the newRunningWorkflowStub method
Checklist

Closes

How was this tested:

Any docs updates needed?

Hi @root-aza. Thanks for the PR. Need to sign it.

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

ready ✅


Request: chat heads and bubbles (like Google Messages in Android 11)

it would be nice to have

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @cdi in #baffoonery.

Apparently Brandon had started this code, and commented it out. It doesn't fully work, but it kinda does. If we put some work into it, it will work

Apparently Brandon had started this code, and commented it out. It doesn't fully work, but it kinda does. If we put some work into it, it will work

Turns out the VM gets killed for some reason when you open the chat head. Not sure why


chore: upgrade fast-check to 3.1.1

This supersedes https://github.com/inrupt/solid-client-js/pull/1673

Marking this as a draft, as I'm not sure why fast-check is behaving the way it is in the tests, as locally the tests pass every time, and I don't currently have time to look deeply into fast-check to solve.


Notes from session with Matt on bulk upload (break out into better issues later)

Better error messaging for invalid API-driven data uploads. Currently only get an http failure message with no additional information. (This may actually partially be an R issue).

 Does the user have mechanisms to do this through the API? If not, do the administrators have a mechanism?

Bulk upload seems to be on the slow side. Maybe about an hour for 500 transactions. Not sure if anything can or should be done about this, but making note of it.

I met with Matt yesterday and he has made tremendous progress on the bulk uploader and can now bulk create specimen nodes, description nodes, and the character state descriptions. He is working on the OTU node creation as well. We discussed publishing an R package that would provide the full documentation and hopefully make this as idiot-proof as possible. We do need to still consider Andrews point 2 above.

Agreed. I told Matt that I will be the "idiot" tester to help make sure we have everything as well-documented as possible.


Update to 1.20.4

Straightforward compatibility update for Minecraft version 1.20.4. Fabric and Gradle dependencies have been updated as well.

Thank you for the PR!


Password reset does not work with running ocis

The ocis idm resetpassword  command does not work when ocis is running. We need to move the functionality of the command to the idm service and just call an endpoint there.
MAKE SURE THIS ENDPOINT CAN NOT BE CALLED BY THE PUBLIC.
cc @micbar

This limitation was already known.
I have no issues with that.
This is only relevant for the internal IDM, so that doesn' need to be "turing complete"

That's PM for "wont fix"


Show notifications sequentially.

When "-show" method is called more than once, show next notification after previous notification is dismissed.

Related to #33 - if that PR is refactored, MPGNotificationManager could manage central notification sequencing / display rate "metering".
Separately, this PR has some linting issues - every line is changed in the diff. Cannot accept as-is. Suggest working on #33 and implementing this feature from there.

These linting issues are occured by clang format.
Please tell me your coding style then I'll fix it.

Suggest working on #33 and implementing this feature from there.
I think it is true so please merge #33 then I try to implement this feature:).


main entrance No interaction

main entrance No interaction...
If the situation continues, is there a way to use only the item strip in the mod?
I'm sad that I can't go in.

What mod version do you use ?
For either LE and the Map


Fix typo in vars/main.yml

occured -> occurred

Hi @eltociear! We need you to sign your commit with the Developer Certificate of Origin (DCO) in order to accept your pull request.
To fix, first ensure you have a local copy of your branch by checking out the pull request locally via command line.  Next run:
git push --force-with-lease origin patch-2

@lwilson Thank you!
i've do it.


NIFI-10193 - ExecuteStateless - add SupportsSensitiveDynamicProperties

Summary
NIFI-10193
As of now, the ExecuteStateless processor only accepts sensitive dynamic properties. Because of this, it is not possible to reference non-sensitive parameters. Thanks to NIFI-9958, we can now leverage the new feature allowing to define if a dynamic property is sensitive or not. This will give the users the option to reference sensitive and non sensitive parameters.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[ ] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks for the improvement @pvillard31!
This seems like a logical improvement, are there any concerns about existing deployments?
The implementation of Sensitive Dynamic Properties infers sensitive status for dynamic properties based on the fact of persisted property values being encrypted. Based on this approach, existing deployments should continue to mark all properties as sensitive for instances of ExecuteStateless.


Revrite in as rust?

Hello I think is worth considering. Add my name to the contribution.

Hey @BrianKevinson  are you suggesting rewriting atom in rust?

This users has been creating similar issues for several other projects including the rust compiler itself (https://github.com/rust-lang/rust/issues/77137)

@bjorn3 interesting. I didn't know that. I will close this issue for now @BrianKevinson


Scrollable tabs

I have a screen 1024 wide and 30 tabs, which don’t fit on the screen.  Maybe the first 5 do.
ideally, I could set a prop to allow the tabs to be scrolled left and right to show any subset of the 30 tabs.
I do not want the entire page to scroll left/right!
one prop to enable scrolling.
one prop to always show a left and right chevron surrounding the visible tabs.  Otherwise the chevrons show up automatically when you can scroll the tabs left and/or right.
one prop to disable the chevrons altogether.  But on tablet, you can swipe left/right on the tabs to scroll others into view.
See https://mui.com/material-ui/react-tabs/#scrollable-tabs for an example.

I want to add my thanks for your efforts. 😀👍


How to use "withProperties" inside the model

Hello, is anyone there know how to add a custom property using the LogsActivity trait inside the model?

Hey,
I hope that I understood what you need. If not please add a more precise example of what you want.
If you want to add custom attributes for auto logged model events the tapActivity() method would solve it.
https://docs.spatie.be/laravel-activitylog/v3/advanced-usage/logging-model-events#tap-activity-before-logged-from-event

Hi I'm talking about adding custom properties like this activity()->withProperties(['key' => 'value']). Can we do that inside the tapActivity method? I can only see adding custom fields value example in the documents of tapActivity method.

under the Tap Activity before logged from event it says that "This method will allow you to fill properties and add custom fields before the activity is saved." but there is no example on how to fill properties only example on how to add custom fields.

Hey, I will close this issue. I already figured out how to customize properties using tapActivity. Thanks!

Hey, for completion: you get an instance of the Activity model in this method. So you can do everything you can do with a normal model. To add a property you can take a look in the ActivityLogger::withProperty() method.
https://github.com/spatie/laravel-activitylog/blob/2e451503a02ba98067de0f56a51ea7ceaf45487d/src/ActivityLogger.php#L87-L92
$activity->properties = $activity->properties->put($key, $value);

@Gummibeer Yes, I already figured it out. Anyways thank you!

I already closed the issue because I already found the solution. Thanks!

@blindsz Can you share example how you have done this?

Just follow @Gummibeer example above. That is how i do it.


Configure meta-pelux to integrate SC and Appman

Configure appman to produce softwarecontainer-plugin
Configure neptune to use software container for com.pelagicore.radio app
Add qtapplicationmanager_git.bbappend file to provide necessary capabilities
Signed-off-by: kursat<EMAIL_ADDRESS>

Will merge when I get to the office if my test build succeded

Looks good


Create PubSubIO Load test

This PR adds Load tests for PubSubIO. There are several configurations depending on the amount of data and the runner where the tests will be executed:

local: Data volume is 0.2 MB. The test runs on the local machine using the Direct Runner.
medium: Data volume is 10 GB. The test runs on the Dataflow runner.
large: Data volume is 100 GB. The test runs on the Dataflow runner.

How to verify the results:

Install Gradle on your local machine.
Run the command gradle :it:google-cloud-platform:PubSubPerformanceTest --tests "org.apache.beam.it.gcp.pubsub.PubSubIOLT" -d from the project root to execute the tests.
The tests will pass successfully if all data is processed within a certain amount of time and the processed data matches the expected amount.
Additionally, upon running the test, a link for monitoring the job will be displayed in the terminal, providing more detailed information on how much data has been processed and the progress. An example link is: https://console.cloud.google.com/dataflow/jobs/us-central1/2024-02-13_00_10_16-5567586527775732420?project=apache-beam-testing.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @damccorm @Abacn

Thanks. Had a couple of initial comments. Is there a job id available for demonstration?

Here is the links to one of the test jobs:
Write job: https://console.cloud.google.com/dataflow/jobs/us-central1/2024-02-21_02_10_37-12171205265624652554;step=Read from source;mainTab=JOB_GRAPH;bottomTab=JOB_ERROR_REPORTING;bottomStepTab=DATA_SAMPLING;logsSeverity=INFO;graphView=0?project=apache-beam-testing&pageState=("dfTime":("l":"dfJobMaxTime"))
Read job: https://console.cloud.google.com/dataflow/jobs/us-central1/2024-02-21_02_11_03-1874843895021090331;step=Read from PubSub;mainTab=JOB_GRAPH;bottomTab=DATA_SAMPLING;logsSeverity=INFO;graphView=0?project=apache-beam-testing


Add package optimization

https://github.com/uber/cadence-web/issues/423
Vendor items were selected by size.

Thank you for the contribution!
I saw this PR during cleanup, we have a lot of upcoming changes to cadence-web, so I'm closing this.
If you have pending PRs I would recommend reaching out to a maintainer in order to get them reviewed. You can find maintainers by joining the Cadence community slack:
Slack (opens new window)


how can i build a proxy like zabbix-proxy?

Hi
I want change my monitor system from zabbix to prometheus,because i use docker in my environment，i want known how can i build a proxy to send export data to prometheus,thank you

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


Local replay needs to download files right after game

A replay needs to download files even right after the game. It shows downloading units.nx2 and takes a long time, even though you just played the game and want to watch the replay
Windows

The client makes no assumptions as to the state of the game files and so always verifies the game version to that of the replay. You can turn on caching in the client settings to help mitigate multiple downloads


Remove SwiftLint

Changes in this pull request
Follow up from #837. Too much noise to keep working, and cost to maintain in an examples app is too high.

are you open to me adding SwiftFormat in a PR? :)

@heumn lets hold on that for now. Idk if there's a lot of value in adding/maintaining all these tools just for a sample app. Once we start using Swift in the main lib, then it'll be much much much more important (IMO).

@rnystrom LGTM as a solution. Could reducing the # of active rules also achieve the same effect?

Got it and agreed :)

@heshamsalman that's a good point. Maybe that'd be simpler than gutting it?

I agree with @heshamsalman  -- I don't think we should just gut this. Let's relax the rules instead 😄


usage of curl and memory leaks

Usage of curl does a leak on each call according to
$ leaks -atExit -- ./bbcbot | grep LEAK:

Leak report without email sending
Process 14947 is not debuggable. Due to security restrictions, leaks can only show or save contents of readonly memory of restricted processes.

    9 (336 bytes) ROOT LEAK: <NSDictionary 0x6000021df9e0> [32]

Leak report with email sending
Process 14947 is not debuggable. Due to security restrictions, leaks can only show or save contents of readonly memory of restricted processes.

      9 (336 bytes) ROOT LEAK: <NSDictionary 0x6000011643a0> [32]
      9 (336 bytes) ROOT LEAK: <NSDictionary 0x60000116c060> [32]
      2 (144 bytes) ROOT LEAK: 0x60000114c900 [32]
      1 (80 bytes) ROOT LEAK: 0x60000327c230 [80]
      1 (80 bytes) ROOT LEAK: 0x60000327c280 [80]

Fixed by porting to Rust


🆕 Software Suggestion | Addition of Artix Linux OS

Basic Information
Name: Artix Linux
Category: Operating Systems
URL: https://artixlinux.org/
Description
It is based off of arch linux but has two major upsides:

Systemd is removed and there are three options for replacement - runit, s6 and openrc.
There is an easy-install GUI and you can choose display manager when downloading ISO.

Artix linux has created a sizable following and I feel it should get attention in the privacy community.
Why I am making the suggestion
It is easy-to-use with gui and install and it is based on arch.
For what classification, I am personally unsure what it would be.
It seems a bit complex for introductory but a bit simple for advanced, so I want to hear some opinions.
My connection with the software
I am a linux hobbyist that has experience with the software. It is a well-developed systemd-free alternative to arch linux

[x] I will keep the issue up-to-date if something I have said changes or I remember a connection with the software.

Dont think this will be added see comments:
https://github.com/privacytools/privacytools.io/issues/2261

Dont think this will be added see comments:
#2261

I read that thread. This is not about removing systemd from ALL distros recommended, but recommending an arch-based systemd-free gui-install linux version that is gaining traction with a good reason.

Also, I do not care about redhat owning systemd, its that systemd is a monolith in terms of control and having alternatives is always good to diversify.
On the privacy side of things, arch is one of the most versatile distributions but for new users it can be tedious if they have never touched a terminal before. Artix provides an install simple as ubuntu but also has a manual install for more advanced users. There is very low telemetry, if any, as far as I know.

It seems a bit complex for introductory but a bit simple for advanced, so I want to hear some opinions.

Yah I would agree with you on that. If there was ever an intermediate section added then maybe Artix could go there.
I do have a question. Is there anything that Artix brings to the table besides not having Systemd? I feel like there are better Arch based distros to recommend if we go that route and most people don't consider systemd an issue. Also intermediate and advanced recommendations are not really as important as more seasoned Linux users will have the knowledge of picking a distro on their own without much help. The introductory section is much more important as beginners don't know any better and will most likely base their entire choice on it, in which case we want to make sure we did a good job recommending easy to use systems with good privacy.

@FriendlyRobotBird
I don't think fundementally they are that different, but they have different init systems, so it adds to variety.

Whether something has systemd or does not it doesn't really impact privacy does it now.
One could argue that systemd-resolvd supports DoT (DNS over TLS) at an OS level meaning all lookups are over TLS, preventing casual eavesdropping.
What I will say is that systemd units tend to be more robust, than openrc init scripts.


the trait std::future::Future is not implemented for impl futures::future::Future

the trait std::future::Future is not implemented for impl futures::future::Future
Steps to Reproduce
(I'm using Ubuntu MATE-64bit on a Raspberry Pi4.)

Compile the template

Expected Behavior
The template compiles without error or warnings.
Actual Behavior
[INFO]: Checking for the Wasm target...
   Compiling wasm-bindgen-test-macro v0.3.17
   Compiling wasm-bindgen-futures v0.4.17
   Compiling wasm-bindgen-test v0.3.17
   Compiling rust-webpack-template v0.1.0 (/home/jack/Code/WASM/my-app)
error[E0277]: the trait bound `impl futures::future::Future: std::future::Future` is not satisfied
  --> tests/app.rs:24:1
   |
24 | #[wasm_bindgen_test(async)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `impl futures::future::Future`
   |
   = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.
error: could not compile `rust-webpack-template`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
Error: Compilation of your program failed
Caused by: failed to execute `cargo build`: exited with exit code: 101
  full command: "cargo" "build" "--tests" "--target" "wasm32-unknown-unknown"

I am facing a very similar issue in my own project. I can't find any resources. Would you happen to have solved the problem?


I need write tsx in sfc, so I installed both plugin-vue and plugin-vue-jsx. But the HMR seems not work.

I need write tsx in sfc, so I installed both plugin-vue and plugin-vue-jsx. But the HMR seems not work.
when I update codes in template, the HMR works well. but not works when updating codes in tsx. i'm not sure my config is correct or not. it seems like a bug of vite.
// vite.config.ts
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'

export default defineConfig({
  plugins: [
    vue(),
    vueJsx()
  ]
})

// Home.vue

can anyone help! pls!
Originally posted by @CaiWenlie in https://github.com/vitejs/vite/discussions/2923

Maybe related to #3002

I found:

the content of jsx or tsx itself isn't inlined in main file of sfc, it would be imported like import _sfc_main from "/src/xxxx/xxxx/views/new/test.vue?vue&type=script&lang.tsx";
script module isn't added in updated modules in handleHotUpdate hook of plugin-vue

To resolve 2, I try to add script module into the updated modules and hmr works as expected.
Here is my naive solution.
https://github.com/Sociosarbis/vite/commit/9036d7ce4680fbfb86a33db820c444227e8d248f

Thanks @Sociosarbis ,
Anyways, It seems the problem in the official build still remanins.
The


Demo and show image of demo.py

Demo
Load model
Demo readme

Hello @toandaominh1997! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file demo.py:

Line 26:80: E501 line too long (87 > 79 characters)
Line 46:54: E225 missing whitespace around operator
Line 55:80: E501 line too long (81 > 79 characters)
Line 56:59: E231 missing whitespace after ','
Line 56:80: E501 line too long (113 > 79 characters)
Line 60:28: E251 unexpected spaces around keyword / parameter equals
Line 60:30: E251 unexpected spaces around keyword / parameter equals
Line 61:80: E501 line too long (81 > 79 characters)

In the file models/efficientdet.py:

Line 57:41: E225 missing whitespace around operator

In the file train.py:

Line 70:1: E302 expected 2 blank lines, found 1
Line 90:80: E501 line too long (82 > 79 characters)