text:
adding train_x variable in SETSTCF for feat mode

Hello,
i'm currently working with xai for tsc using TSInterpret and @aeon-toolkit/aeon . I tried SET with HIVECOTE2 and face this issue :
[91](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/kndb/Dev/Phd-Code/explainability/MTS/~/Dev/Phd-Code/explainability/MTS/venv/lib/python3.10/site-packages/TSInterpret/InterpretabilityModels/counterfactual/SETSCF.py:91)     # self.train_x = np.array(train_x)
     [92](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/kndb/Dev/Phd-Code/explainability/MTS/~/Dev/Phd-Code/explainability/MTS/venv/lib/python3.10/site-packages/TSInterpret/InterpretabilityModels/counterfactual/SETSCF.py:92)     self.ts_len = train_x.shape[2]
---> [94](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/kndb/Dev/Phd-Code/explainability/MTS/~/Dev/Phd-Code/explainability/MTS/venv/lib/python3.10/site-packages/TSInterpret/InterpretabilityModels/counterfactual/SETSCF.py:94) self.train_x_n = from_3d_numpy_to_nested(self.train_x)
     [95](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/kndb/Dev/Phd-Code/explainability/MTS/~/Dev/Phd-Code/explainability/MTS/venv/lib/python3.10/site-packages/TSInterpret/InterpretabilityModels/counterfactual/SETSCF.py:95) if backend == "PYT":
     [96](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/kndb/Dev/Phd-Code/explainability/MTS/~/Dev/Phd-Code/explainability/MTS/venv/lib/python3.10/site-packages/TSInterpret/InterpretabilityModels/counterfactual/SETSCF.py:96)     self.predict = PyTorchModel(model, change).predict

AttributeError: 'SETSCF' object has no attribute 'train_x'

After looking in the source code i figure out that when the mode == 'feat' you didn't add the train_x variable. I just add it in this PR :).

Hi,
thanks for your pull request. :)
The sets implementation on PyTorch is still a bit buggy. If you find anything else feel free to let me know or open up another pull request .

Hi,
Ok

authors: JHoelli kndbvortex


text:
A Proposal for Functionality Classes for Random Number Generators V2.36

Just a suggestion to update the link the latest version available of the draft.
A Proposal for Functionality Classes for Random Number Generators V2.36
Good luck with rest of the project.

Thank you for the information.
I will add the link to V2.36 with supplementary texts, as the test specification is dropped from V2.36.
Thank you again.

I added the link to V2.36, and the issue is closed.

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
[Proposal] Add TLS to vaxx.tw website.

As title. The current website is not visible with https:// prefix.
Maybe we can add Let's encrypt service to the website.

Could use Cloudinary CDN for the website. That allow you to set HTTPS for all pages (either as a page rule, or general setting).

Hi @fershad  and @felixshai, I was able to use Certbot to set up HTTPS for the website today. Check it out! :)

authors: felixshai fershad kevinjcliao

license: MIT


text:
Updated with android plugin register code

issue - missing plugin exception on fcm background service plugin registration

This is not the way to create a plugin with embedding V2.
Why do you need this?

source: gharchive/pull-request


text:
StringIsJson.Array is broken

StringIsJson.Array implementation is not working:
        MatcherAssert.assertThat(
            "[{\"id\":42}]",
            new StringIsJson.Array(Matchers.any(JsonArray.class))
        ); // FAILS

@rultor release, tag=0.3.4

@rultor release, tag=0.3.4

@g4s8 OK, I will release it now. Please check the progress here

fixed


text:
1422/link to test parameter file

For issue #1422
Change the "default" of the /containerfile endpoint to return plain text so that using the link from the browser or wget returns plain text.
relative-paths endpoint now handles containerfile and test parameter files too

Merged into #1441

authors: denis-yuen garyluu

license_source: bigquery


text:
Feature/security updates

WIP

Coverage remained the same at 68.232% when pulling be24e735b9357102b05d52c57f5930b154540614 on feature/security_updates into 0a52c7db20f16da50175ab4bdf77682c1ab57a83 on develop.

Coverage remained the same at 68.232% when pulling be24e735b9357102b05d52c57f5930b154540614 on feature/security_updates into 0a52c7db20f16da50175ab4bdf77682c1ab57a83 on develop.

Coverage remained the same at 68.232% when pulling be24e735b9357102b05d52c57f5930b154540614 on feature/security_updates into 0a52c7db20f16da50175ab4bdf77682c1ab57a83 on develop.

authors: coveralls denis-yuen


text:
Suggestion to coordinate development of infrastructure and features

Since we're currently working on both infrastructural improvements to the server (ex: compound ID, protobuf) as well as additional endpoints and data entities (ex: sequences annotation, biodata, RNA), it would be helpful if every infrastructure PR included an explicit description of changes and warnings, if any, needed for any branch working on a new data entity or endpoint.

Agreed @macieksmuga, an explicit discussion of the impact for feature branches will accompany the sql repo PR.

This doesn't seem like an outstanding issue... closing...

authors: dcolligan jeromekelleher macieksmuga


text:
CORS tests are broken.

Since Flask-CORS was updated recently, our test case for CORS support is failing (testCors in tests/unit/test_views.py). Why? I don't really understand what we're actually doing here, so I don't feel particularly qualified to comment on this.

I don't really get why CORS is necessary for our project.  Reading the Wikipedia page it seems like CORS only applies to browsers that want to pull resources from servers other than where the original web page was loaded.  That is, it is a way of getting around the same-origin policy in a policy-based way.  Can't we just remove it?
http://en.wikipedia.org/wiki/Cross-origin_resource_sharing

Looking at the original proposal to incorporate CORS, it seems like someone wanted to develop a javascript client eventually.
https://github.com/ga4gh/server/issues/4
Presumably that's a long way away, so should we just remove CORS support entirely, since it seems to be causing us repeated headaches?

We need CORS for the existing JS compliance tester, and it was a feature request. We should try to figure out what the problem is here and sort if out.

Fixed in #282

authors: dcolligan jeromekelleher


text:
adding rgbcolor and stackblur as deps

I had some trouble getting canvg to work with webpack because the dependencies on rgbcolor and stackblur.
I don't think this change would cause many problems.

:+1:

authors: gabelerner toddmoorega

repo: gabelerner/canvg

license: mit


text:
Update historical.md

I ran into a typescript error and realized it was a copy paste error in the docs.

Oh wow, thanks for picking this up and for the very welcome instant fix! :pray:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: gadicc pllee


text:
🛑 Gab Shop is down

