Fix Tests Randomly Failing for Reachability and Activity Manager

Lets get this cleaned up so other branches quit getting false positives.

+1...for some reason the mocking wasn't being torn down properly.


Make sure that headers scrolled in view on mobile

Currently, when clicking on a ToC link in a single page web version, the title for that section is hidden under the fixed banner. We can use scroll-margin-top to add a little additional scroll amount to scroll the header into view. 3em matches the current top margin of 3em on headings and hgroups.

Good idea. Should the selector be *[id] instead, since this also probably affects endnotes and other internal links?

Yep, good idea, updated. (The * is presumed with attribute selectors so I left it off.)

Thanks!


get one copy and paste chunk in each entry

Fix #43

Note that we still don't always get a single chunk because of figures. It can be changed by adding fig.show = "hold" in the knitr options but I'm not completely sure it's desirable.

thank you for reporting this! I'll take a further look.

Note that we still don't always get a single chunk because of figures. It can be changed by adding fig.show = "hold" in the knitr options but I'm not completely sure it's desirable.

I block the intermediate plots. Only in one entry, I decided to use patchwork to show two plots to compare at the end https://github.com/epiverse-trace/howto/pull/51/commits/95c93a143ae0f636a0d7c5f3273641b85f3ec163
These style decisions are now included in the contributing guide too https://github.com/epiverse-trace/howto/pull/51/commits/64565433b48bd9a57f8a729b0db56a5049fa96e4


Natbib and ucsd class

Hi all,
Thank you so much for this document class, it's going to make things way easier! I'm running into a problem using the Natbib package, which is my preferred citation package. I can run my script just fine if I don't use a citation package and just use "apalike" style citations. However, every time I use the Natbib package I get the error:
l.1 \begin{the bibliography}{}
I've played around with it for hours, and I'm nearly certain that the issue has something to with a conflict between natbib and the ucsd.cls. Any suggestions on what I can do?

@ncombes The error I got is:
According to https://tex.stackexchange.com/questions/1969/beamer-and-natbib, I had to add:
\newcommand{\newblock}{}
When I did that in the template (just under the \usepackage{natbib}, it seemed to work.

@ncombes if that works for you, would you mind submitting a pull request to note this in template.tex?
Something like:
\usepackage{microtype}  % avoids citations that hang into the margin
%\usepackage{natbib}  % a different style
%\newcommand{\newblock}{}  % necessary if using natbib

Thank you so much bcipolli,
The new error I got is:
\providecommand\NAT@force@numbers{}\NAT@force@numbers

@ncombes that does not look like an error message. Nor do I get that error in the template.
I suggest: try making the change I suggested in the template and verify it works for you, then figure out the difference between your doc and the template.

@bcipolli
I received the same message for the template as well. I downloaded the zip fresh (so I was only working in that folder), commented out microtype and added those two lines.
%\usepackage{microtype}  % avoids citations that hang into the margin
\usepackage{natbib}  % a different style
\newcommand{\newblock}{}  % necessary if using natbib
I also changed the bibliography style to "plainnat".
The message I received is: l.24 ....mand\NAT@force@number{}\NAT@force@numbers
When I go to the error it takes me to the .aux file and line 24 is: \providecommand\NAT@force@numbers{}\NAT@force@numbers
(I really appreciate your helping with this!)

I also changed the bibliography style to "plainnat".

OK, I didn't know that. Thanks for letting me know.
Try:

Delete all .aux files
Delete the .bbl file.
Compile template.tex (should have ? for the references)
Compile template.bib (open it in your editor, choose 'Bibtex' for the compiler--I am using TeXShop on my mac.
Compile template.tex again--you should get your references.

Thanks @bcipolli ,
That's what I had done. But for good measure, I did it all again (including using the raw downloaded files to make sure that all auxiliary files were out. Same exact messages.

Sorry, I can't reproduce the issue. It works great for me.


[ECard Transactions] Update ReportPreview Title

Design Doc Section
https://docs.google.com/document/d/1iELOXPOAcnuIPZJ3XbO1S8_3qHaM31Ptf8dR4LRZMyE/edit#bookmark=kix.o2b39rlbvmvl
Overview

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01d1c0c18a4062ce7c
Upwork Job ID:<PHONE_NUMBER>111497216
Last Price Increase: 2023-10-04

@mananjadhav checking in to see if you'll be able to review today?

Yes. I will be finishing this today.

TY!

@mananjadhav you're free to make a manual request for $500 for your work on this issue!


Updates required in the README.md

The list of updates required are

[ ] Under Note 1, list GSSoC as well. NOTE1 can be rewritten as BENJI has participated in the following Open Source Programs: Kharagpur Winter of Code 2017, GirlScript Summer of Code 2018
[ ] Under Note 1: The link to KWoC is broken, better not to create any hyperlink.
[ ] Under Note2: The link to the Open Source Summit is broken.

I would like to contribute and update the README file.

Assigned to @AneriMehta


FR: Unlink suggestions for reducing the number of excessive links to a page

Given Visa's idea (or probably not his but whatever) that if you link each page to each other, it's as if you don't link any pages at all, it would be great to have an opportunity to get a list of linked pages, sorted by relevance (and you can switch between ascending and descending order). You can then remove unneeded links, whether they are too relevant or not relevant enough.

what does this mean exactly? currently the sidebar reveals the top 50 results, I think? would you like it to be more interactive and editable or am I misreading

Let me describe a specific use case (mine): in my first year of writing things in Obsidian, I made too many links where none were needed (i.e. often linked a page just because the word from its name was mentioned). Now I want to filter backlinks for each page and leave only those that are the most distant but still relevant. Because too close links are redundant due to their proximity and irrelevant links are just noise.
So I'd love the sidebar to have a setting/checkbox that allows to filter out entries that are not backlinks.

Okay, I think I understand! This would remove from the list pages that link to the current document? This seems like it might be a good default actually, as those are already listed in the Backlinks and Outlinks panels. Silicon would then only be suggesting things that would be overlooked actually. I will try to implement this today

Okay this should be changed in the latest release! Hopefully should "just work" but if it doesn't you might have to Wipe Index. Closing this for now but let me know if there's any bugs


Crash

Description
In the downloads folder, I selected a few files and clicked on the information. After receiving the information, I click "OK" in the window that opens and the application crashed.
Steps To Reproduce

Go to the Downloads folder.
Select 5 files (in my case).
3.View folder properties.
4.Click on the "OK" button.

Expected behavior
I expected that the application would not crash.
Files Version
Version: <IP_ADDRESS>
Windows Version
Windows 10 Pro 21H2 19044.1466
Relevant Assets/Logs
debug.log
debug_fulltrust.log

[ ]

Fixes in latest code


Provide Emissions Data in XML

Not needed on updated platform. Will continue to allow users to retrieve emissions files in XML through the existing mechanism. will phase out XML format on new platform (JSON only)


Web: Bump closure compiler spec to ECMASCRIPT_2021

Fixes #88008.

Cherry-picked for 4.2.2.
Cherry-picked for 4.1.4.

Cherry-picked for 3.6.
Cherry-picked for 3.5.4.


sql date

I got errors trying to use the date attribute on datetimes with a sql backend. The sql for conversion from datetime to date is not an extract, but a function call. Please let me know if there is a cleaner implementation of this.

LGTM. Thanks for the fix.

Thanks for the quick review


Update unit-test.stub to use RefreshDatabase trait

Since Illuminate\Foundation\Testing\RefreshDatabase is used by default now, this stub should reflect it and match the test.stub.

As this is a stub, this is kept as it on purpose

Then why was the test.stub updated? https://github.com/laravel/framework/blob/master/src/Illuminate/Foundation/Console/stubs/test.stub
When running php artisan make:test ModelTest --unit, on a 5.5 project I currently get the old database migration and transaction traits, instead of the new RefreshDatabase trait.
But when I run php artisan make:test ExampleTest on the same project I do get the RefreshDatabase trait.
It doesn't make sense to have it in one place but not the other, but if it was done on purpose, feel free to close the PR.


Add fakeovirt with imageio

Add ovirt-imageio server with:

generated certs
specific config to start up with the certs
custom ticket to add after starting
cirros image to which the tickets points

Add fakeovirt stubs for xml and json requests and custom stubs.json for posts to create imagetransfer.
For the stubs we need to use follow params like: vms?follow=diskattachments,nics,host_devices,snapshots,watchdogs,cdroms networks?follow=vnic_profiles hosts?follow=network_attachments,nics

@aesteve-rh

btw, we have already published some documentation regarding the containerized imageio: https://github.com/oVirt/ovirt-imageio/blob/master/docs/container.md
More or less what I did already write, but more detailed. Any updates we do will get documented there. Also, again, any request you may have to make it easier to use, or enhancement, you can either reach me directly or post an Issue in the repository.

there was a 60 sec sleep before that I wrote a comment on and seems to disappear, right? :) Edit: ok, I saw that comment is 'outdated'

The sleep there was just for testing purposes to see if the migration passed.


job.run() is failing

I have this script that fails:
brig version
v0.11.0
helm ls
NAME      	REVISION	UPDATED                 	STATUS  	CHART                 	NAMESPACE
brigade   	1       	Sat Mar 17 08:46:11 2018	DEPLOYED	brigade-0.11.0        	default
kashti    	1       	Sat Mar 17 21:20:18 2018	DEPLOYED	kashti-0.1.0          	default
my-project	1       	Sat Mar 17 08:50:48 2018	DEPLOYED	brigade-project-0.11.0	default

const { events, Job } = require('brigadier')

events.on("exec", (brigadeEvent, project) => {
  console.log("Hello world!")

  var job = new Job("do-nothing", "alpine:3.4")
  job.run()
})

Note: console.log("Hello world!") is working if I comment out job.run()
I get the following error if I run the job:
brig run -f brigade.js jczz/uuid-generator
Started build 01c8tyekzep9czh0fmndst9pj6 as "brigade-worker-01c8tyekzep9czh0fmndst9pj6"
prestart: src/brigade.js written
[brigade] brigade-worker version: 0.11.0
[brigade:k8s] Creating PVC named brigade-worker-01c8tyekzep9czh0fmndst9pj6
Hello world!
[brigade:k8s] Creating secret do-nothing-01c8tyekzep9czh0fmndst9pj6
[brigade:k8s] Creating pod do-nothing-01c8tyekzep9czh0fmndst9pj6
[brigade:k8s] Timeout set at 900000
[brigade:k8s] default/do-nothing-01c8tyekzep9czh0fmndst9pj6 phase Failed
[brigade:app] error handler is cleaning up
  Error: Pod do-nothing-01c8tyekzep9czh0fmndst9pj6 failed to run to completion

  - k8s.js:365 k.readNamespacedPod.then.response
    ./dist/k8s.js:365:32

[brigade:app]   Error: job do-nothing(do-nothing-01c8tyekzep9czh0fmndst9pj6): Error: Pod do-no  thing-01c8tyekzep9czh0fmndst9pj6 failed to run to completion

  - brigadier.js:56 jr.run.catch.err
    ./dist/brigadier.js:56:35

  - next_tick.js:188 process._tickCallback
    internal/process/next_tick.js:188:7

[brigade:k8s] Destroying PVC named brigade-worker-01c8tyekzep9czh0fmndst9pj6
error Command failed with exit code 1.

Do you know why or how to debug this?
Thanks
Regards

Can you do a kubectl logs do-nothing-01c8tyekzep9czh0fmndst9pj6?

kubectl logs do-nothing-01c8tyekzep9czh0fmndst9pj6
Error from server (BadRequest): container "brigaderun" in pod "do-nothing-01c8tyekzep9czh0fmndst9pj6" is waiting to start: PodInitializing

Ah! Okay... that is helpful. Can you try it with kubectl logs do-nothing-01c8tyekzep9czh0fmndst9pj6 vcs-sidecar to get the logs from the VCS sidecar container? That appears to be what caused the error.

Hey @technosophos
That worked - my fault!
It gave me the error.. saying that cloneURL was wrong and remote: Repository not found.
So after setting cloneURL to cloneURL: "" it worked.
I am learning new stuff every day - better understanding of sidecars :-)
Thanks again, and keep up the good work - this is an awesome tool for k8
Regards

