cargo: Add support for git dependencies

Cargo supports specifying sources as originating from git repositories
instead of registries like crates.io.
This adds support for staging and fetching the dependencies. It adds and
explicitly "kind" key to the crate entries in elements that default to
"registry" for backward compatibility.
The staging emulates cargo vendoring by adding a config entry for each
git repository and generating a checksum file for the crate.

This works for me locally with making a source checkout and running cargo manually.
Would be great to get some feedback. Afterwards, I can do some more testing.

Noticed that cargo workspace support was missing. Tested with gtk-rs and glycin for the workspaces feature.

Ah and should probably add Fixes: #10 to the commit messages

Just a thought but it would be nice if the tomlkit dependency was optional and became fatal only if there actually are git crates. The existing dependency tomllib is in Python standard library while this one implies user installing packages which is not automatic when this is consumed as junction like freedesktop-sdk and gnome-build-meta do.

Closing in favor of https://gitlab.com/BuildStream/bst-plugins-experimental/-/merge_requests/312

Closing in favor of https://gitlab.com/BuildStream/bst-plugins-experimental/-/merge_requests/312

Turns out that the experimental plugins and this repo use mutually exclusive licenses. This means there is no way to reuse code between both repos. This also means that we can't easily use fixes in either repos in the other repo. That sounds like some recipe for some very unhelpful fracturing.
Would it be an option to only load dulwich and tomlkit when there are git dependencies in the Cargo.lock and exit with an error if they are not available in that case?

Alternatively, it might be easy enough to just replace this with git commands
            client, path = dulwich.client.get_transport_and_path(repo_url)
            remote_refs = client.fetch(
                path,
                repo,
                determine_wants=lambda refs, depth=None: [self.commit.encode()],
                depth=1,
            )

I think this should be easy enough?
Not sure though if we want to re-implement a TOML writer in bst.
I would be very greatful if we could finally work out a plan to merge this.

Closing in favor of https://gitlab.com/BuildStream/bst-plugins-experimental/-/merge_requests/312

Turns out that the experimental plugins and this repo use mutually exclusive licenses. This means there is no way to reuse code between both repos. This also means that we can't easily use fixes in either repos in the other repo. That sounds like some recipe for some very unhelpful fracturing.
Would it be an option to only load dulwich and tomlkit when there are git dependencies in the Cargo.lock and exit with an error if they are not available in that case?

I'm very strongly against dulwich in stable buildstream-plugins.
This plugin is based on the same one, after ensuring history and collecting consent to relisense under the Apache license, surely we can simply check the git log here and discover that there may be only a couple of commits since its inception, and then copy the plugin back over the bst-plugins-experimental.


WIP: translate bills in a single web page by wasm

Signed-off-by: TripleZ<EMAIL_ADDRESS>

TODO:

[ ] build constraints for syscall/js.
[ ] index page read input/config from their textarea.

@gaocegege now you can review all the go code under the pkg directory.

Known issues:

Error: total length of command line and environment variables exceeds limit
Related links:

https://github.com/golang/go/issues/49011
https://groups.google.com/g/golang-codereviews/c/-N-Smb0Cfxc


where_or for Query and QueryProxy

:+1

Took off low-hanging-fruit tag.  Trying to do this made me think that the Query / QueryClauses stuff should perhaps be refactored...
;)

Does it mean that currently is not possible to use OR conditions when querying ActiveModel classes?

It's certainly possible, you just need to give a string.  Something like:
person.as(:p).where("p.age = 20 OR p.age = 30")

Of course with a string can write Cypher.
I am trying to write a Neo4j adapter for cancancan (used by rails_admin) so I need to build the query dynamically and I am using ActiveModel methods. Maybe I will try with cypher string ...

First I'm a bit confused when you say ActiveModel.  Do you mean ActiveNode (which uses ActiveModel to access Neo4j nodes)?
If you haven't seen it already, you should look into the Query class from neo4j-core which allows you to build cypher queries via Ruby methods.  You can get a fresh query like Neo4j::Session.current.query or you can build one off of ActiveNode like person.association.as_query(:association) or Person.association.as_query(:association), etc...
Also, I've worked on and off to get a neo4j version of rails_admin working here:
https://github.com/cheerfulstoic/rails_admin
It works more or less, I've been trying to get the specs to all pass now.
Great to hear that you're helping to support Neo4j with cancancan!

Yes, sorry I mean ActiveNode.
I tried your fork of rails_admin you mentioned on sferik/rails_admin#1377 and more or less it works for me but I have to disable authorizations (basically comment out the config.authorize_with :cancan, RailsAdmin::Ability line). That's why I am trying to add Neo4j support in cancancan.
Of course if I can get something working I will submit PR and let you know.

I am reading the Query and QueryClauses, but so far it seems to me that there is no support for the OR clause unless writing Cyper.
What I mean i something similar to this Rails PR where one can write
Article.where(published: true).or(Article.where(secret: true))

or using the where_or syntax
Article.where(published: true).where_or(secret: true)

and get something like
MATCH (n:Article) WHERE n.published = true OR n.secret = false

Do you think can it be (easily) done in the neo4j gem?

I don't think it will be easily done, unfortunately.  I've generated Cyhper OR statements programmatically before, though, so I would suggest seeing if you can do that.


bundle install --deployment fails when gem source is specified twice, but Gemfile.lock is modified

Bundler will naturally raise an error after resolving dependencies to stop you from getting into dependency hell. Its stricter --deployment flag will flag any change to Gemfile which hasn't been reflected in Gemfile.lock.
On my local machine, running v1.11.2, the bundle install command ran fine and downloaded the proper gem. On my remote server, running v1.10.3, I get the following error on deploy:
00:06 bundler:install
      01 /opt/rbenv/bin/rbenv exec bundle install --path /var/www/foo/shared/bundle --without development test --deployment --quiet
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as<EMAIL_ADDRESS>bundle exit status: 16
bundle stdout: You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

You have changed in the Gemfile:
* foo-hearts from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
* foo-legacy_passwords from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
* foo-sitemaps from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
* foo-tag_manager from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
bundle stderr: Nothing written

SSHKit::Command::Failed: bundle exit status: 16
bundle stdout: You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

You have changed in the Gemfile:
* foo-hearts from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`

* foo-legacy_passwords from `no specified source` to `rubygems repository

 ¹Gemfile+                                                                                 buffers
https://gems.foo.com/, https://rubygems.org/`
* foo-sitemaps from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
* foo-tag_manager from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
bundle stderr: Nothing written

Tasks: TOP => deploy:updated => bundler:install
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as<EMAIL_ADDRESS>bundle exit status: 16
bundle stdout: You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

You have changed in the Gemfile:
* foo-hearts from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
* foo-legacy_passwords from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
* foo-sitemaps from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
* foo-tag_manager from `no specified source` to `rubygems repository
https://gems.foo.com/, https://rubygems.org/`
bundle stderr: Nothing written

** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:

DEBUG [907e1120] 	[31mYou are trying to install in deployment mode after changing
DEBUG [907e1120] 	your Gemfile. Run `bundle install` elsewhere and add the
DEBUG [ec9af203] 	https://gems.foo.com/, https://rubygems.org/`
DEBUG [907e1120] 	updated Gemfile.lock to version control.
DEBUG [ec9af203] 	* foo-sitemaps from `no specified source` to `rubygems repository
DEBUG [907e1120]
DEBUG [ec9af203] 	https://gems.foo.com/, https://rubygems.org/`
DEBUG [907e1120] 	You have changed in the Gemfile:
DEBUG [ec9af203] 	* foo-tag_manager from `no specified source` to `rubygems repository
DEBUG [907e1120] 	* foo-hearts from `no specified source` to `rubygems repository
DEBUG [ec9af203] 	https://gems.foo.com/, https://rubygems.org/`[0m
DEBUG [907e1120] 	https://gems.foo.com/, https://rubygems.org/`
DEBUG [907e1120] 	* foo-legacy_passwords from `no specified source` to `rubygems repository
DEBUG [907e1120] 	https://gems.foo.com/, https://rubygems.org/`
DEBUG [907e1120] 	* foo-sitemaps from `no specified source` to `rubygems repository
DEBUG [907e1120] 	https://gems.foo.com/, https://rubygems.org/`
DEBUG [907e1120] 	* foo-tag_manager from `no specified source` to `rubygems repository
DEBUG [907e1120] 	https://gems.foo.com/, https://rubygems.org/`[0m
DEBUG [27a5ebf5]

Fixed it by moving the only gem with a git: dependency outside of the source block, but I thought it might be useful to throw a warning or an error, in order to avoid future deployment problems.

In this case, I think the easiest way for you to avoid the error would be to use the fixed version of bundler on your server as well as locally? (If I'm remembering correctly, this is a bug we fixed in 1.11)

@segiddins Ah OK, so this is definitely is/was a bug. Thanks man!


vcf2maf t_ref_count and t_alt_count is not consistently populated

I noticed that the values that we can use to recalculate VAF (t_depth, t_ref_count, t_alt_count) are present in Strelka MAFs but missing from the MAF files from Lofreq VCFs. I am not sure (yet) if Mutect will also be affected. We should ensure this information is consistently present in all MAFs, if possible.

accidental duplicate


Poco

closes #48

Current coverage is 92.00%

Merging #50 into master will increase coverage by +0.20% as of 72ad9c3

@@            master    #50   diff @@
=====================================
  Files          137    140     +3
  Stmts         4405   4529   +124
  Branches       449    469    +20
  Methods          0      0
=====================================
+ Hit           4044   4167   +123
- Partial        145    146     +1
  Missed         216    216

Review entire Coverage Diff as of 72ad9c3

Powered by Codecov. Updated on successful CI builds.


Update prometheus-common dependency to address CVE

Issue link
https://issues.redhat.com/browse/RHOAIENG-1311
What changes have been made
This PR will address a Medium level CVE:
Introduced through<EMAIL_ADDRESS><EMAIL_ADDRESS>and others.
Fixed in<EMAIL_ADDRESS>In order to update this indirect dependency I updated prometheus-common dependency to v.0.46.0 which uses crypto v.0.18.0.
Verification steps
E2E tests passing successfully will suffice.
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] Testing is not required for this change

/lgtm great work!


Bosh ssh output contains Windows line endings on Linux

bosh ssh output lines are terminated by windows line endings on Linux.
steps to reproduce:
$ bosh -e <YOUR_ENV> -d cf ssh router_z1  -c 'uname -a' > /tmp/test.txt
$ cat -v /tmp/test.txt
router_z1/a0bdc9e8-bb56-441b-8a13-37ab7b8785c0: stderr | Unauthorized use is strictly prohibited. All access and activity
router_z1/a0bdc9e8-bb56-441b-8a13-37ab7b8785c0: stderr | is subject to logging and monitoring.
router_z1/a0bdc9e8-bb56-441b-8a13-37ab7b8785c0: stdout | Linux 3c33555f-5fd1-4a1e-a1bf-4ff243b3a780 4.4.0-81-generic #104~14.04.1-Ubuntu SMP Wed Jun 14 12:45:52 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux^M
router_z1/a0bdc9e8-bb56-441b-8a13-37ab7b8785c0: stderr | Connection to <IP_ADDRESS> closed.^M

cat -v  shows the ^M line endings
we noticed this because some line-based unix utilities like xargs -L1  will get confused by windows line endings.
workaround is to remove windows line endings by piping output into tr -d '\015'

Looks like this is still a problem with CLI v 5.3.1
 $ bosh -d zookeeper ssh zookeeper/0  -c 'uname -a' > /tmp/test.txt

 $ cat -v /tmp/test.txt
zookeeper/76e90505-521a-4ad7-93f3-d8dea99894e2: stderr | Unauthorized use is strictly prohibited. All access and activity
zookeeper/76e90505-521a-4ad7-93f3-d8dea99894e2: stderr | is subject to logging and monitoring.
zookeeper/76e90505-521a-4ad7-93f3-d8dea99894e2: stdout | Linux 4fcfa047-85ff-4ef6-8a0f-f5ff76ea898b 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux^M
zookeeper/76e90505-521a-4ad7-93f3-d8dea99894e2: stderr | Connection to <IP_ADDRESS> closed.^M

 $ bosh -v
version 5.3.1-8366c6fd-2018-09-25T18:25:48Z

Succeeded

closing and re-opening to trigger a tracker story

Hello,
It looks like we have not responded to this in a reasonable time, and unfortunately a year has passed. Given this, we are going to close the issue, but please feel  free to re-open the issue. In doing so, a new Pivotal Tracker story will be generated, and we can revisit this.
Thanks again for submitting this, and apologies for closing without a proper resolution at this moment.
BOSH Systems Team - @aashah @luan @jaresty


PDF Export problem, "An unknown error occurred"

Hello, i need some help with my pdf export.
For Bug Reports

BookStack Version (Found in settings, Please don't put 'latest'): v0.20.3
PHP Version: 7.0
MySQL Version: Ver 15.1 Distrib 10.1.26-MariaDB

Current Behavior
Here what i have in my laravel.log :
production.ERROR: Class 'DomPDF' not found {"userId":1,"email":"martial@gmail.com","exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Class 'DomPDF' not found at /var/www/bookstack/app/Services/ExportService.php:130)
I don't know what to do from now, I tried a lot of things :

Update bookstack
Update packets
Try some new configuration in my .env file etc.

I would recommend that you run the following commands,
composer install
php artisan cache:clear

My assumption is that DomPDF is not installed and the composer install should fix it.

Ok i just did
php artisan config:cache
Everything works fine after that. I don't why running this command fix this issue but now i can render .pdf


Added Champaign County Coalition

Hi there! Champaign County Coalition has not been confirmed to support protestors yet, hence why they have not been added to the list. If they are I can add them, but until then I'm living this pull request open.

Hi there! Champaign County Coalition has not been confirmed to support protestors yet, hence why they have not been added to the list. If they are I can add them, but until then I'm living this pull request open.

Thanks! I added a Pr for something showing this info in the Readme, so people wanting to help aren't duplicating the work I did of cross-referencing the NBFN site with the current one without cause. Thanks so much for doing this 😄

Post specifically supporting bail for protesters
https://champaigncountybailoutcoalition.wordpress.com/2020/06/02/free-all-protestors-in-champaign-county/

This looks good to me !


feat: newsletter section added ( frontend + backend )

frontend is responsive and matches the theme of project'
backend is setup using mongodb and express

update on this pr raised?

Re-raise up the PR as the logs were reverted up due to production failure yesterday


How to perform an Role assignment to ASH using Powershell.

Hi There,
I have an Azure Stack Hub running in disconnected mode and currently, it is integrated with the ADFS. I am trying to use the
New-AzRoleAssignment -ObjectId $($GroupDetails.SID.Value) -Scope "/subscriptions/$($LandingZone.SubscriptionId)" -RoleDefinitionId $($roleDefDetails.id) -Verbose
However I am getting the error that principal ID is not valid it's to do with the SID as this command is only expecting the ObjectID Guid. Do you know if I need to specify anything special to get this working with the SIDs?
Thanks and REgards,
Chirag Dave

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

ID: b12c58c5-d502-b45e-9cb8-699be1856deb
Version Independent ID: aae468e2-40d7-007a-e47f-cf30a1238bae
Content: Connect to Azure Stack Hub with PowerShell - Azure Stack Hub
Content Source: azure-stack/operator/azure-stack-powershell-configure-admin.md
Service: azure-stack
Sub-service: azure-stack-hub
GitHub Login: @sethmanheim
Microsoft Alias: sethm

This is the Error I am getting
New-AzRoleAssignment : The content of your request was not valid, and the original object could not be deserialized. Exception message: 'Required property 'principalId' not found in JSON. Path
'properties', line 4, position 3.'
At line:1 char:1

New-AzRoleAssignment -ObjectId "S-1-5-21-291718924-XXXXXXX-3639566 ...

  + CategoryInfo          : CloseError: (:) [New-AzRoleAssignment], CloudException
  + FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureRoleAssignmentCommand

@Chirag1233
could you provide the URL of the specific Microsoft documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team.

@Chirag1233
Thank you for your feedback!
I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.


Changes to implicit/explicit type conversions

Deprecates #to_ary from Enumerator and Statement. Note that Statement#to_ary does not raise deprecation warnings, since it will be called often in Array(statement).
Literal#to_str is added for stringy literal datatypes.

I notice the following:

An array can also be created by using the Array() method, provided by Kernel, which tries to call to_ary, then to_a on its argument.

So, deprecating Statement#to_ary seems safe, but if no message is given, then only the documentation will say. It's a shame we can't tell when #to_ary is called because of Array().

@gkellogg the main place we are calling Statement#to_ary via Array() is in Statement#==.
We could hack around that with a type check (other.is_a?(Statement) ? other.to_a : Array(other)), it seems pretty ugly. More importantly, I think many other clients probably use Array(statement) for similar reasons, and they would be in the same place: with a flood of deprecation warnings coming from code they don't want to change.
We probably have a lot of time to figure out a better plan. I'm not terribly keen on cutting a 3.0 if the only breaking changes are these deprecations.

Array(statement) will use statement.to_a if it does not implement statement.to_ary, according to the documentation.

An array can also be created by using the Array() method, provided by Kernel, which tries to call to_ary, then to_a on its argument.

Yeah, there's no problem just removing it. But Array() doesn't call #respond_to?, instead calling #to_ary, and catching errors (it also passes over nil responses). So you end up with lots of calls to #to_ary via #method_missing and the deprecation warnings to match.

Yes, I'm running into that with keyword arguments too, typically on Statement#to_hash. We'll need to wait to remove the last of this until after we remove the #to_hash method_missing entirely. For Statement#to_ary, we'll just need to wait to remove it entirely on the next major release.

Sure would have been more friendly for Ruby to use respond_to? before simply calling these methods.


ci(node.js): build and test with even versions of Node.js

Summary
I've noticed that even PRs that just involve documentation changes have failed recently due to new Node.js version.
I'm changing the Node.js workflow to only build and test on even versions, which enjoy LTS.
Some modules require Node.js no older than certain number. Please tell me if there's a more robust way to declare Node.js versions.
Test plan
I'm not really sure how to test it on my part. Appreciate any pointer.
Checklist
Please add a x inside each checkbox:

[x] I have read the contribution guidelines.
[x] Code is formatted via running yarn format.
[x] Tests are passing via running yarn test.
[x] The status checks are successful (continuous integration). Those can be seen below.

Thanks for the concern @bytrangle, we decided to go with the hardcode way.


Publish dataset only without the report

Add an optional checkbox when publishing a pbix file skiping the report, thus publishing only the dataset in the file.
Here is the API for reference.

Is published to production and should be available in version 5.4.9.


Remove fetch-canonical-data-syncer scripts

The fetch-canonical-data-syncer script is obsolete as canonical data syncing is now built into configlet.
See https://github.com/exercism/configlet/issues/124
I've tried to update the CONTRIBUTING.md canonical data syncer references too, but this might need some proofreading.

/format


New grabber and block sync

New backend sync'er created for explorer.

BUG: Running sync.js deletes conf.json

why don't you git rebase dev branch or something to resolve conflict ?

so many whitespace changes, only one space change can cause conflict.
too much commits in one PR. why don't you squash or fixup to make less commits.

OK. no problem. you can git fetch etc(or something), git rebase etc/dev, and resolve conflict problem blah blah blah. (I guess you already know that) and just git push -f origin or something back again on to the same branch. all commits will be updated!


Wrong size when chart is rendered inside a transform

If i put the chart inside a element with scale transforms, the chart renders in wrong sizes.
https://codepen.io/ivesklein/pen/QQjVyV

Hello @ivesklein 👋
Chartist has recently been updated to version 1.0 with some new exciting changes like ESM and TypeScript support. The migration guide can be found right here.
Please let me know if the issue is still relevant to you so we can further investigate it!

I have the same problem, with the latest version of chartist. I also made a codepen but it shows the exact same problem as @ivesklein: https://codesandbox.io/s/chartist-animation-size-t11sze

I pushed a fix, but if you want to use/test this fix right now without waiting for this to be merged, you can monkey patch it easily:
import { Svg } from "chartist";
Svg.prototype.width = function () {
  return this._node.clientWidth;
};
Svg.prototype.height = function () {
  return this._node.clientHeight;
};


Write a package installer to make it easy for folks to install the eBPF driver, service and the extension

The goal is to make it easy for folks to play with the infrastructure where they only need to write the ebpf programs at the xdp or the bind hooks for example.
They set the testsigning mode on, double click the installer and get going as a result of this work.

Two parts to this issue:

[ ] Generate MSIX as part of the build
[ ] Make the KM tests actually install the MSIX (instead of zip + scripts today)

Perhaps use MSIX since MSI is deprecated by now? See https://docs.microsoft.com/en-us/windows/msix/overview.
Also, having it packaged in Chocolatey would be useful.

Perhaps use MSIX since MSI is deprecated by now? See https://docs.microsoft.com/en-us/windows/msix/overview.

https://docs.microsoft.com/en-us/windows/msix/packaging-tool/tool-known-issues explains "MSIX currently does not support driver installation." so MSIX is not an option.

@dthaler reassign to alessandrogario to work on, thanks Alessandro!

Initial installer is done, issue #1037 covers the remainder of this work.


Confirmation prompt sometimes disappears

Very confusing to users. I've gotten used to it so I just try pressing "enter" when I suspect so.
#244 would probably fix it.

Fixed in #244


Where is the sha3.h comes from which included in this project?

I have tried to install some sha3 packages, but the definition in sha3.h is not suitable with ethereum. Which sha3 package should I use?
The error message:
/cpp-ethereum/libethereum/State.cpp:966:14: error: no type named 'SHA3_256' in namespace 'CryptoPP'; did you mean 'SHA256'?

I found it in the cryptopp package.


Revert passing model as attribute

Keeping 'shallow copy' changes from last push, but reverting passing the model as an attribute, as it introduces XSS vulnerabilities.

whoops, wrong repo. sorry...


document SCT credentials flow

DOC-6899
Document the flow for adding & using PG and MySQL credentials in the SCT.
Preview: https://deploy-preview-16701--cockroachdb-docs.netlify.app/docs/cockroachcloud/migrations-page.html

I accidentally deleted @kathancox comment. I added it back to the doc but there was also an overall "LGTM"


Downgrade required ruby version

Not everyone is on 3.1.4. yet...

This was an issue when pairing with @carlosmartinez implementing this for Register (which is on 3.1.3)


Allow brick/math 0.10.x

Description
Allows the 0.10.x series of brick/math too. In the v5 branch, we can probably drop 0.8.x and 0.9.x.
Motivation and context
composer outdated this outdated peer dependency. As far as I can tell, upgrading is straightfoward.
How has this been tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

PR checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING.md document.
[ ] I have added tests to cover my changes.

Hmm. tests are failing. i'll try to find some time to debug this later.

Is this different from #427?

Closed in bd2df8d29d7c6801f84179ce3b62915f9fd03636


Update Python chapter

[x] I followed the CONTRIBUTING guidelines.

Below, describe what this Pull Request adds:
Was trying to fix some links, but came across prospector references, so I removed those first (one of the broken links was to our prospector config file in the python-template, which no longer exists there) and added mention of Ruff.
~Will fix other links later.~
Fixed other links as well and updated some details on Conda (miniforge now includes mamba, mambaforge is discouraged).

hi all! i'm not sure this is the right place, please let me know if not ;)
I'm using a language server whenever i can, and for python the best (only?) is https://github.com/python-lsp/python-lsp-server
This comes with its own choice for linter/formatter etc. I really recommend using an LSP to catch errors and find docs!

@jiskattema let's discuss in #317 :)

@bouweandela I merged, since you approved before, but if you'd like to still check the changes, see the last commit :)

I merged, since you approved before, but if you'd like to still check the changes, see the last commit :)

Thanks! Looks great now, except for the addition on auto formatting. I created a new issue for it..


ihaskell-inline-r build failure (ld)

Ping @mboes
[1 of 1] Compiling IHaskell.Display.InlineR ( src/IHaskell/Display/InlineR.hs, dist/build/IHaskell/Display/InlineR.o )
/usr/bin/ld: dist/build/IHaskell/Display/InlineR.dyn_o: relocation R_X86_64_PC32 against symbol `ihaskzuCnkMsWtYB5dJ4n9SfAGPkR_IHaskellziDisplayziInlineR_rprint5_closure' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

Likely due to using a buggy version of ld.bfd, your system's linker. There are two solutions to this:

upgrade your linker to a later version of ld.bfd;
switch to ld.gold.

The HaskellR FAQ has more: http://tweag.github.io/HaskellR/docs/faq.html (see last entry on the page).
Perhaps the update-alternatives lines could be added to the debian-bootstrap.sh script?


jazzband maintain this project

Hi @barszczmm
Look like lots of people want to help to maintain this repository maybe you can consider a project transfer to jazzband ?
https://github.com/jazzband
Just a suggestion!

Hi
Thanks for the suggestion, I did not know about the jazzband. I like the idea, but I decided to actively maintain this project again. However if I'll ever leave it unmaintained for so long again I will probably transfer it to jazzband.


[Bug] Wrong Window Level displayed on wheel stack scroll

Describe the Bug
Hello, I have tried the new version with the update of the dicomImageLoader and it might cause an issue related to image loading.
Bebugging to the code, I try to force update the VOI when scroll. It seems to fix the issue.
/packages/core/src/RenderingEngine/StackViewport.ts

Please review and fix the issue.
Thanks.
Steps to Reproduce

Start the "stackManipulationTools" example with a DX modality series with more than 2 image
Using wheel scroll

The current behavior
The image seems to be displayed wrong.

The expected behavior
When we using Left mouse to adjust the window level a bit. It turn to right displayed.

OS
Ubuntu 18
Node version
v18.12.1
Browser
Chrome Version 111.0.5563.64 (Official Build) (64-bit)

I can confirm that this happens for me too.
Basically if you use setVOI, when you scroll to the next image in the stack, it will not keep the WW&WC.
Also, If you use setVOI and then use the window level mouse tool (even if you change the windowing values with 1) the next image will have the correct windowing values. This kind of tells me that setVOI does not do something that the mouse tool has . Did not dive deeper than this.

In setVOIGPU function, the VOI will be update if it check that the state is changed.

any anonymized data you can share?

Sure, you can check this file https://github.com/tuvm/dicoms/blob/main/4f540962-ea092f4d-bb21f3fb-f9d1296a-adfa0be3.zip

Hello @sedghi, do you have any update for this issue?


update index.yaml to allow activity masters to be retrieved ordered by date

So that a request like this could work:
https://elite-firefly-737.appspot.com/_ah/api/expertstracking/v2.0/activityMaster/activityMaster?limit=100&email=expert%40gmail.com&order=-date
At the moment the frontend gets the activities in "random" order, which (lacking pagination, https://github.com/GoogleDeveloperExperts/experts-app-web/issues/171) , means that newly generated activities might not be available (especially now that all the old activities have been merged).
And even with pagination it would be better to have the newest activities loaded first.
Once the index.yaml is updated the frontend should be updated to use the order parameter.

Indexes are updated please update the front end to use them
@LostInBrittany @justinribeiro


react-use-staet-x has been moved to @hookstate/core

The library has evolved and more advanced now. It has been renamed, so I updated the list.

Thanks :)


improve import performance (using prepared statement) + NF mode option introduced (expand, normal, crop)

prepared statement handles will be cached inside tcl-sqlite:eval using the same unchanged statement, so import of large resp. wide rows runs significant faster now;
because of automatically growing of table (MNF default value is expand) we could set default value of NF to 0, but it would be a little bit backwards incompatible (each table had early always at least 10 columns), so I have left it unchanged;
test cases extended to test all three modes of MNF and to test using of prepared statement.

Thanks for contributing! I've added a CONTRIBUTORS file to Sqawk and credited you there.


rough draft of time arithmetic

Which issue does this PR close?
Closes #527.
What changes are included in this PR?
Adds an ArrowTimeDeltaType for primitive types that can be added to time values. These allow writing the generic add_time kernel in a straightforward way.
The add_time kernel for time arithmetic.
Are there any user-facing changes?
Adds the add_time kernel for time arithmetic.

Codecov Report

Merging #651 (e670b4a) into master (b38a4b6) will decrease coverage by 0.01%.
The diff coverage is 68.11%.

:exclamation: Current head e670b4a differs from pull request most recent head e1a757b. Consider uploading reports for the commit e1a757b to get more accurate results

@@            Coverage Diff             @@
##           master     #651      +/-   ##
==========================================
- Coverage   82.50%   82.48%   -0.02%
==========================================
  Files         168      168
  Lines       47237    47306      +69
==========================================
+ Hits        38971    39019      +48
- Misses       8266     8287      +21

Impacted Files
Coverage Δ

arrow/src/datatypes/types.rs
46.15% <33.33%> (-42.74%)
:arrow_down:

arrow/src/compute/kernels/temporal.rs
90.36% <94.87%> (+1.38%)
:arrow_up:

arrow/src/array/transform/boolean.rs
84.61% <0.00%> (+7.69%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks @bjchambers  -- I hope to check this out tomorrow

Marking PRs that are over a month old as stale -- please let us know if there is additional work planned or if we should close them.

Apologies for also losing the thread on this one. I'm not sure where we want to take this. The main thread of discussion above seems to be on whether (and how) we want to support arithmetic on all types.

Closing this one down to keep the review list clean. Please reopen if that is a mistake


[BUG 4]  organisation name doesn't stick

Preliminary checklist

[X] I have searched the existing issues and confirm this issue has not been reported before.

Current Behavior
Didn't register Orga name

Expected Behavior
Register once and then it stays

Steps to Reproduce
1. Opened the app
2. Went to settings
3. Typed organisation name
4. Trapped update
5. Received info that details successfully updated
6. Closed the app
7. Went back in and noticed it didn't stick

Environment
Android
Final check

[X] I have carefully provided all necessary details and avoided using any placeholders or dummy content just to open the ticket.
[X] I understand that submitting dummy or placeholder content will result in the automatic closure of the ticket.
[X] I understand that to upload screenshots, I simply need to attach them by commenting on this issue after it has been opened.

@Floproptec thanks for submitting bug. Bug will be fixed on time as per our schedule. Cheers


Runtime Error when training S3DIS with Pointnet backbone.

Hi, Thank you for your work!
Currently I'm testing the library and successfully able to train the PointNext-xl following the documentation:
CUDA_VISIBLE_DEVICES=0 python examples/segmentation/main.py --cfg cfgs/s3dis/pointnext-xl.yaml

However, when trying to train the Pointnet architecture:
CUDA_VISIBLE_DEVICES=0 python examples/segmentation/main.py --cfg cfgs/s3dis/pointnet.yaml

I got the following error:
Totally 204 samples in train set
[01/19 19:12:48 S3DIS]: length of training dataset: 6120
  0%|                                                                                | 0/191 [00:06<?, ?it/s]
Traceback (most recent call last):
  File "examples/segmentation/main.py", line 745, in <module>
    main(0, cfg)
  File "examples/segmentation/main.py", line 248, in main
    train_one_epoch(model, train_loader, criterion, optimizer, scheduler, scaler, epoch, total_iter, cfg)
  File "examples/segmentation/main.py", line 363, in train_one_epoch
    logits = model(data)
  File "/home/hri-david/anaconda3/envs/openpoints/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/hri-david/PycharmProjects/Pointnet/PointNeXt/examples/segmentation/../../openpoints/models/segmentation/base_seg.py", line 45, in forward
    p, f = self.encoder.forward_seg_feat(data)
  File "/home/hri-david/PycharmProjects/Pointnet/PointNeXt/examples/segmentation/../../openpoints/models/backbone/pointnet.py", line 170, in forward_seg_feat
    trans = self.stn(x)
  File "/home/hri-david/anaconda3/envs/openpoints/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/hri-david/PycharmProjects/Pointnet/PointNeXt/examples/segmentation/../../openpoints/models/backbone/pointnet.py", line 34, in forward
    x = F.relu(self.bn1(self.conv1(x)))
  File "/home/hri-david/anaconda3/envs/openpoints/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/hri-david/anaconda3/envs/openpoints/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 301, in forward
    return self._conv_forward(input, self.weight, self.bias)
  File "/home/hri-david/anaconda3/envs/openpoints/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 298, in _conv_forward
    self.padding, self.dilation, self.groups)
RuntimeError: Given groups=1, weight of size [64, 7, 1], expected input[32, 4, 24000] to have 7 channels, but got 4 channels instead

Is there any solution for this?  Thank You in advance!

I found the solution by just changing the in_channels: 4 instead of 7 on the pointnet.yaml file.

I found the solution by just changing the in_channels: 4 instead of 7 on the pointnet.yaml file.


Proposed Field Name, Disability

Disability
(1) Open text format to list all disabilities that head of household can claim.
Source: Samuel Kelsey
(2) DisabilityTickYes
Source: The View

Will be resolved by providing text field in PDF, but not having the field auto-populate from the web application.  May consider including handling disabilities later.


Allow customization of DSPy template

Currently the way the instructions and format are passed to the LM uses a hardcoded template with TemplateV2 as far as I understand. I've observed that depending on the model, this format is suboptimal. For example: Llama3-8b-instruct sometimes has difficulty recognizing what are input fields and what are output fields. I think it would be much nicer to have the option to customize all parts of the template by using something like a Jinja template. For example:
{{ instructions }}

{{ part_delimiter }}

Follow the following format.

{%- for field in input_fields %}
 {{ field.prefix }}{{ field.desc }}
{% endfor %}

{%- for field in output_fields %}
 {{ field.prefix }}{{ field.desc }}
{% endfor %}

{{ part_delimiter }}

{%- for field in input_fields %}
 {{ field.prefix }}{{ field.value }}
{% endfor %}

If this is too much work at least dependency injection of the Template class would be cool to have, such that we don't have to fork DSPy for every change in template that we want. I can offer to contribute on this, but I'm not familiar enough with the lib to say how much effort this would be.

could be achieved with a relatively light touch using a cm and context vars?

This is now possible by subclassing dspy.Adapter (like dspy.ChatAdapter) and setting dspy.configure(adapter=YourAdapter())


fix: update fastify and plugins to 5.0

In this PR:

Updates to fastify and related dependencies to be on the latest release (5.0)

Checklist:

[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

[x] Have you lint your code with pnpm lint locally prior to submission?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran build with pnpm build of your changes locally?
[x] Have you successfully ran tests with pnpm test of your changes locally?
[x] Have you commit using Conventional Commits?

@all-contributors add @thyming on code

@thyming could you change the commit type to fix?
It's a dependency update, I know, but I would still like to create a patch to ensure that Fastify 5 does not carry any breaking changes.

 It's a dependency update, I know, but I would still like to create a patch to ensure that Fastify 5 does not carry any breaking changes.

you got it 👍

:tada: This PR is included in version 2.2.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@thyming I tried to run the new version with fastify 5 but I keep getting this error
/home/app/node/node_modules/.pnpm/@fastify+error@4.0.0/node_modules/@fastify/error/index.js:18
      return new FastifyError(...args)
             ^
FastifyError [Error]: logger options only accepts a configuration object.
    at FastifyError (/home/app/node/node_modules/.pnpm/@fastify+error@4.0.0/node_modules/@fastify/error/index.js:18:14)
    at createLogger (/home/app/node/node_modules/.pnpm/fastify@5.1.0/node_modules/fastify/lib/logger-factory.js:100:11)
    at fastify (/home/app/node/node_modules/.pnpm/fastify@5.1.0/node_modules/fastify/fastify.js:139:33)
    at createApp (/home/app/node/src/app.ts:11:15)
    at <anonymous> (/home/app/node/src/index.ts:6:13)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5) {
  code: 'FST_ERR_LOG_INVALID_LOGGER_CONFIG',
  statusCode: 500
}

Node.js v20.13.1

any clue?

@matteovivona i can't reproduce...any chance you need to build?


Non-KVC-compliant JSON keys don't deserialize as expected

Hi,
I found bug while parsing json data. When we have special name of property in json (@description). Please look on my repo https://github.com/7tomek/JSONModelTests there are patch with test and lldb-console (print object).

Hi @7tomek. Rather than creating a patch file, could you fork this repo and commit the changes directly to that? Makes it much easier for us to work with your changes.

https://github.com/7tomek/JSONModel/commit/026d32de0070c795c8cd14ad7682e8372a94fa78

Thanks for that. Okay, so basically you've stumbled upon a feature of KVC in Obj-C.
See: https://stackoverflow.com/a/20453438
@ at the start of a dictionary key when calling keyPath methods (as JSONModel does) has special meaning. This functionality allows JSONModel to support patterns like this:
https://github.com/icanzilb/JSONModel/blob/master/JSONModelDemoTests/UnitTests/TestModels/ExtremeNestingModel.m#L17
As such, we can't remove or change this functionality. We might be able to escape or handle specifically the @ operators though.

Looks like the operators cannot be escaped. As such, we will not be able to resolve this without removing the keyPath feature.
Unless you have any other suggestions, I suspect we simply won't be able to fix this one I'm afraid...

I'm inclined to say that this should be resolved in a JSONModel v2 which allows for more explicit configuration via the implementation file.


Improve is_zero method

Resolves #73

Codecov Report

Merging #399 (b37c891) into main (65ecba3) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #399   +/-   ##
=======================================
  Coverage   96.40%   96.40%
=======================================
  Files          50       50
  Lines       11088    11088
=======================================
  Hits        10689    10689
  Misses        399      399

Impacted Files
Coverage Δ

src/vm/vm_core.rs
94.94% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Amazing!


Add appropriate building types in certain presets.

When adding a shop, office, or some other presets building=yes is applied. In some cases, a more specific value could be automatically applied. For shops this would be building=retail and for offices building=office. Some more example are the presets of certain religious churches with building=church and hotels with building=hotel. I propose that this more specific value should be added. It will be right more times than it is wrong, and when it is wrong there just simply won't be a building there so the user can remove the tag.
The GIF below shows many of the above examples and how they would be changed.

In the same vain, we should consider removing "XXX Building" presets, which only bring building=XXX tag but not the corresponding amenity tag. Those can easily lull inexeperienced mappers into using and thinking the job of mapping a church or hotel is done, when it's in 99% cases incomplete at best.
It is not particularly common to have former hotel or church buildings reused into something else. Even when it occurs, experienced mappers would know to append building=church to amenity=library to describe a church repurposed into a public library.

unfortunately, the current schema does not allow including such suggested tags.[^1] see https://github.com/ideditor/schema-builder/issues/29
[^1]: a workaround would be to create a dedicated building_area for each required "default" value, but that would be a large additional amount of work to maintain (and translate).


How i can Add Button inside Toast

I need to add button inside toast
there is anyy way to do that

Can you please align this plugin to match material spec
for Android : https://material.io/develop/android/components/snackbar/
for iOS: https://material.io/develop/ios/components/snackbars/
This will be good if implemented, as we can have custom action button

Happy to merge a PR as usual!


SSE4/SSE2 bug fix for SIMD.Int8x16

SSE4/SSE2 bug fix for SIMD.Int8x16

Hi @arunetm, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Arun Purushan (Intel Corp)). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@MikeHolman Can you please review this change. Thanks!

lgtm

@abchatra Can you please review this change.


Enhance the ugly error in constructor when no data passed

This fix enhances the issue 8860.
I did not add any test since I believe it is not needed for this case since we did not add any functionality.

[X] Closes #8860
[ ] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

Thanks @aimtsou !
(a test would be nice but probably not strictly required...)

@max-sixty: Thank you for the clarification, I will take a look at your tests to see how they are written.
Are commits being squashed or I have to do it?
Also i see this check fails, "Read the Docs build failed!" but I assume it is not something on my end since I did not touch the documentation.

I will take a look at your tests to see how they are written.

For example https://github.com/pydata/xarray/blob/db680b0d99d4dacd9b0f520f9ee71d5c052516c0/xarray/tests/test_dataset.py#L6799

Are commits being squashed or I have to do it?

We take care of that!
Thanks @aimtsou !

Looks great! A follow-up PR with a test would be good but not strictly required. And feel free to add a changelog.
These sorts of PRs are very much appreciated, please keep them coming!
(@Illviljan & @dcherian I'm merging a bit quickly because I think it's important folks can make a quick change without having other things "hung onto the Christmas tree", and I reckon error messages are underrated by us devs #8264 )


Add a warning if any clip can't be obtained from a video in VideoClips.

Fix #2510

@bryant1410 Could you add a test that hits the new warning?

@bryant1410 Could you add a test that hits the new warning?

Done! (and rebased)


pub-cache/git corruption not resolvable with 'pub repair'

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

I wish I had exact steps, but our team is regularly encountering issues with this
It seems to occur most often when switching the version of a dependency
We regularly use git/url/ref dependencies for internal libraries, could be a contributing factor

What is the expected output? What do you see instead?
pub serve / pub get should work
Instead, we see errors like: + internal_library_name 0.0.0 from git {ref: 1.1.0, url: git@github.com:username/internal_library_name.git}
Git error. Command: git checkout 1.1.0
What version of the product are you using?
Dart 1.8.3
On what operating system?
OS X 10.10
What browser (if applicable)?
Dartium
Please provide any additional information below.

This issue has been moved to dart-lang/pub#1247.


Handle special characters in CF password

My password on CF contained special characters. Like &, @, !. The POST-request with curl didn't liked these at all.
This pull request fixes the problem by URL-encoding these special characters.

Btw, this plugin is awesome. Why didn't I find it earlier?

 Thanks for the contribution.


Video continues when screen locked on Android

When a video is playing and you lock the screen the video continues to play. This consumes data & battery - not good.

Android's VideoView does not store instance state by default so you would need to add some code to your main activity to handle saving, pausing, and restoring the instance state of the player. That roughly looks something like this from this Stack issue:
public void onResume() {
    super.onResume();
    myVideoPlayer.Seek(stopPosition);
    myVideoPlayer.Play();
}

// This gets called before onPause so pause video here.
public void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);
    stopPosition = myVideoPlayer.CurrentTime;
    myVideoPlayer.pause();
    outState.putInt("position", stopPosition);
}

Then in your onCreate() call the stopPosition from the bundle and set it globally:
protected void onCreate(Bundle args) {
    super.onCreate(args);
    if( args != null ) {
        stopPosition = args.getInt("position");
    }
}


#bug:instance of type "gorm.DB" can't be resolved.

instance of type "gorm.DB" can't be resolved.
go version go1.12.6 windows/amd64
github.com/jinzhu/gorm v1.9.10
	// go orm 	db ,err := gorm.Open(c.DB.Driver,c.DB.Dsh) 	if err != nil{ 		log.Fatalf("数据库连接失败 %v" ,err) 	}

CI.MustResolve(db)

oh , now it's working


Release 0.2.2

We have tagged the release, built the Fedora and Copr packages and sent the email to the public mailing list.

Fedora 32: https://koji.fedoraproject.org/koji/buildinfo?buildID=1456592
Copr nmstate-0.2:
https://copr.fedorainfracloud.org/coprs/nmstate/nmstate-0.2/packages/
Copr nmstate:
https://copr.fedorainfracloud.org/coprs/nmstate/nmstate/packages/

The PyPi update is missing

PyPi release done: https://pypi.org/project/nmstate/#history


feat: upgrade shiki to 0.10.1

This PR upgrades the upstream dependency of shiki to 0.10.1.
I was unable to find a changelog of what was changed in<EMAIL_ADDRESS>over 0.9.15  outside of this list of commits:
https://github.com/shikijs/shiki/compare/1d5379138d706239c6bf9c337f655d40ad0bd92e...v0.10.0
And looking through each of the commits, I couldn't see an obvious breaking API that would require major refactor work.
Closes #155

Happy to add a changeset - should this be marked as a major change or minor?

I don't have write access to make the changeset - but I'd say this is probably a minor, I also don't think there should be any user-land changes from this

Changeset has been added. Wasn't quite sure what more to write for the CHANGESET, let me know if there's a better way to communicate the new features/syntaxes supported by the new versions of Shiki

This should be fine

@orta this doesn't seem to've published according to NPM and the build logs:

gatsby-remark-shiki-twoslash: fetching versions...
gatsby-remark-shiki-twoslash: got 52 published versions.
gatsby-remark-shiki-twoslash: 3.0.34 is already published. skipping.

I still like to have a human hand in deployment, that's gone through now


ZEPPLIN-976 ] HotFix - zeppelin server does not restart when incorrect credentials data.

What is this PR
zeppelin server does not restart when incorrect credentials data.
reproduce.

Click to zeppelin home for web ui.
Click to zeppelin Credentials.
'Entity' information without writing, username and password only written to storage.
Click to zeppelin home for web ui.
Click to zeppelin Credentials.
and zeppelin restart.

but, Zeppelin does not work.
It creates the wrong json file. 'conf / credentials.json' according to the null.
What type of PR is it?
Hot Fix
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-976
How should this be tested?

Click to zeppelin home for web ui.
Click to zeppelin Credentials.
'Entity' information without writing, username and password only written to storage.
Click to zeppelin home for web ui.
Click to zeppelin Credentials.
and zeppelin restart.

zeppelin does work!
Reproduced Screenshots

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

retry ci

@cloverhearts thank you for hotfixing!
How do you think, is there a chance we could have a test that reproduces this issue under this PR or do you think it would be to hard add?

@bzz
I think this is a very serious problem.
In my personal opinion, first merge this PR, and improve Credentials feature in future ( new pr ).
Problem situation, please refer to the screenshot.
Reproduce the problem, please note the following:

Click to zeppelin home for web ui.
Click to zeppelin Credentials.
'Entity' information without writing, username and password only written to storage.
Click to zeppelin home for web ui.
Click to zeppelin Credentials.
and zeppelin restart.

The fix looks good to me. But like @bzz mentioned, it will be even better if there're unittest for this problem.

@bzz @Leemoonsoo
I am sorry.
do you mean the test code for this feature?

@cloverhearts yes, if that is not very hard to do

@bzz Okay, i would be make it.
Thank you so much.

add test code about invalid request for credentials api

retry ci

@cloverhearts Seems like integration test fails, can you fix it please?
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 120.219 sec <<< FAILURE! - in org.apache.zeppelin.integration.ParagraphActionsIT
testTitleButton(org.apache.zeppelin.integration.ParagraphActionsIT)  Time elapsed: 16.504 sec  <<< FAILURE!
java.lang.AssertionError: After Hide Title : The title field contains
Expected: ""
     but: was "Untitled"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:865)
	at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65)
	at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78)
	at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63)
	at org.apache.zeppelin.integration.ParagraphActionsIT.testTitleButton(ParagraphActionsIT.java:355)

@minahlee it's not my issue.
I think the problem seems to arise from a sudden UI test master branch.
Let's solve the problem from a different PR.
One will stop working on this feature.

LGTM.
@minahlee The selenium test of travis has a problem so @corneadoug is fixing now.

ci pass.
please, check to this pr.

@cloverhearts thank you for adding tests!
Looks great to me, merging if there is no more discussion


Testing errors

With sbt-traceur in a Play 2.3.x app, running the test target within SBT (activator) fails. If there are no test classes under test/assets/javascripts, the following error occurs:
$ last web-assets-test:traceur
java.util.concurrent.TimeoutException: Futures timed out after [0 hours]
	at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219)
	at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:223)
	at scala.concurrent.Await$$anonfun$result$1.apply(package.scala:107)
	at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
	at scala.concurrent.Await$.result(package.scala:107)
	at com.typesafe.sbt.jse.SbtJsTask$$anonfun$executeJs$1.apply(SbtJsTask.scala:401)
	at com.typesafe.sbt.jse.SbtJsTask$$anonfun$executeJs$1.apply(SbtJsTask.scala:397)
	at com.typesafe.sbt.web.SbtWeb$.withActorRefFactory(SbtWeb.scala:441)
	at com.typesafe.sbt.jse.SbtJsTask$.executeJs(SbtJsTask.scala:396)
	at com.typesafe.sbt.traceur.SbtTraceur$$anonfun$runTraceur$1.apply(SbtTraceur.scala:77)
	at com.typesafe.sbt.traceur.SbtTraceur$$anonfun$runTraceur$1.apply(SbtTraceur.scala:59)
        ...

I suspect this is because of the following line in SbtTraceur.scala:
(timeoutPerSource in traceur).value * inputFileCandidates.size

If I add an empty Javascript main.js file under test/assets/javascripts, I get a different error:
[trace] Stack trace suppressed: run last web-assets-test:assets for the full output.
[error] (web-assets-test:assets) Duplicate mappings:
[error] 	/home/bmc/src/mystuff/play/pwguard/pwguard/target/web/public/test/public/main.map
[error] from
[error] 	/home/bmc/src/mystuff/play/pwguard/pwguard/target/web/resources-managed/main/javascripts/main.map
[error] 		/home/bmc/src/mystuff/play/pwguard/pwguard/target/web/resources-managed/test/javascripts/main.map
[error] 	/home/bmc/src/mystuff/play/pwguard/pwguard/target/web/public/test/public/main.js
[error] from
[error] 	/home/bmc/src/mystuff/play/pwguard/pwguard/target/web/resources-managed/main/javascripts/main.js
...

Have you gotten testing to work at all with sbt-traceur in the mix?

OK. I've fixed the issue. When no source files are found, the task is simply skipped.
Regarding your work-around, sadly sbt-web doesn't allow you to have repeated file paths, and files from "src" are combined with the ones from "test" for testing. So if you need some test specific javascript files (for instance, javascript tests!), my suggestion is to store them in test/assets/javascript-tests (and javascript-tests/main.js is going to be their default main module source path)
I'm going to publish 1.0.1 latter today with the fix

Published

Hi, the 1.0.1 release fixed my tests, but breaks play run. Traceur is not executed anymore.
Here are my settings:
sourceFileNames := Seq("app/*/module.js", "app/*/*/**/*.js"),

Any ideas?

Does module.js include any of the other files?
You are using one compiled file per original file approach right?
El domingo, 17 de mayo de 2015, Felix Dietze<EMAIL_ADDRESS>escribió:

Hi, the 1.0.1 release fixed my tests, but breaks play run. Traceur is not
executed anymore.
Here are my settings:
sourceFileNames := Seq("app//module.js", "app///**/.js"),
Any ideas?
--
Reply to this email directly or view it on GitHub
https://github.com/arielscarpinelli/sbt-traceur/issues/1#issuecomment-102814878
.

No, module.js does not include any file, it just needs to be sourced before the other javascript files, because they depend on it. We compile all javascript files to one 'main.js' file.

Well if module.js is imported by other files you shouldn't need to
explicitly add it unless you need to do some workaround with the import
paths
I'm curious then how to you are going to make the es6 code available to the
rest of the app if no file refers to other but your are building a main.js
output file?
El martes, 19 de mayo de 2015, cornerman<EMAIL_ADDRESS>escribió:

No, module.js does not include any file, it just needs to be sourced
before the other javascript files, because they depend on it. We compile
all javascript files to one 'main.js' file.
--
Reply to this email directly or view it on GitHub
https://github.com/arielscarpinelli/sbt-traceur/issues/1#issuecomment-103659440
.

module.js is also not included directly by the other files. We use angular and just define our modules/services/controllers in the js files, so the whole app in the end is tied together by angular. Thus, only the module definitions (module.js) need to be executed before the rest of the app, as they need to be defined when used by the all the other js files.


chore: Adding Rarity field for My Collection Add work form

The type of this PR is: TYPE

This PR resolves CX-2201
Description
This PR resolves to add a rarity field with the dropdown menu in my collection artwork form.

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[x] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Added rarity field on My Collection Artwork form - Sam

iOS user-facing changes

Android user-facing changes

Dev changes

Warnings

:warning:

We are trying to migrate away from react-test-renderer towards @testing-library/react-native, but found Test-Renderer imports in the following new unit test files:

src/lib/Scenes/MyCollection/Screens/ArtworkForm/Components/RarityPicker.tests.tsx

See Pill.tests.tsx as an example, or the docs.

This PR contains the following changes:

Cross-platform user-facing changes (Added rarity field on My Collection Artwork form - Sam)

  Generated by :no_entry_sign: dangerJS against 31d30f54031c3c9abba930ef9b14c904a1253002


internal / external link detection  is wrong?

Function _isInternalDecisionMaker falsely detects that the link is external
protected Func<Uri, Uri, bool> _isInternalDecisionMaker = (uriInQuestion, rootUri) => uriInQuestion.Authority == rootUri.Authority;

EG :
http://docs.mysite.com/P1.html has a link such as http://www.mysite.com/
rootUri.Authority = docs.mysite.com
uriInQuestion.Authority = www.mysite.com

=> _isInternalDecisionMaker return False
Or is True because. docs or www are subdomains. www.mysite.com is internal.
To detect if link is internal or external, you can use domainname-parser lib.

This is the expected behavior due to them being different subdomains. You can override doing something like the solution described here...
https://groups.google.com/forum/#!searchin/abot-web-crawler/IsInternalUri/abot-web-crawler/EOdKQK0d_5U/KMuI53msTBgJ


Fix HMR (with versioning enabled)

I found some bugs with both HRM and versioning enabled (related to "Mix Manifest" plugin _ mix-manifest.json).
How to reproduce:

You need to have, at least, one entry point in your webpack.mix.js config (e.g. "resources/js/app.js")
Versioning need to be enabled (using "version" method)
Run webpack-dev-server in inline and hot mode (be sure to have a clean output folder, don't run "webpack" before to create dist files)

--> Compilation seems to be OK and webpack-dev-server listening properly, but its not. You can't access to any assets (e.g. http://localhost:8080/js/app.js not responding)
Fixes:
First, applyVersioning (in CustomTasksPlugin) shoud be disabled in HMR because it tries to compute the hash of files (compiled assets) that don't exist on the disk. Webpack-dev-server, by default, do not write any file on the disk. Execution fails silently in hash function (it was really hard to find out because, by default, nothing is ouputed in console! EDIT: errors are showing up using "master" branch vs "5.0.4")
Then, I found out another bug, when you update your entry point file (in my case app.js), Mix Manifest refresh itself and add the hot-update chunk file into its list. Then, try to get its hash (and fail because, hot-update chunk are not writen on the disk). Theses chunk should not be handled by Mix Manifest.
Feel free to ask me if you want more details about it. Thanks!

Really great work! Thank you.
This fixes a frustrating issue where you have to keep restarting the server every now and then during development. I am currently developing using lneveu/laravel-mix#master and it seems to work well. Would love to see this merged in the near future.

Thank you!


AI Image Generator

Project-Guidance! 🎊🎈
Welcome! 🎉
Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! ⭐
🎉 Have you reviewed the Contributing Guidelines? 🤔 (Required)

[x] YES
[ ] NO

📝 Description
The AI Image Generator solves key issues by automating the creation of custom images from text prompts, saving users time and effort. It eliminates the need for manual design skills, reliance on stock images, and the high cost of hiring designers, making it easy for anyone to generate unique visuals quickly and affordably.
🔧 Fixes #1435  (Required)

🏷 Initiative Participation (Required)
This pull request is associated with the following initiative. Please choose the one you are contributing to:

[ ] 🌸 GSSoC (Girl Script Summer of Code)
[ ] 🌼 GSSoC 2024 Extd.
[x] 🍂 Hacktoberfest 2024
[ ] ❄ Script Winter of Code (SWoC)
[ ] ⛄ Winter of Blockchain (WoB)
[ ] 🙋♂ Personal
[ ] 📌 Other (please specify): _______________

@Kushal997-das  I've made the changes you can verify it

@Kushal997-das kindly review this  i've updated the changes as you said  and merge this

@damarudhvarma,
Hi, I noticed that your hosted link is not working. Could you please check it? Additionally, kindly delete any unnecessary files.
It would also be great if you could make your README.md file more interactive and change the project name from "Image Generator" to "AI Image Generator."
Thank you!

@Kushal997-das  the changes are done you can review now and the hosted link. is also working fine

@damarudhvarma Resolve the conflicts.

@Kushal997-das  resolved conflicts.


Support custom ID, and then disallow duplicates (RFC)

Currently Noty assigns a DOM id as a random(-ish) string. I wondered if there is a good reason a user could not specify their own ID? And, then if that ID is already in use, do nothing. The patch is to replace this line:
this.options.id = 'noty_' + (new Date().getTime() * Math.floor(Math.random() * 1000000));

With:
if(this.options.id){
  if($.noty.store[this.options.id])return;  //Already there, do nothing
}else{
  this.options.id = 'noty_' + (new Date().getTime() * Math.floor(Math.random() * 1000000));
}

This then gives a graceful solution to this kind of issue:
http://stackoverflow.com/q/22712194/841830
(At least, my understanding of that question! In my case I have a help icon on screen, and I have that add a type:"information" Noty object. But if the user clicks the help icon three times, we end up with three boxes on screen! My current crude workaround is to use killer:true)
It can also allow doing this kind of thing:
$.noty.close("noty_myHelpBox");

without having to record the return object from the noty() calls, or worry about if the help icon has been clicked or not.
(My use case for that is in a web app: when the user clicks a link to go to a new page, I want to remove any information boxes, which probably only applied to the page they were looking at, but still leave any error or alert boxes on screen, to be sure they have seen and processed them.)

Hi,
Is this feature added or no plans on this.
This is not working for me. It is showing duplicates even though i pass ID.
var i = 0;         //Noty.closeAll();         for(var error in errorOBJ){             i++;             new Noty({                 text: errorOBJ[error],                 type: "error",                 container: "#noty-container",                 timeout: false,                 id: "noty_bar_" + i             }).show();         }
Infact the max 5 notification is also not working with custom id passing.


kube2pulumi attempts to resolve literal string as variable

What happened?
kube2pulumi seems to be attempting to resolve part of a literal string as if it were a variable reference. It crashes when it can't find the obviously non-existent variable.
❯ kube2pulumi python -f test.yaml -o output.py
Error: Error: undefined variable datasource

  on pcl-1684386708.pp line 3:
   4: some_field = "{\\\"uid\\\": \\\"${datasource}\\\"}"

Usage:
  kube2pulumi python [flags]

Flags:
  -h, --help   help for python

Global Flags:
  -d, --directory string    file path for directory to convert
  -f, --file string         YAML file to convert
  -o, --outputFile string   The name of the output file to write to

unable to run program: Error: undefined variable datasource

  on pcl-1684386708.pp line 3:
   4: some_field = "{\\\"uid\\\": \\\"${datasource}\\\"}

Perhaps it is treating the literal as a format string?
Expected Behavior
I expect it to insert the literal string exactly as it is defined in the yaml input file. It should not attempt to resolve any variables inside the literal string.
Steps to reproduce
apiVersion: v1
data:
  some_field: "{\"uid\": \"${datasource}\"}"
kind: ConfigMap
metadata:
  annotations: {}
  labels:
    app: my-app
  name: my-app-configmap

Put something like that in a test.yaml file, then try to run kube2pulumi.
kube2pulumi python -f test.yaml -o output.py

Output of pulumi about
CLI
Version      3.70.0
Go Version   go1.20.4
Go Compiler  gc

Plugins
NAME             VERSION
aws              5.41.0
cloudinit        1.3.0
command          0.7.2
crds             0.0.0
docker-buildkit  0.1.21
fivetran         0.1.6
frontegg         0.2.24
kubernetes       3.29.1
purrl            0.4.0
python           unknown
random           4.13.2
tls              4.10.0

Host
OS       fedora
Version  37
Arch     x86_64

This project is written in python: executable='/home/alex/git4/cloud/venv/bin/python3' version='3.11.3
'

Current Stack: materialize/mzcloud/alexhunt

[redacted huge list of urns]

Additional context
kube2pulumi version v0.0.12
This is a reduced simplified example. The actual K8S resources we're trying to convert is from rendering the Kubecost cost-analyzer Helm chart with helm template.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

The following patch seems to escape the $.
diff --git a/pkg/yaml2pcl/yaml2pcl.go b/pkg/yaml2pcl/yaml2pcl.go
index 5d9ba6b..1c4e314 100644
--- a/pkg/yaml2pcl/yaml2pcl.go
+++ b/pkg/yaml2pcl/yaml2pcl.go
@@ -288,6 +288,7 @@ func walkToPCL(v Visitor, node ast.Node, totalPCL io.Writer, suffix string) erro
                                        s = s[:len(s)-1]
                                }
                        }
+                       s = strings.ReplaceAll(s, "$", "$$")
                        strVal := fmt.Sprintf("%q%s", s, suffix)
                        _, err = fmt.Fprintf(totalPCL, "%s\n", strVal)
                        if err != nil {

Thank you for reporting this @alex-hunt-materialize
Yes, it does sound like we miss an encoding there. I don't know if it's as simple as your diff or whether it may break something currently working - would need to add tests to prove it out. Any chance you want to open a PR?

Do you have any documentation on how to run your tests? My Go skills are... not great, and go test ... didn't do what I expected.

Do you have any documentation on how to run your tests? My Go skills are... not great, and go test ... didn't do what I expected.

Thanks for providing a diagnosis and fix for this issue @alex-hunt-materialize. I've included that in #91 which is now merged in.
For future reference, the tests can be run with go test ./... from the root of this repo.

trying out version 0.0.13, i'm now seeing duplicated $ in some places - i think the fix may have been too simplistic, and it should only have replaced ${ with $${ instead, or something like that? i'm not familiar at all with the actual escaping rules going on here. as an example:
apiVersion: v1
data:
  some_field: "{\"uid\": \"$(datasource)\"}"
kind: ConfigMap
metadata:
  annotations: {}
  labels:
    app: my-app
  name: my-app-configmap

(the same as above except using $() instead of ${}) produces this output:
import pulumi
import pulumi_kubernetes as kubernetes

my_app_configmap_config_map = kubernetes.core.v1.ConfigMap("my_app_configmapConfigMap",
    api_version="v1",
    data={
        "some_field": "{\\\"uid\\\": \\\"$$(datasource)\\\"}",
    },
    kind="ConfigMap",
    metadata=kubernetes.meta.v1.ObjectMetaArgs(
        annotations={},
        labels={
            "app": "my-app",
        },
        name="my-app-configmap",
    ))

which is wrong. (the previous example which used ${} now does work and correctly result in a single $ in the output.)

Re-opening to come up with a more robust solution.

v0.0.14 should address this. Digging into this, it looks like we only need to escape whenever ${ occurs as identified by @doy-materialize.


⚠ Bofrost.at has degraded performance

In 927f3d5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1390 ms

Resolved: Bofrost.at performance has improved in a80bc84 after 20 minutes.


Fix FAB while scrolling on Dashboard

Fixes #145
Please let me know if there are any changes @kshitijalwadhi

Hey @rish07 . Please attach some GIF's to demonstrate the changes (similar to screenshots in your previous PR).

@kshitijalwadhi will fix the flutter analyze bug but I can't seem to find the hard wrapping option in my Android Studio:

You are at the correct place afaik. Try changing that 80 to 900 and save the files again.

@Deepanshu-Rohilla

@kshitijalwadhi Changed it to 900 and fixed the analyze bug.

The problem with hard-wrap still seems to be there.
@Deepanshu-Rohilla can you guide him how to fix that in Android Studio?
I have only worked on VS Code.

@kshitijalwadhi one way to fix it is to merge this PR, pull the new code on your system, change the formatting and push the changes as an amend to my previous commit

@rish07 This is the setting in my machine currently (macOS).
Make sure that after changing the settings from 80 to 900, you've again reformatted the changed files (using reformat code with dartfmt option).
If the problem still persists, you check https://github.com/devclub-iitd/ShareACab/blob/master/CONTRIBUTING.md for stackoverflow links.

@Deepanshu-Rohilla There doesn't seem to be any such option in my version of the Android Studio(4.1.1).

Ah right @kshitijalwadhi just saw it on my physical device. Let me find another approach to this. The problem is FAB is on Dashboard widget but the scrolling in the triplist.dart. So even tho I can detect the scroll direction in the child, the only way I can update the state of the parent is to call a function that sets the state of the Dashboard widget. That is what I have done here, I am not sure why is it setting states abruptly. Do you have any approach in mind?

@kshitijalwadhi fixed the hard wrapping issue

I would suggest moving the FAB on triplist.dart, so we can access setState only when needed. Or do let me know if there's any other approch

Try out the approach that you think might work out.

Closing this pull request now. Because this feature was already added in another pr.


Need a JSON schema for the Registry v2 API

In addition to the Docker registry v2 API spec, a formal JSON schema definition would be needed to allow for easy, correct and reproducable (i.e. auto-generatable) client development.
Currently, e.g. as a Java developer, I have to issue sample requests according to the spec and feed the JSON output to my code generator of choice to get my mapper objects, which is suboptimal.

@grexe It is available here. If you would like it to be done in a specific format, you're welcome to provide a PR.

@cliffbdf Contributions are welcome. We probably won't be porting the registry API to GRPC anytime soon, as GRPC isn't yet flexible enough (tied to http/2). There are also framing issues to consider when using GRPC. Large data streams end up having to be chunked then framed into a message, creating unnecessary data copies (Go handles this fine, but other languages may not). HTTP API just streams the body. Pure client implementations end up being quite performant from a transfer perspective.
If you're having a specific problem with the API, please say so. Switching protocols isn't realistic.

@stevvooe Yes, re. HTTP/2, but it might only be an issue of Go language support. According to the HTTP/2 web page, it does not change any of the application-level protocol semantics (headers, etc. that are used by applications): "HTTP/2 is a replacement for how HTTP is expressed “on the wire.” It is not a ground-up rewrite of the protocol; HTTP methods, status codes and semantics are the same, and it should be possible to use the same APIs as HTTP/1.x (possibly with some small additions) to represent the protocol." But this does not mean that it is available right now from the golang libraries. I have not used HTTP/2 so I cannot say. But I suggest keeping an eye on this, because gRPC is a far superior and cleaner approach, once using it becomes viable - perhaps Registry v3?

Image Manifest schemas are managed by OCI. Please open an issue in https://github.com/opencontainers/distribution-spec


some instances are wrongly marked as dead

Misskey Social went into deads.txt API file by mistake.
No italian server is listed.
Please remove from api deads.txt any PR can't be issued, must be done by hands.

It seems that requests from the joinmisskey API are not getting through, bot protection or something else may be at fault.
Allowing the following UserAgent may solve the problem:
JoinMisskey/0.1.0; +https://join.misskey.page/instances

I can't grep -i joinmisskey bot inside reverse proxy nginx access log.
Which server's endpoint is asked?

misskey.de also was blacklisted as dead, but we're both alive and competing as beautiful Misskey European servers  🥺

Listed in deads.txt doesn't mean blacklisted. It means the bot couldn't access to the servers.

Which server's endpoint is asked?

/.well-known/nodeinfo

I was able to curl nodeinfo paths (well-known and 2.0) but no evidence of joinmisskey client.
While I was reading logs, got istantly a ping:
58.96.yyy.xxx - - [24/Jul/2023:23:47:48 +0000] "GET /.well-known/nodeinfo HTTP/1.1" 200 114 "-" "mint/1.5.1"
58.96.yyy.xxx - - [24/Jul/2023:23:47:48 +0000] "GET /nodeinfo/2.0 HTTP/1.1" 200 1300 "-" "Akkoma 3.9.3-28-g9d7c877d; https://fedi.worf.win<EMAIL_ADDRESS>


[BE-198] Set hanging exitcode

Checklist

[x] I've read and followed the Contribution Guidelines
[x] step.yml and README.md is updated with the changes (if needed)

Version

Requires a PATCH version update
Context
Will handle failure to boot Xcode Simulator as the Step would have hanged. This way we can collect these builds the same way as other hanged builds.

Changes

Investigation details

Decisions

Closing until furhter notice.


more expressiveness of narrow query

For more powerful way to narrow items on the list.
This is for how query keyword is treated in narrowEditor.

Settled: Keyword is separated by  #white-space.

Type of query(regex/simple-keyword) has to be treated per query-word.

Settled: simple-keyword: Internally filtered by _.escapeRegExp

When no special prefix is used as query.
Case sensitivity(sensitive/insensitive/smartcase) is handled per query-word.
What if I want to search space itself or space contained keyword as simple-keyword?

No I can't, but maybe it's OK. Use regex \s.

Wild card helper support?

When I want to search keyword starting pre- keyword.
I can use * as wildcard.
e.g. pre-* matches pre-a, pre-abc etc..
e.g. pre-*llo*suffix matches pre-hello-worldsuffix etc.
Single * matches non-whitespace char(>1 length). abc*e not matches abe.
What if I want to search * itself? Doesn't * helper disturbing?

Double **.

Idea: negate-simple-keyword
Idea: regex: by prefixing query with /, e.g. /abc\w+

When I want to search / char as simple-keyword, doubling /

So searching /etc/hosts as simple-keyword would be //etc/hosts(yes second / is not necessary).

Idea: negate-regex: by prefixing query with !/. e.g. !/abc\w+

When I want to search !/ char as simple-keyword, doubling //

So searching !/etc/hosts as simple-keyword would be !//etc/hosts(yes second / is not necessary).

Idea: Provide short cut to replace type of keywods?

narrow-ui:toggle-negate-query add/remove ! prefix of current-word.
narrow-ui:toggle-regex-query add/remove / prefix of current-word.

Idea: Syntax highlight(by grammar) to help understand meta char or regex/not-regex status by eye.

e.g. Single * is highlighted, but ** is not highlighted.

See also https://github.com/t9md/atom-narrow/wiki/Query


KoP 2.9.0 Plan

KoP 2.8.0 was released on Jun. 18th, it's a milestone that announced KoP is GA (generally available) for production. However, there're still some issues to solve or improve. This issue will list some important tasks.
Main tasks

[ ] Support for Kafka client 0.10 and 0.11
As far as I know, 0.10 and 0.11 clients are still widely used. There's a related issue: #539. BTW, though 0.9 client is also widely used, it may be too hard to be compatible with it. For example, 0.10 introduced the timestamp field to message format.
[ ] GC improvement
KoP's performance is closed to the original Pulsar broker now, but there's still much room to improve. Like the GC problem mentioned in #538. It's because we don't make use of Netty Recycler for all objects in context currently.
[ ] Transaction GA (#39)
There is an initial simple implementation of transaction in KoP 2.8.0 but it's not complete now. For example, client cannot set the timeout.
[ ] Support for authorization (#236)
KoP only supports authentication currently. Due to no support for authorization (or just mixed into the authentication implementation), there're some related issues like #571 and #415.

Here're the optional tasks that may be not easy to implement before 2.9.0:

[ ] Support Kafka entry format for Pulsar client.
It needs the change of Pulsar broker side and a PIP to provide the ability for Pulsar broker or client to parse other message format.
[ ] Kafka Streams unit tests migration.
We have already migrated some unit tests from Kafka but there're still many tests that are not migrated. In addition, the Kafka Streams tests are sometimes not stable.

Important issues
Besides the tasks above, there're some other important issues that have high priority.

[ ] Check log start offset (#580)
[ ] Support multiple listeners of one protocol (#574)
[ ] Support a record with multiple batches (#537)

What about supporting Kafka clients > 2.0.0.
I have tested with Apache Kafka 2.3.1 and it works, but it doesn't work with 2.4.0 and beyond.
I'm using latest spring boot with Spring for Apache Kafka and I have had to downgrade to an old version to make it work with KoP, but the best alternative would be not to have to downgrade it.
Therefore, supporting not only old Kafka versions, but also some recent versions (from 2.4.x to 2.6.x) could be a possibility?

@junquero There're basic e2e tests for Kafka 2.0~2.6, see https://github.com/streamnative/kop/blob/252074234e9044eb9ee166e2a870f12d9712c12d/tests/src/test/java/io/streamnative/pulsar/handlers/kop/KafkaIntegrationTest.java#L91-L100
We may change the test method for different Kafka client versions. Currently it uses docker images to test, I think we can use a shade plugin later.
Back to your problem, could you give detail reproduce steps? Recently I did the performance tests using Kafka 2.6.0 and it worked well. See https://github.com/BewareMyPower/openmessaging-benchmark/blob/bewaremypower/deploy-kop/driver-kafka/pom.xml

BTW, I'm not familiar with Spring Boot :( It's better to reproduce your problem just using a Kafka client.

I will provide a detailed description of how to reproduce the test using Kafka client, because I was unable to use the Kafka client 2.4.0; no need to use Spring.

@junquero Sorry for the late response. It seems that you've just edited your comment instead of adding a new comment or opening a new issue so that I cannot receive the notification.
For your question, if you're running KoP in a container, please use kafkaListeners and kafkaAdvertisedListeners, see https://github.com/streamnative/kop/blob/master/docs/configuration.md#listeners. You should configure the external address with kafkaAdvertisedListeners. Though KoP only supports a single advertised listener currently, see https://github.com/streamnative/kop/issues/574 for more details.
BTW, if you have other questions, it's better to open a new issue instead of commenting in this issue. But it's welcome to giving your demands in this issue.


Added GVRScriptBehavior scripting component - replaces PR #668

Allows a script to be attached as a component. Sets up event listeners
for picking and draw frame events and directs them to the script.
Directs all events on the scene object to the script.
Modified script manager to attach GVRScriptBehavior component when a
script bundle is loaded. Added onAttach, onDetach script events.
GearVRf-DCO-1.0-Signed-off-by: Nola Donato<EMAIL_ADDRESS>Tested with gvr-javascript gvr-remotescripting

Will verify tomorrow morning and merge.

I am not sure about Strings as error messages. We will have to localize them for example.  We might have to look at this area again in the future.

We probably shouldn't be invoking onStep and the likes on the GL thread but this is again something we can examine closer in the future.


Add node express

Adds node.js / express. Wasn't able to compile the benchmarker so I can't guarantee this works.

error building benchmarker

cd benchmarker; crystal build src/benchmarker.cr -o bin/benchmarker --release
ld: can't open output file for writing: /Users/austin/Code/which_is_the_fastest/benchmarker/bin/benchmarker, errno=2 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc -o "/Users/austin/Code/which_is_the_fastest/benchmarker/bin/benchmarker" "${@}"  -rdynamic  -lpcre -lgc -lpthread /usr/local/Cellar/crystal-lang/0.22.0/src/ext/libcrystal.a -levent -liconv -ldl -L/usr/lib -L/usr/local/lib`
make: *** [benchmarker] Error

Got it! Thanks for this! I will check this later!

@audy
I've fixed your PR here
If it's ok, could you close this? Thanks :)


Add Result as an explicit dependency in SwiftPM

As noticed in #957

Codecov Report

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

@@           Coverage Diff           @@
##           master     #977   +/-   ##
=======================================
  Coverage   73.72%   73.72%
=======================================
  Files          22       22
  Lines         723      723
=======================================
  Hits          533      533
  Misses        190      190

Continue to review full report at Codecov.

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


EpicsSignal based on multiple signals

Say you have a signal made of multiple signals:
sig1 = EpicsSignalRO(pvname1, name=name1)
sig2 = EpicsSignalRO(pvname1, name=name1)

how to create a new signal such that the result is sig1.value+sig2.value - bg where bg is some precomputed parameter?

On Fri, 17 Nov 2017, Julien Lhermitte wrote:

Say you have a signal made of multiple signals:
sig1 = EpicsSignalRO(pvname1, name=name1)
sig2 = EpicsSignalRO(pvname1, name=name1)
how to create a new signal such that the result is sig1.value+sig2.value - bg where bg is
some precomputed parameter?

If that new signal isn't a one-off one time use thing, you're best off
pushing stuff like that down into epics so it's available like a
regular pv to any pv client.
-matt

There are a couple considerations here:

Is the computation established and stable, or is it part of an experimental workflow that still requires some improvisation? Doing this in the Python layer is much better interactive exploration.
Is this something that is straightforward to do in C, or would numpy/scipy/scikit-image/scikit-learn help?
Is this something that other users at the facility would want to check or monitor? Consider EPICS!

To your question, ophyd provides DerivedSignal and AttributeSignal. I can never remember which is which! Better documentation is coming. For now, grep the test suite.

On Fri, 17 Nov 2017, Dan Allan wrote:
...

Is the computation established and stable, or is it part of an experimental workflow
that still requires some improvisation? Doing this in the Python layer is much better
interactive exploration.

sure, although I worry about temporary solutions becoming standards.
You can do similar stuff in css and I tell people the same thing.

Is this something that is straightforward to do in C, or would
numpy/scipy/scikit-image/scikit-learn help?

If it's the simple example mentioned, pv1+pv2-pv3, no c required,
simple epics calc record.

Is this something that other users at the facility would want to check or monitor?
Consider EPICS!

Or that you might want in another process or css or whatev, doesn't
have to be for other people to bother with epics.
I'm not trying to preach epics, just reminding it's there, has some
nifty capabilities/benefits, and isn't always painful.
-matt

Thanks for that useful perspective, @cowanml.

yes thanks @cowanml this reminder is appreciated, please do keep giving feedback! :-)

PS: I will contact the controls group on such an instance and close this issue once resolved.
In the meantime, a pseudo-example (with a big disclaimer to contact the controls group) could be something to PR, I'll work on that later.

Closing as stale.
If we really need this at the python level this is a pseudo-positioner, but it should be done in the IOC when ever possible.


man: include global options with customized descriptions

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[n/a] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Commands which define one of the global options (--force, --quiet, --verbose, --debug) with specific behaviour don't currently list them in their man page entries, although they are listed under brew help <cmd>. This change allows global options with customized descriptions to be included in the man page.

Sorry I missed this before! Nice work again @EricFromCanada!


add json example

Hi,
I'm not sure if there is any interest in examples, but since worker_test.go is pretty minimal, I wondered if a more full-featured example would be helpful to start establishing some "idioms".

Thank you


Mp/escape to unicode

Add work break tests, and take a stab at using unicode replacement characters.
WIP.

Closing for now.  The new tests were pulled into the elasticsearch branch.  Thanks mark!


SqlServer: Aggregate functions can return different data type

As https://github.com/aspnet/EntityFramework/issues/7136 describes for Sum, we should verify all other functions where SqlServer changes the return type. Most frequent error I have seen reported by users on StackOverFlow is like this
Unable to cast object of type 'System.Double' to type 'System.Nullable1[System.Single]'.`

this should be done already, fix for #7136 covers SUM and AVG, other result operators (at least the ones we support) return the same type as the input (Min/Max/Avg/Count/LongCount/First(OrDefault)

Feel free to close if you are certain that we have covered all functions.

will double check the fringe result ops (stdev, etc). I don't think we support them but always good to have tests for the future.


[Event Request] Codeunit 99000813 "Carry Out Action" - procedure InsertProdOrder - OnInsertProdOrderOnBeforeFindTempProdOrder

Please add an Event OnInsertProdOrderOnBeforeFindTempProdOrder in procedure InsertProdOrder in Codeunit 99000813 "Carry Out Action"
[Event Request] Codeunit 99000813 - Carry Out Action - procedure InsertProdOrder
    var
        MfgSetup: Record "Manufacturing Setup";
        Item: Record Item;
        ProdOrder: Record "Production Order";
        HeaderExist: Boolean;
    begin
        Item.Get(ReqLine."No.");
        MfgSetup.Get();

        OnInsertProdOrderOnBeforeFindTempProdOrder(ReqLine, Item); // <-- NEW EVENT

        if FindTempProdOrder(ReqLine) then
            HeaderExist := ProdOrder.Get(TempProductionOrder.Status, TempProductionOrder."No.");
        ...

[IntegrationEvent(false,false)]
local procedure OnInsertProdOrderOnBeforeFindTempProdOrder(ReqLine: Record "Requisition Line"; Item: Record Item)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 44362.


Couldn't able to deploy app to serverless environment

I'm submitting a...

[ ] Bug report

In package

[ ] @ng-toolkit/serverless
[ ] @ng-toolkit/universal

Current behavior

Getting npm ERR! code ELIFECYCLE. For more info refer snap,

Expected behavior

Able to deploy an app without any interruption
Minimal reproduction of the problem with instructions

I got the above error while running this command npm run build:serverless:deploy I followed deployment steps from this source https://coursetro.com/posts/code/165/Deploying-your-Angular-App-to-a-Serverless-Environment-
Environment

Angular version: 8.1.1

- Node version: v10.16.0
- Platform:  Linux

Hello @HenonoaH,
I can't really tell what caused the error while deploying to the serverless enviroment.
Can you provide more info, like as package.json and the generated log file?
Cheers!

Hi @KingDarBoja Please find my package.json Sorry, I missed the log file!  It should be man-ng instead of mmr-ng 🤔

@HenonoaH Hard to tell what's going on as everything seems okay to me, maybe the AWS wasn't properly set on the serverless step.
Can you provide the error log file? That's the only thing left to check.

@KingDarBoja As said earlier I missed the log file let me try to deploy once again and share you with the log file.

@KingDarBoja Hey thanks, might be the issue in AWS. I could have tried this earlier :upside_down_face:
I'm closing this issue.

@HenonoaH 🎉 Glad it works now! And yeah, probably something on the AWS side.


Error in challenge statement (PropTypes)

Modify TodoList in index.jsx like below.
Before you start, you may want to check your current index.jsx into source control, or create a new index.jsx for this exercise.
import React from 'react';
export default class TodoBox extends React.Component {
// Omitted
}
class TodoList extends React.Component {
// Omitted
}
The exercises asks us to modify TodoList as shown.
But no modifications are being made to TodoList.

@peterlazar1993
Thanks for your issue!
I fixed!


T&Q: Stacktrace javax.servlet.ServletException: /jsf/questionpool/poolTreeTable.jsp(48,0) 'tier#{questionpool.tree.currentLevel}' Error reading [currentLevel] on type

https://jira.sakaiproject.org/browse/SAK-44296
Refactored to use Optionals; will address a handful of potential NPEs

Now, when trying adding "copy from a question pool" in an assessment no error is shown but question pools are not shown until the tool is refreshed.


How can I escape characters like ``` ?

I want to scape characters, for example three ` because I want to create a page to describe the markdown language, something like this

is this possible?

Indent it with 4 spaces:

Cool, thanks!!


Rely more on bodyTxL and outputsTxBodyL

Remove need for extractOutputsFromTx in Write.Tx.Balance
Remove Write.outputs and Write.txBody helpers

Issue Number
Minor follow-up to ADP-2353

My local setup has actually stopped working, that's why I didn't discover the compilation errors 🙈