In 31ef465, Gab Shop (https://shop.dissenter.com) was down:

HTTP code: 403
Response time: 39 ms

Resolved: Gab Shop is back up in 23a09b2.

repo: gadmln/gabstatus


text:
Fixed build image to point to master branch

The build is currently failing because of a pull request. I changed the build icon to point at master.

Thanks!

authors: gaearon taylorhakes

repo: gaearon/redux


text:
Do you know how hard I tried to get the TransactionDetails?

func (s *Solana) GetLog(blockNum int64, mapToken map[string]*anychain.Token) ([]*anychain.ContractTokenTran, *cerror.CError) {
latestBlockNum, erc := s.GetBlockNum()
if erc != nil {
return nil, erc
}
if false {
	block, err := s.client2.GetBlockWithConfig(context.TODO(), uint64(blockNum), client.GetBlockConfig{
		Commitment:         rpc2.CommitmentFinalized,
		TransactionDetails: rpc2.GetBlockConfigTransactionDetailsFull,
		Rewards:            nil,
	})
	if err != nil {
		return nil, cerror.NewError(cerror.CODE_THIRD_REQ_ERROR, err.Error())
	}
	fmt.Println(utjson.NeatString(block))
} else {
	out, err := s.client.GetBlockWithOpts(context.TODO(), uint64(blockNum), &rpc.GetBlockOpts{
		Encoding:   solana.EncodingBase64,
		Commitment: rpc.CommitmentFinalized,
		// Get only signatures:
		TransactionDetails: rpc.TransactionDetailsFull,
		// Exclude rewards:
		//Rewards: &includeRewards,
	})
	if err != nil {
		return nil, cerror.NewError(cerror.CODE_THIRD_REQ_ERROR, err.Error())
	}
	//fmt.Println(utjson.NeatString(out))

	var res = make([]*anychain.ContractTokenTran, 0, len(out.Transactions))
	for i, x := range out.Transactions {
		transaction, err := x.GetTransaction()
		if err != nil {
			panic(err)
		}
		fmt.Println(utjson.NeatString(transaction))
		if i > 3 {
			break
		}
		res = append(res, &anychain.ContractTokenTran{
			Chain:             SOLANA,
			TxId:              transaction.Signatures[0].String(),
			TransferTimestamp: out.BlockTime.Time().UnixMilli(),
			BlockNum:          int64(*out.BlockHeight),
			Confirmations:     latestBlockNum - int64(*out.BlockHeight),
			Result:            true,
			Remark:            "SUCCESS",
			FeeSymbol:         SOL,
			FeeSymbolPrice:    "0.1",
			FeeAmountCoin:     "0.1",
			FeeAmountUsdt:     "0.1",
			Transfers:         []*anychain.CallbackTransfer{},
		})
		list, err := transaction.AccountMetaList()
		if err != nil {
			return nil, cerror.NewError(cerror.CODE_THIRD_REQ_ERROR, err.Error())
		}
		fmt.Println(utjson.NeatString(list))

		//instruction, err := vote.DecodeInstruction(list, transaction.Message.Instructions[0].Data)
		//if err != nil {
		//	return nil, cerror.NewError(cerror.CODE_THIRD_REQ_ERROR, err.Error())
		//}
		//fmt.Println(utjson.NeatString(instruction))

		//dataBts, err := base58.Decode(transaction.Message.Instructions[0].Data)
		//if err != nil {
		//	t.Fatal(err)
		//}
	}
	out.Transactions = nil
	fmt.Println(utjson.NeatString(out))

	return res, nil
}
return nil, nil

}
How to parse the (transaction.Message.Instructions[0].Data)?

Each Solana program (aka "contract" as they are called in Ethereum) has its
own data format. It might be borsh, it might be something completely
original.
You need to know the layout of the data that you are trying to parse, and
then write a parser for it.

repo: gagliardetto/solana-go


text:
Add nameless decode to BaseContract

Motivation
BaseContract provides various methods for decoding input data: decode, decode_raw, decode_with_selector and decode_with_selector_raw.
These methods take a method name as an argument, which could be omitted as it is already provided through input-data.
Solution
Add new methods that decode input-data without requiring method-name as a parameter - decode_input_raw and decode_input.
Existing decode methods (decode, decode_raw, decode_with_selector and decode_with_selector_raw) lose functionality with the introduction of nameless decode methods. They could be removed unless I missed a viable utility or should be left in for backward compatibility.
PR Checklist

[x] Added nameless decode methods to BaseContract
[x] Add test
[ ] Remove existing decode methods?

needs formatting with cargo +nightly fmt

repo: gakonst/ethers-rs


text:
[WIP][Bug] Hardhat console does not log ints

console.logInt is not currently working. This test fails with:
left: `["String", "1245", "true"]`,
right: `["String", "1337", "1245", "true"]`

nice catch,
I suspect it's this line
https://github.com/gakonst/foundry/blob/3e8c9979e2b8836fccdb16e10be9a21862a9c81a/evm-adapters/src/sputnik/cheatcodes/mod.rs#L556
I think the patched selector is for logInt(int) but it should be log(int)

can you give it another try with:
([155, 94, 97, 79], [78, 12, 29, 29]),

the logUint call probably has the same bug and needs to updated as well
https://github.com/gakonst/foundry/blob/3e8c9979e2b8836fccdb16e10be9a21862a9c81a/evm-adapters/src/sputnik/cheatcodes/mod.rs#L557-L558

Still failing unfortunately. logUint works correctly (you can see it in this test).

([78, 12, 29, 29], [101, 37, 181, 245]) seems to do the trick

ah ofc, wrong keys, not values -.-

Haha, I've marked as ready for review -- thanks for your help!

still curios why logUint works
ah there is another log(uint) call
so
([226, 35, 89, 127], [153, 5, 183, 68]),
is still wrong, should be
([245, 177, 187, 169], [153, 5, 183, 68]), I believe

Ah I see -- I've made the changes, PTAL. Thanks!

authors: FrankieIsLost mattsse

repo: gakonst/foundry


text:
chatgpt 端口将废弃是什么意思

快不提供这服务了吗

已经优化后重新打开

repo: gallonyin/worktool


text:
🛑 Roblox Devforum is down

In 716747a, Roblox Devforum (https://devforum.roblox.com) was down:

HTTP code: 403
Response time: 137 ms

Resolved: Roblox Devforum is back up in e139206 after 12 minutes.


text:
Update description how to install setuptools & pip

While installing enrico I find out the pip installation description a little outdated. Now pip and setuptools can be installed just by get-pip.py.
I also changed the code description to use # instead (), now it will be highlighted as a comment in the code frame.

Thanks!
Much better ...

authors: cdeil hsiejkowski

repo: gammapy/enrico


text:
can't turn off auto indent

my .eslintrc doesn't have any "indent" or any react indent rules and I have "Auto Indent" and "Indent on Paste" off and restarted atom. However the package keeps indenting JSX as soon as my cursor crosses it. Is there some way to see what is triggering indentation in a file? I disabled all linters as well

There is a language-babel package setting autoindentjsx which turns it off for all files, or a command palette key to toggle it.

From: Dexter Haslemmailto:notifications@github.com
Sent: 15/03/2016 14:00
To: gandm/language-babelmailto:language-babel@noreply.github.com
Subject: [language-babel] can't turn off auto indent (#155)
my .eslintrc doesn't have any "indent" or any react indent rules and I have "Auto Indent" and "Indent on Paste" off and restarted atom. However the package keeps indenting JSX as soon as my cursor crosses it. Is there some way to see what is triggering indentation in a file? I disabled all linters as well

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/gandm/language-babel/issues/155

well that is the source of my confusion, autoindentjsx is off. I'll dig in and try to get some specifics

@DexterHaslem if autoindentjsx is off then any files opened will not be auto indented so I'm not sure what is indenting your jsx.  The line that instantiates the indent feature is here https://github.com/gandm/language-babel/blob/master/lib/main.coffee#L27

authors: DexterHaslem gandm

repo: gandm/language-babel


text:
What changed?

A very minor question, not really an issue.  Atom just updated this plugin - I'm trying to find out what changed.
Thanks!

Changelog should highlight what changed. https://github.com/gandm/language-babel/blob/master/CHANGELOG.md not too much really.

Doh, thanks!

authors: GreenAsJade gandm


text:
Grey screen few seconds after transfer started

When I initiate a transfer between my Macbook M1 Max and the my Xiaomi F2 Pro the transfer starts but the window goes grey after a few seconds. I have read in the issues that this happened to other users upon transferring large files but in my case the files transferred are not large. They are photos with size between 5MB and 45MB.

I'm actively working on this issue. Here is the pr, do watch it for further updates. https://github.com/ganeshrvel/openmtp/pull/303

Same issue on macOS Ventura

Hey @Sameerkash , this should probably get fixed by this weekend

@ganeshrvel I'm experiencing the same issue on OpenMTP Version 3.2.0 (3.2.0.6), but for me it stays green and transfer process seems is frozen. My Mac is running Ventura 13.1.

The fixes were pushed to the latest GitHub branche.
I'm working with cicd provider to make the release happen.

HI.  Just wondering if the fix for this made it into OpenMTP 3.2.0 ?  It's still happening for me on 3.2.0 / macOS 13.0.1 , Android 13 on a OnePlus 7T Pro (LineageOS)
Thanks
https://user-images.githubusercontent.com/12557929/214560396-f0ac7f93-d134-4f96-bf81-833c7cb2507c.mp4

OpenMTP v3.2.10-beta.1 is now rolling out.
Features

Fixes - the app crash on older versions of macOS
Fixes - the app crash caused while transferring files a large number of files.

If you are on an older version of OpenMTP and have frozen the auto-app update option for the sake of preventing the app crash, you may re-enable it from Settings > Updates > Automatically Check for Updates
Note: We have now officially retired the support for Kalam Kernel on macOS 10.13 (OS X El High Sierra) and lower. Though the "Legacy" MTP mode will continue working on these outdated machines.
Read more: https://github.com/ganeshrvel/openmtp/tree/release/3.2.10-beta.1#system-requirements-and-support
Download:

Apple Silicon (mac M1/M2): openmtp-3.2.10-beta.1-mac-arm64.dmg
Intel Silicon (Older mac): openmtp-3.2.10-beta.1-mac-x64.dmg

Hi,
Thanks for the response.
WIth 3.2.10-beta1 (Intel) I was able to successfully copy videos from Mac > Android.  Next I needed to copy some files from Android > Mac and instantly had the same "screen goes blank" issue when I started the transfer.
Environment is per my previous post.
Steve

Same for me. Mac to Android works, other direction not yet.

Certainly looking good on Mac > Android though.  I've just moved several GB / hundreds of files without issue.

A fix for this issue will be rolling out in 20 mins!

OpenMTP v3.2.10-beta.2 is now rolling out.
Note: This a pre-release version and it might be unstable. ⚠
Features

Fixes - the app crash while downloading files
Fixes - the app crash on older versions of macOS
Fixes - the app crash caused while transferring files a large number of files.

If you are on an older version of OpenMTP and have frozen the auto-app update option for the sake of preventing the app crash, you may re-enable it from Settings > Updates > Automatically Check for Updates
Note: We have now officially retired the support for Kalam Kernel on macOS 10.13 (OS X El High Sierra) and lower. Though the "Legacy" MTP mode will continue working on these outdated machines.
Read more: https://github.com/ganeshrvel/openmtp/tree/release/3.2.10-beta.1#system-requirements-and-support
Download:

Apple Silicon (mac M1/M2): openmtp-3.2.10-beta.2-mac-arm64.dmg
Intel Silicon (Older mac): openmtp-3.2.10-beta.2-mac-x64.dmg

Fixed the issue in https://github.com/ganeshrvel/openmtp/pull/314. Closing

authors: ImGAF Sameerkash deejayalbatros ganeshrvel steveharman

repo: ganeshrvel/openmtp


text:
Mouse Drag Bug

Go to demo page:
http://ganlanyuan.github.io/tiny-slider/tests/index.html
In slider Mouse-drag
Drag quickly the slides, eventually 2 dots or more become active

I think this happens when you have infinite mode on which is the default combined with mouseDrag on

Thanks @mike3run
It's  fixed in v2.2.3.
The demo may take some time to update.

Thank you very much for responding so quickly, I'd like to help more but Im still learning the ins and outs of your code, i'll wait for the CI integration to dive right in to help 😄

repo: ganlanyuan/tiny-slider


text:
hexe-client 无法读取到source 自定义目录的文章

hexe-client 无法读取到source 自定义目录的文章
我在source目录下有定义的目录，如 hft ，hst
各自目录下分别有文章，但是clinet无法读取

是的。 自定义目录的文章确实是没法读取的。 目前未作支持。
作为一个通用的工具，没法兼容太多自定义的东西，只能尽量满足比较大众的需求。

authors: gaoyoubo hdpter

repo: gaoyoubo/hexo-client


text:
Set topology spread constraint minDomains to number of zones

What would you like to be added:
When the scheduler doesn't see a zone (e.g. during a zone outage or because of worker pool scale to zero), TSCs will be interpreted "wrongly", if minDomains is not set. I believe we should amend https://github.com/gardener/gardener/blob/master/docs/development/high-availability.md and start setting minDomains based on the number of zones for seed and shoot components alike.
Why is this needed:
We saw during "rolling zone outage simulations" with clusters with only 2 zones that e.g. coredns gets scheduled to the second zone while the first zone is struck and that DNS fails then completely once the second zone is struck (long after the first zone recovered). That is just an example and it shows that our TSCs don't work as expected, if the scheduler lacks "the full picture"/zone topology information.

The effect of the minDomains is controlled by the MinDomainsInPodTopologySpread feature gate which is still disabled by default (even though it graduated to beta).
However, it seems that the minDomains field can still be set by clients and will just be dropped before persisted to ETCD: https://github.com/kubernetes/kubernetes/blob/d2be69ac11346d2a0fab8c3c168c4255db99c56f/pkg/api/pod/util.go#L617-L625
Hence, we should be fine always setting the field. Whether it takes effect is out of Gardeners control (the feature gate must be enabled for the seed cluster by the human operator, or a high-enough Kubernetes version must be used where the feature gate is enabled by default).

authors: rfranzke vlerenc

repo: gardener/gardener


text:
[Cleanup] VPN Diffie–Hellman parameters no longer needed

How to categorize this issue?

/area networking security
/kind cleanup
What would you like to be added:
Vpn release v0.23.0 that contains https://github.com/gardener/vpn2/pull/53 was published and merged into g/g. That release removes the need for supplying the vpn server with dh parameters. This means that we can remove https://github.com/gardener/gardener/blob/6d43f8c4754c11c4a9619ee8386b2878db682f37/pkg/operation/botanist/vpnseedserver.go#L31 and other related code from this repository. For the sake of backwards compatibility the code can be left for another release or two in case there are new Gardener installations that use old VPN release.

/assign


text:
Enhance validation for operation annotations for Credential rotation

How to categorize this PR?

/area quality
/kind enhancement
What this PR does / why we need it:
If someone annotates the shoot with an operation annotation while there is already a maintenance annotation for rotation present, for eg: maintenance.gardener.cloud/operation: rotate-ca-start  as well as gardener.cloud/operation: rotate-credentials-start, gardenlet can error with:
2024-10-27 09:29:14 | {"log":{"controller":"shoot","error":"Shoot.core.gardener.cloud \"shoot-new\" is invalid: metadata.annotations[maintenance.gardener.cloud/operation]: Forbidden: cannot start CA rotation if .status.credentials.rotation.certificateAuthorities.phase is not 'Completed'","level":"error","msg":"Reconciler error","name":"shoot-new","namespace":"garden-local","object":{"name":"shoot-new","namespace":"garden-local"},"reconcileID":"20f9c675-21c9-4f17-a34b-0c02cc6511fe","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.6/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.6/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.6/pkg/internal/controller/controller.go:227","ts":"2024-10-27T09:29:14.402Z"}}

or maintenance.gardener.cloud/operation: rotate-credentials-start with gardener.cloud/operation: rotate-ca-start
2024-10-28 12:21:53 | {"log":{"controller":"shoot","error":"Shoot.core.gardener.cloud \"shoot-new\" is invalid: metadata.annotations[maintenance.gardener.cloud/operation]: Forbidden: cannot start rotation of all credentials if .status.credentials.rotation.certificateAuthorities.phase is not 'Completed'","level":"error","msg":"Reconciler error","name":"shoot-new","namespace":"garden-local","object":{"name":"shoot-new","namespace":"garden-local"},"reconcileID":"1f0847c9-eb84-4aed-89e5-f5cbd43395e7","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.1/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.1/pkg/internal/controller/controller.go:263\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.1/pkg/internal/controller/controller.go:224","ts":"2024-10-28T06:51:53.887Z"}}

Similarly for completion.
This PR enhances the validation for rotate operation annotations to cover these cases.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

@shafeeqes: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name	Commit	Details	Required	Rerun command
pull-gardener-e2e-kind-ipv6	88cde37 link	true	/test pull-gardener-e2e-kind-ipv6
pull-gardener-e2e-kind-migration	88cde37 link	true	/test pull-gardener-e2e-kind-migration
pull-gardener-e2e-kind-ha-multi-zone	88cde37 link	true	/test pull-gardener-e2e-kind-ha-multi-zone
pull-gardener-e2e-kind-ha-single-zone	88cde37 link	true	/test pull-gardener-e2e-kind-ha-single-zone
Full PR test history. Your PR dashboard. Command help for this repository. Please help us cut down on flakes by linking this test failure to an open flake report or filing a new flake report if you can't find an existing one. Also see our testing guideline for how to avoid and hunt flakes.

Occurrence of https://github.com/gardener/gardener/pull/10734

/retest

/assign @RadaBDimitrova

/approve

/retest


text:
[ci:component:github.com/gardener/logging:v0.34.0->v0.35.0]

*Release Notes:
Send logs from clusters in deletion state to the default URL

/assign @Kristian-ZH @vlvasilev

/close


text:
Refactor CIDR validation library to properly handle overlaps

How to categorize this PR?

/area control-plane
/kind enhancement
What this PR does / why we need it:
This is an addition to https://github.com/gardener/gardener/pull/4810 to refactor the CIDR validation library with the following changes:

add validateOverlap method
rename validateNotSubset to validateNotOverlap to reflect it's actual use.
refactor ValidateCIDROverlap
update tests

Lets look at one of the changes in  pkg/apis/core/validation/seed.go to explain the motivation for this change:
	allErrs = append(allErrs, cidrvalidation.ValidateCIDROverlap(vpnDefaultRanges, networks, false)...)
	allErrs = append(allErrs, cidrvalidation.ValidateCIDROverlap(networks, vpnDefaultRanges, false)...)

You can see that ValidateCIDROverlap (internally just calling ValidateNotSubset) does neither validate for proper subsets, not for proper cidr overlap. That is with why it needs to be called 2 times (with the arguments swapping places) meaning that the use of the function neither matches its name nor it's intended use.
The new refactoring of validateNotOverlap properly handles case where the argument is a subset, same or superset of the CIDR it tests against.
This was also the reason for NxN patterns existed like:
allErrs = append(allErrs, cidrvalidation.ValidateCIDROverlap(networks, networks, false)...)

The ValidateCIDROverlap now only takes an array of CIDRs and performs the check in a "factorial-like" fashion. That is why certain test cases had to be adapted to account for the removal of the bidirectional tests (e.g. when testing for no overlap between pod and service CIDRs, it is no longer necessary to test if service CIDR is disjoint with pods).
The rename of the validateNotSubset was done to accommodate for its actual behaviour and to reflect the "breaking" behavior of this change. The change in ValidateCIDROverlap to use internally the ValidateOverlap is certainly more lenient therefore no action should be necessary.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

`pkg/utils/validation/cidr` package has been changed to properly handle CIDR overlaps. Functions have been renamed and adjusted to reflect their actual behaviour. Please make sure to adapt your use of the library when revendoring.

/invite @ialidzhikov @timebertt

I just saw that we can also refactor this function and use ValidateNotOverlap, right?
https://github.com/gardener/gardener/blob/69f56d7c2f8989412bb349bfbb4d455e33918a85/pkg/utils/validation/cidr/disjoint.go#L77

authors: kon-angelo timuthy


text:
Increase vpa stack memory limits

How to categorize this PR?

/area control-plane
/kind enhancement|
What this PR does / why we need it:
Increase memory limits for the vpa stack, because we saw certain shoots in production going over the limit.
cc: @voelzmo
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

VPA deployment memory limits have been increased.

/approve

I am not super convinced that this is the way to go. IIUC the root case is high revisionHistoryLimit configured by the end user that resulted in 81112 ReplicaSets in total for this corresponding cluster. @MartinWeindel shared that the cluster is only stable with higher limits:

vpa-admission-controller: 8Gi
vpa-recommender: 12Gi
vpa-updater: 10Gi

I am not super convinced that for this particular Shoot cluster we have to adapt our limits. Do we? is this a sustainable approach? What about any potential improvements in the upstream VPA components?
/hold

I am not super convinced that for this particular Shoot cluster we have to adapt our limits. Do we? is this a sustainable approach? What about any potential improvements in the upstream VPA components?

I agree. It would only deal with the symptom, but not with the yet unknown root cause which causes the creation of this high number of replica sets. BTW, revisionHistoryLimit is set to 10 for the deployments, but it is not enforced.

So, what now? What are the plans with this PR?

If the colleagues believe that this is just a band-aid and won't help then we can close the PR.

IMO the current (in this PR) increased memory limits won't help with the particular issue that we observed on our landscape as the limits used to make it stable are even higher (https://github.com/gardener/gardener/pull/6199#issuecomment-1168308171). IMO for the particular internal issue we rather ask the cluster owner to fix its machinery that keeps creating high amount of ReplicaSets.
If we really want to support similar cases currently as band-aid fix we can consider increasing the limits. Apart from that I would be more interested in understanding of such memory increase is normal/expected for the VPA components:

check whether similar increase is observed for KCM, kube-scheduler, etc
do profiling of the VPA components (I am not pretty sure even if they support profiling currently) and try to come up with potential bottlenecks and ideas for improvements

Isn't this also a positive example of having reasonable memory limits? Otherwise we would continue to burn/waste resources of the Seed Nodes and potentially the cluster owner would never understand that he has an issue with his machinery.

Isn't this also a positive example of having reasonable memory limits? Otherwise we would continue to burn/waste resources of the Seed Nodes and potentially the cluster owner would never understand that he has an issue with his machinery.

I think Ismail is right and this issue showed why having limits can be good – and why removing all limits and just continuing to throw resources at things can be very dangerous. So let's keep it like it is for now.

authors: MartinWeindel ialidzhikov kon-angelo rfranzke voelzmo


text:
docs: remove issues.txt

Please remove the issues.txt file in the root folder as it is just a test file

done but not auto?

repo: garkgodwin/react-starter-pack


text:
Add support for prefix/suffix filters on S3

S3 event notification now supports prefix and suffix filtering.  It would be useful to add that to kappa.

Looks like we will have to wit until botocore adds support for filters. Not there yet.

Looking at the docs, this is now supported:
http://botocore.readthedocs.org/en/latest/reference/services/s3.html#S3.Client.put_bucket_notification_configuration

repo: garnaat/kappa


text:
re-add cleberg.net now that the site is functional again

Website (if applicable): https://cleberg.net
This PR is:

[x] Adding a new domain
[ ] Updating existing domain
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (darktheme.club site)
[ ] Other not listed

[x] The domain is in the correct alphabetical order
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ page, particularly the red section about inappropriate content, and I attest that this site is appropriate based on those criteria.

[x] Check to confirm

- domain: cleberg.net
  url: https://cleberg.net/
  method: mediaquery
  last_checked: 2023-05-22

Thanks!🙂

authors: christian-cleberg garritfra


text:
Document the Data.Codec.Argonaut.Migration module

We discussed on Slack about documenting the motivation behind the Data.Codec.Argonaut.Migration module. Here's what I realized while discussing yesterday:

The module is concerned with forward migrations of JSON objects.
Forward migrations can be implemented with the Functor instance for Data.Codec.GCodec _ _ _.
Backward and forward migrations can be implemented with the Profunctor instance for Data.Codec.GCodec _ _.

I tried to capture those realizations. Let me know if there's different wording or if I missed the mark. More than happy to make any changes.

This looks great to me :+1:
Do you think it's also worth mentioning the (<~<) / (>~>) codec composition operators and that sometimes even profunctor is not enough? (In that remapping that way only allows the migration to succeed, you need to dip down even deeper to construct a codec that can fail in a new way). I can write this part, just wondered if you thought that info belongs here too.

For sure! It took me longer than I like to admit that you have to use (<~<)/(>~>) to make migrations work (multiple days). Anything in that regard would be useful.

Eep, sorry about that! I should perhaps re-export those operators from this module too. I'll make a new PR with the further changes anyway. Thanks!

No worries. Using this package has been really nice. Thanks for making it!.

authors: garyb joneshf

repo: garyb/purescript-codec-argonaut


text:
Update/Add Select Component

💬 Description
Adds a <Select /> component to GUI, built on top of react-select. Required for the following designs: https://www.figma.com/file/nYWpuGuUnmpPMm0E4x0cKY/Fixed-Toolbar?node-id=432%3A32
We don't have a <Select /> definition in GCDS yet, but this implementation has been left open to change when that time comes.

Creates <Select /> component. API is exactly the same as react-select

The chunky function called mergeDefaultStyles merges two sets of react-select style objects, so we can pass the styles prop to our new component, as well as having default styles.

Adds with default styles, using react-select's styles object

As our theme is now in JS, we can import it and use whatever bits of it we need.
In order for this to work when GUI is transpiled, we had to add tailwind.config.js to the babel build (check the package.json)

🔗 Links
Links that relate to the PR (Trello, Figma etc.)
📹 GIF (optional)
https://share.getcloudapp.com/JruLNXJ9
🚪 Start Points
Where is a good place to start the review? If there are multiple changes it may be worth listing multiple files.
👫 Related PRs (optional)
Any PRs that relate to the changes.
✅ Checklist

[ ] Tests written
[ ] Browser tested
[ ] Added to documentation
[ ] Added to storybook

 Add dropdown for switching reasons

repo: gathercontent/gather-ui


text:
RFC for upcoming Kotlin support in Gatling

This ticket is a sibling of #4147
Gatling 3.7 will introduce a new DSL in Java.
We want this DSL is be also usable in Kotlin.
The goal of this ticket is to gather feedback from our community before we release a stable version where things will be way harder to change.

Hi,
Thanks for your feedback.

I would love it if I could just add a library and add a test using JUnit

This doesn't work. You have to understand that a load test has a strong requirement: it mustn't have to compete for resources  with other processes on the machine.
With such runner, what will happen for sure is:

people running unrelated tests sequentially from the same machine, with ephemeral ports still in use (see TCP ports recycling) and ruining the next test
worse, people running tests concurrently

Receiver functions

Thanks, we 'll investigate, in particular if it removes the need to have an explicit constructor (just like we do in Scala).
However:

we still need to provide the imports because pieces of code might be extracted outside of Simulation classes, typically into constants and helper functions. Please check our tutorials.
we still need setUp to define which populations (scenario + injection profile) we actually want to trigger. For example, you might want to define several of those, but trigger only some depending on some configuration.

Thanks for the quick response! Now that I've had a chance to start playing with the DSL. I'm excited to go through the tutorials, exercising the DSL, and getting a better understanding of Gatling.
I'm not sure I understood the points against JUnit. I intend to setup Gatling tests on our ci servers, running the Gatling gradle task. If I were to use a gradle test task, it would be on the same server, with potentially the same resource contention.  Perhaps you are recommending against mixing other tests with the load tests? I agree with that perspective. (I'm not pushing back, more just trying to understand if my gatling usage overall is flawed.)

we still need setUp to define which populations (scenario + injection profile) we actually want to trigger. For example, you might want to define several of those, but trigger only some depending on some configuration.

I'll start looking into this config to better understand what you mean. It sounds like you are saying the simulation would have conditional logic calling differing setup calls based on the config.

I'm not sure I understood the points against JUnit.

JUnit is meant for unit tests. Unit tests are meant to be cheap, fast and run in isolation. Exactly the opposite of load tests.
As a result, unit tests framework let you run lots of tests at once, possibly in parallel to make use of all the cores so the whole test suite completes very fast and provide quick feedback.
If we were to provide a JUnit or whatever unit test framework runner, we'd end up with lots of users running broken tests because that's how they've always been using JUnit.

Perhaps you are recommending against mixing other tests with the load tests?

I'm recommending against running load tests from a machine that runs other expensive processes at the same time: the application under test itself, other load tests, unit tests, functional UI tests eg Selenium, etc.

Those are great explanations. Thanks for taking the time to spell them out. I'll be sure to look into the config example you provided and try it in the DSL.
I've been digging into the Gatling DSL and am impressed with just how rich it is.
In #4147 you mentioned wanting to keep the DSL between Scala, Kotlin, and Java as similar as possible. I've been able to read the Scala examples and use them pretty easily in Kotlin. So in that regard I think the DSL is successful.
When I learned about checks and assertions, I tried to use them in the DSL but wasn't able to find them without opening up the documentation and locating examples. So that is good that the examples were applicable between the two languages, but I was a little frustrated that the DSL wasn't discoverable for me.
However with such a powerful DSL, I'm itching to leverage Kotlin strengths using it. That could cause a little bit of drift between them. If that isn't welcome, I don't want to waste your time in that regard. However, if you are at least curious in that regard, I would be happy to flesh out my Kotlin examples completely.
Initial Kotlin DSL (still need quite a bit of work):
class BasicSimulation : HttpSimulation({
    http {
        baseUrl("http://localhost:8080") // Here are the common headers
                .acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
                .doNotTrackHeader("1")
                .acceptLanguageHeader("en-US,en;q=0.5")
                .acceptEncodingHeader("gzip, deflate")
                .userAgentHeader("Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0")
    }

    scenario("scenario name") {
        get("/") // Request name is left off, because default autogenerated name
        pause(1)
        get("/sleep", requestName="sleep")
        pause(1)
        get("/flow", requestName="flow")

        post("/computers") { //Using receiver block for exposing more details for that exec call
            formParam("name", "Beautiful Computer")
            .formParam("introduced", "2012-05-30")
            .formParam("discontinued", "")
            .formParam("company", "37")
        }

    }
})

Current Java DSL usage in Kotlin:
class BasicSimulation2 : Simulation() {
    init {
        val httpProtocol = http().baseUrl("http://localhost:8080") // Here are the common headers
                .acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
                .doNotTrackHeader("1")
                .acceptLanguageHeader("en-US,en;q=0.5")
                .acceptEncodingHeader("gzip, deflate")
                .userAgentHeader("Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0")

        val scn = scenario("scenario name")
                .exec(http("root").get("/"))
                .pause(1)
                .exec(http("sleep").get("/sleep"))
                .pause(1)
                .exec(http("flow").get("/flow"))

                .exec(http("computer").post("/computers")
                        .formParam("name", "Beautiful Computer")
                        .formParam("introduced", "2012-05-30")
                        .formParam("discontinued", "")
                        .formParam("company", "37"))

        setUp(scn.injectOpen(atOnceUsers(1)).protocols(httpProtocol))
    }
}

The second one just needs an 'init{}' block to behave like the Scala construction.
Potential pain points: http() (protocol builder) and http("requestName") are very different and might be cause user error if the name is left off: exec(http().get("/")) gives an un-helpful eror message. (receiver type mismatch MatchGroupCollection)
I noticed the the SetUp builder is mutable, but the ScenarioBuilder and most others aren't. I'm guessing that matches the current Scala DSL, but it would be nice to be consistent. (I would favor mutable and perhaps add a copy on the builder if the user needs a separate copy for their needs)

When I learned about checks and assertions, I tried to use them in the DSL but wasn't able to find them without opening up the documentation and locating examples. So that is good that the examples were applicable between the two languages, but I was a little frustrated that the DSL wasn't discoverable for me.

I see 2 possibilities:

have a single bootstrap object that lets you discover possible checks:

http("foo")
  .get("/")
  .check(
    check.status().is(200),
    check.jmesPath("foo")
  )

directly call the check method on the parent

http("foo")
  .get("/")
  .status().is(200)
 .jmesPath("foo")

I find the former pretty verbose.
I'm afraid the latter would be incredibly hard to implement (the check DSL has lots of optional steps) and would lose the ability to define sets of checks and pass them at once.

I have published gatling-kt-ext, which includes mutable builder syntax.
https://github.com/phiSgr/gatling-ext/blob/master/gatling-kt-ext/src/gatling/kotlin/computerdatabase/ComputerDatabaseSimulation.kt#L38

FYI, with the upcoming changes in the Gatling syntax, you'll be able to write:
class BasicSimulation2 : Simulation() {
    init {
        val httpProtocol = http().baseUrl("http://localhost:8080") // Here are the common headers
                .acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
                .doNotTrackHeader("1")
                .acceptLanguageHeader("en-US,en;q=0.5")
                .acceptEncodingHeader("gzip, deflate")
                .userAgentHeader("Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0")

        val scn = scenario("scenario name").exec(
                http("root").get("/")),
                pause(1),
                http("sleep").get("/sleep"),
                pause(1)
                http("flow").get("/flow"),
                http("computer").post("/computers")
                        .formParam("name", "Beautiful Computer")
                        .formParam("introduced", "2012-05-30")
                        .formParam("discontinued", "")
                        .formParam("company", "37")
          )

        setUp(scn.injectOpen(atOnceUsers(1)).protocols(httpProtocol))
    }
}