Thanks! Should I close this one?

Yes 👍


property schemapath in file graphqlconfig.yml is being reset after amplify codegen

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
Amplify Console GitHub Issue Tracker

Describe the bug
In my graphqlconfig.yml file, i set the schemaPath property to graphql/schema.json
after i run amplify codegen i noticed that my file was created under folder src/graphql/schema.json and my property schemaPath was re-written to src/graphql/schema.json
The discrepancy here is that the other properties such as includes and generatedFileName remain as i set them, it is only schemaPath that keeps getting being prepended with the src folder path.
To Reproduce
Steps to reproduce the behavior:
Modify graphqlconfig.yml file, set property schemaPath to schemaPath: graphql/schema.json
run amplify codegen
Expected behavior
The expected behavior is that the file schema.json is under folder {projectRoot}/graphql/
and not under {projectRoot}/src/graphql/ and that the graphqlconfig.yml property schemaPath remains as I had modified it before.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@orozcojair Whcih version of the CLI are you using? We fixed this as a part of this PR - https://github.com/aws-amplify/amplify-cli/pull/1864 and it's a part of the latest version of the CLI.

my version is definitely older than 13 days ago so I will update

yes this solved the issue. Thank you


[release-4.15] USHIFT-2467: Enable multiple RHOCP repositories

el92-src@rpm-install: Upgrade From Previous Version fails because test harness only uses repositories enabled on the hypervisor to obtain latest "previous minor version". After GA of 4.15, it stopped enabling rhocp-4.14, so the most recent 4.14 get_rel_version_repo() detects is 4.14~rc.7.
We might enable Y and Y-1 rhocp on the hypervisor or change the logic of the get_rel_version_repo() so it searches also not enabled rhocp repositories.

/hold

/lgtm
/label backport-risk-assessed

/label jira/valid-bug


Add each script from the -ScriptPath array only once

Basically, select scripts with unique Fullnames.

The latest version already ensures unique filenames, though if they have different relative paths inside the package, it would still be added. But it could be a valid user scenario after all, which makes it perfect sense to leave it as is.


Non-admin users get 403 errors when accessing movie/series pages

Description
When accessing a movie/series page, jellyseerr tries to request radarr/sonarr settings, which fails for non-admin users.
This is a problem for me, as I have setup fail2ban to check for 403 errors.
I'll make a PR to fix this.
Version
1.7.0
Steps to Reproduce

Login on a non-admin user
Open network tab (F12) on your browser
Go to a movie/series page
Every few seconds, a new request will fail to fetch radarr/sonarr settings

Screenshots
No response
Logs
No response
Platform
desktop
Device
PC
Operating System
Windows 10
Browser
Chrome
Additional Context
No response
Code of Conduct

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

:tada: This issue has been resolved in version 1.8.0 :tada:
The release is available on:

v1.8.0
GitHub release

Your semantic-release bot :package::rocket:


Curation prasad2019

@cthoyt  could you provide the link for new HBP namespace which has the addition of TDP-43 terms?

@cthoyt updating of NCBIGENE namespeace required.


[QUESTION]How to change the language?

How to change the title to Chinese? thank you~

Please see #68 for more details on translation. Let me know if you have any questions!


Fix OpenIdConnectTokenEndpointResponse to return the actual OpenIdConnectMessage

OpenIdConnectTokenEndpointResponse manually creates an incomplete OpenIdConnectMessage by extracting a few parameters from the JSON object instead of extracting all the parameters. It should be fixed to flow the complete message.
Currently, this prevent the new SaveTokensAsClaims feature from correctly storing the refresh token: https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenIdConnectTokenEndpointResponse.cs#L17-L23
/cc @Tratcher @tushargupta51

:+1:

Ideally, we should kill (or at least internalize) OpenIdConnectTokenEndpointResponse and directly expose both OpenIdConnectMessage and JObject in the context classes where it is currently used.

@PinpointTownes @Tratcher perhaps a solution here is to add a constructor to OIDCMessage that takes a JObject and 'retire' OIDCTEResponse.  OIDCMessage, unknown or new properties could be surfaced in the dictionary from the Parameters property.

