Add Throwable Catch to Connection Test Methods

The connection test methods for the fTTP and local GECCO FHIR server should also catch Throwable and not have the JVM crash if for example a java.lang.NoClassDefFoundError: ca/uhn/fhir/rest/client/impl/RestfulClientFactory is caught in case the hapi-fhir-client-5.1.0.jar is missing.

Alternatively we should actively check if the RestfulClientFactory is available on the class path.

Issue is obsolete, see #56 and PR #58


Lots of dropped syscalls in falco

Thu Feb  4 01:00:47 2021: Falco internal: syscall event drop. 37200 system calls dropped in last second.

From some cursory googling, it appears the solution here is to recompile falco (or convince the helm chart) to recompile falco with a larger ring buffer.

https://github.com/falcosecurity/falco/issues/813
Maybe related: https://github.com/falcosecurity/falco/issues/669

Reading the threads looks like there is no easy fix.


Week 3 walkthrough step 4

Week 3 Walkthrough Step 4 updated Pull Request!
Hmm it seems that until Week 3 Step 3 is merged then there are a bunch of extraneous commits in here

Thanks for changing the branch merge-to! I just merged Week 3 Step 3 with the master branch, so we can once again directly merge this with the master branch :)

whoops sorry-ignore the base change!

Oops! Looks like I forgot to push my changes!

Now the indentation is the reverse :) This looks fine to merge to me. We can follow up on the pod PR flow document to find a JS formatter that we're all happy with...


[RU] Chapter 3 1/2/3 sections finished

Finished 1/2/3 sections of third chapter

Thank you for translating these sections @pdumin 🤗 ! It all looks good to me and there's just a small fix we need in the table of contents to build the website

I searched for a problem for a long time, I did not find it. Thank you, I'll be more careful

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Thanks for the fix, this looks great!


Remove backported salted_hmac use django provided one instead

