Add pronouns feature

Please check if the PR fulfills these requirements

[X] You've followed the contributing guidelines
[X] You've adhered to the code of conduct

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

[ ] Bug Fix
[X] New Feature
[ ] Documentation Update
[ ] Other

If bug fixes or new features

What is the current behavior? (You can also link to an open issue here)

Currently there is no pronouns field - this PR addresses and closes #26

What is the new behavior (if this is a feature change)?

A few changes:

Adds a pronouns input to the index.html form.
On submit, the pronouns field is concatenated to the username field with -.

The new value is assigned to username and passed as the URL parameter, same as prior to this change.

The pronouns now display in the video view, but are removed from the chat field for length.

This is done with a .split against the - added in the concatenation.

Additional change:

I added a word-break property to the chat messages to prevent overflow of long messages.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

As far as I know, nothing should be breaking in this change - no variable names were changed, and users joining a room with a version pre-merge will still see the pronouns (as I append them to the existing username field).

Other information:

Screenshots before change:
--Sign-in page:

--Video view:

--Message view:

Screenshots after change:
--Sign-in page:

--Video view:

--Message view:

Thanks for this, and what an awesome feature. For the sake of the scope of this project this is perfectly implemented, but in the 'real' just remember that the hyphen (-) is a valid character for names in many countries (like a double-barrelled name) and your implementation would remove anything after the first hyphen.


constant rebuilds when using 'adonis serve --dev'

Hi,
First of all great work on this package. Although it was a little complicated to get started.
The reason: Constant rebuilding  when using adonis serve --dev.
The cause: Adonis serve --dev uses nodemon and ignores following patterns by default:
[
'/tmp/*',
'/resources/*',
 '/public/*'
]

It doesn't ignore the next/* pattern
Workarounds:

running adonis serve --dev -i 'next/*'
changing NEXT_FOLDER to 'resources/next'
run npm run dev but then the adonis code isn't going to reload when making changes.

Possible solution might be to put this in the documentation or moving the default next folder to something like /resources/next.

Hi @samueljoos
It's not a good idea to put next in subfolder resources/next, it's something related I think to nextjs
possible solution I did used before is putting next in /resources/

Hi @omarkhatibco
Seems messy to put the next.js files straight into the resources folder. This would conflict much easier with the adonis resources structure. Let's say that a developer puts react components in a 'resources/views' folder which is actually reserved for the adonis edge templates.
I am currently working with the 'resources/next' solution and I didn't notice any downsides to it for now. Can you maybe elaborate on this? Why is it actually a bad idea?
I think the ideal solution would be to keep the next.js files in the 'next' folder and have a way to configure the adonis-cli with something like an .adonisrc where we can add the ignore rule for that folder. But I don't think it's possible at this moment.