Sounds good.

@brentschmaltz really nice :+1:

Depends on https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/276 which was just merged today.

Note that the new JObject support in OpenIdConnectMessage is limited to simple properties (it won't work with array or object properties)

@PinpointTownes All the properties in OpenIdConnectMessage are strings (except RequestType). The array properties like acr_values or ui_locales are returned as space separated string from the endpoint. I tested with this json string and it worked:
string json2 = @"{
""tag"":""value1"",
""tagObj"": {
""tag3"": value3,
""tag2"": value2
}
}";
The object is converted to json string when using ToString() method.

@tushargupta51 sure, but most people won't expect having to manually deserialize the parameter value using JObject or JsonConvert. This obviously makes complex claims (like address in a userinfo response) harder to use from the final developer's perspective.

@PinpointTownes  With the current state of OpenIdConnectMessage, I don't think one can store arrays or objects directly, right? The dictionary that is available maps a string key to string value. I am trying to understand the issue that you are hinting is with the JObject ctor or with the class itself?

@PinpointTownes With the current state of OpenIdConnectMessage, I don't think one can store arrays or objects directly, right? The dictionary that is available maps a string key to string value.

Yup, and it works great (I'm a huge fan of this OpenIdConnectMessage primitive :smile:)

I am trying to understand the issue that you are hinting is with the JObject ctor or with the class itself?

Issues come when you want to play with arrays or objects properties. Have you considered switching to object (rather than string) values or directly exposing the JObject for more flexibility?

I see it now. Haven't yet thought about switching to objects. It seems most values returned in response are strings. Between exposing the JObject and using the OpenIdConnectMessage.GetParameter(string) method, the difference is that user has to convert the string to JToken or something in latter. But the conversion to actual object type from json object is still needed.

There's a missing dependency for "System.Dynamic.Runtime": "4.0.11-beta-*",, waiting for the next build.


Mistakes in documentation

In Apache Spark Scala reading example there is  sc.esRDD("radio/artists", "?me*") , it should be sc.esRDD("radio/artists", "?q=me*")
and similare mistakes in onther parts like
'val sql = new SQLContext(sc) val people = sqlContext.esDF("spark/people")  where it should be val people = sql.esDF("spark/people")

Fixed in master. By the way, both "?me*" and ?q=me& work but I opted for the first one for consistency.

for me "?me*" produces following error "org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot token [me*] in uri query [me*]"
I use spark 1.3.0, ES 2.1.0.Beta3 in local mode and I'm runing  elasticsearch-1.5.1 server


Cannot available on ionic4

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:

[x] You are using the latest version
[ ] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
My codes like these, this canvas is null.
html2Canvas() {
const element: any = document.querySelector('#test'); // 要显示图片的img标签
html2canvas(element).then( canvas => {
console.log(canvas);
console.log(canvas.toDataURL());
});
}
I hope to find someone who can help me to solve it.
Please replace this line with a brief summary of your issue AND if possible an example on jsfiddle.
Specifications:

html2canvas version tested with:
Browser & version:
Operating system:

My codes like these, this canvas is null.
html2Canvas() {
const  element: any = document.querySelector('#test'); // 要显示图片的img标签
html2canvas(element).then( canvas => {
console.log(canvas);
console.log(canvas.toDataURL());
});
}

Hi I have the same issue in Ionic 4, see below. Did you find a solution?
https://github.com/niklasvh/html2canvas/issues/1829

Hi I have the same issue in Ionic 4, see below. Did you find a solution?
#1829

Hi I have the same issue in Ionic 4 Did you find a solution?


Feature Suggestion: Saved Stations.

Ability to save X amount of radio stations.
Wrench ability so the block retains saved information.

Wrenching was a pain to implement without using APIs from tons of mods.  Radios retain NBT when broken, to clear a radio place it in a crafting table, and it'll give you a fresh radio

I like it.


r_network(connections)

Hi,
I am trying to integrate linkedin in my app. By using cocoapods i installed sdk but it shows me for error regarding LinkedinSwiftHelper that "undentifier linkedSwiftHelper" and Your project is running well (Example project in swift). But another issue that how to get detail about friend lIst(connections). I want show connections in my app and for that I add parameter called "r_network"
e.g.,
let linkedinHelper = LinkedinSwiftHelper(configuration: LinkedinSwiftConfiguration(clientId: "81x1n8a71cm6ww", clientSecret: "I1uwFGB2vAYQRMRs", state: "DLKDJF46ikMMZADfdfds", permissions: ["r_basicprofile", "r_emailaddress","r_network"], redirectUrl: "http://www.xyz.com/"))
but it gives me error when I log in to it shows your application is not authorized for the scope of "r_network" and when i removed r_network it runs fine. And show info of user (basic profile and emailaddress).

They have locked down the API and restricted the usage to an extremely limited set of access points from two years ago.
I guess you can request that if you need r_network, otherwise you are only allow to use 'r_basicprofile, r_emailaddress, rw_company_admin, w_share'.


NotDirectoryException when jdk-9-ea+131 is used

When I try to compile my project using JDK 9 (https://jdk9.java.net/download/), I get following error.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project artemis-commons: Fatal error compiling: CompilerException: InvocationTargetException: java.nio.file.NotDirectoryException: /opt/jdk1.9.ea/lib/modules -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project artemis-commons: Fatal error compiling
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling
    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:796)
    at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    ... 20 more
Caused by: org.codehaus.plexus.compiler.CompilerException
    at org.codehaus.plexus.compiler.javac.errorprone.JavacCompilerWithErrorProne.performCompile(JavacCompilerWithErrorProne.java:95)
    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)
    ... 23 more
Caused by: java.lang.reflect.InvocationTargetException
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535)
    at org.codehaus.plexus.compiler.javac.errorprone.JavacCompilerWithErrorProne.performCompile(JavacCompilerWithErrorProne.java:91)
    ... 24 more
Caused by: java.io.UncheckedIOException: java.nio.file.NotDirectoryException: /opt/jdk1.9.ea/lib/modules
    at com.sun.tools.javac.file.Locations$BootClassPathLocationHandler.lazy(Locations.java:725)
    at com.sun.tools.javac.file.Locations$BootClassPathLocationHandler.isDefault(Locations.java:559)
    at com.sun.tools.javac.file.Locations.isDefaultBootClassPath(Locations.java:129)
    at com.sun.tools.javac.file.BaseFileManager.isDefaultBootClassPath(BaseFileManager.java:149)
    at com.sun.tools.javac.main.Arguments.validate(Arguments.java:411)
    at com.sun.tools.javac.main.Main.compile(Main.java:218)
    at com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:190)
    at com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:101)
    at com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:131)
    at com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:73)
    at org.codehaus.plexus.compiler.javac.errorprone.JavacCompilerWithErrorProne$CompilerInvoker.compile(JavacCompilerWithErrorProne.java:219)
    ... 29 more
Caused by: java.nio.file.NotDirectoryException: /opt/jdk1.9.ea/lib/modules
    at sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(java.base@9-ea/UnixFileSystemProvider.java:427)
    at java.nio.file.Files.newDirectoryStream(java.base@9-ea/Files.java:460)
    at java.nio.file.Files.list(java.base@9-ea/Files.java:3506)
    at com.sun.tools.javac.file.Locations$BootClassPathLocationHandler.systemClasses(Locations.java:678)
    at com.sun.tools.javac.file.Locations$BootClassPathLocationHandler.computePath(Locations.java:634)
    at com.sun.tools.javac.file.Locations$BootClassPathLocationHandler.lazy(Locations.java:722)
    ... 39 more

The error-prone-javac assumes that $JAVA_HOME/lib/modules is a directory but in my case it is regular file. I use 1.9.0-dev-r2973-2 version of error-prone-javac.

We're not yet supporting running on JDK 9.
The current version of error-prone-javac was cut before Project Jigsaw (i.e. the module system) landed.  It will require significant work for us to run on a modularized JDK.  We are working on this internally, but it's low priority as the JDK 9 release date is more than 6 months away.

I see. Thank you for your response.