Description
Removes  salted_hmac_256 from the codebase, replacing with django.utils.crypto.salted_hmac.
Also a small tweak: using tuple instead of list when there is no need to modify a sequence which is only needed to match an array-like API.
Motivation and Context
As stated in #601: this package now has a minimum requirements for django>=3.2, thus the backported method salted_hmac_256 is not required anymore as we can rely on salted_hmac from django.
How Has This Been Tested?

Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I think a last improvement could be to reference the issue in the commit message (Fixes #601 or something like that) so it will auto-close.

Done.


Feature/split text children wrapper support

Taking into account the following situation:
When passing a child to SplitText that is wrap around another HTML element, splitting by lines would consider this element as one line.
In this scenario, we would like SplitText to split lines of the parent content.

Added the explicit splitFirstElementChild property in another PR.


Agenda:   Meeting 02 (28 Dec 2024 | 05:00 PM (UTC+2)

Meeting Overview
To review and discuss grouping process and assigning files to each group , address questions or challenges (technical and non-technical), and discuss on next steps.

Agenda Points

[ ] Sub-grouping and task assigning

Dividing group members into sub-groups.
Each sub-group will be assigned a file to work on.

[ ] Q&A (technical and non-technical)

Discuss on challenges, questions, the political and economical state of the world.

Thank you, Ahmed!
See you there.


Update npm pagekage in Nextjs 8.0

Hi, thank to package.
Recently, nextjs updated struct foder, and now package have a issue
Error: Cannot find module 'next/dist/lib/link.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
i fixed by change:
var _link = require('next/dist/lib/link.js');
to
var _link = require('next/link.js');
var _index = require('next/dist/lib/router/index.js');
to
var _index = require('next/router.js');
Package in packeage.json
"next": "^4.1.4",
can you update package? packeage only update in git, not npmjs
to
"next": "^8.1.0",

Hi,
I just upgraded Next.js and package is working again. Thanks for your patience.
V.


Add automatic wait strategy

Have a fluent API with a wait timeout would be great:
new ElasticsearchContainer().withStartupTimeout(Duration)

Actually really similar to #21 (I forgot that I opened this already :) )

Interesting. That's actually probably not needed.
We check by default that "something" is running on port 9200. Whatever the status of the other elasticsearch services.
We might have to wait for the status of a specific underlying service though but in that case, we can just implement the HttpWaitStrategy.
I feel like that this issue and #21 are pretty much useless.

Now that the project moved to testcontainers as a module, I'm not planning to add more commits as the project will be living here now: https://github.com/testcontainers/testcontainers-java/tree/master/modules/elasticsearch.


Update F# on Azure Docs - Blob Storage

1.Updating F# doc to the new SDKs - Blob Storage
2.Update files :

docs/fsharp/using-fsharp-on-azure/blob-storage.md
samples/snippets/fsharp/azure/blob-storage.fsx

@jongio for notification.

@jsquire & @christothes - Can you have a look?

//cc: @tg-msft, as our resident Storage expert.

Updated according to the comments.

@jsquire / @tg-msft - Can you sign off if good?

@CamSoper - We are good to merge.  Thanks


Strange proposals for docker ps

I wrote docker ps ,a and I get docker ps -a as a solution and docker ps a-a .... I think both don't work.
See 'docker ps --help'.

Upps, there I did a mistake. I wanted to write that I got docker ps a- and docker ps a-a as solutions.
docker ps -a is indeed a valid command :joy:


Add more documentation to the developer guide

Pull Request Test Coverage Report for Build 487

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.145%

Totals

Change from base Build 484:
0.0%

Covered Lines:
2238

Relevant Lines:
2539

💛  - Coveralls


MNT: Update pinned versions.

Hi! This is the friendly conda-forge-admin automated user.
I've bumped some of the conda-forge pinned versions, and noticed that it impacts this feedstock.
If the changes look good, then please go ahead and merge this PR.
If you have any questions about the changes though, please feel free to ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Seems sensible enough

Please re-render with conda-smithy version 1.3.2 before proceeding with this or any other PR. This may be done in a separate PR.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Closing in favor of #4


Errors when closing the app

Describe the bug
When closing the app while the timer is running it shows errors.
To Reproduce
Steps to reproduce the behavior:

Click on Start
Let it run for a while
Click on X to close the app

Expected behavior
App closing without errors
Screenshots

Additional context
The error on the screenshot happens right after clicking on the close button and repeats the same message 5 times.

I was trying to look into it but I'm unable to reproduce the bug

Hello @alsd4git I've just tested on a different machine and also could not reproduce the bug, it might be a particular problem on the work machine where I keep it running most of the day. I'm going to take a closer look tomorrow. Thank you for trying to look into it!


Accessibility Audit - Carbon Website: Patterns - Common Actions

This epic is tied to a larger "release" that is meant to track the progress of the Accessibility Audit for the Carbon Website. We will audit all of the pages of the carbon website based on AVT 1, AVT 2, & AVT3 - which can be found here.

AVT 1: will audit the site against the IBM Accessibility Checker - browser extension

AVT 2: will audit the site against accessible keyboard interactions

AVT 3: will audit the site against screen readers

Legend:

🌶 fully audited - on all three AVT levels

:one: 🔍 AVT 1 audited
:two: 🔍 AVT 2 audited
:three: 🔍 AVT 3 audited

:boom: issues and documentation - on all three AVT levels are complete

:one: 🚨 AVT 1 issues submitted
:two: 🚨 AVT 2 issues submitted
:three: 🚨 AVT 3 issues submitted

:sparkles: tickets are triaged

Current status of this page:

Patterns - Common Actions - 2 issues - no new issues found:

1⃣ 🔍 AVT 1 audited & 🚨 AVT 1 issues submitted

Closing due to inactivity. Will reopen if/when ready to be worked on again.


Ibex dv report format

Here's what the intermediate YAML files look like:
name:            riscv_arithmetic_basic_test
idx:             0
seed:            10547
binary:          out/seed-10547/instr_gen/asm_test/riscv_arithmetic_basic_test_0.o
uvm_log:         out/seed-10547/rtl_sim/riscv_arithmetic_basic_test.10547/sim.log
rtl_trace:       out/seed-10547/rtl_sim/riscv_arithmetic_basic_test.10547/trace_core_00000000.log
rtl_trace_csv:   out/seed-10547/rtl_sim/riscv_arithmetic_basic_test.10547/trace_core_00000000.csv
iss_trace:       out/seed-10547/instr_gen/spike_sim/riscv_arithmetic_basic_test.0.log
iss_trace_csv:   out/seed-10547/instr_gen/spike_sim/riscv_arithmetic_basic_test.0.csv
comparison_log:
passed:          False
failure_message: |-
  [FAILED]: Log processing failed: [Errno 2] No such file or directory: 'out/seed-10547/instr_gen/spike_sim/riscv_arithmetic_basic_test.0.log'

Note this PR has a testing commit to enable azure YAML reporting, when we actually merge that commit will disappear and we'll make a change in the private-ci master branch to enable it.

Thanks for the review, python is now lint8 clean.
One thing I didn't address in this PR but needs looking at is how we report tests that had some failure executing. compare.py will produce a test result giving a failure if the various log files aren't available but it needs to get run to do this. Currently the makefile uses the presence of sim.log to trigger the compare.py step.  Perhaps the collect_results.py stage won't run at all as not all of the test result YAML files will be available?
Ultimately this should produce a failure, but we may not get a report telling us what failed. Ideally we'd do something such that compare.py gets run for every test list_tests.py says we should run and collect_results.py always runs after everything else is done so we get our report.
Any thoughts on the above @rswarbrick?

For motivation of the above. I've definitely seen failures in the past around the random program generation/spike ISS stage meaning the final report didn't get produced. When you run with make -k everything that can get done does get done but you had to manually run sim.py to produce a final report.

About the dependencies: That's a good point! Firstly, there's a mistake in the Makefile where the run of compare.py depends on all the simulation logs, not just one. Oops! I think it should probably depend on %/sim.log instead.
To allow things to percolate further, we basically need to add some || true lines to the commands that run, delete output files before they run, and teach downstream scripts to cope when things are missing. It's not massively complicated, but probably belongs in a separate PR.

The code no longer runs cleanly through mypy

Yes I took a brief look at that, it seemed to be getting a bit confused with types in the named tuple. I guess some extra annotations are required?


Gemfile.lock is the wrong file extension for the file's purpose.

For better or worse, Gemfile.lock is a poor name choice. The .lock extension is a long used UNIX indication that a resource is locked for changing or update by a process. It's as entrenched a convention as .profile or the like. When I was a sysadmin, back in the stone ages, it wasn't unusual to see scripts that would remove any hinky .lock files on system startup anywhere they existed on the system. Not that those were very smart scripts, but... the expectation is that a .lock file is a transitory thing that can be vaporized.
In other words, Bundler's use of this extension is running headlong into a multiple-decade long UNIX convention. When I first saw it, it was like watching one culture clash right into another.
Not wanting to poke a hole in a naming convention without a counter proposal, here's a suggestion: use Gemfile.manifest as a formal name for this file. After all, that's what Bunder is doing when it creates it--itemizing everything that needs to go into the box and writing it down.
(btw, Bundler is good sauce. I like it.)
-Duncan

@indirect A reminder that non-Rails project do not check-in the lock file. As such a developer I often wish the lock file could be a hidden dot file and out of the way. But I understand that is less than ideal for Rails developers and/or if alternate Gemfiles are needed. Which is also why Gemlock might not be a good choice. I have seen projects that have multiple Gemfiles -- I have never done it, but I suppose it is to use/test various dependency configurations. Perhaps Bundler has improved such that is not ever necessary anymore, but if not, it needs to be considered, i.e. the extension keeps the files separate but related, e.g. AltGemfile and AltGemfile.lock.
Personally I don't see the problem with .lock. It is similar enough to a temporary file in that it can easily be recreated and it gets updated regularly. But if it is going to change, then perhaps .bundle make's the most sense.
Another idea, let a configuration option in the Gemfile itself specify the name of its lock file. For example, in a generic Ruby project I could imagine adding:
lockfile ".bundle"

Not 100% sure if that's possible (or even desirable) but it would offer the most flexibility.

We've been expanding in the direction of allowing the lockfile name to be configured, and it may even be possible already. We've also shipped support for files named gems.rb and gems.locked, if present.
Ultimately, I expect that in Bundler 2.0 the Gemfile will default to gems.rb, and the lockfile name will be able to be configured per project.

Sorry if this looks dumb, but is there any difference in syntax between Gemfile and gems.rb, or it's merely a rename? What about Gemfile.lock and gems.locked? I didn't find gems.rb mentioned in the documentation at all.

Same file, different name

My expectation is that it's a temporary file and will be released when the changes to the file without lock have been completed.
I still write "mv x x.lock; sed 'some expression' <x.lock >x; rm lock", knowing that in Unix, mv is one of the atomicity primities.
A non-misleading name would be desirable.

gems.rb will be the default in the next version of Bundler

(and once the Gemfile is instead named gems.rb, the locked gems list will be stored in gems.locked, so I think this ticket is now resolved.)

I might be late, but why .rb if it's not a Ruby file? Can we pick something else which doesn't end with .rb if they're not Ruby file?

@godfat it is literally a ruby file, though, and we "parse" it using eval. do you feel like it is not ruby somehow?

@indirect Oh, you're right. Sorry I was confused with the lock file. Not sure what I was thinking.


(#108) Add support for customizing rundeck-config

There are customizations to rundeck-config that I would like to do. Using the rdeck_config_template, I could specify a template for it. By default, it would use rundeck/rundeck-config.erb.
PS: My first contribution to puppet-rundeck, please comment on my diff.

@liamjbennett any update?

Hello:
Can you rebase?

Now happy for custom templates to be merged. So please rebased this and we'll get it in.

Rebased.

@patcadelina thank you very much for this patch!
unless you want magic internet points, and want to still change the commit author on this pr so github recognizes it's you i'll merge this as-is:)

Please go ahead @igalic.

thanks @patcadelina!


Fixed an issue where build bins would build certain packages even if they existed

This is to address issue #323
double bracket conditions do not like file globs where as single brackets are work just like test.  Replaced globs with full names where known, and replaced double brackets with singles where globs are still required

Looks good; merged.


Docs missing for specifying resources are for SwiftUI Preview Content only

Description
Xcode allows resources to be defined as Preview Content so they are not part of the application. In the project.pbxproj file, they are DEVELOPMENT_ASSET_PATHS. I cannot find documentation about how to set this up for Package.swift files.
Expected behavior
I expect documentation about how to do this for SwiftUI Previews in Packages
Actual behavior
I  cannot find documentation about this.
Steps to reproduce
Try to learn how to have Preview Content in Package files.
Nothing can be found.
Swift Package Manager version/commit hash
swift 5.7
Swift & OS version (output of swift --version && uname -a)
neu:MissingArt bolsinga$ swift --version && uname -a
swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>)
Target: arm64-apple-macosx13.0
Darwin neu.local 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 arm64

OK; Is there a feature request covering it yet? Thank you.


Caching npm install

Are there plans to add caching for GitHub Actions? For example, in CircleCI we can greatly reduce the number of VM minutes spent with something like this:
- save_cache:
    key: v1-npm-dependency-cache-{{ checksum "package-lock.json" }}
    paths:
      - node_modules

(and the corresponding restore_cache).
I saw a tools cache for caching the Node.js download, but I'm not sure if that should be used for this.

The tool cache thing is a different concept and won't persist across builds.
Right now, we don't have exactly what you're looking for. With that being said, this is high on our backlog and something that I think lots of people want (self included 😄). We're tracking this in the toolkit, so for cleanliness I'd probably prefer we close this issue here and follow up there - seem fair?

Fair enough. Sorry I didn't search that repo for issues in advance.

No worries, opening an issue in this repo was perfectly reasonable - happy to give a pointer in the right direction!


Add debug logs for hub encryption flaky issue

Getting hub encryption test results is slow when it is in hosted mode. This PR will solve the problem.
I tested over 5 times. No issues anymore.
Ref: https://issues.redhat.com/browse/ACM-11497

/test remaining-required

/retest


Plugin settings should be hidden on Linux

So I just tried out the new Airwindows Consolidated plugin. Looks pretty impressive, but one of the first things I noticed is that there is now an "AirwindowsConsolidated" directory inside my home directory.
This is something that always bugs me when I encounter it. I think it is generally best practise on Linux to save application settings in a hidden location, so as not to clutter the user's home directory. This could be done  by either naming the settings directory something like ".AirwindowsConsolidated", or (quite common practise these days and probably better) creating it inside a common settings directory like "~/.config/".

Oh I just use the juce default location for properties. I’ll add this to the list to figure out this year and will borrow some of the surge XDG code.

Notes to self
https://github.com/baconpaul/airwin2rack/blob/303dcd81aa1867f5d6dedfc0f3ea2cd5060374b8/src-juce/AWConsolidatedEditor.cpp#L1136
uses get default file plus the dir
juces choice on linux isn’t great
https://docs.juce.com/master/structPropertiesFile_1_1Options.html#a2e20c2c3ce5012d69cc70d4e38763c39
so I think an if juce linux and change the folder to .blah or .config/blah and test is the way to fix this

I've decided to fix this today before we promulgate more incorrect usage.

I have merged the fix for this and tested it on Ubuntu where my properties file now lives in ~/.config/AirwindowsConsolidated
It will take about 20 minutes for a new binary to be created, signed, uploaded, etc...
Thank you for reporting this. We should have caught it in the beta period!

Nice!
I've complained about this on several open source projects over the years, including I think Surge back in the day. I guess it's become a bit of a pet peeve of mine. What can I say, I just like to see a clean home directory. :smile:

Yeah the fact that the JUCE api does the right thing on mac/win and the wrong thing on lin is a bit of a bummer.
https://github.com/baconpaul/airwin2rack/commit/8f9eaad1b588e4dc11febb77426b4443af77b506
you can see what I had to do to make it work
But thanks for reporting it.


[Chore]: Backfill test for the /api/v1 endpoint

Background
We do not have any api e2e test for this endpoint
Action to take
Write tests for:

GET /api/v1/info

This is an unauthenticated endpoint so we should explicitly test it can be accessed with an empty auth header

GET /api/v1/read/{guid}

Impact
We are confident that the log cache endpoint works properly
Dev Notes
No response

These endpoints are stubs, nothing valuable to test right now


UI Revamp for the HTML Report feature to make the report more readable.

To make testng more powerfull, I have made this changes.
To make the html reports more readable and understandable.
And while revamping the user interface, consistency is maintained.
After making the changes in the CSS file the new user interface will be look like the below image.

@cbeust @juherr - WDYT of the new UI ?

Looks good to me, but like all UI changes, you can bet that there will probably be as many people liking it as disliking it...
It would be nice if there's an easy way to revert to the old style.

@GullapalliAkhil - To get this merged, please complete the following

Rebase to fix the merge conflicts
Revert Version.java from your changeset
As @cbeust mentioned, please check if you can provide a way in which a user can flip between the css if they desire. That way we aren't impacting user experience

@krmahadevan, @cbeust , I like your thoughts on this and it's good to have a option like that so that user can have great experience while using testng.
Implementation: -
I am thinking to have a drop down kinda thing so that user can select the UI he needs. Any ideas on this?
After implementaion it will be look like below image(Prototype).

I don't think the dropdown is enough, unless it is persistent: once users
settle on a certain theme, they will want to keep using that them all the
time by default.
--
Cédric
On Mon, Dec 2, 2019 at 12:11 AM Gullapalli Akhil Sai <
<EMAIL_ADDRESS>wrote:

@krmahadevan https://github.com/krmahadevan, @cbeust
https://github.com/cbeust , I like your thoughts on this and it's good
to have a option like that so that user can have great experience while
using testng.
Implementation: -
I am thinking to have a drop down kinda thing so that user can select the
UI he needs. Any ideas on this?
After implementaion it will be look like below image(Prototype).
[image: image]
https://user-images.githubusercontent.com/52671728/69940701-e12d8580-1508-11ea-9231-3adb1100084a.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cbeust/testng/pull/2201?email_source=notifications&email_token=AAAWRIUI3IPPICHB5TCAWDTQWS7ILA5CNFSM4JS6JU3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFSTRCI#issuecomment-560281737,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWRISRWSWI7OPOC3OUSH3QWS7ILANCNFSM4JS6JU3A
.

@krmahadevan , I am not sure why the checks have been failed.
I didn't make the changes in the html content, made changes in the css and added JavaScript files, due to this the check is failed? can you please suggest me on this.
And I have made the changes suggested by you and @cbeust, Only remaining this is to make changes in the html content.

Any changes in the strings "Switch Ultra Theme or Switch Retro Theme" should be made?

@GullapalliAkhil - It looks like you have conflicts in this branch. Can you please rebase off of master ?

@krmahadevan, unintentionally I have changed the changes.txt file but now I updated the changes.txt file accordingly and Sure there is no conflicts with the base branch.

ping @cbeust


Invalid option in build() call: "_"

esbuild-c adds a '_': void key to the final config which causes esbuild to fail in checkForInvalidFlags

Thanks for the report. The fix will be available soon.


Runtime dependency of glibc on linux for wave-cli binary

Hi team 👋
I'm trying to use the linux version of the wave-cli on a server and bumped across a GLIBC dependency issue.
Error message upon invoking wave
ubuntu@lung-virome ~/bin> ./wave --help                                                                                (base)
./wave: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./wave)
./wave: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./wave)