Hi @samueljoos
Seems Adonis cli has a new argument to ignore a folder.
try this.
adonis serve --dev --ignore=next/*


Please add <IP_ADDRESS>:443 to the list

Record from log C:\Program Files\Microsoft Application Insights\Status Monitor\diagnostics.log from restricted environment where ports are open only according to this list.
[2018-02-28T18:03:54.470+03:00][pid: 5508]: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP_ADDRESS>:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at NuGet.RequestHelper.GetResponse()
at NuGet.HttpClient.DownloadData(Stream targetStream)
at NuGet.PackageDownloader.DownloadPackage(IHttpClient downloadClient, IPackageName package, Stream targetStream)
at NuGet.MachineCache.<>c__DisplayClass32.b__31()
at NuGet.MachineCache.TryAct(Func1 action, String path)    at NuGet.DataServicePackage.EnsurePackage(IPackageCacheRepository cacheRepository)    at NuGet.DataServicePackage.get_FrameworkAssemblies()    at NuGet.PackageExtensions.HasProjectContent(IPackage package)    at NuGet.PackageWalker.GetPackageInfo(IPackage package)    at NuGet.PackageWalker.ProcessPackageTarget(IPackage package)    at NuGet.PackageWalker.Walk(IPackage package)    at NuGet.InstallWalker.ResolveOperations(IPackage package)    at NuGet.PackageManager.Execute(IPackage package, IPackageOperationResolver resolver)    at Microsoft.ApplicationInsights.NugetExtension.FrameworkSpecificPackageManager.InstallPackage(IPackage package, IList1 frameworkNames, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
at Microsoft.ApplicationInsights.NugetExtension.PackageManagerExtension.DownloadPackage(String packageName, String source, Boolean allowPrerelease, String outputDirectory, IList1 frameworkNames, String version, Action1 progressAction)
at Microsoft.Diagnostics.Agent.StatusMonitor.Upgrade.PackageManager.PackageManagerImpl.DownloadPackage(String packageName, String packageVersion, String targetDirectory, Boolean includeDirectory, Action`1 progressAction)

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

ID: 3942b937-b212-3ceb-d356-450b7f598f68
Version Independent ID: 8b015b42-cf02-3942-3cc3-6e0f977d191a
Content
Content Source
Service: application-insights

@dronkoff Thanks for the feedback! I have assigned the issue to the content author to take a look and update as appropriate.

#in-process

@dronkoff as discussed over e-mail this IP address corresponds to a regional address of api.nuget.org. Since Microsoft doesn't own the IP we can't add it to the doc as it may change over time. We have, however, added api.nuget.org to the doc to hopefully help mitigate this issue in the future. Thanks again for bringing this to our attention.

#please-close


Support SPM compatible tags

Currently SPM isn't supported as the tags are prefixed with v.
Please could you support SPM compatible tags by changing your tag from v0.5 to 0.5?

Thanks for alerting me to this problem. I think I've fixed it now — can you confirm?

It works great now and thank you for the quick fix :)


Remove enmeshed-prod as default backbone

Readiness checklist

[ ] I added/updated tests.
[x] I ensured that the PR title is good enough for the changelog.
[x] I labeled the PR.

Description

should be done before -> defaults here are dangerous
prod will be shutdown soon

@britsta this is CORS related and has nothing to do with prod.enmeshed.eu


Timer and Initial value in StreamSignal

Adding a timer utils to works with TimeEvent.
Updated StreamSignal with option of T? initial to avoid emit a first
null value of loading status.
Please look at timer.dart for an exemple.
Help required to see if we can do better than null-check:
final on = timer();
if (on != null) {
 ...
}

Dev branch required :)

Moved to dev branch.


Refactor sub modules

Reference Issues/PRs

Partial implementation of skbase design proposal.
What does this implement/fix? Explain your changes.

Refactors skbase functionality into skbase.base, skbase.lookup, skbase.validate. Presence of skbase.testing remains unchanged.

@fkiraly note that I've removed the comment from lgtm-com because we are using CodeQL now (that is name of lgtm functionality that was ported into Github). We need to disable lgtm-com app integration.

@fkiraly I believe this has refactored everything into the different modules as noted in the design proposal in #76. Should be ready for your review.

Makes much sense.
I suppose this is the sktime equivalent of sorting your garden gnome collection into different cabinets and then arranging them in regular geometric patterns. We can all relate.

I like that analogy! And yep, that's the plan, get everything in an order so it is easier to add the rest of the functionality from here.


HandshakeException on Linux

First of all, thank you very much for your open-source project.
I am encountering a problem now. I packaged the chrome-devtools-java-client into a jar file and called the Main method of PrintToPdf. It works on Windows, but on Ubuntu or Centos, a HandshakeException occurs. I can't find the reason. Has anyone encountered this issue?

It's fix in Support Chrome 111+ #85


bundle exec appraisal rake fails with "`initialize': wrong number of arguments"

I’m trying to run the the tests from this project locally. I’m running through the setup steps at https://github.com/github/view_component/blob/main/docs/CONTRIBUTING.md#submitting-a-pull-request. I had to run bundle install before bundle exec appraisal install but anyway.
The issue I’m hitting is with bundle exec appraisal rake:
$ bundle exec appraisal rake
>> BUNDLE_GEMFILE=/Users/sam/code/other/view_component/gemfiles/rails_5.2.gemfile bundle exec rake
/Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/activesupport-5.2.7/lib/active_support/core_ext/hash/except.rb:12: warning: method redefined; discarding old except
/Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-5.2.7/lib/action_dispatch/middleware/static.rb:111:in `initialize': wrong number of arguments (given 3, expected 2) (ArgumentError)

Fuller stack trace
$ bundle exec appraisal rake
>> BUNDLE_GEMFILE=/Users/sam/code/other/view_component/gemfiles/rails_5.2.gemfile bundle exec rake
/Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/activesupport-5.2.7/lib/active_support/core_ext/hash/except.rb:12: warning: method redefined; discarding old except
/Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-5.2.7/lib/action_dispatch/middleware/static.rb:111:in `initialize': wrong number of arguments (given 3, expected 2) (ArgumentError)
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-5.2.7/lib/action_dispatch/middleware/stack.rb:37:in `new'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-5.2.7/lib/action_dispatch/middleware/stack.rb:37:in `build'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-5.2.7/lib/action_dispatch/middleware/stack.rb:101:in `block in build'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-5.2.7/lib/action_dispatch/middleware/stack.rb:101:in `each'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-5.2.7/lib/action_dispatch/middleware/stack.rb:101:in `inject'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/actionpack-5.2.7/lib/action_dispatch/middleware/stack.rb:101:in `build'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/engine.rb:510:in `block in app'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/engine.rb:506:in `synchronize'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/engine.rb:506:in `app'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/application/finisher.rb:47:in `block in <module:Finisher>'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/initializable.rb:32:in `instance_exec'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/initializable.rb:32:in `run'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/initializable.rb:61:in `block in run_initializers'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tsort.rb:228:in `block in tsort_each'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tsort.rb:431:in `each_strongly_connected_component_from'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tsort.rb:349:in `block in each_strongly_connected_component'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tsort.rb:347:in `each'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tsort.rb:347:in `call'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tsort.rb:347:in `each_strongly_connected_component'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tsort.rb:226:in `tsort_each'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tsort.rb:205:in `tsort_each'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/initializable.rb:60:in `run_initializers'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/application.rb:361:in `initialize!'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/railtie.rb:190:in `public_send'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/railties-5.2.7/lib/rails/railtie.rb:190:in `method_missing'
	from /Users/sam/code/other/view_component/test/sandbox/config/environment.rb:7:in `<top (required)>'
	from /Users/sam/code/other/view_component/test/test_helper.rb:25:in `require'
	from /Users/sam/code/other/view_component/test/test_helper.rb:25:in `<top (required)>'
	from /Users/sam/code/other/view_component/test/generators/component_generator_test.rb:3:in `require'
	from /Users/sam/code/other/view_component/test/generators/component_generator_test.rb:3:in `<top (required)>'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `require'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
	from /Users/sam/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
rake aborted!
Command failed with status (1)
/Users/sam/.rbenv/versions/3.0.3/bin/bundle:23:in `load'
/Users/sam/.rbenv/versions/3.0.3/bin/bundle:23:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)

I’m using rbenv for my ruby versioning and have tried with both Ruby 3.0.1 and 3.0.3. I've also tried this in a Codespace.
@spone, @joelhawksley suggested I tag you as you added Appraisal. Any ideas? Thanks in advance.

Thanks @sampart :) Turns out Rails 5.2 doesn't run so well on Ruby 3. Should be fixed now.


Deployment

Deployment
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
Acceptance Criteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser

Deployed:
https://reallyawesomename.github.io/prework-study-guide/


chore(package.json): update coverage script to run on windows

relates to #465
This PR makes coverage script run on windows also. Still tslint is not available at this moment, looking for possible solutions.

Merged with fed1ad9.


math dependancy

apparently "copy-paste is better (than dependancies)" ...
applies only to when php <= 7.0,
why don't we include this?
https://github.com/bshaffer/oauth2-server-php/blob/develop/src/OAuth2/ResponseType/AccessToken.php#L115 or https://github.com/zendframework/zend-math/blob/master/src/Rand.php#L42
to remove dependency to zend-math?
note: we should ad suggestions to ext-openssl and ext-crypt
note: I don't like '+' chars very much as you have to urlencode or send as 'multipart/form-data'

We don't need that. PHP7 has random_bytes (http://php.net/random_bytes).

we will depend on php7 for sure? not waiting on what apigility 2.0 will depend on? I saw (somewhere you asked mop about this)

I will ask him tonight, but I'd honestly like to be PHP7+ only :).


added obrevenge and archlabs ascii art for compatiblity for both new distros

Description
This will allow for compatibility for OBRevenge OS and ARCHlabs, both new Arch based distros.
Features
Issues
TODO

Remove all leading and trailing whitespace.

You need to also add the distros to get_distro_colors().

The archlabs art is also missing ${c1} and any other colors it needs.

I have made commits with the needed fixes, including removing whitespace, adding ${c1} to archlabs, and adding both to get_disro_colors().

Thanks for the PR :+1:.
Sorry for the delay. :~


Fix Norwegian country code (false -> NO)

@rposborne Should I also regenerate countries.json with update_cache and submit it?


Reuse HTTP client for download

The implementation of the download method for the Artifactory registry creates a new HTTP client in each call. To take advantage of connection pooling, it should reuse the client instead.
https://github.com/helsing-ai/buffrs/blob/ef3e64fa453fcd4fa04f33a977b10ca6ef190341/src/registry/artifactory.rs#L91

What if use something like a singleton? I.e. I can implement a struct that will have a one-field response. The initial state of this field will be null (None), after the first call of download it will establish a connection and set response to the value of reqwest::Client::new(), after the second call of download function I can use the response value.
What do you think?

What if use something like a singleton? I.e. I can implement a struct that will have a one-field response. The initial state of this field will be null (None), after the first call of download it will establish a connection and set response to the value of reqwest::Client::new(), after the second call of download function I can use the response value. What do you think?

To be clearer, this issue is concerned with reusing the client to avoid establishing a brand new connection with each request. I expect in practice responses tend not to repeat since each download will hit a different URL for a different dependency.

What if use something like a singleton? I.e. I can implement a struct that will have a one-field response. The initial state of this field will be null (None), after the first call of download it will establish a connection and set response to the value of reqwest::Client::new(), after the second call of download function I can use the response value. What do you think?

To be clearer, this issue is concerned with reusing the client to avoid establishing a brand new connection with each request. I expect in practice responses tend not to repeat since each download will hit a different URL for a different dependency.

Thank you for clarification. I am new to Rust, it's look like this issue is to difficult for me at this point

In the main branch I see that the client is already a part of the Artifactory struct.
Is this still relevant?

Partially, though less so. A new client is still created for each dependency explored when constructing the dependency graph as part of the install() command.
I had a PR that solved this as part of moving the responsibility of instancing clients to a central RegistryProvider that would lazily create a single client as necessary for each registry URI, but I abandoned that PR because it assumed we'd want co-existing Registry implementations, which was not true. That said, there is nothing intrinsically wrong with that design, it's just that instead of trait objects it would be better off using generics. Only reason I haven't pushed that change forward is because this is not a pressing optimisation at the moment. So if you feel like contributing it, go ahead, I'd be happy to review.


[Feature Request] Support Ansible 2.4 Multiple Vault Passwords feature

Since Ansible 2.4, multiple vault files encrypted with different vault passwords can be used within the same playbook. In order to decrypt these vaults inside the playbook, something similar to the --ask-vault-pass option of the ansible-playbook command is used.
With Ansible 2.4 the --vault-id option is introduced. Using this option you can pass the vault password or ask it to be prompted during the playbooks' execution, for each vault file.
For instance, If we have a playbook, which includes two encrypted vault files, in order to provide the passwords for the vaults, we would use the following command
ansible-playbook include_vault.yml --vault-id testid1@prompt --vault-id testid2@prompt
Using the keyword prompt, we define that the password will be asked during the execution, we will see the following in the console:
Vault password (testid1):
Vault password (testid2):

We can also choose to provide the file which contains the vault password, in this case we use the testid1@vault-password-file-path expression.
It would be great if the feature of adding multiple vault-ids with the respective passwords retrieved from Rundeck Key Storage, was added also in the plugin.

I would also find this very useful

We also would love to see this feature in the ansible plugin


Google chrome crash when upload more than 19,121kb file

When xlxs.read 6lakhs record file i.e. 19,121kb file chrome crashes
example: when XLSX.read(bytes, { 'type': 'array' }) line start execution after some seconds chrome crashed in angular 8
my code:-
reader.onload = function(e: any) {
const bytes = new Uint8Array(e.target.result);
const workbook = XLSX.read(bytes, { 'type': 'array' });
const sheet_name_list = workbook.SheetNames;
self.fileResponse = XLSX.utils.sheet_to_json(workbook.Sheets[sheet_name_list['0']], { 'header': 1 });
};
reader.onerror = function(e: any) {
self.showLoader = false;
};
reader.onabort = function(e: any) {
self.showLoader = false;
};
reader.readAsArrayBuffer(uploadedFile);

Did you managed to resolve this issue? I'm having the same problem with a 16,371 xlsx file.

Please share the files in question (send to<EMAIL_ADDRESS>and we can reopen the issue.


Markdown links and images are getting href and src attributes stripped

Greetings. I've been searching through the GitHub Issues (open and closed) to see if anyone is experiencing a problem that I am having with a new containerized deployment:
In findings, I am totally unable to use the markdown for links or images. The respective href and src attributes are completely removed from the anchor and image tags.
I was following this through the different |markdown_render and bleach code and it seems like src and href should not be stripped. And yet when I inspect the elements in the DOM I simply have, for example:
PortSwigger

This is using the precise format the the link and image insertion icons place into the textarea while editing a finding.

https://github.com/DefectDojo/django-DefectDojo/issues/6761

Duplicate of #6761


341 add time argument to pause and hold add wait instruction

@nneskildsf Note: This PR has a breaking change in the Uod execution function signature. Execution functions must now have this signature:
def reset(cmd: UodCommand, **kvargs) -> None:


Build issues in dev

I am still trying to debug this. Here what I have so far...
The error :
Module not found: Error: Can't resolve 'env'

The .js file seems to try to import an unknown env module. I have found a similar error in this issue in the wasm-bindgen repo https://github.com/rustwasm/wasm-bindgen/issues/2317
We haven't add any new library so it is unclear where it would be come from beside from a update in a dependency as we don't commit the Cargo.lock file. It was actually working locally for me when I had the cargo.lock file in the repo. I deleted to try reproduce the error seen in the CI. I have since not have been able to compile correctly the lib.

I am still trying to debug this. Here what I have so far...
The error :
Module not found: Error: Can't resolve 'env'

The .js file seems to try to import an unknown env module. I have found a similar error in this issue in the wasm-bindgen repo https://github.com/rustwasm/wasm-bindgen/issues/2317
We haven't add any new library so it is unclear where it would be come from beside from a update in a dependency as we don't commit the Cargo.lock file. It was actually working locally for me when I had the cargo.lock file in the repo. I deleted to try reproduce the error seen in the CI. I have since not have been able to compile correctly the lib.

This is fixed now.

This is fixed now.


WithConnectionValidator Cannot receive connection request

Hi,
At the first connection, everything was all right.
but after mqtt broker restart,
WithConnectionValidator Cannot receive connection request
tcp：

code：

When the client is unchanged, the reconnection request of the client can be received by using Mosca

Problem solved，thank you

Hi, thank you for sharing this issue.
Do you have some more details? I must say I don't understand the issue.
Is the connection still open after the exception (which you commented out)?
Best regards
Christian

Is the connection still open after the exception (which you commented out)?
yes.

Most of the client communication is OK (including mqtt-spy), only my client can not really disconnect after 【throw new MqttProtocolViolationExcepiton】. My client is a RCU host.

In my case,
【throw new MqttProtocolViolationExcepiton】cannot close client connections，
【clientAdapter.DisconnectAsync】It can notify the client to stop requesting。

Hi, thank you for sharing this repository.
In my case,   After restarting broker, rcu's request log is as follows:

RCU cannot recognize broker reboot, so it can only be forced to disconnect when RCU tries to connect
Best regards
Christian

@mahuidong Please try with the latest version and tell us if this issues still occurs.


#404 expand email notification

This PR closes: #404
As a reminder, to test this functionality, one needs to update the appsettings with a valid email and app code (SenderEmail and SenderPassword).

This is how the new email template looks like


Lowers requests and limits

Towards https://github.com/giantswarm/giantswarm/issues/30671
Towards https://github.com/giantswarm/giantswarm/issues/30682
By default, the app uses a very small amount of the resources it requests (see https://github.com/giantswarm/cluster-aws/pull/603#issuecomment-2088447499). This PR reduces the requests and limits to be more efficient, which saves ~450m CPU and ~750Mi memory in requests across a 3 node control plane.

Is this supported by any data on live cluster or is this just from empty test cluster?

@calvix latest commit just lowers requests, so we can schedule on smaller instance types. limit / vpa unchanged, so should be fine on larger clusters


How to properly reset it wihout reloading the page

Hi all,
As I'm dynamically change the root node based on the user's click I'd need to reset the data along with its data.
When I try to load a new function by setting: neo4j = new Neo4J(...) nothing really happens.
Is there a alway to reset the data before calling updateWithNeo4jData?
thanks.

nvm.. got it.
just needed to instantiate a new Neo4jD3()..
My real problem was related to vue though.. the struggle is real..


Uncoercible exception on gremlin graph traversal

I try to connect gremlin to neo4j 3.2.3 and 3.2.5 with this code:
Driver driver = GraphDatabase.driver("bolt://localhost", AuthTokens.basic("neo4j", "pass"));
Neo4JElementIdProvider<?> vertexIdProvider = new DatabaseSequenceElementIdProvider(driver);
Neo4JElementIdProvider<?> edgeIdProvider = new DatabaseSequenceElementIdProvider(driver);

Neo4JGraph graph = new Neo4JGraph(driver, vertexIdProvider, edgeIdProvider);
graph.setProfilerEnabled(true);
int cnt = graph.execute("MATCH (n) RETURN count(n)").next().get(0).asInt();
List records = graph.execute("MATCH (n1) WHERE n1.resolved_id = \"31586\" RETURN n1").list();
// result: a list with 10 element

GraphTraversalSource g = graph.traversal();
List<Vertex> s = g.V().has("resolved_id", "31586").toList();
// result: org.neo4j.driver.v1.exceptions.value.Uncoercible: Cannot coerce NULL to Java long

As I commented when we use graph traversal none of queries work Uncoercible exception. it seems that the traversal function return null to this query {g.V().has("resolved_id", "31586")}.
this query is true because when I use embedded connection to this database, it results correctly.
What is the problem?
attachment: this is my pom.xml dependencies:
<dependency>
	<groupId>org.apache.tinkerpop</groupId>
	<artifactId>gremlin-core</artifactId>
	<version>3.2.5</version>
</dependency>
<dependency>
	<groupId>org.apache.tinkerpop</groupId>
	<artifactId>neo4j-gremlin</artifactId>
	<version>3.2.5</version>
</dependency>

<dependency>
	<groupId>com.steelbridgelabs.oss</groupId>
	<artifactId>neo4j-gremlin-bolt</artifactId>
	<version>0.2.25</version>
</dependency>

Hi,
When I change the Id providers it works correctly:
Neo4JElementIdProvider<?> vertexIdProvider = new Neo4JNativeElementIdProvider();
Neo4JElementIdProvider<?> edgeIdProvider = new Neo4JNativeElementIdProvider();

What is the problem of DatabaseSequenceElementIdProvider ?

The two examples you mentioned should give you the same results with a big difference on how the query is executed:
List records = graph.execute("MATCH (n1) WHERE n1.resolved_id = \"31586\" RETURN n1").list();

Will execute the given statement against the database, fetch 10 vertices from the database and give those as a result.
GraphTraversalSource g = graph.traversal();
List<Vertex> s = g.V().has("resolved_id", "31586").toList();

Will execute the statement MATCH (n) RETURN n, fetch all vertices from the database and provide that information to the GraphTraversalSource instance that will be in charge of filtering out the un-wanted results.
I do not think there is a problem with the provider, what it is possible is that while fetching all nodes from the database (MATCH (n) RETURN n) the library is presented with a node without identifier. A quick way to find if this is the case would be executing something like the following statement in the neo4j browser console:
MATCH (n) WHERE n.id IS NULL RETURN n LIMIT 10

Hi Rogelio,
You are right. There are several nodes with null ids.
Thanks a lot

Just execute a CYPHER statement that creates the "id" property on all nodes, something like
MATCH (n) WHERE NOT EXISTS(n.id) SET n.id=ID(n)

Make sure it is ok to assign the node ID to the id field, it depends on your business logic

Just execute a CYPHER statement that creates the "id" property on all nodes

Thought about this but was not quite sure about any side effects within DatabaseSequenceElementIdProvider. Thank you!


Add test case showing errors with Kotlin DSL

See #9249

@bamboo any idea?

@melix @DslMarker might help work the scopes as said in https://github.com/gradle/gradle/issues/9249#issuecomment-443018508
See https://kotlinlang.org/docs/reference/type-safe-builders.html#scope-control-dslmarker-since-11
Now that we have Kotlin in Gradle core it shouldn't be a problem to use it anymore.

I tried to hack with @DslMarker but it doesn't work, or I didn't use it properly. There's almost no documentation unfortunately.

There are 2 remaining tests failing with a suspicious error:

Line 35:     conf ("org:foo:1.0")
^ Overload resolution ambiguity:
public final operator fun Configuration.invoke(dependencyNotation: Any): Dependency? defined in org.gradle.kotlin.dsl.DependencyHandlerScope
public final operator fun Configuration.invoke(dependencyNotation: Any): Dependency? defined in org.gradle.kotlin.dsl.DependencyHandlerScope
Line 37:         conf ("org:bar:1.1")
^ Overload resolution ambiguity:
public final operator fun Configuration.invoke(dependencyConstraintNotation: Any): DependencyConstraint? defined in org.gradle.kotlin.dsl.DependencyConstraintHandlerScope
public final operator fun Configuration.invoke(dependencyConstraintNotation: Any): DependencyConstraint? defined in org.gradle.kotlin.dsl.DependencyConstraintHandlerScope

There are 2 remaining tests failing with a suspicious error:

Line 35:     conf ("org:foo:1.0")
^ Overload resolution ambiguity:
public final operator fun Configuration.invoke(dependencyNotation: Any): Dependency? defined in org.gradle.kotlin.dsl.DependencyHandlerScope
public final operator fun Configuration.invoke(dependencyNotation: Any): Dependency? defined in org.gradle.kotlin.dsl.DependencyHandlerScope
Line 37:         conf ("org:bar:1.1")
^ Overload resolution ambiguity:
public final operator fun Configuration.invoke(dependencyConstraintNotation: Any): DependencyConstraint? defined in org.gradle.kotlin.dsl.DependencyConstraintHandlerScope
public final operator fun Configuration.invoke(dependencyConstraintNotation: Any): DependencyConstraint? defined in org.gradle.kotlin.dsl.DependencyConstraintHandlerScope

It seems the writeSpec is emitting multiple conf variables in those cases.

It seems the writeSpec is emitting multiple conf variables in those cases.

That was indeed the problem, thanks!

Candidate for backport to 6.2-rc-2 if there's one.

With those changes the following works as expected:
dependencies {
  constraints {
    //...
  }
}

But the problem is still present when doing
dependencies.constraints {
  // ...
}

But it might be even more challenging to fix as this references DependencyHandler directly, there's no opportunity for the trick used on DependencyHandlerScope.

Thanks @eskatos . Indeed this would have to be fixed too. I don't think it should prevent this PR from being merged though. The dependencies.constraints notation is still quite unusual.

But it might be even more challenging to fix as this references DependencyHandler directly, there's no opportunity for the trick used on DependencyHandlerScope.

Yes. I think the only safe long term solution here is to keep DSL types separate from the API types so their translation to Kotlin idioms can be completely controlled at the DSL level. In that world, dependencies wouldn't be a DependencyHandler but a DependencyHandlerDsl or something. You get the picture. This would also allow cleaning up the Closure overloads and other methods that we don't scripts to see.

Yet it forces the creation of a parallel DSL that we shouldn't really need :/

In any case, there's a lesson here, as long as we keep the current structure, we should avoid introducing these modelElement(Action<ModelElementT>) methods in the DSL types.


init command fails when apps/eac already exists

expected behaviour: Tell the user the folder already exist (warning), continue initializing, finish with success.

done


how print the variables values obtained from "extract_binds" Extractor

@svanoort Hi :-)
How I can debug or print the variables values obtained from extract_binds Extractor?

@svanoort response on this would be highly appreciated 👍


Default profile picture needed

Sender<EMAIL_ADDRESS>Comment: Default profile picture needed
Open #21 in Usersnap Dashboard
Notes:

(1) We need to design a default profile pic. if picture has not been uploaded by the user.

Download original image
Browser: Chrome 58 (macOS Sierra)
Referer: https://participedia.xyz/users/169032
Screen size: 2560 x 1440 Browser size: 1622 x 1295
Powered by usersnap.com

Can you suggest something @samjiangweb ?

Actually, in our last meeting, we decided to take this off Sam's plate. Also, this is noted in #364, so closing this.


add VERSION to DB

TODO

[ ] Add filed version to struct in DB

Example request:
UPDATE AGGREAGETE_ROOT_TABLE
SET VERSION=VERSION+1 ...
WHERE VERSION=<CURRENT_VERSION>

Add as part of event sourcing


net: Dial only tries the first address

package main

import (
	"flag"
	"log"
	"net"
)

func main() {
	host := flag.String("host", "", "host to connect")
	flag.Parse()

	if *host == "" {
		flag.PrintDefaults()
		return
	}

	ips, err := net.LookupIP(*host)
	if err != nil {
		log.Fatal(err)
	}

	log.Println("ips:", ips)

	c, err := net.Dial("tcp", *host+":80")
	if err != nil {
		log.Fatal(err)
	}

	log.Println("connected to:", c.RemoteAddr())
}

Everything is great when the first ip is available:
# go run /tmp/test.go -host docker-registry.s3.ceph.pretender.local
2015/02/07 15:52:15 ips: [<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>]
2015/02/07 15:52:15 connected to: <IP_ADDRESS>:80

But when ip is not available, net.Dial fails without retrying the next ip:
# go run /tmp/test.go -host docker-registry.s3.ceph.pretender.local
2015/02/07 15:52:32 ips: [<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>]
2015/02/07 15:52:32 dial tcp <IP_ADDRESS>:80: connection refused
exit status 1

Happened with docker: docker/docker#10614

It would be surprising if net.Dial tried the other addresses when the first connection attempt fails. Telnet doesn't do that. A web browser won't do it either.
If you want to try multiple the other addresses after the first one fails, use net.LookupAddr and write the loop yourself.

@adg I must have got some really broken telnet:
# telnet docker-registry.s3.ceph.pretender.local 666
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused

In /etc/hosts on my mac:
<IP_ADDRESS>     whatever.org
<IP_ADDRESS>     whatever.org

On machine that owns <IP_ADDRESS> and <IP_ADDRESS> after trying Safari:
17:09:09.433404 IP <IP_ADDRESS>.62853 > <IP_ADDRESS>.9999: Flags [S], seq 478414988, win 65535, options [mss 1460,nop,wscale 5,nop,nop,TS val 887026686 ecr 0,sackOK,eol], length 0
17:09:09.434728 IP <IP_ADDRESS>.62854 > <IP_ADDRESS>.9999: Flags [S], seq<PHONE_NUMBER>, win 65535, options [mss 1460,nop,wscale 5,nop,nop,TS val 887026687 ecr 0,sackOK,eol], length 0

And after trying Firefox:
17:10:45.426919 IP <IP_ADDRESS>.63025 > <IP_ADDRESS>.9999: Flags [S], seq 349371721, win 65535, options [mss 1460,nop,wscale 5,nop,nop,TS val 887112794 ecr 0,sackOK,eol], length 0
17:10:45.429567 IP <IP_ADDRESS>.63026 > <IP_ADDRESS>.9999: Flags [S], seq<PHONE_NUMBER>, win 65535, options [mss 1460,nop,wscale 5,nop,nop,TS val 887112796 ecr 0,sackOK,eol], length 0
17:10:45.431033 IP <IP_ADDRESS>.63027 > <IP_ADDRESS>.9999: Flags [S], seq<PHONE_NUMBER>, win 65535, options [mss 1460,nop,wscale 5,nop,nop,TS val 887112798 ecr 0,sackOK,eol], length 0
17:10:45.432150 IP <IP_ADDRESS>.63028 > <IP_ADDRESS>.9999: Flags [S], seq<PHONE_NUMBER>, win 65535, options [mss 1460,nop,wscale 5,nop,nop,TS val 887112799 ecr 0,sackOK,eol], length 0

Chrome only generates one SYN, that's true.
Telnet on mac and on linux behave the same. Wget tries different ips, curl does the same.

Well colour me surprised!
Note that, at least in telnet's case, you can tell that it is not the system-level connect call (equivalent to net.Dial) that is doing the retries, because it prints "Trying $IP...". The retry is application-level.
IOW, net.Dial is too low-level to retry different addresses.

Looks like connect doesn't know anything about hostnames, while net.Dial does. Dealing with retries could be too low-level for syscall.Connect, but for net.Dial? It already knows about hostnames and ipv6/ipv4 priorities.
Are http, tls, syslog, rpc, smtp and textproto too low level for retries?

Dealing with retries could be too low-level for syscall.Connect, but for net.Dial?

I think so. Go's standard library doesn't provide anything cross-platform that is lower level than net.Dial.

Are http, tls, syslog, rpc, smtp and textproto too low level for retries?

I don't think the http package, for example, is too high level for retries. But it depends what part. Analogous is following redirects in HTTP requests: the http.Client type transparently follows redirects by default, but the lower-level http.RoundTripper does not (and it would be inconvenient if it did, because it is the low-level interface for making HTTP requests).
I see net.Dial as closer to http.RoundTripper than http.Client, in the absence of anything less magical.

One solution is to provide a net.Dialer implementation that retries when multiple A records are found.

Do you think it should be 3rd party library?
Let's update net.Dial() docs anyway, it's better to be explicit about retries. Not sure about http.DefaultClient, http.Get and friends.

Maybe the net.Dialer type should have a new field to enable the behaviour you need. It already does a bunch of clever things. (cc @mikioh)
The Dial docs should have an additional sentence,, something like: "Using the Dial function is equivalent to calling the Dial method on the zero value of Dialer." That way the user knows to look at Dialer to see exactly what it should do.

This issue contains several use cases, and I'm still not sure what would be the best bet.  For what it's worth, we need to address following issues and find out some compromises for them eventually.

Effective way to handle multiple address families and application-level sessions/streams to transport connections mappings in the net/http package or external well-cooked packages
1.1. For multiple address families, see #8847
1.2. For multiple streams-connections mappings, see #8946, #8910, #8296, #6785, #4677 and other

Effective way to handle multiple address families in the crypto/tls package or external well-cooked packages
2.1. For SAN (subject alternative name) with multiple address families, not addressed yet

Effective way to handle multiple address families and endpoints in the net package or external well-cooked packages
3.1. For multiple address families, see #8453, #8455
3.2. For multiple endpoints that are mapped to a single name (hostname, UTF-8 encoded netname, or mDNS/DNS registered name), not addressed yet

I originally tried to create an issue to address 3.2. Can you reopen this issue or create a separate one?

Please open a new issue with a concrete use case and/or an API proposal. As @adg mentioned above, adding something fancy stuff that can accept user's strategy/discipline for controlling multiple endpoints (because there's no one-size-fits-all way to this sort of issue, to a system on top the internet) to net.Dialer might be acceptable if people think it's worth having.


[Feature Request] Config option to include vendor classes

Could we include a config option to enable/disable the including of laravel classes inside vendor directory? And maybe display it in a separate table? We need for example to know the total number of service providers in the whole project, not just within the app layer, also artisan commands, and migrations. That would be helpful.. What do you think?

I think #42 could allow this functionality.

#42 would allow for this. Not is a separate table though.

#42 has been merged and you now could add a vendor-folder to the config. However the command still rejects file which are in the vendor-folder here.
I would like to keep it the way it currently is.
By splitting the stats into 2 tables we would have to introduce a global-split-sort thing. Could be a lot of code which makes the project just more complicated.
Could you maybe provide an example on how this feature would be useful to you?
Example for config file
    /**
     * List of folders to be analyzed.
     */
    'paths' => [
        base_path('app'),
        base_path('database'),
        base_path('vendor/laravel/framework')
    ],