Way less verbose and flows are better formatted.

authors: checketts phiSgr slandelle

repo: gatling/gatling


text:
Bundle: Don't recognise Kotlin (.kt) simulations

Gatling: 3.9.5 (gatling-charts-highcharts-bundle-3.9.5)
OS: Windows 10 Pro
JDK: jdk-17.0.4
Bundle version don't recognise Kotlin (.kt) simulations:

I found information about that in documentation :-/

Indeed, and it most likely never will. The bundle only supports Java and Scala.
From what we've observed, almost all the Kotlin users use gradle.

Ok, sorry for the confusion.

authors: gemiusz slandelle


text:
Comment log statement

I'm seeing the message in console on production.

Just curious, how do you like the library so far?

Looks really good overall and currently is pretty much usable. I'm missing some things that can be improved, especially on developer experience. For example:

I would like to import HotkeysProvider directly from the root with use leptos_hotkeys::HotkeysProvider;, I've tested this locally and works fine.
I would like to import macros like the use_hotkeys! one directly. This can be achieved with fully qualified paths, see https://github.com/leptos-rs/leptos/pull/2084 as an example.
I didn't tested it but seems to me that exposing the API in the prelude only for csr or hydrate features is a bad idea. Have you tested it on ssr environments? Looks to me that the functions should be exposed and do nothing when going ssr rather than not being exposed.

