text:
mmseqs search report error and Alignment died when --num-iterations >= 2

Expected Behavior
Successful create a search resultDB when run mmseqs search query/queryDB target/tragetDB search/resultDB -s 7.5 --search-type 3
but fail when run mmseqs search query/queryDB target/tragetDB search/resultDB -s 7.5 --search-type 3 --num-iterations 2
Current Behavior
Error: Alignment died
Error: Search step died
Steps to Reproduce (for bugs)
mmseqs createdb query.fasta query/queryDB
mmseqs createdb targegt.fasta target/targetDB
mmseqs query/queryDB target/targetDB search/resultDB tmp -s 7.5 --search-type 3 --num-iterations 2

MMseqs Output (for bugs)

MMseqs Version:                        	df77d9e6cf640fe8990f247441ab44d4f4ad9cdc
Substitution matrix                    	aa:blosum62.out,nucl:nucleotide.out
Add backtrace                          	true
Alignment mode                         	3
Alignment mode                         	0
Allow wrapped scoring                  	false
E-value threshold                      	0.001
Seq. id. threshold                     	0
Min alignment length                   	0
Seq. id. mode                          	0
Alternative alignments                 	0
Coverage threshold                     	0
Coverage mode                          	2
Max sequence length                    	10000
Compositional bias                     	1
Compositional bias                     	1
Max reject                             	2147483647
Max accept                             	2147483647
Include identical seq. id.             	false
Preload mode                           	0
Pseudo count a                         	substitution:1.100,context:1.400
Pseudo count b                         	substitution:4.100,context:5.800
Score bias                             	0
Realign hits                           	false
Realign score bias                     	-0.2
Realign max seqs                       	2147483647
Correlation score weight               	0
Gap open cost                          	aa:11,nucl:5
Gap extension cost                     	aa:1,nucl:2
Zdrop                                  	40
Threads                                	96
Compressed                             	0
Verbosity                              	3
Seed substitution matrix               	aa:VTML80.out,nucl:nucleotide.out
Sensitivity                            	7.5
k-mer length                           	15
Target search mode                     	0
k-score                                	seq:2147483647,prof:2147483647
Alphabet size                          	aa:21,nucl:5
Max results per query                  	300
Split database                         	0
Split mode                             	2
Split memory limit                     	0
Diagonal scoring                       	true
Exact k-mer matching                   	1
Mask residues                          	1
Mask residues probability              	0.9
Mask lower case residues               	0
Minimum diagonal score                 	15
Selected taxa
Spaced k-mers                          	1
Spaced k-mer pattern
Local temporary path
Rescore mode                           	0
Remove hits by seq. id. and coverage   	false
Sort results                           	0
Mask profile                           	1
Profile E-value threshold              	0.1
Global sequence weighting              	false
Allow deletions                        	false
Filter MSA                             	1
Use filter only at N seqs              	0
Maximum seq. id. threshold             	0.9
Minimum seq. id.                       	0.0
Minimum score per column               	-20
Minimum coverage                       	0
Select N most diverse seqs             	1000
Pseudo count mode                      	0
Min codons in orf                      	30
Max codons in length                   	32734
Max orf gaps                           	2147483647
Contig start mode                      	2
Contig end mode                        	2
Orf start mode                         	1
Forward frames                         	1,2,3
Reverse frames                         	1,2,3
Translation table                      	1
Translate orf                          	0
Use all table starts                   	false
Offset of numeric ids                  	0
Create lookup                          	0
Add orf stop                           	false
Overlap between sequences              	0
Sequence split mode                    	1
Header split mode                      	0
Chain overlapping alignments           	0
Merge query                            	1
Search type                            	3
Search iterations                      	2
Start sensitivity                      	4
Search steps                           	1
Exhaustive search mode                 	false
Filter results during exhaustive search	0
Strand selection                       	2
LCA search mode                        	false
Disk space limit                       	0
MPI runner
Force restart with latest tmp          	false
Remove temporary files                 	false

splitsequence sub/subDB tmp/7935334228278574252/target_seqs_split --max-seq-len 10000 --sequence-overlap 0 --sequence-split-mode 1 --headers-split-mode 0 --create-lookup 0 --threads 96 --compressed 0 -v 3
[=================================================================] 100.00% 365.60K 1s 853ms
Time for merging to target_seqs_split_h: 0h 0m 0s 83ms
Time for merging to target_seqs_split: 0h 0m 0s 97ms
Time for processing: 0h 0m 2s 329ms
extractframes querydata/queryDB tmp/7935334228278574252/query_seqs --forward-frames 1 --reverse-frames 1 --create-lookup 0 --threads 96 --compressed 0 -v 3
[=================================================================] 100.00% 2.00K 0s 18ms
Time for merging to query_seqs_h: 0h 0m 0s 62ms
Time for merging to query_seqs: 0h 0m 0s 6ms
Time for processing: 0h 0m 0s 213ms
splitsequence tmp/7935334228278574252/query_seqs tmp/7935334228278574252/query_seqs_split --max-seq-len 10000 --sequence-overlap 0 --sequence-split-mode 1 --headers-split-mode 0 --create-lookup 0 --threads 96 --compressed 0 -v 3
Time for processing: 0h 0m 0s 0ms
prefilter tmp/7935334228278574252/query_seqs_split tmp/7935334228278574252/target_seqs_split tmp/7935334228278574252/search/pref_0 --sub-mat 'aa:blosum62.out,nucl:nucleotide.out' --seed-sub-mat 'aa:VTML80.out,nucl:nucleotide.out' -s 7.5 -k 15 --target-search-mode 0 --k-score seq:2147483647,prof:2147483647 --alph-size aa:21,nucl:5 --max-seq-len 10000 --max-seqs 300 --split 0 --split-mode 2 --split-memory-limit 0 -c 0 --cov-mode 2 --comp-bias-corr 1 --comp-bias-corr-scale 1 --diag-score 1 --exact-kmer-matching 1 --mask 1 --mask-prob 0.9 --mask-lower-case 0 --min-ungapped-score 15 --add-self-matches 0 --spaced-kmer-mode 1 --db-load-mode 0 --pca substitution:1.100,context:1.400 --pcb substitution:4.100,context:5.800 --threads 96 --compressed 0 -v 3
Query database size: 4000 type: Nucleotide
Estimated memory consumption: 11G
Target database size: 365688 type: Nucleotide
Index table k-mer threshold: 0 at k-mer size 15
Index table: counting k-mers
[=================================================================] 100.00% 365.69K 16s 177ms
Index table: Masked residues: 1079896
Index table: fill
[=================================================================] 100.00% 365.69K 12s 498ms
Index statistics
Entries:          297952985
DB size:          9896 MB
Avg k-mer size:   0.277490
Top 10 k-mers
GGCGCAGCGCGGTGC	366
TCCGGGCCGCACGGT	330
GTCGCGGCAGCGCCG	209
CAGACGCGCGTGCCG	204
CGCGCGCGTCGCGCG	167
CGCGCGCGTGGCGCG	157
GCTGCGCGCGGCGCG	151
CGCGGGCGTGGCGCG	149
CGTGCGCGTGGCGCG	147
CGCGCGCCCGGCGCG	133
Time for index table init: 0h 0m 39s 203ms
Process prefiltering step 1 of 1
k-mer similarity threshold: 0
Starting prefiltering scores calculation (step 1 of 1)
Query db start 1 to 4000
Target db start 1 to 365688
[=================================================================] 100.00% 4.00K 0s 74ms
[================================================================>] 99.72% 3.99K eta 0s
0.926667 k-mers per position
434 DB matches per sequence
0 overflows
4 sequences passed prefiltering per query sequence
1 median result list length
1762 sequences with 0 size result lists
Time for merging to pref_0: 0h 0m 0s 5ms
Time for processing: 0h 0m 40s 369ms
align tmp/7935334228278574252/query_seqs_split tmp/7935334228278574252/target_seqs_split tmp/7935334228278574252/search/pref_0 tmp/7935334228278574252/search/aln_0 --sub-mat 'aa:blosum62.out,nucl:nucleotide.out' -a 1 --alignment-mode 3 --alignment-output-mode 0 --wrapped-scoring 0 -e 0.001 --min-seq-id 0 --min-aln-len 0 --seq-id-mode 0 --alt-ali 0 -c 0 --cov-mode 2 --max-seq-len 10000 --comp-bias-corr 1 --comp-bias-corr-scale 1 --max-rejected 2147483647 --max-accept 2147483647 --add-self-matches 0 --db-load-mode 0 --pca substitution:1.100,context:1.400 --pcb substitution:4.100,context:5.800 --score-bias 0 --realign 1 --realign-score-bias -0.2 --realign-max-seqs 2147483647 --corr-score-weight 0 --gap-open aa:11,nucl:5 --gap-extend aa:1,nucl:2 --zdrop 40 --threads 96 --compressed 0 -v 3
Compute score only
Query database size: 4000 type: Nucleotide
Target database size: 365688 type: Nucleotide
Calculation of alignments
Query sequence 236 has a result with no diagonal information. Please check your database.
Error: Alignment died
Error: Search step died
Your Environment
Include as many relevant details about the environment you experienced the bug in.

Git commit used:df77d9e6cf640fe8990f247441ab44d4f4ad9cdc
Which MMseqs version was used (Statically-compiled, self-compiled, Homebrew, etc.):Statically-compiled
Server specifications (especially CPU support for AVX2/SSE and amount of system memory):
CPU12 vCPU Intel(R) Xeon(R) Platinum 8255C CPU @ 2.50GHz
memory 43
Operating system and version:Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-121-generic x86_64)