When we build new packages, we split the functionality into core functions (as agnostic as we can), and application layer packages which may contain app and frontend features, this give some sort of separation of concerns, but the end result is we've almost all database structure (migrations), service providers, console commands, and other core parts in the core packages inside vendor directory, and though we'd like to get some statistics about it. This is implemented already in our product rinvex/cortex but I'm not sure if you can figure it out with just a quick overview.. I can explain more if needed, just let me know which part should I detail..

Now I understand 😄.
I've added the feature request to the 2.0.0 milestone. I think it's a valid feature request which makes a lot of sense if you have a project structured like this.
I just need a bit more time to get it right 😉

In order for this to work properly, we would need to get rid of this check: https://github.com/stefanzweifel/laravel-stats/blob/master/src/ClassFinder.php#L36
However, that does not seem like a good option right know, since the way this package loads classes is rather hacky.

I think the part in the ClassFinder you linked to should be extracted into a ClassFilter (or something with a better name).
The class would be responsible of removing classes from the collection. We could then write a second command or use an option to ignore the ClassFilter and all classes would count to the statistics.

@stefanzweifel Well, I think it's fine to include the path manually in the config file; But when tried it didn't work. It didn't count any of the included vendor paths!?

Okay, thanks for the feedback.
Yeah, in the current version vendor packages are completely blocked (ComponentFinder, ReflectionClass).
I've added that, because otherwise the entire Laravel Framework counts to the stats table. In the second screenshot you see that the the number of command classes jumps from 2 to 70. That's because all the default artisan commands from the framework (like make:controller, route:cache) have been detected and are being processed.
I think I could add a new config, where you could define your own "Filter Strategy". By default the vendor folder is always excluded. You could then write your own strategy (or the package ships with multiple ones) and change that in the settings.

