text:
Swift Package Manager

New Issue Checklist

[x] I have tried with the latest version of OHHTTPStubs
[x] I have read the README
[x] I have read the Using the right Swift Version of OHHTTPStubs for your project section
[x] I have searched in the existing issues
[x] I have read the OHHTTPStubs wiki to see if there wasn't a detailed page talking about my issue

Environment

version of OHHTTPStubs: Any
integration method you are using:

[ ] Cocoapods
[ ] Carthage
[ ] submodule
[x] other

version of the tool you use: Xcode 11

Issue Description
Any plans to Integrate Swift Package Manager?
It is now a first class citizen on Xcode 11
Complete output when you encounter the issue (if any)

I love this idea, we should support SPM.  I haven't converted anything with so many subspecs before, so hopefully the current subspecs could be easily converted to several packages.  @AliSoftware do you have any thoughts or preferences here?

Ah yeah the SPM support, I mentioned it to @AliSoftware but I never had time to do that. But I will happily help with reviewing the PR.

@jeffctown from my quick read the submodules are for Objc. The swift one is just a module.
so for SPM we could make one and include all the code. Later on improve and start dividing the modules or am i not seeing this right?

@jeffctown Maybe adding all the files for now and later evaluate how to make the sub packages.
In fact sub dependencies are supported by SPM but i think it needs to be one per repo.

Yes, sub dependencies are supported, I believe that is very important to add support for SPM. Any news about it? @jeffctown  @AliSoftware ?

I'm working on this.  I hope to be able to get it in soon.

authors: gabrielPeart jeffctown jonasman sunshinejr

repo: AliSoftware/OHHTTPStubs


text:
Add Docusaurus to the SSG category

Actually Docusaurus is static generator website. Of course, it is used a lot as a tool for creating documentation. But with v2, which many people are already using, Docusaurus has become a full-fledged SSG.
сс @AliasIO

Thanks!

source: gharchive/pull-request

repo: AliasIO/wappalyzer

license: mit

license_type: permissive

license_source: bigquery


text:
[Bug]: Mobile- CTA buttons are clicked/toggled when choosing an LLM provider in custom setup

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Describe the bug and reproduction steps
In the custom setup flow:

Launch the app on mobile
Click on the LLM provider input to select
Click on an option that directly overlays the “Save” button
The button becomes enabled.
Same flow for “Advanced option toggle” and “Close button”

P.s: it may be difficult to reproduce but have a look at the screen record shared to gain more context.
OpenHands Installation
app.all-hands.dev
OpenHands Version
No response
Operating System
None
Logs, Errors, Screenshots, and Additional Context
https://github.com/user-attachments/assets/f252b838-70e6-4273-8885-3073e4d6b6b6

Thanks for opening up this issue. We haven't really focused on how OpenHands works on mobile in general so there's likely a lot of bugs there.

source: gharchive/issue

authors: Honyii mamoodi

repo: All-Hands-AI/OpenHands

license: MIT

license_source: github-api


text:
Translate Text

It's possible to translate the text? like..

There is no data to display

for something in other language?

you can use options.noDataText, check https://github.com/AllenFang/react-bootstrap-table/blob/master/examples/js/basic/no-data-table.js#L11, options.noDataText allow you to custom the indicator text when table was empty.

authors: AllenFang LimaGuilherme

repo: AllenFang/react-bootstrap-table


text:
Pagination PropType Invalid

I found this weird issue with paginationShowsTotal, it happened when give this prop a function, but here validate expected type of 'boolean'.

um, I think I forgot to use oneOfType  when support paginationShowsTotal  can be customize if a function given

Fixed on v2.4.3. Thanks 👍

authors: AllenFang madeinfree


text:
Add check for sufficient HardDrive storage

Before running a behavioral session, check if there is sufficient storage left. Otherwise session will crash and it is unrecoverable.
Temp. plan:

RAs check capacity manually and if needed 2.
Tiffany removes and deletes files when needed and periodically.

Fixed via #93

authors: bruno-f-cruz tiffanyona


text:
Avoid caching invalid entity (null entiry) into memory

What changes are proposed in this pull request?
Avoid caching invalid entity (null entiry) into memory
Why are the changes needed?
if entry is null，there is no need to add it to the cache. There is no point in caching a null entity, and it will be evicted soon。
Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

Codecov Report

Merging #13795 (b914fb3) into master (0203366) will decrease coverage by 21.19%.
The diff coverage is 42.28%.

@@              Coverage Diff              @@
##             master   #13795       +/-   ##
=============================================
- Coverage     43.86%   22.66%   -21.20%
+ Complexity     8930     4192     -4738
=============================================
  Files          1359     1385       +26
  Lines         78109    80483     +2374
  Branches       9496     9801      +305
=============================================
- Hits          34260    18240    -16020
- Misses        40960    61023    +20063
+ Partials       2889     1220     -1669

Impacted Files
Coverage Δ

...o/client/block/policy/DeterministicHashPolicy.java
68.42% <ø> (ø)

...nt/block/policy/LocalFirstAvoidEvictionPolicy.java
94.28% <ø> (ø)

.../alluxio/client/block/policy/LocalFirstPolicy.java
93.93% <ø> (ø)

.../client/block/policy/MostAvailableFirstPolicy.java
91.66% <ø> (ø)

.../alluxio/client/block/policy/RoundRobinPolicy.java
97.91% <ø> (ø)

...lluxio/client/block/policy/SpecificHostPolicy.java
40.00% <ø> (ø)

...xio/client/block/stream/BlockWorkerDataReader.java
0.00% <0.00%> (ø)

...ient/block/stream/BufferCachingGrpcDataReader.java
42.25% <0.00%> (+0.58%)
:arrow_up:

...va/alluxio/client/meta/MetaMasterConfigClient.java
0.00% <ø> (ø)

...ient/meta/RetryHandlingMetaMasterConfigClient.java
9.52% <0.00%> (-3.81%)
:arrow_down:

... and 817 more

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 821c819...b914fb3. Read the comment docs.

repo: Alluxio/alluxio


text:
Missing Documentation.

Hi there, the documentation for this library is not mentioned. It would be great if you could write one.
Thank you.

hi, thanks for your suggestion but i actually made this package just for my music bot. so there are no docs. i guess you were brought here from npmjs and i have noticed that someone published my package without permission

hi, thanks for your suggestion but i actually made this package just for my music bot. so there are no docs. i guess you were brought here from npmjs and i have noticed that someone published my package without permission

well, I was planning to publish the package in the future if it's ready but someone published it before me without my permission :/

well, I was planning to publish the package in the future if it's ready but someone published it before me without my permission :/

authors: Allvaa itsayushch

repo: Allvaa/lava-spotify


text:
Not working?

It seems like the example in the docs is not working.
The $apiDomain variable should probably be https://gumroad.com instead of https://api.gumroad.com.
At least, that's how the authorize URL looks like:

https://gumroad.com/oauth/authorize?response_type=code&client_id=xxxxxx&redirect_uri=xxxxxxsettings&scope=view_sales edit_products

I will double check

https://api.gumroad.com/oauth seems to serve the same oauth2 endpoint as https://gumroad.com/oauth
I will update it to remove the subdomain but it works with either the same.

Was there an error you encountered though? Because it is working as-is for me...

Interesting... I'll check again!

authors: Alofoxx alvarotrigo


text:
flagd panic causes crashloop

		/_____/\ /_/\     /_______/\ /______/\  /_____/\
		\::::_\/_\:\ \    \::: _  \ \\::::__\/__\:::_ \ \
		 \:\/___/\\:\ \    \::(_)  \ \\:\ /____/\\:\ \ \ \
		  \:::._\/ \:\ \____\:: __  \ \\:\\_  _\/ \:\ \ \ \
		   \:\ \    \:\/___/\\:.\ \  \ \\:\_\ \ \  \:\/.:| |
		    \_\/     \_____\/ \__\/\__\/ \_____\/   \____/_/

2023-08-04T03:55:21.374Z	info	cmd/start.go:117	flagd version: v0.5.2 (0fbd30f4b3ba25d3e8adf457d2708cd0990b68d8), built at: 2023-04-13	{"component": "start"}
2023-08-04T03:55:21.374Z	warn	telemetry/builder.go:59	skipping trace provider setup as collector target is not set. Traces will use NoopTracerProvider provider
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1668f90]