I have not opened any pull because I see that you are developing it. Hope this feedback is useful to you meanwhile. Thanks for this great library! 🥂

I would like to import HotkeysProvider directly from the root with use leptos_hotkeys::HotkeysProvider;, I've tested this locally and works fine.

Yes, I should make this clear in the docs. I added a leptos_hotkeys::prelude::* for convenience, but you can directly pull out the components + functions.

I would like to import macros like the use_hotkeys! one directly. This can be achieved with fully qualified paths, see Improve macro hygiene leptos-rs/leptos#2084 as an example.

I agree, this is definitely a todo.

I didn't tested it but seems to me that exposing the API in the prelude only for csr or hydrate features is a bad idea. Have you tested it on ssr environments? Looks to me that the functions should be exposed and do nothing when going ssr rather than not being exposed.

Yeah, this is most definitely not ideal. I'll be spending some time doing some refactor to make sure this doesn't happen.

I have not opened any pull because I see that you are developing it. Hope this feedback is useful to you meanwhile. Thanks for this great library! 🥂

Thank you for the kind words. I hope you continue to use it! You seem to offer really good insight, if you have any more, feel free to open some issues. Happy to work on feature requests, improvements, etc...

authors: friendlymatthew mondeja

repo: gaucho-labs/leptos-hotkeys