WIth Java 9 coming later this year, I thought it'd be good to start occasionally tracking it with our builds, but hit this problem - any word on when some support might be available in error_prone?

We still don't have a firm timeline for this.  @cushon might have thoughts.

It's a bit weird to me you guys closing this issue without being fixed.. no plans to fix it?
we are using it on activemq artemis.. we may have to remove error prone if we wanted to keep error prone.

Is this still happening with recent JDK 9 EA builds and Error Prone 2.0.20-SNAPSHOT?

I didn't try with a snapshot of Error Prone.. I can try it later today:
We were having a discussion here:
http://activemq.2283324.n4.nabble.com/DISCUSS-Artemis-JDK9-support-tp4725823.html;cid=1494353758727-471
if you want to be part of the discussion, you can subscribe to the dev list:
http://activemq.apache.org/mailing-lists.html
if you want to build it and try yourself:
https://github.com/apache/activemq-artemis/

a simple git clone and mvn install would do!

Let's leave this bug open to track JDK 9 support. I'm not sure we can commit to supporting JDK 9 before it's released, but it's definitely something we plan to do eventually.
@clebertsuconic I can build activemq-artemis with JDK 9-ea+168 and Error Prone 2.0.20-SNAPSHOT. I started with the fixes in ARTEMIS-683 and then re-enabled Error Prone.

-Xep:StaticAccessedFromInstance:ERROR needs to be updated to -Xep:StaticQualifiedUsingExpression:ERROR
I made a small change to Error Prone to work around JDK-8152842 that I'll submit soon
Error Prone reported a handful of new errors in the code that will need to be fixed or suppressed

Error Prone should run on JDK 9 now (see the "Java 9" section http://errorprone.info/docs/installation for instructions). If anyone encounters issues using it from the command line that way, please let us know.
We haven't done as much testing of the build system integrations: Bazel will work soon, there's an issue open for gradle (tbroyer/gradle-errorprone-plugin/issues/27), and I'm not sure about maven yet.
Support for using the Java 9 language level (not just running the tool on JDK 9) is work in progress.

@cushon Can you please post the issue ID for the Java 9 language features? So one could track progress of that. :-)

The ant integration is broken for JDK 9 because (at least) of this line:
https://github.com/google/error-prone/blob/master/ant/src/main/java/com/google/errorprone/ErrorProneExternalCompilerAdapter.java#L93
-XbootClasspath/p isn't supported in Java 9, and the error-prone installation instructions recommend a different integration method for Java 9.

We need up update the rest of the build system installation docs to mention the -Xplugin integration, but Java 9, 10, and 11 are supported now: #860


dahliaOS needs updates of Material2 to Material3

Is there an existing issue for this?

[X] I have searched the existing issues