I'd appreciate if that's shipped with the package & all we've to do is to change settings..

Hey @Omranic
I've juste dmerged #112 into master. This PR adds a new config to define how classes are rejected/discarded from the statistics.
Could you install dev-master in one of your projects and change the rejection_strategy to RejectInternalClasses and see if this solves this issue? If everything looks fine I would tag a new version.

@stefanzweifel thank you for the update.
I didn't check the correctness of all numbers, but seems the package doesn't detect vendor migrations at all. Screenshot:

I think I forgot to mention that you would have to add a path to the vendor directory to the paths config:
    'paths' => [
        // base_path('app'),
        // base_path('database'),
        // base_path('tests'),
        base_path('vendor/name')
    ],

I've tried to require one of your rinvex or cortex packages, but I many requirement errors. Would be awesome if you could add your packages to this repo as a PR: https://github.com/stefanzweifel/laravel-stats-issue-46
However, I've moved some demo Models and Classes to the vendor directory and everything worked as expected.
One downside I've seen by adding vendor to the paths array and using the RejectInternalClasses-Strategy is, that Laravel's internal Commands are counted to the statistics. This can be fixed by rejection classes which begin with then Illuminate-namespace.
<?php

namespace Wnx\LaravelStats\RejectionStrategies;

use Wnx\LaravelStats\ReflectionClass;
use Wnx\LaravelStats\Contracts\RejectionStrategy;

class RejectInternalClasses implements RejectionStrategy
{
    public function shouldClassBeRejected(ReflectionClass $class) : bool
    {
        if (starts_with($class->getNamespaceName(), 'Illuminate')) {
            return true;
        }

        return $class->isInternal();
    }
}

I've just merged #113 to master. The Illuminate and Symfony namespace are now globally ignored.
Adding a base_path('vendor/package-name') should now work as expected.
I will tag v.1.4.0 in the next days.

@stefanzweifel sorry, it's not mentioned in the docs but all of our untagged packages are more stable on dev-develop not dev-master! Yeah, I know we should do something about it 😅
Anyway will test the latest update & get back to you again..

No problem.
And sorry for my weird English. I shouldn't definitely read through my own comment multiple times before hitting submit when I work late at night 😂


Was there an nvm outage around 11:10am PST, today?