text:
Delete dead link at README.md

The reason for this change is that README_old.md is deleted at 1cb7c5a039f269bd5b58264fab16b1a4e4d2ca3f.

Thank you!

repo: gazay/gon


text:
Run link_gem commands individually

bullet_train-base is raising this error:
/bin/bash: line 22: tmp/starter/Gemfile.tmp: No such file or directory

Exited with code exit status 1
CircleCI received exit code 1

Bash is pretty finicky with this orb developing process so I'm not sure if this will fix it.

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:552df5549e86462dda9fbb257306b2728fb906ed

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:a3ac6a622e2e16980ce5bf84b28351bb48db56e9

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:4741e9bdabc3e3a065aa83cacca0699c05f35241

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:4741e9bdabc3e3a065aa83cacca0699c05f35241

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=1.0.3


text:
Support ColDP archive output format

The Catalogue of Life has developed a new data format, the Catalogue of Life Data Package (ColDP) which is an evolution from Darwin Core Archives, also using primarily CSV or TSV data files, but is more relational and avoids the star schema traps especially for literature references.
ColDP is the recommended format for publishing taxonomic and nomenclatural data and is expected to replace DwC-A in many cases. Currently ColDP archives are mostly generated by custom scripts. It would be great to be able to use the IPT in the taxonomic community.

@mdoering
To help in our planning, is this a speculative request or do COL have IPT users that need this now please?

COL has a bottleneck by manually packing up ColDP with custom scripts for most sources. @gdower is doing most of this work, maybe he wants to comment. Many things can be accomplished with DwC-A already, but ColDP offers more and e.g. ZooBank would be easily available as ColDP if its IPT could (auto) publish it. It is not blocking COL, but it would definitely accelerate it considerably. ColDP version1 is now also close to be released as a stable version to work against (it has seen only minor changes since last autumn)

For authoritative checklist like VASCAN would a ColDP output format in addition to the DwC-A output format help CoL in harvesting such sources?

All the core information can be passed via DwC-A, so it is not essential to use ColDP.
Here is a comparison: https://github.com/CatalogueOfLife/coldp#format-comparison
ColDP especially improves handling of bibliographic references (they are normalised and structured). In addition it allows to share extras like species estimates, name relations, species interactions and provides a more citation oriented and COL targeted metadata model.
The blocker for using VASCAN or any other regional list right now is that the COL assembly code requires global coverage of taxonomic groups. This will be the focus of our next milestone after summer.

authors: mdoering peterdesmet timrobertson100

repo: gbif/ipt


text:
Adjust date display on non-data pages

Placement of a dateline above the title works on news and featured data use pages, but I'm continuing to find our use of it on other generic pages problematic.
I can see showing the last-modified date, but probably placed in a footer to let the user know, well, when the page was last updated. Date created, though, is really not meaningful on these pages. Most of them were created on 14 Oct, apparently, but none of the content dates to that vintage anyway.

Yes that doesn't sound like it works. I must admit that I liked the idea, but if the content doesn't support it (in that creation date is meaningless), then we shouldn't do it. And you are right, that for generic pages it probably isn't that interesting anyhow. Hm, what to do then. @burkeker has implemented a way to edit that in Drupal, but without us agreeing on some guidelines for what the principles are, then it will just lead to chaos I imagine.

See also https://github.com/gbif/portal16/issues/253

articles no longer have dates

authors: MortenHofft kcopas


text:
🛑 GBIF Portugal is down

In 497331f, GBIF Portugal (https://www.gbif.pt/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GBIF Portugal is back up in 7d81ee5.

repo: gbifatlas/status


text:
[Feature Request] Group substituted word

Currently, substituting my_text leaves you with :'[,']s/my_text/|/g (| being the cursor):
My suggestion, is to instead use :'[,']s/\(my_text\)/|/g, automatically capturing my_text in a group.
This would allow users to more quickly complete with the current text with \1. For example:
:'[,']s/\(my_text\)/\1_is_amesome/g
:'[,']s/\(my_text\)/this_is_\1/g
:'[,']s/\(my_text\)/this_is_\1_and_now_way_longer/g

which  result in
my_text_is_amesome
this_is_my_text
this_is_my_text_and_now_way_longer

This is an alternative to yank_substituted_text. However, I prefer it, because it doesn't clobber the yank register.

I've tried to do something here : https://github.com/gbprod/substitute.nvim/pull/30
It's a really cool feature :)

license: WTFPL


text:
Remove /types endpoint?

The /formats endpoint with query parameter for=* could be used instead?

No because /types only lists schema languages supported for validation by the service instance.

repo: gbv/validation-service


text:
When executing the script, I encountered the following error. May I ask whether the 'REL' package is custom or a third-party？ But the 'REL' package was installed in my virtual environment.

/mm/VAuLT$ ./scripts/test-results.sh -t /data/twitter-tmsc -b /data/bloomberg-twitter-text-image -m /data/mvsa -c 0 -r 5
2023-03-19 08:57:38.432928: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
File "experiments/clsf_vault.py", line 8, in
from vault.models.vault import (
File "/home/wy/wy/mm/VAuLT/vault/models/vault/init.py", line 1, in
from .dataset import (
File "/home/wy/wy/mm/VAuLT/vault/models/vault/dataset.py", line 9, in
from vault.tmsc_utils.dataset import Twitter201XDataset, Twitter201XInfo
File "/home/wy/wy/mm/VAuLT/vault/tmsc_utils/dataset.py", line 16, in
from vault.entity_linking import EntityLinker
File "/home/wy/wy/mm/VAuLT/vault/entity_linking.py", line 7, in
from REL.ner import load_flair_ner, Cmns
ModuleNotFoundError: No module named 'REL'

The REL package is installed by setup.py, and is different from the one install by pip install REL to my understanding. Please make sure to use the installation instructions on the README instead of installing everything manually using pip, and that you are using the current version of this repo. There is no need in that case to append paths for Python to find your packages, etc.

alright, thank you very much

authors: gchochla half-fairy

repo: gchochla/VAuLT


text:
Cherry pick road traffic slf4j changes into v2-alpha

https://github.com/gchq/Gaffer/issues/2662

Closed by https://github.com/gchq/Gaffer/pull/2667

repo: gchq/Gaffer


text:
Model file status report as an operation on the state store interface

Background
We'd like to make some changes to how compactions work to avoid the need for separate splitting compactions:

https://github.com/gchq/sleeper/issues/966

Description
We'd like to define a new method signature for the state store which can handle producing a file status report as a single operation. We want this to make it easier and clearer to see what needs to change to remove splitting compactions.
Analysis
We can update tests to assert on the file information report, rather than using current methods to list active files. We'd like to be able to remove the concept of active files without changing our assertions too much.
We may want to split out a separate issue to integrate this new interface into the client module.
We may want to update the DynamoDB implementation to use the new model, or we could delegate to the existing methods and map to the new model.

Closing as this is not needed for now.

repo: gchq/sleeper


text:
7.2 Error in pipeline after restart

[PipelineStreamProcessor] FATAL: Unable to provision, see the following errors:  1) [Guice/ErrorInjectingConstructor]: RuntimeException: A cache called 'Reference Data - Meta ID to Ref Store Cache' already exists   at DelegatingRefDataOffHeapStore.<init>(DelegatingRefDataOffHeapStore.java:105)   at DelegatingRefDataOffHeapStore.class(DelegatingRefDataOffHeapStore.java:65)   at RefDataStoreFactory.<init>(RefDataStoreFactory.java:36)
\_ for 1st parameter   at RefDataStoreFactory.class(RefDataStoreFactory.java:31)   at ReferenceDataServiceImpl.<init>(ReferenceDataServiceImpl.java:146)
\_ for 1st parameter   while locating ReferenceDataServiceImpl   while locating Searchable annotated with @internal.Element(setName=,uniqueId=421, type=MULTIBINDER, keyType=)   at SearchableProviderImpl.<init>(SearchableProviderImpl.java:21)
\_ for 1st parameter   at SearchableProviderImpl.class(SearchableProviderImpl.java:21)   while locating SearchableProviderImpl   at SearchableSearchProvider.<init>(SearchableSearchProvider.java:72)
\_ for 6th parameter   while locating SearchableSearchProvider   while locating DataSourceProvider annotated with @internal.Element(setName=,uniqueId=595, type=MULTIBINDER, keyType=)   at DataSourceProviderRegistry.<init>(DataSourceProviderRegistry.java:25)
\_ for 1st parameter   at DataSourceProviderRegistry.class(DataSourceProviderRegistry.java:20)   at DataSourceResolver.<init>(DataSourceResolver.java:22)
\_ for 2nd parameter   at AnalyticRuleSearchRequestHelper.<init>(AnalyticRuleSearchRequestHelper.java:18)
\_ for 1st parameter   at AlertManagerImpl.<init>(AlertManagerImpl.java:99)
\_ for 14th parameter   at AlertManagerImpl.class(AlertManagerImpl.java:63)   while locating AlertManagerImpl   at IndexingFilter.<init>(IndexingFilter.java:114)
\_ for 6th parameter   while locating IndexingFilter   while locating factory.Element annotated with @internal.Element(setName=,uniqueId=169, type=MAPBINDER, keyType=PipelineElementModule$ElementType)  Learn more:   https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR  1 error  ====================== Full classname legend: ====================== AlertManagerImpl:                  "stroom.analytics.impl.AlertManagerImpl" AnalyticRuleSearchRequestHelper:   "stroom.analytics.impl.AnalyticRuleSearchRequestHelper" DataSourceProvider:                "stroom.datasource.api.v2.DataSourceProvider" DataSourceProviderRegistry:        "stroom.query.common.v2.DataSourceProviderRegistry" DataSourceResolver:                "stroom.query.language.DataSourceResolver" DelegatingRefDataOffHeapStore:     "stroom.pipeline.refdata.store.offheapstore.DelegatingRefDataOffHeapStore" IndexingFilter:                    "stroom.index.impl.IndexingFilter" PipelineElementModule$ElementType: "stroom.pipeline.factory.PipelineElementModule$ElementType" RefDataStoreFactory:               "stroom.pipeline.refdata.store.RefDataStoreFactory" ReferenceDataServiceImpl:          "stroom.pipeline.refdata.ReferenceDataServiceImpl" Searchable:                        "stroom.searchable.api.Searchable" SearchableProviderImpl:            "stroom.searchable.impl.SearchableProviderImpl" SearchableSearchProvider:          "stroom.searchable.impl.SearchableSearchProvider" factory.Element:                   "stroom.pipeline.factory.Element" internal.Element:                  "com.google.inject.internal.Element" ======================== End of classname legend: ========================

Now verifies the dirs exist and are writable first.
1) [Guice/ErrorInjectingConstructor]: RuntimeException: Error writing test file in directory /home/dev/.stroom/v7/node1a/reference_data for property 'stroom.pipeline.referenceData.lmdb.localDir': AccessDeniedException /home/dev/.stroom/v7/node1a/reference_data/12683108099919228321.tmp
  at DelegatingRefDataOffHeapStore.<init>(DelegatingRefDataOffHeapStore.java:109)