goroutine 1 [running]:
k8s.io/client-go/discovery.convertAPIResource(...)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/aggregated_discovery.go:114
k8s.io/client-go/discovery.convertAPIGroup({{{0x0, 0x0}, {0x0, 0x0}}, {{0xc0004c5c80, 0x15}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/aggregated_discovery.go:95 +0x6f0
k8s.io/client-go/discovery.SplitGroupsAndResources({{{0xc0004c48b8, 0x15}, {0xc0001268a0, 0x1b}}, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/aggregated_discovery.go:49 +0x125
k8s.io/client-go/discovery.(*DiscoveryClient).downloadAPIs(0xc0005deac0?)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:328 +0x3de
k8s.io/client-go/discovery.(*DiscoveryClient).GroupsAndMaybeResources(0xc0005deef0?)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:203 +0x65
k8s.io/client-go/discovery.ServerGroupsAndResources({0x1dabc40, 0xc0003721e0})
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:413 +0x59
k8s.io/client-go/discovery.(*DiscoveryClient).ServerGroupsAndResources.func1()
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:376 +0x25
k8s.io/client-go/discovery.withRetries(0x2, 0xc0005def08)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:651 +0x71
k8s.io/client-go/discovery.(*DiscoveryClient).ServerGroupsAndResources(0x0?)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:375 +0x3a
k8s.io/client-go/restmapper.GetAPIGroupResources({0x1dabc40?, 0xc0003721e0?})
	/go/pkg/mod/k8s.io/client-go@v0.26.3/restmapper/discovery.go:148 +0x42
sigs.k8s.io/controller-runtime/pkg/client/apiutil.NewDynamicRESTMapper.func1()
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/client/apiutil/dynamicrestmapper.go:94 +0x25
sigs.k8s.io/controller-runtime/pkg/client/apiutil.(*dynamicRESTMapper).setStaticMapper(...)
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/client/apiutil/dynamicrestmapper.go:130
sigs.k8s.io/controller-runtime/pkg/client/apiutil.NewDynamicRESTMapper(0xc000129d40?, {0x0, 0x0, 0x1b01e4c?})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/client/apiutil/dynamicrestmapper.go:110 +0x182
sigs.k8s.io/controller-runtime/pkg/client.newClient(0xc000129d40?, {0xc0004ec000?, {0x0?, 0x0?}, {0x20?, 0x0?}})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/client/client.go:109 +0x1d1
sigs.k8s.io/controller-runtime/pkg/client.New(...)
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/client/client.go:77
github.com/open-feature/flagd/core/pkg/sync/kubernetes.GetClients()
	/workspace/core/pkg/sync/kubernetes/kubernetes_sync.go:63 +0x45
github.com/open-feature/flagd/core/pkg/runtime.NewK8s({0xc0004ab620, 0x24}, 0xc0005df8b0)
	/workspace/core/pkg/runtime/from_config.go:204 +0x45
github.com/open-feature/flagd/core/pkg/runtime.syncProvidersFromConfig(0xc0005df8b0, {0xc0000d1260?, 0x1, 0x0?})
	/workspace/core/pkg/runtime/from_config.go:152 +0xb33
github.com/open-feature/flagd/core/pkg/runtime.FromConfig(0xc000355170, {0x1d83bf8, 0x6}, {{0x0, 0x0}, 0x1f4e, {0x0, 0x0}, {0x0, 0x0}, ...})
	/workspace/core/pkg/runtime/from_config.go:120 +0x6e5
github.com/open-feature/flagd/flagd/cmd.glob..func1(0x2ac3f80?, {0x1ae70fc?, 0x2?, 0x2?})
	/workspace/flagd/cmd/start.go:154 +0x925
github.com/spf13/cobra.(*Command).execute(0x2ac3f80, {0xc000572860, 0x2, 0x2})
	/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920 +0x847
github.com/spf13/cobra.(*Command).ExecuteC(0x2ac3ca0)
	/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
	/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
github.com/open-feature/flagd/flagd/cmd.Execute({0x1d83bf8?, 0xc000012018?}, {0x1d95800?, 0x1d87760?}, {0x1d84150?, 0x0?})
	/workspace/flagd/cmd/root.go:37 +0xaa
main.main()
	/workspace/flagd/main.go:30 +0xd7

Updating helm chart to v0.2.35 causes:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1302f10]

goroutine 1 [running]:
k8s.io/client-go/discovery.convertAPIResource(...)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/aggregated_discovery.go:114
k8s.io/client-go/discovery.convertAPIGroup({{{0x0, 0x0}, {0x0, 0x0}}, {{0xc0000e3d28, 0x15}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/aggregated_discovery.go:95 +0x6f0
k8s.io/client-go/discovery.SplitGroupsAndResources({{{0xc0000e20d8, 0x15}, {0xc0000f0fa0, 0x1b}}, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/aggregated_discovery.go:49 +0x125
k8s.io/client-go/discovery.(*DiscoveryClient).downloadAPIs(0xc000398878?)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:328 +0x3de
k8s.io/client-go/discovery.(*DiscoveryClient).GroupsAndMaybeResources(0xc000398ca8?)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:203 +0x65
k8s.io/client-go/discovery.ServerGroupsAndResources({0x1aefcf8, 0xc000279d70})
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:413 +0x59
k8s.io/client-go/discovery.(*DiscoveryClient).ServerGroupsAndResources.func1()
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:376 +0x25
k8s.io/client-go/discovery.withRetries(0x2, 0xc000440cc0)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:651 +0x71
k8s.io/client-go/discovery.(*DiscoveryClient).ServerGroupsAndResources(0x0?)
	/go/pkg/mod/k8s.io/client-go@v0.26.3/discovery/discovery_client.go:375 +0x3a
k8s.io/client-go/restmapper.GetAPIGroupResources({0x1aefcf8?, 0xc000279d70?})
	/go/pkg/mod/k8s.io/client-go@v0.26.3/restmapper/discovery.go:148 +0x42
sigs.k8s.io/controller-runtime/pkg/client/apiutil.NewDynamicRESTMapper.func1()
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/client/apiutil/dynamicrestmapper.go:94 +0x25
sigs.k8s.io/controller-runtime/pkg/client/apiutil.(*dynamicRESTMapper).setStaticMapper(...)
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/client/apiutil/dynamicrestmapper.go:130
sigs.k8s.io/controller-runtime/pkg/client/apiutil.NewDynamicRESTMapper(0xc0000f8120?, {0x0, 0x0, 0x47f4d7c94faa9501?})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/client/apiutil/dynamicrestmapper.go:110 +0x182
sigs.k8s.io/controller-runtime/pkg/cluster.setOptionsDefaults.func1(0xc0004ff260?)
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/cluster/cluster.go:217 +0x25
sigs.k8s.io/controller-runtime/pkg/cluster.New(0xc0002ea000, {0xc000399660, 0x1, 0x0?})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/cluster/cluster.go:159 +0x18d
sigs.k8s.io/controller-runtime/pkg/manager.New(_, {0xc0004ff260, 0x0, 0x0, {{0x1aec038, 0xc00041f540}, 0x0}, 0x1, {0x0, 0x0}, ...})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/manager/manager.go:351 +0xf9
main.main()
	/workspace/main.go:173 +0x1275

Furthermore, this causes the demo app to crash. It seems that using gRPC there is a hard dependancy between the demo app and flagd:
Demo app logs:
Connecting to flagD at localhost:8030
Example app listening on port 3000
/usr/src/app/node_modules/@openfeature/flagd-provider/index.cjs:1533
            reject(new Error(errorMessage));
                   ^

Error: FlagdProvider: max stream connect attempts (5 reached)
    at GRPCService.handleError (/usr/src/app/node_modules/@openfeature/flagd-provider/index.cjs:1533:20)
    at /usr/src/app/node_modules/@openfeature/flagd-provider/index.cjs:1476:22
    at /usr/src/app/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-output-stream.js:86:36
    at Array.forEach (<anonymous>)
    at RpcOutputStreamController.notifyError (/usr/src/app/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-output-stream.js:86:23)
    at ClientReadableStreamImpl.<anonymous> (/usr/src/app/node_modules/@protobuf-ts/grpc-transport/build/commonjs/grpc-transport.js:90:27)
    at ClientReadableStreamImpl.emit (node:events:513:28)
    at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client.js:351:28)
    at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
    at /usr/src/app/node_modules/@grpc/grpc-js/build/src/resolving-call.js:94:78

Raised an issue in the OFO repo: https://github.com/open-feature/open-feature-operator/issues/515

Could you please test it with Kind and K8s v. 1.26? Just to double check before releasing a new flagd and ofo version?

We have a new release of the OFO v0.2.36 with updated K8s dependencies ^1 (k8s.io/client-go v0.26.4)
@agardnerIT could you please verify the mentioned issue with this new OFO version?

I've tested this and bumping OFO to v0.2.6 solves this issue. Thanks!

authors: Kavindu-Dodan agardnerIT heckelmann


text:
up-to-date WoodPeckeriOS

up-to-date WoodPeckeriOS

up-to-date WoodPeckeriOS

run pack.sh

repo: AloneMonkey/cydiarepo


text:
Update Segmented Controls look [Fiji]

Zeplin:
https://app.zeplin.io/project/5d0356be2f25b319dcc5944b/styleguide/components?cseid=5dfc12e12ec4d6975469c160
https://app.zeplin.io/project/5d0356be2f25b319dcc5944b/styleguide/components?cseid=5dfc1338bdb90d17d2aa628c
https://app.zeplin.io/project/5d0356be2f25b319dcc5944b/styleguide/components?cseid=5dfc1308cb89a49855c3063e

They are part of Master library (common for iOS and Android)
Please pay attention to the details. It took me a while to set up spacing, color, fonts.

closed with #1225

authors: JamesSmartCell tomekalphawallet

repo: AlphaWallet/alpha-wallet-android


text:
Decode ERC20 approval transactions

Look for DecodedFunctionCall.FunctionType.erc20Transfer, which decodes ERC20 transfers.
This can be tested through transactions posted from dapp and WalletConnect

If you aren’t sure, but want to tackle this, let me know, and I’ll post back more details.

Yes, please.

You probably know some/all of this, so I might be repeating the obvious for you. But any way:
In Ethereum, function calls/transactions are encoded by keccak256 hashing their signature (eg. balanceOf(address)) and then taking the first 4 bytes of that hash and sticking in to the front of the transaction's data (or function call). This is followed by the function arguments.
This [1] gives an example of the computation. Look for "This is derived as the first 4 bytes of the Keccak-256 hash of the ASCII form of the signature baz(uint32,bool)" and read a page down. (I didn't vet the article for quality).
So given a transaction's data, by looking at the 1st 4 bytes, we can potentially match that transaction to a function call, i.e. we can tell, what function is being called. Since hashing is one-way, this is a little limited of course, but this works well for common, known functions like balanceOf(address) or ERC20's transfer(address,uint256) function.
So for this issue, we just need to dig up the function signature for ERC20 approval, plug it into the snippet below to get the hash and then amend DecodedFunctionCall.swift to support it. Then, when a transaction (and its data) is downloaded, if the transaction is for ERC20 approval, the app will be able to figure it out [2]. It'll also be displayed in the actionsheet for transaction confirmations [3] (which might be easier for you to test this out)
Here's a web3.js snippet to compute the transfer()'s hash:
const Web3 = require('web3')
let web3 = new Web3(new Web3.providers.HttpProvider("<infura URL>"));
const f = "transfer(address,uint256)"
hash = web3.utils.sha3(f).substr(0, 10)
console.log(`hash: ${hash}`) //prints "a9059cbb"

PS: We might introduce a better way too to do this by using a library to do this decoding (actually web3swift might be able to do this), but I just implemented this in an ad-hoc manner previously because we only needed to see if it worked. So you can pursue this (better) approach too if you like.
[1] https://www.geeksforgeeks.org/application-binary-interfaceabi-in-ethereum-virtual-machine/
[2] Look for Transaction.decodeOperations
[3] Look for references to DecodedFunctionCall.FunctionType.erc20Transfer

authors: hboon vladyslav-iosdev

repo: AlphaWallet/alpha-wallet-ios


text:
Adds Django REST Framework 3.5.x compatibility

Adds get_valid_fields new optional argument
Adds get_template_context compatibility to get_valid_fields
Fixes #143

Nice one @aleontiev - I have updated my PR accordingly. Ready to go :+1:

Awesome, looks good

authors: aleontiev kciredor

repo: AltSchool/dynamic-rest


text:
amex cvn (cvv) = 4 digits

Hi excited to try your control.
As I was evaluating noticed the CVV validation was limited to 3 chars and amex cards carry 4 chars.  Sure I can adjust the 3 to 4 in regex but in order to keep user input errors to minimum is this something I can do with a compound object?  I'm not sure, I'll dig in deeper but in meantime if you get this before i come up with answer what is your recommendation?  Is there a flag or something I can evaluate to adjust the field object for the cc number?  ie, isAmex (then I can set set CVV validator to 4)

Hi,
Please take a look at example. CVV validation is made there by APRegexValidator with ^[0-9]{3}$ regex. Regex to support 4 digits will be - ^[0-9]{4}$ . But maybe you would need to adjust this regex every time user changes CC number and you get CC type from APCreditCardValidator.

repo: Alterplay/APValidators


text:
Adding tests for float and timestamp64 default values.

fix https://github.com/Altinity/clickhouse-grafana/issues/679

Pull Request Test Coverage Report for Build 12396083399
Details

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.4%) to 76.133%

Files with Coverage Reduction
New Missed Lines
%

src/views/QueryEditor/helpers/initializeQueryDefaults.ts
1
95.45%

src/datasource/datasource.ts
6
50.39%

Totals

Change from base Build 12278256209:
0.4%

Covered Lines:
3499

Relevant Lines:
4393

💛  - Coveralls

repo: Altinity/clickhouse-grafana


text:
Analysis: Monitoring of Communication services

Description
How do we best monitor the e-mail solution?
Where can we have failure and how can we act on these failures.
What requirements do we have to availability of the solution.

#160 covers monitoring the connectivity to the Kafka broker
How to monitor availability of e-mail server?
How do we pick up on errors in this component? No incomning API requests

In scope

Identify tools for monitoring as well as metrict/telemetry that is relevant.
Alert rules should be defined at a high level, but not implemented.
Creating development issues that can be implemented at a later point in time

Out of scope

Implementation

Constraints

Analysis

Conclusion

No longer relevant

authors: SandGrainOne acn-sbuad

repo: Altinn/altinn-notifications


text:
Use new endpoint for POST when saving attachments

Description
In https://github.com/Altinn/app-lib-dotnet/issues/850, we add a new endpoint for POST, so that service owners can write code that modifies instance data (mutate form data or add/remove elements) when attachments gets uploaded.
Frontend needs to use the new endpoint and update its internal state when the backend version is new enough (likely 8.5.0 (not preview), we will see)
Additional Information
No response

Assigning myself for testing.

authors: ivarne olemartinorg

repo: Altinn/app-frontend-react


text:
Animation looping(false) is not working

The animation will just jump to the end straight.
From the video we can see that without looping, it's buggy but the anim still plays. With looping set to false, the anim stops working.
https://github.com/AmbientRun/Ambient/assets/35621141/6238d67e-854f-4fe6-9d30-4415417aa6d7

So this is probably because you create those animation players upfront and start playing the animations on them immediately. You should just have one animation player per character instead. For instance to do a death effect you would then create that PlayAnimationClip when the character dies. Otherwise it will have finished playing long ago.

I know how it works now. But can creating PlayAnimationClip every time we need it become quite heavy?

@chaosprint Hm, it might be that the clips have been dropped from the asset cache and it's loading them again. You can create a bunch of PlayAnimationClip's somewhere and just keep them alive to keep the clips in memory. https://ambientrun.github.io/Ambient/reference/animations.html#pre-loading-animations

authors: FredrikNoren chaosprint

repo: AmbientRun/Ambient


text:
use Threads to spilt frames simultaneously from 3 videos

currently 3 videos are split one after another , takes too long , if we can use threading and concurrently do the three tasks ,we can save alot of time

Solved


text:
"remove" event triggered prematurely

Simple test code (also on RequireBin):
var View = require("ampersand-view");

var CustomView = View.extend({
  initialize: function() {
    this.on("remove", function() {
    	console.log('remove was triggered');
    });
  }
});

var view = new CustomView();
// "remove was triggered"

It seems that adding an event listener before render(?) for the remove event causes that event to trigger on initalization/render.

ill look into this

Issue here is that we're triggering either remove or render while accessing rendered property.
        rendered: {
            deps: ['_rendered'],
            fn: function() {
                if (this._rendered) {
                    this.trigger('render', this);
                    return true;
                }
                this.trigger('remove', this);
                return false;
            }
        }

And exactly this property is accessed in constructor before render method:
function View(attrs) {
    (...)
    this._rendered = this.rendered; // prep `rendered` derived cache immediately
    if (this.autoRender && this.template) {
        this.render();
    }
}

I see.
Would decoupling the remove event from the _rendered property, and triggering the remove event from the remove method make sense? In which case, you wouldn't need both the _rendered property and the derived rendered property.

@dhritzkiv I see that @cdaringe already took care of it, thanks! :)

@dhritzkiv, we chose the strategy specifically so the user wouldn't have to manage triggering events on their own in their over-ridden render/remove functions.  the first PR implementation did something close to exactly that, just manually triggering remove/render events in their corresponding functions.  there was some discussion, and we decided to handle it for the user.
anyway, it's a pretty simple fix!  take a peek, let me know your thoughts

@cdaringe I understand now; rendered + _rendered wasn't obvious before.
The fix LGTM

authors: cdaringe dhritzkiv kamilogorek

repo: AmpersandJS/ampersand-view


text:
[Bug] Adjust right margin in resume templates to improve readability

Is there an existing issue for this?

[X] Yes, I have searched the existing issues and none of them match my problem.

Product Variant
Cloud (https://rxresu.me)
Current Behavior
The current resume templates on https://rxresu.me/builder have insufficient right margins. This causes the text to appear too close to the right edge of the page, potentially affecting readability and overall aesthetics of the generated resumes.
Steps to reproduce:

Go to https://rxresu.me/builder
Create or edit any resume
Observe the right margin of the resume content

Expected Behavior
The text should have adequate spacing from the right edge of the page, similar to the left margin, to ensure good readability and a balanced layout.
Steps To Reproduce

Go to https://rxresu.me/builder
Create or edit any resume
Observe the right margin of the resume content

What browsers are you seeing the problem on?
Chrome
What template are you using?
Bronzor
Anything else?
No response

/assign

repo: AmruthPillai/Reactive-Resume


text:
CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_b8yutvkmwh/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_b8yutvkmwh/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_b8yutvkmwh/clone/recipe/meta.yaml:29: missing_pip_check: For pypi packages, pip check should be present in the test commands
Errors were found

authors: anaconda-pkg-build bkreider


text:
CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_50yzcltoz7/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_50yzcltoz7/clone/recipe/meta.yaml:27: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_50yzcltoz7/clone/recipe/meta.yaml:30: invalid_url: https://www.dashdaq.io/ : HTTPSConnectionPool(host='www.dashdaq.io', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffffa47d67d0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
INFO: /tmp/abs_50yzcltoz7/clone/recipe/meta.yaml:35: invalid_url: https://dash.plot.ly/dash-daq : URL domain redirect dash.plot.ly ->  dash.plotly.com
WARNING: /tmp/abs_50yzcltoz7/clone/recipe/meta.yaml:36: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_05lts6a4j9/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_05lts6a4j9/clone/recipe/meta.yaml:27: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_05lts6a4j9/clone/recipe/meta.yaml:30: invalid_url: https://www.dashdaq.io/ : HTTPSConnectionPool(host='www.dashdaq.io', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff74782620>: Failed to establish a new connection: [Errno -2] Name or service not known'))
INFO: /tmp/abs_05lts6a4j9/clone/recipe/meta.yaml:35: invalid_url: https://dash.plot.ly/dash-daq : URL domain redirect dash.plot.ly ->  dash.plotly.com
WARNING: /tmp/abs_05lts6a4j9/clone/recipe/meta.yaml:36: missing_description: The recipe is missing a description
Errors were found

repo: AnacondaRecipes/dash-daq-feedstock


text:
CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:30: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:37: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:37: missing_description: The recipe is missing a description
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:37: missing_dev_url: The recipe is missing a dev_url
Errors were found

repo: AnacondaRecipes/datacompy-feedstock


text:
XSS on defaultDescribe GeoJsonDataSource

A XSS vulnerability could be exploited by users who have access to modify a GeoJson data source.
https://github.com/AnalyticalGraphicsInc/cesium/blob/523544fcc5dea01cf75e080f57711a31a9d0ecea/Source/DataSources/GeoJsonDataSource.js#L104
and
https://github.com/AnalyticalGraphicsInc/cesium/blob/523544fcc5dea01cf75e080f57711a31a9d0ecea/Source/DataSources/GeoJsonDataSource.js#L106
html += '
' + key + '	' + defaultDescribe(value) + '
';
key is not properly escaped and can lead to arbitrary Javascript execution.
Taking for example this data source:
xss_ne_10m_us_states.topojson.txt
Where Minnesota's properties have been modified to:
...
"properties": {
            "name": "Minnesota",
            "Statehood": "May 11, 1858",
            "Population": 5420380
          }
...

var viewer = new Cesium.Viewer('cesiumContainer');
viewer.dataSources.add(Cesium.GeoJsonDataSource.load('../../SampleData/xss_ne_10m_us_states.topojson'));

Clicking on the state of Minnesota on the map yields:

key should be HTML escaped in all relevant places (I haven't dug much in other parts of the source where properties are displayed on the infobox, similar issues might be present elsewhere).

Thanks @pierotofy
For the infobox, the description is displayed in an iframe with scripts disabled so it shouldn't be an issue there

@pierotofy What browser and version are you using?
As @hpinkos pointed out, iframe sandboxing makes this impossible without you specifically disabling security in your own application.  If you are seeing this in any of the major browsers out of the box with Cesium, then that points to major browser bug, not a bug in Cesium.
Please confirm that you are disabling sandboxing in your application and then we'll close this.

@mramato ahh, yes, I have a custom InfoBox in my application which does not use iframes. Never mind then, you can close this.

authors: hpinkos mramato pierotofy

repo: AnalyticalGraphicsInc/cesium


text:
Partial XHR polyfull for Node.js

This is a continuation of #6454 with some minor cleanup and additions.

CC @jimmyangel this will be in the May 1st release.

@mramato are you going to add @jimmyangel  to CONTRIBUTORS.md?

Hi @hpinkos @mramato, I can work on a couple of tests but could you please tell me where to plug them in so that they executed under nodejs (as opposed to a browser)?

Hi @hpinkos @mramato, I can work on a couple of tests but could you please tell me where to plug them in so that they executed under nodejs (as opposed to a browser)?

Thanks for the offer, but we actually don't have any Node unit tests at this time, so there's no where for you to put them.  We want to have them eventually, but the plan is to figure out how to leverage our existing tests in node rather than have a separate set of node-specific tests.

@mramato are you going to add @jimmyangel to CONTRIBUTORS.md?

Sorry, I thought he was already in there but didn't check, I'll add him

Thanks for the offer, but we actually don't have any Node unit tests at this time, so there's no where for you to put them. We want to have them eventually, but the plan is to figure out how to leverage our existing tests in node rather than have a separate set of node-specific tests.

Ok. FYI, I have created a package that uses sampleTerrain in node as a utility (and library) to add elevation to arbitrary GeoJSON data. It includes a few Jasmine tests that end up exercising the XHR functionality here. You could potential reuse, or simply add a command line invocation with a couple of test files. Just let me know if I can help.

authors: hpinkos jimmyangel mramato


text:
Collection setting addition to weekly logs

Requestor(s): Kaitlyn Mazzilli and Amelia Roberts
Metrics to be updated or created: Weekly Logs
Notes: We would like to add 2 columns to the weekly logs to distinguish the collection setting (for the overall logs and the site specific). "Number of Clinical Samples Collected" and "Number of Research Samples Collected". Some of the sites may have 0 total for either column depending on what setting they offer.
Approved by: Michelle Brotzman

@kmazzilli @robertsamm  Good morning, please see the logs attached. For some reason the box is left blank instead of 0 if there are no collections of that setting type. Please let me know if this will suffice.
CCC_metrics_weekly_log_labels_Kaiser Permanente Hawaii2023-10-17.csv
CCC_metrics_weekly_log_labels_Kaiser Permanente Northwest2023-10-17.csv
CCC_metrics_weekly_log_labels_Kaiser Permanente Colorado2023-10-17.csv
CCC_metrics_weekly_log_labels_Kaiser Permanente Georgia2023-10-17.csv
CCC_metrics_weekly_log_labels_University of Chicago Medicine2023-10-17.csv
CCC_metrics_weekly_log_labels_Sanford Health2023-10-17.csv
CCC_metrics_weekly_log_labels_Marshfield Clinic Health System2023-10-17.csv
CCC_metrics_weekly_log_labels_Henry Ford Health System2023-10-17.csv
CCC_metrics_weekly_log_labels_HealthPartners2023-10-17.csv

These look great to me, happy to have these data. Added Domonique so she's in the loop too. About having blank instead of zero, I think that's ok but wanted to check with Domonique, if we run graphics in Excel off these tables the way you sometimes do, if they are blank does it just assume they are 0?

@KELSEYDOWLING7 thanks for getting to this so quickly. Amelia and I took a look and have some additional feedback:

We would like to get 0's if possible instead of blanks.
Can the labels instead read "Number of clinical samples collected per week" and "Number of research samples collected per week"
We also think it would be helpful to add two additional columns for the cumulative counts, "Cumulative number of clinical samples collected per week" and "Cumulative number of research samples collected per week"
Can these four columns be placed in between "Specimens collected per week" and "Cumulative All Baseline Surveys (Modules 1-4)"?
I see files for all the sites in your last comment, but would like to confirm that the overall/all site log will be updated as well
Lastly, the logs shouldn't include a week that hasn't happened yet/still in progress, so the week of 10/16-10/22 should be removed, and this exclusion should apply to all future weeks.

Thanks again!

I confirm that the blanks in the last two columns indicate no collections for those weeks; these should be 0, as Kaitlyn and Amelia suggested above.
I also suggest that "Number of research collections per week" and "Number of clinical collections per week" be used as the title for those columns; using "samples" implies individual tubes rather than the whole collection.

@kmazzilli  @HopkinsDC  All set! yes, the overall csv will be updated as well. That one is giving me more trouble, so I figured I would post just the site CSVs for now and update the Overall as we finalize all the changes. Please see the site csv's below with the updated request
CCC_metrics_weekly_log_labels_HealthPartners2023-10-19.csv
CCC_metrics_weekly_log_labels_Henry Ford Health System2023-10-19.csv
CCC_metrics_weekly_log_labels_Kaiser Permanente Colorado2023-10-19.csv
CCC_metrics_weekly_log_labels_Kaiser Permanente Georgia2023-10-19.csv
CCC_metrics_weekly_log_labels_Kaiser Permanente Hawaii2023-10-19.csv
CCC_metrics_weekly_log_labels_Kaiser Permanente Northwest2023-10-19.csv
CCC_metrics_weekly_log_labels_Marshfield Clinic Health System2023-10-19.csv
CCC_metrics_weekly_log_labels_Sanford Health2023-10-19.csv
CCC_metrics_weekly_log_labels_University of Chicago Medicine2023-10-19.csv

@kmazzilli Here is the final overall as well
CCC_metrics_weekly_log_labels_2023-10-19.csv

Great @KELSEYDOWLING7. There are just some typos in the headers, for example on the ones we just requested, they say "Cummulative", could you do a double check? Thanks!

Good morning @KELSEYDOWLING7 I didn't see any other spelling errors besides the double m's in 'cumulative', I have just one more comment. Thanks for adding the cumulative number of research/clinical collections column. For those 2 cumulative labels can you take out the 'per week' at the end? 'Per week' should only be on the two prior that show the counts only for that given week.
The Weekly Logs are never posted to ALL, just the DCEG folder. Have then been getting posted to ALL too or are you thinking of the Weekly Operations Report?

@robertsamm  Oh that makes sense, yes I can remove the 'per week' really quick.
And yes, sorry I should have specified, the weekly Operations report is what I was referring to. The report and the logs use the same code file.

Hi @KELSEYDOWLING7, we like that idea and are good with switching to the same work flow you are doing with the biospecimen report. Thanks for suggesting!

@robertsamm  Great, thank you! I'll let Jake know about the automation adjustment and that's helpful more me to keep track of all the report outputs in Box

Hi @KELSEYDOWLING7, it looks like the collection setting column counts weren't in the latest weekly logs ran on 10/25. Are these going to be in the automation/prod report by Monday next week?

@robertsamm They can be yes. I didn't want to merge my code changes into Jake's automated code just yet until I had confirmation that all pending changes were approved.
As it stands right now, I'd instead have to send these select edits to Jing, and have her merge that with Jake's current automation.
Please let me know if Figures 5.0-5.12 are ready for approval. If they are, I can simply get Jing's edits from the Figure 4 issues today, put everything into the automation, and remove the DCEG automation link altogether.

@robertsamm  Couldn't agree more!

@KELSEYDOWLING7 once they are all in the automation and uploaded to ALL (I'm assuming that will happen on Monday?) can you let us know so we can close out all the open issues?

@robertsamm  Absolutely!

authors: HopkinsDC KELSEYDOWLING7 brotzmanmj kmazzilli robertsamm

repo: Analyticsphere/metricsReportsRequests


text:
SSO usiing owin

How to expose individual acs url for respective idp in single sp using kentor.authservice

This project is not the relevant place to ask this question.

repo: AndersAbel/OwinSelfHostTest


text:
Update from original

The original repo was renamed from net6-samples to maui-samples.

Updating my fork.


text:
❗N67 support timeline

the NAIF just released N67 spice which includes a number of new functions and enhancements https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/info/whatsnew.html.
Unfortunately, the release coincides with a very busy period in my life, so realistically I won't be able to get started on updating spiceypy to N67 until mid February 2022.
User contributions to add N67 support are welcome, but PR merges are paused until mid February also.

As an update I just merged #439 which is allowing spiceypy to build N67 cspice, although no new wrapper functions are present this allows me to move forward with a new release. I may need to think about this as it may not be a major breaking change, but in the past I've bumped major versions just for new cspice releases. Likely that makes more sense as adding the wrapper functions are not breaking changes, but do cause the api to advance.
road map is:
1 [x] bump to n67
2 [] major release to allow conda forge to move forward
3 [] minor/patch releases for new wrapper functions as they arrive

I just merged in the first group of new wrapper functions (7 of them)

closing this issue!

repo: AndrewAnnex/SpiceyPy


text:
SPA Fallback Middleware

Is your feature request related to a problem? Please describe.
We need to add a SPA fallback middleware for SPA development
Describe the solution you'd like
Ideally we need to make sure this is the last middleware in the chain so we don't break existing functionality that requires some routes to fail (like compiling js/ts/tsx on the fly)
Describe alternatives you've considered
Nothing so far
Additional context
This came up when I was trying to use a client side router with hash disabled

I've used https://github.com/khellang/Middleware#spafallback- in the past for this scenario.
I can try it out when I find time and send a PR if you like.

If you have a chance and want to take a stab at this you can try to add this middleware somewhere in Server.fs
https://github.com/AngelMunoz/Perla/blob/dev/src/Perla.Lib/Server.fs#L480

authors: AngelMunoz nojaf

repo: AngelMunoz/Perla


text:
RFC: Restore AudioCVT Interface (w/o CVec)

So in PR #269 AudioCVT was removed in a commit by @nukep
I have a patch that replaces this w/ an implementation that uses a caller allocated Vec, let me know what you think: drbawb/rust-sdl2@aa42ceeba3ca3af386a7b8e7a9d2c2c0c146e9bf
A couple key areas to review:

len, len_mult, and now len_cvt are int32 in SDL2; but interpreted as uint's in the bridge:

Are they guaranteed to never be negative?
Should we add a debug_assert! to that effect?

I set the length of the resultant Vec<u8> before checking the error code:

Is len_cvt well defined if the conversion failed?
Should we defer setting the length until after checking the return code?

Style nit: std::mem, std::raw are presently imported by the functions which use them; rather than at the module level.

I actually like this; it feels like it contains the "unsafe imports" to unsafe areas of the code.
However it does mean we have duplicate imports in several functions now...

Let me know if this looks worthy of a PR.

Those are some very excellent points.

It seems like they shouldn't be negative, although the SDL docs don't say so explicitly: https://wiki.libsdl.org/SDL_AudioCVT.

Because the size of c_int varies across platforms, maybe use std::num::cast()?

I'm not quite sure what happens if the len is within the bounds of c_int, but len_cvt is larger than c_int. SDL doesn't bounds-check it as far as I can tell: https://github.com/spurious/SDL-mirror/blob/7f5d524dca8bd2cfa1603c0ae2d6f52c18d53348/src/audio/SDL_audiocvt.c

It's probably safer to set the length on succeed.

The SDL docs say that len_cvt is set on successful return, but says nothing about failure. https://wiki.libsdl.org/SDL_ConvertAudio

It's semantically clearer anyway, as the vector is then always in a defined state and always with initialized values. Dropping a vector with uninitialized values seems like a Bad Thing to do.

I personally prefer that style of importing too, especially for "unsafe imports" like you said. I'm uneasy whenever I see something like use std::mem; at the module level (because namespace pollution and all).

A unit test would also be a good thing to have. I got stuck because I was getting some wonky results (for me it somehow changed new_buffer_expected or some other value (I don't remember), so it might have been a buffer overflow). Here's what I had at the time:
#[cfg(test)]
mod test {
    use super::{AudioCVT, AUDIOU8};
    #[test]
    fn test_audio_cvt() {
        use std::iter::repeat;

        // 0,1,2,3, ...
        let buffer: Vec<u8> = range(0, 255).collect().shrink_to_fit();
        // 0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3, ...
        let new_buffer_expected: Vec<u8> = range(0, 255).flat_map(|v| repeat(v).take(4)).collect();

        let cvt = AudioCVT::new(AUDIOU8, 1, 44100, AUDIOU8, 4, 44100).unwrap();
        let new_buffer = cvt.convert(buffer).unwrap();
        assert_eq!(new_buffer, new_buffer_expected);
    }
}

If the above issues are addressed, then it'll look good for a PR.

Hah, I'm starting to see why you ripped this out! See the latest here: drbawb/rust-sdl2@902d4725f4ac284ed2b3e6d97b3f0ddc4ad3f123.
After some cleanup and fixes: I ended up w/ a convert function that works for duplicating channels, e.g:
let cvt = AudioCVT::new(AUDIOU8, 1, 44100, AUDIOU8, 2, 44100).unwrap();
However, when quadrupling the stream, I see the 'buffer overrun' you brought up:
let cvt = AudioCVT::new(AUDIOU8, 1, 44100, AUDIOU8, 2, 44100).unwrap();
If I allocate a bunch of padding at the end of the vec (space for one additional channel to be precise): then the expected result buffer is undamaged, but the result buffer has the wrong result.  See this gist for the failed assertion.
It looks, to me, as though it duplicates the stream and then sets the 2 remaining channels to 0 or 1.
If I reserve only the space specified by len * cvt.len_mult then I see the "buffer overrun" behavior you're talking about; which is obviously very bad.
What's interesting, to me, is that the Vec should move elsewhere in memory when the capacity changes.
Yet it consistently overwrites new_buffer_expected; and it's always perfectly zero'd (on my machine.)
Very strange indeed; any thoughts before I throw this through valgrind a couple times?

Hmm; I just adapted your test-case to my branch that has the copy of the c_vec module, and I yanked out the original implementation of AudioCVT.
Again it works when duplicating channels; but w/ CVec it segfaults when quadrupling channels.

Hmm, this is bad; it could be a bug in SDL. I'll whip something up in C real quick and see if the problem occurs there as well.

Welp, it looks like it's an SDL bug.
Test case: https://gist.github.com/nukep/57aa85135f56bd838d37
My results: https://gist.github.com/nukep/0863a485356e4e22481c
It might be possible that the SDL folks already fixed this since the version on my machine. If I feel like it, I might checkout the latest SDL and test it with that.
But as far as I can tell, our code is correct.

Compiled your test w/ clang 3.5.0 and SDL 2.0.3 (which I believe is the latest stable?) -- I'm getting similar results.

Since this can be reproduced in C: I'm tempted to submit a PR to add CVT back in to the bindings, but perhaps we should mark AudioCVT#convert() as unsafe?
It's probably best that we get the public API back to the way it was before the FFI changes; but we should make callers aware of the safety issues we've uncovered.

It should at least be marked as #[unstable] IMO, but I don't know about marking it as unsafe. AudioCVT#convert() is only "unsafe" because of an underlying bug in SDL; the nature of the operation is not fundamentally unsafe, i.e. shouldn't require an unsafe { } block. Additionally, whether or not AudioCVT#convert() is bug-prone completely depends on which version of SDL is linked.
I absolutely agree, though; this issue should be documented to the caller.

#[unstable] sounds good to me (and we did just change the public API.)
I added a text annotation that points to this issue for anyone curious.
I'm going to wait to submit a PR until I can rebase this on top of #272

Closed by #275

authors: drbawb nukep


text:
Unit Testing Restangular - Unknown provider: RestangularProvider <- Restangular

Hi!
I was wondering if you have ideas or examples on how to apply unit testing with Restangular:

https://github.com/chaijs/chai-http
https://www.sitepoint.com/unit-test-javascript-mocha-chai
https://github.com/mgonto/restangular/blob/master/test/restangularSpec.js
https://www.uvd.co.uk/blog/bdd-angular-podcast-application-tutorial-part-2-user-searches-for-a-podcast/

FAILED TESTS:
  Home
    ✖ "before each" hook: workFn for "default component should be home"
      Chrome 53.0.2785 (Mac OS X 10.11.6)
    Error: [$injector:unpr] Unknown provider: RestangularProvider <- Restangular
    http://errors.angularjs.org/1.5.8/$injector/unpr?p0=RestangularProvider%20%3C-%20Restangular

Thanks in advance.

Can you add your code as example? You only should need to import the module and then load it on beforeEach:
import ThirdPartyModule from 'angular-thirdparty';
import TestModule from './test';

describe('Some test', () => {
 // Modules import
  beforeEach(()=>{
    window.module(ThirdPartyModule );
    window.module(TestModule);
  });
});

I'm having troubles with ng-annotate and ES6 Classes though, I have to declare the controller/service as an array of dependencies and finally a function instead of a Class with ng-annotate.

authors: josoroma thematho


text:
npm start issue

Issue with running npm start..
$ npm run server:dev

angular2-webpack-starter@5.0.5 server:dev C:\Users\chiho\Desktop\angular-youtube\Angularjs
webpack-dev-server --config config/webpack.dev.js --progress --profile --watch --content-base src/

'webpack-dev-server' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "server:dev"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! angular2-webpack-starter@5.0.5 server:dev: webpack-dev-server --config config/webpack.dev.js --progress --profile --watch --content-base src/
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-webpack-starter@5.0.5 server:dev script 'webpack-dev-server --config config/webpack.dev.js --progress --profile --watch --content-base src/'.
npm ERR! This is most likely a problem with the angular2-webpack-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack-dev-server --config config/webpack.dev.js --progress --profile --watch --content-base src/
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-webpack-starter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls angular2-webpack-starter
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\user\Desktop\angular-youtube\Angularjs\npm-debug.log

@Chiholiu - I have normally faced this issue if I have messed up something with my webpack configuration file. If you have changed anything in there, It will be good idea to compare against this see config files.

I have just run this command, but NPM start still gives the same error

@Chiholiu - If you take a look at your logs you have older version of node :
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
where as you need node > 5 and npm > 3 for this project.

I hate to reopen this but I have the exact same issue, but I have node 6.9.4 and npm 3.10.10

Are you following the quick start instructions? Because you can't run:
npm start and npm run server at the same time, that wasn't very clear in the instructions and I had the same issue on Windows, try running only one of those commands and then ctrl + c and try the other one.

Please give a log for us to help you more easily

repo: AngularClass/angular-starter


text:
Link to ngrx

Please include link to ngrx - RxJS powered state management for Angular2 apps, (https://github.com/ngrx)

can you make a pull-request?


text:
Airing dates and producers are missing

On the details page of anime, airing dates and producers informations are missing.

Reminder for myself: add also the "Other relations".
Anime example id: 22961

These features have been added! #345 These will be availabe in Atarashii 2.1.
@Nomeji Thanks for your feedback!

repo: AnimeNeko/Atarashii


text:
when i use the pywhatkit in flask, the server stopworking...

im using the latest stable version, it would be great fixing it.

All the functions of PyWhatKit are blocking, meaning, until the function has not completely executed, it will stop any parent loop.
I'm order to work around this, consider using threading module along with PyWhatKit.

I think you can also use AsyncPywhatKit


text:
🛑 AnnAngela.cn is down

In 69c0972, AnnAngela.cn (https://ping.annangela.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AnnAngela.cn is back up in d71f179.


text:
🔧  Add version catalog

Summary
To easily maintain versions of libraries, dependencies, and plugins within the multiple modules, a version catalog should be used.
Description
Currently, some of the libraries, dependencies, and plugins are repeated across various modules thus making it challenging to maintain their versions. A version catalog could be used to simplify this.
To achieve this:

A libs.versions.toml file should be created within the gradle folder containing all the libraries and plugins used, alongside their versions.

Acceptance criteria

The app's libraries and plugins are placed in the libs.versions.toml file, alongside their versions.
Dependencies within modules referenced via the libs.versions.toml file.

Moved to a different repository


text:
Animations containers

Implementation of Animations container to easily load them from a file, apply them to a model, which can then be drawn.
The ModelAnimations class is responsible for loading/unloading all data
The ModelAnimation class is an encapsulation of raylib's. It's used to access data related to the animation.

You should push your ressources folder

repo: AnonymusRaccoon/Bomberman


text:
Error in Azure Function

Hi,
I'm getting errors running this inside an Azure function on the simplest possible razor views:
"Illegal characters in path during compile"
Is this just not supported yet or is there a known workaround?
Workaround mentioned here with a static ReferenceResolver doesn't seem to help:
https://github.com/Antaris/RazorEngine/issues/456

Hello,
Azure Functions are subject of some file system limitations (described here and here) .
My best guess is that the Engine may use the file system for template caching in a way that does not comply with Azure Functions limitations.
Personally I ended up using another template engine where I can handle template caching by myself.

@bviale thanks, that's unfortunate.... Can I ask you which templating engine you used instead?

Westwind.RazorHosting seems to be promising..

I had this issue too, it seems to be related to using pre-compiled Azure functions as I was using the old .csx style with RazorEngine without issue. As soon as I rewrote everything to use the pre-compiled .cs functions, I get this error.

Running into the same issue with RazorEngine when using pre-compiled Azure functions. Funny thing is this was working until we did our latest deployment. I have had issues with Azure functions finding my templates in the past, but had gotten around them by embedding the template in my assembly.
Does anyone know if there is any way to disable file system caching RazorEngine is doing?

Got them working again. For anyone else looking for a temporary workaround, this exception was not thrown in earlier versions of Azure Functions. Until there is a fix in this repo, if you set the  FUNCTIONS_EXTENSION_VERSION setting in the Application Settings to 1.0.11247 (the last version I found that this was still working for), then things seem to work again. I'm guessing the Azure Functions team is restricting more of what can be written to the running directories, and the caching of RazorEngine is trying to write something to a temporary file/directory. More information about what is in each function version can be found here: https://github.com/Azure/azure-webjobs-sdk-script/releases
I have been trying to find where I could overwrite RazorEngine's file output, but it doesn't seem to be caused by the main template caching interfaces you can override in the config. Does anyone know of any other places that may be trying to write to a file on disk that we could override?

Another fix/workaround is to change the configuration of RazorEngine. As described in fix #466.
Create a new TemplateServiceConfiguration object.
var config = new TemplateServiceConfiguration();

Provide a custom implementation of IReferenceResolver (take one described in #466).
c.ReferenceResolver = new UseCurrentAssembliesReferenceResolver();

And assign it the static instance of RazorEngine.
RazorEngine.Engine.Razor = RazorEngine.Templating.RazorEngineService.Create(c);

The custom resolver implementation catches the exception and continues instead of failing.

I was just about to deploy my Azure Function using RazorEngine, when I bumped into this issue, which was quite worrying!
I just tested my function on a 32 bit Azure App Service - the free tier and it works! My production servcie runs 64 bit on a paid tier. Not tested yet.
These are my RazorEngine settings:
            // Find templates in a web application
            var webPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin", templatePath);
            // Find templates from a unit test or console application
            var libraryPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, templatePath);

            var config = new TemplateServiceConfiguration
            {
                TemplateManager = new ResolvePathTemplateManager(new[] { webPath, libraryPath })
            };

            config.DisableTempFileLocking = true;
            config.CachingProvider = new DefaultCachingProvider(t => { });

            _service = RazorEngineService.Create(config);

Using version 3.10.0 of RazorEngine.
Hope this helps other with similar problems.

@eigil-rosager that's an interesting solution, thanks for sharing. It seems like you're completely disabling caching like this, or am I wrong there? I'd be curious to see the performance impact on that.

Thanks for the comment @eigil-rosager ! Unfortunately, I still have the same error after trying your suggestion. My setup is slightly different, where I have moved my templates to be embedded in the binary instead of as separate files:
    private static Lazy<IRazorEngineService> _service = new Lazy<IRazorEngineService>(() =>
    {
        var config = new TemplateServiceConfiguration
        {
            TemplateManager = new EmbeddedResourceTemplateManager(typeof(RazorTemplateManager)),
            BaseTemplateType = typeof(HtmlTemplateBase<>)
        };

        config.DisableTempFileLocking = true;
        config.CachingProvider = new DefaultCachingProvider(t => { });
        return RazorEngineService.Create(config);
    });

Perhaps I will have to try restructuring a few things and remove them from being embedded to see if that in combination with your suggestion helps.

Hi there,
I have issues with using a class library that has the template files (inc. layout) as embedded resources in an Azure Function.  Just wondering if anyone has had any luck with a successful implementation?

https://github.com/Antaris/RazorEngine/pull/466
fixed it for me.

@MattyBearBytes, were you able to resolve the path format not supported issue?  I'm facing that one now after converting to a precompiled function from a service.

Hope this can help everyone
RazorEngine throw a NotSupportedException when compiling template in Azure Function
But I am still not satisfied because I would like to run RrazorEngine in another app domain

@csimone86 worked for me! THANK YOU!

authors: AlanParr MattyBearBytes billtyler bviale chandermani corsjune csimone86 eigil-rosager harmandeol lehn0058 zidad

repo: Antaris/RazorEngine


text:
IgnoreTags does not ignore  tag.

[X] bug report

OS and Version?

macOS(El Capitan: 10.11.6)

Versions
Output from: ng --version: 7.2.5
Repro steps
I have an arbitrary html which also has 'a' tags in it. So I added a tag in ignoreTags array, so that linkify should not process it. But it is still processing it.
Desired functionality
Suppose I have a string: 'I have a website with url http://www.example.com'.
The output I expect after applying linkifyjs is:
Suppose I have a string: 'I have a website with url http://www.example.com'.

please consider to open the issue in the native linkifyjs project here
this project is only an angular wrapper
thank you

repo: AnthonyNahas/ngx-linkifyjs


text:
Possibility to pause the downlod

Hi thanks alot for the great work.Is it possible to puse the downlod ?

I think so.  AbortController allows a Fetch to be stopped and the total bytes fetched value can be saved.  To resume, an HTTP range request could request the remaining bytes using the saved total bytes value.

What about writing part to the file in the users end?. Is it possible to reopen writeblestream with the same file ?

I'm not sure, I haven't done that before.

sure will give it a try and see thanks alot for the response :+1:

You're very welcome. I think adding a pause/resume feature could be nice to add as an example at some point.  I won't have time to devote to it now, unfortunately.  Reach out directly if you have any more questions. happy to help!

authors: Akayeshmantha AnthumChris

repo: AnthumChris/fetch-progress-indicators


text:
AGGIUNTA CASO D'USO

Aggiungere caso d'uso per la proposta di contest

Fixed


text:
AttributeError in DataLoader During Medical Semantic Segmentation Task

Description
An AttributeError occurred in a DataLoader worker process while executing a job within the GATE framework. This error happened during the test phase of a medical semantic segmentation task. The error details suggest that a NoneType object was encountered when the .keys() method was invoked on it, which implies an issue with data handling or collation.
Steps to Reproduce
Run the following command in the project's environment:
/disk/scratch_fast1/aantoni2/mambaforge/envs/gate/bin/python gate/run.py exp_name=alpha-medical-decathlon-heart-SIGLIP-P16-224-7 encoder=timm encoder.image_size=224 encoder.pretrained=True encoder.timm_model_name=vit_base_patch16_siglip_224 encoder.clip_model_name=openai/clip-vit-base-patch16 adapter=segmentation-adapter adapter.loss_type_id=md dataset=medical_decathlon_heart optimizer.lr=6e-06 optimizer.weight_decay=0.01 trainer=medical_semantic_segmentation evaluator=medical_semantic_segmentation num_workers=32 seed=7 train_batch_size=1 eval_batch_size=1 train_iters=10000 learner.evaluate_every_n_steps=500

Ensure all dependencies and configurations are set up as per the project's requirements in the GATE framework.
Expected Behavior
The DataLoader is expected to generate batches of data correctly, without resulting in an AttributeError, to facilitate the testing of a semantic segmentation model on the specified medical dataset.
Error Details
AttributeError: Caught AttributeError in DataLoader worker process 0.
Original Traceback (most recent call last):
  ...
    for key, values in zip(data[0].keys(), zip(*[d.values() for d in data])):
AttributeError: 'NoneType' object has no attribute 'keys'
Command '['/disk/scratch_fast1/aantoni2/mambaforge/envs/gate/bin/python', 'gate/run.py', ...]' returned non-zero exit status 1.

This error suggests an issue with the DataLoader's collate function or potential missing/malformed data entries.
Additional Context
This error might indicate:

An issue in how the DataLoader's collate function is processing the data.
Missing or NULL entries in the dataset which are not appropriately handled by collate_fn_with_token_pad.

Please investigate the data preparation process and how the DataLoader is configured to address the root cause of this AttributeError.

Fixed in https://github.com/AntreasAntoniou/GATE/commit/fb1f3f47ffd04b5ae4f2a43fe3638ed7f1827044

repo: AntreasAntoniou/GATE


text:
Merge pull request #5 from Anu86/Dane

Merge pull request #4 from Anu86/main

Github Pull request to merge branch with main


text:
fix: various issues preventing impersonated accounts and forks from working

What I did

fix: issue with static-fee txns where impersonated accounts failed without balance
fix: issue where transactions state was lost for proxy-based accounts
fix: forked config attr error
fix: issue with
fix: issue where we would reset the fork to a problematic base fee

fixes: https://github.com/ApeWorX/ape/issues/1783
How I did it
How to verify it
1: set gas price in CLI to default to 0
2: delete hack in code that is no longer necessary (at least I think it is no longer necessary??)

So i am referring to the set_code(0) part for impersonated contracts we were doing... we had to do that before but it seems we no longer need to? also it seems to cause problems... (one of many, unfortunately)
3: set self._fork_config.upstream_provider = upstream_name
4: delete the part in reset fork where we do self._make_request("anvil_setNextBlockBaseFeePerGas", [base_fee]) as that seems to cause problems and is no longer needed (again, is this actually no longer needed with this PR's changes?? because it just seems to cause problems otherwise that are fixed by deleting that  code).

Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

NOTE: Tests are failing because they require this PR: https://github.com/ApeWorX/ape/pull/1814

repo: ApeWorX/ape-foundry


text:
chore: update pins for ape 0.4.0

What I did
update pins for ape 0.4.0
How I did it
updated setup.py
How to verify it
pytest
Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

closing for pull 78

repo: ApeWorX/ape-hardhat


text:
bug: BaseModel error: AttributeError: 'super' object has no attribute 'getattr'

Environment information

OS: linux
Python Version: 3.10.13
ape and plugin versions:

$ ape --version
0.6.25

$ ape plugins list
# ...copy and paste result of above command here...

NOTE: unable to provide the last one due to another (probably unrelated?) error in plugin iteration.
What went wrong?
Accessing non-ape or model props on BaseModel results in an AttributeError.  Here's an repro example:
from ape.utils.basemodel import BaseModel

class MyModel(BaseModel):
    foo: str
    bar: int

m = MyModel(foo="abc", bar=123)
print("dump:", m.model_dump())

And raises the following:
Traceback (most recent call last):
  File "/home/mike/.venvs/ape-test/lib/python3.10/site-packages/ape/utils/basemodel.py", line 206, in __getattr__
    return super().__getattr__(name)
AttributeError: 'super' object has no attribute '__getattr__'. Did you mean: '__setattr__'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mike/dev/silverback/model_test.py", line 10, in <module>
    print("dump:", m.model_dump())
  File "/home/mike/.venvs/ape-test/lib/python3.10/site-packages/ape/utils/basemodel.py", line 227, in __getattr__
    raise ApeAttributeError(message)
ape.exceptions.ApeAttributeError: 'MyModel(foo='abc', bar=123)' has no attribute 'model_dump'

This occurs on both Pydantic v1 and v2.
Interestingly, m.dict() does work.  Presumably because __getattr__() is never called?  I'm not entirely sure.
How can it be fixed?
I'm not entirely sure, maybe __getattr__() shouldn't exist on Ape's BaseModel.  It seems that __getattr__() was removed from BaseModel back in v0.32.
@antazoey thoughts?

Just a note: model_dump() is NOT available on v1 so an AttributeError seems expected in that case.
I do notice that there is no super().getattr() though so that part can be reworked a little but I don't think it is causing any issues?
I guess I am a little confused on the main problem you are facing. dict() should work on v1 and for v2 proper you need to call model_dump(). If you are using v1 back imports, you must call dict().
Look at this PR for "proper" v2: https://github.com/ApeWorX/ape/pull/1674/files, it used model_dump() all over and it works because we are not using the v1 back imports anymore.
I am guessing you are trying to use v2 syntax on v1 back imports which is still pydantic v2 and perhaps that is why you are having issues. Use dict()!

OK - I noticed now you don't have control of where this gets called so in your case, you are unable to use pydantic v2 because Ape does not properly support it. It should soon though, as part of 0.7.

authors: antazoey mikeshultz

repo: ApeWorX/ape


text:
ros/include/ros/ros.h: No such file or directory  #include "ros/include/ros/ros.h"                                  ^

I got this error when building on Ubuntu 14.04 .. I manually installed the ros package but still the error occurs.

@MNaseerSubhani Are you building the code using docker ?

Yes...
On Fri, 12 Oct 2018, 19:28 KK, notifications@github.com wrote:

@MNaseerSubhani https://github.com/MNaseerSubhani Are you building the
code using docker ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ApolloAuto/apollo/issues/5860#issuecomment-429344789,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Alm-Ti6djRfyi29hDueMMu2lDM1_iDUlks5ukKcmgaJpZM4XYD4W
.

I am facing the same issue.

I think there is some dependencies issue .. Apollo is working well on google VM on Ubuntu 14.04.

I got this warning when update  the host .

Stale issue closed.

repo: ApolloAuto/apollo


text:
bazel 0.5.3 how to use cross-toolchain, for example, yocto sdk (aarch64)

I'm porting the Cyber RT to NXP S32V234 platform, and need to cross compile the Cyber RT with bazel, but there isn't any documentations about setting CORSSTOOL of bazel 0.5.3, according the bazel 0.21.0 docs, got lots of problems. So can i get some help from ApolloAuto about the questions?
1. how bazel 0.5.3 works well with cross-toolchian (for example, aarch64 SDK made from yocto) ?
2. how to porting the Cyber RT to ARM platform ?
thanks.

@jaloo2018 unfortunately you would have to look into the Bazel documentation. We do not have documentation that would help in this case.

@jaloo2018 I've been working on this from time to time as well.  Remember to build Fast-RTPS first.  There's a trick there as well, since the latest CyberRT code uses Fast-RTPS that's not compatible with the pre-built binaries in the apollo-platform repo.  Still work-in-progress for me.

@jian3os  Do you find a way to cross-compile in bazel 0.5.3 ?

authors: aboarya bssung jaloo2018 natashadsouza


text:
[7.3.x] GUVNOR-3394: [DMN Editor] Literal Expression: Line breaks for multiple line expressions

See https://issues.jboss.org/browse/GUVNOR-3394
Update to Lienzo version.
This is the corollary of https://github.com/AppFormer/uberfire/pull/849 for 1.3.x (7.3.x)
(cherry picked from commit 82bbfe804b941a24107932401a1a5d11d0724c47)

Part of an ensemble:-

https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/565
https://github.com/AppFormer/uberfire/pull/852
https://github.com/kiegroup/kie-wb-common/pull/1199

repo: AppFormer/uberfire


text:
Supersonic Data not sending requests to custom rest server

I've been using Super Sonic Data with no real issues for several weeks when randomly my app stopped sending requests to my server today.  Instead of sending the request to my API end point it is sending (and failing) to send a request to https://rest-api.appgyver.com/v2/
The correct URL paths are all showing within the SuperSonic data web panel, however within the cloud-resource.raml file is says the base uri is https://rest-api.appgyver.com/v1/ (Notice the V1, while requests are going to v2).
I can confirm that the baseUri in the Raml file is where the https://rest-api.appgyver.com/v2/ endpoint comes from.  I found a function in the ag-resource-loader-raml repo which replaces v1 with v2
I've reproduced this error in a clean blank steroids app
Steps to reproduce:

Create new app
Add custom rest data provider
Add resource
Attempt to load data custom rest endpoint/server
Server never receives request - instead request seems to be sent to wrong baseUri.

Issue seems to be resolved and was tied to an issue with https://rest-api.appgyver.com/v2/.  Apparently every time the app loads it asks https://rest-api.appgyver.com/v2/ for each resource endpoint information then goes from there.
I think this is a huge stability issue as everyones apps & development is dependent on https://rest-api.appgyver.com/v2/ staying up.
Leaving open for now until someone at App Gyver command confirms that that was the issue.

Issue seems to be resolved and was tied to an issue with https://rest-api.appgyver.com/v2/.  Apparently every time the app loads it asks https://rest-api.appgyver.com/v2/ for each resource endpoint information then goes from there.
I think this is a huge stability issue as everyones apps & development is dependent on https://rest-api.appgyver.com/v2/ staying up.
Leaving open for now until someone at App Gyver command confirms that that was the issue.

User contricuted repro about the slowness in https://github.com/xMarkusSpringerx/miss

Main issue https://github.com/AppGyver/steroids/issues/823

authors: dorthwein pre

repo: AppGyver/steroids


text:
"Uncaught TypeError: Cannot read property 'channel' of null - undefined:undefined"

I am always getting this error in the logs even when I run the example app unmodified.
(steroids create someapp -> cd someapp ->steroids connect)
AppGyver Steroids² 4.0.11
Chrome version: 40.0.2214.111

Are you running on iOS or Android? Also, we're coordinating all issues at https://github.com/AppGyver/steroids/issues/, so please open a new ticket there – closing this one.

authors: crocodile harsaharsa

repo: AppGyver/supersonic


text:
Where I can find the documentation of release/4.1 & when will the  release/4.2 will be stable?

Where I can find the documentation of release/4.1 & when will the  release/4.2 will be stable?

For changes in 4.1 see https://github.com/AppMetrics/AppMetrics/projects/21
Will be releasing a stable 4.2 soon

For changes in 4.1 see https://github.com/AppMetrics/AppMetrics/projects/21
Will be releasing a stable 4.2 soon

authors: alhardy lindalinya

repo: AppMetrics/AppMetrics


text:
labels not working on v2?

tried this code:
import SwiftUI
import SwiftUICharts

struct TestView: View {
    var body: some View {
        PieChart()
            .data([("Rent", 1300), ("Transport", 500)])
            .chartStyle(.init(backgroundColor: .greenRed, foregroundColor: [.redBlack, .orangeBright]))
    }
}

struct TestView_Previews: PreviewProvider {
    static var previews: some View {
        TestView()
    }
}

and no labels are shown. both in landscape and portrait mode.
results can be seen here: https://imgur.com/a/n1EDas0

Looking thru the code for V2, it really doesn't seems like it's implemented.
you can see that the code will separate out the DataPoints and the Label Strings, but it only uses the DataPoints and the Label Strings are not used at all. (at least I can't locate where they are within the BarChart codes)

https://github.com/AppPear/ChartView/issues/243#issue-1258260740

repo: AppPear/ChartView


text:
dep-scan does not detect python requirements.txt vulnerabilities

Neat work with the dep-scan :).
I just wanted to file an issue, which seems like a potential bug.
Issue:
While trying out against a simple requirements.txt file with the content, it detects as no vulnerabilities, while not being the same.
Django==2.2.8

Sample Output:
Command Ran:
export SCAN_DEBUG_MODE="debug"
scan -i ./

DEBUG [2020-09-29 22:23:46,548] Scanning using the bom file ./reports/bom-python.json
INFO [2020-09-29 22:23:46,672] No license violation detected ✅
DEBUG [2020-09-29 22:23:49,974] Vulnerability database loaded from /Users/xxxx/Library/Application Support/vdb/data.vdb
INFO [2020-09-29 22:23:49,975] To use GitHub advisory source please set the environment variable GITHUB_TOKEN!
DEBUG [2020-09-29 22:23:53,049] Vulnerability database contains 1948391 records
INFO [2020-09-29 22:23:53,049] Performing regular scan for ./ using plugin python
INFO [2020-09-29 22:23:53,049] Scanning 1 oss dependencies for issues
INFO [2020-09-29 22:24:39,343] No oss vulnerabilities detected ✅

This returns no vulnerabilities, well which is not the case as i did verify with vdb --search Django:2.2.8  and it has vulnerabilities.
Let me know if i'm missing something here or got the options wrong.
P.S: I tried debugging the issue, but it seems to point to the dependency vulnerability-db -> bulk_index_search returning NULL from what i could check.

Hi @torque59
Thank you :) This is an interesting find!
Running depscan cli directly is working fine for me
SCAN_DEBUG_MODE=debug python3 depscan/cli.py -i ~/sandbox/depcasetest

But I'm able to reproduce the error when this is invoked via the scan container image. The bom json files look identical so something else must be going wrong. Will investigate further.

Fixed in v1.8.6. Required an additional alias since the vendor for django is set as djangoproject. In general, the quality of NVD database is quite average. In a file called normalize.py several variations of the given package vendor combination would be created to identify and match the package names. Setting github_token would have helped pull some amount of data from github advisories which correctly uses the vendor name pip for django.

@prabhu Nice i was wondering the same, when i actually debugged with the variations being generated. Thanks for the quick fixes :)

repo: AppThreat/dep-scan


text:
Purchase Connector not working properly with Unity 2022.3.41 on Android API Level 34

Environment

Unity Version: 2022.3.41
Target Platform: Android
API Level: 34
AppsFlyer SDK Version: 6.13.0
Purchase Connector Version: 2.0.1
In App Purchasing Package: 4.12.2
External Dependency Manager Package: 1.2.181

I've got  same issue with this version too

AppsFlyer SDK Version: 6.13.10
Purchase Connector Version: 2.0.1

AppsFlyer SDK Version: 6.14.3
Purchase Connector Version: 2.0.2

Issue Description
We're facing an issue with the AppsFlyer Purchase Connector where revenue data isn't being logged on the event dashboard. During a purchase attempt in our Unity project, a runtime exception error occurs when using the connector.
Steps to Reproduce

Initialize the AppsFlyer SDK with standard configuration.
Make an in app purchase
Observe the following error:

Please advise on any potential workarounds or fixes that can be implemented to resolve this issue. Thank you for your assistance.
Logcat Output
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 [Other] [PurchaseConnector]: Failed to log new purchase

2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 java.lang.NoSuchFieldError: No field Companion of type Lkotlin/Result$Companion; in class Lkotlin/Result; or its superclasses (declaration of 'kotlin.Result' appears in /data/app/~~JHXDNuqmT6t4yGSB1DYvAg==/com.happytools.learning.kids.games-9aCeIJ8q55k6gbQ6TCqAyw==/base.apk)

2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at com.appsflyer.internal.connector.purcahse.AFPurchaseConnectorA1v$14469.toJsonMap(:208)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at com.appsflyer.internal.connector.purcahse.AFPurchaseConnectorA1v$14469.getOneTimePurchaseOfferDetails(:197)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at com.appsflyer.internal.connector.purcahse.AFPurchaseConnectorA1v$14469.getQuantity(:135)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at com.appsflyer.internal.connector.purcahse.AFPurchaseConnectorA1v$14469.InAppPurchaseEvent(:27)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at java.lang.reflect.Method.invoke(Native Method)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at com.appsflyer.internal.connector.purcahse.AFPurchaseConnectorA1v$14469$AFPurchaseConnectorA1y.toJsonMap(:465)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at com.appsflyer.internal.connector.purcahse.AFPurchaseConnectorA1t.onProductDetailsResponse(:101)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at com.android.billingclient.api.BillingClientImpl.zzn(com.android.billingclient:billing@@6.2.1:504)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at com.android.billingclient.api.zzaj.call(com.android.billingclient:billing@@6.2.1:7)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
2024.08.15 12:43:03.601 27292 27495 Error AppsFlyer_6.13.0 	at java.lang.Thread.run(Thread.java:1012)

We were missing -keep class kotlin.** { *; } in our ProGuard file. After reaching out Appsflyer support they were able to help me with this information.


text:
feat(Attribute): add basic support for enum attributes

Description
This PR adds bindings for enum attributes which can be used with Function.{addFnAttr, addParamAttr, addRetAttr} to add context to functions, function parameters and return values.
I am really not familiar with node-addon or C++ so do not hesitate to comment and/or edit the code.
Closes #23

Thank you very much for your PR, I will merge it and make some changes.

authors: ApsarasX nathsou

repo: ApsarasX/llvm-bindings


text:
Anomalychk Changes

Renaming Anomalychk to infinitychk for clarity -
Changing the codebase to avoid it being prone to length errors

Need to update a reference to that function on line 1588 of docs/Processes.md

I have done this in the docs_update branch

authors: mg-aquaq tszwailam

repo: AquaQAnalytics/TorQ


text:
le-connection-abort-by-local on home-assistant.log

Hello Arbuzov,
thanks for this great integration. I'm using it with a De Longhi Dinamica Plus and it works very well.
Since I have a lot of integrations and device i'm trying to clean up the home-assistant.log from any not useful log. Looking at the most frequent log I see these:
2023-01-19 11:47:12.573 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-01-19 11:47:27.580 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-01-19 11:47:39.233 WARNING (MainThread) [custom_components.delonghi_primadonna.device] BleakError: failed to discover services, device disconnected
2023-01-19 11:47:54.541 WARNING (MainThread) [custom_components.delonghi_primadonna.device] BleakDBusError: [org.bluez.Error.Failed] le-connection-abort-by-local
2023-01-19 11:48:12.579 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-01-19 11:48:19.824 WARNING (MainThread) [custom_components.delonghi_primadonna.device] BleakError: failed to discover services, device disconnected
they happens with a frequency of about 2 minutes. Are they a "normal" behavior? Currently my HA is installed onto a RP4 8MB and the coffee machine is located less than 2 meters away from RPI, so they should have a good communication channel.
HA is completely updated with latest changes:
Home Assistant 2023.1.5
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230110.0 - latest
Any ideas/advise to fix those messages?

No this is not normal. I am getting the same behaviour at my main home assistant but the lab instance work fine.
What bluetooth integration do you use?

I'm not using any other specific integration. The delonghi machine is the only one BT device that i control from HA.
Anyway, as hint, at the moment I had to move the RPI4 some meters away from the coffee machine (let's say almost 5 meters with a light wall in the middle) and now this is not connecting anymore and the message appears every 20 seconds:
2023-02-05 10:45:43.383 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:45:57.909 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:46:13.193 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:46:27.958 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:46:42.954 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:46:57.956 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:47:07.026 WARNING (MainThread) [custom_components.delonghi_primadonna.device] BleakDBusError: [org.bluez.Error.Failed] le-connection-abort-by-local
2023-02-05 10:47:27.967 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:47:42.967 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:47:57.967 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:48:12.970 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:48:38.256 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:48:53.259 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:49:08.258 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
is that the case when the machine is not reachable? The weird thing is that from log (before.. pls see timestamps) I see the machine has been discovered:
2023-02-05 10:45:33.101 WARNING (MainThread) [custom_components.delonghi_primadonna.config_flow] Discovered Delonghi device: 00:A0:50:26:9A:63 D1545233
If I try to Turn on ecam, the machine is not switching on anymore and on the log it appears this message:
2023-02-05 10:49:15.617 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/delonghi_primadonna/device.py", line 217, in power_on
await self._connect()
File "/config/custom_components/delonghi_primadonna/device.py", line 167, in _connect
await self._client.connect()
File "/usr/src/homeassistant/homeassistant/components/bluetooth/wrappers.py", line 249, in connect
connected = await super().connect(**kwargs)
File "/usr/local/lib/python3.10/site-packages/bleak/init.py", line 471, in connect
return await self._backend.connect(**kwargs)
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 190, in connect
assert_reply(reply)
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/utils.py", line 20, in assert_reply
raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.Failed] Operation already in progress
2023-02-05 10:49:15.625 WARNING (MainThread) [custom_components.delonghi_primadonna.device] BleakDBusError: [org.bluez.Error.Failed] br-connection-canceled
2023-02-05 10:49:38.262 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:
2023-02-05 10:49:53.263 WARNING (MainThread) [custom_components.delonghi_primadonna.device] TimeoutError:

This issue was caused by the BLEAK and was fixed by the home assistant OS update.
If it was not fixed, please let be know.

authors: Arbuzov paolo-rendano


text:
Create Stardew Valley Filler

My first draft for a Stardew Valley filler. No Fishsanity, early_progressive on QoL options.

The lack of variety here is... stark. I'd say, for fun, add more posibilities with starting money with a random-range. Have a chance of vanilla or thematic for bundle_randomization, and a chance for bundle_price: cheap to make things easier for people picking up a filler who might not be as experienced. I'm torn on goals; CC is really the best option, but maybe a small chance of one of the others to add some variety? Bottom of the Mines might be a good one, since it will offer some easier worlds for new players.
I still don't understand why someone would want debris_multiplier, so forcing it to half seems like an odd choice to me.
And turning gifting off seems like a huge mistake. It should be left open as an option to help struggling players. Also not sure why gift_tax is there if you set it off, but... 20 seems fine.

Also, it's not a .yaml file. Not sure if that would break things or not.

I agree on most accounts, except gifting. Gifting really breaks logic, since it basically means as soon as one Stardew world unlocks an item, ALL worlds with gifting have access to that item. You could fill out your entire CC (except for Gold Star Crops) just with gifts from other players and don't even need to get the logically required items for it, which I think is really against the spirit of the async.
Made some changes.

repo: ArchipelagoMW/AsyncTools


text:
🛑 Website is down

In 4919ffb, Website (https://archtec.niklp.net/) was down:

HTTP code: 0
Response time: 0 ms

Unknown error, confirmed.

repo: Archtec-io/statuspage


text:
Folia support

This should probably cut it though for folia support. Schedulers are separated both for spigot and paper (folia) and the open call is invoked on the player's thread. Command dispatching also moved to the proper schedulers.
I'm gonna be honest, I don't want to mess with maven local repository and with any annoying toolchain stuff to include this into AuraSkills to test it properly. Though you should be able to test it with the Folia PR on AuraSkills, and it should work properly. If not, tell me and I will fix it.

Need to change up the schedulers, it has a memory leak atm with the runTimer for the update task

So I tested both with paper and folia inside AuraSkills and this PR looks complete to me. Maybe a spigot test would be nice before merging, but it should run fine on spigot as well.

Just tested on spigot 1.21.1, works properly

repo: Archy-X/Slate


text:
Fix site title

Navbar title says "Coco and Akari, Welcome Back!" (for the more weebs of us, okaeri).

finally messed up and PR into the wrong repo...

repo: AreYouW/mano-aloe


text:
Bug: You can create site with empty fields "Git Repo Source"

Description

The backend returns a phrase where there are two spaces after "There is"

Preconditions:
If necessary
Reproduction steps:

Create new Static Site with empty fields "Git Repo Source"

Expected Result:
Error
What we really wanted to see, how it should work
Actual result:
Created successfully , but new site get Current status:  error_creating
What we see after we reproduced the bug
Environment:

OS:
Выпуск	Windows 11 Pro
Версия	22H2
Дата установки	16.10.2023
Сборка ОС	22621.3007
Взаимодействие	Windows Feature Experience Pack 1000.22681.1000.0

Priority(High, Medium, Low)

Low

Severity(Blocker, Critical, Major, Minor, Trivial)

Minor

Application:
Link to Allure report:
https://areso.github.io/Oblache/
Additional context

Yeap, I should check it.

Fixed

authors: Areso zomlik

repo: Areso/Oblache


text:
目前边下边播功能不够实用

版本

框架版本  3.8.15

建议
1，边下边播目前提供得方式过于简陋，自定义空间大是优点，但边下边播实际需要根据拖动得时间进度来查找对应的ts地址开始下载的一个过程，而demo中是直接把ts文件数量设置成进度，不太合理。
2，建议提前生成一个包含全部本地ts的索引文件，而不是最后所有ts下载完成后在生成索引文件，或者是提供具体的方法让用户实现
3，建议在M3U8Entity实体类中加入时间字段
如果框架内提供以时间段为基础的下载索引，在配合修改后的索引文件，边下边播才具备真正的意义，建议后期版本考虑优化一下

感谢这个建议，我后面考虑下改如何实现

repo: AriaLyy/Aria


text:
App hangs at "no search result"

Hello,
just compiled this app using my OpenWeather API key.
On first start, it says "No Search Result" after a few second.
Return Home > spinning wheel then same result again.
How do I get started with this app?
Many thanks

Same here any suggestion ?

I think the issue is caused by the OpenWeather API that is used in this version is the 2.5 and the new one is 3.0. I'll look into fixing this in the upcoming release.

fixed with the recent release, please take a look

authors: ArizArmeidi MicSoldier joejackson3

repo: ArizArmeidi/FlutterWeather


text:
二维码识别问题

pyzbar 识别出五个二维码，其中有一个宽度是 0px，在第一个二维码内部
暂时没想好怎么修，先放这儿

commit 8b3147c81fec8ff64f896f0a27ad8a6f75c70898

repo: ArkMowers/arknights-mower


text:
<printf.h> only available in glibc

<printf.h> is only available in glibc. Building from master with a musl toolchain fails, because printf.h is not found. Is printf.h only needed in debug build (DEBUG is defined)? At least, I can compile when guarding the include statement with #if DEBUG ... #endif.
EDIT: <printf.h> not <fprintf.h>

Sorry, but I don't understand your case...
There is no #include <fprintf.h> in the bluez-alsa codebase. Moreover, fprintf() is conforming to: POSIX.1-2001, POSIX.1-2008, C89 and C99.

Sorry, my bad! I meant <printf.h> not <fprintf.h>.

Thanks for the quick fix!

No problem ;)

authors: Arkq joerg-krause

repo: Arkq/bluez-alsa


text:
Hyperlinking for Jump to Editor too greedy

Given this story fragment
When something
!-- And something commented out
!-- More comment
(( blank line before Then here! ))
Then ....

when hovering over the When part with Ctrl held down, the hyperlink extends all the way down until Then, including the comment. It jumps correctly, seems to be a cosmetic issue.
It apparently only happens when there is a blank line before the next non-comment line.

you're right this is a side effect of Issue 21 comments are allowed within a step: thus comment is not anymore a stop keyword when scanning story.
One can try to remove the trailings comments for a better looking (i thought it was done)

It should be handled already at StepHyperLinkDetector.java#L32
final String partCleaned = Constants.removeTrailingComment(part.getContent());

authors: Arnauld dschneller

repo: Arnauld/jbehave-eclipse-plugin


text:
Created Textbook annotation and updated README.md.

See #12 for rationale.

Also adds several things to README.md that are unrelated but they can be separated into another pull request if this change is rejected.


text:
[CURATED PROJECT] Project #296

Project Title: Flux
Project ID: 296
Artist Channel ID: 963552505860616233

PR for this issue https://github.com/ArtBlocks/artbot/pull/259

repo: ArtBlocks/artbot


text:
Fixes issue #99

minor edits to get artbot working again

ty for the catch, I need to set up a local test env

authors: aaronpenne ryley-o


text:
Speed Up API Calls with Concurrent Programming

I think we should be able to speed the API call's using concurrent programming with Python's standard library package asyncio.
Some information on how to implement this by Arjan: https://www.youtube.com/watch?v=GpqAQxH1Afc

Maybe we can start with the BRO API. That's the most modern API so that should work. Additionally, the requests to the BRO are big so concurrent programming should give the most benefit here.

repo: ArtesiaWater/hydropandas


text:
Question about the answers of datasets

Dear authors,
Thank you for your amazing contributions to this filed. I'm wondering whether your genration results with cot or bag prompting skills will be released？
Best,
ZY

Thank you for your interest! We did not keep the generation results. They can be reproduced easily.

authors: Arthur-Heng Wilboludriver

repo: Arthur-Heng/NLGraph