Was there an nvm outage around 11:10am PST, today?
The nvm install command did not work as expected.
It logged Version '18.13.0' not found - try nvm ls-remote to browse available versions.
The nvm ls-remote command gave the following output
-> nvm ls-remote
    iojs-v1.0.0
    iojs-v1.0.1
    iojs-v1.0.2
    iojs-v1.0.3
    iojs-v1.0.4
    iojs-v1.1.0
    iojs-v1.2.0
    iojs-v1.3.0
    iojs-v1.4.1
    iojs-v1.4.2
    iojs-v1.4.3
    iojs-v1.5.0
    iojs-v1.5.1
    iojs-v1.6.0
    iojs-v1.6.1
    iojs-v1.6.2
    iojs-v1.6.3
    iojs-v1.6.4
    iojs-v1.7.1
    iojs-v1.8.1
    iojs-v1.8.2
    iojs-v1.8.3
    iojs-v1.8.4
    iojs-v2.0.0
    iojs-v2.0.1
    iojs-v2.0.2
    iojs-v2.1.0
    iojs-v2.2.0
    iojs-v2.2.1
    iojs-v2.3.0
    iojs-v2.3.1
    iojs-v2.3.2
    iojs-v2.3.3
    iojs-v2.3.4
    iojs-v2.4.0
    iojs-v2.5.0
    iojs-v3.0.0
    iojs-v3.1.0
    iojs-v3.2.0
    iojs-v3.3.0
    iojs-v3.3.1

It auto resolved at around 12:00 pm.

nvm isn't a service, it can't have an outage.
nodejs.org itself was what was down. Duplicate of #3427. Duplicate of https://github.com/nodejs/nodejs.org/issues/7047


[Feature] Upload csv/xlsx via Filepicker

Summary
Ability to upload csv/xlsx files via filepicker
Motivation
Most business reporting / work happens through excel files. Customer facing teams are very used to using Excel as input and output. i would like for my customers to upload and excel, and i parse and provide putput according to the values in the columns. For example, users uploading a list of products and getting a sheet with the recommended price for each item, based on an API

@shubham-maurya this should be possible today in the file picker. What is the issue you're facing?

Hi @Nikhil-Nandagopal : yes, my bad - it is possible. The lack of csv as an option in the file type dropdown threw me off.

Hi @Nikhil-Nandagopal, it would be helpful to be able to provide a custom delimiter. I had an issue with a CSV that had semi colons as a delimiter.

@tweinreich for upload any delimiter should work. Could you share an example file and which endpoint was this failing for?
Closing this till we have more information

@Nikhil-Nandagopal you're right, my mistake, sorry.


Add CIFuzz action

OSS-Fuzz was wondering if mruby would use CIFuzz, a new feature being rolled out
in OSS-Fuzz. It allows for pull requests to be fuzzed in CI using fuzz targets enabled
in OSS-Fuzz. Documentation for this feature can be found here.
Let us know if you have any questions!

PR is merged. Do we have to do anything else?

@matz  Nope, just let us know if you have any suggestions for UX or issues with CIFuzz!


Profile no longer available

Typing in my username on the homepage "Californ1a" goes to https://runelo.gs/californ+a instead of https://runelo.gs/californ1a and even if I manually go to the correct url, it's no longer available even though my advent log/runemetrics is still, and always has been, public.
I'd assume this has something to do with it, not checking for numbers or underscores (+maybe a couple other special characters?) in the username:
https://github.com/dreadnip/runelogs/blob/5a211fb1ed9fdfd4ef4f342e5222e94aa0e0f554/src/controller.php#L409

Yeah I fucked up that regex to not include numbers. Dumb mistake.
Sadly I'm currently in Japan with no access to a computer, so this won't get fixed for a while.. sorry!

Should be fixed


Linking devices in mapping is broken

Description

Devices refuse to link due to access issues in mapping mode. This prevents many linked devices from being mapped in a working state including external airlock setups, buttons, remote signalers, recyclers, and more.
Reproduction

Enter mapping mode, attempt to link an airlock to a signal button, despair.
Screenshots

Additional context

dupe #26802


Add support for RxJava

Hi there!
DBFlow looks like a promising library! I will definitely give it a shot with one of my next projects. One thing I immediately found when looking into the querying wiki pages was the lacking support for RxJava and observables. As this is an emerging (and booming) pattern in Android development I would really love to see support for this!
Anybody interested too?

One of the reasons to add rx support is to allow easier combining of data.  Currently we use an rx observable network client, if we want to do things like load first from db/cache then load from network, it would be helpful to have a consistent stream interface to combine.  Amazing library btw

@digitalbuddha Same here. Switching to rx - and it works really fine - only DBFlow could not really good integrated. I also want to have that DBFlow adds rx.

btw is DBFlow thread-safe?

@agrosner Is it possible to make upcoming DBFlow 3 rx-compatible?
Anyone else want this feature? I hope I'm not alone...

I'd definitely make use of it in my projects in order to remove complexity. We currently use RxJava with Retrofit to insert/update data and register FlowContentObserver where needed, but this means we have two types of concurrency going on in the app. I used to also use Otto or EventBus, but neither is needed with RxJava. The community behind RxJava is tackling Android concurrency issues (including issues with testing concurrent operations), which means they can have better focus and catch more bugs. I would hope there would be little or no performance advantage to either, if there was it would mean one is creating more overhead than the other.

@Rainer-Lang What does it mean to be RX-Compatible, how is DBFlow not so right now? To add the dependency on RX-Android means a whole bunch of stuff pulled into the library that it does not need. If we're talking about something like "DBFlow-RXSupport" module, then that is certainly possible.

@agrosner @kaeawc @davidschreiber @digitalbuddha @AndroidGecko Maybe it's possible to have a discussion what is really needed in DBFlow for rxjava. Maybe we should discuss this here or maybe anywhere else.
To be honest, I'm new to rxjava, but with it I can do really useful things really easy. I'm still learning. I like to combine the operators. I also use Retrofit and like @davidschreiber mentioned it is possible to use it with or without rxjava. Maybe this could be the same (future) way for DBFlow.
Like I wrote, I'm new - so please - this is an appeal to the adepts of rxjava, write what should be done and help all of us.

@agrosner An RxJava module would work. Wouldn't want to bloat the core of DBFlow.

Any news on this?
@agrosner Could you please reopen this issue?

@Rainer-Lang I am not sure of how it exactly works. Never actually used it before. That said, if you wanted to
A: Put in a PR to develop with a new module named dbflow-rx or something with some example code of how this would work.
B. Create a sample lib or project that references DBFlow but with new classes that would help with RX.
That would be a great help. I only have limited time and something like this is not high on my priority list. Currently that includes: significantly improving the annotation processor module, improving DBFlow syntax, power charge the documentation, and lastly update and add more unit tests for edge cases as needed.

+1

+1

+1

+1

I changed to StorIO and it's great.
I liked DBFlow.

+1

+1. I don't like how TransactionManager posts results on the UI Thread. Rxjava would help this. I also don't like how SaveModelTransaction doesn't return a result. How do I know when the tx is done?

+1

+1

+1

+1

+1

This is awesome. I'm sorry I should've use the emoji but what the hell.

I've created a RxJava wrapper for DBFlow here, at some point I'll look at merging it into DBFlow https://github.com/roadhouse-dev/RxDbflow

I've created a RxJava wrapper for DBFlow here, give it was created as a Roadhouse library I'm still working through permission to merge it with DBFlow https://github.com/roadhouse-dev/RxDbflow

Looks promising.

+1

+1

+1

I have started work on this if anyone wants to contribute: https://github.com/Raizlabs/DBFlow/tree/feature/agrosner/RX/dbflow-rx/src/main/java/com/raizlabs/android/dbflow/rx
Also any feedback you have would be helpful!

in 4.0.0-beta6


Checks

Run checks when django is ready, not before.

This isn't running them when django fires the "ready" event, just registering them then. Django itself pre-registers check functions so the existing pattern is already recommended: https://github.com/django/django/blob/master/django/core/checks/caches.py
Can you explain the issue you're intending to fix?