Fixed in >7.2-beta.41

repo: gchq/stroom


text:
Calls to /destroy on stroom-stats are notbeing handled correctly

if (HttpServletResponse.SC_OK == response.getStatus()) {
                return response.readEntity(responseClass);
            }

in RemoteDataSourceProvider is just returning null for an ok response. leading to
Unable to destroy query with key 11|CountStatisticsStroomStats|query-JT8D7|7XUF_1506448285662 as provider StroomStatsStore cannot be found

Teh exception handling is wrong as the service can be found, stroom is just not handling the ok response to the /destroy call correctly.

No issue in stroom, the fault lies in stroom-stats now returning Boolean.TRUE in the body of the response.


text:
🛑 Académie de la Truffe is down

In 1e1f82f, Académie de la Truffe ($ACADEMIE_TRUFFE) was down:

HTTP code: 503
Response time: 646 ms

Resolved: Académie de la Truffe is back up in 117872b after 14 minutes.

repo: gcommeuneidee/upptime


text:
[ERROR]: Deploying in Netlify a brand new site: get.address.html

I created a blogwdown project yesterday using RStudio. I created the theme repo in GitLab and today I tried to Deploy in Netlify, the problem is that I'm getting the following list of errors and I'm trying to proceed from here. I haven't edited any of the files and is deployed as intact as possible.
Describe the bug
7:11:06 PM: Build ready to start
7:11:08 PM: build-image version: 9cade8af58c2cf3a17a1e9433d2e979149488837
7:11:08 PM: build-image tag: v3.3.5
7:11:08 PM: buildbot version: 94178e8d3e0dd79630813c690b9aae771c4d9605
7:11:08 PM: Fetching cached dependencies
7:11:08 PM: Starting to download cache of 254.9KB
7:11:08 PM: Finished downloading cache in 103.915152ms
7:11:08 PM: Starting to extract cache
7:11:08 PM: Failed to fetch cache, continuing with build
7:11:08 PM: Starting to prepare the repo for build
7:11:09 PM: No cached dependencies found. Cloning fresh repo
7:11:09 PM: git clone git@gitlab.com:sittoche/krotanote
7:11:11 PM: Preparing Git Reference refs/heads/master
7:11:11 PM: Starting build script
7:11:11 PM: Installing dependencies
7:11:13 PM: v10.17.0 is already installed.
7:11:13 PM: Now using node v10.17.0 (npm v6.11.3)
7:11:13 PM: Attempting ruby version 2.6.2, read from environment
7:11:15 PM: Using ruby version 2.6.2
7:11:15 PM: Using PHP version 5.6
7:11:15 PM: Started restoring cached go cache
7:11:15 PM: Finished restoring cached go cache
7:11:15 PM: unset GOOS;
7:11:15 PM: unset GOARCH;
7:11:15 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
7:11:15 PM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
7:11:15 PM: go version >&2;
7:11:15 PM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
7:11:15 PM: go version go1.12 linux/amd64
7:11:15 PM: Installing missing commands
7:11:15 PM: Verify run directory
7:11:15 PM: Executing user command: hugo
7:11:15 PM: Error: "/opt/build/repo/themes/hugo-academic/layouts/partials/functions/get_address.html:21:1": parse failed: template: partials/functions/get_address.html:21: function "return" not defined
7:11:15 PM: Skipping functions preparation step: no functions directory set
7:11:15 PM: Caching artifacts
7:11:15 PM: Started saving pip cache
7:11:15 PM: Finished saving pip cache
7:11:15 PM: Started saving emacs cask dependencies
7:11:15 PM: Finished saving emacs cask dependencies
7:11:15 PM: Started saving maven dependencies
7:11:15 PM: Finished saving maven dependencies
7:11:15 PM: Started saving boot dependencies
7:11:15 PM: Finished saving boot dependencies
7:11:15 PM: Started saving go dependencies
7:11:15 PM: Finished saving go dependencies
7:11:17 PM: Error running command: Build script returned non-zero exit code: 255
7:11:17 PM: Failing build: Failed to build site
7:11:17 PM: failed during stage 'building site': Build script returned non-zero exit code: 255
7:11:17 PM: Finished processing build request in 9.273429385s
Technical details:

Academic Version: v4.6.2 (I think, I downloaded the theme yesterday so I assume is the lastest)
Hugo Version: 0.60.1
Browser/OS: Chrome WINDOWS

Following the indications here:
https://github.com/gcushen/hugo-academic/issues/1128
I followed this instructions and modified the hugo version in the Netlify admin panel (HUGO_VERSION) as indicated here:
https://docs.netlify.com/configure-builds/common-configurations/#hugo
The error persists.
Instead I get the following error:
...
8:03:49 PM: Executing user command: HUGO_VERSION
8:03:49 PM: /usr/local/bin/build: line 63: HUGO_VERSION: command not found
...
8:03:50 PM: Error running command: Build script returned non-zero exit code: 127
8:03:50 PM: Failing build: Failed to build site
8:03:50 PM: failed during stage 'building site': Build script returned non-zero exit code: 127

I tried also changing the hufo's version of the Netlify admin panel to: hugo --gc --minify -b $URL
But resulted in the first error:
...
Error: "/opt/build/repo/themes/hugo-academic/layouts/partials/functions/get_address.html:21:1": parse failed: template: partials/functions/get_address.html:21: function "return" not defined
...
8:24:34 PM: Error running command: Build script returned non-zero exit code: 255
8:24:34 PM: Failing build: Failed to build site
8:24:34 PM: failed during stage 'building site': Build script returned non-zero exit code: 255

My netlify.toml
[build]
publish = "public"
command = "hugo --gc --minify"
[context.production.environment]
HUGO_VERSION = "0.60.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "hugo --gc --minify --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.60.1"
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.60.1"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.60.1"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"

These are my gitlab files:
https://gitlab.com/sittoche/krotanote

Current config.toml:
Configuration of Academic
Documentation: https://sourcethemes.com/academic/

This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
Each configuration section is defined by a name in square brackets (e.g. [outputs]).
Title of your site
title = "Academic"
The URL of your site.
End your URL with a / trailing slash, e.g. https://example.com/.
baseURL = "https://www.krotanote.com"
Enter a copyright notice to display in the site footer.
To display a copyright symbol, type ©. For current year, type {year}.
copyright = ""
############################
Advanced options below
############################
Name of Academic theme folder in themes/.
theme = "hugo-academic"
Get last modified date for content from Git?
enableGitInfo = false
Default language to use (if you setup multilingual support)
defaultContentLanguage = "en"
hasCJKLanguage = false  # Set true for Chinese/Japanese/Korean languages.
defaultContentLanguageInSubdir = false
removePathAccents = true  # Workaround for https://github.com/gohugoio/hugo/issues/5687
paginate = 10  # Number of items per page in paginated lists.
enableEmoji = true
footnotereturnlinkcontents = "^"
ignoreFiles = ["\.ipynb$", ".ipynb_checkpoints$", "\.Rmd$", "\.Rmarkdown$", "_files$", "_cache$"]
[outputs]
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
section = [ "HTML", "RSS" ]
[mediaTypes."application/manifest+json"]
suffixes = ["webmanifest"]
[outputFormats.WebAppManifest]
mediaType = "application/manifest+json"
rel = "manifest"
Configure BlackFriday Markdown rendering.
See: https://gohugo.io/getting-started/configuration/#configure-blackfriday
[blackfriday]
hrefTargetBlank = true  # true opens external links in a new tab. See https://github.com/gohugoio/hugo/issues/2424
angledQuotes = false
latexDashes = true
extensions = ["backslashLineBreak"]
[imaging]
resampleFilter = "lanczos"
quality = 90
anchor = "smart"  # Anchor for cropping. Options include Smart and Center.
Taxonomies.
[taxonomies]
tag = "tags"
category = "categories"
publication_type = "publication_types"
author = "authors"

Current config.toml:
`# Configuration of Academic
Documentation: https://sourcethemes.com/academic/

This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
Each configuration section is defined by a name in square brackets (e.g. [outputs]).
Title of your site
title = "Academic"
The URL of your site.
End your URL with a / trailing slash, e.g. https://example.com/.
baseURL = "https://www.krotanote.com"
Enter a copyright notice to display in the site footer.
To display a copyright symbol, type ©. For current year, type {year}.
copyright = ""
############################
Advanced options below
############################
Name of Academic theme folder in themes/.
theme = "hugo-academic"
Get last modified date for content from Git?
enableGitInfo = false
Default language to use (if you setup multilingual support)
defaultContentLanguage = "en"
hasCJKLanguage = false  # Set true for Chinese/Japanese/Korean languages.
defaultContentLanguageInSubdir = false
removePathAccents = true  # Workaround for https://github.com/gohugoio/hugo/issues/5687
paginate = 10  # Number of items per page in paginated lists.
enableEmoji = true
footnotereturnlinkcontents = "^"
ignoreFiles = ["\.ipynb$", ".ipynb_checkpoints$", "\.Rmd$", "\.Rmarkdown$", "_files$", "_cache$"]
[outputs]
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
section = [ "HTML", "RSS" ]
[mediaTypes."application/manifest+json"]
suffixes = ["webmanifest"]
[outputFormats.WebAppManifest]
mediaType = "application/manifest+json"
rel = "manifest"
Configure BlackFriday Markdown rendering.
See: https://gohugo.io/getting-started/configuration/#configure-blackfriday
[blackfriday]
hrefTargetBlank = true  # true opens external links in a new tab. See https://github.com/gohugoio/hugo/issues/2424
angledQuotes = false
latexDashes = true
extensions = ["backslashLineBreak"]
[imaging]
resampleFilter = "lanczos"
quality = 90
anchor = "smart"  # Anchor for cropping. Options include Smart and Center.
Taxonomies.
[taxonomies]
tag = "tags"
category = "categories"
publication_type = "publication_types"
author = "authors"
`

Please use the chat/forums - see https://github.com/gcushen/hugo-academic/blob/master/.github/support.md

authors: Stradichenko gcushen

repo: gcushen/hugo-academic


text:
Add systick and delay functionality

This implements a delay milliseconds function, and the HAL for the systick peripheral.
It is not complete yet. It is missing:
mtimer compare register functionality
Delay for us, s, etc.
I believe the delay_ms function needs some work to make more accepting of other types.
I've tested this and it works on my nano, however  I did not test different clocking speeds yet.

Great! Review today. Thanks )


text:
Send Test Notification - Sending Failed