First: both the sensitivity parameter and the iteration parameter do not do anything for nucleotide MMseqs2 searches. sensitivity is the parameter for adjusting the length of the similar k-mer lists, which are not generated for nucleotides (all substitutions have the same score, so you can't generate similar k-mers).
Profile searches are also not implemented for nucleotides.
However, the error is still very surprising and should not happen. Could you share the sequences with us?

Thank you for your reply
my target sequences are some CDS sequences download from NCBI, and query sequences are some sequences fragment of 300bp
here are some partial sequences of the target and query file.
https://gist.github.com/hwy7/cd5486d2a61c3b6bfe990a3ada669318
Please let me know if you need any more information or if there are specific analyses you would like to perform with this data.
Thanks


text:
Add CI

In this moment, there is no continuos integration setup. Add a first, small function within Blast.jl and an associated test.
After this, add the coverage badge to the README.

Added small function and associated test.

Closed by #5 .

source: gharchive/issue

authors: marcobonici sofiachiarenza

license: MIT

license_type: permissive

license_source: github-api


text:
Dependency loading error when using bootstrap4

Hello!
I've been trying this extension but ran into some issues with the AppAsset loading. In DualListBoxAsset.php there are the following dependencies:
public $depends = [
  'yii\web\JqueryAsset',
  'yii\bootstrap\BootstrapAsset',
];

I'm using Yii2 with Bootstrap4 which is referenced by yii\bootstrap4\BootstrapAsset so the above dependency fails for me. Replacing bootstrap with bootstrap4 fixes the issue. Would it be possible to remove this dependency or support bootstrap4 as well?

OK, I've dropped bootstrap3 dependence from this extension.
Now it should work with boostrap4 as well as bootstrap3.

authors: FreekGille softark

license_source: bigquery


text:
feat: use chrono to deserialize date times

What did you implement:
Add chrono as a feature to deserialize date times
Closes: #186
How did you verify your change:
Tested with all examples and uni tests

Thanks @schrieveslaach!

source: gharchive/pull-request

authors: schrieveslaach softprops

repo: softprops/shiplift

license: mit


text:
[8428] Failed to execute script 'binary_entrypoint' due to unhandled exception!

Protostar version

Name
Version

Protostar
0.9.1

Cairo-lang
0.10.3

Git
2.39.0

Current Behavior

When running the deploy command:
protostar deploy --network testnet

I'm getting an error stack:
$ protostar deploy --network testnet
Unexpected Protostar error. Report it here:
https://github.com/software-mansion/protostar/issues

Traceback (most recent call last):
  File "binary_entrypoint.py", line 79, in <module>
  File "binary_entrypoint.py", line 23, in init
  File "protostar/start.py", line 21, in main
  File "protostar/start.py", line 47, in run_protostar
  File "protostar/start.py", line 42, in run_protostar
  File "asyncio/runners.py", line 44, in run
  File "asyncio/base_events.py", line 647, in run_until_complete
  File "protostar/protostar_cli.py", line 80, in run
  File "protostar/protostar_cli.py", line 117, in _run_command_from_args
  File "protostar/argument_parser/cli_app.py", line 25, in run
  File "protostar/commands/deploy_command.py", line 134, in run
  File "protostar/starknet_gateway/gateway_facade.py", line 134, in deploy_via_udc
  File "protostar/starknet_gateway/gateway_facade.py", line 89, in _create_udc_deployment
  File "starknet_py/net/udc_deployer/deployer.py", line 92, in create_deployment_call_raw
  File "starknet_py/common.py", line 31, in int_from_hex
TypeError: int() can't convert non-string with explicit base
[8428] Failed to execute script 'binary_entrypoint' due to unhandled exception!

Expected Behavior

I don't know how the output should look like, but I guess receive the address of the deployed contract.
Steps to Reproduce

Build the contracts with protostar build
Declare the contracts protostar declare ./build/my_contract.json --network testnet --max-fee auto
Deploy the contracts protostar deploy --network testnet

Here is a sample of my protostar.toml file:
[project]
protostar-version = "0.9.1"
lib-path = "lib"

[contracts]
main = ["src/main.cairo"]
my_contract = ["src/my_contract.cairo"]

[deploy]
account-address = 0xDEADBEEF_ my account address
private-key-path = "priv.key"
max-fee = "auto"

[declare]
account-address =0xDEADBEEF_ my account address
private-key-path = "priv.key"
max-fee = "auto"

Possible Solution

I think it my be related to #1461

This also might be related https://github.com/software-mansion/protostar/issues/1445

@openluminus have you tried providing class hash while running deploy command?
Although it is not marked as required in documentation I think it may be necessary.

repo: software-mansion/protostar


text:
aligned center

Merge kar chutiye

okie

repo: sohan-adsul/MyProjects


text:
Mutex used to lockout spamming attacks is not likely to work as Vercel infra scales to handle more traffic

📝 Note: Implementing #1 would pretty much solve this too, with some light tweaks.
Preamble
Consider this code that's designed to prevent attackers from spamming Octane's generous offer to sign and simulate a transaction:
https://github.com/solana-labs/octane/blob/master/src/api/transfer.ts#L23-L32
That code uses a module-local Set to track which source accounts have in-flight transactions:
https://github.com/solana-labs/octane/blob/master/src/api/transfer.ts#L7
Problem
Consecutive requests from an attacker are likely to hit the same thread/instance of the serverless function, but from what I understand this is not guaranteed.
From the Vercel docs:

For example, a Serverless Function handles an incoming request, runs some computation, and responds. If another request comes to the same path, the system will automatically spawn a new isolated function, thus scaling automatically.
In contrast, processes and containers tend to expose an entire server as their entrypoint. That server would then define code for handling many types of requests.
The code you specify for handling those requests would share one common context and state. Scaling becomes harder because it is difficult to decide how many concurrent requests the process can handle.

If consecutive requests by the attacker hit different threads running our serverless API function, they will each have different Sets of source ids, and will permit the simulation/broadcast on each thread, rendering the defence mechanism ineffective.
Possible solution
In general, with horizontally scalable systems of lambdas, you can rely on a shared state service to implement a mutex. We could consider building in support for something like Upstash – a Redis service. We could implement the source account lock as a [Redis distributed lock[(https://redis.io/topics/distlock).
https://docs.upstash.com/redis/howto/vercelintegration

Yeah, good points. It's true that it's not guaranteed to hit the same thread. We also probably lose these lockouts and the txids (#1) if the function becomes idle. The IP-based ratelimiting is subject to the same problem.
We could use an external store for all this persistent info. A downside is that it makes this more complex to deploy. Perhaps we can find a way to make it optional/modular with some kind of drop-in Store interface.

Yeah, good points. It's true that it's not guaranteed to hit the same thread. We also probably lose these lockouts and the txids (#1) if the function becomes idle. The IP-based ratelimiting is subject to the same problem.
We could use an external store for all this persistent info. A downside is that it makes this more complex to deploy. Perhaps we can find a way to make it optional/modular with some kind of drop-in Store interface.

📝 Note: Implementing #1 would pretty much solve this too, with some light tweaks.

I'm not sure using txids solves this problem, because a spammer could pick a bunch of recent blockhashes that all target the same source token account and thus have different signatures. Maybe you have another solution in mind though?
A related issue: assuming there are several instances of Octane (let's say, run by different parties), a spammer could hit all of them and make them race for it, wasting gas for everyone but the winner.

📝 Note: Implementing #1 would pretty much solve this too, with some light tweaks.

I'm not sure using txids solves this problem, because a spammer could pick a bunch of recent blockhashes that all target the same source token account and thus have different signatures. Maybe you have another solution in mind though?
A related issue: assuming there are several instances of Octane (let's say, run by different parties), a spammer could hit all of them and make them race for it, wasting gas for everyone but the winner.

I'm not sure using txids solves this problem, because a spammer could…

Oh yeah; I just meant that if we stood up a persistent store in #1 we could use it to store these locks.

Perhaps we can find a way to make it optional/modular with some kind of drop-in Store interface.

I like this. Optional, with a build time warning that you should really consider standing up a for-real persistent store.
I feel like there's a startup somewhere in here.

spammer could hit all of them and make them race

This is probably solvable with captchas, but I think that reduces the chance of getting integrated with wallets. In general it would be nice to not hurt the UX like that.

make it optional/modular with some kind of drop-in Store interface

Turns out https://github.com/BryanDonovan/node-cache-manager#store-engines already does this.
#3 implements the default memory store:
https://github.com/solana-labs/octane/blob/8479af3e78a4a613006405c535ba052aaac5b2f7/src/core/cache.ts#L1-L3
We could provide config for the Redis store, maybe along with https://github.com/wyattjoh/rate-limit-redis, and add it to the docs or examples or something.

authors: jordansexton steveluscher

repo: solana-labs/octane


text:
Modify existing token HoC: https://github.com/solana-labs/token-list/pull/22616

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
I want to correct an misspleling on description field. At the PR it says that will be automerged, but im following the guidelines to modify existing token. Thanks!

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Token was added by @Herice https://github.com/solana-labs/token-list/pull/10695 and requires approval before more merge
https://github.com/solana-labs/token-list/pull/22616

repo: solana-labs/token-list


text:
add bahctoken

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

I can help refer this https://github.com/zakimzf/profile/pull/1
PS: If you dont need my help..then please ignore this!


text:
Update Salmon logo, uri and sdk

Update Salmon wallet logo and Uri. And update salmon-adapter-sdk dependency version.

Published @solana/wallet-adapter-salmon@0.1.8

authors: jordansexton salmon-h

repo: solana-labs/wallet-adapter


text:
Add Support for Windows

Adding this issue for tracking, my company will be working on providing this support as we have hundreds of windows boxes that will need this support.

We're looking for this as well.  Our numbers would be at least a hundred, potentially quite a bit more.
If you guys want some early testing let me know.

@split3  curious - are you guys using chocolatey?   https://chocolatey.org/packages/consul

We aren't, we have the windows support initially written entirely in puppet, just needs some tightening up and polish.

We will need to replace the staging module with archive to provide support for windows.  This initial work is already completed by #243

Initial code for this (work in progress) has been posted to the following branch:
https://github.com/solarkennedy/puppet-consul/tree/feature/windows_support
Still quite a bit of work like tests, nssm optional usage (defaulting to sc for management, etc)

Would love to have chocolatey support as well - is there a way I can contribute?

@split3 @wmuizelaar +1 on chocolatey support.
package {'consul':
  ensure => latest|version|installed|held,
  provider => chocolatey,
  source => 'internal source',
}

Here's the package fully ready to rock - https://chocolatey.org/packages/consul
We always suggest hosting your own internal packages on an internal package server when you are using Chocolatey for production purposes. You will see this package is ready to go already since it doesn't download any external resources, so it won't need any recompiling (downloading and internalizing resources). The moderator (me in this case) verified the checksums with the original shas from the hashicorp site.

Forgot to mention, there is a download link on the left side.

The feature branch that has this work is located here:
https://github.com/solarkennedy/puppet-consul/tree/feature/windows_support
Feel free to work from that to add the chocolatey support if desired.  I'm curious though, what value does chocolatey add that isn't covered by the module itself?

Based on your description, you offer install by url or by package - Chocolatey would be the by package route for Windows.
Lots of work went into that feature branch, and packaging could give you a second option without much more effort. One could use the consul package from https://chocolatey.org and offer the option to override that with an internal package.

We are cut over to puppet-archive (officially) now 100%.
I would be down for either installation approach, it doesn't have to be perfect the first time.

We want to use this module for managing Windows as well. Anything we can do to get the ball rolling on this again?

@solarkennedy From what I can see, you are already set up to support the Chocolatey package - https://github.com/solarkennedy/puppet-consul/blob/132a80cf64b9351a036f0baa5c2382f723a5c1cd/manifests/install.pp#L82-L84. Once the url route bits are accepted, there may not be much else that needs to change. Would need some testing.

Yea, and it is totally ok to release windows support as "experimental".
Do you want me to merge this as is? https://github.com/solarkennedy/puppet-consul/compare/feature/windows_support
Or does anyone have a fork that works that they can PR?

@solarkennedy that code looks mostly good to me. I'd only suggest as an enhancement to do similar to Puppet to find ProgramData.
Code in question - https://github.com/solarkennedy/puppet-consul/compare/feature/windows_support#diff-01eea9f59a7a7e8a90b87b99336e4cfbR5
Could do something like:
https://github.com/puppetlabs/puppet/blob/d00d0b7d34a211f59c5c58d0404e7b126681c2e8/install.rb#L258 and https://github.com/puppetlabs/puppet/blob/d00d0b7d34a211f59c5c58d0404e7b126681c2e8/install.rb#L253
You are at least guaranteed that the win32-dir gem is loaded with Puppet in the interim.
On second thought, maybe leave that the way it is. 👍

I know this code was used in production at my previous company for quite some time. Though it obviously hasn't been kept up2date and could probably use a little polish.

I will rubber stamp any Windows support PR. I don't personally run Windows so I'll have to lean on community support for real-world testing.

We're just getting started with consul and I hacked some code to wrap around your Linux code to make it work on Windows so I should be able to provide some decent testing.

Any change that this will picked up again, so we could use windows?

authors: brettswift claflico ferventcoder hopperd krjensen solarkennedy split3 wmuizelaar

repo: solarkennedy/puppet-consul


text:
flow:test: Increasing timeout

Signed-off-by: Flavio Ceolin flavio.ceolin@intel.com

merged, thanks

repo: solettaproject/soletta


text:
oic: Fix incorrect documentation

Callbacks used in sol_oic_client_resource_set_observable and
sol_oic_client_resource_set_observable_non_confirmable return code has
changed and documentation was not updated.
Fixes issue #1319
Signed-off-by: Otavio Pontes otavio.pontes@intel.com

ok

merged

authors: bdilly otaviobp


text:
refactor code

Signed-off-by: Yong Li yong.b.li@intel.com

@edersondisouza please help to review this PR for the code refactor, it is not finished yet, just want to share my thoughts as soon as possible. I would like to re-define the data struct for all different iio nodes to use the same one, and by changing the reader_cb function, all different nodes can re-use it

Looks interesting =D
I would look at node type data, like used on flow/update or flow/ipm (there are plenty of other samples of usage on flow): this way, you don't need to store which output port should be used on each node instance, but only on each node type. You could store IIO type there, too.
Don't forget to unify 'close' and 'tick' methods, I think you'll only need one of each for all node types.
Tip: name these PRs that are not intended for merging with 'WIP:', so people know that they aren't on final state. They would complain, for instance, at commit message, etc.
I'm looking forward for next iteration =D

It's becoming nice =D
Note that you can use node type data (same you used to define out port) to define type (the enum you created). With this, I think you'll end up with a common open function as well, needing to differentiate only channel addition and reading.

@yongli3
I'm guessing that next iteration can be a real PR, don't you think? If so, besides updating issues pointed here, remember to create a new PR (instead of updating this one), with a proper message and touching all nodes. If you still believe that next iteration is not ready yet, don't worry, keep with WIP PRs ;)
I'll be on vacations next week, but you won't be left without review =D

see what @edersondisouza said and consider moving more stuff to extra_methods and different functions instead of using the enumeration. In my understanding the enumeration should go away.

authors: barbieri edersondisouza yongli3


text:
When SSR solid-js/web does not export template function so link component cant be used

Describe the bug
When i tried to build a solid js app with ssg and webpack i could not get it to work because of the error below.
import { isServer, createComponent, delegateEvents, spread, mergeProps as mergeProps$1, template, ssr, ssrHydrationKey, NoHydration, escape, HydrationScript, renderToStringAsync } from 'solid-js/web';
                                                                                ^^^^^^^^
SyntaxError: The requested module 'solid-js/web' does not provide an export named 'template'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)

What i have found is that when building to node as a target solid-js/web does not export this template function.
I could get it to work with rollup and tree shaking it only fails when i use the A component because this ohne uses this template function.
I could not get it to work without changing code.
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
index.tsx
import { renderToStringAsync } from "solid-js/web";
import App from "./App"
// entry point for server render

async function testRender (req: any) {
  console.log(await renderToStringAsync(() => <App url={req} />));
};
testRender(/test)

App.tsx
import { A, Router} from "@solidjs/router";
import { Component, lazy, Suspense } from "solid-js";
import { HydrationScript } from "solid-js/web";

const App = () => {
  return (

        <title>🔥 Solid SSR 🔥</title>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <HydrationScript />

  );
};

export default (props: { url?: string }) => {
  return <Router url={props.url}>
    <App></App>
  </Router>
};

Rollup config
import nodeResolve from "@rollup/plugin-node-resolve";
import babel from "@rollup/plugin-babel";

export default [
    {
        input: "src/index.tsx",
        output: [
            {
                dir: "build",
                exports: "auto",
                format: "esm"
            }
        ],
        external: ["solid-js", "solid-js/web", "@solidjs/router"],
        plugins: [
            nodeResolve({
                extensions: [
                    '.js', '.jsx', '.ts', '.tsx'
                ],preferBuiltins: true, exportConditions: ["node"]
            }),
            babel({
                extensions: [
                    '.js', '.jsx', '.ts', '.tsx'
                ],
                babelHelpers: "bundled",
                presets: ["@babel/preset-typescript", ["solid", { generate: "ssr", hydratable: true }]]
            }),
        ]
    },
];

If you execute the generated index.js the above mentioned error will show
Expected behavior
Should also work with ssr
Screenshots or Videos
No response
Platform

OS: Linux
Browser: no browser (renderToStringAsync)
Version: 0.7.0

Additional context
No response

I got it to work with removing @solidjs/router from the externals in the rollup config.
Does anyone know how to archive the same result with webpack?

Now i also got it to kind of work with webpack but got this error here
ERROR in ./node_modules/@solidjs/router/dist/routing.js 3:0-53
Module not found: Error: Can't resolve './integration' in 'node_modules/@solidjs/router/dist'
Did you mean 'integration.js'?
BREAKING CHANGE: The request './integration' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

When i add the file extensions it works as expected
Here is also the webpack config
import * as path from "path";
import { existsSync } from "fs";
import { fileURLToPath } from 'url';
import webpack from "webpack";
import nodeExternals from "webpack-node-externals"

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

let server = {
    entry: "./src/index.tsx",
    mode: existsSync(path.resolve(__dirname, "./.dev")) ? "development" : "production",
    devtool: existsSync(path.resolve(__dirname, "./.dev")) ? "inline-source-map" : "source-map",

    output: {
        path: path.resolve(__dirname, "./public"),
        filename: "[name].js",
        chunkFormat: 'module',
        clean: true,
        library: {
            type: "module",
        },
    },
    experiments: {
        outputModule: true,
    },
    module: {
        rules: [
            {
                test: /\.(tsx|ts|js|jsx)?$/,
                //exclude: /node_modules/,

                use: [
                    {
                        loader: "babel-loader",

                        options: {
                            presets: ["@babel/typescript", ["babel-preset-solid", { generate: "ssr", hydratable: true }]],
                        },
                    },
                ],
            },
        ],
    },
    externalsPresets: { node: true },
    externals: [nodeExternals({
        importType: "module",
        allowlist: ["@solidjs/router"],
    })],
    resolve: {
        extensions: [".js", ".jsx", ".ts", ".tsx"],
        conditionNames: ['solid', 'node'],
        modules: [path.resolve(__dirname, "node_modules"), path.resolve(__dirname, "./src")],
    }
};

export default [server];

Also found a solution for that ...
Adding this to the module.rules in webpack fixed the issue
{
 test: /\.m?js/, resolve: {
 fullySpecified: false
 }
},

repo: solidjs/solid-router


text:
Update Bookstack to 21.11.1

Update to Bookstack Version 21.11.1

@reddexx I'm gonna close this now since we have the latest version on the main branch available. Thanks for your effort.

authors: reddexx solidnerd

repo: solidnerd/docker-bookstack


text:
Allow a default value when the attribute is assigned as nil, with the :allow_nil option

This MR adds the option :allow_nil to a Virtus::Attribute. The option allows the user to specify wether to use the default value of an attribute that got assigned as nil. The option will be false by default for backwards compatibility.
See gist for before and after examples
Related issues for this MR are: #291 and #172.

This also seems related to https://github.com/solnic/virtus/issues/235.

I'm inclined to accept this, or something similar. Since we don't do validations, we can't just reject the whole object if one attribute contains something that we really don't want in our object. So at this level, I suppose it makes sense to ensure our object is in a useable state, whatever that might mean.

I've encountered this need a couple of times; it would be great to be able to specify that an attribute falls back to the default when set to nil.
I wonder if this would be an easier feature to pull through if the naming was more explicit? I could see how :allow_nil could be misinterpreted as to mean something different.
Something like :fallback_to_default_on_nil would be hard to misunderstand, though it's quite a mouthful. Would maybe :default_on_nil be close enough..?

Bump... I'd really like this functionality

authors: JanDintel booch jpmoral lime taryneast

repo: solnic/virtus


text:
Create "Any" extension

Create extension to encapsulate "IAnyParamater" and allows use of fluent API
In IAnyParamater, throw exception if use some parameter create by other Parameter

Add SolrQueryableExtension.Any
Add CheckAnyParameter in Configuration class
Implement interface IValidation in class AnyParameter
Change validation algorithm to use CheckAnyParameter configuration

repo: solr-express/solr-express


text:
Implement Oracle OCI collector plugin

Motivation
There is currently documentation https://docs.oracle.com/pt-br/iaas/Content/API/SDKDocs/pythonsdk.htm#SDK_for_Python  for the Oracle OCI cloud to implement their collection to run Resoto.
Desired Behavior
Implement Oracle OCI cloud collection
Additional Context
No response

Thanks @datacosmos-br for reporting this. We definitely want to support Oracle OCI.
I see that you already started to implement this on your own?
Maybe we can talk about how we can combine forces - consider joining our Discord server, so we can discuss this topic better: https://discord.gg/someengineering

authors: aquamatthias datacosmos-br

repo: someengineering/resoto


text:
Configure live site

Things to do:

[X] Create Azure website
[X] Update DNS domains
[X] Set up lets encrypt
[ ] Enforce https via web.config
[ ] Find a way to not need .html for the urls via web.config probably
[ ] Configure brotli and zopfli in web.config until we have a CDN and can deploy to it
[ ] Redirect www.sonarwhal.com to  sonarwhal.com (DNS? web.config?)
[ ] Make node listen to an specific path and update to the latest 7.x version
[ ] Configure HTST and add domain to the HSTS Preload List

We already redirect to https

We already redirect to https

@molant haha, I was just giving an example that not having the redirect is a common.

authors: alrra molant


text:
son-bss Disable userManagement and licenseManagement

Add the following parameters to the command to start the docker container:
--userManagementEnabled=false --licenseManagementEnabled=false

command: grunt serve:integration --gkApiUrl=http://{{ public_ip }}:32001 --userManagementEnabled=false --licenseManagementEnabled=false

repo: sonata-nfv/son-install


text:
fix: Maven Central page parsing updates

#99 indicated a problem parsing the latest versions of Maven Central.
This PR fixes the issues and also introduces Slack Notifications should the weekly page parsing tests fail.

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

Chrome Web Store
v2.12.1
GitHub release

Your semantic-release bot :package::rocket:

authors: brent-spiner madpah


text:
在本地安装ollama，配置在one-api，测试连接时报错。

例行检查

[x] 我已确认目前没有类似 issue
[x] 我已确认我已升级到最新版本
[x] 我已完整查看过项目 README，尤其是常见问题部分
[x] 我理解并愿意跟进此 issue，协助测试和提供反馈
[x] 我理解并认可上述内容，并理解项目维护者精力有限，不遵循规则的 issue 可能会被无视或直接关闭

问题描述
one-api采用docker安装 ，ollama与one-api安装在同一个机器上。
在one-api管理渠道中配置渠道，模型为qwen:0.5b-chat，在管理渠道中点击【测试】连接时报错，如下图。
复现步骤
预期结果
相关截图

我验证模型是可以运行。

Docker 里安装网络默认是不互通的，建议改成你的公网 ip

我在云服务器部署，我觉得应该是可以设置ip的，现在无法设置，我现在使用手动版本安装，是可以了

我在云服务器部署，我觉得应该是可以设置ip的，感觉这个IP写死了，我现在服务器，在容器应用内肯定无法访问宿主机的127.0.0.1，只能是IP，现在应用没有地方可以设置。我现在使用手动版本安装，是可以了

已解决。

已解决。

@hnbzlb 你用的公网IP吗？

我在云服务器部署，我觉得应该是可以设置ip的，感觉这个IP写死了，我现在服务器，在容器应用内肯定无法访问宿主机的127.0.0.1，只能是IP，现在应用没有地方可以设置。我现在使用手动版本安装，是可以了

你没用docker，直接部署到本地，然后用的公网ip吗

https://github.com/songquanpeng/one-api/issues/1159#issuecomment-2008727516

authors: Git0814 XiongjieDai hnbzlb songquanpeng sonny-zhang

repo: songquanpeng/one-api


text:
filter-stdout does not working with embulk 0.9.20

I would like to use filter-stdout plugin with recent embulk.
2020-02-14 16:01:42.971 +0000: Embulk v0.9.20
2020-02-14 16:01:43.648 +0000 [WARN] (main): DEPRECATION: JRuby org.jruby.embed.ScriptingContainer is directly injected.
2020-02-14 16:01:46.266 +0000 [INFO] (main): Gem's home and path are set by default: "/Users/y-ken/.embulk/lib/gems"
2020-02-14 16:01:48.649 +0000 [INFO] (main): Started Embulk v0.9.20
2020-02-14 16:01:48.738 +0000 [INFO] (0001:transaction): Loaded plugin embulk-input-http (0.23.0)
2020-02-14 16:01:48.859 +0000 [INFO] (0001:transaction): Loaded plugin embulk-filter-ruby_proc (0.8.1)
2020-02-14 16:01:48.925 +0000 [INFO] (0001:transaction): Loaded plugin embulk-filter-split_column (0.1.3)
2020-02-14 16:01:48.972 +0000 [INFO] (0001:transaction): Loaded plugin embulk-filter-stdout (0.1.0)
2020-02-14 16:01:49.094 +0000 [INFO] (0001:transaction): Loaded plugin embulk-filter-row (0.5.1)
org.embulk.exec.PartialExecutionException: java.lang.NoClassDefFoundError: org/embulk/filter/stdout/StdoutFilterPlugin$PluginTask
	at org.embulk.exec.BulkLoader$LoaderState.buildPartialExecuteException(BulkLoader.java:340)
	at org.embulk.exec.BulkLoader.doRun(BulkLoader.java:566)
	at org.embulk.exec.BulkLoader.access$000(BulkLoader.java:35)
	at org.embulk.exec.BulkLoader$1.run(BulkLoader.java:353)
	at org.embulk.exec.BulkLoader$1.run(BulkLoader.java:350)
	at org.embulk.spi.Exec.doWith(Exec.java:22)
	at org.embulk.exec.BulkLoader.run(BulkLoader.java:350)
	at org.embulk.EmbulkEmbed.run(EmbulkEmbed.java:205)
	at org.embulk.EmbulkRunner.runInternal(EmbulkRunner.java:292)
	at org.embulk.EmbulkRunner.run(EmbulkRunner.java:156)
	at org.embulk.cli.EmbulkRun.runSubcommand(EmbulkRun.java:433)
	at org.embulk.cli.EmbulkRun.run(EmbulkRun.java:90)
	at org.embulk.cli.Main.main(Main.java:64)
	Suppressed: java.lang.NullPointerException
		at org.embulk.exec.BulkLoader.doCleanup(BulkLoader.java:463)
		at org.embulk.exec.BulkLoader$3.run(BulkLoader.java:397)
		at org.embulk.exec.BulkLoader$3.run(BulkLoader.java:394)
		at org.embulk.spi.Exec.doWith(Exec.java:22)
		at org.embulk.exec.BulkLoader.cleanup(BulkLoader.java:394)
		at org.embulk.EmbulkEmbed.run(EmbulkEmbed.java:208)
		... 5 more
Caused by: java.lang.NoClassDefFoundError: org/embulk/filter/stdout/StdoutFilterPlugin$PluginTask
	at org.embulk.filter.stdout.StdoutFilterPlugin.transaction(org/embulk/filter/stdout/StdoutFilterPlugin.java:34)
	at org.embulk.spi.util.Filters$RecursiveControl.transaction(org/embulk/spi/util/Filters.java:76)
	at org.embulk.spi.util.Filters$RecursiveControl$1.run(org/embulk/spi/util/Filters.java:80)
	at org.embulk.filter.split_column.SplitColumnFilterPlugin.transaction(org/embulk/filter/split_column/SplitColumnFilterPlugin.java:79)
	at org.embulk.spi.util.Filters$RecursiveControl.transaction(org/embulk/spi/util/Filters.java:76)
	at org.embulk.spi.util.Filters$RecursiveControl$1.run(org/embulk/spi/util/Filters.java:80)
	at java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
	at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:468)
	at org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:326)
	at RUBY.block in transaction(uri:classloader:/gems/embulk-0.9.20-java/lib/embulk/filter_plugin.rb:54)
	at RUBY.transaction(/Users/y-ken/.embulk/lib/gems/gems/embulk-filter-ruby_proc-0.8.1/lib/embulk/filter/ruby_proc.rb:113)
	at RUBY.transaction(uri:classloader:/gems/embulk-0.9.20-java/lib/embulk/filter_plugin.rb:51)
	at Embulk$$FilterPlugin$$JavaAdapter_414874500.transaction(Embulk$$FilterPlugin$$JavaAdapter_414874500.gen:13)
	at org.embulk.spi.util.Filters$RecursiveControl.transaction(org/embulk/spi/util/Filters.java:76)
	at org.embulk.spi.util.Filters.transaction(org/embulk/spi/util/Filters.java:42)
	at org.embulk.exec.BulkLoader$4.run(org/embulk/exec/BulkLoader.java:511)
	at org.embulk.spi.FileInputRunner$RunnerControl$1$1.run(org/embulk/spi/FileInputRunner.java:112)
	at org.embulk.standards.JsonParserPlugin.transaction(org/embulk/standards/JsonParserPlugin.java:102)
	at org.embulk.spi.FileInputRunner$RunnerControl$1.run(org/embulk/spi/FileInputRunner.java:107)
	at org.embulk.spi.util.Decoders$RecursiveControl.transaction(org/embulk/spi/util/Decoders.java:68)
	at org.embulk.spi.util.Decoders.transaction(org/embulk/spi/util/Decoders.java:29)
	at org.embulk.spi.FileInputRunner$RunnerControl.run(org/embulk/spi/FileInputRunner.java:105)
	at org.embulk.input.http.HttpFileInputPlugin.resume(org/embulk/input/http/HttpFileInputPlugin.java:86)
	at org.embulk.input.http.HttpFileInputPlugin.transaction(org/embulk/input/http/HttpFileInputPlugin.java:81)
	at org.embulk.spi.FileInputRunner.transaction(org/embulk/spi/FileInputRunner.java:62)
	at org.embulk.exec.BulkLoader.doRun(org/embulk/exec/BulkLoader.java:507)
	at org.embulk.exec.BulkLoader.access$000(org/embulk/exec/BulkLoader.java:35)
	at org.embulk.exec.BulkLoader$1.run(org/embulk/exec/BulkLoader.java:353)
	at org.embulk.exec.BulkLoader$1.run(org/embulk/exec/BulkLoader.java:350)
	at org.embulk.spi.Exec.doWith(org/embulk/spi/Exec.java:22)
	at org.embulk.exec.BulkLoader.run(org/embulk/exec/BulkLoader.java:350)
	at org.embulk.EmbulkEmbed.run(org/embulk/EmbulkEmbed.java:205)
	at org.embulk.EmbulkRunner.runInternal(org/embulk/EmbulkRunner.java:292)
	at org.embulk.EmbulkRunner.run(org/embulk/EmbulkRunner.java:156)
	at org.embulk.cli.EmbulkRun.runSubcommand(org/embulk/cli/EmbulkRun.java:433)
	at org.embulk.cli.EmbulkRun.run(org/embulk/cli/EmbulkRun.java:90)
	at org.embulk.cli.Main.main(org/embulk/cli/Main.java:64)

Error: java.lang.NoClassDefFoundError: org/embulk/filter/stdout/StdoutFilterPlugin$PluginTask
2020-02-15 01:01:49 +0900 [ERROR] (0019@[0:default]+***********): Task failed with unexpected error: Command failed with code 1
java.lang.RuntimeException: Command failed with code 1
	at io.digdag.standards.operator.ShOperatorFactory$ShOperator.runTask(ShOperatorFactory.java:143)
	at io.digdag.util.BaseOperator.run(BaseOperator.java:35)
	at io.digdag.core.agent.OperatorManager.callExecutor(OperatorManager.java:315)
	at io.digdag.cli.Run$OperatorManagerWithSkip.callExecutor(Run.java:705)
	at io.digdag.core.agent.OperatorManager.runWithWorkspace(OperatorManager.java:257)
	at io.digdag.core.agent.OperatorManager.lambda$runWithHeartbeat$2(OperatorManager.java:137)
	at io.digdag.core.agent.LocalWorkspaceManager.withExtractedArchive(LocalWorkspaceManager.java:25)
	at io.digdag.core.agent.OperatorManager.runWithHeartbeat(OperatorManager.java:135)
	at io.digdag.core.agent.OperatorManager.run(OperatorManager.java:119)
	at io.digdag.cli.Run$OperatorManagerWithSkip.run(Run.java:687)
	at io.digdag.core.agent.MultiThreadAgent.lambda$null$0(MultiThreadAgent.java:127)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Will be nice to have this fixed ;)
thanks

2020-04-26 15:36:08.524 +0200 [INFO] (0001:transaction): Connecting to sftp://transfert:***@ganymede.zremal.org:22/
org.embulk.exec.PartialExecutionException: java.lang.NoClassDefFoundError: org/embulk/filter/stdout/StdoutFilterPlugin$PluginTask
at org.embulk.exec.BulkLoader$LoaderState.buildPartialExecuteException(BulkLoader.java:340)
at org.embulk.exec.BulkLoader.doRun(BulkLoader.java:566)
at org.embulk.exec.BulkLoader.access$000(BulkLoader.java:35)
at org.embulk.exec.BulkLoader$1.run(BulkLoader.java:353)
at org.embulk.exec.BulkLoader$1.run(BulkLoader.java:350)
at org.embulk.spi.Exec.doWith(Exec.java:22)
at org.embulk.exec.BulkLoader.run(BulkLoader.java:350)
at org.embulk.EmbulkEmbed.run(EmbulkEmbed.java:243)
at org.embulk.EmbulkRunner.runInternal(EmbulkRunner.java:291)
at org.embulk.EmbulkRunner.run(EmbulkRunner.java:155)
at org.embulk.cli.EmbulkRun.runSubcommand(EmbulkRun.java:431)
at org.embulk.cli.EmbulkRun.run(EmbulkRun.java:90)
at org.embulk.cli.Main.main(Main.java:64)
Suppressed: java.lang.NullPointerException
at org.embulk.exec.BulkLoader.doCleanup(BulkLoader.java:463)
at org.embulk.exec.BulkLoader$3.run(BulkLoader.java:397)
at org.embulk.exec.BulkLoader$3.run(BulkLoader.java:394)
at org.embulk.spi.Exec.doWith(Exec.java:22)
at org.embulk.exec.BulkLoader.cleanup(BulkLoader.java:394)
at org.embulk.EmbulkEmbed.run(EmbulkEmbed.java:246)
... 5 more
Caused by: java.lang.NoClassDefFoundError: org/embulk/filter/stdout/StdoutFilterPlugin$PluginTask
at org.embulk.filter.stdout.StdoutFilterPlugin.transaction(StdoutFilterPlugin.java:34)
at org.embulk.spi.util.Filters$RecursiveControl.transaction(Filters.java:76)
at org.embulk.spi.util.Filters.transaction(Filters.java:42)
at org.embulk.exec.BulkLoader$4.run(BulkLoader.java:511)
at org.embulk.spi.FileInputRunner$RunnerControl$1$1.run(FileInputRunner.java:112)
at org.embulk.standards.CsvParserPlugin.transaction(CsvParserPlugin.java:237)
at org.embulk.spi.FileInputRunner$RunnerControl$1.run(FileInputRunner.java:107)
at org.embulk.spi.util.Decoders$RecursiveControl.transaction(Decoders.java:68)
at org.embulk.spi.util.Decoders.transaction(Decoders.java:29)
at org.embulk.spi.FileInputRunner$RunnerControl.run(FileInputRunner.java:105)
at org.embulk.input.sftp.SftpFileInputPlugin.resume(SftpFileInputPlugin.java:38)
at org.embulk.input.sftp.SftpFileInputPlugin.transaction(SftpFileInputPlugin.java:25)
at org.embulk.spi.FileInputRunner.transaction(FileInputRunner.java:62)
at org.embulk.exec.BulkLoader.doRun(BulkLoader.java:507)
... 11 more
Error: java.lang.NoClassDefFoundError: org/embulk/filter/stdout/StdoutFilterPlugin$PluginTask

authors: nicosto y-ken

repo: sonots/embulk-filter-stdout


text:
As a game host I want to modify the game settings to play according to my preferences

Story: As a game host I want to be able to modify the game settings to customize the game for my lobby.
Acceptance criteria:
Hosts should be able to:

[x] #39

[x] #40

[x] #41

[x] #42

[x] #43

[x] #44

For linked commits see sub-tasks


text:
Update README.md

Update Code Inspector public dashboard URL

Codecov Report

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

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
- Coverage   74.11%   74.09%   -0.02%
==========================================
  Files         215      218       +3
  Lines        6552     6574      +22
  Branches     3412     3425      +13
==========================================
+ Hits         4856     4871      +15
- Misses        813      815       +2
- Partials      883      888       +5

Impacted Files
Coverage Δ

core/libp2p/upgrader/connection_upgrader.hpp
100% <0%> (ø)

.../core/libp2p/upgrader/connection_upgrader_test.cpp
50% <0%> (ø)

.../libp2p/upgrader/impl/connection_upgrader_impl.cpp
100% <0%> (ø)

core/libp2p/muxer/yamux/yamux.cpp
63.05% <0%> (+0.4%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: Warchant codecov-io

repo: soramitsu/kagome


text:
Bump hunter

Signed-off-by: Bogdan Vaneev warchantua@gmail.com

Description of the Change

Update hunter version
Benefits

It contains boost.outcome (will be used later)
Possible Drawbacks

None.

Hm, it looks like new boost can't be friend with out expected::Result :(

Closing for now.


text:
Update Etc.uname's type

Motivation
The type signature of Etc.uname is not correct, so everything built on top of it will not pass type-checking. For example:
 Expected T.any(T::Range[Integer], Regexp) but found Symbol(:"sysname") for argument arg0 https://srb.help/7002
    39 |              name: uname[:sysname] || RbConfig::CONFIG["host_os"],
                                  ^^^^^^^^
    https://github.com/sorbet/sorbet/tree/b89eb263034e4b9754567c73e7983d0a87ffd34a/rbi/core/string.rbi#L264: Method String#[] (overload.1) has specified arg0 as T.any(T::Range[Integer], Regexp)
     264 |        arg0: T.any(T::Range[Integer], Regexp),
                  ^^^^
  Got Symbol(:"sysname") originating from:
    lib/sentry/scope.rb:39:
    39 |              name: uname[:sysname] || RbConfig::CONFIG["host_os"],
                                  ^^^^^^^^

Test plan
I'm not sure if there's any test for it? If it is then the issue should have been spotted I think 🤔

Thanks for catching this! Could you add a test case in test/testdata/rbi/etc.rb?

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build result here:
→ https://go/builds/bui_I6gemTEsPl0Pqr

repo: sorbet/sorbet


text:
Add alias for db reset

Suggestion for alias for bundle exec rake db:reset
It was useful in developer mode when dev need to change working branches.
ref: https://github.com/rails/rails/blob/v4.0.5/activerecord/lib/active_record/railties/databases.rake#L72
What do you think guys ?

This seems like a disaster waiting to happen. If you really want this, feel free to add it to your own zshrc but I would not be comfortable merging this in here.

authors: Fipo belak

repo: sorin-ionescu/prezto


text:
Fix pyenv: pip2: command not found error when using pyenv

When using the python module with pyenv, the pip autocompletion logic
blurts out following error (or something similar to it):
❯ #Ignore the warning from p10k's instant prompt feature

[WARNING]: Console output during zsh initialization detected.
...<snip>...
For details, see:
https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt

-- console output produced during zsh initialization follows --

pyenv: pip2: command not found

The `pip2' command exists in these Python versions:
  2.7.17
  2.7.17/envs/neovim-2.7.17
  neovim-2.7.17

Currently, python-2.7.17 is installed but not set globally. A similar
error would occur if python-3 is installed but no system pip is installed
(which is the default case on macOS).
The issue arises in the pip completion logic where pyenv provides a path
to the pip shim in $commands array and can't figure out which pip to
use while generating the completion file for caching.
This commit fixes this error at startup by setting the pip_command
variable to actual location as determined by pyenv in case pyenv is in
use and the pip_command variable points to a shim.

If I'm not wrong, the error is the lack of a system python version, right?
Wouldn't it be better if we let the user set it explicitly using pyenv global 3.7 2.7, rather than plug a hole for a user configuration?

@srijanshetty No, it's because pyenv is installed and it puts a wrapper in the PATH to intercept calls to pip. Inside the wrapper it complains about not knowing which pip to call.
I am going to close this as I don't use this module anymore.

authors: srijanshetty wadkar


text:
Julia contour plots

http://docs.juliaplots.org/latest/generated/gr/#gr-ref22
x = 1:0.5:20
y = 1:0.5:10
f(x, y) = begin
        (3x + y ^ 2) * abs(sin(x) + cos(y))
    end
X = repeat(reshape(x, 1, :), length(y), 1)
Y = repeat(y, 1, length(x))
Z = map(f, X, Y)
p1 = contour(x, y, f, fill = true)
p2 = contour(x, y, Z)
plot(p1, p2)

closed by https://github.com/sosiristseng/sosiristseng.github.io/commit/61cbc15859cb5e951a8cbcbbb8ebc19890abcce4


text:
Update to docs to deprecate package and allow build in Ska3

This does not impact installed code at all apart.  Merging without independent review.

Is this enough to drive a cmd_states release or just ride along until there is another reason to cut one?

Just ride along.  It won't change the installed package or tarball at all.

authors: jeanconn taldcroft


text:
Armored Core 6 Steam Deck/Linux

Hello,
I am trying to setup modengine2 to work with Armored Core 6 on the steam deck, to use text size mod.
For some reason this mod works, it uses  'regulation.bin' https://www.nexusmods.com/armoredcore6firesofrubicon/mods/25
But these two doesn't : https://www.nexusmods.com/armoredcore6firesofrubicon/mods/26?tab=description
https://www.nexusmods.com/armoredcore6firesofrubicon/mods/35
Any fix or insight on this issue?
All mods are installed in the 'mod' folder.

I have the same issue but I am using a PC and a pirated copy of AC6.

Ok, Cloudef updated his fork of Mod Engine 2 for proton/Steam Deck and it is working now.
https://github.com/Cloudef/ModEngine2/issues/19

authors: barbatroros sevenpastzeero


text:
Remove disablement of app when in landscape

Description

Removes the dialog box that is rendered in landscape (in the mobile workspace), which forces the user to turn to portrait orientation. This dialog box causes some bugs on mobile devices of certain dimensions.
This deployment is to be tested again over the next few days across various devices to ensure that there are no breaking bugs as a result of 're-enabling' the app in landscape.
https://sa-mobile-git-remove-landscape-disable-chownces.vercel.app/
Type of change

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

How to test

To get the team to test on their mobile devices (both on the mobile browser and in the progressive web app)

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build 705337342

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 28.28%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/commons/mobileWorkspace/MobileWorkspace.tsx
0
1
0.0%

Totals

Change from base Build 696963795:
0.008%

Covered Lines:
2249

Relevant Lines:
7283

💛  - Coveralls

authors: chownces coveralls

repo: source-academy/cadet-frontend


text:
feat(chore): generate detailed and informative changelog

Using Customizable npm package to generate changelog
GH-44
Description
Using Customizable npm package to generate changelog
The changelog will be more detailed
Fixes #44
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Intermediate change (work in progress)

Checklist:

[ ] Performed a self-review of my own code
[ ] npm test passes on your machine
[ ] New tests added or existing tests modified to cover all changes
[ ] Code conforms with the style guide
[ ] API Documentation in code was updated
[ ] Any dependent changes have been merged and published in downstream modules

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
Hello World

My first batch change!
Created by Sourcegraph batch change kevin-quigley/Testing-batch-change-kevin-stephen.

hmmm testing

authors: kevin-quigley slimsag

repo: sourcegraph/go-langserver


text:
bug: java.lang.IllegalArgumentException: Invalid range specified: (1306, 1264);

IDE Information
GoLand 2024.3
Build #GO-243.21565.208, built on November 13, 2024
Licensed to Michael Henderson
Subscription is active until January 31, 2025.
Runtime version: 21.0.5+8-b631.16 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.7.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 16000M
Cores: 10
Metal Rendering is ON
Registry:
ide.completion.variant.limit=500
suggest.all.run.configurations.from.context=true
ide.experimental.ui=true
i18n.locale=
terminal.new.ui=true
Non-Bundled Plugins:
org.asciidoctor.intellij.asciidoc (0.43.3)
com.sourcegraph.jetbrains (7.3.2)
com.intellij.tailwindcss (243.21565.135)
Bug Description
Coding
Additional context
Stacktrace:
java.lang.IllegalArgumentException: Invalid range specified: (1306, 1264);
	at com.intellij.openapi.util.TextRange.assertProperRange(TextRange.java:288)
	at com.intellij.openapi.util.TextRange.assertProperRange(TextRange.java:283)
	at com.intellij.openapi.util.TextRange.assertProperRange(TextRange.java:279)
	at com.intellij.openapi.util.TextRange.<init>(TextRange.java:42)
	at com.intellij.openapi.util.TextRange.<init>(TextRange.java:31)
	at com.intellij.openapi.util.TextRange.create(TextRange.java:199)
	at com.sourcegraph.utils.CodyEditorUtil.getTextRange(CodyEditorUtil.kt:65)
	at com.sourcegraph.cody.autocomplete.CodyAutocompleteManager.displayAgentAutocomplete(CodyAutocompleteManager.kt:239)
	at com.sourcegraph.cody.autocomplete.CodyAutocompleteManager.processAutocompleteResult$lambda$10$lambda$9(CodyAutocompleteManager.kt:215)
	at com.intellij.openapi.command.WriteCommandAction.lambda$runWriteCommandAction$4(WriteCommandAction.java:341)
	at com.intellij.openapi.command.WriteCommandAction$BuilderImpl.lambda$doRunWriteCommandAction$1(WriteCommandAction.java:147)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteAction$lambda$5(AnyThreadWriteThreadingSupport.kt:379)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteAction(AnyThreadWriteThreadingSupport.kt:389)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteAction(AnyThreadWriteThreadingSupport.kt:379)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:896)
	at com.intellij.openapi.command.WriteCommandAction$BuilderImpl.lambda$doRunWriteCommandAction$2(WriteCommandAction.java:145)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:226)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:188)
	at com.intellij.openapi.command.WriteCommandAction$BuilderImpl.doRunWriteCommandAction(WriteCommandAction.java:154)
	at com.intellij.openapi.command.WriteCommandAction$BuilderImpl.run(WriteCommandAction.java:121)
	at com.intellij.openapi.command.WriteCommandAction.runWriteCommandAction(WriteCommandAction.java:341)
	at com.intellij.openapi.command.WriteCommandAction.runWriteCommandAction(WriteCommandAction.java:329)
	at com.sourcegraph.cody.autocomplete.CodyAutocompleteManager.processAutocompleteResult$lambda$10(CodyAutocompleteManager.kt:214)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:236)
	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:25)
	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:198)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread$lambda$2(AnyThreadWriteThreadingSupport.kt:217)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread(AnyThreadWriteThreadingSupport.kt:216)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:842)
	at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:421)
	at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
	at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
	at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:107)
	at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:101)
	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:117)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:750)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:675)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:573)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16$lambda$15(IdeEventQueue.kt:355)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:857)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16(IdeEventQueue.kt:354)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2$lambda$1(IdeEventQueue.kt:1045)
	at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:916)
	at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
	at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2(IdeEventQueue.kt:1045)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:1054)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:109)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1054)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18(IdeEventQueue.kt:349)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:395)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
	at java.desktop/java.awt...

duplicate of #2807

authors: PriNova mdhender

repo: sourcegraph/jetbrains


text:
Automatically generate Haskell bindings

Supersedes https://github.com/sourcegraph/scip/pull/146
Previously, the Haskell bindings became outdated as soon as we made changes to the SCIP spec. This PR adds Haskell binding generation to the proto-generate.sh script so that the Haskell bindings are automatically kept up-to-date as we make changes to the spec.
Test plan
Green CI.

FYI @donsbot

repo: sourcegraph/scip


text:
add windows support

a little rough, but I think a good start.

Code is well documented, clean, easy to read. This is awesome, thanks!

@howeyc Which would you prefer? A beer on me or a free t-shirt?

authors: beyang howeyc

repo: sourcegraph/thyme


text:
Propagate environment param in rvm_shell

rvm_shell used passed environment param only when rvm was installed under the user. Now it is set when environment is passed in rvm_shell AND when environment is nil, but we need to set USER and HOME env variables.

This seems like a good patch to this problem. What needs to happen to get it to master?

Closing due to inactivity.
If this is still an issue please reopen or open another PR.
Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!
Thanks,
Sous-Chefs

authors: causton81 damacus fxposter

repo: sous-chefs/chef-rvm


text:
スパムチェックを厳密に行う(スコアを用意する)

条件として

メンション何個以上
NGワードが何個以上

アカウントの作成日時とかも見たらいいかも

ローカルアカウントの時はメアドがブラックリストに載ってないかも評価したいかも(攻撃者のメアドをブラックリストに後から登録した時のために)

メアドって言うと専用のドメインでもある感じなの?
それとも普通にgmailみたいなやつ?

ローカルアカウントの時はメアドがブラックリストに載ってないかも評価したいかも(攻撃者のメアドをブラックリストに後から登録した時のために)

これやるためにMiPACの更新必要なので実装するとしても遅くなりそう


text: 中文文档常见问题板块关于反向代理的解释与正向代理一致的错误

repo: soybeanjs/soybean-admin-docs


text:
Lasers dont shoot straight in space

Description

When shooting a laser based weapon into or in space, the laser does not shoot straight.
Reproduction

Obtain Laser Rifle
Shoot into space
Observe how the laser is rotated incorrectly

Screenshots

Additional context

This has no actual gameplay effect, just visual.

dupe of other issue

i looked and didnt see this issue so...

#23699


text:
Crit indicator showing up as observer

Not sure on exact repro, but this is what happened.

Started round.
Got shot, entered crit, didn't leave body. Crit indicator (white circle thing) shows up.
Round ended while in crit.
Back to lobby, new round started, forgot to ready up.
Spawned as observer.

Crit circle was present around my observer ghost.

Cant reproduce

authors: AJCM-git chairbender


text:
borgs can hug

be borg
deselect a module
click on humanoid

In my eyes it's a feature not a bug (I understand it is a bug tho but i like being able to hug as cyborg). They can also pet animals.

The same thing lets you use common left click interactions like turning on APE's and emitters or do stuff like alt+click to shake people awake, very much intended

borgs didn't have these features in first place, and these features weren't intended because the other interaction/hand rework caused them

Borgs being able to interact with devices, such as APEs and emitters is [likely] intended. Borgs already can get a module that enables them to interact with devices using a remote, so interacting with them without it makes sense.
If your argument is that "A borg without hands cannot interact with things that require hands" then your reasoning is flawed. You can interface with plenty of devices on a technical level.
APEs have an interface, therefore a borg should be able to use that interface - to give an example.
Using the hands argument, in my opinion, feels like an attempt to significantly nerf borgs. While I could understand the argument to remove hugging from borgs, to put together a borg you do in fact add arms to the chassis so canonically they have arms, and you can use arms to hug.

I don't know if this is an issue or not

authors: CookieMasterT Radezolid UbaserB lzk228 valquaint


text:
Shooting things throws an exception

Shooting with a gun that uses bullets throws exception from physics system
Robust.Shared.Utility.DebugAssertException
  HResult=0x80131500
  Message=Tried to get component on a deleted entity.
  Source=Robust.Shared
  StackTrace:
   at Robust.Shared.Utility.DebugTools.Assert(Boolean condition, String message) in E:\space-station-14\RobustToolbox\Robust.Shared\Utility\DebugTools.cs:line 48
   at Robust.Shared.GameObjects.Entity.GetComponent[T]() in E:\space-station-14\RobustToolbox\Robust.Shared\GameObjects\Entity.cs:line 262
   at Robust.Server.GameObjects.EntitySystems.PhysicsSystem.DoMovement(IEntity entity, Single frameTime) in E:\space-station-14\RobustToolbox\Robust.Server\GameObjects\EntitySystems\PhysicsSystem.cs:line 112
   at Robust.Server.GameObjects.EntitySystems.PhysicsSystem.Update(Single frameTime) in E:\space-station-14\RobustToolbox\Robust.Server\GameObjects\EntitySystems\PhysicsSystem.cs:line 48
   at Robust.Shared.GameObjects.EntitySystemManager.Update(Single frameTime) in E:\space-station-14\RobustToolbox\Robust.Shared\GameObjects\EntitySystemManager.cs:line 151
   at Robust.Shared.GameObjects.EntityManager.Update(Single frameTime) in E:\space-station-14\RobustToolbox\Robust.Shared\GameObjects\EntityManager.cs:line 102
   at Robust.Server.BaseServer.Update(FrameEventArgs frameEventArgs) in E:\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 364
   at Robust.Server.BaseServer.<MainLoop>b__34_0(Object sender, FrameEventArgs args) in E:\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 267
   at Robust.Shared.Timing.GameLoop.Run() in E:\space-station-14\RobustToolbox\Robust.Shared\Timing\GameLoop.cs:line 180
   at Robust.Server.BaseServer.MainLoop() in E:\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 270
   at Robust.Server.Program.ParsedMain(CommandLineArgs args) in E:\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 48
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at Robust.Server.Program.Main(String[] args) in E:\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 19

Was this fixed? Not able to reproduce it now.

Resolved https://github.com/space-wizards/RobustToolbox/commit/a69738a7a4982e9cd4d9635aec0484dc8c3bdb40.

authors: Acruid Moneyl unusualcrow


text:
Potency doesn't seem to change in Botany

Description

I'm not sure if I'm missing something, but potency works in that it does modify the reagents inside (you can see the difference when spawning in produce.) However, there's no way to increase potency in-game from what I can tell so people are stuck with 20 potency plants the whole game, which becomes more noticeable as we get more plants with reagents worth trying to cultivate (nettles, chilis, etc)
Reproduction:

Grow a packet of a plant with obvious reagents (nettles are a good one), maybe do a few generations. All packets start at 20 potency.
Notice when grinding all plants give the exact same yield, so potency is not changing at all.
Spawn one of the produce and grind it (they spawn at 100 potency)
That produce will have about 5x as many reagents

Screenshots

Additional context

@Zumorica

@Zumorica

However, there's no way to increase potency in-game from what I can tell
Use Robust Harvest, it's specifically for increasing potency.

However, there's no way to increase potency in-game from what I can tell
Use Robust Harvest, it's specifically for increasing potency.

Botany usually (i.e. in SS13) has minor random potency gain or loss every time a plant is harvested doesn't it? At least there's one way in game.

Botany usually (i.e. in SS13) has minor random potency gain or loss every time a plant is harvested doesn't it? At least there's one way in game.

Botany usually (i.e. in SS13) has minor random potency gain or loss every time a plant is harvested doesn't it? At least I can tell people to use Robust Harvest when they ask now.

You are correct, in SS13 harvested plants had a random chance to either gain or lose potency. You could also boost potency with Robust Harvest but doing so would also raise the toxicity of the hydroponics tray and eventually the plants would need to be grown from new seeds.
This keeps botany role engaged on trying to produce the perfect crop.

Botany usually (i.e. in SS13) has minor random potency gain or loss every time a plant is harvested doesn't it? At least I can tell people to use Robust Harvest when they ask now.

Not on /vg/ (where our botany is based from) from what I can tell?

Actually I can't get

However, there's no way to increase potency in-game from what I can tell

Use Robust Harvest, it's specifically for increasing potency.

I tried this today and all the seed packets were still at 20 the entire round

this one can probably get closed since robust harvest does work, just very weird #6979

Yeah, I think it was fixed after the botany ECS or something

This is broken again

The seed extractor is resetting the potency

authors: DummeHytteOst Elijahrane MeltedPixel PaulRitter Zumorica


text:
More animal sound effects needed for pettable animals

Description

Now that we can pet the station's animals, more sound effects are needed. We currently just have dog, cat, chicken and duck sounds, but many more animals than that can be pet.
Additional context
See animals.yml and pets.yml for anything that has an InteractionPopup component but no interactSuccessSound. Chances are, it could use a sound effect (barring animals that are actually silent). Just make sure the sound effect meets the licensing requirements (creative commons is usually fine) and you're all set!

I can do this

#7532 Added more animal sounds for animals you can pet


text:
Medical Beds are OP

Description
Medical Beds can heal people out of dead state all by their own it's ummm kinda OP, only thing they dont seem to heal is airloss but epi that while they comeo out of dead state and they are back again with no resources taken except some time
Maybe change it to be similar to how tricord is and make it not do healing if someone is above 200 damage?

Medical beds should have a damage threshold where they won't heal if your above that.

I thought this bug was fixed? People were doing it with bruise packs and bibles an other non-reagent healing methods since forever.

Should be fixed by https://github.com/space-wizards/space-station-14/pull/7224

i believe this was unfixed some how, ive seen multiple medical doctors raising the dead as of late

There needs to be a dead and alive state on mobs that can be flicked off or on vs just some damage threshold.
currently long as anything is beyond 200 damage it just means dead, under means alive.

The fix never got merged, this is a duplicate issue of https://github.com/space-wizards/space-station-14/issues/7076

This issue is fixed

authors: Elijahrane Emisse Fishfish458 Kromabae juliangiebel


text:
Prevent shoving incapacitated mobs

About the PR
Shoves will now always fail on incapacitated mobs
Fixes #21400
Why / Balance
Players are shoving the incapacitated people they are dragging, to induce a temporary friction reduction every time the already limp body is "knocked down", resulting in brief bursts of acceleration which rougly amount to a 15% speed boost over time compared to just dragging the body. It also makes no sense and looks absurd.
I can't think of a reason anyone would want/need to stamcrit an incapacitated mob for any other reason than this exploit. If someone needs to take an item that somehow ended up in the hands of an unconscious/dead body, strip can be used instead, which would probably be the first thing a player actually tries in such a situation anyway
It technically still works on a conscious mob you are dragging, but this seems to barely have any effect on speed. And I suspect players would be much less likely to use this exploit on someone who can complain right back at them
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

fix: Incapacitated mobs can no longer be shoved for a speed boost

Based exploit removal


text:
Rider static analysis

It's really easy to do and make me look around in the code base, so why not?
Worse thing, I'm wasting reviewer time with my trivial style change. Feel free to tell me to stop.

Enough fooling around.


text:
Adds goats milk

About the PR
Adds goats milk and the ability to milk goats...
This PR was meant to be more forward thinking and add a milk tag to the reagents so they can be used in future cooking crafting, and also tried to add a processing step to turn milk into cream but reagents can't have other components apparently.
Tl;dr:

You can milk goats for goats milk.
Made use of parenting and made goats milk parent milk and soymilk == oatmilk.
Also removed nuka cola naming from the game. Trademark etc

Screenshots

Changelog

:cl:

add: You can now milk goats for their milk. Try keep them still long enough!

Please move the trademark cleanup to another PR.

Please move the trademark cleanup to another PR.

Will do.


text:
Remove workaround for network issues

Motivation
Closes #2614
Changes
Github VM images had issues with network connections to localhost (see: https://github.com/actions/virtual-environments/issues/1187) requiring manual changes to network configuration. The issues should have been resolved for some time now, try to see if removing the "fixes" stabilizes our flaky tests.
Test Plan
n/a
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors merge

repo: spacemeshos/go-spacemesh


text:
refuse old proposals from gossip

Motivation
there are a lot of old proposals floating in the gossip network.
deleting old proposals in #4993 forced the node to process/save these old proposals repeatedly
Changes

refuse proposals older than current layer
add metrics/log for time it takes to delete proposals

btw i didn't notice that all old proposals are deleted during protocol runtime https://github.com/spacemeshos/go-spacemesh/blob/develop/sql/proposals/proposals.go#L190 . the function looks like that it is for this layer
this was visible in write metrics. so it was somewhat risky

btw i didn't notice that all old proposals are deleted during protocol runtime https://github.com/spacemeshos/go-spacemesh/blob/develop/sql/proposals/proposals.go#L190 . the function looks like that it is limited for the layer
this was visible in write metrics. so it was somewhat risky

yes. this was risky. i made the following change

delete batch at startup (anything before the layer in state
make the delete async
renamed Delete to DeleteBefore
note that the last layer is kept just in case peers want to sync proposals for latest layer due to clock skew.

bors try

bors merge

bors merge

bors merge

authors: countvonzero dshulyak


text:
BIP32 derivation library

Right now we're relying on NewDerivedKeyFromSeed in https://github.com/spacemeshos/ed25519. Can we switch to a "standard" library (if such a thing exists)? Here are some candidates:

https://github.com/wemeetagain/go-hdwallet
https://github.com/miguelmota/go-ethereum-hdwallet
https://github.com/jpopesculian/ed25519-dalek-bip32
https://github.com/topics/bip32 (other things here?)
https://github.com/typed-io/rust-ed25519-bip32/

@fasmat points out that BIP32 likely won't work out of the box with ED as opposed to ECDSA. Note that smapp is using the same underlying derivation code.

Polkadot/substrate uses ED, there's a go library here: https://github.com/ChainSafe/go-schnorrkel which implements https://github.com/paritytech/substrate-bip39 but this deviates from BIP39.

@fasmat points out that BIP32 likely won't work out of the box with ED

It's an assumption; I will need to research this first. There are some libraries that claim to implement BIP32 with ED, so there might be hope.

We've decided to use https://github.com/jpopesculian/ed25519-dalek-bip32 from the solana ecosystem. See https://github.com/spacemeshos/ed25519_bip32_wasm. Wrap this and use it here as well.

authors: fasmat lrettig

repo: spacemeshos/smcli


text:
[2.0.0] AttributeErrors during build time tests

Additionally to #498, there are a number of AttributeErrors:

    def test_missing_extension_warning():

        yaml = """
    history:
      extensions:
        - !core/extension_metadata-1.0.0
          extension_class: foo.bar.FooBar
          software: !core/software-1.0.0
            name: foo
            version: 1.2.3
        """

        buff = yaml_to_asdf(yaml)
        with pytest.warns(None) as warnings:
>           with asdf.open(buff) as af:

asdf/tags/core/tests/test_history.py:136:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
asdf/asdf.py:766: in open
    ignore_missing_extensions=ignore_missing_extensions)
asdf/asdf.py:678: in _open_impl
    ignore_missing_extensions=ignore_missing_extensions)
asdf/asdf.py:638: in _open_asdf
    self._check_extensions(tree, strict=strict_extension_check)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <asdf.asdf.AsdfFile object at 0x7f3748917358>
tree = {'history': {'extensions': [{'extension_class': 'foo.bar.FooBar', 'software': {'name': 'foo', 'version': '1.2.3'}}]}}
strict = False

    def _check_extensions(self, tree, strict=False):
        if 'history' not in tree or not isinstance(tree['history'], dict) or \
                'extensions' not in tree['history']:
            return

        for extension in tree['history']['extensions']:
            filename = "'{}' ".format(self._fname) if self._fname else ''
>           if extension.extension_class not in self._extension_metadata:
E           AttributeError: 'TaggedDict' object has no attribute 'extension_class'

asdf/asdf.py:151: AttributeError

Another one:
_____________________________ test_mask_arbitrary ______________________________

    def test_mask_arbitrary():
        content = """
        arr: !core/ndarray-1.0.0
          data: [[1, 2, 3, 1234], [5, 6, 7, 8]]
          mask: 1234
        """

        buff = helpers.yaml_to_asdf(content)
        with asdf.AsdfFile.open(buff) as ff:
            assert_array_equal(
>               ff.tree['arr'].mask,
                [[False, False, False, True], [False, False, False, False]])
E           AttributeError: 'TaggedDict' object has no attribute 'mask'

asdf/tags/core/tests/test_ndarray.py:334: AttributeError

and:
______________________________ test_inline_string ______________________________

    def test_inline_string():
        content = "arr: !core/ndarray-1.0.0 ['a', 'b', 'c']"
        buff = helpers.yaml_to_asdf(content)

        with asdf.AsdfFile.open(buff) as ff:
>           assert_array_equal(ff.tree['arr']._make_array(), ['a', 'b', 'c'])
E           AttributeError: 'TaggedList' object has no attribute '_make_array'

asdf/tags/core/tests/test_ndarray.py:374: AttributeError

and:
______________________________ test_undefined_tag ______________________________

    def test_undefined_tag():
[...]
        buff = helpers.yaml_to_asdf(yaml)
        with pytest.warns(None) as warning:
            afile = asdf.AsdfFile.open(buff)
            missing = afile.tree['undefined_data']

        assert missing[0] == 5
        assert missing[1] == {'message': 'there is no tag'}
>       assert (missing[2] == array([[1, 2, 3], [4, 5, 6]])).all()
E       AttributeError: 'bool' object has no attribute 'all'

asdf/tests/test_asdftypes.py:333: AttributeError

The full build log (with many more failures and errors) is attached.
python-asdf_2.0.0-1_amd64.build.txt

I need to take a closer look, but these errors suggest to me that the package is not actually installed in the environment before the tests begin. Could this be the case? I'm not sure how your build/test script works, so if you can provide any details that would be useful.

I was able to replicate these failures by building the package, installing its dependencies, and then running pytest from within the build package, without actually installing the package itself. Please install the package before testing.

The way that new way ASDF registers extensions is by installing setuptools entry points. Without these entry points installed, ASDF does not know how to serialize/deserialize specific types, which leads to the errors in the test suite. This is a new feature in v2.0 and greatly improves the way that packages like Astropy provide ASDF extensions.
The package does not need to be installed to the final location: can you install the package in a virtual environment as part of the build procedure and test it there? Are there really no other Python packages that need to be installed before testing? It is my understanding that running tests against installed code is considered best practice.
If not, it may be possible for me to implement a workaround for Debian builds, but I probably won't be able to get around to it for another few weeks.

All packages that are needed for test are installed in a throw-away chroot before the (automatic) build starts, so there is no need for an extra virtual environment.
I thought that entry_point is to define shell scripts, but the tests don't involve shell scripts?
Can't I install the entry-points in-place in the build dir?
We do two types of tests: one is just after the build (before the package is finally created), to ensure that the build results in a working package. This is done during the build process, for each architecture (and also f.e. when the package is backported). And the other is done with the installed package, every time one of the dependencies changed. The latter is used to detect incompatible changes in the environment. But this is only done for our main architecture (x86_64) and for the current testing distribution (Buster). So, we try to somehow follow both ways.

One of the uses of entry points is indeed to install command line scripts, but it is also commonly used to register plugins, which is how ASDF is using them. As far as I know, there's no way to actually register the entry points without running either setup.py install or setup.py develop in your environment.
Is your script able to set an environment variable? For example, if I added a workaround and required you to set a variable like ASDF_NO_EXTENSIONS, would that work for you? The problem is that you still won't be testing the package the way it will actually be seen by users.

That would really help me, thanks for the efforts! My major goal to have this is to detect platform dependent problems at build time, f.e. like in #235.

authors: drdavella olebole

repo: spacetelescope/asdf


text:
Add warning when schema $ref is a tag

It looks to me like $ref values were intended to be URIs or URI fragments, and it's only a quirk of the load_schema function in this library that tag values are resolved at all.  Consider adding a check to the pytest plugin that fails when $ref is set to a tag, and a deprecation warning to load_schema so that we can encourage correct use of $ref.

And this is because the tag_to_url_mapping and url_mapping` are always chained together and operate on both tags and URLs?

authors: eslavich jdavies-st


text:
Styling for long category names, fixing mobile bug when using image i…

…n cateogory

@spadgett, give this a try.

Thanks @rhamilto !

authors: rhamilto spadgett

repo: spadgett/origin-web-catalog


text:
Auto add a parameter doc field when adding it in the function parameters

Any way that jsdocs can detect when i added a new parameter to a function and auto add it to the doc block?

Not really, as far as i know.

Have you consider DoxyDoxygen ?
It's an alternative to DocBlockr that provide this functionality.
I have make a comparison page DoxyDoxygen vs DocBlockr to help to choose between those softwares. Now, all DocBlockr functions are probably part of DoxyDoxygen... If not you can use both and/or ask an improvement.
Hope this software will fill your need

authors: 20Tauri alexbudin spadgos

repo: spadgos/sublime-jsdocs


text:
Doesnt work on latest version

Hey @spapas
I like your blogs and training style. I might need to contact you for help as well.
If I clone this and run, I run into a bunch of issues. Probably depreciated stuff.
What is the possibility that you update this wonderful training material for us to work with latest?
Regards
Jakes

Hey @gocamiot thank you for your kind words. I upgraded this project to latest versions, hope you find it useful!
Kind regards,
Serafeim

Good morning Serafeim,

I hope you are well.

Im a newby at Django. But I understand the structure and how it goes together. I can change code to suite my needs. Ill slowly workup to more advanced.

I have a project that needs deliver in the next 30-60 days. It is not too complex with Django.

Basically a reporting project. The requirement now is a nice basic dashboard, admin, user logins etc, and then a nice menu system. Leading to tables. The tables I need to export in csv, sort, can be large, so I thought server side data, I need to sort, global serach, and then most important, do mulitple filters, like excel, on columns. You know where I can search item, pick, then another search, pick, then the filter on the database is effected, delete a filter. That is the most important part.

Can you help me with that?

It would be nice to have a template where I can specify it in the view(which fields) and it is done for me.

Thank you for coming back to me.

I will clone and try your repo again. I am looking forward to that.

BTW. Your blog and training is REALLY good man. You should do something for UDEMY. You that good. :)

Warm Regards

Jakes

ps. Im here

Im using django-slick-reporting and cannot get the template to work.

Menu system cannot go three levels deep.

Not sure if this is serverside data.

Keep getting errors on basic list report.

Lol. Im battling in the dungeons here! lol

 Im using djangoOn 24/10/2023 08:42 SAST Serafeim Papastefanos ***@***.***> wrote:

Hey @gocamiot thank you for your kind words. I upgraded this project to latest versions, hope you find it useful!
Kind regards,Serafeim
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

authors: gocamiot spapas

license: Unlicense


text:
[WIP]: Feat: integrate uv in the ci pipelines and the docs

Description
This PR fixes #1020
Summary
This PR does....

PR Checklist
Please ensure that:

[ ] The PR contains a descriptive title
[ ] The PR contains a descriptive summary of the changes
[ ] You build and test your changes before submitting a PR.
[ ] You have added relevant documentation
[ ] You have added relevant tests. We prefer integration tests wherever possible

Pre-Commit Instructions:

[ ] Ensure that you have run the pre-commit hooks on your PR.

@Mr-Sunglasses , is this PR complete?

@Mr-Sunglasses , is this PR complete?

No this PR is still WIP

authors: Mr-Sunglasses sansyrox

repo: sparckles/Robyn


text:
CLI needs different error message for API errors

I observed during an API deploy today that my CLI (version 1.24.0) briefly output "No devices found." for a particle list command. I have many devices in my account that were returned as normal both before and after the ephemeral failure. I suspect that it received an HTTP error response from the API. If so, that should output a different error message, for example, "There was an API error. Please try again."
Thoughts @beriberikix?

Do we actually know what the error was? Definitely haven't a default unknown error would be better than displaying the wrong error.

The error was likely 502 Bad Gateway.
Steps to reproduce:

Run ngrok http 3000
cp ~/.particle/particle.config.json ~/.particle/broken.config.json
particle config broken
particle config broken apiUrl https://29e51a2c.ngrok.io (use the hostname from ngrok)
particle list

Actual output: No devices found.
Expected output: display a human readable error to the user

More n00b questions: where is the output sourced from? Is it a lookup table in the CLI? Passed through via the API? Combination? Is there a verbose mode for the CLI that could display the user friendly message and a system message if needed?

There's no consistent handling of API errors in the CLI. Each command deals with errors in different ways: stack trace, silently ignore, human readable message.
There was discussion of a --json flag to make the output machine consumable. Other ideas are welcome.

I ran into the same issue today, and discovered a new corner case in the CLI.  If you try to logout/login when the API is down/being updated, the CLI will tell you you are logged in successfully even though there is no way that can be true.

authors: beriberikix monkbroc technobly towynlin

repo: spark/particle-cli


text:
Updated the methods for pragma calls according to the currently

Some of the pragmas called in the Pragmas module were deprecated and new ones were missing.
So I updated the methods for pragma calls according to the currently supported pragmas listed on https://sqlite.org/pragma.html
This should fix #120

Honestly I'm not a huge fan of supporting all of these since they change from version to version.  It means we have to keep updating them as upstream adds more.  Could we consider just providing methods to get and set pragmas, and people can pass in the pragma name they care about?  Then we don't have to keep updating this stuff and I think it would be more clear to the user, and they can manipulate pragmas without waiting for us to upgrade our API.

I absolutely agree that keeping the pragma methods up to date is tedious. As the different pragma type getter and setter methods are already there, it might be desirable to make them public. So if one of the wrappers is outdated because the usage has changed or new pragmas have been added, anyone can use the generic getters and setters for these pragmas.
But I think there is no point in throwing the already present wrappers over board. At least for enum pragmas I consider them rather valuable.

As the different pragma type getter and setter methods are already there, it might be desirable to make them public. So if one of the wrappers is outdated because the usage has changed or new pragmas have been added, anyone can use the generic getters and setters for these pragmas.

I agree.

But I think there is no point in throwing the already present wrappers over board. At least for enum pragmas I consider them rather valuable.

I agree with this as well.  Can you change the PR to just make those getter / setter methods public?

Type based getters/setters have been made public with ae6c84a.
I have also added methods for recently added pragmas. In order to keep the keep it tidy I have squashed the commits regarding these wrapper methods into ee010db, which is based on current master, now.
I'm sorry for the mess, but I hope this will keep the commit log sane.

@aibor great, thank you!

authors: aibor tenderlove