Hi, the real problem I'm facing is that calling __init__.py have a little side effect: it wants to load django code (__init__.py requires checks.py, which require django itself).
Moving check registration to AppConfig.ready() leave __init__.py side effect free, so if I ask for corsheaders.__version__ I don't have to load all django code.
With default_app_config it works as before, you can continue to add "corsheaders" in INSTALLED_APPS, there is no need to use the full "corsheaders.apps.CorsHeadersConfig" (I'm using the same pattern used in django.contrib apps).

It's pretty reasonable for a library that uses django  to import django. It's not a side effect to import Django, it would only be a side effect to touch django.conf.settings or make similar function calls, if you're seeing that, please provide a traceback!
Did you know you can also read the version of any installed library with pkg_resources? See stack overflow post / docs.

Closing due to inactivity.


[bambuser] Add support for authentication and private videos

It looks like extracting a specific video from bambuser doesn't work (same issue with latest version on Windows) :
youtube-dl --verbose http://bambuser.com/v/5432431
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://bambuser.com/v/5432431']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.04.09
[debug] Python version 3.4.3 - Linux-3.19.3-3-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.6.1, ffprobe 2.6.1, rtmpdump 2.4
[debug] Proxy map: {}
[bambuser] 5432431: Downloading webpage
ERROR: An extractor error has occured. (caused by KeyError('title',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 275, in extract
return self._real_extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/bambuser.py", line 47, in _real_extract
'title': info['title'],
KeyError: 'title'
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 275, in extract
return self._real_extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/bambuser.py", line 47, in _real_extract
'title': info['title'],
KeyError: 'title'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 651, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 281, in extract
raise ExtractorError('An extractor error has occured.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occured. (caused by KeyError('title',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Can you watch it in browser?

I can if I log in as it is a private video. I tried using -u and -p option without luck. I guess extracting a private video is not supported, am I wrong ?

No, login is not supported yet.

Okay thank you very much support for the quick answer !

Authentication will be supported in the next version. However, I can't check private video since I still get You do not have access to this broadcast.

Great to hear :smiley:.
I can help you to test authentication if needed.

You can fetch the latest sources following steps 1 through 3 of our developer instructions or just download and unpack master.zip. Then run python -m youtube_dl -v http://bambuser.com/v/5432431. You'll need python instaled.

I can confirm it works perfectly :smiley:. Thanks !
Let me know if you need more information or any kind of help.

That's enough. Thanks.

This has been fixed in youtube-dl 2015.04.26. See our FAQ if you have problems updating.

Thank you, I've updated to latest youtube-dl version and it is now working perfectly with private videos.


Done untranslated.json

I noticed there was a missing line in my previous commit. To avoid opening a pr for literally a single string I went and added it to the German file as well.
French is beyond my understanding.

Thanks!
Right now is a good time for translation as I intend to release a new version soon. But in general, translating everything all the time might be counterproductive, because I often add, modify and remove translation keys during active development.
For people who help with translations but do not open PRs, I simply email them a few days before releasing a new version, keeping the noise to a minimum.
Not sure what would work best for translations via PR. Maybe I could open a permanent issue/discussion for announcements. You could subscribe to that issue/discussion, and be informed when I'm about to release a new version. So you would not need to manually check the "untranslated.json" file by yourself.
Let me know what you think.

Permanent discussion sounds good so that others could participate and share feedback, I don't get notifications for PR replies so it'd be great if I could get them by subscribing to a post.

Here it is: #152.
By the way, I'm surprised you don't get notifications on PR replies. On the right side of this page there is a "Notifications" section with a "Subscribe" button (same with Issues and Discussions). I believe a person who opens a PR is automatically subscribed to the PR by default.


Hi,  the Improved diffusion guidance when to release

Hi,  the Improved diffusion guidance when to release

Hi,
We're planning to test the improved diffusion guidance starting in May or June.
If you need it urgently, maybe you could try to contribute and make a pull request :)
Please reopen this issue if you need more help regarding this.
Thanks.


Added async with for mediator record delete

Codecov Report

Merging #1749 (5337f2d) into main (61f8734) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 5337f2d differs from pull request most recent head 073684c. Consider uploading reports for the commit 073684c to get more accurate results

@@           Coverage Diff           @@
##             main    #1749   +/-   ##
=======================================
  Coverage   95.23%   95.23%
=======================================
  Files         528      528
  Lines       33141    33142    +1
=======================================
+ Hits        31563    31564    +1
  Misses       1578     1578

Beat me to it @dbluhm :)


Code generator generates CloudFormation inconsistent field name breaking initialisms logic

Describe the bug
PR https://github.com/aws-controllers-k8s/pkg/pull/11 attempted to fix an issue with the generated field names for the EventBridge rule (Target) resource (specifically fields sql in RedshiftDataParameters and AWSvpcConfiguration in NetworkConfiguration).
The fix and tests for sql worked. However, the generated types.go struct for NetworkConfiguration is
// This structure specifies the network configuration for an ECS task.
type NetworkConfiguration struct {
	// This structure specifies the VPC subnets and security groups for the task,
	// and whether a public IP address is to be used. This structure is relevant
	// only for ECS tasks that use the awsvpc network mode.
	AWSvpcConfiguration *AWSVPCConfiguration `json:"awsvpcConfiguration,omitempty"`
}

Whereas the actual CloudFormation definition is
{
  "AwsVpcConfiguration" : AwsVpcConfiguration
}

Adding this case to names_test.go actually breaks the unit tests
{"AWSvpcConfiguration", "AWSVPCConfiguration", "awsVPCConfiguration", "aws_vpc_configuration", "awsvpcconfiguration"},

This logic is not handled in normalizeInitialisms and I think it should actually be a change in the code generator so that AWSvpcConfiguration becomes AWSVpcConfiguration as per the CloudFormation field.
Since my understanding of this logic is minimal, I'm not sure which way to chose to fix the issue as it could break other controllers.
cc/ @RedbackThomson @A-Hilaly @jaypipes

We deliberately do not use the CloudFormation name because the CloudFormation names do not adhere to Go initialism naming conventions. The pkg/names package enforces renaming for those initialism naming conventions and for the Golang exported variable/field naming requirements (starting with a capital letter...).

Adding this case to names_test.go actually breaks the unit tests

I don't know how "AWSvpcConfiguration" is being determined from the original "AwsVpcConfiguration". I added unit tests for three different variations:
		{"AwsVpcConfiguration", "AWSVPCConfiguration", "awsVPCConfiguration", "aws_vpc_configuration", "awsvpcconfiguration"},
		{"AWSVpcConfiguration", "AWSVPCConfiguration", "awsVPCConfiguration", "aws_vpc_configuration", "awsvpcconfiguration"},
		{"AWSVPCConfiguration", "AWSVPCConfiguration", "awsVPCConfiguration", "aws_vpc_configuration", "awsvpcconfiguration"},

I am a bit stumped on where AWSvpcConfiguration is coming from.

This is super weird, the type.go template is correctly using names.Camel https://github.com/aws-controllers-k8s/code-generator/blob/main/templates/apis/type_def.go.tpl#L10 .

/assign

Fixed in https://github.com/aws-controllers-k8s/pkg/pull/12
/close


Action Input can't update ModerationStatus anymore

I dont know if this is the right place, but i found a bug when using coloumn formatting for editing the default approval value.
Sample (which sample are you having trouble with)
https://github.com/pnp/List-Formatting/tree/master/column-samples/approval-buttons-setValue-status-user
I edit the action input to :
            "actionInput": { "_ModerationStatus": "0", "ApprovalActionBy": "@me" }
What Should Happen
For a few days now I and other users have had the problem that the buttons for approving and rejecting no longer work. The manual approval still works and if i changed the action input to edit a single text coloum everything works fine. So in my opinion there must be a change or something that i cant edit the moderation status anymore. Do you have any clue why this doesnt work?
What Actually Happens
At the moment you press the button and nothing happen. Is there a way to debug the thinks in the background because the browser console is empty.

Download
https://www.mediafire.com/file/7ybpxn8lil1av70/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Hi @joshua-probst !
I also tried to update _ModerationStatus using the setValue action, but could not update it.
https://github.com/user-attachments/assets/be4c6d8a-7c64-4cb8-a968-8955958b6581
However, this is probably a bug caused by a change in the Microsoft Lists specification and will be difficult for the community to resolve. Therefore, I am sorry, but could you please create an issue in the following repository and report it to Microsoft?
https://github.com/SharePoint/sp-dev-docs

As an example of creating an issue, I will also send you a list of past issues related to List Formatting.
https://github.com/SharePoint/sp-dev-docs/issues?q=is%3Aissue+List+Formatting+

Thank you for creating the issue!
https://github.com/SharePoint/sp-dev-docs/issues/9897
I will close this issue.


Devices do not respond

Hi guys,
i run homebridge on a raspberry pi 2. Everything went fine. Since a few days my devices do not respond. I tried to restart homebridge, deleted accessories and persists folder and changed my username in the config.json file.
What finally helped was to delete my home in home app on iPhone iOS10. Everything went fine for 12 hours and now my devices aren't responding anymore.
The only thing i changed before that issue was to update npm to version 4.1.2 and homebridge-homematic to 0.0.66
I run homebridge with homematic, sonos and hue plugin.
In the log (i hope i did it right) i found
****************************************************************************************************************************
[2017-01-30 19:52:27] [HomeMatic CCU] *  Sorry the local port 9090 on your system is in use. Please make sure, that no other instance of this plugin is running.
[2017-01-30 19:52:27] [HomeMatic CCU] *  you may change the initial port with the config setting for local_port in your config.json
[2017-01-30 19:52:27] [HomeMatic CCU] *  giving up ... the homematic plugin is not able to listen for ccu events on BidCos-RF. until you fix this.
[2017-01-30 19:52:27] [HomeMatic CCU] ****************************************************************************************************************************

But Homebridge starts afterwards and then i get something like
events.js:141
      throw er; // Unhandled 'error' event
      ^
Error: listen EADDRINUSE :::51826
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at Server._listen2 (net.js:1231:14)
    at listen (net.js:1267:10)
    at Server.listen (net.js:1363:5)
    at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)
    at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)
    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:496:16)
    at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:114:16)
    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:372:14)

and
Any idea?

The EADDRINUSE with 51826 indicates homebridge was already running.
Do you have a second copy of homebridge already running?

On Jan 30, 2017, at 2:04 PM, baakoo<EMAIL_ADDRESS>wrote:
Hi guys,
i run homebridge on a raspberry pi 2. Everything went fine. Since a few days my devices do not respond. I tried to restart homebridge, deleted accessories and persists folder and changed my username in the config.json file.
What finally helped was to delete my home in home app on iPhone iOS10. Everything went fine for 12 hours and now my devices aren't responding anymore.
The only thing i changed before that issue was to update npm to version 4.1.2 and homebridge-homematic to 0.0.66
I run homebridge with homematic, sonos and hue plugin.
In the log (i hope i did it right) i found

[2017-01-30 19:52:27] [HomeMatic CCU] *  Sorry the local port 9090 on your system is in use. Please make sure, that no other instance of this plugin is running.
[2017-01-30 19:52:27] [HomeMatic CCU] *  you may change the initial port with the config setting for local_port in your config.json
[2017-01-30 19:52:27] [HomeMatic CCU] *  giving up ... the homematic plugin is not able to listen for ccu events on BidCos-RF. until you fix this.
[2017-01-30 19:52:27] [HomeMatic CCU] ****************************************************************************************************************************
But Homebridge starts afterwards and then i get something like
events.js:141
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::51826
at Object.exports._errnoException (util.js:837:11)
at exports._exceptionWithHostPort (util.js:860:20)
at Server._listen2 (net.js:1231:14)
at listen (net.js:1267:10)
at Server.listen (net.js:1363:5)
at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)
at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)
at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:496:16)
at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:114:16)
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:372:14)
and
Any idea?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I tried to figure it out but cannot see more than one homebridge. I tried to find it with "top" and tried sudo killall homebridge before running it again.

Try ps -ef | grep homebridge

On Jan 30, 2017, at 3:14 PM, baakoo<EMAIL_ADDRESS>wrote:
I tried to figure it out but cannot see more than one homebridge. I tried to find it with "top" and tried sudo killall homebridge before running it again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks
pi       15303     1  0 19:36 ?        00:00:01 leafpad /home/pi/.homebridge/config.json
pi       15682     1  0 19:48 ?        00:00:11 leafpad /home/pi/Desktop/homebridgelog.txt
homebri+ 17768     1  5 21:12 ?        00:00:19 homebridge
pi       17966 15122  0 21:18 pts/0    00:00:00 grep --color=auto homebridge