I have setup Octopod on my iOS device and can access and control my printer.  When I try to test the notification setting I get a "Sending Failed:" error.
Octoprint.txt log shows:
2020-04-14 14:57:40,743 - octoprint.plugins.octopod - INFO - Notification Response: {"timestamp":"2020-04-14T13:57:40.622+0000","status":400,"error":"Bad Request","message":"Unable to parse form content","path":"/v1/push_printer"}
I've checked my settings and looked through the issues and it seems that I have everything setup properly.  If I try to open http://octopodprint.com in a web browser on my computer I get a White Label Error page.  Is the push notification server down or do I have something setup wrong?

Hi @csimmons01, I just tested it from my computer and I got the notification. The URL http://octopodprint.com/ is correct. The White Label Error page is expected. Are you running the latest version of the plugin? That's probably not the cause for this though. I'm out of ideas for what could be causing this honestly. :( Is the URL to the camera correct? If you copy it to a browser (in incognito) does it show an image?
Gaston

I've still yet to get a test message to work, but I got a push notification message that my bed was up to temperature!  I figured the "White Label Error" was probably expected.
For what it is worth I am running:
OctoPrint Version 1.4.0
OctoPi Version 0.16.0, running on Raspberry Pi 3 Model B Plus Rev 1.3
OctoPod PlugIn version 0.2.5
iOS OctoPod App version 3.2 build 4
The URL to the camera is correct and I can access the camera in OctoPod app.  I have set temperatures and started a print from the iOS app.  In short everything seems to work except the test message.
This is about a 2 hour print, so I'll see if I get push notifications during the print and will let you know.  Thanks for your work on the app and plugin, I think I am really going to like them.  And thanks for the quick response!
Chris

Happy to help Chris. Since you got the notification about bed temp then connectivity is working fine. You can set to get notifications at different % of progress. If you got those notifications then everything it correctly set up (and testing send notification should work too). If notifications for work progress do not work then I would double check that the URL of the camera that you configured in this plugin is correct. However, I would expect that an incorrect URL will end up in a notification without a camera snapshot.
Let me know how it goes.
Thanks,
Gaston

I've done two prints now, and have only gotten the bed temp and print completed alerts, not the 50% alert that is also configured.  None of these notifications have had pictures.  I have numerous instances of the following error in the octoprint.txt log:
2020-04-14 21:37:44,714 - octoprint.plugins.octopod - INFO - Notification Response: {"timestamp":"2020-04-14T20:37:44.672+0000","status":400,"error":"Bad Request","message":"Unable to parse form content","path":"//v1/push_printer"}
My camera URL was using http://localhost:8080/?action=snapshot, but I have switched it to http://192.168.x.xxx:8080/?action=snapshot ("x's substituted for rest of ip).  If I put that address into an incognito window I do get a camera snapshot.
The only other thing I can think of is I have my camera snapshot set to 1640x1232, not the default 640x480.
So I get some notifications (even on my Apple Watch), but not with pictures and not all of the notifications that I have configured.
I'll keep trying things between prints, but I still don't have it 100% figured out.

