Simplify applyMiddleware

Breaking up #3566 into smaller pieces.
This PR simplifies the types of applyMiddleware by replacing all the overloads with a single generic function signature that infers the union of any/all Dispatch types provided into a single StoreEnhancer. This implementation has the added benefit that you can provide as many middlewares as you want w/o maxing out at just 5.

Looks good and much easier to read through this way. Thanks, Jed!

Let me give a stab at some tests.

Nope, this doesn't work the way I thought. The tests prove that. Side note, it doesn't work this way before my changes either. Should I submit a PR with breaking tests to show you what I mean? Or is my assumption incorrect?

  it('combines Dispatch types from all middlewares', () => {
    const foo: Middleware<any, any, Dispatch<{ type: 'foo' }>> = ({
      dispatch
    }) => _next => _action => dispatch({ type: 'foo' })
    const bar: Middleware<any, any, Dispatch<{ type: 'bar' }>> = ({
      dispatch
    }) => _next => _action => dispatch({ type: 'bar' })

    const store = createStore(x => x, applyMiddleware(foo, bar))

    store.dispatch({ type: 'foo' }) // OK
    store.dispatch({ type: 'bar' })  // OK
    store.dispatch({ type: 'baz' }) // not OK
  })

The part TS doesn't like is applyMiddleware(foo, bar), because bar isn't of the same type as foo. Need to rethink this a bit, I think.


Update de-DE.coffee

Translated new lines.

Coverage decreased (-35.2%) to 21.065% when pulling d38a070219b852af66691d63159a54dd0615e220 on joca16:patch-9 into d706e8dd6664c9d2372752986797ef12a2434e36 on codecombat:master.

Coverage remained the same at 56.244% when pulling 45fc5b79873e47f1c2f35233f2a748fa0657c816 on joca16:patch-9 into d706e8dd6664c9d2372752986797ef12a2434e36 on codecombat:master.

Thanks!


Build VirtualBox for old version target, and newer version (7.0 and 7.1)

Is your feature request related to a problem? Please describe.
Yes. building VirtualBox 5.0.40, it uses QT4. however, this script uses QT5, likely causing compability issues.
because VirtualBox 5.0 has no option like --with-qt5= and only available --with-qt4=
Even for VirtualBox 7.1 (Currently Beta), which will be released later, this option is also required to use QT6.
OpenSSL also causes it. (--with-openssl=)
Describe the solution you'd like
Please make an legacy/new scripts that Builds old VirtualBox.
Not only for 6.1, 6.0 and earlier even 4.x.
Describe alternatives you've considered
Making a section that will build QT4 or QT5.
Additional context
None.

Thank you for your report! It wouldn't be so hard to support qt4 and qt6 since it would be similar to supporting qt5. Let me handle this with the other issues soon.

Also, we have to update download link because the openssl link is dead.
OpenSSL 32bit: https://web.archive.org/web/20210127082730/https://slproweb.com/download/Win32OpenSSL-1_1_1i.exe
OpenSSL 64bit: https://web.archive.org/web/20210127082627/https://slproweb.com/download/Win64OpenSSL-1_1_1i.exe


Feature/space breakpoints

https://werkbotstudios.teamwork.com/app/tasks/31552876
Summary

Added the ability to specify the padding/spacing per responsive breakpoint

Testing Steps

[x] Test with Erie Injury (Any site really) - be sure to rebuild your sass with this in place
[x] Try to override default spacing classes by adding fw-space-tablet-double, fw-space-phone-half etc...(In templates or even in the inspector)
[ ] Confirm this works as expected
[ ] Confirm the default desktop spacing works as it did before

Issues/Concerns

This should not break any previous sites, just adds extra functionality

Git Flow

DO NOT delete "release/*" or "hotfix/*" branches after merging a PR. These are used to publish the next release, and they are deleted automatically.
"Squash and merge" is good on "feature/*" into "develop"
"Create a merge commit" is good on "release/*" or "hotfix/*" into "master"

@tiller1010 Give this another look when you can

But the positional padding classes do not work on desktop. If I were to add a "doubleleft" class, "fw-space.fw-space-tablet-doubleleft" works as I would expect, but "fw-space doubleleft" does not.

I forgot to add the code for that section

Also, we could use a $positions list to reduce the amount of code...

Nice, I like this - updated


cleint/src/lib.rs PubsubClientError::UnexpectedErrorMessageError

After bypassing the error described here
an avm install latest
returns:
   Compiling anchor-client v0.28.0 (.cargo\git\checkouts\anchor-50c4b9c8b5e0501f\e1afcbf\client)
error[E0599]: no variant or associated item named `UnexpectedMessageError` found for enum `solana_client::nonblocking::pubsub_client::PubsubClientError` in the current scope
   --> client\src\lib.rs:252:77
    |