Troubleshooting
To try and remedy this, I did sudo apt update and sudo apt install libc6 which ends up installing a different version 2.31 as per the upstream repositories of the OS (Ubuntu 20.04.5 TS )
Preconfiguring packages ...
(Reading database ... 195919 files and directories currently installed.)
Preparing to unpack .../libc6-dbg_2.31-0ubuntu9.12_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.31-0ubuntu9.12) over (2.31-0ubuntu9.9) ...
Preparing to unpack .../libc6-dev_2.31-0ubuntu9.12_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-0ubuntu9.12) over (2.31-0ubuntu9.9) ...

Suggestions
To facilitate the usage on linux hosts, it'd be great if the CLI could be distributed

Either as a jar as well (similar to tower-cli)
Or a statically linked binary

Ah, just realized that both of the suggestions are already in progress or tracked
GLIBC => https://github.com/seqeralabs/wave-cli/issues/29
JAR => https://github.com/seqeralabs/wave-cli/pull/36
Closing this issue in favor of those.


Make fail with missing golangci-lint

Pulled the current version (being on 1d7f18c7c6f317fdc4a3c9a7f708378527cd4823), and make fails with this error (referring to golangci-lint):
$ make
go test -race -coverprofile=coverage.out ./...
ok  	github.com/agherzan/git-mirror-me	1.200s	coverage: 85.7% of statements
ok  	github.com/agherzan/git-mirror-me/cmd/git-mirror-me	1.438s	coverage: 80.0% of statements
ok  	github.com/agherzan/git-mirror-me/internal/utils	0.850s	coverage: 82.6% of statements
go tool cover -func=coverage.out
github.com/agherzan/git-mirror-me/cmd/git-mirror-me/args.go:18:	parseArgs		100.0%
github.com/agherzan/git-mirror-me/cmd/git-mirror-me/main.go:16:	run			100.0%
github.com/agherzan/git-mirror-me/cmd/git-mirror-me/main.go:42:	main			0.0%
github.com/agherzan/git-mirror-me/conf.go:40:			GetSSHKey		100.0%
github.com/agherzan/git-mirror-me/conf.go:46:			SetSSHKey		100.0%
github.com/agherzan/git-mirror-me/conf.go:52:			GetKnownHosts		100.0%
github.com/agherzan/git-mirror-me/conf.go:58:			SetKnownHosts		100.0%
github.com/agherzan/git-mirror-me/conf.go:64:			GetKnownHostsPath	100.0%
github.com/agherzan/git-mirror-me/conf.go:70:			SetKnownHostsPath	100.0%
github.com/agherzan/git-mirror-me/conf.go:77:			Pretty			83.3%
github.com/agherzan/git-mirror-me/conf.go:93:			ProcessEnv		100.0%
github.com/agherzan/git-mirror-me/conf.go:115:			Validate		100.0%
github.com/agherzan/git-mirror-me/git.go:32:			filterOutRefs		80.0%
github.com/agherzan/git-mirror-me/git.go:64:			refsToDeleteSpecs	100.0%
github.com/agherzan/git-mirror-me/git.go:75:			extraRefs		92.3%
github.com/agherzan/git-mirror-me/git.go:104:			extraSpecs		75.0%
github.com/agherzan/git-mirror-me/git.go:115:			pruneRemote		72.7%
github.com/agherzan/git-mirror-me/git.go:144:			setupStagingRepo	81.8%
github.com/agherzan/git-mirror-me/git.go:178:			pushWithAuth		76.9%
github.com/agherzan/git-mirror-me/git.go:273:			DoMirror		62.5%
github.com/agherzan/git-mirror-me/internal/utils/utils.go:25:	SortSlice		100.0%
github.com/agherzan/git-mirror-me/internal/utils/utils.go:39:	SlicesAreEqual		100.0%
github.com/agherzan/git-mirror-me/internal/utils/utils.go:57:	NewBareRepo		66.7%
github.com/agherzan/git-mirror-me/internal/utils/utils.go:72:	NewTestRepo		72.7%
github.com/agherzan/git-mirror-me/internal/utils/utils.go:173:	RepoRefsSlice		87.5%
github.com/agherzan/git-mirror-me/internal/utils/utils.go:192:	SpecsToStrings		100.0%
github.com/agherzan/git-mirror-me/internal/utils/utils.go:203:	RefsToStrings		100.0%
github.com/agherzan/git-mirror-me/internal/utils/utils.go:215:	RepoRefsCheckHash	91.7%
github.com/agherzan/git-mirror-me/log.go:27:			NewLogger		100.0%
github.com/agherzan/git-mirror-me/log.go:41:			GetOutput		100.0%
github.com/agherzan/git-mirror-me/log.go:47:			Debug			100.0%
github.com/agherzan/git-mirror-me/log.go:54:			Info			100.0%
github.com/agherzan/git-mirror-me/log.go:59:			Warn			100.0%
github.com/agherzan/git-mirror-me/log.go:64:			Error			100.0%
github.com/agherzan/git-mirror-me/log.go:70:			Fatal			100.0%
github.com/agherzan/git-mirror-me/misc.go:12:			mask			100.0%
total:								(statements)		84.0%
golangci-lint run
make: golangci-lint: No such file or directory
make: *** [lint] Error 1

Looking at it, of course this is described in the README, but it's subtle that one needs to install additional tools for it, and looks like it's not really optional, if make itself needs it?

@imrehg The readme doesn't say it's optional (anymore). I wanted to make sure things are checked before being pushed to the repo as CI requires it. Now about the order, maybe it would be useful to change the order in make all or keep lint out of it as a separate target. What do you think?

I think it's a tough one, the ultimate solution would be likely something that is included in the project and runs well locally and in CI too -- but that's just moving the goalpost.
Some thoughts I can think of:

I wouldn't change the order, as it doesn't make to end up with a failure at the end if everything else was okay (and the main purpose is build)
use lint similar to reuse (ie. check whether the CLI tool the step uses exists, so making things optional). This is not necessarily great, because it opens the door of silently not running linting, instead of failing, and protecting against that would make the Makefile potentially very complicated
keeping linting as a separate target is probably workable, and CI failures are not inherently bad (fix-errors-as-they-come is quite pragmatic way of thinking about things). I understand how that might offend your sense of order.
finally, can make the linting tool mandatory for running make all, maybe that's the thing that would be the safest and simples (and best way opinionated). Ie. don't change anything (except the README, or warn in the lint step if the command doesn't exists to install it). For example for the original report, I should have gone and run make build directly and be done with it, to be honest. So it's more user error/inconvenience rather than configuration issue.

TL;DR: After thinking about it, I'd recommend keeping the current method of things for all its benefits, just clarify stuff.

@imrehg What do you think about https://github.com/agherzan/git-mirror-me/pull/12?

Yeah, seems legit, cheers!


Pass a Job instance to enqueue_at

Im trying to do something like this:
job = SomeJobClass.create(someParams)
Resque.enqueue_at(5.seconds.from_now, job)
is possible to do something like that?

It is not.


translation example chinese_traditional

help translate, please and see line 9 for an example.
thx

Translations are managed via https://www.transifex.com/iancoleman/bip39-website/
Partial translations are not accepted because it poses a risk to end users having only partial knowledge about what they're doing.
See also https://github.com/iancoleman/bip39/issues/36 - User interface in multiple languages


feat: Add Freya

hi 👋
This adds Freya, a native GUI lib powered by Dioxus and Skia.
Thanks 👍

Hello @dxenonb @shivshank can new PRs be merged?

@temeddix I'm just a person that sent a PR, I don't have any power to merge PR's :)

I see. Thank you for your response :D

@dxenonb, do you have permissions to set up the repo such that actions are automatically run for new contributors?
Should be under https://github.com/areweguiyet/areweguiyet/settings/actions, the "Fork pull request workflows from outside collaborators".

Thanks @marc2332!


When you only have 2 Steps, nextTextOnFinalActionStep does not work

You can only update the nextTextOnFinalActionStep if you have 3 or more steps. This is most probably a bug, but not a major issue as most people will have more than 2 steps.

check
https://github.com/newbreedofgeek/react-stepzilla/pull/51

Fixed in v4.6.0 via pull request #51 thanks to @agent3bood .
It's been tested but pease test and let us know if it has issues and we will reopen to investigate.


rebuild agains openssl3

[ ] checked changelog
[ ] checked requirements of upstream
[ ] checked license
[x] added openssl 3.* as run dependency
[x] updated host dependency on openssl3

opened on Conda-forge by mistake


Failed Autorest Regen Preview to 3.0.0-alpha.20240114.2 by Dapeng Zhang from refs/pull/4114/merge

Triggered from https://github.com/Azure/autorest.csharp/pull/4114

API change check
API changes are not detected in this pull request.


Position , Alignment and Rotatin of the Output

The demo.py runs smooth and results in 3d model perfectly . But the models are aligned as in the images . Can I make them aligned as straight faces irrespective of their face positions in images . And there is a little offset while positioning , positioning it at (0,0,0), makes it position in (1,0,0) visulally. It can be corrected seperately in 3d editing softwares . But can I achieve this through any function . I want all face models to be straight and aligned in center

https://blog.csdn.net/u013841196/article/details/85041968


Support for Azure Archive Blob Storage

Opening a feature request per @ncw suggestion. Here's the original discussion thread.
I would like to use rclone to back up to Azure Archive blob storage (cheapest cold storage service as far as I know). Since Azure blob storage container cannot set default blob tier to Archive, the clients must explicitly set the tier for the uploaded blobs to Archive after or during the uploads. However, it appears that rclone's Azure Blob storage implementation doesn't support this as of now.
It would be great to allow a configuration that sets the tier of the blob when uploading it.
As Azure Archive Blob Storage is so cheap (half of Glacier's pricing at the moment), this would be quite a popular use scenario for rclone.
I'm not a go-lang dev, but I think it's not too hard for someone fluent in Go :) ? I'd be happy to test it if someone implements it!

Unfortunately this isn't supported yet by the libary rclone uses to access the azure blob storage.  The relevant issue is here: https://github.com/Azure/azure-sdk-for-go/issues/808
Otherwise it would be quite easy to add!

If we don't want to wait for the SDK support, another option would be to call the Set Blob Tier REST API:
The URL to call is https://myaccount.blob.core.windows.net/mycontainer/myblob?comp=tier, then set the desired tier as one of the HTTP header: x-ms-access-tier.

Or, is there a way to configure rclone to invoke a command for every file it had just uploaded. And I would write a small executable set-blob-tier and hook them up?

Hi Nick @ncw , looks like the SetTier is supported in the base library. Is this a good time to incorporate it? Refer to: https://github.com/Azure/azure-storage-blob-go/issues/1

Read operations cost $5 per 10K for archive storage vs the regular price of $0.004.  If you ever actually need to get your data back, restoring 100K files is going to cost $50; restoring 1M files will cost $500.  This assumes each file only needs one read operation.
There is a double asterisk footnote beside "Read Operations", but the corresponding footnote is missing.  The write footnote, describing what MS considers a write operation, is there:
*The following API calls are considered write operations: PutBlob, PutBlock, PutBlockList, AppendBlock, SnapshotBlob, CopyBlob, and SetBlobTier (when it moves a Blob from Hot to Cool, Cool to Archive, or Hot to Archive. Learn more).

It's not clear on the pricing page which API calls are considered a "Read Operation", but I did find it described on the MS Pricing Calculator page:
The following API calls are considered Read Operations: GetBlob, SetBlobTier (when it moves a Blob from Archive to Cool, Cool to Hot or Archive to Hot).

Their FAQ has an example for restoring from Archive storage:
A blob cannot be read directly from the Archive tier. To read a blob in Archive, a user must first change the tier to Hot or Cool. For example, to retrieve and read a 1,000-GB blob in Archive that has been in the Archive tier for 90 days, the following charges would incur:

Data retrieval (per GB) from Archive: $0.02/GB-month x 1,000 x 1 GB = $20

Rehydrate operation (SetBlobTier Archive to Hot): $5/10k x 1,000 = $0.50

Early deletion charge: (180 - 90 days) x $0.002/GB-month x 1,000 x 1 GB = $6

Read blob operation from Hot = $0.004/10k * 1,000 = $0.0004

Total = $20 + $0.50 + $6 + $0.0004 = $26.51

I don't understand this at all.  The example says it is a 1000-GB (1TB) blob - a single blob.  Yet they are charging for 1000 Rehydrate operations.  It seems to me that this should be only 1 Rehydrate operation.  Is Rehydrate per GB or per blob?  Or it could be both: a per-GB charge with a minimum of 1 per blob.
In this example, they neglect to include bandwidth pricing @ $0.087 per GB, so add another $87 to that $26.51 fee.
The other gotcha is that they are charging for a minimum of 6-months storage, so the only way you get the cheap storage rate of $0.002/GB/month is if you leave the data there for 6 months.  If you store data for a month and remove it, it'll cost you 6x the cheap rate, or $0.012/GB/month.  For an offsite copy of data that rarely changes, this might work fine.  But a real backup system has retention policies: data expires and needs to be removed.  With Azure, nothing can be removed for 6 months, so you may be paying for data you no longer need.
In contrast, Backblaze B2 does not have any of these early deletion penalties or retrieval fees, and storage cost is always$0.004/GB/month.  Their outbound data transfer cost is 1/9th Azure: $0.01/GB.  Downloading a 1TB blob from Backblaze would cost $10 vs $113.51 for Azure Archive storage.
I think Azure Archive storage pricing is really going to hurt is when there are a lot of small files and that Rehydrate operation occurs millions of times.  They should do an example of using rclone to clone the Linux kernel git repo to Azure Archive storage and then retrieving it.  That would be an eye opener.

For my scenario, I have far less than 100K files to restore. I have less than 2TB consisting of around 20K files. These are last resort backup for me. According to my research, Azure Archive is the best option for my scenario.
I think few people will have the 1M number of files scenario to worry about. It's even less likely that even if someone is at that scale, that s/he wants to retrieve all of these files. Not to mention at that scale, I'm not sure if rclone is even a good fit for them.
But at any rate. I understand people have their own scenarios. So I'm not trying to speculate. But I just want to share my scenario and my point of view.

Since you work at Microsoft, maybe you can clarify about Azure's Read / Rehydate / SetBlobTier fee: it seems like it should be a per-blob cost, since it has units of $ per operations, but in the example of restoring a 1TB blob, it gets multiplied by 1000, implying it is a per-GB cost.  Is the pricing example wrong?
The other possibility I can think of is that it is a per-blob cost, but if a 1TB blob was actually uploaded as 1000 1-GB blobs, then when the large blob is rehydrated, Azure charges the rehydrate fee for each sub-blob.

I tried using the Azure Pricing Calculator for blob storage, hot access tier, retrieving 1000GB, and it said the cost is $21.84, with a retrieval cost of $0.00 and no bandwidth charges listed.  However, their bandwidth pricing page explains that bandwidth costs for data egress is $0.087/GB, so I believe the pricing calculator is not including bandwidth costs at all.
In Amazon Glacier, retrieval costs are completely separate from bandwidth costs.  I'm guessing the same applies to Azure Archive storage.

I goofed: that $21.84 is mainly storage costs, but still, bandwidth is not included in the pricing calculator, even for hot tier storage.

You are right, bandwidth charges are included when you move data out of Azure Data Centers similar to Amazon Glacier.

@ncw - I can add this functionality, let me know if you have any preferences in here. I can add a global flag --azure-storage-class which can be supplied in commands like sync, copy, copyto, move, moveto. This can support to tier all blobs in provided container to supplied storage class, ideally it would be nice to do this on specific blob name regex, instead of all blobs in a container. Please let me know if you have any suggestions before I start working on this.

@sandeepkru I don't think the SDK rclone is using at the momemt https://github.com/Azure/azure-sdk-for-go supports Tiering does it?  Wheras the new blob SDK https://github.com/Azure/azure-storage-blob-go does.
So to implement this might first mean porting rclone from the old SDK to the new one.  This is probably a reasonable amount of work.
Unless you had a different plan?

@ncw , you are correct. I quickly realized soon after started working on this. Since https://github.com/Azure/azure-sdk-for-go this is getting deprecated it may be good idea to start porting rclone to use new blob SDK. I can work on this and will send out two separate PRs, one for moving to new SDK and other one on Tiering changes. Please let me know if you have another issue opened on on porting to new sdk or if anyone else already working on it.

@sandeepkru wrote:

Since https://github.com/Azure/azure-sdk-for-go is getting deprecated it may be good idea to start porting rclone to use new blob SDK. I can work on this and will send out two separate PRs, one for moving to new SDK and other one on Tiering changes.

That would be fantastic

Please let me know if you have another issue opened on porting to new sdk or if anyone else already working on it.

I don't and I don't think anyone is working on it.  If you'd like to open a new issue for the port that would be great.
You'll want to run the integration tests as you go along - see the docs here: https://github.com/ncw/rclone/blob/master/CONTRIBUTING.md#testing
If you can make the backend/azureblob tests pass then it is likey that the others will pass too!
Note also that there are some pending azureblob changes in #2118 which I'm hoping to merge shortly.  The SAS URL bit of it doesn't work yet though :-(

Thanks Nick, I opened new issue, please add/modify if you think any additional details are required. I'll start on this soon and send out PR against #2362 first. I've gone through contributing doc and will follow all guidelines.

@ncw Apologies for delaying on this. Here is what I've now, let me know if I can proceed and send out pull request.
Azure Storage currently supports three access tiers on blobs Hot, Cool and Archive. I have added a new option to configuration called access_tier. By default, this value is set to None means, all blobs get tiered to default tier which set at the time of account creation. Currently Azure Storage supports this default tier as either Hot or Cool. It's mentioned here Access Tier FAQs

Can I set my default account access tier to archive?

No. Only hot and cool storage tiers may be set as the default account access tier. Archive can only be set at the object level.

When user explicitly sets access_tier to Hot or Cool or Archive and if invoked data transfer operations sync, move, copy etc. with remote as azure endpoint , we can explicitly perform SetBlobTier on all those objects if object is not already in desired tier.
I have changes up to this point, without unit and integration tests. I tested manually with azure endpoint.

Open questions
To restore objects from archive, users should tier blob to Hot or Cool - This typically takes few hours as per Azure Storage SLAs

What kind of feedback should we have in rclone to effectively convey this to users?
   -  `GetBlobProperties` shows provides status of restore, we can include this information in commands like ls

Data Transfer operations will fail if source is azure endpoint and if all objects are in archive tier? How to handle this gracefully? Shall rclone throw error and continue ?

If objects already exists in remote but not locally, how should be support setting tier? sync first to local and perform sync again with access_tier flag?

Extended feature - If we can introduce a regular expression matching on blob names and change tier only for those matched ones instead of changing tier on all objects with in a container or directory? - This may be applicable to copy ,move type of operations as well. Not sure, there is already existing feature or ask on this already.

Please let me know your thoughts on these and we can proceed accordingly.

What kind of feedback should we have in rclone to effectively convey this to users?

Hmm a good question...

Data Transfer operations will fail if source is azure endpoint and if all objects are in archive tier? How to handle this gracefully? Shall rclone throw error and continue ?

Returning an error is the correct thing to do .  Presumably we'll get an error back from Azure anyway.

If objects already exists in remote but not locally, how should be support setting tier? sync first to local and perform sync again with access_tier flag?

This is the difficult question.  There are other backends that support this kind of thing (like S3 and the OVH cloud archive).  Can you have a look at the semantics of those.
Perhaps another rclone command rclone set-tier might be the thing, which iterated through Object~s and called an option SetTier method on the objects.  You'd be able to choose which blobs you changed with all the rclone filters
Sorry if the above is a bit incoherent it was written in haste!

Returning an error is the correct thing to do . Presumably we'll get an error back from Azure anyway.

Will do, thanks. Yes, Azure returns error in that case.

This is the difficult question. There are other backends that support this kind of thing (like S3 and the OVH cloud archive). Can you have a look at the semantics of those.

Will check, thanks for the pointers.

Perhaps another rclone command rclone set-tier might be the thing, which iterated through Object~s and called an option SetTier method on the objects. You'd be able to choose which blobs you changed with all the rclone filters

Recently came across rclone filters, thanks. A separate rclone command will solve many problems, and same idea crossed my mind, but I didn't like idea of having separate command just to support one backend since this is very specific to Azure Storage, and currently rclone doesn't seem to have any such non generic command. Please let me know what do you think(?) If we want to move forward with separate command, I can implement those changes and send out in next iteration.

A separate rclone command will solve many problems, and same idea crossed my mind, but I didn't like idea of having separate command just to support one backend since this is very specific to Azure Storage, and currently rclone doesn't seem to have any such non generic command. Please let me know what do you think(?) If we want to move forward with separate command, I can implement those changes and send out in next iteration.

I think a separate command is the right thing to do.  Commands are easy to make and it would be great if it supported other cloud storage providers.
Let's get your basic tier support merged then we can have a go at a separate command.

Sounds good, will send out new iteration soon.

OK just wanted to share out the way I addressed this problem. As my go-lang knowledge is limited to only fixing this problem and I don't have a lot of time doing bigger changes, I forked rclone, added a command line option --on-synccopy. What this option does is that it takes a path to a program as a callback. When a file is successfully "synced/copied", this program will be invoked by rclone, passing the file's remote path to it as the first argument.
With this, I invoke rclone like so:
rclone copy /data azure:data --on-synccopy "$BASEDIR/../fixtier/fixtier.sh"

Where fixtier.sh is a wrapper of my C# program that sets the tier for the file just synced by rclone.
I now like this approach better than adding any provider specific logic into core rclone because it's much flexible and can cater for many use scenarios that can't be foreseened by rclone devs. It's basically an automation extension point for rclone. And I'd love to see rclone having more extension points like this in the future to be more controllable by automation.
My change to this is in https://github.com/kflu/rclone/commit/4e05ae18a5e706c8c08dfc2b234a6f3b9b089683. Let me know if you guys feel like a PR but I basically hacked it up so it's better if someone can rewrite this in a "proper" way.

@kfu - very ingenious :-)  @sandeepkru 's changes will work exactly for your use case - they do effectively the fixtier.sh but in the backend.
The idea of an --on-synccopy flag is an interesting one and it isn't the first time this sort of thing has come up.  I think a general purpose set of hooks is an interesting idea (eg pre-copy, post copy, pre-delete, post-delete).  Fancy making a new issue to discuss further?