Anyone an idea?  To me it looks as in there's only one instance? I'm really stuck

Yep, the other one died at starting. The one you are seeing is the one that blocks any other from starting.

Sorry, this was my fault. The log crashes, because my default instance is running. When I close this instance, there seems to be know error in the log. Would you need the whole logfile (are there any private data in it)? I will now start homebridge in debug mode and pair make a new home in home kit and we will see what happen.

Same again. After a few hours, home app cannot find the devices. I get
EventedHTTPServer [::ffff:<IP_ADDRESS>] Sending HTTP event 'keepalive' with data: {"characteristics":[]} +4ms
events.js:141
     throw er; // Unhandled 'error' event
     ^

Error: connect EHOSTUNREACH <IP_ADDRESS>:1400
   at Object.exports._errnoException (util.js:837:11)
   at exports._exceptionWithHostPort (util.js:860:20)
   at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1060:14)

This message is saying that your device at <IP_ADDRESS> is unreachable.  You need to determine why that device is not responding.
Sent from my iPad

On Feb 3, 2017, at 1:14 AM, baakoo<EMAIL_ADDRESS>wrote:
Same again. After a few hours, home app cannot find the devices. I get
EventedHTTPServer [::ffff:<IP_ADDRESS>] Sending HTTP event 'keepalive' with data: {"characteristics":[]} +4ms
events.js:141
throw er; // Unhandled 'error' event
^
Error: connect EHOSTUNREACH <IP_ADDRESS>:1400
at Object.exports._errnoException (util.js:837:11)
at exports._exceptionWithHostPort (util.js:860:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1060:14)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks. Yes, i use systemd for startup. The device at <IP_ADDRESS> is a sonos bridge. Right now it is working again, surprise how long it lasts ... I report back.

Because you are using systemd, homebridge will automatically restart if it crashes, that is why you are getting the address in use error when you are starting manually.
For the problem with your sonos plugin, you should raise an issue with the sonos plugin developer for it crashing homebridge when it can't talk to a device.
Sent from my iPad

On Feb 3, 2017, at 1:41 PM, baakoo<EMAIL_ADDRESS>wrote:
Thanks. Yes, i use systemd for startup. The device at <IP_ADDRESS> is a sonos bridge. Right now it is working again, surprise how long it lasts ... I report back.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

After uninstalling sonos Plugin everything seems  to be Fine. I have openend an issue with sonos plugin. Thanks all for your support. I close this issue.


About Section Background Issue.

Is your feature request related to a problem? Please describe.
The background lines of about us page are shadowing the content.
Describe the solution you'd like
The no. of lines should be reduced and the movement should be made a little slower, so that they can appear subtle and nice with
the environment.

@Akshatchaube01  Please assign me so that i can work on it and show the screenshots.