Current behavior
Hi, I have a report of many problems with dahliaOS with Material3, and frankly, I am a reviewer and I have an new reports
Did you remember the problems of Material1 to Material2
Yes, it's the same thing here, I did everything as flutter user, but the problem with pub is that almost all of it has become Material3, and in order to be like us, your system must be fresh GNULinux/MacOS/WindowsNT or flutter must be fresh and clean cache, config, data,
If you want to know about changes to Flutter, go to ./flutter/packages/flutter/lib/fix_data
some files needs add urls on pubspec.yaml
surfaceColor = isn't defined for flutter:ThemeData
foregroundColor = isn't defined for flutter:ThemeData
methodCall.sender = error 'String?' for pangolin:status_watcher
divisions & label & height = No named parameter with the name for pangolin:qs_slider
ZenitSlider = Found this candidate, but the arguments don't match for zenit_ui:slider
PopScope = isn't defined for '_ZenitPortraitLayoutState' or zenit_ui:zenit_portrait_layout
testWidgets & WidgetTester + MyApp + expect + find + findsOneWidget + findsNothing = isn't defined for pangolin:widget_test
The parameter type of '==' operators should be non-nullable, Try using a non-nullable type for pangolin:xpm.dart
and some idea with system_recovery, needs (sdk: '>=2.7.0 <3.0.0)
I will NOT close this topic unless you fix it in front of me

Expected behavior
It could be solved if they created import material2.dart or fixed this problems, And like this :
foregroundColor = replaced with colorScheme.onSurfaceVariant
surfaceColor replaced with colorScheme.onSurface
Steps to reproduce
No response
Environment (values that do not apply assign with "N/A")
- OS: Gnu/Linux/NixOS/Nixpkgs
- Device: Old/Laptop/Bios/Intel

Anything else?
I also have a problem with dahliaOS/Server because I'm been banned without any evidence or warning, or why, I just said the bug truth and posted it here again, ff there is any discussion outside our topic here, unban me in dahliaOS/discord
and I don't like Indian dramas on dahliaOS/Discord for this reason, I rated the dahliaOS/discord at 4/10 because there are really good people there and some that if I were a manager I would kick out of my office
Code of Conduct

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

You are more than welcome to fix these issues. You have provided solutions,
submit them as a pull request making these changes, and we will review it.
On Sun, May 5, 2024, 3:33 PM Redgirl @.***> wrote:

Is there an existing issue for this?

I have searched the existing issues

Current behavior
Hi, I have a report of many problems with dahliaOS with Material3, and
frankly, I am a reviewer and I have an new reports
Did you remember the problems of Material1 to Material2
Yes, it's the same thing here, I did everything as flutter user, but the
problem with pub is that almost all of it has become Material3, and in
order to be like us, your system must be fresh GNULinux/MacOS/WindowsNT or
flutter must be fresh and clean cache, config, data,
If you want to know about changes to Flutter, go to
./flutter/packages/flutter/lib/fix_data
some files needs add urls on pubspec.yaml
surfaceColor = isn't defined for flutter:ThemeData
foregroundColor = isn't defined for flutter:ThemeData
methodCall.sender = error 'String?' for pangolin:status_watcher
divisions & label & height = No named parameter with the name for
pangolin:qs_slider
ZenitSlider = Found this candidate, but the arguments don't match for
zenit_ui:slider
PopScope = isn't defined for '_ZenitPortraitLayoutState' or
zenit_ui:zenit_portrait_layout
testWidgets & WidgetTester + MyApp + expect + find + findsOneWidget +
findsNothing = isn't defined for pangolin:widget_test
The parameter type of '==' operators should be non-nullable, Try using a
non-nullable type for pangolin:xpm.dart
and some idea with system_recovery, needs (sdk: '>=2.7.0 <3.0.0)
I will NOT close this topic unless you fix it in front of me
Screenshot.from.2024-04-29.20-23-40.png (view on web)
https://github.com/dahliaOS/pangolin_desktop/assets/168940372/4322d9ef-afa4-4027-8599-9d03dac5288c
Screenshot.from.2024-05-02.21-52-35.png (view on web)
https://github.com/dahliaOS/pangolin_desktop/assets/168940372/dd255280-addb-4cd7-8a55-85b5323c0b19
Expected behavior
It could be solved if they created import material2.dart or fixed this
problems, And like this :
foregroundColor = replaced with colorScheme.onSurfaceVariant
surfaceColor replaced with colorScheme.onSurface
Steps to reproduce
No response
Environment (values that do not apply assign with "N/A")

OS: Gnu/Linux/NixOS/Nixpkgs- Device: Old/Laptop/Bios/Intel

Anything else?
I also have a problem with dahliaOS/Server because I'm been banned without
any evidence or warning, or why, I just said the bug truth and posted it
here again, ff there is any discussion outside our topic here, unban me in
dahliaOS/discord
and I don't like Indian dramas on dahliaOS/Discord for this reason, I
rated the dahliaOS/discord at 4/10 because there are really good people
there and some that if I were a manager I would kick out of my office
Code of Conduct

I agree to follow this project's Code of Conduct

—
Reply to this email directly, view it on GitHub
https://github.com/dahliaOS/pangolin_desktop/issues/385, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEOTEHFKPLK7IZIMLL4FC7DZA2CPLAVCNFSM6AAAAABHH64IESVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TSNRZGM4DSNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I'm not sure if it's the same issue, but I must tell you that I also tried many workarounds, like buildroot, same issue, and linux_build kernel Linux 6.7.2 is missing even though I chose Linux 6.1.6, because the shell file is not known where it was extracted xz
Just to get one thing, and in the end I lost a lot of gigabytes of internet, sir

The source code should be github.com/dahliaOS/dahliaOS Make it simple Why do you humans make life so hard Be like github.com/flutter/flutter Simple and easy to keep in your head, so stable and no problems with new or old versions
And Pull requests I will do this if there is one repository
In this case, I will wait another 2 years in this case. As for the partnership with you, it will be as it is. Just do not use bad words even if you are outside dahliaOS/Discord or in my DM, Respect your place, someone/core
If you make it, for example, Zenit Ui into two parts
Section 1 is integrated with github.com/dahliaOS/dahliaOS, better and standalone
Section 2 will be independent as it is now, but for newcomers they can download it and integrate it with their applications
dahliaOS/Github 2024 Review 6/10 Chaos, But it will be renewed in the future
I love you, protect yourselves and do not forget these problems because even the solutions I presented do not work too.

why is this closed when the issue is unsolved?

why is this closed when the issue is unsolved?

This issue is closed as future plans for Pangolin will resolve it. The requestor in question has refused a number of novel solutions to the problem (i.e downgrading the Flutter SDK and Pangolin via git), which resolve this.

oh. i was unaware. i will try to downgrade flutter, thanks.

oh. i was unaware. i will try to downgrade flutter, thanks.

I do not advise you to do so because Zenit_ui is under development and many changes have been made
If you really want to try it, you must be a Flutter developer with fork Pangolin_desktop and fork Zenit_ui too
Or just stay tuned for updates better for you, and i do not want this discussion to loop,
So, you are always welcome.

oh. i was unaware. i will try to downgrade flutter, thanks.

I do not advise you to do so because Zenit_ui is under development and many changes have been made
If you really want to try it, you must be a Flutter developer with fork Pangolin_desktop and fork Zenit_ui too
Or just stay tuned for updates better for you, and i do not want this discussion to loop,
So, you are always welcome.

Downgrade Pangolin to commit hash 097f85a1d982817e2b9672f6935e28a87ef98050, and Flutter to 017fc6c907eada9204ccc9885462f9efe9625bcb, fix the dependencies as needed, and it will run fine. Alternatively, there's a Linux binary of the last working version HERE


Raycast3D doesn't collide with RigidBody3D when ported to Quest VR

I am trying to make a system with raycasts where you can click a rigidbody cube and it hops away from you. This system works flawlessly when playing on computer, both screenmode and VR, but it doesn't work whenever I deploy it to android to test on my Quest 3. I have made a simple version with the same player controller as in my game, and the same yellow cube that should hop away once you click on it. There are indicators via a green crosshair on screenmode and green dots in VR to tell you if you are pointing at a clickable object. Again, this works perfectly on computer in my main project, both screenmode and VR, but it doesn't seem to work when deployed to standalone Quest 3.
The code for the VR raycast system can be found in the project folder, just find the Scripts folder, and then the Player folder. The script is called "VRController.gd", and the raycast code starts at line 322. For the screenmode raycast system, it is in the same folder as the VR controller script, but it's called "ScreenmodeController.gd", and the raycast code starts at line 120.
Link to Project
The videos attached below are from the project I am working on where this bug is occuring, but the project linked above is a simplified version that isolates the problem. I took the cube shown in the videos, and I transfered it to the linked project. In this isolated project, the problem happens with the computer version as well, but in my main project, it happens only on Android.
The top video shows what happens on computer, which is what is supposed to happen. The bottom video shows the exact same project but on quest 3 standalone.
https://github.com/godot-jolt/godot-jolt/assets/68498220/7ef42393-374c-4a8b-8469-52b1c9d71c69
https://github.com/godot-jolt/godot-jolt/assets/68498220/4227d4d8-160a-46de-b4f7-750fbb293fbe
Steps to reproduce:

Download and open the project
Launch it in VR (either PCVR or Quest Standalone, Quest Standalone is the problem)
Get close to the cube and point either hand at it

What should happen:

The raycast hits the cube and it shows a green dot indicating that you can interact with it
You click the cube using the trigger, and it hops away from you

What actually happens:

The green dots don't show up
When enabling "Visible Collision Shapes" in the Debug tab, the raycast seems to not hit it at all.

I was able to fix the problem! Thanks to mihe, we were able to find out that I was changing the player's scale on the _ready() function to 0, which should not be done. I replaced the scale changes with disabling the processes, and it works! It even worked on Quest!

It was concluded through other channels that the issue here was using a zero scale in an attempt to disable one of the two CharacterBody3D that the player scene contained.
Changing it to toggle the bodies process_mode instead fixed the issue.


[WIP] Simple classification for fast merge.

Reminder: Do not forget to add everything to docs

@AlekseySh models.py in registry


include spanish in timestampRegex

I included spanish and tested it with the My Clippings.txt generated by my device

Thank you for submitting this @tlaloc911!


Another backbone

Hi, Thank you for great work!
I found that there're another backbone models besides Croco, Like resnet or DINO.
Did you already tried? and worked well?
If you could share any metrics, I would be grateful.

Hi, we do try some other backbones such as DINO, the PSNR is about 24 dB on RE10k using DINO. It is slightly worse than Croco. But I assume changing the backbone may require more tuning, we will do some further experiments and update our paper then.

Thank you for sharing! it means that even if it doesn't use cross-attention in decoder, does the model works somehow?

Yes, you can concatenate all images and simply use self-attention.

so, You mean it's one stream?


Lab Demo Recording

May I ask about when will update the Lab Demo Recording for AZ-500?
https://github.com/MicrosoftLearning/Lab-Demo-Recordings/blob/master/AZ-500.md
Thank you

I do not have a timeline for the lab videos. It may not even be something we do. Videos were provided during a time when Azure access was restricted that has now been resolved.


Performance of Cassandra

Hi,
we made several tests with YCSB comparing mongodb and cassandra in our current setup. At first we wanted to compare just mongodb on red hat enterprise linux 6/7. But also added testing wired tiger and cassandra.
Cassandra is a pretty new technology for us that we are currently testing. In general we had the following settings:
recordcount=6000000
operationcount=100000000
threads=100
fieldlength=250
measurementtype=timeseries
core_workload_insertion_retry_limit=10000

We also tested with a record count of 2.000.000 and 3.000.000. We used workload a, b and f.
All machines there run on identical nodes. We tested virtual servers (like our current infrastructure) and local hard drives on a dedicated machine.
For cassandra we sometimes had timneout during the load phase. That is why we added the "core_workload_insertion_retry_limit=10000" option.
We also used different amount of nodes in our tests. We tested:

a single mongodb node
three mongodb nodes
1 cassandra node
3 cassandra nodes
4 cassandra nodes
5 cassandra nodes

On cassandra nodes we tested replication factor 1 and 2.
In all our tests cassandra was much slower than mongodb. In general we did not expect this, especially if we increase the nodes in cassandra. But in our case it does not seem to be the case. We already added a few general performance tips. But due to our infrastructure had not splitted the commit and data directory to separate disks.
We repeated most of the tests but in the end concentrated on workload a. Cause the performance difference was on every workload.
In the web we found tests with YCSB there cassandra is performing quite good. So in general our question would be: Are we doing something wrong?
Thanks
Regards
Mike

How much slower is "much slower", can you provide a sample of your metrics that shows the performance difference?
I would suggest doing load tests over Cassandra that are much smaller then what you posted here. Small enough that you don't get any hiccups during the load phase. Then incrementally build up to the workload you specified. Knowing how the system performs as the workload scales up can be pretty enlightening.
Also, have you looked into what the machine performance metrics look like during your tests (cpu, memory, etc) This may tell you how hard the vms are working. And whether all machines in your cluster are working the same amount or not.
Are you using the cassandra2-cql client? If so, you can fiddle with the consistency and connection settings detailed here: https://github.com/brianfrankcooper/YCSB/tree/master/cassandra2. Those can have some level of impact.
Since Cassandra is new to you, have you ensured that your cluster is configured properly? Are the nodes talking to each other properly?

We are using the cassandra2-cql client. We have left the consistency level at the default of ONE.
We also installed the cassandra ops center and looked into the "best practices". I think we might not be optimal but have implemented some basic performance tips.
In ops center and in the node tool there seems to be no problem with the connection between the nodes. Everything seems to be running smoothely.
An example of the runtime is like this:

mongodb rhel6 mmap 35850s
mongodb rhel7 mmap 36769s
mongodb rhel7 wired tiger 49831s
cassandra 3 nodes 100367s

So in this case cassandra needed twice the time from the mongodb with wired tiger. On the other tests is was approximately the same.
We used a larger working set so that every db has to use the disk and can not hold everything in memory. It is also running for a longer period so i think it should have enough time to warm up or not?
We already tested smaller working sets but the difference in the performance does not seem to be affected by that.

Take a look at How not to benchmark Cassandra for some tips.
I did my performance testing with 1, 3 and 9 nodes.  We had 1 million records and we tried different replication factors and write durability.  Our operations were read heavy and we took samplings at multiple thread counts from 1 to 1000.
We did not do loads with YCSB as we used our own schema and data values.  (I had to alter YCSB to work with our schema.)
For our results, we looked at throughput values rather than overall time, but I don't mean to suggest that overall time is not a valid metric.  We also looked at latency which confirmed our throughput findings.  We did find cassandra to perform better than mongo in our setup.  Though for development projects, I like mongo for its ease of install and use.
We did our benchmarks in 2014.  While mongo was no slouch in the numbers, I am surprised that your cassandra numbers don't compare so favorably.  Make certain you really are comparing apples to apples... number of nodes, same machine configurations, replication factors, write durability, etc.
Chrisjan

Oh if you're concentrating on load times, then take my performance results with a grain of salt as we were concentrating on read performance.
Chrisjan

We time is the overall run time. So the time it needed to process all 100.000.000 operations in the run phase.
Yes we are also suprised. Especially cause we found benchmarks with YCSB that had a different result. The only thing i do not know is if it was made with cassandra2-cql or the previous one.

I would recommend trying to rule out the client side as the primary bottleneck. You may want to monitor load/CPU usage on the box where you run your client(s) and go from there. One thing that does stick out in your configuration is threads=100. It's probably best to limit it to a more reasonable value (# cores * 4 or so), unless your projected use case anticipates that level of concurrency within a single JVM, funneled through a single DB endpoint (how YCSB drivers are mostly implemented).

Cassandra's DB connection object supports pooled connections and that size can be controlled with the "cassandra.coreconnections" and "cassandra.maxconnections" properties.  You might want to check your values and correlate them to your thread size.

@cmatser: Good point re: connection pool properties. Unfortunately, the client code hardwires those to HostDistance.LOCAL (and I'm not sure if this is the right parameter to use).

@Mike-Petersen

mongodb rhel6 mmap 35850s
mongodb rhel7 mmap 36769s
mongodb rhel7 wired tiger 49831s
cassandra 3 nodes 100367s

Are these times for MongoDB on a 3 node cluster? (looks like Cassandra is on 3 nodes).
I would suggest designing a much smaller test that eliminates a lot of places of potential cause for slowdown to Cassandra:

Single node Cassandra and Mongodb clusters
Single threaded YCSB workloads
Data size that fits in memory for both MongoDB and Cassandra
Operation count that runs for 10 minutes or more

After you have eliminated a lot of moving parts and variables you should get a good baseline for how MongoDB and Cassandra compare. Then build up your benchmark one variable at a time. EX change ONLY the number of nodes in both clusters (leave EVERY other aspect of the benchmark the same). Or change ONLY the number of threads on YCSB.
Make incremental changes and see how the results change for each database.
When you start to scale up the MongoDB and Cassandra clusters make sure you are comparing them with as similar architectures as possible. Things to think about here are:

having the same replication factor in both databases
having the same number of nodes in both databases
having the same resources allocated to the nodes (cpu, memory, etc) These types of things can often be restricted in database configuration
having the same types of machines (VM vs dedicated hardware)

From your first post it is hard to tell if your tests between MongoDB and Cassandra have all of these factors consistent between the two.
@vfunshteyn - for the most part I think that HostDistance.LOCAL is ok in the general case. LOCAL is for same datacenter deployments between client and server. REMOTE would be for cross datacenter.

Thanks for all the tips.
@vfunshteyn: We already monitored the client side and neither memory or cpu are an issue during the load/run phase.
We started with a lower amount of threads, but it was also larger than cores * 4. We thought that we could simulate 100 clients accessing the data with the thread count. We will try a lower value here.
@cmatser: We did not change this setting. What would be a reasonable number?
@kruthar: Yes, every mongodb is on a three node cluster.
We started with a setup with only one node per mongodb/cassandra cluster. Also our workingset was small enough to fit in memory on some tests. But in general it was the same result.
The machines are on the same hardware and have equal amount of cpu and memory. We also used the same amount of nodes.
Additionally we made tests with more nodes for cassandra. The replication factor in cassandra is currently smaller in our tests than the mongodb one.

I can tell you that what I did was I left the coreconnections alone and set maxconnections to the thread count.
We found that performance suffers when more nodes are added at small thread counts.  The difference comes with higher thread counts.  The added nodes are able to handle a heavier load of simultaneous client requests; so throughput increases.
Perhaps mongo performance has gotten better since I tested it.  Unfortunately, I don't have access to the testbed I used before.
Good luck.

 I was looking at the MongoDB client readme and their example connection string has w=0, unacknowledged writes which make inserts very fast (but are likely not representative of real applications).

@cmatser: We now also tried i higher amount of connections (200 and 1000). It does not seem to have any effect.
@kruthar: You are right. We had w=0 in the load phase. Without it (or w=1) the load phase took longer. But cassandra still is much slower during the load phase (factor ~1.7).

Every test so far does not seem to change a lot.
We experienced something strange by looking on the open connections on the cassandra machines. If we did not set the min. connections in cassandra it seems that it only uses one connection per node. We increased the min. amount and as expected a higher amount of connections per host is opened. If it is really used we do not know. It was only a single test there we investigated it (did not look onto that before), so it is not too sure to be true for every run.
Unfortunately we do not have more time to investigate this a lot further.

I am facing the same issue as @Mike-Petersen. The YCSB MongoDB is around 6 times faster than the Cassandra2-cql implementation. MongoDB achieves about 3000 ops/s while the cassandra counterpart is around 500. However, when I run cassandra-stress, I get around 6000 ops/s.

@mhsu0020 - Can you be specific about what exactly you ran for YCSB and for cassandra-stress?

@risdenk I'm comparing the YCSB load phase to cassandra-stress's write option. For YCSB I ran the load phase of workload A with recordcount 100k and operationcount 100k. For cassandra-stress I ran ./cassandra-stress write n=100000

@mhsu0020 which version of MongoDB and Cassandra?

@risdenk Datastax Distribution V3.3.0 and MongoDB 3.2

the difference might be related to the fact the cassandra-stress and YCSB schemas are different?

@nitsanw Sorry to dig up an old post. It should be possible to stress test any schema.

anyone still looking at this for the Cassandra side?

closing as stale.


Navigation is not done when showing Alert in the Init() method

Hello.
When I try to show an alert from the PageModel's Init() method (if there is any exception I want to show any UI alert), not only the navigation to the page is not done, but the navigation is "broken" for the all the application (so I can't do push to anywhere).
    public override void Init(object initData)
    {
        base.Init(initData);
        ...
        UserDialogs.Instance.Alert("Message", "Message content", "Close");
    }

I have already tried without the UserDialogs plugin, and the error persists:
    ((MasterPage)Application.Current.MainPage).DisplayAlert("Message", "Message content", "Close");

Is this a bug? Any workaround?
Waiting for your replies. Thanks.

any solution?

Init method is only used for setup, not for showing messages.
It would be better to use the appearing events on the PageModel.

Ok, when I use the ViewIsAppearing() method it doesn't happen this.
@rid00z in my app, each time I navigate (doing push) to some pages, the PageModel needs to do some calls to server side (and will show some alert if there is some exception). Must I use ViewIsAppearing instead of Init method?

up

Yes appearing events are better but you can also set of a background task in the init method.

Yes, the problem is where in the Init method is there any exception and, because of this exception, I want to show an alert. The navigation is broken and you cannot do any navigation.
For example, in the Init method I do something like...
    public override void Init(object initData)
    {
        base.Init(initData);

        try
        {
            CallToApi();
        }
        catch (Exception ex)
        {
            // Show a modal with some error message.
        }
    }

I have the feeling that I am doing something wrong...
Thanks.

any idea guys? :-)

Yeah, why you not call the api on Event? And create an activity indicator in init.

Task.Factory.StartNew(() => DownloadDataFromInternet(), TaskCreationOptions.LongRunning);

I'm had similar issues with Init().
Since this get's called before the view model is set as the BindingContext on the page, then you can't perform any UI activities here.
I've had to resort to saving the parameter as a member variable, then doing any of my real work in the ViewIsAppearing()


Hidden fields contained in FormField are not rendered by form.hidden_tag()

When a nested form contains HiddenFields, the hidden_tag() method does not render them.

Could you describe it in this way:

what are you doing? (show me the code)
what do you expect?
what do you really get?

I put an example here:
https://gist.github.com/jpschaumloeffel/69269c2dbba6fbc36a39
form.hidden_tag() renders as:

<input id="csrf_token" name="csrf_token" type="hidden" value="1432194888##708b97d2ace3555393ae1e81ff85b7e9d5b699e2">

When you add {{ subform.hidden_tag() }} to the inner loop in the template, it does render the hidden fields of those forms, and that's what I do now, too.
I would have expected it to include all the hidden fields (innerforms-0-csrf_token, innerforms-1-csrf_token, innerforms-0-hidden, innerforms-1-hidden) within the output of form.hidden_tag().

Let's say you write some Jinja helper to render a form.  It knows to call .hidden_tag(), and also knows how to render FormFields.  So now you've just made automation harder, because each form will render all the hidden fields on it, so you get a bunch of redundant tags.
Explicit is better than implicit: render exactly what you mean to render, don't leave it up to magic recursive discovery.  With that said, it's also pretty trivial to write a subclass of Form that recurses down all nested forms to get all the hidden fields.


Update and complete README

Pull Request Checklist
Is this in reference to an existing issue?
No
General

[ ] Update Changelog following the conventions laid out here

[x] Update README with any necessary configuration snippets

[ ] Binstubs are created if needed

[ ] RuboCop passes

[ ] Existing tests pass

Purpose
Updated to conform with standardization guidelines (https://github.com/sensu-plugins/community/pull/134)
Known Compatibility Issues
None

Merging despite the build status, as the failure appears to be outside the scope of this change.


methods are not shown in class diagram

while trying to add new class methods, they would not pop up in the class diagrams.

@KarimImbeau  You have to select: options -> Show View -> methods to see them. This is only an issue if you did that and the methods are still not showing. In which case, you should post a screen shot here, as well as the Umple code you used.


Add Ambassador to list of ingress options

Ambassador is an open source Kubernetes-native API gateway built on the Envoy Proxy that adds ingress and API gateway functionality via Service annotations. I would like to add this to the list of options in the ingress documentation please.

@danielbryantuk Can you please address the merge conflict? I think Ambassador may already have been added.

Many thanks for the nudge @zparnold -- it looks like the PR adding Ambassador from @alexgervais that was just merged beat me to it (thanks Alex!) :-) https://github.com/kubernetes/website/pull/12348
I'm happy to close this PR

/close


Rename PullApprove Configuration

Rename the Pull Approve configuration from /.pullapprove to .pullapprove.yml

!force code review

Testing file changes were not found.
Paging @ramsey-medology to review the back-end work in this pull request!
Paging @Chekote to review the testing work in this pull request!
I couldn't recognize who these files were relevant to:
.pullapprove.yml

Forced code review because I broke bugman just before creating this PR.


Update some info and add Vinyl Music Player

Conversations has dropped support for OTR, there is Conversations Legacy which still supports it

Awesome, thanks!


[Question] How to send 2 events one after the other ?

Hi everyone,
I customized the webchat to send 2 events to my bot.
The first one is for the RGPD, we are reminding to the user which information is saved and for what purpose. The second one is a "greeting" message (the bot say "Hi ...").
So I create a store :
createStore({}, function (_ref) {
        var dispatch = _ref.dispatch;
        return function (next) {
            return function (action) {
                 if (action.type === 'DIRECT_LINE/CONNECT_FULFILLED') {
                    dispatch({
                        type: 'WEB_CHAT/SEND_EVENT',
                        payload: {
                            name: 'rgpd',
                            type: 'event'
                        }
                    });

                    dispatch({
                            type: 'WEB_CHAT/SEND_EVENT',
                            payload: {
                                name: 'greeting',
                                type: 'event'
                            }
                        });
                 }
            }
        }
}

But is this case, both events are sent almost at the same time and sometimes, directline display the greetings message first.
So how can I send the greeting event always after the rgpd event ?
I tried using a simple window.setTimeout, but, it's not a good solution as I don't know how much time will directline take to handle the first call and the result is the same as before.
Any ideas ?
Thanks

'How to' questions such as this one are better suited for Stack Overflow. Please feel free to post other questions you have about developing your own features over there so the community at large may help out. If you need help with a Web Chat implementation, you can post a question to the Web Chat tag. Thank you!


az container create fail

Hello,
I have a ci/cd on azure devops which deploy artifact (Image) to azure container instance.From yesterday evening it started fail. In CD pipeline first of all i delete container group and then create new one.
 Failed in both cases.
azure-cli                         2.0.60 *

acr                                2.2.2 *
acs                               2.3.19 *
advisor                            2.0.0
ams                                0.4.2 *
appservice                        0.2.15 *
backup                             1.2.1 *
batch                              4.0.0
batchai                            0.4.7 *
billing                            0.2.0 *
botservice                         0.1.8 *
cdn                                0.2.0 *
cloud                              2.1.0 *
cognitiveservices                  0.2.4 *
command-modules-nspkg               2.0.2
configure                         2.0.20
consumption                        0.4.2
container                         0.3.15
core                              2.0.60 *
cosmosdb                           0.2.8 *
dla                                0.2.4 *
dls                                0.1.8
dms                                0.1.2 *
eventgrid                          0.2.1 *
eventhubs                          0.3.4
extension                          0.2.3 *
feedback                           2.1.4
find                               0.3.0 *
hdinsight                          0.3.2
interactive                        0.4.1 *
iot                                0.3.6 *
iotcentral                         0.1.6
keyvault                          2.2.12 *
kusto                              0.2.0 *
lab                                0.1.5 *
maps                               0.3.3 *
monitor                           0.2.10 *
network                            2.3.4 *
nspkg                              3.0.3
policyinsights                     0.1.1 *
profile                            2.1.3 *
rdbms                              0.3.8 *
redis                              0.4.1 *
relay                              0.1.3 *
reservations                       0.4.1 *
resource                          2.1.11 *
role                               2.4.2 *
search                             0.1.1
security                           0.1.0 *
servicebus                         0.3.3 *
servicefabric                     0.1.14 *
signalr                            1.0.0
sql                                2.1.9 *
sqlvm                              0.1.0 *
storage                            2.3.1 *
telemetry                          1.0.1 *
vm                                2.2.16 *

Python location '/opt/az/bin/python3'

Python (Linux) 3.6.5 (default, Mar  7 2019, 19:46:51)
[GCC 7.3.0]

Legal docs and information: aka.ms/AzureCliLegal

You have 43 updates available. Consider updating your CLI installation.

Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)
Additional context
output from azure devops
2019-03-28T07:43:23.7109131Z [command]/usr/local/bin/az account set --subscription 9#############
2019-03-28T07:43:23.8930147Z [command]/bin/bash /vsts/agent/_work/_temp/azureclitaskscript1553759000817.sh
2019-03-28T07:46:28.3035062Z ERROR: Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/9#############/resourceGroups/my-rg/providers/Microsoft.ContainerInstance/containerGroups/ts-my-container-stage?api-version=2018-10-01 (Caused by ResponseError('too many 503 error responses',))
2019-03-28T07:46:28.3037639Z Traceback (most recent call last):
2019-03-28T07:46:28.3039834Z   File "/usr/local/lib/python2.7/dist-packages/knack/cli.py", line 206, in invoke
2019-03-28T07:46:28.3040746Z     cmd_result = self.invocation.execute(args)
2019-03-28T07:46:28.3042614Z   File "/usr/local/lib/python2.7/dist-packages/azure/cli/core/commands/__init__.py", line 328, in execute
2019-03-28T07:46:28.3043411Z     raise ex
2019-03-28T07:46:28.3046796Z ClientRequestError: Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/9#############/resourceGroups/my-rg/providers/Microsoft.ContainerInstance/containerGroups/ts-my-container-stage?api-version=2018-10-01 (Caused by ResponseError('too many 503 error responses',))
2019-03-28T07:46:28.3716607Z [command]/usr/local/bin/az account clear
2019-03-28T07:46:28.9482659Z ##[error]Script failed with error: Error: /bin/bash failed with return code: 1
2019-03-28T07:46:28.9557582Z ##[section]Finishing: Create container instance

.
Output from local machine:
Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/#################-a434-d6aece020ebc/resourceGroups/ts-my-rg/providers/Microsoft.ContainerInstance/containerGroups/ts-my-dev?api-version=2018-10-01 (Caused by ResponseError('too many 503 error responses',))
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 731, in urlopen
    body_pos=body_pos, **response_kw)
  File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 731, in urlopen
    body_pos=body_pos, **response_kw)
  File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 731, in urlopen
    body_pos=body_pos, **response_kw)
  File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 711, in urlopen
    retries = retries.increment(method, url, response=response, _pool=self)
  File "/opt/az/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/#################-a434-d6aece020ebc/resourceGroups/ts-my-rg/providers/Microsoft.ContainerInstance/containerGroups/ts-my-dev?api-version=2018-10-01 (Caused by ResponseError('too many 503 error responses',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/msrest/universal_http/requests.py", line 137, in send
    **kwargs)
  File "/opt/az/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/az/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/requests/adapters.py", line 507, in send
    raise RetryError(e, request=request)