@kflu - Now, rclone has --access-tier flag and a new command settier to perform tier changes on azure blob storage. Can you please check if it addresses what you were expecting so that we can close issue?

I'm going to close this now as I think it is done.


How to set multiple scoop in $this->client->setScopes("email profile");

like me and login
##above redirect to userinfo.email and userinfo.profile
i want to use plus.login and plus.me

    $client->setScopes([
        "https://www.googleapis.com/auth/plus.me",
        "https://www.googleapis.com/auth/plus.login",
    ]);

Why is this topic closed? I can't set profile scope here.


[Typed throws] Compute and use the caught error type of a do..catch block

The type that is caught by the catch clauses in a do..catch block is determined by the union of the thrown error types in the do statement. Compute this type and use it for the catch clauses. This does several things at once:

Makes the type of the implicit error be a more-specific concrete type when all throwing sites throw that same type
When there's a concrete type for the error, one can use patterns like .cancelled
Check that this error type can be rethrown in the current context
Verify that SIL generation involving do..catch with typed errors doesn't require any existentials.

@swift-ci please smoke test


Toaster, Connection

Add the toast feature to display success and failures
Add the connection feature

Video?

LGTM


django: Wrong return type on django.contrib.auth.get_user_model (tracking)

In Django the recommended way to work with users is to call django.contrib.auth.get_user_model to get the model set to manage users.
To add a new user to the database one would create a new instance of the class returned by get_user_model and then set the password using the classes method set_password.
The current return type is a generic models.Model while the set_password is a method defined in AbstractBaseUser which is the model recommended to be inherited when extending the base user functionality.

I opened a PR in the django-stubs repo, and I opened this issue here to track it as it affects Pylance as well.

This enhancement request has been open for a while. Closing old issue because of lack of upvotes.


Investigate copilot in opengpt

UAC:

[ ] Investigate the engineering effort to implement this.

we need to finish these two tickets first: #357, #358


Update langchain version and related VertexAI libraries to be imported

Langchain is now running v0.1.20 while the code is still on 0.0.310 which is quite old. Additionally with the Langchain version update, some VertexAI libraries got deprecated and are to be utilized in a differently as suggested in the PR.

Thanks Sid

My pleasure @ezhilvendhan! :)


Give people a way to avoid Github verification when creating a new Collective

User story
As a Collective creator of an open source related Collective, I want to be able to set up a new Collective without being forced to join Open Source Collective or verify using the 100 Github stars requirement, so that I can create a self-hosted Collective or apply to a different host.
Best solution for this problem
When going through the create Collective process, if they select "open source" as their type, instead of automatically sending them to verify using Github stars, give them the option to do that or continue without Github verification. They should be able to choose to host themselves, have no host, or apply to a different host than OSC.
MVP
Our current workaround for this is to tell them to choose 'other' instead of 'open source'. But they have no way to know this unless they contact support. Maybe add some help text on the tags screen if they select 'open source' saying "If you don't have 100 Github stars, choose 'other' instead".

Maybe add some help text on the tags screen if they select 'open source' saying "If you don't have 100 Github stars, choose 'other' instead".

Maybe the Open Source one should say 'via Github' and the other Open Source?

I believe this is now being solved in opencollective/opencollective#2874 with the new Create Collective Flow
We offer 'request manual verificaiton' instead of verifying by stars
Will close this issue once it's merged

This is fixed in the new flow


Files Loader Regex

Can I suggest you make it clearer in the documentation the regex is case sensitive. Use the following, for example to ignore case
(?i).*.mp4
Example: .*.mp4 will load only mp4 files

Thanks, I will add that in the documentation.


Map vs Properties usages

There are mixed usages of Map[String, Object] and java.util.Properties spread in the codebase to pass configuration to KafkaConsumers, KafkaProducers and so on: is there a reason?

Not a particular one. I'd like to stick to using Map everywhere if possible.

True but most developers are more familiar with Map in my opinion. I'd happily merge a PR!


Adds missing fs.ModeDir flags to dir entries