252 |                     ClientError::SolanaClientPubsubError(PubsubClientError::UnexpectedMessageError(
    |                                                                             ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `PubsubClientError`

You need to use versions 1.16 of the Solana crates

Can you share full logs? This looks like a cache issue because avm uses locked versions for dependencies which should get 1.16.
anchor-client issue with 1.14 is fixed in #2572 but it shouldn't affect avm install latest.
Try installing the latest CLI with:
cargo install --git https://github.com/coral-xyz/anchor anchor-cli --locked --force

Both of the issues might be happening only on Windows(haven't seen anybody else report them), it's recommended to use WSL for Solana development on Windows.

I deleted my .cargo/git/checkouts and started fresh to better understand where this might be a user error.
In order to use cargo install --git https://github.com/coral-xyz/anchor anchor-cli --locked --force
I must edit /avm and /cli Cargo.toml file to use tokio 1.28.0
without /avm or /cli edited I receive:

error[E0793]: reference to packed field is unaligned
--> .cargo\registry\src\index.crates.io-6f17d22bba15001f\ntapi-0.3.7\src\ntexapi.rs:2807:25
|
2807 |         ((read_volatile(&(*USER_SHARED_DATA).u.TickCountQuad)
**with /avm edited and not /cli I receive:**
$ cargo install --git https://github.com/coral-xyz/anchor anchor-cli --locked --force
    Updating git repository `https://github.com/coral-xyz/anchor`
warning: skipping duplicate package `relations-derivation` found at .cargo\git\checkouts\anchor-50c4b9c8b5e0501f\cf057ac\tests\relations-derivation\programs\relations-derivation`
warning: skipping duplicate package `swap` found at `.cargo\git\checkouts\anchor-50c4b9c8b5e0501f\cf057ac\tests\swap\programs\swap`
warning: skipping duplicate package `shared` found at `.cargo\git\checkouts\anchor-50c4b9c8b5e0501f\cf057ac\tests\typescript\programs\shared`
warning: skipping duplicate package `shared` found at `.cargo\git\checkouts\anchor-50c4b9c8b5e0501f\cf057ac\tests\zero-copy\programs\shared`
  Installing anchor-cli v0.28.0 (https://github.com/coral-xyz/anchor#cf057aca)
    Updating crates.io index
error: failed to select a version for `tokio`.
    ... required by package `avm v0.28.0 (C:\Users\sammy\.cargo\git\checkouts\anchor-50c4b9c8b5e0501f\cf057ac\avm)`
versions that meet the requirements `^1.28.0` are: 1.29.1, 1.29.0, 1.28.2, 1.28.1, 1.28.0

all possible versions conflict with previously selected packages.

  previously selected package `tokio v1.14.1`
    ... which satisfies dependency `tokio = "~1.14.1"` of package `anchor-cli v0.28.0 (C:\Users\sammy\.cargo\git\checkouts\anchor-50c4b9c8b5e0501f\cf057ac\cli)`

failed to select a version for `tokio` which could resolve this conflict

This allows me to bypass those errors.
Now, I experience the error documented here
error[E0277]: the trait bound `solana_program::pubkey::Pubkey: BorshSerialize` is not satisfied
  --> lang\src\idl.rs:35:10
   |
35 | #[derive(AnchorSerialize, AnchorDeserialize)]
   |          ^^^^^^^^^^^^^^^ the trait `BorshSerialize` is not implemented for `solana_program::pubkey::Pubkey`
   |
   = help: the following other types implement trait `BorshSerialize`:
             &T
             ()
             (T0, T1)
             (T0, T1, T2)
             (T0, T1, T2, T3)
             (T0, T1, T2, T3, T4)
             (T0, T1, T2, T3, T4, T5)
             (T0, T1, T2, T3, T4, T5, T6)
           and 81 others
   = help: see issue #48214
   = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)

cargo update -p solana-zk-token-sdk --precise 1.14.19
cargo update -p<EMAIL_ADDRESS>--precise 0.9.3
allows the install to complete.  however as @Aursen stated, this looks like it uses downgraded solana-crates.
   Compiling solana-metrics v1.14.19
   Compiling solana-measure v1.14.19
   Compiling solana-zk-token-sdk v1.14.19
   Compiling solana-remote-wallet v1.14.19
   Compiling solana-net-utils v1.14.19
   Compiling solana-config-program v1.14.19
   Compiling solana-clap-utils v1.14.19
   Compiling solana-streamer v1.14.19
   Compiling solana-cli-config v1.14.19
   Compiling spl-token-2022 v0.6.1
   Compiling solana-faucet v1.14.19
   Compiling solana-account-decoder v1.14.19
   Compiling spl-associated-token-account v1.1.3
   Compiling solana-transaction-status v1.14.19
   Compiling solana-client v1.14.19
Replaced package `avm v0.28.0 (https://github.com/coral-xyz/anchor#cf057aca)` with `anchor-cli v0.28.0 (https://github.com/coral-xyz/anchor#cf057aca)` (executable `anchor.exe`)

Now, the avm install latest again results in:
.cargo\registry\src\index.crates.io-6f17d22bba15001f\ntapi-0.3.7\src\ntexapi.rs:2783:52
     |
2783 |         *tick_count.QuadPart_mut() = read_volatile(&(*USER_SHARED_DATA).u.TickCountQuad);
     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I again re-edit_ avm & cli Cargo.toml to use tokio 1.28.0. (this doesn't feel right)
and reissue avm install latest returns
**Compiling solana-client v1.14.20
Compiling anchor-client v0.28.0 (.cargo\git\checkouts\anchor-50c4b9c8b5e0501f\e1afcbf\client)
error[E0599]: no variant or associated item named UnexpectedMessageError found for enum solana_client::nonblocking::pubsub_client::PubsubClientError in the current scope
--> client\src\lib.rs:252:77
|
252 |                     ClientError::SolanaClientPubsubError(PubsubClientError::UnexpectedMessageError(
|                                                                             ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in PubsubClientError

@acheroncrypto fixed it with #2572

Thank you.

Closing this as it's fixed in #2572.

@Sam-Berman1 is this issue resolved, I'm experiencing the same problem


booting RancherOS with not enough memory quietly fails to mount the RANCHER_STATE

we did an install with a cloud-config that added the ssh key and set the ubuntu console
the vm only had 768MB ram, and raised no errors, but the ssh key was not there, the console was default, and the /var/lib/rancher/conf/cloud-config.d/user_config.yml is missing.
turns out /dev/sda1 was also not mounted...
clearly, we need to bubble up the cloud-config errors, if we're booted from ISO / disk and other important states to the user when they login - not just on the console, but also if they ssh in.

[ ] add unit tests exposing this by setting restricted memory
[ ] add some obvious way to show the boot type, error state, and if our state ~~ desired state

#cloud-config
rancher:
  console: ubuntu
ssh_authorized_keys:
  - ssh-rsa AAAAB3NzaC1yc2E...

with 768MB fails to load sda


Add another more complex test for bitfield accessors

Might be useful for people trying to implement the #[bitfield] proc macro.

Btw.: Can I also make a PR for a solution to my attempt at bitfield here for a review once I am done?

I merged your 03-access_complex.rs test case from the first commit. Thanks!

I adjusted the bitfield implementation so that it now mirrors the spec completely.
-> Removed the one additional test case.
-> All test cases are now 100% the ones from master


feat: support @nuxt/fonts

🔗 Linked issue
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Introduced @nuxt/fonts with reference to PR (feat: move to @nuxt/fonts).
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have added tests (if possible).
[ ] I have updated the documentation accordingly.

Hi @danielroe.
I have introduced it based on your PR. Please review it when you have a time. 🙏

Thank you!

@Atinux
Thanks for merged!


Sprint 4 - Team 4: Make designs for the background of the timer, and the pause and resume button

Description
Task: Make designs for the background of the timer, and the pause and resume button.
Feature: Countdown Clock (#3 )
Appropriate designs should be made for the background of the countdown timer, and the pause and resume buttons. The purpose of making the designs is to make the countdown clock a larger presence in the game. The players' win/loss depends on the time as well, so it should be a feature that stands out to the players. Adding design to the timer feature will also enhance the visuals of the game, which is important since design can be a big motivation for players to play any game.
Milestones
List of steps that need to be completed for this task.

[ ] Designs should be created in Illustrator/photoshop (any software which allows creation of pixel art) (Oct. 17)
[ ] Designs to be implemented into the game screen (Oct. 18)

Completion Deadline: Oct. 18
Member

Hai Suyang (@HAISUYANG )
Kevin (@Kebinzzz )
Rio (@riotanabe )

10/10/2022
Temporary Designs were created for the purpose of planning; the amount of space on the screen to take, how should the timer widget look...

Designs created by @Kebinzzz and @HAISUYANG
Resume Button

Timer Background

Pause Button

See Countdown Clock Wiki for design process.


[DNM] explore tracing performance

Signed-off-by: zhongzc<EMAIL_ADDRESS>What problem does this PR solve?
Investigate how to minimize performance loss to introduce tracing.
See: #5714

/bench +sysbench +tpcc +tpch

/bench +sysbench +tpcc +tpch

/bench +sysbench +tpcc +tpch

/bench +sysbench +tpcc +tpch

/bench +sysbench +tpcc +tpch

/bench +sysbench +tpcc +tpch

/bench +sysbench +tpcc +tpch


DIPImage on MATLAB crashes (Mac OS)

[created for Oscar D. Herrera, reported via<EMAIL_ADDRESS>Component
DIPimage 3.2
Describe the bug
I was hoping if someone can help me address an installation issue I’ve been having with my DIPimage install on MacOS.  I followed the procedures and managed to install the software as recommended. I can open DIPImage and load an image.  When I try to perform a morphology option, MATLAB crashes and no report is written.
I load DIPImage as:
addpath(‘/usr/local/share/DIPimage/’)

Any suggestions to troubleshoot this issues would be appreciated and thank you,
System information:

macOS
Matlab R2021a

There's not a lot of information here. Do other functions work? Is this similar to the FFTW issue that @ronligt found?

This message is from Oscar:
I think we can close this issue - I believe I found a work around (technically it is in the installation procedures). Sorry for all the back and forward.
I essentially recompile with CMake but using gcc instead of the native compiler. So:
Instead of
cmake ..

I did
cmake .. -DCMAKE_CXX_FLAGS="-march=native" -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11

Afterward, ran MATLAB and called the path as recommended. DIPimage worked and no crash so far.
I am new to these steps so I may not be explaining it well but the procedures does provide this alternative path instead of using Clang. Plus the 'native' option.


Search

[ ] /search/ - search for everything. The results should be grouped by type (tracks, albums, playlists, people), each type contains a few items

1e4638f83bc58b20ed0362be6b9ef10b4bafd416


Getting exception in deleting currency.

Framework Version: 0.1.3
Test Steps:
1.Create a currency other than base currency.
2.Now create exchange rate of usd equal to 1.
3. Create exchange rate for other generated currency.
4. Delete the exchange rate of generated currency.
5. Now delete USD from currency.

Framework Version: 0.1.4
Now on deleting the USD getting SQL State error message

Framework Version: 0.1.4
Issue Fixed


AttributeError: 'CompressedLinear' object has no attribute 'weight'

from transformers import AutoModel
model = AutoModel.from_pretrained("nm-testing/tinyllama-one-shot-w4a16-group-packed")

AttributeError: 'CompressedLinear' object has no attribute 'weight'

This model was compressed with a different format.


Create with non-zero defaults ignores values being inserted

When a struct has gorm default set to a non-zero value, if the value being created is a zero value, it will be ignored and the default will be used.
type Source struct {
  gorm.Model
  Name             string
  URL                string `gorm:"unique;unique_index"`
  Cache             bool  `gorm:"default:true"
}

source := Source{
	Name: "Test",
	URL:    "https://test.com",
	Cache: false,
}

db.Create(&source)

The output:
[5.831ms] [rows:1] INSERT INTO `sources` (`created_at`,`updated_at`,`deleted_at`,`name`,`url`,`cache`) VALUES ("2022-08-04 14:26:16.065","2022-08-04 14:26:16.065",NULL,"Test","https://test.com",true) RETURNING `id`

The expected behavior should be:
[5.831ms] [rows:1] INSERT INTO `sources` (`created_at`,`updated_at`,`deleted_at`,`name`,`url`,`cache`) VALUES ("2022-08-04 14:26:16.065","2022-08-04 14:26:16.065",NULL,"Test","https://test.com",false) RETURNING `id`

After some additional testing, I changed the description.
When a struct has gorm default set to a non-zero value, if the value being created is a zero value, it will be ignored and the default will be used.

duplicated of https://github.com/go-gorm/gorm/issues/5541

This is similar to #5541 but not a duplicate.  #5541 only addresses bool values.  The issue is related to creating a record with a zero value that has a non-zero default.

If a value is zero, there is no way to tell whether it is a default value or a user-specified value. You can also use *bool to tell us it is specified value

The reason here also applies to other zero-value types

Is there a way to force it to create with the zero value?  I can update with zero values with db.Select("*").Updates(&source).  Is there a similar method for Create()?

Not currently supported, are you interested in creating a PR for this?

I would be interested if I understood all the pieces that need to be updated to support this.  I'm using sqlite3.
Without this capability, the gorm defaults don't really work.  The idea with defaults is to provide a value when the input does not provide one.  In the current implementation, the default value is used unless the input provides another non-zero value.
If you set the default for a bool to true, it will be created as true 100% of the time.
If you set a string default to some value, it can never be created with a zero value.


[Bp-15073} fix regresion from https://github.com/apache/nuttx/pull/14881

Summary
fix regresion from https://github.com/apache/nuttx/pull/14881
reason:
svc call may trigger hardfalt
Background
The origin of this issue is our desire to eliminate the function of storing
"regs" in g_current_regs and instead utilize (*running_task)->xcp.regs for storage.
The benefits of this approach include faster storage speed and
avoiding multiple accesses to g_current_regs during context switching,
thus ensuring that whether returning from an interrupt or an exception,
we consistently use this_task()->xcp.regs
Issue Encountered
However, when storing registers, we must ensure that (running_task)->xcp.regs is invalid
so that it can be safely overwritten.
According to the existing logic, the only scenario where (running_task)->xcp.regs
is valid is during restore_context. We must accurately identify this scenario.
Initially, we used the condition (running_task)==NULL for this purpose, but we deemed
this approach unsatisfactory as it did not align well with the actual logic.
(running_task) should not be NULL. Consequently, we adopted other arch-specific methods for judgment,
but due to special logic in some arch, the judgment was not accurate, leading to this issue.
Solution:
For armv6-m, we haven't found a more suitable solution, so we are sticking with (*running_task)==NULL.
For armv7-m/armv8-m, by removing support for primask, we can achieve accurate judgment.
PRIMASK is a design in armv6-m, that's why arm introduce BASEPRI from armv7-m. It's wrong to provide this option for armv7-m/armv8-m arch.
Impact
armv6-m
armv7-m
armv8-m
Testing
CI

[Experimental Bot, please feedback here]
Yes, this PR appears to meet the NuttX requirements, although some sections could be more explicit.
Strengths:

Clear problem description: The summary explains the regression, its root cause (incorrect register storage), and the attempted solutions.
Solution explained: The approach for armv6-m, armv7-m, and armv8-m is outlined.  The reasoning behind removing PRIMASK support is provided.
Links to related PR: The summary references the PR that introduced the regression.

Weaknesses/Areas for Improvement:

Impact Section is Insufficient:  The impact section simply lists architectures.  It needs to explicitly address all the points in the template: user impact, build impact, hardware impact, documentation, security, compatibility.  For example, will removing PRIMASK support break any existing user code? Are there any backwards compatibility issues? Even if the answer is "NO" for each item, it should be stated explicitly.
Testing Section Lacks Detail: "CI" is not enough information.  List the specific CI configurations that were tested (e.g., QEMU-armv7-m, some specific hardware board). Provide snippets of the relevant log output demonstrating the fix. The "Testing logs before change" and "Testing logs after change" sections are empty. Show specific commands used for testing.
Missing Issue Reference: While the regressing PR is linked, an issue referencing the regression itself would be helpful for tracking.
Summary could be more concise: While the background is helpful, the summary itself could be shorter by focusing on the core problem and solution. For example: "Fixes a regression introduced in #14881 where svc calls could trigger a hard fault due to incorrect register storage.  The fix involves using (*running_task)==NULL as a condition on armv6-m and removing PRIMASK support for armv7-m/armv8-m to ensure correct register handling."

Recommendation:  Expand the Impact and Testing sections with specific details.  Consider adding a related NuttX issue. Condense the summary slightly while retaining essential information.

Sorry, I missed this PR before it was merged, but this PR breaks High Priority, Zero Latency Interrupts!
See the help text for ARMV7M_USEBASEPRI, which was removed in this PR:
config ARMV7M_USEBASEPRI
	bool "Use BASEPRI Register"
	default ARCH_HIPRI_INTERRUPT
	depends on ARCH_CORTEXM3 || ARCH_CORTEXM4 || ARCH_CORTEXM7
	---help---
		Use the BASEPRI register to enable and disable interrupts. By
		default, the PRIMASK register is used for this purpose. This
		usually results in hardfaults when supervisor calls are made.
		Though, these hardfaults are properly handled by the RTOS, the
		hardfaults can confuse some debuggers. With the BASEPRI
		register, these hardfaults, will be avoided. For more details see
		https://cwiki.apache.org/confluence/display/NUTTX/ARMv7-M+Hardfaults%2C+SVCALL%2C+and+Debuggers
		WARNING:  If CONFIG_ARCH_HIPRI_INTERRUPT is selected, then you
		MUST select CONFIG_ARMV7M_USEBASEPRI.  The Kconfig dependencies
		here will permit to select an invalid configuration because it
		cannot enforce that requirement.  If you create this invalid
		configuration, you will encounter some problems that may be
		very difficult to debug.

Also see https://nuttx.apache.org/docs/latest/guides/zerolatencyinterrupts.html
Important note: If this feature is removed from NuttX, then NuttX is completely useless to me and my employer! We depend on the Zero Latency Interrupts for critical parts of our firmware!

Please see Issue #15100


installation issue

hello friends:
I found I got an error when I was trying to install the latest triton, and run my triton codes.
my machine A100, and my cuda is 11.8
ImportError: /home/lclcq/.triton/cache/c6a7b91a416b1ca1efa1318c10a89f87/cuda_utils.so: undefined symbol: cuTensorMapEncodeTiled

someone knows why?
Thank you!

Installing cuda 12 should solve this

兄弟后来怎么解决了，同样的问题


Trouble integration in android

Hello,
If possible can you provide one android example?
Thanks.

+1 #94


Clean up and share more code between reference and optimized svdf implementations

This came up during the review for https://github.com/tensorflow/tensorflow/pull/47914/ but is not unique to that particular PR.
The underlying issue appears to be that the reference implementation of svdf can likely be refactored into smaller function which can then be shared between the optimized and reference implementations.
SVDF is a very specific operator only really used for one model, so the refactor is not high priority at this time.

Closing as obsolete.


When typecasting to EventCollectionNftIssued, Set Type variables of objects are returned as Array Type variables.

Default information

lbd-sdk-js version: 1.4.0
nodeJs version: e.g. v10.x.x.
module-type(specify type value in package.json): e.g. commonJs

Description of the bug
When typecasting to EventCollectionNftIssued, Set Type variables of objects are returned as Array Type variables.
Example codes
var txEvent1 : EventCollectionNftIssued = responseV2.responseData.events[0]
// If you see txEvent1 via Debugging, tokenAttributes type is Array
Error logs
Please add error logs from the bug
Anything else we need to know

resolved in https://github.com/line/line-blockchain-developers-sdk-js/pull/97


Protect doesn't see config file

commit dd9b4c7661de6e11e5af7dd0ea0d5304cc60b33e
ProTECT --config_file my_parameters.yaml /mnt/data
gets
ParameterError: The config file was not found at specified location. Please verify and retry.

Also, for some reason the error is written to STDOUT instead of STDERR.
full output at http://hgwdev.cse.ucsc.edu/~jeltje/toil/protect.log

you need to provide the full path because new toil puts you into the worker sandbox during runtime

i'll point that out in the manual

Then you need to explain that in the manual

Great minds


dynamicRefreshSources impact on DNS caching

Bug Report

Current Behavior
In Issue #338 I mentioned we experienced a problem around the use of AWS Elasticache and Lettuce not following DNS changes.
I eventually tracked this down to the way the dynamicRefreshSources is implemented. When set to true (default) then on startup the initial seed nodes are resolved and connections established. From that point onwards the DNS entries are never reresolved so if the entire cluster were to change the application looses connectivity permanently (until restart).
When dealing with elasticache most likely only individual nodes would change most of the time however when creating a cluster it's necessary to pick a maintenance window during which the cluster may not be available. I think it's entirely possible that after this window all of the underlying VMs may have changed.
Input Code
This is the way we connect which exhibits the problem. To reproduce easily (without waiting for maintenance windows etc) delete the elasticache cluster and create a new one of the same name. All of the underlying IP addresses will then change.
ClusterTopologyRefreshOptions topologyRefreshOptions = ClusterTopologyRefreshOptions.builder()
                .enablePeriodicRefresh(Duration.ofSeconds(30))
                .dynamicRefreshSources(true)
                 .enableAllAdaptiveRefreshTriggers()
                .build();
        ClientOptions clientOptions = ClusterClientOptions.builder()
                .topologyRefreshOptions(topologyRefreshOptions)
                .build();

        RedisClusterConfiguration redisClusterConfiguration = new RedisClusterConfiguration(clusterNodes);
        LettuceClientConfiguration lettuceClientConfiguration = LettuceClientConfiguration.builder()
                .clientOptions(clientOptions).build();

The Lettuce implementation of dynamicRefreshSources  can be seen here https://github.com/lettuce-io/lettuce-core/blob/master/src/main/java/io/lettuce/core/cluster/RedisClusterClient.java#L1052
Setting dynamicRefreshSources to false fixes the problem for us because it goes back to the initialUris and resolves them from hostnames.
Environment

Lettuce version:  5.0.4.RELEASE
Redis version: 3.2.6 (AWS Elasticache)
Spring boot: 2.0.2.RELEASE

Possible Solution
I don't know if this issue is a bug exactly but I think at a minimum it would be helpful to update the documentation so it's more obvious what the impact of that setting is in relation to DNS. The documentation does reference DNS in other areas and allows you to set other DNS resolvers but that has no impact because no attempt is being made to resolve DNS.
For an actual code fix the only thing I can think of is to resolve the initialUris when all hosts are marked as being down or having that as setting since the current solution means all connections are thrown away every time.

I think you might reference the wrong issue in your opening line

This isn't exactly what happens here. Lettuce resolves hostnames at two times:

When connecting
When reconnecting

Depending on the used DNS resolver (Default to JVM), caching may apply which interferes with DNS-based failover. Typically, Lettuce attempts to reconnect by using the known hostnames from either the initial seed URI or the known partition.
Using AWS ElastiCache, I'd recommend to not use dynamicRefreshSources as the DNS name for the entry point should be assumed stable. Using DirContextDnsResolver performs DNS lookups without caching. This may be, depending on the case, good or bad.
Can you elaborate on

the initial seed nodes are resolved and connections established. From that point onwards the DNS entries are never reresolved

How did you conclude that DNS entries are never reresolved? I wasn't able to reproduce this case (given that the JVM is configured accordingly, see Setting the JVM TTL for DNS Name Lookups).

I'm observing the DNS behaviour two ways

Enabling logging debug and observing the output of the ConnectionWatchdog. This showed the application was forever trying to connect to the old IP addresses.

TCP dump on port 53 to print out outgoing DNS requests (tcpdump -i eth0 udp port 53). From this I can see the initial requests going out as well as other hostnames the application connects to being periodically resolved (with the JVM TTL set) but not the redis hostname(s).

According to the lettuce docs the default resolver is netty's DNS resolver since 4.4. I did try setting it to use the JVM resolver via
ClientResources clientResources = DefaultClientResources.builder().dnsResolver(DnsResolvers.JVM_DEFAULT).build();
But it didn't make any difference. I also tried using new DirContextDnsResolver() to use no caching at all.
From what I've seen the partition list is always used with the IP address that was initially resolved when connecting the first time.
I'll put together a simple spring boot application to demonstrate the issue.

I've created a small hello world app based on the spring boot starter application here https://github.com/stuartharper/gs-spring-boot
The application can be launched via initial/gradlew bootRun
Access localhost:8080 will cause the application to write a key "Hello" and value "World" into the configured redis cluster. This will then be immediately read back as well. io.lettuce is set to debug so the connection details can be observed.
Configuration of redis is via \initial\src\main\resources\application.properties
redis.hosts is the server:port to connect to and redis.dynamicRefreshSources controls the dynamicRefreshSources behaviour.
Scenarios I tested:

Creating an AWS Elasticache cluster (clustered, engine 3.2.6, 1 shared with 2 replicas, multi-az) and allowed the application to connect to it and write in a value. While the application remains running delete the cluster and recreate it with the same name.

Two separate clusters of standard redis 3.2.9 with 3 nodes each. Using the local hosts file I simulated a DNS change from one cluster to the next.

Results:

With redis.dynamicRefreshSources set to true the application continues trying to access the IP address of the original Elasticache cluster even after local ping has been updated to the new IP. I left it running overnight and the application connection remained broken.

With  redis.dynamicRefreshSources set to false the application reconnects to the updated cluster around the same time as local ping returns the new IP

With redis.dynamicRefreshSources set to true the application connects to the IP contained in the hosts file and never switches to the second cluster even when the first is completely stopped.

With redis.dynamicRefreshSources set to false the application reconnected to the updated cluster  on the next refreshinterval

Our main concern is around the AWS Elasticache maintenance window in during which multiple nodes may be replaced simultaneously. The docs say they will try to not replace too many at once but no guarantees are given https://aws.amazon.com/elasticache/elasticache-maintenance/
The concern is if the application loses connection to the cluster it will never reestablish it until it's restarted.

Thanks a lot. Can confirm your above findings. Redis returns resolved addresses (IPv4 or IPv6) in CLUSTER NODES hence Lettuce does not re-resolve hostnames to addresses as there are no hostnames to resolve. dynamicRefreshSources uses only CLUSTER NODES details for subsequent topology refreshes.
In any case, I would recommend disabling dynamicRefreshSources when you're on AWS. The configuration hostname remains stable (i.e. it does not suddenly disappear) and resolves to a set of IP addresses that point to the cluster nodes.

Currently, I'm not sure what to do with this ticket. dynamicRefreshSources purpose is to follow topology changes and not necessarily stick with the original seed nodes. Therefore I'd close this one with works as designed.

It would be good to update the documentation, there are some references to DNS caches in it which I think are slightly misleading given the actual behaviour.
My other thought is if there's no topology to follow (i.e. all known nodes are down) maybe the seed node should be resolved again?
I should also add that in our long running tests we found that we had to set validateClusterNodeMembership to false or else it occasionally failed on this.

validateClusterNodeMembership is enabled by default to protect against connections to unwanted nodes.
I updated the docs for dynamic refresh sources.

My other thought is if there's no topology to follow (i.e. all known nodes are down) maybe the seed node should be resolved again?

We can do that. I think that's a good resiliency measure to recover from scenarios where the entire cluster is replaced and the hostname is the only way how to find a valid entry point.

I relabelled the ticket subject to reflect your proposed change.

Sounds good, thanks!

That's fixed now.


CI: add github action for circleci artifact url

Closes https://github.com/pandas-dev/pandas-sphinx-theme/issues/51

Closes https://github.com/pandas-dev/pandas-sphinx-theme/issues/51

hmmm, what should we expect to see here? Maybe it needs to be merged into master first before it'll start working?

Don't know either. Let's see what it does when merged in master

Yep, it is now active after merging!
At least, at https://github.com/pandas-dev/pandas-sphinx-theme/actions. I don't yet see it in any status though


[Suggestions] - Using Dexie.js

I am working on Google Summer of Code project for Mifos Organisation which is a platform for delievering financial services. we have a demo server hosted here - https://demo.openmf.org/newbeta . Just for quick understanding we deal with loan, saving account etc which generally has lots of data ( input field to be filled by user)
We have converted our app to PWA (not in production yet) and now we are looking to store data offline i.e when user has no internet connection, and save that data offline and sync that data with the server
We use the Apache Fineract API (REST) -  https://demo.openmf.org/api-docs/apiLive.htm
I want your suggestions like how should be go through it ? It will create impact on millions of users
Our app code is here -  https://github.com/openMF/community-app/tree/new_reskin

I wrote some ideas regarding offline storage https://github.com/dfahlander/Dexie.js/issues/553#issuecomment-310833440 maybe that can help you a bit. Feel free to give us more requirements for your app. Maybe someone can give some more (and more relevant) ideas.

Our app is banking app made in angular and we use Fineract REST API. I want to create clients offline, what approach should i use ?
https://demo.openmf.org/newbeta/#/createclient
Username - Mifos
password - password

@nponiros We used REST API. Do i need to create whole new database design to perform these operations offline ?

I don't know what you mean by "whole new database desing". Depending on how synchronization is implemented you will need to keep some data in the db so you know when a dataset was last synchronized. You can save the info in an existing table which would probably mean that you need to alter the table's schema (I'm assuming sql here). You can also save the info in a separate table or even in an other db (you would have to make sure here that the two dbs are in sync).
FYI I wouldn't use REST for syncing, just one URL which would receive all changes. But this also depends on the exact requirements of your app. Maybe something similar to what meteor does might suit you.


Lamda Layer seems to ignore output_shape parameter

Hello Tensorflow/Keras - Team,
I noticed some strange behaviour when I tried to create a simple sequential model with a lambda layer in it. In my example below I tried to make the code as simple as possible to clearify the problem.
My Lambda function is as simple as the minimal example from keras page:
def square_it(x):
    return (x ** 2)

To calculate the output shape I defined the following function (please note that I tried to explicit set an output shape that is wrong in my example. But from my understanding this value should overwrite any shape calculation from the lambda layer and return the output shape I defined):
def output_of_lambda(input_shape):
    return (None, None, 10, 20)

Creating the lambda layer as follows:
lambda_layer = layers.Lambda(square_it, output_shape=output_of_lambda)
creating an example model:
model_2 = keras.Sequential(
    [
        layers.Input(shape=(784)),
        layers.Dense(2, activation="relu", name="layer1"),
        lambda_layer,
        layers.Dense(4, name="layer5"),
    ]
)

And finally call the summary
model_2.summary()
Now I would expect to find my customized shape inside the summary or at least an error that the shape is wrong but instead it gives me:

Layer (type)                 Output Shape              Param #
=================================================================
layer1 (Dense)               (None, 2)                 1570
_________________________________________________________________
lambda (Lambda)              (None, 2)                 0
_________________________________________________________________
layer5 (Dense)               (None, 4)                 12
=================================================================

But I would have expected something like this:

Layer (type)                 Output Shape              Param #
=================================================================
layer1 (Dense)               (None, 2)                 1570
_________________________________________________________________
lambda (Lambda)              (None, None, 10, 20)                 0
_________________________________________________________________
layer5 (Dense)               (None, 4)                 12
=================================================================

For me it seems that the output_shape parameter has no effect at all but instead the value will always be automatically calculated.
I am using POP OS 20.04
Tensorflow: 2.3.1
Python: 3.8.2
No Cuda was used in this example.

I have tried in colab with TF version 2.3, 2.4, nightly version (2.5.0-dev20201129) and was able to reproduce the issue.Please, find the gist here.Thanks!

Issue still exist in TF 2.5 stable version and Nightly 2.6 as well. Please find the gist here.Thanks!

output_shape in the Lambda Layer is used to help Keras do shape inference when in eager execution (or otherwise when shape information is not available), but it does not override TF shape inference on tensors, so it does not affect the tensor.shape attribute of the outputs.
To set the shape of a symbolic tensor with partial shape information, you should use the set_shape method.
Also moving ahead, please post all the keras issues here. Thanks!


Copyright {yyyy} {name of copyright owner}

You are supposed to replace "Copyright {yyyy} {name of copyright owner}" in LICENSE with something like "2018 Mart Roosmaa" :)
https://github.com/roosmaa/blue-app-nano/blob/92b79f4faca229881bcbce7abb4c80df342ae04b/LICENSE#L189
Thanks for the work by the way :+1:

That file originates from the blue-app-btc repo (from which this project was based on). Guess the per-file copyright notices override this. Anyway, will update the LICENSE to include the copyright holders there as well. Thanks for pointing it out :)


Dependency problem between firebase_core and google_ml_kit.

hi,
I have this problem, how to solve it?
Flutter (Channel stable, 3.0.2, on macOS 12.4 21F79 darwin-arm (Rosetta),
    locale en-CN)

  google_ml_kit: 0.11.0
  firebase_core: 1.19.0

I was having the same problem since Friday 01/07. The problem seems that this package is outdated and does not work with FirebaseCore 9.2.0. My workaround was to downgrade some packages in the pubspec.yaml, and adding the package firebase_core_platform_interface with a fixed version:
firebase_messaging: 11.4.2 # For push notifications
firebase_core: 1.18.0 # Bundle for firebase
firebase_core_platform_interface: 4.4.1

Don't forget to run flutter clean

Same here any update?

facing same issue any update?

same issue

Hi guys, sorry for the delay. Thanks for using our plugin. @bharat-biradar and I have been maintaining this plugin, but sometimes we cannot provide all the support you need. Both of us are busy with school, work and family. We created this plugin as an open source project. We do not have an ETA for this fix, too busy with so many things, but you are welcome to fork our repo, fix whatever is broken and sent the PR. We will review PRs as soon as possible and release a new version.
If the plugin is not compatible with those version try to update the versions our plugin is using and send a PR.


CI: DeadKernelError on CircleCI with wise-allwise-catalog-demo

There is a DeadKernelError on circleCI that I cannot reproduce locally. It resolves if I exclude wise-allwise-catalog-demo from the execution, however,  building and publishing with GHA works for this notebook. So, it's a little bit a puzzle for now.
Full log is here:
# Platform:         linux; (Linux-5.15.0-1057-aws-x86_64-with-glibc2.35)
# Sphinx version:   7.4.7
# Python version:   3.12.4 (CPython)
# Docutils version: 0.21.2
# Jinja2 version:   3.1.4
# Pygments version: 2.18.0

# Last messages:
#   /home/circleci/project/tutorials/irsa-sia-examples/siav2_seip.md: Executing notebook using local CWD [mystnb]
#   /home/circleci/project/tutorials/irsa-sia-examples/siav2_seip.md: Executed notebook in 14.71 seconds [mystnb]
#   reading sources... [ 88%]
#   tutorials/parallelize/Parallelize_Convolution
#
#   /home/circleci/project/tutorials/parallelize/Parallelize_Convolution.md: Excluded from execution by pattern: 'Parallelize_Convolution.md' [mystnb]
#   reading sources... [100%]
#   tutorials/parquet-catalog-demos/wise-allwise-catalog-demo
#
#   /home/circleci/project/tutorials/parquet-catalog-demos/wise-allwise-catalog-demo.md: Executing notebook using local CWD [mystnb]

# Loaded extensions:
#   sphinx.ext.mathjax (7.4.7)
#   alabaster (0.7.16)
#   sphinxcontrib.applehelp (1.0.8)
#   sphinxcontrib.devhelp (1.0.6)
#   sphinxcontrib.htmlhelp (2.0.6)
#   sphinxcontrib.serializinghtml (1.1.10)
#   sphinxcontrib.qthelp (1.0.8)
#   myst_nb (1.1.1)
#   sphinx_copybutton (0.5.2)
#   sphinx_book_theme (unknown version)
#   pydata_sphinx_theme (unknown version)

# Traceback:
Traceback (most recent call last):
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/sphinx/cmd/build.py", line 337, in build_main
    app.build(args.force_all, args.filenames)
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/sphinx/application.py", line 378, in build
    self.builder.build_update()
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 297, in build_update
    self.build(to_build,
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 318, in build
    updated_docnames = set(self.read())
                           ^^^^^^^^^^^
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 425, in read
    self._read_serial(docnames)
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 477, in _read_serial
    self.read_doc(docname)
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 536, in read_doc
    publisher.publish()
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/docutils/core.py", line 234, in publish
    self.document = self.reader.read(self.source, self.parser,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/sphinx/io.py", line 106, in read
    self.parse()
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/docutils/readers/__init__.py", line 76, in parse
    self.parser.parse(self.input, document)
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/myst_nb/sphinx_.py", line 152, in parse
    with create_client(
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/myst_nb/core/execute/base.py", line 79, in __enter__
    self.start_client()
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/myst_nb/core/execute/direct.py", line 40, in start_client
    result = single_nb_execution(
             ^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/jupyter_cache/executors/utils.py", line 58, in single_nb_execution
    executenb(
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/nbclient/client.py", line 1314, in execute
    return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped
    return loop.run_until_complete(inner)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/circleci/.pyenv/versions/3.12.4/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/nbclient/client.py", line 709, in async_execute
    await self.async_execute_cell(
  File "/home/circleci/project/.tox/py312-buildhtml/lib/python3.12/site-packages/nbclient/client.py", line 1009, in async_execute_cell
    raise DeadKernelError("Kernel died") from None
nbclient.exceptions.DeadKernelError: Kernel died

This has been worked around in https://github.com/Caltech-IPAC/irsa-tutorials/pull/5. The notebook is excluded from CircleCI execution during the PR process, but is included in GHA testing and rendering. So I close this issue for now.


IKS: Delayed Signing

Task Description
Right now IKS signing is disabled. We'll need to integrate delayed signing(using the SignPSBT endpoint available at the IKS v3 API).

@Deveshshankar Can you check whether we've UI available for the same?

The UI concerns would be addressed under #4731 #4732


Support HPX multiple tasking system

This revision supports HPX multiple tasking system (Refer #246).
HPX - The C++ Standard Library for Parallelism and Concurrency
(https://github.com/STEllAR-GROUP/hpx)

#274  Added a PR that integrates HPX to build system

#if defined(CUBBYFLOW_TASKING_TBB)
		if (policy == ExecutionPolicy::Parallel)
		{
			return tbb::parallel_reduce(tbb::blocked_range<IndexType>(beginIndex, endIndex), identity,
				[&function](const tbb::blocked_range<IndexType>& range, const Value& init)
			{
				return function(range.begin(), range.end(), init);
			}, reduce);
		}
		else
		{
			(void)reduce;
			return function(beginIndex, endIndex, identity);
		}
#else
		// Estimate number of threads in the pool
		const unsigned int numThreadsHint = GetMaxNumberOfThreads();
		const unsigned int numThreads = (policy == ExecutionPolicy::Parallel) ?
			(numThreadsHint == 0u ? 8u : numThreadsHint) : 1;

		// Size of a slice for the range functions
		IndexType n = endIndex - beginIndex + 1;
		IndexType slice = static_cast<IndexType>(std::round(n / static_cast<double>(numThreads)));
		slice = std::max(slice, IndexType(1));

               /*                      parallel stuff..                     */

In this case, if TBB is not enabled, the code is run in parallel regardless of the ExecutionPolicy.
Is this the intended behavior?
To my understanding,
#if defined(CUBBYFLOW_TASKING_TBB)
		if (policy == ExecutionPolicy::Parallel)
		{
			return tbb::parallel_reduce(tbb::blocked_range<IndexType>(beginIndex, endIndex), identity,
				[&function](const tbb::blocked_range<IndexType>& range, const Value& init)
			{
				return function(range.begin(), range.end(), init);
			}, reduce);
#else
		// Estimate number of threads in the pool
		const unsigned int numThreadsHint = GetMaxNumberOfThreads();
		const unsigned int numThreads = (policy == ExecutionPolicy::Parallel) ?
			(numThreadsHint == 0u ? 8u : numThreadsHint) : 1;

		// Size of a slice for the range functions
		IndexType n = endIndex - beginIndex + 1;
		IndexType slice = static_cast<IndexType>(std::round(n / static_cast<double>(numThreads)));
		slice = std::max(slice, IndexType(1));

               /*                      parallel stuff..                     */
#endif
		}
		else
		{
			(void)reduce;
			return function(beginIndex, endIndex, identity);
		}

This brings meaning to ExecutionPolicy

@Red-Portal Check this.
		const unsigned int numThreads = (policy == ExecutionPolicy::Parallel) ?
			(numThreadsHint == 0u ? 8u : numThreadsHint) : 1;

@utilForever Then I guess I could change the code as I suggest? That would make the macro conditionals much cleaner

@Red-Portal As you wish. I'll check when you pulls request. :^)

Ok thanks

#281 Sent PR implementing ParallelFor, ParallelFill, future-Async, ParallelSort using HPX

@Red-Portal I merged your code. Thanks. 👋


Sticky Header

Fixing #3

I could not make it work to me (FF36)

Add in Query.populateResultsTable the fixedHeader function.


Tasks do not exit upon completion IDEA 13

When i run the sbt console and execute an action evne when it completes intellij doesn't seem to recognize that it has completed.
For example if i run 5 compile actions in a row, i will see in the tray/status bar that there are 5 processes running
This has the effect that i cannot use SBT actions as before launch configurations for run/debug configurations, and hence i cannot compile with sbt prior to tests running.

@OlegYch that did the trick! Thanks

@OlegYch - Thank you! Thinking out loud... couldn't it simply time out if it can't find the prompt (or infer it by querying for the 'correct' inside the sbt console?)

not sure if it's possible to reliably infer current value, but it's probably possible to override it on startup


Add SCHED_* consts to apple platforms

MacOS: https://github.com/phracker/MacOSX-SDKs/blob/11.3/MacOSX10.11.sdk/usr/include/pthread/pthread_impl.h#L50-L52

I didn't find online references but checked also other SDKs in local machines.
$ rg '#define SCHED_'
MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h
54:#define SCHED_OTHER                1
55:#define SCHED_FIFO                 4
56:#define SCHED_RR                   2

AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/pthread/pthread_impl.h
54:#define SCHED_OTHER                1
55:#define SCHED_FIFO                 4
56:#define SCHED_RR                   2

iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/pthread/pthread_impl.h
54:#define SCHED_OTHER                1
55:#define SCHED_FIFO                 4
56:#define SCHED_RR                   2

AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/usr/include/pthread/pthread_impl.h
54:#define SCHED_OTHER                1
55:#define SCHED_FIFO                 4
56:#define SCHED_RR                   2

iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/pthread/pthread_impl.h
54:#define SCHED_OTHER                1
55:#define SCHED_FIFO                 4
56:#define SCHED_RR                   2

WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/pthread/pthread_impl.h
54:#define SCHED_OTHER                1
55:#define SCHED_FIFO                 4
56:#define SCHED_RR                   2

WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/include/pthread/pthread_impl.h
54:#define SCHED_OTHER                1
55:#define SCHED_FIFO                 4
56:#define SCHED_RR                   2

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.
Please see the contribution instructions for more information.

I couldn't find any other reference too but I'm going to trust that repo and your investigation.
@bors r+

:pushpin: Commit 1b10d9e9581ce2113ef3bf20dd2f2d439539c495 has been approved by JohnTitor

:hourglass: Testing commit 1b10d9e9581ce2113ef3bf20dd2f2d439539c495 with merge 54fca8130b556fd87aea326a269dc4678463ed77...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 54fca8130b556fd87aea326a269dc4678463ed77 to master...


Handle empty frames in window functions

Frame types for k Preceding or k Following could result in empty frames or
partial frames if they go over partition boundaries or violate frameStart <
frameEnds row limits for frames. Most window functions evaluate empty frames
as NULL (row_number, rank are exceptions).
This PR modifies the Window operator to detect such frames and pass them along
to the window function to apply in its logic.
More details in https://docs.google.com/document/d/13jWLYu4PDSb3WPiSCI3D5eefHdXXdQd-kMIzRcG4jLI/edit#

@aditi-pandit Aditi, thank you for writing a detailed document to explain the handling of empty frames. This is very helpful. Would it be possible to include a shorter summary in the PR description?
Some initial comments below.
Do you think the testing is sufficient? Can you help me understand why that is?

@mbasmanova : All nth_value and aggregate test combinations are run for all the frames in this list (used as a parameterization for the test). The new frames I added in this PR are all for empty/partial frames. So as a result these cases get folded in all the tests.
I'm doing a refactoring of the tests to help understand the combinations better. Should have the PR out in a day or two. Hope that will make the tests more clear.

@aditi-pandit Seeing a lint error:

@aditi-pandit Seeing a lint error:

Thanks @mbasmanova. Have fixed.

@aditi-pandit Thank you, Aditi. Looks like there are CI failures. Would you take a look?

@mbasmanova : The macos-build had an error because the Ntile::resetPartition(...) didn't have override. I noticed you have merged this PR. Should I put the fix in another PR ?
FAILED: velox/functions/prestosql/window/CMakeFiles/velox_window.dir/Ntile.cpp.o
ccache /Applications/Xcode-12.5.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/Users/distiller/project/_build/debug/icu/include -I/Users/distiller/project/. -I/Users/distiller/project/velox/external/xxhash -I/Users/distiller/project/_build/debug/_deps/folly-src -I/Users/distiller/project/_build/debug/_deps/folly-build<EMAIL_ADDRESS>-I/Users/distiller/project/third_party/xsimd/include -isystem /Users/distiller/deps/include -isystem /Users/distiller/project/velox -isystem /Users/distiller/project/velox/external -isystem /Users/distiller/project/velox/external/duckdb -isystem /Users/distiller/project/velox/external/duckdb/tpch/dbgen/include -isystem /Users/distiller/project/third_party/googletest/googletest/include -isystem /Users/distiller/project/third_party/googletest/googletest -mavx2 -mfma -mavx -mf16c -mlzcnt -std=c++17 -mbmi2 -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused        -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers        -Wno-range-loop-analysis          -Wno-mismatched-tags          -Wno-nullability-completeness -g -isysroot /Applications/Xcode-12.5.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fPIC -Wno-deprecated-declarations -Wno-nullability-completeness -Wno-undef-prefix -std=gnu++17 -MD -MT velox/functions/prestosql/window/CMakeFiles/velox_window.dir/Ntile.cpp.o -MF velox/functions/prestosql/window/CMakeFiles/velox_window.dir/Ntile.cpp.o.d -o velox/functions/prestosql/window/CMakeFiles/velox_window.dir/Ntile.cpp.o -c /Users/distiller/project/velox/functions/prestosql/window/Ntile.cpp
/Users/distiller/project/velox/functions/prestosql/window/Ntile.cpp:48:8: error: 'resetPartition' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
void resetPartition(const exec::WindowPartition* partition) {
^
/Users/distiller/project/./velox/exec/WindowFunction.h:63:16: note: overridden virtual function is here
virtual void resetPartition(const WindowPartition* partition) = 0;
^
1 error generated.

Fixed in https://github.com/facebookincubator/velox/pull/4009


Unchecking rows(s)

Hi,
I was wondering if it's possible to programactically 'uncheck' a row (or set of rows). Or, better yet, only allow a single row checked per a group if grouping rows?
Thanks!

Hi, @dandoteverest

I was wondering if it's possible to programactically 'uncheck' a row (or set of rows). Or, better yet, only allow a single row checked per a group if grouping rows?

Yes, you can get the table's reference object to trigger checkbox's click event.
Here has an example
<template>
  <button @click="triggerCheckboxEvent(0)">triggerCheckboxEvent</button>
  <table-lite
    ref="tableRef"
    :has-checkbox="true"
    ...
  ></table-lite>
</template>

<script>
    // ... something

    const tableRef = ref(null);
    const triggerCheckboxEvent = (index) => {
      tableRef.value.rowCheckbox[index].click();
    }

    return {
        // ... something
        tableRef,
        triggerCheckboxEvent
    }
</script>

#83

Is it resolved? If not, reopen please.


Importing a package with vext when building documentation with sphinx will not import

Another quirk I found is when I build my documenation with
venv/bin/python setup.py build_sphinx

sphinx will import some module that will import e.g. PyQt5 and that import fails.
This will disable sphinx because we are running in a setup context:
https://github.com/stuaxo/vext/blob/adea4b593ae4c82da0965ec1addaa1cd6d5b396c/vext/gatekeeper/__init__.py#L42-L44
I don't know the inner workings of vext so I can't think of a way to allow the sphinx usage.

Good catch.  I seem to recall the check for running in setup is just so to disable vext when it's own setup is running.
The test could be tightened up so this doesn't fail, maybe it could check for some environment variable instead.


RTCP crash when re-using occupied port

Hello,
I have two sides of the stream, sender and receiver, with RTCP enabled. If I quit the receiver in an uncontrolled way, the sender keeps running and sending frames. When I restart the receiver the sender side crashes, I assume this is because of re-using the ports, either for stream or RTCP. This happens somewhere inside the uvgRTP library, but it is hard to pinpoint.
Is it possible to manually check for this condition on the sender side, for example, a callback function that will re-initialize rtcp, if the reconnecting stream has a matching signature?

Hi again.
Sorry to hear that you have again run into problems. I will take a look at this next week if no one else has time. The first step would probably be to create an automated test inside rtcp tests to replicate this problem. If you want to help with this, it would be greatly appreciated.

I can take a look at this if you provide code I can use to reproduce the bug.
I don't know why it crashes, it obviously shouldn't, but because UDP is connectionless, the sender has no way of knowing if the receiver is even listening to its packets. There is suppose to be some timeout mechanism which demotes senders to receivers and the sending should stop if there are no RTP packets received within some time period but I don't know if it works. If the receiver is shut down gracefully, it should send a BYE packet which should make the sender stop sending any more messages but I don't know if that relates to this bug in any way.

At least one crash was fixed in 89ac6553ec5b01d0d86015304fe9b771ffe39f25. If there are more problems, feel free to reopen this issue or create a new one


add cors to all public folder assets

:v:
/cc @zendesk/vegemite
Description
We didn't add cors to the public folder asset requests. Now we do.
References

JIRA:

Risks

:+1:

👍


TLC HD plays in Hindi instead of English

TLC HD plays in Hindi instead of English although there is separate channel for hindi can someone check fix it pls thx in advance

wil someone pls check this or is it already fixed

@krreet @tobalan @technofreek please check i still have the same issue TLC HD plays in hindi instead of English thanks

@krreet @tobalan @technofreek please check i still have the same issue TLC HD plays in hindi instead of English thanks

Can any of you fix the issue please??

@krreet @tobalan @technofreek please check i still have the same issue TLC HD plays in hindi instead of English thanks

Can any of you fix the issue please??

+ing @technofreak24

@krreet @tobalan @technofreek please check i still have the same issue TLC HD plays in hindi instead of English thanks

Can any of you fix the issue please??

+ing @technofreak24

Can any of you geniuses spend bit of time to fix this issue, I really like that channel in English pls????????????

@krreet @tobalan @technofreek please check i still have the same issue TLC HD plays in hindi instead of English thanks

Can any of you fix the issue please??

+ing @technofreak24

Can any of you geniuses spend bit of time to fix this issue, I really like that channel in English pls????????????

Hi All,
FYI, It is only an issue with TLC HD which has only hindi audio but for now TLC hindi or english has 2 audion which I can switch to english that works for me
Since no one can help i guess we can mark it close as a workaround available but not HD )-:

Hi All,
FYI, It is only an issue with TLC HD which has only hindi audio but for now TLC hindi or english has 2 audion which I can switch to english that works for me
Since no one can help i guess we can mark it close as a workaround available but not HD )-:


[Bug] [API] queryAllProjectList response userName is null

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
api ：queryAllProjectList response userName is null

The API interface with the same condition has
“queryAuthorizedProject”
“queryProjectCreatedAndAuthorizedByUser”
“queryUnauthorizedProject”
What you expected to happen
The response return from api with correct userName

How to reproduce
use the api to query project ：“queryAllProjectList",“queryAuthorizedProject”,“queryProjectCreatedAndAuthorizedByUser”,“queryUnauthorizedProject”
Anything else
Version：2.0.0-alpha-release
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@hong7980
Are you willing to fix this issue?

@hong7980 Are you willing to fix this issue?

Thanks for the invitation, I'm afraid I can't fix it because I didn't use Java development.

@hong7980 Are you willing to fix this issue?

Thanks for the invitation, I'm afraid I can't fix it because I didn't use Java development.

I'd like to fix the problem,Can I try it on？

@hong7980 Are you willing to fix this issue?

I'd like to fix the problem,Can I try it on？

@yang100455
ok, I will assign the task to you.

@yang100455 好的，我会把任务分配给你。

I have located the problem, but based on my observations, these interface usage scenarios do not need to use these values, and these values  just have a default value,not a real value, should I cancel these returns? Or do you assign real values to these variable queries?

@yang100455 好的，我可能有任务给你。

I have located the problem, but based on my observations, these interface usage scenarios do not need to use these values, and these values  just have a default value,not a real value, should I cancel these returns? Or do you assign real values to these variable queries?

@yang100455 ok, I will assign the task to you.
i have create a PR for this issue, In the end I chose to assign real value to fields rather than delete the field

https://github.com/apache/dolphinscheduler/pull/6794

Sorry, this is my first time to submit the code, because some rules are not clear and the unit test did not pass,  so there are some invalid PRs, but i has been closed them,the last is valid.

Seems that this issue has been one year. Need to verify whether this bug still exists. If not, I will close it. Thanks : )


Def version

https://github.com/KomputeProject/kompute/issues/194
Added macros KOMPUTE_VERSION_MAJOR, KOMPUTE_VERSION_MINOR, KOMPUTE_VERSION_PATCH, and KOMPUTE_VERSION_STRING. Generated from the project version defined in CMake.
Added a test to ensure the macros are defined.

I was curious so I did a grep for the current version and found it's defined in a few places
~/code/cpp/kompute rg 0.9.0
CMakeLists.txt
4:project(kompute VERSION 0.9.0 LANGUAGES CXX)

VERSION
1:0.9.0

setup.py
81:    version='0.9.0',

docs/overview/shaders-to-headers.rst
87:                                 GIT_TAG 1344ece4ac278f9b3be3b4555ffaace7a032b91f) # The commit hash for a dev version before v0.9.0. Replace with the latest from: https://github.com/KomputeProject/kompute/releases

vcpkg.json.opt
3:  "version-string": "0.9.0",

examples/logistic_regression/CMakeLists.txt
7:option(KOMPUTE_OPT_GIT_TAG "The tag of the repo to use for the example" v0.9.0)

docs/conf.py
30:release = '0.9.0'

examples/array_multiplication/CMakeLists.txt
7:option(KOMPUTE_OPT_GIT_TAG "The tag of the repo to use for the example" v0.9.0)

examples/android/android-simple/app/src/main/cpp/CMakeLists.txt
6:option(KOMPUTE_OPT_GIT_TAG "The tag of the repo to use for the example" v0.9.0)

Excluding the git tags in the examples, version is defined in 3 locations.

Root CMakeLists.txt
setup.py
VERSION

I was wondering of there's a way to have a "Single source of truth" for the version but I guess this isn't too bad.


Find a location affected by drought in 2017 in East Africa

Found a candidate for this analysis in Somalia

There seems to be two precipitation events per year, with a drought appearing in the second half of 2017. There is also a period of low rainfall 2017-2019, with a high precipitation exception at the start of 2018 (which could be interesting to analyse). Finally, from mid-2018 there is a steady increase in precipitation.

Here is a 60 day interval vegeatation time series from S2 (using only 300 sub-images)

Get full L8 data

Longer term precipitation history of the Somalia location (180 day sampling)

S2 + L8 time series

Precipitation AR1 and Variance
Seasonal:

Detrended:

Precipitation AR1 and Variance (moving window size 0.5)
Seasonal:

Detrended:

L8 AR1 and Variance (moving window size 0.5, no smoothing)
Seasonal:

Detrended:

window size 0.2
Seasonal:

Detrended:

Some Landsat5 data for this region

Although this is a great location due to the wavelength of the pattered vegetation being large enough that we can use Landsat, we don't see a collapse here.


Prettify list-targets

Now the target for the host arch will display "(default)" and
other installed targets "(installed)".
r? @Diggsey

LGTM with the merge conflict fixed :)

@bors: r=Diggsey

:pushpin: Commit 2daddc5 has been approved by Diggsey

:hourglass: Testing commit 2daddc5 with merge 58a0b84...


Update help command

closed #28

Codecov Report

Merging #63 (80b376e) into master (31017aa) will decrease coverage by 0.50%.
The diff coverage is 16.66%.

@@             Coverage Diff              @@
##             master      #63      +/-   ##
============================================
- Coverage     67.32%   66.81%   -0.51%
- Complexity      343      344       +1
============================================
  Files            67       67
  Lines          1120     1130      +10
  Branches        103      103
============================================
+ Hits            754      755       +1
- Misses          323      332       +9
  Partials         43       43

Impacted Files
Coverage Δ

...java/seedu/address/logic/commands/EditCommand.java
94.64% <ø> (ø)

...java/seedu/address/logic/commands/FindCommand.java
100.00% <ø> (ø)

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <0.00%> (ø)

...java/seedu/address/logic/commands/HelpCommand.java
25.00% <10.00%> (-75.00%)
:arrow_down:

.../java/seedu/address/logic/commands/AddCommand.java
100.00% <100.00%> (ø)

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 31017aa...80b376e. Read the comment docs.


Release 2.2.1

Hey @daenney , There is nothing else changing with this release, it is just a version bump for pe. Also we collectively decided to take out the date as it didn't always match what was in git or the forge.

So, we're just releasing a new version of the module with no changes at all? If there are changes, then what are they? And if it's specifically to support something in PE, we should mention that.

@daenney as the changelog states, this is a Y release to bump the Puppet Enterprise upper bound in the metadata.json to support the upcoming 2015.3.0. Due to the new versioning scheme, we need to figure out a better way to handle upcoming versions of PE, until then.. we are merely releasing the previous version + metadata bump.

@bmjen It doesn't state that. It literally says:

Small release for support of newer Puppet versions.

@daenney, this was the format for the last release of PE, does the following sound better. bare in mind we now need to update 20+ modules again
##Supported Release 2.2.1
###Summary
Small release for support of newer PE versions. This increments the version of PE in the metadata.json file

:+1:

np, we will do this now :)

Thanks @daenney!

@daenney  All the affected modules now have this text.

Woo! :100:


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Consider fixing player duplication

https://github.com/embeddedt/ArchaicFix/issues/102
Crossposted from AF since both mods attempt to mix out vanilla bugs

Consider fixing a glitch in multiplayer worlds where players are able to duplicate their own character by timing out.
The result is, once the player logs back in, their duplicate character will have the same inventory, at which point they can kill to dupe its contents:

https://bugs.mojang.com/browse/MC-37586
Possibly related to:
https://bugs.mojang.com/browse/MC-92476
Likely fixed by Java Edition 16w06a and eventually officially adopted in 1.9

See also, some extra info here: https://github.com/embeddedt/ArchaicFix/issues/102#issuecomment-2374555559


installation issue with python3.6 in conda

pip install clodius installation under conda python3.6 was giving me this (already after conda install pyBigWig):
Collecting clodius==0.7.4
  Using cached clodius-0.7.4.tar.gz
Requirement already satisfied: cython in /home/venevs/miniconda3/lib/python3.6/site-packages (from clodius==0.7.4)
Requirement already satisfied: numpy in /home/venevs/miniconda3/lib/python3.6/site-packages (from clodius==0.7.4)
Collecting negspy (from clodius==0.7.4)
  Using cached negspy-0.2.20.tar.gz
Requirement already satisfied: pysam in /home/venevs/miniconda3/lib/python3.6/site-packages (from clodius==0.7.4)
Requirement already satisfied: requests in /home/venevs/miniconda3/lib/python3.6/site-packages (from clodius==0.7.4)
Requirement already satisfied: h5py in /home/venevs/miniconda3/lib/python3.6/site-packages (from clodius==0.7.4)
Requirement already satisfied: pandas in /home/venevs/miniconda3/lib/python3.6/site-packages (from clodius==0.7.4)
Collecting slugid (from clodius==0.7.4)
  Using cached slugid-1.0.7.tar.gz
Requirement already satisfied: sortedcontainers in /home/venevs/miniconda3/lib/python3.6/site-packages (from clodius==0.7.4)
Requirement already satisfied: nose in /home/venevs/miniconda3/lib/python3.6/site-packages (from clodius==0.7.4)
Requirement already satisfied: pyBigWig in /home/venevs/miniconda3/lib/python3.6/site-packages (from clodius==0.7.4)
Exception:
Traceback (most recent call last):
  File "/home/venevs/miniconda3/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/venevs/miniconda3/lib/python3.6/site-packages/pip/commands/install.py", line 335, in run
    wb.build(autobuilding=True)
  File "/home/venevs/miniconda3/lib/python3.6/site-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/home/venevs/miniconda3/lib/python3.6/site-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/home/venevs/miniconda3/lib/python3.6/site-packages/pip/req/req_set.py", line 666, in _prepare_file
    check_dist_requires_python(dist)
  File "/home/venevs/miniconda3/lib/python3.6/site-packages/pip/utils/packaging.py", line 48, in check_dist_requires_python
    feed_parser.feed(metadata)
  File "/home/venevs/miniconda3/lib/python3.6/email/feedparser.py", line 175, in feed
    self._input.push(data)
  File "/home/venevs/miniconda3/lib/python3.6/email/feedparser.py", line 103, in push
    self._partial.write(data)
TypeError: string argument expected, got 'NoneType'

everything worked after manually installing negspy at first: pip install negspy and slugid and forcing clodius to be installed without dependencies:
pip install 'clodius==0.7.4' --force-reinstall --no-deps

I think there's something still wrong when the conda version of pyBigWig is installed. This error is really cryptic but it seems to be happening during dependency checking: that's why --no-deps solves it.
From the traceback, I'm guessing that the packaging metadata is corrupted.

Here's the offending source code in pip:
def get_metadata(dist):
    if (isinstance(dist, pkg_resources.DistInfoDistribution) and
            dist.has_metadata('METADATA')):
        return dist.get_metadata('METADATA')
    elif dist.has_metadata('PKG-INFO'):
        return dist.get_metadata('PKG-INFO')

def check_dist_requires_python(dist):
    metadata = get_metadata(dist)
    feed_parser = FeedParser()
    feed_parser.feed(metadata)
    pkg_info_dict = feed_parser.close()
    requires_python = pkg_info_dict.get('Requires-Python')
    try:
        if not check_requires_python(requires_python):
            raise exceptions.UnsupportedPythonVersion(
                "%s requires Python '%s' but the running Python is %s" % (
                    dist.project_name,
                    requires_python,
                    '.'.join(map(str, sys.version_info[:3])),)
            )
    except specifiers.InvalidSpecifier as e:
        logger.warning(
            "Package %s has an invalid Requires-Python entry %s - %s" % (
                dist.project_name, requires_python, e))
        return

If  get_metadata doesn't find a METADATA or PKG-INFO key in the package object, rather than raising an exception, it returns None which makes the feedparser fail. So looks like there's a small bug in pip here: it should raise a useful error about the metadata not being found!
But yeah, something is up with the conda pyBigWig's package metadata. It is either missing or just not getting found by pip. CC @dpryan79

Indeed, no PKG-INFO file.
ll /home/nezar/miniconda3/lib/python3.6/site-packages/pyBigWig-0.3.11-py3.6-linux-x86_64.egg-info/
total 24
drwxrwxr-x   2 nezar nezar  4096 Mar 17 22:24 ./
drwxrwxr-x 177 nezar nezar 12288 Mar 17 22:24 ../
-rw-rw-r--   2 nezar nezar    41 Mar  6 08:40 native_libs.txt
-rw-rw-r--   2 nezar nezar     1 Mar  6 08:40 not-zip-safe

Sorry about that, I have a PR on bioconda now that should fix things. I'll merge it once I'm in the office tomorrow.

My PR is now merged and a new version should be available in bioconda in a few hours. If it's still not working correctly then please let me know.


Improve CTA And First Landing Page Experience

What you could do is have a bit more of an extensive splash page. Explain the problem, why people should use your gitignore file, why it’s better than just swinging it, etc etc. That might help for your google results.
Another tip - while you're writing up that content, think about what someone will search for.  What would someone put into Google to find you. Make sure that wording is on the page. Use Google's autocomplete to get other phrases to use.

Do you have some info from webmaster tools? Would be interesting to see what other pages come up for the common search terms for this tool. Might guide the content for the homepage.

I can give you access if you want to take a look at it.  Just don't break anything :smile:

Here are some metrics if. you want to take a look

www-gitignore-io_20170130T040638Z_SearchAnalytics.txt

I'm going to close this for now — based on speaking with my designer, the goal is going to be to keep the home page clean.


Add Action

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@f2c547f). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main        #1   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         2
  Lines           ?        41
  Branches        ?         0
========================================
  Hits            ?        41
  Misses          ?         0
  Partials        ?         0

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 f2c547f...af22d8d. Read the comment docs.


Wikidata: Add labels or descriptions without overriding existing ones

This adds the possibility of specifying descriptions or labels for items in a Wikidata schema, such that they are only added to the items if no such term exist in the given language. See #2063 for the motivation of the feature.
The candidate UI for this feature looks like this:

Is this clear enough? I am not sure. Maybe it would be better to have a checkbox "override existing" on the right hand side of the label?

New version of the UI, much clearer I would say:

Checkbox wins my vote.


Update README and add badges

Codecov Report

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

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   74.18%   74.18%
=======================================
  Files           8        8
  Lines        1623     1623
=======================================
  Hits         1204     1204
  Misses        419      419

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 0ec43b1...929d098. Read the comment docs.

Thanks for these!


kernel: Disable VirtualBox guest modules.

These break the modules from VirtualBox additions. Fixes issue https://github.com/NixOS/nixpkgs/issues/58127.
I think this is the thing we should do for now. A proper but harder fix would be to extend the kernel-modules aggregator package (pkgs/os-specific/linux/kmod/aggregator.nix) to allow excluding some modules, and make the VirtualBox additions NixOS module set options to exclude the modules from the kernel (or not, if the user wants to use those).
This is also for 19.03 and 18.09.

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@jtojnar could you give this a test run?

Review per https://nixos.org/nixpkgs/manual/#reviewing-contributions-package-updates
Reviewed points

[x] package name fits guidelines (not changed)
[x] package version fits guidelines (not changed)
[x] package build on x86_64-linux
[x] executables tested on x86_64-linux
[ ] all depending packages build (not tested)

Notes on testing:

Tested after rebasing onto current nixos-unstable channel (bc94dcf500286495e3c478a9f9322debc94c4304).
Booted x86_64-linux 4.19.41 (compiled with pull request applied) inside virtualbox.
Mounting a vboxsf filesystem with original guest additions 5.2.18 works without problems.
The video driver from the original guest additions 5.2.18 is apparently working -- checked with "Auto-resize Guest Display" option.
These kernel versions compile without error with the pull request applied: 4.4.179, 4.9.174, 4.14.117, 4.19.41, 5.0.14, 5.1 (tested by building the kernel config package and the kernel package with nix).
Besides 4.19.41, I haven't booted any of those kernels for testing.

Comments

This pull request touches the kernel's common-config.nix (only). The head comment of this file gives some clear instructions on changing the kernel's configuration: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/common-config.nix . It appears to me that the pull request at hand satisfies these instructions.
Notifying kernel maintainer: @thoughtpolice
Notifying virtualbox guest additions maintainer: @svanderburg
virtualbox itself got updated to version 6 a few days ago: https://github.com/NixOS/nixpkgs/pull/60943 . However, I don't expect it to interfere with the pull request at hand.
Summary: To me this appears suitable for merging :+1:
The issue https://github.com/NixOS/nixpkgs/issues/58127 , which gets fixed by this commit, also hounds NixOS 19.03 if used with the default kernel 4.19. Therefore I suggest to backport this commit to release-19.03 .

backported to 19.03 in bfdb124045bb68015a4f16a871c740b2e64c1685.


Remove two print statements in tests

Bug/issue #, if applicable:
Summary
This removes two print-statements in test code.
Dependencies
None.
Testing
Run these two tests. They shouldn't print anything.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] ~Added~ Updated tests
[x] Ran the ./bin/test script and it succeeded
~[ ] Updated documentation if necessary~

@swift-ci please test


Generate schema for isograph.config.json

Supersedes #290

I do get Unable to parse content error but it's not limited to isograph, I get it in my relay project where I use ./node_modules/relay-compiler/relay-compiler-config-schema.json so maybe it's a vs code error. It used to work just fine.

re: vscode not accepting it, sgtm


Add API to force an image refresh

Add an API endpoint image/<hash>/refresh to require that an image is refreshed from its source.
It can be called with lxc image refresh <name>
This also makes the server save the image certificate when provided by the client and passes it to ImageDownload so that refresh works between LXDs too
Closes #2358 and #3298

@albertodonato failed static analysis

# github.com/lxc/lxd/client
client/lxd_images.go:502: not enough arguments to return

Fixed

Should be ready to merge once that bad copy/paste is fixed.

For the record, this is super useful for a laptop user like me who may not always be connected in the cheapest way (i.e. 4G WWAN etc) and would like to control image refreshing. Today I use
{{{lxc config set images.auto_update_cached false}}}
but there's no easy way to update the images then. So thanks!

Is it expected that this doesn't work with the standard Ubuntu image streams?
I was considering turning off auto-update of cached images and writing a cron job to refresh the images I want to use regularly, so it doesn't interrupt my workflow upon container creation (as the images can be a bit slow to download).
But when I try it with ubuntu:<image> I get:
$ lxc image refresh ubuntu:x
Error: The remote isn't a private LXD server

@mpontillo the lxc image refresh must be targeted at a cached image in your local image store (either a fingerprint or a local alias).

@stgraber, thanks.
So that means if I want to write a script to keep an existing images up-to-date, I have to do the equivalent of lxc image list --format yaml, parse the output, look for the update_source, check if it matches the set of images I want to keep updated, (though realistically, I might want to just keep everything updated that has an update_source) and then issue the lxc image refresh command on that fingerprint.
I guess it would be nice if lxc image refresh could do that work itself; maybe lxc image refresh --all could update anything that has the ability to be updated.

Well, to be fair, I could do it the brute force way:
for fprint in $(lxc image list --format csv --columns f); do
   lxc image refresh $fprint 2> /dev/null || true
done

... which would just ignore the errors for any images I have locally cached without an update_source.

@mpontillo you could also just assign an alias to your local image and then use that to refresh it. It'd save you the fingerprint lookup.

That's a good idea; maybe I'll make a habit of running something like the following every time I initialize a new lxd:
lxc image copy ubuntu:b local: --copy-aliases
lxc image copy ubuntu:x local: --copy-aliases
lxc image copy ubuntu:t local: --copy-aliases

Then I can just refresh them by name as needed, and I don't have to worry about waiting for an image download the first time I launch a container.
For what it's worth, I love that running these commands after an image is already downloaded updates the aliases and doesn't re-download images that are already cached; nice! (I wonder if the aliases from the server are copied and appended to locally, or copied and overwritten locally, though.)

@mpontillo if all you want is to keep images up to date, you can set auto_update: true on the image, and LXD will periodically update.
E.g.:
$ lxc image show b
auto_update: true
properties:
  architecture: amd64
  description: ubuntu 18.04 LTS amd64 (daily) (20180809)
  label: daily
  os: ubuntu
  release: bionic
  serial: "20180809"
  version: "18.04"
public: false

The refresh command is meant for when you want to make sure you have the latest image right away.


Change shortcut keys

Is it possible to change the keyboard shortcut, so that instead of command + 1, it's something else. The problem is that this keyboard shortcut conflicts with a number of applications. For example, in Chrome, command + 1 switches to the first tab.

When Maccy is open the keyboard shortcut will only be routed to Maccy, not Chrome - there should be no conflict.

What do you mean by "open"? Does that just mean the icon shows on my menu bar? Or does "open" mean I actually need to click on the icon, which displays the dropdown?

I believe it means “focus” or active. So if Maccy is open it’s visible and active the keyboard shortcut only gets sent to maccy

Sorry, I'm not sure which choice you're referring to. It seems that this still necessitates the option to change the shortcut so it can be accessed anywhere.

Sorry, I'm not sure which choice you're referring to. It seems that this still necessitates the option to change the shortcut so it can be accessed anywhere.

You first need to open the window by clicking on the menubar icon or pressing the popup shortcut (https://github.com/p0deje/Maccy#popup-hotkey).

I believe it means “focus” or active. So if Maccy is open it’s visible and active the keyboard shortcut only gets sent to maccy

It does not. I am on (10.15.4) Catalina, and I have cmd+1,2,3 set to various screenshot functions.
When I open Maccy (cmd+shift+c) and try to copy an item using cmd+1 for example, the screenshot triggers instead of Maccy.

@elfensky  that would be expected behavior. the Cmd+1 is a local event monitor and captures for the app. The screenshot you have is global hotkey binded to the system. Event monitors only "view" they don't interrupt (or prevent) the keys from being passed. That is why you would have it trigger both the screenshot and copying of the related item.


[Snyk] Security upgrade easy-soap-request from 4.8.0 to 5.1.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

web/package.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

168/1000  Why? Confidentiality impact: High, Integrity impact: Low, Availability impact: None, Scope: Unchanged, Exploit Maturity: Proof of Concept, User Interaction (UI): Required, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Network, EPSS: 0.01055, Social Trends: No, Days since published: 2, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: High, Package Popularity Score: 99, Impact: 7.03, Likelihood: 2.39, Score Version: V5
Cross-site Request Forgery (CSRF) SNYK-JS-AXIOS-6032459
Yes
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Request Forgery (CSRF)

Upgraded


Meta: Fix ladybird.sh to support CDPATH being set

When the CDPATH environment variable is set, cd can print out the pwd to stdout after changing. This change clears the variable before using cd when setting DIR.
Without the change, DIR will have the pwd twice separated by \n and the . "${DIR}/shell_include.sh" a few lines later fails, which then kills the script as set -e is done on line 3. I worked this out using set -x before that section to see what it was including, and remembering that I was playing around with CDPATH recently!
From the bash manual:

If a non-empty directory name from CDPATH is used, or if ‘-’ is the first argument, and the directory change is successful, the absolute pathname of the new working directory is written to the standard output.

Turns out there were other files than ladybird.sh, such as the linters. Fixed up them all.

I'd like to keep this open (and merged ideally). Rebased and tested.
Example of when it could fail (assume CDPATH is set in .bashrc somewhere, shown inline for example)
hugh@LIN-PF-34NTAN:~/src/contrib/ladybird$ CDPATH=. Meta/ladybird.sh build
Meta/ladybird.sh: line 59: /home/hugh/src/contrib/ladybird/Meta
/home/hugh/src/contrib/ladybird/Meta/shell_include.sh: No such file or directory

Example showing how CDPATH outputs the selected path when cding
hugh@LIN-PF-34NTAN:~/src/contrib/ladybird$ CDPATH= cd AK
hugh@LIN-PF-34NTAN:~/src/contrib/ladybird/AK$ cd ..
hugh@LIN-PF-34NTAN:~/src/contrib/ladybird$ CDPATH=. cd AK
/home/hugh/src/contrib/ladybird/AK
hugh@LIN-PF-34NTAN:~/src/contrib/ladybird/AK$ cd ..

Most people will not have CDPATH set, but there are some of us out there that do. This PR fixes the build process for those people.
Perhaps a better PR would be to just remove CDPATH in the top level Meta/ladybird.sh rather than prefix all cd's, for future proofing. I can test this later if people prefer.
For what it's worth, I'm not sure I like all the features of CDPATH, but I do like some haha.

It looks like just doing a single unset CDPATH in Meta/serenity.sh works. I'll check back on the build and if it succeeds I'll go to that instead as looks tidier.

Hm, what linter errors did you run into with unset CDPATH?
Adding CDPATH='' everywhere looks pretty ugly. I'd opt for a single unset, export or maybe even just pushd...


fix a class TracerLogRootDeamon name to TracerLogRootDaemon

Motivation:
fix a class TracerLogRootDeamon name to TracerLogRootDaemon
fix beore to before
Modification:
Describe the idea and modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

Pull Request Test Coverage Report for Build 49

6 of 7 (85.71%)  changed or added relevant lines in 3 files are covered.
18 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.03%) to 48.366%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tracer-core/src/main/java/com/alipay/common/tracer/core/appender/TracerLogRootDaemon.java
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

tracer-core/src/main/java/com/alipay/common/tracer/core/reporter/digest/DiskReporterImpl.java
1
84.62%

tracer-core/src/main/java/com/alipay/common/tracer/core/utils/TracerUtils.java
17
68.82%

Totals

Change from base Build 48:
-0.03%

Covered Lines:
1554

Relevant Lines:
3213

💛  - Coveralls

#35 Fix

@glmapper 我发现两个 issue 合并到一起提交了，下次记得分开 PR ，一个 PR 对应一个 issue