requests.exceptions.RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/#################-a434-d6aece020ebc/resourceGroups/ts-my-rg/providers/Microsoft.ContainerInstance/containerGroups/ts-my-dev?api-version=2018-10-01 (Caused by ResponseError('too many 503 error responses',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 386, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 379, in _run_job
    six.reraise(*sys.exc_info())
  File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
    raise value
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 356, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 171, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 452, in default_command_handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/container/custom.py", line 221, in create_container
    name, cgroup)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/util.py", line 325, in sdk_no_wait
    return func(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/mgmt/containerinstance/operations/container_groups_operations.py", line 337, in create_or_update
    **operation_config
  File "/opt/az/lib/python3.6/site-packages/azure/mgmt/containerinstance/operations/container_groups_operations.py", line 284, in _create_or_update_initial
    response = self._client.send(request, stream=False, **operation_config)
  File "/opt/az/lib/python3.6/site-packages/msrest/service_client.py", line 336, in send
    pipeline_response = self.config.pipeline.run(request, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/msrest/pipeline/__init__.py", line 197, in run
    return first_node.send(pipeline_request, **kwargs)  # type: ignore
  File "/opt/az/lib/python3.6/site-packages/msrest/pipeline/__init__.py", line 150, in send
    response = self.next.send(request, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/msrest/pipeline/requests.py", line 72, in send
    return self.next.send(request, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/msrest/pipeline/requests.py", line 137, in send
    return self.next.send(request, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/msrest/pipeline/__init__.py", line 150, in send
    response = self.next.send(request, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/msrest/pipeline/requests.py", line 193, in send
    self.driver.send(request.http_request, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/msrest/universal_http/requests.py", line 328, in send
    return super(RequestsHTTPSender, self).send(request, **requests_kwargs)
  File "/opt/az/lib/python3.6/site-packages/msrest/universal_http/requests.py", line 140, in send
    raise_with_traceback(ClientRequestError, msg, err)
  File "/opt/az/lib/python3.6/site-packages/msrest/exceptions.py", line 51, in raise_with_traceback
    raise error.with_traceback(exc_traceback)
  File "/opt/az/lib/python3.6/site-packages/msrest/universal_http/requests.py", line 137, in send
    **kwargs)
  File "/opt/az/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/az/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/requests/adapters.py", line 507, in send
    raise RetryError(e, request=request)
msrest.exceptions.ClientRequestError: Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/#################-a434-d6aece020ebc/resourceGroups/ts-my-rg/providers/Microsoft.ContainerInstance/containerGroups/ts-my-dev?api-version=2018-10-01 (Caused by ResponseError('too many 503 error responses',))

Also i found message in activity log
    "properties": {
        "statusCode": "ServiceUnavailable",
        "serviceRequestId": "westeurope:a351b0c6-6f1d-4725-8e15-3d4344e3e2c4",
        "statusMessage": "{\"error\":{\"code\":\"ServerTimeout\",\"message\":\"The request timed out. The tracking activity id is 'a351b0c6-6f1d-4725-8e15-3d4344e3e2c4', the correlation id is '298003c2-9066-4967-81ce-70a16d287139'.\"}}"
    },

Seems to be the issue was due azure failed.
They reported it on the status page.


Merge pull request #2 from conda-forge/main

?

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

I cant seem to update the conda package from pypi in the way I used before. What am I doing wrong?


Expose 6to5/polyfill through 6to5ify/polyfill.

For convenience. In recent projects I've been installing both 6to5ify and 6to5 by default, but I often find myself only using 6to5 for 6to5/polyfill. Since 6to5ify includes a copy of 6to5-core, 6to5ify can expose 6to5-core's polyfill as its own to avoid having a redundant installation of 6to5 laying around doing little.

Rad.

Thanks! Released as of 4.1.0

Better API for this might be require("6to5ify").core.polyfill(). In the next major I'll expose core on all the plugins.

In the next major I'll expose core on all the plugins.

Good idea, then api is module loader independent. Does it need to namespace under core?

@timoxley Well yeah, otherwise we'd have to mutate the 6to5-core export directly with the plugin API which is icky and that wont work if the plugin uses a function.


feat(transformer/class-properties): transform private methods

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#8099  👈 (View in Graphite)
#8098
main

How to use the Graphite Merge Queue
Add either label to this PR to merge it via the merge queue:

0-merge - adds this PR to the back of the merge queue
hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.


Iterate over all files in toml-test/tests, including sub dirs

Tests in toml-test have been moved into subdirectories (https://github.com/BurntSushi/toml-test/pull/80). Current unit tests (test_valid_tests, test_invalid_tests) are unable to pick up toml files in subdirectories.
This PR change will allow the unit tests to traverse the whole directory tree (toml-test/tests/valid/ and toml-test/tests/invalid/), including sub directories.

@uiri

It should read the tests/files-toml-1.0.0 file and run only those tests, otherwise it will also run TOML 1.1 test files.
Or alternatively use the toml-test binary, which seems fast enough:
% time (toml-test ./tests/decoding_test.py | tail -n3)
toml-test [./tests/decoding_test.py]: using embedded tests
  valid tests: 132 passed, 25 failed
invalid tests: 230 passed, 53 failed
( toml-test ./tests/decoding_test.py | tail -n3; )  22.02s user 3.80s system 769% cpu 3.354 total

Is there a list for TOML 0.5.0 tests until we get 1.0 support :) ?
I think it is fine for now for it to run all the tests.

Is there a list for TOML 0.5.0 tests until we get 1.0 support :) ?

Unfortunately when I updated toml-test to support TOML 1.0 a few years ago I didn't keep track of which tests are for TOML 1.0 and which are for <=0.5. I don't mind adding this as such, but figuring out which test is for which version is some work, and it's not something that's come up that often.
But if you have a list of tests that are for TOML 0.5 only then I'll be happy to add a toml 0.5 flag. It's not a lot of work except for figuring out which tests.

I think it is fine for now for it to run all the tests.

The problem is some tests are directly contradictory; for example for TOML 1.0 it will test that newlines and trailing commas re forbidden, as they're explicitly disallowed. But for TOML 1.1 it will test they're allowed, as the restrictions surrounding that are not relaxed.