looks like this is resolved in the upstream https://github.com/liamg/memoryfs/commit/7b46b09a0d558f196b1bcd594ff34c9099fc10e2
this fork is no different than the upstream except import path (https://github.com/liamg/memoryfs/compare/master...aquasecurity:memoryfs:master), so what's your thoughts on the best action to take? I think we should just point the memfs in Trivy to the upstream instead of maintaining this fork. @knqyf263

Thanks for updating! aquasecurity/memoryfs was supposed to be upstream, but this is no longer the case for historical reasons. As you say, maintaining forks is not ideal. We're planning to switch to mapfs. We will not use this fork (and even upstream).

good!


List (ls) should accept multiple paths to list

A request to list multiple paths is a very common result of shell expansion. So
wash . ❯ ls gcp/Wash/*

should succeed rather than give
Error: accepts at most 1 arg(s), received 2

This now works.


[BUG] login with member role, no secret api access

Describe the bug

The user login with the member role, views the vm template, and the page reports an error display no secret access

The cloud-init in the template is saved via secret, so we need to have access to the secret
To Reproduce
Steps to reproduce the behavior:

login with member role
click  Advanced => Templates
click view config

Expected behavior

view config works fine
Support bundle

Environment:

Harvester ISO version:
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

Dev update @johnliu55tw
Detail reproduce steps

Create a Harvester cluster (one node would be sufficient)
Follow the instructions on https://docs.harvesterhci.io/v1.0/rancher/rancher-integration/ to create a Rancher deployment and add the Harvester cluster into Rancher
In Rancher, create a new user someuser as "Standard User"
Go to the "Virtualization Management" page of Rancher -> Click "Manage" of the Harv. cluster -> Edit Config -> Add user someuser as "Member", instead of "Owner" or "Custom"
Logout from Rancher, and login with user someuser
Go to Virtualization Management -> Click the Harv. cluster -> Go to Advanced/Templates -> Click any template -> Click "View Config" on the menu on the top-right corner
It shows nothing

Root cause
Users with the "Member" role are not granted to view secrets resources.
Fix
The permissions to view the Harvester resources controlled by ClusterRole harvesterhci.io:view. We could add resource secrets to this ClusterRole to grant the users with Member role to view the secrets:
...
- apiGroups:
    - ""
  resources:
    - secrets
  verbs:
    - get
    - list
    - watch

This ClusterRole will first be aggregated into another ClusterRole view, then this view will be bound to a Group system:authenticated by a RoleBinding harvester-public in the namespace harvester-public. In other words, only secrets in harvester-public namespace will be revealed to the users with Member role.
Currently, there's another secret called default-token-XXXXX that contains the token to identify the service account. Not sure whether revealing this token to users? @guangbochen  @yasker
kubectl get secrets -n harvester-public
NAME                  TYPE                                  DATA   AGE
default-token-58t64   kubernetes.io/service-account-token   3      30m  <- The token secret
test-public-qx7ar     secret                                1      11m

Verified fixed on master-bfd6a8a9-head. (02/21) Close this issue.
Result
Standard user with member role in harvester can view template config and access secret.

Test Information

Test Environment: 1 node1 harvester on local kvm machine
Harvester version: master-bfd6a8a9-head
Rancher version: v2.6.4-rc4

Verify Steps

Import existing harvester from rancher dashboard
Create a standard user someuser in Rancher user & authentication
Access harvester from rancher virtual management
Add a new member in the RBAC in harvester dashboard
Provide someuser with member role
Logout and login someone in rancher
Access Harvester from rancher dashboard
Go to Advanced/Templates -> Click any template -> Click "View Config"

Additional Context


Is there a way to enable alpha supersampling in the config?

Is there a way to enable alpha supersampling in the config?

No, and that kind of feature is not a simple on/off toggle.

No, and that kind of feature is not a simple on/off toggle so it needs to be implemented by the game.
Oh ok. Thanks!


nss: 3.101.1 -> 3.101.2

https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/DFuJA6A3nLQ
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build nss.tests

@ofBorg eval

perl5.38.2-XML-LibXML-2.0209 fails tests and is in the closure of the firefox vm tests.


options to disable post-run Annotations

Thanks for your project.
I'm using sccache in a container so sccache in host doesn't cache anything. Bug actions still generate reports in post-run.
Is it possible to have a options to disable annotations?

It looks fine to me to have a disable_annotations option. PRs are welcome!


FIxed Wordsearch Successful Submission Page Heading Bug

The clash was happening because the style applied on h1 was being using on the submission page somehow.
I moved it into its own css class .heading-h1 so it doesn't apply directly to h1, so this should fix it. But I can't test this locally because the word-search-generator package doesn't work for me, so if you could double check and test that @stmudie that would be great! 🙏
I also bumped the padding on mobile around the letters so there's more space to tap each letter without accidentally tapping the letters next to it.

This renders the correct page now - but for some reason no confetti?

I think the reason is that the submission javascript takes the html returned by the submission page and subs it to the html of the puzzle page. See URL here:

usually upon submission that changes to [etcetc]/submission
Confetti are set to trigger on DOM loading and it does not work when subbing html in (does something similar when you submit with htmx)

@luigiferiani @stmudie Ah! Yes, that's because it's a 'fake' success page! Great catch!
The JS was POST-ing to /submission, getting the response HTML page, then replacing the HTML content of the current page with the response.

I've updated the html & JS to submit without JS. (And updated the JS to automatically store & update the hidden answer string as users add words, so it doesn't need to delay the form submission to generate the string and the HTML submit button is good to go whenever the user clicks on it.)


Add optional configuration for top level navigation given netbox 3.4

See https://github.com/ryanmerolle/netbox-acls/blob/dev/netbox_acls/navigation.py for an example approach.

is it about this part? did not know about this feature, will check.
if plugin_settings.get("top_level_menu"):
    menu = PluginMenu(
        label="Access Lists",
        groups=(("ACLs", menu_buttons),),
        icon_class="mdi mdi-lock",
    )
else:
    menu_items = menu_buttons

Introduced in 3.4.0
https://github.com/netbox-community/netbox/issues/9071


Parallel Sync: AttributeError: Can't pickle local object 'create_engine..connect'

PGSync version: Latest Commit: https://github.com/toluaina/pgsync/commit/fdaf415ca5da208debb81924abe6d05404fe8701
Postgres version: 13.5
Elasticsearch version: 8.0.0
Redis version: 6.2.6
Python version: 3.8.9
Problem Description:
I get the following error after running:
parallel_sync --config schema.json -n 1

Error Message (if any):
2022-02-28 10:06:18.498:INFO:pgsync.utils: Settings:
2022-02-28 10:06:18.498:INFO:pgsync.utils: Schema    : None
2022-02-28 10:06:18.498:INFO:pgsync.utils: -----------------------------------------------------------------
2022-02-28 10:06:18.498:INFO:pgsync.utils: Postgres:
2022-02-28 10:06:18.498:INFO:pgsync.utils: URL: postgresql://pgsync:*****@****
2022-02-28 10:06:18.498:INFO:pgsync.utils: Elasticsearch:
2022-02-28 10:06:18.498:INFO:pgsync.utils: URL: http://elastic:*****@***
2022-02-28 10:06:18.498:INFO:pgsync.utils: Redis:
2022-02-28 10:06:18.498:INFO:pgsync.utils: URL: redis://****
2022-02-28 10:06:18.498:INFO:pgsync.utils: -----------------------------------------------------------------
2022-02-28 10:06:18.504:DEBUG:__main__: ncpus   : 1
2022-02-28 10:06:18.504:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:06:18.509:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:06:18.966:INFO:elasticsearch: GET https://****/ [status:200 request:0.457s]
2022-02-28 10:06:19.040:INFO:elasticsearch: GET https://****/ [status:200 request:0.073s]
2022-02-28 10:06:19.040:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:06:19.041:DEBUG:pgsync.urls: Connecting to Redis without password.
2022-02-28 10:06:19.720:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:06:19.722:DEBUG:pgsync.plugin: Plugin class: plugins.tokens_plugin.TokensPlugins
 - tokens
   |- listings
   |   - transactions
    - collections
2022-02-28 10:06:27.986:INFO:elasticsearch: HEAD https://****/tokens [status:200 request:0.075s]
Query tasks... 0:00:36.871775 (36.87 sec)
2022-02-28 10:07:04.864:DEBUG:__main__: tasks   : 167
2022-02-28 10:07:04.864:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:07:04.866:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:07:05.196:INFO:elasticsearch: GET https://****/ [status:200 request:0.329s]
2022-02-28 10:07:05.270:INFO:elasticsearch: GET https://****/ [status:200 request:0.074s]
2022-02-28 10:07:05.271:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:07:05.271:DEBUG:pgsync.urls: Connecting to Redis without password.
2022-02-28 10:07:06.102:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:07:06.103:DEBUG:pgsync.plugin: Plugin class: plugins.tokens_plugin.TokensPlugins
 - tokens
   |- listings
   |   - transactions
    - collections
2022-02-28 10:07:13.408:INFO:elasticsearch: HEAD https://****/tokens [status:200 request:0.075s]
2022-02-28 10:07:13.409:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:07:13.415:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:07:13.746:INFO:elasticsearch: GET https://****/ [status:200 request:0.330s]
2022-02-28 10:07:13.820:INFO:elasticsearch: GET https://****/ [status:200 request:0.073s]
2022-02-28 10:07:13.820:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:07:13.820:DEBUG:pgsync.urls: Connecting to Redis without password.
2022-02-28 10:07:14.525:DEBUG:pgsync.plugin: Reloading plugins from package: plugins
2022-02-28 10:07:14.525:DEBUG:pgsync.plugin: Plugin class: plugins.tokens_plugin.TokensPlugins
 - tokens
   |- listings
   |   - transactions
    - collections
2022-02-28 10:07:21.877:INFO:elasticsearch: HEAD https://****/tokens [status:200 request:0.073s]
2022-02-28 10:07:22.037:DEBUG:__main__: pull txmin: None - txmax: 17144380
 0:01:03.555797 (63.56 sec)
Traceback (most recent call last):
  File "/Users/rjdlee/src/wagmi-cardano-sync/bin/parallel_sync", line 178, in <module>
    main()
  File "/Users/rjdlee/src/wagmi-cardano-sync/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/Users/rjdlee/src/wagmi-cardano-sync/lib/python3.8/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/Users/rjdlee/src/wagmi-cardano-sync/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/rjdlee/src/wagmi-cardano-sync/lib/python3.8/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/Users/rjdlee/src/wagmi-cardano-sync/bin/parallel_sync", line 174, in main
    pull(ncpus, config, verbose=verbose)
  File "/Users/rjdlee/src/wagmi-cardano-sync/bin/parallel_sync", line 137, in pull
    worker.start()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'create_engine.<locals>.connect'

Thanks for that. This is a pickle error that manifests in python 3.8+
I have fixed that in the master branch

Fixed now. Closing


Problem with Angular testing

Hello, I follow the instructions but is have a problem when trying to config the @NgModule for the specific test.
ERROR: 'NG0304: 'svg-icon-sprite' is not a known element:

If 'svg-icon-sprite' is an Angular component, then verify that it is part of this module.
If 'svg-icon-sprite' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.'

Note: Not working to import the IconSpriteModule or IconSpriteComponent.
Please, write me for more info.
Best regards

What kind of test are you writing? Probably you will have to add the svg-icon-sprite module or its component to the declarations of each test or all tests, i.e.
declarations: [IconSpriteComponent]
or
imports: [IconSpriteModule]
You can read https://molily.de/testing-angular/testing-modules/ - this does not sound like an error with the library itself. If I don't hear otherwise I will close this issue until end of this week.

Hello @jannicz , thank you for your answer.
Look please at my comment what I wrote.
"Note: Not working to import the IconSpriteModule or IconSpriteComponent.
Best regards

If you are not testing the interaction between parent and child components you can ignore the child components in the template .You can also use "NO_ERRORS_SCHEMA"

 TestBed.configureTestingModule({
    declarations: [
        ...
    ],
    schemas: [NO_ERRORS_SCHEMA]

Hello, is not good solution to use not error schema. I want to config my tests properly for that reason I want to put the child component. I wrote unit tests but the test doesn't have mater. Is have some problem with component. Try pls to use the newest version of Angular and the npm package who you wrote and you will see the issue. If you have more questions or you want to show you directly pls ping me, I will help. Chears

If you are not testing the interaction between parent and child components you can ignore the child components in the template .You can also use "NO_ERRORS_SCHEMA"

 TestBed.configureTestingModule({
    declarations: [
        ...
    ],
    schemas: [NO_ERRORS_SCHEMA]

Hi, I have the same issue. It works in angular 10, but when I upgrade to angular 11, it doesn't work.

@christiyan14, @lin1010, I created a code sandbox with Angular 11 and a simple unit test. Could you maybe fork this and add your configuration that is causing the issue (so I can reproduce it).
https://codesandbox.io/s/thirsty-hawking-i03mj?file=/src/app/app.module.ts
Thanks

Will close this one as no answer given. Thanks for using!


arrow function will throw syntax error

first, I'm new to front-end, so this may not be a problem of this generator
arrow function fails to build.
Insert the following code into AppComponent
  xyz = () => { this.x = 2; };

This work  in babel 5

Well, I've just learnt that:
It's a feature of es6 stage0.

This is completely misunderstood

you probably just didn't install the babel presets, or something.
babel does implement arrow functions.

Check this page:
http://jamesknelson.com/using-es6-in-the-browser-with-babel-6-and-webpack/
You need to add "stage-0" preset
module: {
  loaders: [
    {
      loader: "babel-loader",

      // Skip any files outside of your project's `src` directory
      include: [
        path.resolve(__dirname, "src"),
      ],

      // Only run `.js` and `.jsx` files through Babel
      test: /\.jsx?$/,

      // Options to configure babel with
      query: {
        plugins: ['transform-runtime'],
        presets: ['es2015', 'stage-0', 'react'],
      }
    },
  ]
}

Hi @belal-mazlom,
the article is kind of outdated. Arrow-Functions are currently supported in babel by using es2015. You can see the implementation details of the generator here (for the beta) or here for the current stable. State-0 is not needed to transform for arrow anymore. You can just add it to .babelrc.

this issue has been closed for three years. please don't spam it with works for me.


[Bug report] Cannot set session properties on the Trino-connector

Describe what's wrong
When we set session properties on the Graviton Trino-connector, the query doesn't work after the setting is applied.
Error message and/or stacktrace
Run the commands in the trino-cli:
trino> use "test.gt_postgresql".gt_db1;
USE
trino:gt_db1> set session "test.gt_postgresql".join_pushdown_strategy='eager';
SET SESSION
trino:gt_db1> explain select customer.custkey, orders.orderkey from customer join orders on customer.custkey = orders.custkey order by orders.orderkey limit 10;
           ->
Error starting query at http://localhost:8080/v1/statement returned an invalid response: JsonResponse{statusCode=400, headers={content-length=[30], content-type=[text/plain], date=[Wed, 24 Jan 2024 01:57:37 GMT]}, hasValue=false} [Error: Invalid X-Trino-Session header]
trino:gt_db1> explain select customer.custkey, orders.orderkey from customer join orders on customer.custkey = orders.custkey order by orders.orderkey limit 10;
Error starting query at http://localhost:8080/v1/statement returned an invalid response: JsonResponse{statusCode=400, headers={content-length=[30], content-type=[text/plain], date=[Wed, 24 Jan 2024 01:57:39 GMT]}, hasValue=false} [Error: Invalid X-Trino-Session header]

Trino has fixed this bug in the issue.
https://github.com/trinodb/trino/issues/20474


separate directory path from filepath to make directories

Previous behavior was for python blink/build_faiss_index.py --save_index --hnsw --output_path models/faiss_hnsw_index.pkl to write out a directory then fail when saving the index because the index needs to be written as a file. This pull requests separates the directory, creates the directory, then maintains the output path so a file can be written.

Thanks @tbonza  for the fix!

Thanks @tbonza  for the fix!


Document java files which require documentation

Description
The following java files need documentation:

[ ] Common API Manager.java
[ ] OpenFoodAPIClient.java
[ ] WikidataApiClient.java
[ ] CategoryRepository.java
[ ] FileDownloader.java
[ ] CategoryFragmentViewModel.java
[ ] AdditiveFragmentHelper.java

Please comment name of few more classes that needs documentation

@vanshikaarora There are many files in the whole project which requires documentation.

@RajaVamsi11 Can you please add more suggestions to the list :)

@vanshikaarora Instead of naming all java files here we can create different issues for different packages like a dagger, jobs, models, etc.,


[Feature Request]: Improve nav bar

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description

The nav bar can look better by aligning the anchor tags in proper way
Use Case
Enhance user experience.
Benefits
No response
Priority
Medium
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Kindly assign me this task. I want to perform it.

Kindly assign me this task. I want to perform it.


I only tested this in a Scala kernel.
probably related to #6207

I tested this issue with both Scala and Groovy kernels, but cannot replicate it.
Here is the sample project I used:
cat pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
  <groupId>foo</groupId>
  <artifactId>bar</artifactId>
  <version>0.1.0-SNAPSHOT</version>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.9</version>
			<exclusions>
				<exclusion>
					<groupId>org.hamcrest</groupId>
					<artifactId>hamcrest-core</artifactId>
				</exclusion>
			</exclusions>
    </dependency>
  </dependencies>
</project>

cat src/main/java/Hello.java
public class Hello {
  public static void main(String... args) {
    System.out.println("Hello");
  }
}

And here is what I saw in Jupyter Notebook:

As you can see, the excluded hamcrest-core is coming in.
I think you will need to post an MCVE if you want this issue to be investigated further.


Add MiG 21 Fishbed from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of LuizChacon, to add MiG 21 Fishbed to CKAN.
Please direct questions about this pull request to LuizChacon.

part of #1860


Add ESA CCI land cover dataset

Description
ESA Climate Change Initiative (CCI) Land Cover
Home: https://cds.climate.copernicus.eu/cdsapp#!/dataset/satellite-land-cover?tab=overview
The ESA CCI land cover dataset consists of global annual land cover maps at 300m spatial resolution from 1992 to 2020. The source data are NetCDF files that contain five variables: one contains the land cover classes; the remaining four are quality indicators. The source NetCDF files are processed to tiled COGs
STAC Collections

esa-cci-lc: COG data
esa-cci-lc-netcdf: source NetCDF data

PC Test

Dataset group page
Data Explorer view

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
The 2016 and 2017 data have been ingested into PC Test.
Checklist:
Please delete options that are not relevant.

[x] I have performed a self-review
[ ] Changelog has been updated
[ ] Documentation has been updated
[ ] Unit tests pass locally (./scripts/test)
[x] Code is linted and styled (./scripts/format)

Thanks!


Node Customize Plugin

I've been looking for some way to change the node when its being drawn.
I found #1068, but the approach is very specific and the options are not all usable as advertised.
So I've tried to take a generic approach to create a very simple plugin.
The configuration is quite simple:
"node_customize": {
    "key": "type", // default is "type", so only change if you want to use something else
    "switch": {
        "type1": function (el, node) {
            el.title = 'hello';
        },
        "type2": function (el, node) {
            el.title = 'world';
        }
    },
    "default": function (el, node) {
        el.title = 'foo bar';
    }
}

This looks at a node configuration and if it has a property "type" (configurable as seen above), it will try to find a matching function in the map "switch". If no type was specified, or no entry was found in switch, default gets called.
It can be used to set title attribute, add custom buttons, etc.

Thank you for this, I will not add it to the official list of plugins just yet. However I took the liberty of placing your plugin in the misc.js file where I store all 3rd party plugins. If there is interest in the plugin (I measure that by questions here and on the groups page) I will move it to the core and start maintaining it.
I hope it will be OK to contact you in a few weeks with a question or two, as I am working on jsTree v.4, where the types plugin will be expanded. I hope you will be able to spare a few minutes and share thoughts and insights - the v.4 types plugin will probably be a mix of the current types plugin and ideas borrowed from your plugin, so a lot of additional stuff will be possible with the v.4 types plugin.
Best regards,
Ivan

sure, no problem. Looking forward to v.4.


Undofile was not cleaned-up by Test_FileChangedShell_reload()

This PR cleans up an undo file ".Xchanged_r.un~" that is left in
"vim/src/testdir/" when running "make test_filechanged".

Codecov Report

Merging #4279 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4279      +/-   ##
==========================================
- Coverage   79.81%    79.8%   -0.02%
==========================================
  Files         106      106
  Lines      141579   141579
==========================================
- Hits       113006   112986      -20
- Misses      28573    28593      +20

Impacted Files
Coverage Δ

src/gui.c
57.42% <0%> (-0.94%)
:arrow_down:

src/if_xcmdsrv.c
84.02% <0%> (-0.36%)
:arrow_down:

src/gui_gtk_x11.c
48.67% <0%> (-0.25%)
:arrow_down:

src/sign.c
93.38% <0%> (-0.13%)
:arrow_down:

src/term.c
69.1% <0%> (-0.06%)
:arrow_down:

src/screen.c
80.62% <0%> (+0.02%)
:arrow_up:

src/ex_cmds.c
81.77% <0%> (+0.09%)
:arrow_up:

src/window.c
86.46% <0%> (+0.09%)
: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 b49e356...64f519b. Read the comment docs.


Default launch.json incorrect

After installing the plugin im getting errors in my launch.json when trying to use the bash debugger, is there a default configuration I can use?

Finally founds something
https://stackoverflow.com/questions/44364613/how-can-i-set-the-launch-json-when-debug-the-bash-shell-on-vscode

Finally i have some time to look into this project. After this default config issue is fixed and tested on Win/Linux/Mac, i can release a new version to VSCode plugin repo.
Please notice that using ${file} on windows WSL bashdb will produce wrong path, so windows needs different default config.

Oops, I've just resumed to dealing with package.json issues :)
@rogalmic, will you start your activity from today? If so, I'll stop my work on #49.

No need to stop, i am mostly testing now since I want to know current state of project.
There are some issues under windows, but biggest one is this error when starting without launch.json file on disk:

Thank you. I think my work should be done in 24 hours.
I also recognize some other issues, which will be fixed in #49. So maybe it's better to start testing after #49 merged.

OK, I will not rush this release. Lets get all fixes together, then release. In mean time i will push vsix files somewhere in github.
Then testing can be done via:


feat(material-experimental): add MDC-based mat-option and mdc-core entry point

Sets up the MDC-based mat-option and mat-optgroup which are a prerequisite for the MDC-based mat-select and mat-autocomplete.
Adds a new mdc-core entry point which is the equivalent of material/core. We'll need this in the future for other things like an MDC-based mat-core-theme and for the elevation styles.

I've reworked the PR based on the feedback.


Bluetooth: controller: Fix redundant length update event

Fix generation of redundant length update event when no
change in effective octets or time.
Fixes LL.TS.5.0.2 conformance tests:
LL/CON/MAS/BV-73-C [Master Data Length Update - Responding
to Data Length Update Procedure; LE 1M PHY]
LL/CON/MAS/BV-74-C [Master Data Length Update - Initiating
Data Length Update Procedure; LE 1M PHY]
LL/CON/MAS/BV-76-C [Master Data Length Update - Responding
to Data Length Update Procedure; LE 2M PHY]
LL/CON/MAS/BV-77-C [Master Data Length Update - Initiating
Data Length Update Procedure; LE 2M PHY]
LL/CON/SLA/BV-77-C [Slave Data Length Update - Responding
to Data Length Update Procedure; LE 1M PHY]
LL/CON/SLA/BV-78-C [Slave Data Length Update - Initiating
Data Length Update Procedure; LE 1M PHY]
LL/CON/SLA/BV-80-C [Slave Data Length Update - Responding
to Data Length Update Procedure; LE 2M PHY]
LL/CON/SLA/BV-81-C [Slave Data Length Update - Initiating
Data Length Update Procedure; LE 2M PHY]
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #5936   +/-   ##
=======================================
  Coverage   54.05%   54.05%
=======================================
  Files         461      461
  Lines       43739    43739
  Branches     8369     8369
=======================================
  Hits        23645    23645
  Misses      19953    19953
  Partials      141      141

Impacted Files
Coverage Δ

tests/kernel/obj_tracing/src/philosopher.c
88.88% <0%> (-11.12%)
:arrow_down:

arch/posix/core/posix_core.c
87.06% <0%> (+1.72%)
: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 9a238cd...d932b38. Read the comment docs.


Extract Celluloid::IO::Stream::Latch into Celluloid itself

This class is effectively a "task aware mutex" and is available here:
https://github.com/celluloid/celluloid-io/blob/fdd66442f65715e14e27910a01ce0d7ef971915d/lib/celluloid/io/stream.rb#L369
Perhaps it should be called Celluloid::Mutex instead? Celluloid::Lock? Celluloid::Semaphore? (it's close to being a semaphore)

This will be done in 0.17.5 at celluloid/celluloid#341


How to include Negative samples/images for training

How to add negative samples while training. If i have my own datasets for 2 classes (e.g laptop and tvmonitor) and i have to include negative images/samples (which are not laptop and tvmonitor) then how should i add those images in configuration or in labels config.
Reason being to put this forward is after trained fully my network recognises window screen (with cover and some dim sunlight) as tvmonitor so i need to feed some negative samples to overcome this issue.
Or kindly suggest me some alternative to overcome this issue.

You can use some other type images to a third class.
Then use im2rec tool to make the dataset.

@qiliux - I tried that but overall accuracies is going down. Also the number of negative images i need to increase but still the accuracies is not going up. Also the number of classes will increase (i meant need to put if-else condition; basically not to display).
Is there any way to somehow lower down/increase the overtrained losses for each class by putting negative samples ? Or any research papers associated with this kind-of approach (did google but in vain)


Add test cases for history.py

Build is failing https://app.travis-ci.com/github/sak007/MyDollarBot/builds/240895751
Don't hardcode path

Updated the Styling issues and Style Checkers - 134544d20b15bc493ee7d5703259fce1d3bf7e18
Build passing and test cases updated for delete.py and history.py
Please verify the close the issue if there are no more errors. @sak007 @sak1997

Updated the Styling issues and Style Checkers - 134544d20b15bc493ee7d5703259fce1d3bf7e18
Build passing and test cases updated for delete.py and history.py
Please verify the close the issue if there are no more errors. @sak1997  @sak007


Reference of Input to "on_change" event?

There exists #63 which allows to pass a reference of the Menu to its on_change callback. I was wondering if the same could be possible for the Input's on_change event?
Inspired by #63, I tried doing something similar on this line. However that did not seem to have worked at all.
diff --git a/lua/nui/input/init.lua b/lua/nui/input/init.lua
index 3a42010..c671146 100644
--- a/lua/nui/input/init.lua
+++ b/lua/nui/input/init.lua
@@ -101,7 +101,7 @@ function Input:init(popup_options, options)
     props.on_change = function()
       local value_with_prompt = vim.api.nvim_buf_get_lines(self.bufnr, 0, 1, false)[1]
       local value = string.sub(value_with_prompt, self._.prompt:length() + 1)
-      options.on_change(value)
+      options.on_change(value, self)
     end
   end
 end

Actually, with my example below, it spits out a big error after hitting one character, which the error scared me. After the error, the input box seems to be dead, not responding to input neither being able to be closed anymore.
Error executing lua callback: ...site/pack/packer/start/nui.nvim/lua/nui/popup/border.lua:503: E523: Not allowed here
stack traceback:
    [C]: in function 'nvim_buf_delete'
    ...site/pack/packer/start/nui.nvim/lua/nui/popup/border.lua:503: in function 'unmount'
    ...m/site/pack/packer/start/nui.nvim/lua/nui/popup/init.lua:271: in function 'unmount'
    /tmp/samba/nui-test.lua:52: in function 'on_change'
    ...m/site/pack/packer/start/nui.nvim/lua/nui/input/init.lua:104: in function <...m/site/pack/packer/start/nui.nvim/lua/nui/input/init.lua:1 01>

I want to create a mapping where I enter a vim register as a parameter via the nui input box. I know that a vim register will only be a single character long, so I was trying to use the on_change callback to close itself after I insert a character.
Here is something along the lines I was hoping to achieve. I created a wrapper function for myself called nuiInput which you can find further down.
-- simply echo contents of register
vim.keymap.set('n', 'Q', function()
    nuiInput{
        text = 'Register',
        on_change = function(value, input)
            if #value > 0 then
                input:unmount()
            end
        end,
        on_submit = function(reg)
            print(("Contents of %s: %s"):format(reg, vim.fn.getreg(reg)))
        end,
    }
end)

My nuiInput helper function.
function nuiInput(params) -- {{{
    params.position  = params.position  or "50%"
    params.width     = params.width     or 30
    params.text      = params.text      or 'Input Box'
    params.padding   = params.padding   or {1,1,1,1}
    params.prompt    = params.prompt    or nil
    params.default   = params.default   or nil
    params.on_close  = params.on_close  or nil
    params.on_submit = params.on_submit or nil
    params.on_change = params.on_change or nil

    local input = require('nui.input')({
        position = params.position,
        size = {
            width = params.width,
        },
        border = {
            style = ({ "double", "none", "rounded", "shadow", "single", "solid" })[3],
            text = {
                top = params.text,
                top_align = ({ "left", "right", "center" })[3],
            },
            padding = {
                top    = params.padding[1],
                left   = params.padding[2],
                bottom = params.padding[3],
                right  = params.padding[4],

            },
        },
        win_options = {
            winhighlight = "Normal:Normal,FloatBorder:SpecialChar",
        },
    }, {
        prompt        = params.prompt,
        default_value = params.default,
        on_close      = params.on_close,
        on_submit     = params.on_submit,
        on_change     = params.on_change,
    })

    -- mount/open the component
    input:mount()
end -- }}}

Can you try doing the unmount inside vim.schedule?
vim.schedule(function()
  input:unmount()
end)

Thanks for the reply! Putting it inside vim.schedule does get rid of the error! Now the input window properly closes after hitting one character.
However, it seems that the on_submit callback is not being executed. Not sure now if that is a bug I introduced or if the :unmount() simply does not trigger it.

on_submit is trigged when user acutally submits. Unmounting is different from it. For your use-case, you can call your on_submit function from inside your on_change function. You'll need to extract the on_submit function and then use it.
local on_submit = function(...)
  -- do stuffs
end

local on_change = function(...)
  -- do stuffs
  -- on_submit(value)
  -- input:unmount()
end

Doing it your way works! The print message immediately disappears though, but that's okay. I can get it back with :mess (also my actual use case doesn't involve printing, so no big deal).
I have actually tried something else though which seems to be and behave much cleaner. Basically, I use nvim_feedkeys to have the on_change callback hit a carriage return. This will then close the window and also trigger the on_submit callback!
I did it as follows, by modifying the on_change callback — instead of :unmount(), I made vim send a carriage return. This also won't require any changes to add a reference like Menu.
on_change = function(value)
    if #value > 0 then
        vim.api.nvim_feedkeys('\013', 'nt', false)
    end
end,

This basically solves my initial problem, I can't really think of any other situation where you might want to use a reference to the Input. I'll go ahead and close the issue! Thanks a bunch for the inputs!