Thanks for the update. Plugin will send notification about 50% (or whatever percentage you configured) when it gets that exact same percentage from OctoPrint. Funny thing when I was testing this feature is that for prints that move fast OctoPrint skips certain percentages and thus those notifications were skipped. :( I didn't want to overcomplicate the code with logic to detect these cases
Good hint about image resolution. Apple Watch app is probably hitting a timeout trying to download all that image. Could you try lowering the camera resolution and see if notifications go through? Notification should include the camera snapshot and the notification on the watch should also display the image.

I was able to complete some testing.  Removing the following line from my octopi.txt file has fixed my notification issues.  The test message is now successful and I am getting 25/50/75/100% completion messages with images.
camera_raspi_options="-x 1640 -y 1232 -fps 20"
The only line left in my octopi.txt that is not commented out is:
camera="raspi"
I tried most of the resolution options for the Raspi cam and none of them would work with the OctoPod notifications, although most worked for webstream and snapshots.  I did not try all resolution and frame rate options, but simply leaving the defaults works.  My web stream and snapshot resolution are not as good, but they are acceptable, especially as I was able to tweak the manual focus on the camera a bit better.
The highest raspicam resolution did not work for streaming or snapshot (camera_raspi_options="-x 3280 -y 2464 -fps 10") in the Octoprint web interface, nor for Octopod notifications.
So in summary OctoPod notifications work with the default Raspberry Pi Camera settings, but none of the other resolution options seem to work, at least for me (even ones that work fine for streaming or snapshots through a browser).
For reference here is a link to how to change mjpeg-streamer parameters https://community.octoprint.org/t/how-can-i-change-mjpg-streamer-parameters-on-octopi/203
This has more info on Pi Camera modes:
https://picamera.readthedocs.io/en/latest/fov.html#sensor-modes
If I hadn't recently been tweaking my camera, and you hadn't suspected a snapshot issue, I'm not sure I would have figured this out.  Seems like it could easily cause problems for someone in the future.
Thanks for all of your help, at least I have it working, albeit with reduced camera resolution.

Great research and finding @csimmons01. Happy to hear that you got it working with some setup even though it is less optimal.
I have a Logitech C270 and /boot/octopi.txt is configured with

camera_usb_options="-r 1280x720 -f 10 -q 75"

In my other setup, I have a raspberry camera v2 and /boot/octopi.txt  has this setup

camera_raspi_options="-fps 10 -x 1280 -y 720 -quality 75"

Anything else is commented out. Have you tried with bigger resolutions and reducing quality? I found that up to 75% the pixelation is not that bad.
Let me know if that worked better.
Thanks,
Gaston

I'll try that next time I have a chance.  I tried a bunch of settings, but I never tried the quality options, and I didn't try 10fps with the 1280x720 resolution either.
I'm loving my Octopod app though, even though I had to give up some resolution.  Manually adjusting the focus on the Raspberry Camera v2 made a big difference for me too.

These seem to be the magic numbers:
camera_raspi_options="-x 1640 -y 1232 -fps 10 -quality 95"
Maximum resolution which still sends sucessfully.

Thanks guys for all the information you shared!!! I now know how to reproduce this error so a fix is coming soon. As it was said, manually reduce the image resolution of the images for now. The fix will try reducing the resolution for push notifications since they don't need to be really that big anyway.

New release of the plugin is out that fixed this issue! Let me know how it works for you. You can now leave image resolution as you wish.

I still was not able to use any image settings I wanted.  Only tried a few, but the one suggested by c-hri-s worked for me:
camera_raspi_options="-x 1640 -y 1232 -fps 10 -quality 95"
Other settings gave the "Sending Failed" message when testing.
camera_raspi_options="-x 1640 -y 1232" did not work for me, for example.

Hi @csimmons01, if you are using the new version of the plugin then you can leave the camera at whatever resolution you like and the plugin will automatically will scale down (only if needed) to -x 1640 -y 1232.
Note that having extreme high resolution will have other impacts and not sure about that high benefits. Streaming of big resolution implies more network bandwidth, CPU and memory usage. These things could potentially impact OctoPrint. From an OctoPod perspective, super high resolution will not make it appear better in a screen size like an iPhone or iPad. And for Apple Watch it might time out and not be able to display your camera on your Apple Watch.

authors: c-hri-s csimmons01 gdombiak

repo: gdombiak/OctoPrint-OctoPod


text:
process simulator

How could we make a 3D process simulator integration from layout so that we can simulate the geometry after fabrication?
at the moment we can only do 2D process simulations with pyxs
@tobre1
@nikosavola
@simbilod
@yaugenst
https://github.com/ViennaTools/ViennaPS/issues/65

note that pyxs does not actually model fabrication in the way an actual process simulator would
From the creator: "Despite it's low visibility and obvious flaws, the project receives considerable attention by parts of the user community. Obviously, it is a great tool for teaching, layout comprehension and understanding device functionality and parasitic effects. But it may also be a waste of time. This is why I both love and hate it. "
https://wiki.f-si.org/index.php?title=KLayout_XSection_tool_-_Deep_insights_or_nonsense_in_colors%3F

it looks like they have a gds reader, which could be an easy starting point
https://github.com/ViennaTools/ViennaPS/blob/master/examples/GDSReader/GDSReader.py

authors: joamatab simbilod

repo: gdsfactory/gplugins


text:
plugin: system monitoring

System monitoring

[x] mac os mem info
[ ] windows mem info
[x] mac os cpu info
[ ] windows cpu info
[ ] mac os LA info
[ ] windows LA info

maybe

[ ] mac os network ingress/egress
[ ] windows network ingress/egress
[ ] mac os IO ingress/egress
[ ] windows IO ingress/egress

repo: gebv/my-stream-deck-plugins


text:
🛑 COM GURU is down

In f4f0ca2, COM GURU ($SITE_COM_GURU) was down:

HTTP code: 0
Response time: 0 ms

Resolved: COM GURU is back up in 04e1619 after 24 minutes.

repo: gedesco-git/uptime


text:
老是这个错误metagpt.actions.action_node.ActionNode._aask_v1'

2024-06-07 10:37:34.737 | ERROR    | metagpt.utils.common:log_it:554 - Finished call to 'metagpt.actions.action_node.ActionNode._aask_v1' after 27.841(s), this was the 2nd time calling it. exp: RetryError[<Future at 0x732d07a4cbb0 state=finished raised JSONDecodeError>]
很浪费token啊

还有glm3生成的python代码都无法import

可以尝试使用更好的模型，目前模型能力较低的模型可能无法跟随Agent指令

可以尝试使用更好的模型，目前模型能力较低的模型可能无法跟随Agent指令，导致JSON解码失败。

同意，我用的免费版本的模型就会出现相似的错误，但是使用付费版本正常

Due to the lack of updates or replies by the user for a long time, we will close it. Please reopen it if necessary.

authors: andeyeluguo better629 moonlightnoodles usamimeri

repo: geekan/MetaGPT


text:
🛑 warp nh is down

In 3184f03, warp nh (https://warp-unlimited-fauzinurhaqin.cloud.okteto.net/) was down:

HTTP code: 504
Response time: 15225 ms

Resolved: warp nh is back up in 108a84f.


text:
Bump Android Build Tools to 25.0.0

fixes #284 - also just good modernization

Please can anyone merge?

if you really need this, use this method: https://blog.novanet.no/easier-react-native-upgrade-with-patch-package/

FYI @avishayil - this change didn't actually make it into the 3.0.6 NPM/Yarn packages (according to the file browser on yarnpkg.com, anyway). That may be by design, but I'm not sure, so I thought I'd let you know!

authors: ricbermo toblerpwn yoongfook

repo: geektimecoil/react-native-onesignal


text:
Restore android functions for setExternalUserId

This addresses comment left in https://github.com/geektimecoil/react-native-onesignal/commit/44b665056aa862cbbdb20a5f9e87c59fee3daaba
As well as issue raised here: https://github.com/geektimecoil/react-native-onesignal/issues/687
The problem comes from the commit history of master:

We can observe that  #680 got merged into master after #681, while the master was not merged into #680 causing an override RNOnesignal.java, that was changed by both pull requests

@dorom Thanks for the PR. It looks like #692 also fixed this issue and was merged into master already.


text:
restart jenkins to ensure service is running

I have noticed on RHEL 7.2 and 7.3 that without a restart, the ensuing curl command times out after 60 retries, and the role fails.
This commit fixes the issue.
FAILED - RETRYING: Wait for Jenkins to start up before proceeding. (9 retries left).
FAILED - RETRYING: Wait for Jenkins to start up before proceeding. (8 retries left).
FAILED - RETRYING: Wait for Jenkins to start up before proceeding. (7 retries left).
FAILED - RETRYING: Wait for Jenkins to start up before proceeding. (6 retries left).
FAILED - RETRYING: Wait for Jenkins to start up before proceeding. (5 retries left).
FAILED - RETRYING: Wait for Jenkins to start up before proceeding. (4 retries left).
FAILED - RETRYING: Wait for Jenkins to start up before proceeding. (3 retries left).
FAILED - RETRYING: Wait for Jenkins to start up before proceeding. (2 retries left).
FAILED - RETRYING: Wait for Jenkins to start up before proceeding. (1 retries left).
 [WARNING]: Consider using get_url or uri module rather than running curl

fatal: [XX.XX.XX.XX]: FAILED! => {"attempts": 60, "changed": false, "cmd": "curl -D - --silent --max-time 5 http://localhost:8080/cli/", "delta": "0:00:00.009602", "end": "2017-06-12 16:31:34.820858", "failed": true, "rc": 7, "start": "2017-06-12 16:31:34.811256", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
	to retry, use: --lim######

This shouldn't be necessary—it could be that there's something in the configuration that's causing that first startup to timeout or fail (usually related to something in the systemd configuration, or with permissions, something like that).
Adding this task causes all the automated builds to fail: https://travis-ci.org/geerlingguy/ansible-role-jenkins/builds/242112982
Please check out how the test is run in tests/test.yml and the other test playbooks—those are running continuously (once a day) and are currently passing and working in Travis CI. I also can confirm that building a new CentOS 7 instance locally seems to work okay.
Please reopen if you can provide a reproducible set of steps/playbook that will lead to that task failing.

Understood. I'll look into when I get some time. Thanks for taking the time to comment on this. Cheers!

authors: ceod geerlingguy

repo: geerlingguy/ansible-role-jenkins


text:
NFS Seems to be the default for the first shared folder if native is tried to be used.

`: -->
Issue Type

Bug Report / Support Request

Your Environment

Vagrant 1.9.1
VirtualBox 5.0.32r112930
bash: ansible: command not found

Your OS

Windows$ systeminfo | grep "^OS [Name|Version]"
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.14393 N/A Build 14393

Full console output

output when type == ""
output when type == "shared" (undefined obviously)

Summary

When using drupal-vm as a composer dependency, if I switch type: nfs to be type: "", it doesn't seem to make a difference. I believe this is because what ever is in ./vendor/geerlingguy/drupal-vm/default.config.yml is over loading what is in type. To prove this I put just a random string in type in config.yml to show it only happens when type is empty or an empty string. This probably has something to do with the merge properties algorithm located here.
This was found during an upgrade from Vagrant 1.8.1 to Vagrant 1.9.1 where it seems that NFS has been explicitly banned from Windows in the mean time... Before it looks like they automagically set it to "shared" instead and I just didn't know any better :)

Interesting... I remember having tested this specifically a few releases ago at least on macOS 10.11 and Windows 10. Can you try upgrading to Vagrant 1.9.2 and see if that works? Or try Vagrant 1.9.0 and see if that works?
There were a lot of issues with NFS shares in 1.9.1... on Mac, Windows, and even Linux hosts.

You know I think about it... and my logic is flawed... also we can't garentee that Virtualbox's shared folders will be used with "" as the type am I right? So it could be that NFS was what was selected as my default.

type (string) - The type of synced folder. If this is not specified, Vagrant will automatically choose the best synced folder option for your environment. Otherwise, you can specify a specific type such as "nfs".

https://www.vagrantup.com/docs/synced-folders/basic_usage.html
With that said, I upgraded to 1.9.2 and then started having issues with a different error message... which has nothing to do with what I've reported here obviously...
saying
mount -t vboxsf -o uid=900,gid=900 vagrant /vagrant

The error output from the command was:

: No such file or directory.

needless to say I didn't get my VMs back up and working on Windows and gave up when I found documentation that says that there is no support for Windows NFS (besides that one vagrant plugin).
The easy way would be to see if there is some way to var_dump that config and see it actually does contain the correct settings when we set type: "" in config.yml. I should do some googling and figure out how and see for myself, but if you do before me... 👍

I can't right now, unfortunately... but as a short term workaround, would type: "smb" work for you? That's what I normally use on my Windows 10 builds.

(Or rsync if I have a need for speed)

SMB unfortunatly doesnt' support symlinking... shared folders I know do... and actually aren't Thaaaaaat bad... which is why I was fairly happy with them. The downside of rsync going only 1 way blows too unfortunately when you got files being built by the webserver if I recall... I do appreciate the suggestions though.
Lastly, don't break you neck over this... Windows Dev has been a masochistic hobby of mine and this is one of the pain points :P. I use Mac for my day job, so life is still good!

SMB does, as long as you run whatever terminal you're using to run vagrant commands as administrator, and as long as all the symlinks are generated within a linuxy environment (e.g. do all the work inside the VM, or inside cygwin or cmder or Ubuntu Bash...).
For rsync, there's also two-way rsync plugins, and some people end up doing a reverse-SMB mount, or something like that.
But in general, yeah, I want to make sure that "" works and allows you to use whatever the native share is.

So here's something... It appears that
mount -t vboxsf -o uid=900,gid=900 vagrant /vagrant

The error output from the command was:

: No such file or directory.

is something up with the latest virtualbox install for me... I downgraded to 5.1.4 and all was well.
As for the original problem reported... It appears that I was incorrect. Doing a dump gave me the correct properties I expected (type:"") so we can close this. This was just one big bucket of weirdness...

@generalredneck - Oh gosh, I completely missed that you were on 5.0.x—yeah, there were a few annoying bugs occurring with new Vagrant versions on VirtualBox 5.0.x, so I bumped that requirement recently to 5.1.x (I think 5.1.16 just came out too).

Yeah I upgraded to 5.1.16 and that's when I started having the mount problem... so I reigned it in to an older 5.1 version

Oh, ha, okay. Then it's good to know 5.1.16 may have introduced new fun issues.
Also make sure to always install vagrant plugin install vagrant-vbguest—that can sometimes head off these issues if your version of VirtualBox is the latest but boxes were built on an older release.

good to know!

@generalredneck - I'm fairly certain it's VirtualBox 5.1.16 that's causing all this insanity; check out https://github.com/geerlingguy/drupal-vm/issues/1210

authors: geerlingguy generalredneck

repo: geerlingguy/drupal-vm


text:
MP GO:0007062 sister chromatid cohesion

GO:0007062 sister chromatid cohesion
should move down to be a descendent of 'nuclear chromosome segregation'

also
GO:0044768 NMS complex interaction involved in chromosome segregation (crazy term?)
GO:0051305 chromosome movement towards spindle pole
GO:0072766 centromere clustering at the nuclear envelope
GO:0051310 metaphase plate congression
probably others....

I'm not sure this will work -- chromosome segregation is defined as including several events that take place after the nuclear envelope breaks down in those species where, well, the nuclear envelope breaks down for mitosis. Can the process still be "nuclear" if part of it happens when there's no nucleus?
For the same reason, it looks dodgy for 'sister chromatid segregation' to be is_a 'nuclear chromosome segregation'.

OK, in that case the "nuclear chromosome segregation" term will need to be rethought or the definition meaning tweaked. Nuclear chromosome segregation was created as a grouping term  for segregations  of eukaryotic 'nuclear' chromosomes as  opposed to mitochondrial or chloroplast  chromosome segregation and as a place holder to house old chromosome segregation annotations under 'cell cycle' without going back to the individual papers and migrating annotations to mitotic or meiotic. It probably isn't completely necessary  for annotation purposes as you should always know if the experiment is meiotic or mitotic.

Actually I think its OK, the def refers to nuclear chromosomes, it does not say that the process needs to occur in the nucleus in its entirety?

the def refers to nuclear chromosomes

Nuclear chromosome is defined as "A chromosome found in the nucleus of a eukaryotic cell". Can a chromosome be "nuclear" when there's no nucleus for it to be found in?

Maybe it could be changed to "beginning with nuclear chromosomes" ?
The term isn't intended to  mean that the chromosomes are necessarily "nuclear chromosomes". It just means "segregation of the nuclear genome", so it is used in a slightly different context to "nuclear chromosome" in the CC ontology. It should be fine if the def is tweaked to reflect the intended meaning.
We could also tweak the term name, but I can't think of anything else to use, and the cell cycle workshop pondered over this for quite a while..

It's worth not just using "nuclear x" names, though, because so many terms elsewhere in both BP and CC that use the "CC x" naming convention do mean a BP that happens in the CC, or one CC that's found in another CC (e.g. cytoplasmic ribosome, mitochondrial translation). Sadly, people will neglect the nuances of the definitions, especially when looking at collections of annotations on GO term pages in browser, or in enrichment analysis or ...
I don't have a good suggestion off the top of my head but will let you know if inspiration strikes.

nuclear-derived chromosome?

That could work.

Looking at this again, I think nuclear chromosome segregation might work. According to the definition of nuclear chromosome segregation, the process begins with the condensation of the chromosomes. At that point, they are nuclear and so I think what happens subsequently still counts as a process that is working on nuclear chromosomes. What do you think?

I'm OK with that. I think its OK to say "nuclear chromosome segregation" and not mean always "nuclear chromosome", if its defined chromosome segregation of a nuclear genome.
v

I think it'll be OK if the definition of "nuclear chromosome" itself is expanded to make it clearer that it means "a chromosome that is part of the nuclear genome", and maybe also include "is present in the nucleus whenever the nucleus exists" or something to that effect. Might also be wise to make similar adjustments to the "nuclear chromosome segregation" def and possibly other "nuclear chromosome process" terms.

Hi Val and Midori,
I made the changes to the defs that Midori suggested and tried to find all the terms that needed to be moved to be part of the new nuclear chromosome segregation term. Hopefully I got them all.
-David

authors: ValWood mah11 ukemi

repo: geneontology/go-ontology