@Akshatchaube01  Tell me any suggestion you like (otherwise tell me I'll create PR):-

The lines are now at background with smaller z index
The movement speed is reduced which make them soothing
Opacity and color have been reduced a little so as to make content more important.
Now the lines are not shadowing the content.

You can make a PR


Build Process

I'd like to discuss a build process which is suitable for frequently updating Wordpress on Sandstorm. This should include as much as possible automation in the future. For the beginning we can keep it simple and do things manually.
I was thinking of something like this. As said before: most steps should be automated in the future if possible.

[ ] New Release of WordPress is available
[ ] Renamed old a master Branch of our working copy of Wordpress to something like "4.9 branch"
[ ] create a new master branch wit the latest source code
[ ] Apply all necessary changes to the new branch to make Wordpress run on Sandstorm
[ ] Run vagrant-spk dev and do some testing
[ ] If that seems to work do vagrant-spk pack
[ ] Creat draft of release on Github, add changelog
[ ] Do some more detailed testing according to checklist (needs to be created)
[ ] Send SPK to some more testers
[ ] If all Ok release to app store
[ ] Create final release on Github

Any thoughts?

Feel free to send test versions to the app store. I won't approve them unless they work, and can hold until you directly tell me to approve it. Until approved, the experimental store is a great place to stash test versions you want people to try.

thanks @ocdtrekkie, sorry when I ask something which is somewhere documented and I didn't check: how can I push an app to the experimental app store?
I have created a very early version of the app which basically only contains an updated environment (stretch php7), the latest Wordpress version 4.9.4 plus plugin updates.
See: https://github.com/wpsandstorm/wordpress-sandstorm/releases/tag/v12

The normal instructions to publish to the market puts stuff in experimental automatically. Https://apps.sandstorm.io/?experimental=true currently has a broken Wekan update and a broken Gogs update. :)

I tried to publish the app to the experimental market. Unfortunately it didn't work.
talking to index server...
curl: (6) Could not resolve host: alpha-api.sandstorm.io
curl failed
Connection to <IP_ADDRESS> closed.
Command failed with a non-zero exit status (1).

The host URL alpha-api.sandstorm.io resolves for me to <IP_ADDRESS> which seems to be down, at least a ping gets a time out.

Hmmm. Cem managed to push his Gogs release yesterday, so I don't believe it is currently broken.

Hmmm, today it worked, maybe a hickup somewhere in between. PLease don't push to the main store yet. We will add more fixes but it would be cool if some people would test the build as the whole environment has been updated as well as Wordpress itself. Thanks!

I am going to send a mailing list post about some of the new updates lately, I'll mention a desire for people to test it.

What's the status of this being publishable? #32 would be regression from the old version, so that should probably be fixed first.

#32 has been fixed with https://github.com/wpsandstorm/wordpress/commit/0ceea2c481254b089a889bcaf1bde350268b17d9
new beta release with this fix has been uploaded to github and pushed to the Sandstorm alpha app market. More quick fixes will be applied and then we can do the testing for a release candidate.

The current process of creating new wordpress packages for sandstorm includes a lot of manual tasks but it's documented here and we should be able to have quicker and frequenter updates now: https://github.com/wpsandstorm/wordpress-sandstorm/wiki
If anybody is able to help automate this process I'm very happy to learn something :-)


diskspd does not measure write speed

I use diskspd to measure the performance of a network connection to a network storage.
For that, I need to measure upload (write) and download (read) performance of a file independently of each other. This seems simple to do via da -w100 or -w0 parameter. The performance of the storage is much higher than the performanceof the network connection.
Using the following command: .\diskspd.exe -d30 -F1 -w100 -o1 -Sbwm -Z -Rtext \\Path\to\File\Speedtest\LargeBinaryStream.bst diskspd downloads the file at first and then uploads the file. This behavior is correct and as expected. But the measurement measures at a wrong time.

In the picture, you see a screenshot of the task manager performance graph of the notebook running diskspd.
If I start the measurement (point "A"), diskspd begins its measurement and downloads the file for 30 seconds.
At point B diskspd stops the measurement, shows me the results and the .exe is closed (see Powershell screenshot). Then a system process begins to upload the file for 30 seconds (until point C). But there are no measurements anymore.

Finally: Is this a bug? Did I something wrong in my diskspd parameters?

What is your intent by adding the 'm' mode of operation with -Sbwm?
Memory mapped mode is intended as a mode of operation for persistent memory devices. The write-through intent changes to one appropriate for those devices, which is a flush from processor to memory, not memory to underlying filesystem store (which doesn't apply for persistent memory).
As is, what's happening is that the writes are persisted to memory, and then per normal delayed writeback of cached dirty data, that flows lazily after the file is closed, asynchronous to your foreground operations in DISKSPD.
I suspect you simply wanted buffered write-through, which would be -Sbw (no m).

The reason why I former used the -m parameter was: If I use only -Sbw, I get a write speed of 100 megabit/s´. If I copy the testfile with the windows explorer, I get a write speed of 400 megabits/s. Following that I assumed that parameter constellation would be more natural "explorer like".
So what are the correct parameters to measure the speed that the explorer shows during copy?

If you want to look at the behavior of explorer: use explorer. DISKSPD is a simple microbenchmark and may not necessarily be able to reproduce the specific behavior of a full workload, even one as apparently simple as explorer’s file copy.
Explorer does not use memory mapped IO.
There are a number of things you can do to get things to go faster – more threads, more IO queued (<- more likely similar to explorer, up to 4 or so), different/larger IO sizes (<- larger ones up to 1MiB will be more similar), etc. Getting closer to a given speed does not mean you’ve reproduced explorer’s behavior, though.
If you really are after explorer copy, it turns out there is a common copy file engine underlying essentially all tooling which copies files in Windows. It turns out to be significantly more complex than just a “copy”: alternate data streams, security, et.al.).
https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-copyfile
This means you can use the cmd xcopy, robocopy, et.al. and be exercising the same engine. It does mean you will need to have a source as well as the destination file, but it will be correct.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
[HxS - 18362 - 16.0.11629.20164]

From: MarcelTUC<EMAIL_ADDRESS>Sent: Monday, May 20, 2019 6:37:14 AM
To: microsoft/diskspd
Cc: Dan Lovinger; Comment
Subject: Re: [microsoft/diskspd] diskspd does not measure write speed (#99)
The reason why I former used the -m parameter was: If I use only -Sbw, I get a write speed of 100 megabit/s´. If I copy the testfile with the windows explorer, I get a write speed of 400 megabits/s. Following that I assumed that parameter constellation would be more natural "explorer like".
So what are the correct parameters to measure the speed that the explorer shows during copy?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/diskspd/issues/99?email_source=notifications&email_token=ACCWSKPBCYK5BVQXOQTQ7SDPWKSQVA5CNFSM4HLZRYL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVY3GRA#issuecomment-493990724, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACCWSKO2CTAKGWEDIRKPQ7DPWKSQVANCNFSM4HLZRYLQ.


Add SameDataHandler

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b7dfa38) 100.00% compared to head (9cfb7f5) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #386   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           61        62    +1
  Lines         2159      2181   +22
  Branches       381       384    +3
=========================================
+ Hits          2159      2181   +22

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Confusing Claude 3.5 sonnet (new) name in Open Router

Which API Provider are you using?
OpenRouter
Which Model are you using?
Claude 3.5 sonnet (new). Probably
What happened?
Could you recommend wich model should I choose for Claude 3.5 sonnet 20241022 from Open Router?
Just regular anthropic/claude-3.5-sonnet or anthropic/claude-3.5-sonnet:beta?

Steps to reproduce

Click settings
Select open router
type "claude-3.5

Relevant API REQUEST output
No response
Additional context
Cline v2.0.19

If you got to this page, you see that the model claude-3.5-sonnet was created on "Oct 22" in OpenRouter --> this is the new one.
On this page, you see that the model claude-3.5-sonnet:beta was also created on "Oct 22" --> this is also the new one, but "self-moderated".

They both point to the latest oct 22 model, there is now a new anthropic/claude-3.5-sonnet-20240620 that points to the old version. (Confusing I know!)

Also it's not as intelligent as the on from https://www.anthropic.com/ it's self! Specifically in coding, I notice a difference,the api from anthropic is more efficient in coding don't know why! If it's the same

Also it's not as intelligent as the on from https://www.anthropic.com/ it's self! Specifically in coding, I notice a difference,the api from anthropic is more efficient in coding don't know why! If it's the same

hmmmm thank you im glad someone else spotted this. i also think this im working with python and qt6
whats going on?

Why the model says, it's Claude 2...

Why can you only choose Claude models in Cline via OpenRouter?
It seems odd—there's no apparent option to use other models via OpenRouter in Cline, unlike with Continue.dev, where it's straightforward. There, you can even assign a separate API key for each model you use through OpenRouter if you want.
Am I missing something—is this even possible?


[Docs] Meshery UI: Add contributing instructions for end-to-end testing using Cypress

Current State
The contributing page for Meshery UI doesn't currently mention Cypress and end-to-end tests.
Desired State
https://docs.meshery.io/project/contributing/contributing-ui should include specifics of considerations that contributors should make while contributing to Meshery UI.
The labeler commenter for PRs matching component/ui can also be updated to include a hyperlink to this section of the docs.
Context:
https://layer5io.slack.com/archives/C011VPREG2Z/p1647265714076679

Contributor Guides and Resources

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

// @MarioArriaga92

@leecalcote Is anyone working on this issue? If no, Can I work on it?

@subhamgcon, yes, have you worked with Cypress before?

@subhamgcon, yes, have you worked with Cypress before?

No, but I wanna learn! Can you help me with how to get started with it?

@leecalcote this has been in my tray for some time so I'll get it done this week.
@subhamgcon are you part of our slack workspace? We have a #cypress channel where we can help get you set up, here's invite link

Getting my local setup for meshery docs, working!:

@subhamgcon you should definitely try out these new docs and post on our slack workspace any useful feedback - https://docs.meshery.io/project/contributing/contributing-cypress


Best external clock for Adalm Pluto SDR for GPS simulation

I am using the Adalm Pluto SDR for transmission and have observed that the GPS receiver, when placed near the Adalm Pluto TX antenna, exhibits inconsistent behavior. At times, it locks the position, but other times it fails to do so. This issue occurs specifically when the TX antenna is in close proximity to the GPS receiver.
I have ensured that no external GPS signals are present within the test area. Additionally, I am not using any attenuators or clock references in the setup.
I suspect the issue might be related to clock instability, but I am looking for clear reasons and practical improvements to ensure the GPS receiver achieves a consistent lock every time I run this program.

Please suggest the external clock reference module's Model number and brand or even the purchase link.

https://www.mictronics.de/posts/ADLAM-Pluto-OCXO-Mod/
Do the second mod suggested here

I got the leo bodnar gpsdo device. Is it fine?

Yes, they have good GPSDOs.

Any way to bring in Beidou as well? or Any method to increase the number of satellites?


Addresses issues: #9, #15, #18, #26, #54, #58, #65, #67, #69

Addresses issues: #9, #15, #18, #26, #54, #58, #65, #67, #69.
Haven't tested compiling it on anything except MSVC 2019. Though I have tried to keep it compiler agnostic.

@vchizhov Thanks for submitting this pull request. Unfortunately, I think this will be difficult to get merged as-is. In general, I would encourage you to pick single individual issues and then addressing them one-by-one. As in many places in software engineering, changes (thus pull requests) should adhere to the rule of doing exactly one thing (thus, address one issue). Otherwise it's almost impossible to review and have a focused discussion.
I still want to give you some feedback on this change to incorporate for the future:

Make sure you stay consistent with the existing style of the code (example: you name headers ".hpp" while existing headers are named ".h").
You have behavior changes in your code (replacing MAXFLOAT with infinity; adding gamma correction). This requires careful discussion and would also require changes to the book.
Code comments shouldn't include discussion of issues and how they are resolved in the code. This should be done on github issues.
OpenMP is difficult to get working on macOS and I'd bet that your cmake file as-is is not sufficient. Thus your OpenMP changes break macOS portability, which I consider important to maintain.

Let me know if you want more specific feedback on the code and I'd be happy to give the code a more thorough pass. But again, I think the important part is to pick a single issue to address and then work towards that.

One more thing: When you pick an issue to work on, make sure you assign it to yourself (if it is already assigned, please ask the assignee if this is okay with them!). You try to address multiple issues with this pull request for issues that are already assigned to other people. This makes collaboration difficult.

The maxfloat to infinity was suggested in the issue thread.
The code comments with the issue # are there for the reviewer, so it would be easier to figure out what

For the next week or so, we're slowing the pace of code changes so that we
can focus on getting the book on the web. The v2 is all about just getting
it out there.
There are a lot of changes here that we've discussed in github and in the
slack.
I'm sure we'll get to use a lot of your changes. For the time being, I
would recommend storing this in your own repo. We'll have the slack link up
ASAP
On Sun, Aug 25, 2019, 09:05 Vassillen Chizhov<EMAIL_ADDRESS>wrote:

Reopened #79 https://github.com/RayTracing/InOneWeekend/pull/79.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RayTracing/InOneWeekend/pull/79?email_source=notifications&email_token=ACNZVKGTZPDTQ2B34BAIQZDQGKUTBA5CNFSM4IPIK3JKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTHTEREA#event-2582005904,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACNZVKGIHVDCC56MKGHXFYDQGKUTBANCNFSM4IPIK3JA
.

The most important of the changes in terms of theory is the Lambertian material fix, but that needs to be fixed in the book also, I have posted a pdf write up on the issue page, there's a less math heavy and more palatable version in one of the cited sources.
The most important issue in practice is the wrong normals for scattering on the inside (metal and lambertian materials), as well as the offset to avoid self-intersection.

We've discussed internally the incorrect Lambertians. We don't currently
have a plan on that, so suffice it so say it won't be making v2.
On Sun, Aug 25, 2019, 09:20 Vassillen Chizhov<EMAIL_ADDRESS>wrote:

The most important of the changes in terms of theory is the Lambertian
material fix, but that needs to be fixed in the book also, I have posted a
pdf write up on the issue page, there's a less math heavy and more
palatable version in one of the cited sources.
The most important issue in practice is the wrong normals for scattering
on the inside (metal and lambertian materials), as well as the offset to
avoid self-intersection.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RayTracing/InOneWeekend/pull/79?email_source=notifications&email_token=ACNZVKE7AVMY2FSPDZRGY6TQGKWOPA5CNFSM4IPIK3JKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CWVTI#issuecomment-524643021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACNZVKHCDYULHWAWO6NHB33QGKWOPANCNFSM4IPIK3JA
.


support for RTMP

Please add support for RTMp so that stream can be played..

I would really be keen for this and other RTSP feeds.


Feature/hide data icon button

Overview
Allow hiding queries from all graphs and professor tab
What Changed
Added a button in each searchTermCard to toggle visibility. This generates a visibility array in the expandableSearchGrid which is then passed to the dashboard. The dashboard does not rerun data fetching and instead excludes datasets at the last time possible, before becoming props for the graphs/prof cards.

Overall looks good, and seems very useful! From a design perspective, is the visibility toggle discoverable?

I just tabbed through and it could access the toggles

The biggest thing I noticed is that it seems to only appear when you hover over the color of a selected course, and there's no indication that the toggle is hidden there.

Good point. I remember thinking it looked weird to always have the Visibility icon there but its better to be clear. New commit should fix that


Updated Create VM templates

Can one of the admins verify this patch?

Hi @sindstar, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;


Hardware recommendations

Hi,
are there any hardware recommendations for the m2m_100_1.2B model when using it with docker? The reason we ask is, that we get a lot of "out of memory" errors:
[2021-12-01 07:52:20 +0000] [20] [INFO] Application startup complete.
{"loglevel": "info", "workers": "2", "bind": "<IP_ADDRESS>:80", "graceful_timeout": 120, "timeout": 120, "keepalive": 5, "errorlog": "-", "accesslog": "-", "host": "<IP_ADDRESS>", "port": "80"}
Booted as backend: False
Load model: m2m_100_1.2B
<IP_ADDRESS>:56036 - "GET /docs HTTP/1.1" 200
[2021-12-01 07:53:29 +0000] [13] [WARNING] Worker with pid 18 was terminated due to signal 9
<IP_ADDRESS>:56036 - "GET /openapi.json HTTP/1.1" 200
[2021-12-01 07:53:29 +0000] [31] [INFO] Booting worker with pid: 31
[2021-12-01 07:54:44 +0000] [13] [WARNING] Worker with pid 31 was terminated due to signal 9
[2021-12-01 07:54:44 +0000] [46] [INFO] Booting worker with pid: 46
[2021-12-01 07:56:07 +0000] [13] [WARNING] Worker with pid 46 was terminated due to signal 9
[2021-12-01 07:56:07 +0000] [57] [INFO] Booting worker with pid: 57
[2021-12-01 07:57:21 +0000] [13] [WARNING] Worker with pid 57 was terminated due to signal 9
[2021-12-01 07:57:21 +0000] [75] [INFO] Booting worker with pid: 75
[2021-12-01 07:58:34 +0000] [13] [WARNING] Worker with pid 75 was terminated due to signal 9
[2021-12-01 07:58:35 +0000] [86] [INFO] Booting worker with pid: 86
[2021-12-01 07:59:50 +0000] [13] [WARNING] Worker with pid 86 was terminated due to signal 9
[2021-12-01 07:59:50 +0000] [97] [INFO] Booting worker with pid: 97

Yes, this model requires quite a lot of GPU memory. I recommend to have 24 GB or more GPU memory to run it smoothly