[bug] Swate Browser Installation

In the fourth step, the guidance is as the following:
Open a (new) workbook, click Insert → Office Add-ins/Add-ins → Upload My Add-in.
However, there is no Add-ins button in the Insert tab.

Currently, the Add-ins button is in the Home tab. And the remaining steps should also be updated.

Documentation link: https://www.nfdi4plants.de/nfdi4plants.knowledgebase/docs/SwateManual/swate_installation_browser.html

Thanks, good catch. I've updated and added a screen shot.
Can you explain, what else needs updates in the later steps ?

By default, it will navigate to the store:

So we need to click the MY ADD-INS, and find the Upload My Add-in in the right corner.

Huh, interesting. This is not the case in my browser (safari, macOS).
Can you kindly provide a comment on this via PR?

I use Chrome in Ubuntu 22.04. I just check all open PRs (pull request), but I don't find any related PR. So I comment here.

Sorry, I meant to open a PR yourself and add such a comment pointing future users that they might have to with the add-ins tab

done :)


Fix AzureSeekableByteChannel bugs related to buffer/channel boundaries

Problems resolved by this PR:

Off-by-one error in read() returns 0 bytes read instead of -1 (EOF) when reading at channel position == size.
read() (and write()) do not respect initial position (and limit) of provided ByteBuffer when backed by an array

The first problem can result in an infinite loop in calling code that expects to execute repeated reads until reaching EOF.  Existing unit test did not catch this because it stopped reading after reaching a pre-determined size.
The second problem writes/reads blob data to/from the wrong location in the buffer.  In the case where write() is passed a buffer where limit < capacity it can result in writing extra bytes to the blob despite reporting to client code that it only wrote the expected amount.  Existing tests did not catch this because they used buffers sized exactly to the expected data and always with initial position 0.

@alzimmermsft when you get a chance would you mind reviewing this contrib for some correctness fixes?

Thank you for the contribution and ping for this @prosprice.
I'll let @rickle-msft handle the review as he's the main owner for azure-storage-blob-nio.


Automatically generate methods text

Because SPRAS controls the pathway reconstruction algorithms, parameters, and post-processing steps, it could automatically outline or general methods text for a manuscript.  Perhaps it could even add text describing the datasets we provide.
MethodsJ2 is a related idea from imaging.

GToTree is another relevant example that does this.


[Sprig App] GamblewithMinesweeper

Author name
Author: 0day-Yash
About your game
What is your game about?
MineSweeper is a classic puzzle game that challenges players to uncover safe tiles while avoiding mines hidden beneath the surface. The game is played on a grid where some tiles contain mines and others are empty or safe. The player's goal is to uncover all the safe tiles without triggering any mines. The twist in this version of Minesweeper is its unique visual presentation and intuitive controls, making it a fun challenge for both new and experienced players alike.
How do you play your game?
How to Play the Game
Movement: Use the W, A, S, D keys to move the flag around the grid.
Uncover a tile: Press the J key to uncover the tile where the flag is placed. Be cautious—if it’s a mine, the game will be over!
Place a flag: Press the K key to place a flag on a tile to mark it as a suspected mine location.
Restart: If the game is over, press I to restart the game.

Duplicate of #2567


Filtered date is not visible on the chart

Describe the bug
The filtered date is not visible on the Applications Per Jobs Roles chart
To Reproduce
Steps to reproduce the behaviour:

Go to HR->Recruitment->Report->JobWiseApplicatonReport
Enter the date on the filters on the right side.
You won't able to see the data on the filters.

Expected behaviour

The selected date should appear in the filter

Screenshots

This issue PR is merged. Closing it.


chore: populate the missing kafka versions

As discussed under #2034, should simplify linkedin/Burrow usage too.

Off, tests are so flaky.

flakey, but differently flakey — which is interesting

*** Test killed with quit: ran too long (7m0s) for TestFuncProducingIdempotentWithBrokerFailure

TestClientController data race

2021-09-21T05:06:59.9357821Z WARNING: DATA RACE
2021-09-21T05:06:59.9358284Z Write at 0x00c0000ff4a8 by goroutine 152:
2021-09-21T05:06:59.9358971Z   github.com/Shopify/sarama.TestClientController()
2021-09-21T05:06:59.9359771Z       /home/runner/work/sarama/sarama/client_test.go:705 +0x667
2021-09-21T05:06:59.9360297Z   testing.tRunner()
2021-09-21T05:06:59.9361359Z       /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1259 +0x22f
2021-09-21T05:06:59.9363238Z   testing.(*T).Run·dwrap·21()
2021-09-21T05:06:59.9364147Z       /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1306 +0x47
2021-09-21T05:06:59.9364850Z
2021-09-21T05:06:59.9365424Z Previous read at 0x00c0000ff4a8 by goroutine 79:
2021-09-21T05:06:59.9366231Z   runtime.racereadrange()
2021-09-21T05:06:59.9366841Z       <autogenerated>:1 +0x1b
2021-09-21T05:06:59.9367444Z   github.com/Shopify/sarama.(*Broker).Open.func1()
2021-09-21T05:06:59.9368159Z       /home/runner/work/sarama/sarama/broker.go:228 +0x110b
2021-09-21T05:06:59.9368955Z   github.com/Shopify/sarama.withRecover()
2021-09-21T05:06:59.9369712Z       /home/runner/work/sarama/sarama/utils.go:43 +0x74
2021-09-21T05:06:59.9370593Z   github.com/Shopify/sarama.(*Broker).Open·dwrap·20()
2021-09-21T05:06:59.9371371Z       /home/runner/work/sarama/sarama/broker.go:155 +0x39

Hmm another data race:
2021-09-22T13:24:31.3603927Z ==================
2021-09-22T13:24:31.3604287Z WARNING: DATA RACE
2021-09-22T13:24:31.3604758Z Write at 0x00c0003e4b10 by goroutine 108:
2021-09-22T13:24:31.3605308Z   runtime.mapassign_faststr()
2021-09-22T13:24:31.3606134Z       /opt/hostedtoolcache/go/1.17.1/x64/src/runtime/map_faststr.go:202 +0x0
2021-09-22T13:24:31.3606903Z   github.com/Shopify/sarama.TestDeleteOffset()
2021-09-22T13:24:31.3608024Z       /home/runner/work/sarama/sarama/admin_test.go:1366 +0x5de
2021-09-22T13:24:31.3608577Z   testing.tRunner()
2021-09-22T13:24:31.3609220Z       /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1259 +0x22f
2021-09-22T13:24:31.3611336Z   testing.(*T).Run·dwrap·21()
2021-09-22T13:24:31.3612084Z       /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1306 +0x47
2021-09-22T13:24:31.3612554Z
2021-09-22T13:24:31.3613033Z Previous read at 0x00c0003e4b10 by goroutine 85:
2021-09-22T13:24:31.3613668Z   runtime.mapaccess1_faststr()
2021-09-22T13:24:31.3614431Z       /opt/hostedtoolcache/go/1.17.1/x64/src/runtime/map_faststr.go:12 +0x0
2021-09-22T13:24:31.3615331Z   github.com/Shopify/sarama.(*MockBroker).SetHandlerByMap.func1()
2021-09-22T13:24:31.3616199Z       /home/runner/work/sarama/sarama/mockbroker.go:88 +0xc4
2021-09-22T13:24:31.3616974Z   github.com/Shopify/sarama.(*MockBroker).handleRequests()
2021-09-22T13:24:31.3618158Z       /home/runner/work/sarama/sarama/mockbroker.go:261 +0x941
2021-09-22T13:24:31.3619146Z   github.com/Shopify/sarama.(*MockBroker).serverLoop·dwrap·84()
2021-09-22T13:24:31.3619903Z       /home/runner/work/sarama/sarama/mockbroker.go:172 +0x71
2021-09-22T13:24:31.3620292Z
2021-09-22T13:24:31.3620875Z Goroutine 108 (running) created at:
2021-09-22T13:24:31.3621354Z   testing.(*T).Run()
2021-09-22T13:24:31.3621970Z       /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1306 +0x726
2021-09-22T13:24:31.3622649Z   testing.runTests.func1()
2021-09-22T13:24:31.3623361Z       /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1598 +0x99
2021-09-22T13:24:31.3624108Z   testing.tRunner()
2021-09-22T13:24:31.3624919Z       /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1259 +0x22f
2021-09-22T13:24:31.3625531Z   testing.runTests()
2021-09-22T13:24:31.3626176Z       /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1596 +0x7ca
2021-09-22T13:24:31.3626748Z   testing.(*M).Run()
2021-09-22T13:24:31.3627521Z       /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1504 +0x9d1
2021-09-22T13:24:31.3628174Z   github.com/Shopify/sarama.testMain()
2021-09-22T13:24:31.3628823Z       /home/runner/work/sarama/sarama/functional_test.go:94 +0x2c4
2021-09-22T13:24:31.3629450Z   github.com/Shopify/sarama.TestMain()
2021-09-22T13:24:31.3630117Z       /home/runner/work/sarama/sarama/functional_test.go:67 +0x2e
2021-09-22T13:24:31.3630615Z   main.main()
2021-09-22T13:24:31.3631029Z       _testmain.go:1159 +0x1ee
2021-09-22T13:24:31.3631310Z
2021-09-22T13:24:31.3631705Z Goroutine 85 (running) created at:
2021-09-22T13:24:31.3632290Z   github.com/Shopify/sarama.(*MockBroker).serverLoop()
2021-09-22T13:24:31.3632995Z       /home/runner/work/sarama/sarama/mockbroker.go:172 +0x1d2
2021-09-22T13:24:31.3634019Z   github.com/Shopify/sarama.NewMockBrokerListener·dwrap·87()
2021-09-22T13:24:31.3635103Z       /home/runner/work/sarama/sarama/mockbroker.go:415 +0x39

It seems like Go has recently improved its race detector to catch more issues or something?

😅 passed, merging


Scaling and price

The scaling in question here seems to be of two types:

Container-wise, with a fixed set of VM's
Azure native services

I am particularly interested in (1) with respect to pricing.
Question, what is the advantage of scaling out and in as far as pricing is concerned if I am already paying for the VM's? If I am paying for a cluster of, say, 10 VM's and I want to scale out/in by adding more instances and deploying them to across the VM's up to accomplish a total of 100% utilization of the full cluster I would be paying the same if I had a handful of container instances running at a 10% of cluster utilization.
Seems to me that one of the advantages of scaling in is that we then have extra computing space for other container instance types, however, we would have to be vigilant that one instance type does not saturate the cluster when another instance type needs to scale out too. Please let me know if I am missing anything

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e07cf860-f9d3-201b-72a2-6ba7756b649c
Version Independent ID: dee19b7e-cfe8-a4db-d29a-ba0849d2d7b9
Content: Azure Service Fabric Auto Scaling Services and Containers
Content Source: articles/service-fabric/service-fabric-cluster-resource-manager-autoscaling.md
Service: service-fabric
GitHub Login: @radicmilos
Microsoft Alias: miradic

Thanks for the feedback! We are currently investigating and will update you shortly.

Two ways to think about scaling in Service Fabric.

Adding more nodes to your cluster. Doing this will add a physical virtual machine to your cluster and balance services across your cluster now using that new VM. As pricing goes, if you are adding an additional node then you would be paying for that new nodes compute time and storage resources.

Adding another instance of your application. In this case rather than add an additional node you might want to add an additional instance of your application. You might go down this route if you have enough compute power across your node but your service is hitting its max capacity. This will add another application to the cluster on an available node and then balance the traffic between the two (or more) applications. As far as pricing goes, you are already you are already paying for the compute resources and the storage on your existing cluster so you would not have additional cost.

How you scale will depend on the situation. If you want to keep your cluster at 50% available compute power then you might consider adding additional nodes to your cluster and scaling that way. This would ensure that you can add more instances of your service without going over that 50% available compute power. However if you are okay with using say 75% of your clusters compute power you might consider adding another instance of your application instead of another node.

@zepedaherbey I will close for now. If you have additional questions just let me know and we can reopen and continue.


Possible Arithmetic Overflow in ListBox.h

I am trying to resolve an MSVC warning concerning a possible arithmetic overflow, but I am having trouble figuring out what the problem is. The 2 variables being highlighted appear to both be of int type?
I think it is highlighting y and mScrollArea.y, which should both int values. mScrollArea is a NAS2D::Rectangle<int>. Inside Rectangle, y is defined as BaseType which should be set to int in this case.
See screen shot below from IDE:

Related to #320

Ah, I think I just figured out what MSVC was pointing out. Since the IDE knows the value is eventually being cast into an integer with larger storage, it wants the type cast to occur before the operation is performed. I think this is because it is trying to reduce the chance of an integer overflow occurring.

Sounds like you figured it out. I'm curious though, this warning doesn't seem to be present on the CI builds. There there some additional warning flag we should be turning on?

This one was generated by code analysis as discussed in #320. A very brief google search didn't seem to illuminate how to make code analysis to run on AppVeyor. They tend to show up in the IDE when you have the file open and compile. A full list doesn't populate unless you manually run the command. I'm not sure what the exact threshold is to trigger them showing up in the IDE with running the full analysis.
I am trying to clear them when they show up to keep the compiler warning list low. Otherwise I tend to miss sometimes more relevant warnings that I may be causing during development.
All the rest showing up without manually compiling are related to the non-class enums in the code base.
I think there are ways to further customize the code analysis and by default it doesn't run in the most strict settings. It reminds me more of static code analysis than just strictly compiler warnings.

For some reason I thought it was already enabled. I thought some of the warning we were getting were from the Code Analysis option.
I noticed in the project file, there is:
<CodeAnalysisRuleSet>NativeRecommendedRules.ruleset</CodeAnalysisRuleSet>

Curiously though, that's only set for the Debug builds. We only build Release on CI due to only having a single concurrent build and long build times.
Anyway, I found this, which may be related:
https://docs.microsoft.com/en-us/visualstudio/code-quality/how-to-configure-code-analysis-for-a-managed-code-project?view=vs-2019


fix timer countdown on firefox mobile

for some reason it doesn't always like setInterval, calling
setTimeout repetitively seems way more reliable

Some of my thinking was backwards, this can be done way more efficiantly, will create a new PR then


Unable to access mount point as other user with -o allow_other

I'm running goofyfs 6c5cf92 on Ubuntu 14.04 on EC2, run with:
sudo goofys -o allow_other --dir-mode 0555 --file-mode 0444 <bucket> /mnt

I'm not able to access the directory as another user:
$ sudo ls -dl /mnt
dr-xr-xr-x 2 root root 4096 Oct 21 21:54 /mnt
$ ls -dl /mnt
ls: cannot access /mnt: Permission denied
$ ls -l /
...
d?????????   ? ?    ?        ?            ? mnt
...

Perhaps this is because the fuse option is not set:
$ mount
...
<bucket> on /mnt type fuse (rw,nosuid,nodev,default_permissions)

With riofs this works and I see:
$ mount
...
/dev/fuse on /mnt type fuse (rw,nosuid,nodev,default_permissions,allow_other)

Is this flag allow_others still operational? At the moment I have the same problem described by OP where ec2-user cannot read an s3 bucket mounted by root via the user-data script. The goofys command line help never mentions such a flag in v0.0.5 tho.

Hello,
for me also allow_others not works. How to solve this?


Getting Görli ETH in bulk

Hi!
We're building a multi-chain protocol that's highly dependent on liquidity pools on every chain, we'd like to get between 5000 and 10000 ETH in Görli to make sure that the pools are highly liquid.
Is it possible? Is there any procedure we need to follow?
Thank you.

Here we go: 0x09b80BEcBe709Dd354b1363727514309d1Ac3C7b

@q9f  Please send me Goerli ETH. 0x13DA09959d0CdDDB8CCEec41A0BfADaf5965bd24 There faucets are dry

Hi @q9f!
We're hosting a small multichain faucet + a bridge between Goerli and other chains like Mumbai, BSC Testnet and we get depleted pretty often. Is there any chance to get 50,000 gETH so we can keep the faucet alive for a few more months?
My address is still: 0x09b80BEcBe709Dd354b1363727514309d1Ac3C7b.
Thank you.

Hi  @lucas-janon - I no longer serve Goerli requests. Please consider migrating to Sepolia.

Hi @q9f, is it possible to get a big amount of ETH in Sepolia? If that's the case, I can chat about moving with the team.

Yes, we can do that!

Nice. I'll chat with the team so we can integrate Sepolia into the protocol soon and will be back to you, thank you!

Hey @q9f can you please provide me 10000 Sepolia ETH on 0x4C5F0f90a2D4b518aFba11E22AC9b8F6B031d204
I'm currently working on some projects that are really dependents of having ETH on some testnet so we can continue development.
Thank you!

Sent some!

Thank you!

Nice. I'll chat with the team so we can integrate Sepolia into the protocol soon and will be back to you, thank you!

Hi again @q9f!
The protocol team is finally working on supporting Sepolia. Are bulk requests still possible? If that's the case, I'd like to get between 10 and 100k.
Thanks a lot!

Hi @q9f!
I was wondering if you're still a Sepolia whale 😅 and can share some assets with me, ZetaChain is moving from Goerli to Sepolia and the broader team will need assets to support our operation.
My address is 0x09b80BEcBe709Dd354b1363727514309d1Ac3C7b.
Thank you very much!


Could not resolve pointer: /components/schemas/NaiveDateTime does not exist in document

I have a struct that uses chrono::NaiveDateTime
use chrono::NaiveDateTime;
use diesel::prelude::*;
use serde::Serialize;
use utoipa::ToSchema;

#[derive(Clone, Serialize, Queryable, ToSchema)]
pub struct MyStruct {
	// ...
    pub created_at: NaiveDateTime,
	// ...
}

Which results to this error:
Resolver error at paths./random.post.responses.201.content.application/json.schema.properties.created_at.$ref
Could not resolve reference: Could not resolve pointer: /components/schemas/NaiveDateTime does not exist in document

I'm new to Rust and not sure if this is an issue with my struct or an actual bug.

Seems that I missed this part:
 	#[schema(value_type = String)]
    pub created_at: NaiveDateTime,


iOS Build failure from update in the standard iOS native dependency

SDK version: 2.3.3
Environment: N/A
Are logs available?  N/A
Describe the bug
We have been getting build failures in the native iOS code with the following error:
❌  (node_modules/customerio-reactnative/ios/CustomerioReactnative.swift:3:8)

  1 | import Foundation
  2 | import CioTracking
> 3 | import Common
    |        ^ no such module 'Common'
  4 | import CioMessagingInApp
  5 | import UserNotifications
  6 |

This is related to the recent change to the naming of the common module in the iOS repo: https://github.com/customerio/customerio-ios/releases/tag/2.6.1
It doesn't seem like this has been changed in here as the imports are sill referring to the old import Common module name.
Yet In the pre-build logs I can see that the updated version with the new module name is getting installed with the pod install build step
...
Installing CustomerIOCommon (2.6.1)
Installing CustomerIOMessagingInApp (2.6.1)
Installing CustomerIOMessagingPush (2.6.1)
Installing CustomerIOMessagingPushAPN (2.6.1)
Installing CustomerIOTracking (2.6.1)
...

I can see that the podspec in here is being very permissive with the version of the iOS pod that is specified:
  s.dependency "CustomerIO/Tracking", '~> 2'
  s.dependency "CustomerIO/MessagingInApp", '~> 2'

I would recommend pinning the 2.6.1 pod versions and updating the imports
To Reproduce

Create a project that uses this module
Clean out the local pod cache of customerIo dependencies or run pod upgrade and then a expo prebuild --clean to pull the latest version into the cache.
Try run an iOS build

Expected behavior
An app using this dependency should build.
Screenshots N/A

Hey @EucAnt, thank you for reporting this. We are looking into it right now and will be sending out a fix. You are correct, it happened due to the recent iOS release.

Hello @EnuAnt , i also face this issue in the new version 2.4.1. if you run this lib need to be downgrade the version in 2.1.0 this work fine

After updating to version 2.4.2 I got the following error. Please help me.

Hi @huyvvbka  , did you get the solution to this issue. I am getting the same issue.


Radio Buttons dont stay selected on side swipe

This was an issue from way back that got fixed. I think the the latest custom input sprint, it sneaked back in. This is an annoying bug. Should be an easy fix.

This one is a doozy. I've pinpointed the issue.
It's a bug in TagEdit. We're referencing a tagValue property that actually is getting set right before we Save to ODK Collect. Since we haven't done that yet, it's looking at a stale value that reflects what we read previously from the OSM element, and not what was last entered in the UI.
The tagVal property you can see set in private void updateTagInOSMElement().
https://github.com/AmericanRedCross/OpenMapKitAndroid/blob/c107c89f48065c1fab93790257f8f997be2cee35/app/src/main/java/org/redcross/openmapkit/tagswipe/TagEdit.java#L158-L195
This is the only time the property is set.

This bug should also apply to text inputs. Make sure solution fixes that too. This is actually important, and I need to be mindful on how this works when crafting constraints.

Do we want to update the OSM Element every time the UI changes, or do we want to wait until we save to make those updates.
If we wait, nothing is saved unless we press save.
If we do an update every time, that means a save should encompass other elements that were edited. Would a save have several ways in it?
This might link to bug #113. Might be good to get to the crux of the matter.

Fixed this bug. Unfortunately, it does not fix #113.


change logging during upgrade

Description
This PR...

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[x] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[x] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1328

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1329

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

No need to run tests on this PR, simple logging refactor


[Branch-2.10] [imporve] [bookie] Upgrade BookKeeper dependency to 4.14.8 for branch 2.10

Fixes #xyz

Main Issue: #xyz

PIP: #xyz

Motivation
BookKeeper 4.14.8 has been released: https://github.com/apache/bookkeeper/pull/4053/files
It contains many critical bug fixes and improvements. We need to upgrade the BookKeeper dependency for Pulsar.

Modifications

Upgrade BookKeeper dependency from 4.14.7 to 4.14.8
Upgrade RocksDB dependency from 6.16.4 to <IP_ADDRESS>

Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Hi @hangc0276
 Could not find artifact org.apache.bookkeeper:bookkeeper-server:jar:tests:4.14.8 in central

Hi @hangc0276 I saw an error in the CI.
 Could not find artifact org.apache.bookkeeper:bookkeeper-server:jar:tests:4.14.8 in central

@mattisonchao I published the artifact to Maven, but it takes some time to be available. I will rerun the tests a few hours later.

/pulsarbot run-failure-checks


Engraver 2.0.4 can't resume plotfile, Linux

Hi,
i tried the Engraver 2.0.4 resume feature. Engraver can't resume my plotfile. It tries to make a new plotfile (but i am using exact the same terminal command which is saved in the terminal command history). It seems that Engraver doesn't use the resume feature, even when using 1:1 the exact command for creating.
Some advice ?

Hi, there is a bug in 2.0.4 that prevents you from resuming a file if the remaining free disk space is less than the size of the file to be resumed. There is already a fix in master. If you cant compile yourself let me know what system you are on and I‘ll help.
Best,
Johnny


integrate accelergy into scalesim for energy modeling

Integrate Accelergy (https://accelergy.mit.edu) into Scalesim for energy modeling

Hi @zishenwan, can you please update the readme on how to use accelergy integration. Thanks!


[Bug] The App doesn't work with onion vpn and normal vpn.

I dont understand this bug, simple put a vpn and see a connection error.

try changing to another country on the VPN or SSH

Can you connect to the site using the browser?


use_dir_icons not working on Linux

The dir icon is not showing up on my Linux machine. Any advice? Thanks.
import os
from ipyfilechooser import FileChooser

home_dir= os.path.expanduser('~')
# Create and display a FileChooser widget
fc = FileChooser(home_dir)
fc.default_filename = 'output.html'
fc.use_dir_icons = True

display(fc)

The folder icon is rendered using unicode character \U0001F4C1 (https://www.fileformat.info/info/unicode/char/1f4c1/index.htm). Can you verify which font is being used to render the text? It looks like support for that particular character is missing in the font that's being used.

How to check which font is being used to render by the notebook?

I think right clicking on the area that's affected and then selecting the equivalent of inspect element for your particular browser will allow you to view the CSS for that section and see what font is being used. I'm not aware of an easier way to find the active font unfortunately.

The Chrome browser shows font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

So your browser will go through that list until it hits a font that matches. It's hard to say which font is being used exactly that is missing the unicode character. I'll see about making the folder icon an optional feature that can be disabled or changed for a next release.

I can set fc.use_dir_icons = False to disable folder icons, but I would love to show the icons if possible.
I am using Manjaro Linux KDE.

I was thinking that making the folder icon configurable would allow users to select an alternative unicode character that does work with their particular font setup. Disabling the icon does indeed work using the fc.use_dir_icons parameter already, as you indicated.
Just to rule out Chrome, can you try using Firefox (or another browser) and see if things are the same there?

Interesting! It works with Firefox, but not Chrome.

As I am using ipyfilechooser as one of the dependencies for my geemap package, I can not assume the all users will be using Firefox. For the time being, I will just set fc.use_dir_icons = False. I will turn it back on in the future if the icon issue can be resolved.

Interesting indeed. There's still a number of potential reasons why this might be though. So, using the developer tools in Firefox (right click and select 'Inspect element') you can check what font is actually being used to render the text.

Can you check Chrome to see if Computer styles has any information about what font the browser is actually using to render the text? I believe it'll be near the bottom under a 'Rendered fonts` heading (e.g. https://makandracards.com/makandra/59967-css-how-to-find-out-the-rendered-font-in-chrome).

As I am using ipyfilechooser as one of the dependencies for my geemap package, I can not assume that all users will be using Firefox. For the time being, I will just set fc.use_dir_icons = False. I will turn it back on in the future if the icon issue can be resolved.

The folder icon solution does indeed rely heavily on a font being installed that supports the unicode character, which in turn also depends on the OS being used. A combination of both browser and underlying OS makes it somewhat of an unreliable solution.
I will leave this issue open for now though and see if I can find a more reliable solution to this.

Interesting to see both are using Bitstream Vera Sans Mono.
Firefox:

Chrome:

That's definitely strange. I'll leave this open for now.

This is demo for using ipyfilechooser in my geemap Python package. This would be not possible without ipyfilechooser. Thank you!

That is amazing! This really just started out as a small project to scratch an itch. So great to see others getting some value out of this! And such an awesome project you've built!

It seems this folder icon issue has been resolved. I can now see the icon on my Linux machine. Thank you.


js.constructorOf[T] failing in fullOptJS mode in master

Code :

  import scala.scalajs.js.ConstructorTag
    import scala.scalajs.js.annotation.ScalaJSDefined

    @ScalaJSDefined
    class FirstScreen extends js.Object

    @ScalaJSDefined
    class SecondScreen extends js.Object

    @inline
    def nameCtorPair[C <: js.Object: ConstructorTag]: (String, js.Any) = {
      val ctor = js.constructorTag[C].constructor
      println(s"Name : ${ctor.name} ctor : $ctor ")
      ctor.name.toString -> ctor
    }

    val map =
      js.Dictionary(nameCtorPair[FirstScreen], nameCtorPair[SecondScreen])

    js.Dynamic.global.console.log(map)

fastOptJS
Name : $c_Lclient_SampleApp$FirstScreen$1 ctor : function $c_Lclient_SampleApp$FirstScreen$1()
 Name : $c_Lclient_SampleApp$SecondScreen$1 ctor : function$c_Lclient_SampleApp$SecondScreen$1() {

fullOptJS*
Name : a ctor : function (){g.Object.call(this)}
Name : a ctor : function (){g.Object.call(this)}

That doesn't seem abnormal. Closure potentially optimizes the constructor enough to remove everything but the super call. Besides, it renames things, so the name property isn't reliable in fullOpt.

hmm ok, but it was working fine in 0.6.14
Name : kd ctor : function kd(){g.Object.call(this)}
Name : od ctor : function od(){g.Object.call(this)}

anyway what do you suggest for this kind of use case (i want name of that class) ?

You could use an implicit ClassTag in addition to the ConstructorTag to access its runtimeClass.getName.

You could use an implicit ClassTag in addition to the ConstructorTag to access its runtimeClass.getName.

👍 , thank you thats what i want , now in fullOpt also i have readable name in debugging :)


Use generics in k8s factory functions

There is a lot of code duplication and it is increasingly difficult to add new features to it. Go 1.18 introduced generics which can greatly help in such situations.
This touches a lot of places, so next time I will replace function body instead of function calls.

/test

@AwesomePatrol can you rebase this and push? Two tests are not running and this will fix it.

/test

(this should get in soon)

Sorry, I had to rebase as name of one of the imports changed, so it would fail to build after merge.

/test

One non-required job was cancelled. Merging.


[JOSS Review]  The text "Layer #" do not show up for the active layer

When first loading the software the text "Layer 1" is not shown.

It shows up when right clicking on the tab,

On closer inspection the issue seems to that the active/on-click color of text for buttons is chosen to be white, thus making it disappear if the button background is white.

To me, an easy fix it to swap the color white for the button/tab background for Layers to something dark.

Thank you for reporting this.
This is a known issue with on Mac OS Monterey (https://docs.python.org/3.10/whatsnew/changelog.html#id71). The solution is to update to python 3.10 or higher.

okay. Thats fair!


Node.js 16 is deprecated on GitHub Actions

Using
      - name: Git describe for shallow checkout
        id: ghd
        uses: proudust/gh-describe@v1

on GitHub Actions results in deprecation warning:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: proudust/gh-describe@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Thanks for sending the pull request!
We're releasing this fix as v2 for those using Self-hosted Runners.
Please update the OpenRCT PR accordingly.

@janisozaur Sorry for the wait, now available proudust/gh-describe@v2!


Collapsible navigation menu

Problem
Couple of years ago I started a book on Python 3 and Machine Learning on Read The Docs. Now it is 917 pages long documen. I have some serious problems with navigating menu - it is too long. People are complaining, that it is very hard to look for information.
Can you please add collapsible sections to menu and ability to set default as collapsed?
Reproducible Project
http://python.astrotech.io
Environment Info

Python Version: 3.7.2
Sphinx Version: 1.8.3
RTD Theme Version: 0.4.2

Maybe https://github.com/rtfd/sphinx_rtd_theme/issues/336 is what you mean?

This is not a bug in the theme but more of a limitation of sphinx itself. The solution I would recommend is:
https://github.com/rtfd/sphinx_rtd_theme/issues/715#issuecomment-457860506

there is also a small problem with Tocree caption, and headers in index.rst. In order to render chapters in PDF properly, I have to use both of them (header and toctree caption). Which makes double titles on rendered index.html.

I would report this to sphinx itself, I too have found this a problem.
As a theme we just interpret what sphinx generate and apply styling. Nothing we can really do here, closing.


glibc version

Describe the bug
Under arm linux ubuntu 22.04

flutter create hello
cd hello && flutter_rust_bridge_codegen  integrate
flutter build linux --release --verbose
build error

 /snap/flutter/current/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/11/liblto_plugin.so: error loading plugin:
/snap/flutter/142/usr/bin/../../lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by
/usr/lib/gcc/aarch64-linux-gnu/11/liblto_plugin.so)

Steps to reproduce
Under arm linux ubuntu 22.04

flutter create hello
cd hello && flutter_rust_bridge_codegen  integrate
flutter build linux --release --verbose
build error

  ] SEVERE: ================================================================================
[        ] SEVERE: Cargokit BuildTool failed with error:
[        ] SEVERE: --------------------------------------------------------------------------------
[        ] SEVERE: External Command: rustup "run" "stable" "cargo" "build" "--manifest-path" "/home/lhs/temp/hello/rust/Cargo.toml" "-p" "rust_lib"
"--release" "--target" "aarch64-unknown-linux-gnu" "--target-dir" "/home/lhs/temp/hello/build/linux/arm64/release/plugins/rust_builder/cargokit_build"
[        ] SEVERE: Returned Exit Code: 101
[        ] SEVERE: --------------------------------------------------------------------------------
[        ] SEVERE: STDOUT:
[        ] SEVERE: --------------------------------------------------------------------------------
[        ] SEVERE: STDERR:
[        ] SEVERE: Compiling libc v0.2.150
[        ] SEVERE:    Compiling proc-macro2 v1.0.70
[        ] SEVERE:    Compiling futures-core v0.3.29
[        ] SEVERE:    Compiling slab v0.4.9
[        ] SEVERE:    Compiling futures-channel v0.3.29
[        ] SEVERE:    Compiling futures-task v0.3.29
[        ] SEVERE:    Compiling num-traits v0.2.17
[        ] SEVERE: error: linking with `cc` failed: exit status: 1
 /snap/flutter/current/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/11/liblto_plugin.so: error loading plugin:
/snap/flutter/142/usr/bin/../../lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by
/usr/lib/gcc/aarch64-linux-gnu/11/liblto_plugin.so)

Logs
  ] SEVERE: ================================================================================
[        ] SEVERE: Cargokit BuildTool failed with error:
[        ] SEVERE: --------------------------------------------------------------------------------
[        ] SEVERE: External Command: rustup "run" "stable" "cargo" "build" "--manifest-path" "/home/lhs/temp/hello/rust/Cargo.toml" "-p" "rust_lib"
"--release" "--target" "aarch64-unknown-linux-gnu" "--target-dir" "/home/lhs/temp/hello/build/linux/arm64/release/plugins/rust_builder/cargokit_build"
[        ] SEVERE: Returned Exit Code: 101
[        ] SEVERE: --------------------------------------------------------------------------------
[        ] SEVERE: STDOUT:
[        ] SEVERE: --------------------------------------------------------------------------------
[        ] SEVERE: STDERR:
[        ] SEVERE: Compiling libc v0.2.150
[        ] SEVERE:    Compiling proc-macro2 v1.0.70
[        ] SEVERE:    Compiling futures-core v0.3.29
[        ] SEVERE:    Compiling slab v0.4.9
[        ] SEVERE:    Compiling futures-channel v0.3.29
[        ] SEVERE:    Compiling futures-task v0.3.29
[        ] SEVERE:    Compiling num-traits v0.2.17
[        ] SEVERE: error: linking with `cc` failed: exit status: 1
shell
/snap/flutter/current/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/11/liblto_plugin.so: error loading plugin:
/snap/flutter/142/usr/bin/../../lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by
/usr/lib/gcc/aarch64-linux-gnu/11/liblto_plugin.so)

Expected behavior
No response
Generated binding code
No response
OS
No response
Version of flutter_rust_bridge_codegen
No response
Flutter info
[✓] Flutter (Channel stable, 3.16.7, on Armbian 23.11.1 jammy 5.10.160-rk35xx, locale zh_CN.UTF-8)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[!] Proxy Configuration
    ! NO_PROXY is not set
[✓] Connected device (1 available)
[✓] Network resources

Version of clang++
14
Additional context
No response

Hi, firstly this looks like something related to Cargokit and compilation, instead of flutter_rust_bridge core.
Secondly, from my past experience, could you please try to execute this in your shell directly to see whether it fails:
[        ] SEVERE: External Command: rustup "run" "stable" "cargo" "build" "--manifest-path" "/home/lhs/temp/hello/rust/Cargo.toml" "-p" "rust_lib"
"--release" "--target" "aarch64-unknown-linux-gnu" "--target-dir" "/home/lhs/temp/hello/build/linux/arm64/release/plugins/rust_builder/cargokit_build"

@fzyzcjy  The command run successfully without any error

@fzyzcjy I fixed it
for ubuntu linux ,  I should install libclang-dev
Thanks !

@fzyzcjy
The command
rustup "run" "stable" "cargo" "build" "--manifest-path" "/home/lhs/temp/hello/rust/Cargo.toml" "-p" "rust_lib"
"--release" "--target" "aarch64-unknown-linux-gnu" "--target-dir" "/home/lhs/temp/hello/build/linux/arm64/release/plugins/rust_builder/cargokit_build"

runs  successfuly , no error

Then I guess it is a cargokit problem, since it compiles directly but fails on cargokit (same as https://github.com/fzyzcjy/flutter_rust_bridge/issues/1457), so it may be great to create an issue there.

Possibly related: this cargokit fix: https://github.com/fzyzcjy/flutter_rust_bridge/issues/1610#issuecomment-1886748284

Since this seems to be a cargokit problem instead of flutter_rust_bridge, I will close it. Feel free to reopen if needed!


Survey point 2019 no longer appears in the bridging plots

Just noticed this, and since @kellijohnson-NOAA was last to look at them I have assigned you, hope it isn't too much work. I see that bridge.model.end.yr.1 are all 2019's which seems right.

Figure 15 and 16 are affected, Figure 17 looks ok

Should Fig 15 and 16 have them because the new survey data haven't been
added yet? I can't build right now, I can only access the data, so ...
On Sun, Feb 9, 2020 at 7:44 PM Chris Grandin<EMAIL_ADDRESS>wrote:

Figure 15 and 16 are affected, Figure 17 looks ok
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pacific-hake/hake-assessment/issues/668?email_source=notifications&email_token=AA7LCFAMFFJ57G3DWQOYZ43RCDEQBA5CNFSM4KSG6FZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELHEGOQ#issuecomment-583942970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7LCFCHHDLGK232GZ37BH3RCDEQBANCNFSM4KSG6FZQ
.

--
Kelli Faye Johnson, PhD
Research Fish Biologist
Northwest Fisheries Science Center
National Marine Fisheries Service
2725 Montlake Boulevard East
Seattle, Washington 98112
(206) 860-3490
<EMAIL_ADDRESS>

But of course.. Sigh


Created injectSearch method into SearchBarController

Anyone can now inject search text into the search bar using the SearchBarController you provided by adding new method injectSearch that accepts a search text and a search Function for greater modifiability.
Use Cases:
Devs now can add buttons into the placeholder screen for search shortcuts or even add a QR / Barcode reader buttons that obviously read QR / Bar codes and inject the scanned values into the search field to automatically search after the user acquire the data from the reader.

I really need this feature in my project, how can I add it?

Hi, thanks for reaching out.
First, you will need to add this line to your pubspec.yaml

flappy_search_bar:
git:
url: https://github.com/MohamedEL-Torky/flappy_search_bar

and remove flappy_search_bar from it, because it will conflict with my
edited package. You can switch back to the flappy_search_bar package once
he accepted my pull request.
Secondly, you will need to declare searchBarController inside your widget
class.
SearchBarController searchBarController =

  new SearchBarController();

Then add it to the SearchBar widget like that
SearchBar(
        .....

        searchBarController: searchBarController,

        ....

),
Finally, you will now be able to use the searchBarController injectSearch
method like that
searchBarController.injectSearch(searchString, searchFunction);
The search string parameter is what the search function will search for.
The search function is just like the function you feed to SearchBar widget
or you can customize another one in case you need to apply another search
method for that case.
On Fri, Mar 20, 2020 at 10:36 PM João Vitor R<EMAIL_ADDRESS>wrote:

I really need this feature in my project, how can I add it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/smartnsoft/flappy_search_bar/pull/10#issuecomment-601899519,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGI2XXOTIEM2YHVBLWI47ZTRIPHTJANCNFSM4KUUNPPQ
.

Hey @ThomasEcalle.
No need to be sorry I understand the current situation. The most important thing is that you're fine. I would like to thank you for your efforts making this package which is was really great help for me and many other developers out there, and don't try to push yourself too hard we are here for you to help make this package even better that's the power of open source.
Remeber stay safe and work from home <3

Hi @MohamedEL-Torky
Has this fix been released as a package ? I don't see this in the latest version.

Hey @rohan3usturge
sorry for the late reply. I have checked the package on pub dev but unfortunately, it seems quite outdated.
If you're still looking for using this feature I welcome you to use my fork by writing the following on your pubspec.yaml file.
flappy_search_bar:
     git:
       url: https://github.com/MohamedEL-Torky/flappy_search_bar


i18n(ru): Add new install/manual.mdx translation

What kind of changes does this PR include?

Translated content

Description

Translated install/manual.mdx page into Russian

Related Issue / Implementation PR

Thank you for your approval @TheOtterlord! 🙌


add mitigation to HASHCODE_ALLOWED_FIELDS to fix Harbor #8633

See linked issue #8633

@damiencarol could you please review this PR?


The question about the window size of the gop

Hello. The window size of gop in the code is 16, which is different from 32 in the paper. In addition, can the window size of gop be set to any size as the number of input frames? Thank you for your attention.

Hello.
The number of frames for the proposed method was set to 32 in training.
In 'options/train/HiRN/train_HiRN_REDS.yml' file, 'num_frame: 32' means the number of frames in training.
And we set the size of GOP to 16 when the number of frames >= 16.
Therefore, for the bi-directional access propagation, two propagation steps are performed as shown in 'basicsr/archs/hirn_arch.py' lines 270~347.
If you want to change the size of GOP, you have to change the source code 'basicsr/archs/hirn_arch.py' lines 180~189.
And if you want to change the number of frames in training, you have to change the yml file 'options/train/HiRN/train_HiRN_REDS.yml' line 21.
Thank you.

Hello. The number of frames for the proposed method was set to 32 in training. In 'options/train/HiRN/train_HiRN_REDS.yml' file, 'num_frame: 32' means the number of frames in training. And we set the size of GOP to 16 when the number of frames >= 16. Therefore, for the bi-directional access propagation, two propagation steps are performed as shown in 'basicsr/archs/hirn_arch.py' lines from 270 to 347. If you want to change the size of GOP, you have to change the source code 'basicsr/archs/hirn_arch.py' lines from 180 to 189. And if you want to change the number of frames in training, you have to change the yml file 'options/train/HiRN/train_HiRN_REDS.yml' line 21. Thank you.

Thank you for your reply. I understand. Best wishes.


Example stops at iteration zero

Hi
Could you please help me with this.
As I tried to run example, I constantly received similar result: it printed ITERATION ### 0 and did not proceed. I will be beyond grateful if you could help me figuring out what is going wrong.

Hmm, can you provide more context? What OS are you running it on, can you print the terminal output when you run the code?

Using Python 2.7.14 64-bit on Windows 10
The code prints out this line
print "\n\n\nITERATION ###", iters with iters=0
and then does not print anything. The python process hangs and cannot be terminated even with the task manager.

I know that the multiprocessing package can have strange issues with Windows, but unfortunately I don't have access to a Windows machine at the moment to try it on (I just ran it on my mac and it works fine)
Do you have a Mac/Linux machine to try running it on instead? If not, is there any way you can let me know at which line it gets stuck at in the code (using print statements/etc) on Windows?

I set up virtual machine and implement the code in Linux it worked. I appreciate your help.

Great!


Syntax error in IE 11

Got error  "syntax error punycode.js" in IE 11.
string 133:  const ucs2encode = array => String.fromCodePoint(...array);

See the README:

The current version supports recent versions of Node.js only. For the old version that offers the same functionality with broader support, including Rhino, Ringo, Narwhal, and web browsers, see v1.4.1.

Yep. It's my mistake.


Various layout problems using camera on iPad

I am using testing Riot 0.4.0 on an iPad Mini 4 running iOS 10.3.2.
If I am in a room in portrait orientiation and press the Up-arrow button to share a photo, sometimes at random the camera view is 1/4 size:

Even if that does not happen, the "take photo" button is always mostly off-screen until I scroll down:

If I am in landscape orientation when I press the Up-arrow button, the initial camera view is partially scrolled down so the close "X" button is obscured:

If I scroll down in landscape orientation, all my photos appear as black squares and there is a large gap before the menu:

@thombles: FYI I just fixed these layout issues (PR #1388).
 I will check this last point

Awesome, thank you! I will keep an eye on future version and let you know if I see it continue to happen.

Should be fixed in 0.9.2


Create plugin-veracode-scan.yml

Creating plugin-veracode-scan.yml file
Description
https://github.com/jenkinsci/veracode-scan-plugin
Hosting ticket
https://issues.jenkins-ci.org/browse/HOSTING-899

Anyone can review my PR and merge to master?
Thank you!

Hi @slide
Thank you for your review, I have made changes based on your review comments.


Presence of FileField breaks FunctionalTest::submitForm

Description
Affects at least framework 4.5.3 & cms 4.5.1 - but I imagine the issue affects every version. Tested with CWP release 2.5.2 that uses core release 4.5.2.

Have form with dropdown fields
End to end test form for business rules around submission data using FunctionalTest::submitForm
add new file field from silverstripe/assets to accomodate new requirement
every test now fails

Steps to Reproduce
Tested via composer create-project silverstripe/recipe-cms formtesttest 4.5.2
The form must have both DropdownField and FileField present. Other fields appear to be irrelevant.
Each field separately sees the tests pass.
Note no field has any custom validation, nor does the form.
Clarification: the issue exists only in automated testing envrionment (Siverstripe's phpunit test harness). Manual reproduction attempts (font-end user testing) see everything work as expected.
<?php

namespace {

    use SilverStripe\Forms\DropdownField;
    use SilverStripe\Forms\FieldList;
    use SilverStripe\Forms\FileField;
    use SilverStripe\Forms\Form;
    use SilverStripe\Forms\FormAction;
    use SilverStripe\View\SSViewer;
    use SilverStripe\CMS\Controllers\ContentController;

    class PageController extends ContentController
    {
        private static $allowed_actions = ['Form', 'FormPass'];

        public function Form()
        {
            return Form::create(
                $this,
                __FUNCTION__,
                FieldList::create(
                    DropdownField::create('Breaks', null, [
                        'one' => 'First option',
                        'two' => 'Second option',
                    ]),
                    FileField::create('uploaded')
                ),
                FieldList::create(
                    FormAction::create('formSubmission', 'Submit')
                )
            );
        }

        public function FormPass()
        {
            $form = $this->Form()->setName(__FUNCTION__);
            $form->Fields()->removeByName('uploaded');
            return $form;
        }

        public function formSubmission()
        {
            return "Neat.";
        }

        public function getViewer($action)
        {
            return SSViewer::fromString(
                '<!DOCTYPE html>' . PHP_EOL
                . '<title>Form upload test</title>$Form $FormPass'
            );
        }
    }
}

<?php

use SilverStripe\Control\HTTPRequest;
use SilverStripe\Dev\FunctionalTest;
use SilverStripe\Dev\SapphireTest;

class PageControllerTest extends FunctionalTest
{
    protected $usesDatabase = true;

    protected function setUp()
    {
        parent::setUp();
        $page = Page::create();
        $page->update(['URLSegment' => 'home'])->write();
        $page->doPublish();
    }

    /**
     * @dataProvider getPassFail
     */
    public function testForm($formName)
    {
        $this->get('/');
        $response = $this->submitForm("Form_$formName", 'action_formSubmission', ['Breaks' => 'two']);
        $this->assertEquals('Neat.', $response->getBody());
    }

    public function getPassFail()
    {
        return [
            ['FormPass'],
            ['Form'],
        ];
    }
}

output
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.

.F                                                                  2 / 2 (100%)

Time: 3.25 seconds, Memory: 44.50MB

There was 1 failure:

1) PageControllerTest::testForm with data set #1 ('Form')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Neat.'
+'<!DOCTYPE html>
+<title>Form upload test</title>

[...]

FAILURES!
Tests: 2, Assertions: 2, Failures: 1.

Presence of an input type=file causes SimpleTest to (correctly) encode a submission as multi part form data, as opposed to a simple GET style URL Query string.
TestSession though is set up to then run this through parse_str which is designed for query string parsing only.
https://github.com/silverstripe/silverstripe-framework/blob/d408a4e714d4953df9f8552f2f3536223b799b81/src/Dev/TestSession.php#L238
I.e. this part of testing designed specifically for POST vars can only handle GET vars.
Without a file field the submission data becomes Breaks=two&action_formSubmission=Submit
With a file field the submission data becomes:
--st5f0ba947b4fc5
Content-Disposition: form-data; name="Breaks"

two
--st5f0ba947b4fc5
Content-Disposition: form-data; name="MAX_FILE_SIZE"

2097152
--st5f0ba947b4fc5
Content-Disposition: form-data; name="action_formSubmission"

Submit
--st5f0ba947b4fc5--

parse_str decodes this into:
array(1) {
  '--st5f0ba947b4fc5
Content-Disposition:_form-data;_name' =>
  string(213) "[... rest of the POST body]

Note:

array size 1
spaces turned to underscores in array key
the value of the only key is the entire remainder of the submission body

https://www.php.net/manual/en/function.parse-str.php#refsect1-function.parse-str-examples

Because variables in PHP can't have dots and spaces in their names, those are converted to underscores. Same applies to naming of respective key names in case of using this function with result parameter.

This effectively wipes all submitted data clean, thus causing a dropdown to have an empty submission (which is invalid). This would in theory (I've not tested this) also mean any required field would also fail if a validator was applied - or in the very least would cause an assertion that something happens with the submitted data to fail, in that there is no submitted data.
There does not appear to be an easy way out of this.
However, this third party library designed for use with PHP4 that has been folded into framework due to the lack of composer at the time (when Silverstripe shifted from SVN to git) is actually actively maintained and is compatible with PHP7 - and should probably be dropped from framework. This may solve the issue. It may not. This is more work than I can spend investigating now.
https://github.com/simpletest/simpletest/

After a bit of reading, the best I can find to deal with this is this gist from the comments of this StackOverflow post. Then we would just need a way to work out whether to call parse_str or parse_raw_http_request


css zoom causes proportional offset in signature

if the (non-standard) CSS property 'zoom' is applied to the canvas or any of its parents, then the x/y positions of the drawn signature will be off in proportion to the zoom.
I have tested this in touch devices, not mouse-driven devices.

@kaeverens, you say that you added your fix to line 200, but that might have changed since that post.  Can you give an update on what is right before your addition?

In the function drawLine, place the code just after the first 'if/else' block.

@kaeverens zoom didn't work for me for the Y axis on a nexus 7 cordoba app, but it helped me a lot to work out a fix, this are my changes (sorry i had the minified version in the app i had to fix):
if (typeof a.changedTouches !== "undefined") { //this line is unchanged
    var weirdTop = c(a.target)[0].getBoundingClientRect().top;
    var touchTop = a.changedTouches[0].clientY / bodyZoom;
    g = Math.floor((a.changedTouches[0].pageX - f.left) / bodyZoom);
    f = Math.floor(touchTop - weirdTop)
} else {


Fix deprecation warning on .create_volume when the EMS is nil.

The fixed warning is:
app/models/cloud_volume.rb:25: warning: toplevel constant CloudVolume
referenced by NilClass::CloudVolume
Fixes #6618
@Ladas @chessbyte Please review

@Fryguy looks good :+1:  thank you for the fix, I was trying to push it up in my todos list :-)

:bow: @Fryguy Thanks, that warning was annoying!


google maps flutter - all marker are not visible

Hi,
I am trying to display around 200 markers on Google Map. But only 40-50 markers are being displayed. Is there any limit on marker count?

Hi @viratshukla
Did you try another device or emulator?
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Fixed it myself. Marker ID was not unique. Hence only unique markers were displayed.


Destructors aren't run for detached tasks

I noticed today that when I .detach() a task, its drop() is never run.
Is this to be expected?
If yes, this should probably be documented in Task::detach() docs...
Using smol v1.3.0.

Tasks spawned with smol::spawn and detached are never dropped, this should be noted in that method's documentation. On the other hand, if you spawn tasks with a normal executor they should be dropped when the executor's destructor runs.

It looks like when I don't detach the task, the drop() is only run sometimes. I'm quite confused.
Looks like I have to .cacnel().await, then it runs the dtor for sure.

This is to be expected. The executor in this case is 'static and static types don't always run their destructors.
The intended solution is to create your own executor.

Ah, okay.
I can PR the docs change for .detach() if you'd like...

Yes, that would be appreciated.

It looks like when I don't detach the task, the drop() is only run sometimes. I'm quite confused.
Looks like I have to .cacnel().await, then it runs the dtor for sure.

I have an application starting detached tasks to handle each TCP connection, and this application seems to be leaking memory as a result of that, might this be the reason?
 Do you have any examples on how to do that properly?

@notgull Is it ok that i ask this here even thought the issue is closed?

@notgull Is it ok that i ask this here even thought the issue is closed?

It's always okay to ask. I've just been distracted for the past week or so.

I have an application starting detached tasks to handle each TCP connection, and this application seems to be leaking memory as a result of that, might this be the reason?

If you have an application like this it's probably already time to consider moving away from smol::spawn.

If you have an application like this it's probably already time to consider moving away from smol::spawn.

Excuse me, what should in such case be used instead?


Transitive java testFixtures dependency stopped being pulled in Gradle >= 6.7

I have 3 modules: module-a, module-b, module-c
with module-a & module-b containing some testFixtures
module-b's build.gradle contains
dependencies {
    testFixturesCompile testFixtures(project(':module-a'))
}

and module-c's build.gradle contains
dependencies {
    compile testFixtures(project(':module-b'))
}

Classes in module-a's testFixtures used to be visible in module-c in Gradle 6.6.1, but any version higher than that broke compilation.
Current workaround is to modify module-b's build.gradle to use testFixturesApi instead of testFixturesCompile
Expected Behavior

module-c should be able to see classes declared in module-a's testFixtures
Current Behavior

In Gradle 6.6.1, module-c's compile succeeds
In Gradle >= 6.7, module-c's compile fails due to module-a's testFixtures no longer being pulled in
Context

Last version that worked was 6.6.1. I tried 6.7, all the way to 6.8-rc4 and it's still broken.
Use case is module-c is supposed to hold only testFixtures, hence the structure is slightly different than the other modules
Steps to Reproduce

test-fixtures-test.zip
Attached is a sample project with Gradle 6.6.1. Upgrade Gradle to >= 6.7 to reproduce the issue
Your Environment

Build scan URL:
6.6.1 https://scans.gradle.com/s/76ppiayohyucy
6.7 https://scans.gradle.com/s/qaqjm7ttwhe5m

Current workaround is to modify module-b's build.gradle to use testFixturesApi instead of testFixturesCompile

This is not a workaround but the fix.
compile and testFixtureCompile are deprecated and are removed in Gradle 7.


cannot import name 'STATE_CLASS_TOTAL_INCREASING' from 'homeassistant.components.sensor'

Hi there, and thank you for this nice integration.
Since 2.3.0 which should bring compatibility to the new energy management system in 2021.8, I now get an error when HA starts:
Unable to prepare setup for platform ecodevices.sensor: Platform not found (cannot import name 'STATE_CLASS_TOTAL_INCREASING' from 'homeassistant.components.sensor' (/usr/src/homeassistant/homeassistant/components/sensor/__init__.py)).
I have tried to remove and readd the integration with no success: my two sensors (a Linky on Teleinfo 1 and a gas counter)  do not show anymore.
Rolling back to 2.2.0 solves the issue.
I'm using HA v.2018.8.8.

Hello
My bad, the new STATE_CLASS_TOTAL_INCREASING will be only on the next release (202109), please stay on 2.2.0 until then
I'll add a mention in changelog
Thank you :slightly_smiling_face:

Wow, "solved" in 2 minutes! Thanks.


Segmentation fault fix

This PR fixes the segmentation faults in the case that 0 discordant edges are detected by squid.
Here, extra checks are added and the original workflow continues to be the same to produce all the required output files.

Other than the rebasing, the patch looks fine.


W-11411331-clarify-Renew-Cert-nonGUI

Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Hi @luanamulesoft, the title "Renew a Certificate after it expires" seems to be not accurate.
Could you please consider revising it to something like "An alternative method for renewing a certificate" as the steps under the existing "Renew a Certificate after it expires" are not technically only for "Ater it expires". The steps can be followed by the customer who prefers to renew via the command line or when the update certificate failed in GUI.

Hi @yunmei-zhang. I changed the title of the command line instructions as suggested.

LGTM


Cancel placement/purchase

Implemented cancellation of tile purchase
Added capability to deselect all Hand/MoneyCards
Enable/Disable Cancel Place Tile Button on the correct occasions Add Tooltip for Cancel Tile placement button
Refactored actually purchasing tiles. Works for both placing a Tile to town and to the Spare Yard Refactored `AbstractCardCollection.remove_card_by_id() to return how many cards were removed Add PurchaseInfo
Add CancelPlaceTileButton + Texture for normal & disabled

Likely broken because of rebase. I guess, use #46 instead

Implements #36

test


guard for mismatched image service dimensions

This evaluates a canvas resource's embedded image dimensions against what is actually returned by the image service for that resource and adopts the latter should they not match.

Thanks @danieltbrennan, aside from changing to !== for consistency - it looks good to merge. Did this fix the issue you ran into in #229 ?

Thanks @stephenwf, just made that update. Yes, based on what I'm seeing when testing with these types of images in storybook this should resolve that issue.


randAmmount should return number by default

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/ngneat/falso/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@pumano I'm not sure I understand what you mean, this was released as a breaking change.


feat: ion-segment-button width?

Currently it is not possible to change the width of a ion-segment-button: https://ionicframework.com/docs/api/segment-button
There is a web component button with class .native-button. So far I have not found a way to change the width of this element.
.button-native {
    min-width: 90px;
}

Please use a css variable here to make the width editable.
I have already found other contributions from astonished developers.: https://forum.ionicframework.com/t/how-to-set-the-custom-width-of-a-ion-segment-button/174579
I have subsequently found an open issue on the topic: https://github.com/ionic-team/ionic/issues/21105

Thanks for the issue. I am going to close this as a duplicate of https://github.com/ionic-team/ionic/issues/21105.


.steamtinkerlaunch-wrapped syntax errors

Steps To Reproduce
Steps to reproduce the behavior:

Install steamtinkerlaunch from current unstable
steamtinkerlaunch vortex install

Expected behavior
Should install Vortex.
Additional context
Log:
❯ steamtinkerlaunch vortex install
/nix/store/irrjvphijf3l0as59hm6z8hnw9g4hfsn-steamtinkerlaunch-12.12/bin/.steamtinkerlaunch-wrapped: line 3708: [: : integer expression expected
/nix/store/irrjvphijf3l0as59hm6z8hnw9g4hfsn-steamtinkerlaunch-12.12/bin/.steamtinkerlaunch-wrapped: line 13044: : command not found

At this point, there's a "yad" window which is stuck:

Cancelling and running a second time still runs into the second error, but seems to manage to install Vortex:
❯ steamtinkerlaunch vortex install
/nix/store/irrjvphijf3l0as59hm6z8hnw9g4hfsn-steamtinkerlaunch-12.12/bin/.steamtinkerlaunch-wrapped: line 13044: : command not found
Could not start dynamically linked executable: /home/victor/my projects/tilde/.config/steamtinkerlaunch/proton/custom/GE-Proton9-4/files/bin/wine
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld

Notify maintainers
@urandom2
Metadata

system: "x86_64-linux"
host os: Linux 6.6.30, NixOS, 24.05 (Uakari), 24.05pre621993.25865a40d14b
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.18.2
channels(root): "nixos, nixos-hardware"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Add a :+1: reaction to issues you find important.

You can't really use steamtinkerlaunch on NixOS this way, you will need a FHS compliant environment for it so eg. bottles or Steam. If you want to use it for a game on Steam then edit its launch options and put steamtinkerlaunch %command%


Bug report: DataFrame resample fails for some timezones

When a resample bin falls in a DST change datetime, the resample fails with NonExistentTimeError. This was a bug solved in pandas version 0.24.0 and what they do when a datetime doesnt exist by dst change is making a shift to the closest existing datetime.
To replicate the error copy and paste this:
import pandas as pd
import dask.dataframe as ddf
df = pd.DataFrame([[1], [2], [3]], index=[pd.Timestamp("2016-10-15 00:00:00"), pd.Timestamp("2016-10-16 10:00:00"), pd.Timestamp("2016-10-17 00:00:00")])
df.index = df.index.tz_localize('America/Sao_Paulo')
ddf2 = ddf.from_pandas(df, npartitions=1)
ddf2.resample('1D').mean().compute()

I suggest changing the following instruction at dask/dataframe/tseries/resample.py in the _resample_series function:
pd.date_range(start, end, freq=rule, closed=reindex_closed, name=out.index.name)

by the following one:
pd.date_range(start.tz_localize(None), end.tz_localize(None), freq=rule, closed=reindex_closed, name=out.index.name).tz_localize(start.tz, nonexistent="shift_forward")

Thank you for the excellent bug report and reproducible example @dfonnegra .  I apologise for the long delay in response.
It sounds like you have a solid idea for a fix.  Would you be willing to submit a PR?
Also, cc'ing resident Pandas expert @TomAugspurger just for his awareness.

@dfonnegra are you interested in working on this? Your suggested fix sounds good.

@TomAugspurger Yes Tom! Sorry, the begining of the year has been a little hard, but I'll submit a PR soon...

Great, thanks! No rush of course :)


Update deprecated GitHub workflow items

Same as
https://github.com/sabre-io/uri/pull/92
https://github.com/sabre-io/uri/pull/91

https://github.com/sabre-io/event/actions/runs/4938368261?pr=108
No messages about deprecated workflow actions - good


(PUP-9448) added period to CROSS_SCOPE_ASSIGNMENT

CLA signed by all contributors.

include in single PR with multiple commits


Changed path and checksum of the Ubuntu Server ISO.

I updated the ISO path and checksum because the download failed.

Excellent.  Thanks for the PR.


[BUG]  NameError: name 'user_plan' is not defined

Describe the bug
I'm getting the following error when trying to open the link
$ python3 main.py
 * Serving Flask app 'main'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (<IP_ADDRESS>)
 * Running on http://<IP_ADDRESS>:8080
 * Running on http://<IP_ADDRESS>:8080
Press CTRL+C to quit
[2023-09-22 03:59:57,400] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 1487, in full_dispatch_request
    return self.finalize_request(rv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 1508, in finalize_request
    response = self.process_response(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 2002, in process_response
    response = self.ensure_sync(func)(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/workspace/instagraph/main.py", line 66, in add_header
    if check_if_free_plan():
       ^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/workspace/instagraph/main.py", line 61, in check_if_free_plan
    return user_plan == 'free'
           ^^^^^^^^^
NameError: name 'user_plan' is not defined
[2023-09-22 03:59:57,400] ERROR in app: Request finalizing failed with an error while handling an error
Traceback (most recent call last):
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 1487, in full_dispatch_request
    return self.finalize_request(rv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 1508, in finalize_request
    response = self.process_response(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 2002, in process_response
    response = self.ensure_sync(func)(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/workspace/instagraph/main.py", line 66, in add_header
    if check_if_free_plan():
       ^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/workspace/instagraph/main.py", line 61, in check_if_free_plan
    return user_plan == 'free'
           ^^^^^^^^^
NameError: name 'user_plan' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 1508, in finalize_request
    response = self.process_response(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/.local/lib/python3.11/site-packages/flask/app.py", line 2002, in process_response
    response = self.ensure_sync(func)(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/workspace/instagraph/main.py", line 66, in add_header
    if check_if_free_plan():
       ^^^^^^^^^^^^^^^^^^^^
  File "/home/guy/workspace/instagraph/main.py", line 61, in check_if_free_plan
    return user_plan == 'free'
           ^^^^^^^^^
NameError: name 'user_plan' is not defined
<IP_ADDRESS> - - [22/Sep/2023 03:59:57] "GET / HTTP/1.1" 500 -

To Reproduce
Steps to reproduce the behavior:

Run python3 main.py
Click on one of the links

Desktop (please complete the following information):

OS: Ubuntu 23.04
Browser Firefox
Version 117.01

Additional context
Add any other context about the problem here.

To run this locally use command
streamlit run main.py

samesies. macos

Same issue on windows

This has been fixed in the latest version. This ticket will be closed. Thanks.


remove Error dependency, merged Monad.hs from master

Hi,
I watched your LambdaConf lecture/workshop about GADTs yesterday and I thought it was great! but I did get this weird dependency error when trying to build branch ex3 (cabal output below). After googling around a little and not finding obvious solution, I just ported your changes from master (replacing Error Monad with Except) and that seems to have solved it.
I'm sending that PR, just in case someone else runs into the same problem..

cabal configure
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
trying: glambda-1.0 (user goal)
next goal: errors (dependency of glambda-1.0)
Dependency tree exhaustively searched.
Trying configure anyway.
Configuring glambda-1.0...
cabal: Encountered missing dependencies:
errors >=1.4.6 && <2.0

Looks good to me. Thanks!


Empty strings are being created sometimes by iter_lines()

Using iter_lines to retrieve the contents of a file, sometimes empty strings are produced in the middle of the generated strings. I suspect it could be related to something like a chunk being cut exactly before a newline character in this code:
https://github.com/boto/botocore/blob/c632931a6cc5eab4113c976d430bcb9c059f829f/botocore/vendored/requests/models.py#L705
I can try to check this function this later, perhaps, but maybe someone else can do it...

Made a PR https://github.com/boto/botocore/pull/1527

Looks like this got missed.  Thanks for looking into this, looking over the PR now.

The linked PR https://github.com/boto/botocore/pull/1533 has already been merged. So closing this issue as it has been fixed with the merging of linked PR.


Can we have navigation within tags.

Its not an issue but a missing feature that we cannot navigate within the tags. Something similar to what we see in the 'To', 'cc', 'bcc' of gmail mails. We can navigate with the arrow keys, and delete the tags with backspace. Not a difficult feature. I was doing it in a fiddle, but I was using jquery to achieve that. Would be great if it comes with ngTagsInput.

Actually it is already implemented. You might miss the css to make it visually perceptible but have a look at the demo page, start typing "superman" and navigate in the dropdown with arrow keys.
http://mbenford.github.io/ngTagsInput/

Oh, I actually have a different question in mind. I was asking for the horizontal navigation among the tags that are already added to the tags-input box.
Ex: if I have below tags in my tags-input box
[abc] [xyz] [pqr] [mno]
consider the [] as the tag boxes.
My requirement is when i press the left arrow key once, my cursor should go between [pqr] | [mno]
pressing left arrow again should take my cursor between [xyz] | [pqr].
So that if i want to delete [abc] i can hit left arrow 3 times and then backspace once. same goes with right arrow. It should take my cursor to the next tagbox.
Its more of a non mouse feature and horizontal navigation. I want to support keyboard control like we have in gmail compose mail style.
Thanks for looking into it and replying. You are the best.

@Zhouzi , Do you think this is possible, or can be achieved with minor modifications ?

Sorry for not replying sooner.
This feature is in the backlog already. Take a look at #62.

Can this issue be closed?

Tag navigation is implemented in master. I've decided to split navigation off from editing because the latter is more complicated and needs further thinking.


invoke: Use relative imports instead of importing from tasks

What does this PR do?
Import from other tasks by importing .<file> instead of tasks.<file>
Motivation
We had a mix of both methods before and my autocompletion didn't seem to find the imports using tasks.*.

  File "/go/src/github.com/DataDog/datadog-agent/tasks/libs/github_actions_tools.py", line 11, in <module>
    from .utils import DEFAULT_BRANCH
ModuleNotFoundError: No module named 'tasks.libs.utils

(good to see you :) )


forward() got an unexpected keyword argument 'with_pooling'

Dear Dr.Du, thanks for your great job! I installed the environment according to the instructions in the readme, but when I ran python train.py, the following error occurred:
===> Refer-KITTI (train) <===
Number of identities: 475
========== Training (Text-Guided OFF) ==========
Traceback (most recent call last):
File "train.py", line 88, in
logits = model(inputs, epoch)['logits']
File "/home/zzz/miniconda3/envs/iKUN_Git/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/zzz/miniconda3/envs/iKUN_Git/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 171, in forward
outputs = self.parallel_apply(replicas, inputs, kwargs)
File "/home/zzz/miniconda3/envs/iKUN_Git/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 181, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
File "/home/zzz/miniconda3/envs/iKUN_Git/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 89, in parallel_apply
output.reraise()
File "/home/zzz/miniconda3/envs/iKUN_Git/lib/python3.8/site-packages/torch/_utils.py", line 644, in reraise
raise exception
TypeError: Caught TypeError in replica 0 on device 0.
Original Traceback (most recent call last):
File "/home/zzz/miniconda3/envs/iKUN_Git/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 64, in _worker
output = module(*input, **kwargs)
File "/home/zzz/miniconda3/envs/iKUN_Git/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/zzz/Code/iKUN/model.py", line 267, in forward
visual_feat = self.visual_local_global(x['local_img'], x['global_img'])
File "/home/zzz/Code/iKUN/model.py", line 335, in visual_local_global
local_feat = self.clip.visual(local_img, with_pooling=False)  # [bt,c,7,7]
File "/home/zzz/miniconda3/envs/iKUN_Git/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
TypeError: forward() got an unexpected keyword argument 'with_pooling'
looking forward to your reply, thanks!

Actually, the self.clip.visual points to the VisionTransformer class. There is indeed no with_pooling parameter in the forward function of this class：

Did I missed something?

Hi, thanks for your interest in our work! Sorry for the mistake, it seems a bug.
Indeed, we use ResNet50 for visual encoder, not ViT:
https://github.com/dyhBUPT/iKUN/blob/dc8a529fd1897505bdd2fda13e9c75b317c9d766/opts.py#L26
And it seems that I modified the source code of CLIP, but I have forgot it. 😂😂😂
Specifically, I modified the function ModifiedResNet.forward() by adding the param with_pooling:
    def forward(self, x, with_pooling=True):
        def stem(x):
            for conv, bn in [(self.conv1, self.bn1), (self.conv2, self.bn2), (self.conv3, self.bn3)]:
                x = self.relu(bn(conv(x)))
            x = self.avgpool(x)
            return x

        x = x.type(self.conv1.weight.dtype)
        x = stem(x)
        x = self.layer1(x)
        x = self.layer2(x)
        x = self.layer3(x)
        x = self.layer4(x)

        if with_pooling:
            x = self.attnpool(x)

        return x

Please let me know if this helps~

This really worked. Thanks for your kind help!

(iKUN) PS D:\python\iKUN\iKUN> python test.py --test_ckpt iKUN.pth
========== Testing (Text-Guided OFF) ==========
load from E:/data_base\ReferKITTI\iKUN.pth...
========== Testing Tracking ==========
0%|                                                                                | 0/66456 [00:12<?, ?it/s]
Traceback (most recent call last):
File "test.py", line 230, in
output = test_tracking(model, dataloader)
File "test.py", line 145, in test_tracking
similarity = model(inputs)['logits'].cpu()
File "D:\Anacodna3\envs\iKUN\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\Anacodna3\envs\iKUN\lib\site-packages\torch\nn\parallel\data_parallel.py", line 169, in forward
return self.module(*inputs[0], **kwargs[0])
File "D:\Anacodna3\envs\iKUN\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\python\iKUN\iKUN\model.py", line 267, in forward
visual_feat = self.visual_local_global(x['local_img'], x['global_img'])
File "D:\python\iKUN\iKUN\model.py", line 334, in visual_local_global
local_feat = self.clip.visual(local_img, with_pooling=False)  # [bt,c,7,7]
File "D:\Anacodna3\envs\iKUN\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\Anacodna3\envs\iKUN\lib\site-packages\clip\model.py", line 146, in forward
x = stem(x)
File "D:\Anacodna3\envs\iKUN\lib\site-packages\clip\model.py", line 141, in stem
x = self.relu(bn(conv(x)))
File "D:\Anacodna3\envs\iKUN\lib\site-packages\torch\nn\modules\module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'ModifiedResNet' object has no attribute 'relu'
It can not run！
The original code was as follows.
def forward(self, x, with_pooling=True):
def stem(x):
for conv, bn in [(self.conv1, self.bn1), (self.conv2, self.bn2), (self.conv3, self.bn3)]:
x = self.relu(bn(conv(x)))
x = self.avgpool(x)
return x
    x = x.type(self.conv1.weight.dtype)
    x = stem(x)
    x = self.layer1(x)
    x = self.layer2(x)
    x = self.layer3(x)
    x = self.layer4(x)

    if with_pooling:
        x = self.attnpool(x)

    return x

Here are my modifications made under on your guidance,can you help me to solve the problem above ?
def forward(self, x, with_pooling=True):
    def stem(x):
        for conv, bn in [(self.conv1, self.bn1), (self.conv2, self.bn2), (self.conv3, self.bn3)]:
            x = self.relu(bn(conv(x)))
        x = self.avgpool(x)
        return x

    x = x.type(self.conv1.weight.dtype)
    x = stem(x)
    x = self.layer1(x)
    x = self.layer2(x)
    x = self.layer3(x)
    x = self.layer4(x)

    if with_pooling:
        x = self.attnpool(x)

    return x

I thingk ‘x = self.relu(bn(conv(x)))’  should be 'x = relu(bn(conv(x)))'

Maybe that is because I use the old version of CLIP codes.
Base on current codes, I think you are right. Just do it!

It's caused by this PR: https://github.com/openai/CLIP/pull/239


propagate change to all the children

Each super invitation will run a date process function:

cdate
mdate + 10 seconds

in both cases it will try to create or re-create the child invitations.
Every time the invitation is updated, it will wait until the date process function (mdate + 10 seconds) has finished.
If a user decides to use the invitation editor to make a change, this change will be propagated to all the children.
This applies to all the stages (review, comment, metareview, decision, revision, etc)
cdate, duedate and expdate are synchronized between the upper invitation and the inner invitation. NOT SUPPORTED: set null and propagate it to the children, they must be numbers.
In order to tell the process function which notes to use to create the child invitations we store a few parameters in the upper invitation content:

public_notes_only: create child invitation on notes where readers is everyone (being used by the public comment)
accepted_notes_only: create child invitation on notes where there is a decision with the "Accept" string (being used by the camera ready revision)

It is pending to implement more settings, like, "review_notes_only" or "metareview_notes_only", etc that can be used for rebuttal invitations o review rating invitations.

ok, this is ready to merge!!!


Container list: Create a web API and MongoDB

18,666 PV
This is the Container issue for this doc.  Reopen each issue you are working on so the owner is notified.

Replace NewtonSoftJson reference for Version 3.1 and newer #20791
Using asynchronous MongoClient APIs #21991
Suggestion: Add clarification for  in 'Test the web API' section #21920
Book Class #20773
MonoDB Rest API Tutorial : explain port #20488
The Startup.cs snipet is missing the following code. The current version produces an error where 'Configuration' doesn't get resolved #16514
MongoDB C# driver support #15942
ReplaceOne() method not working properly on .Net Core 3.0 #14829
MongoDB tutorial: Update to 3.0 and use proper snippets #14651
what is the point to use Pascal casing in json to match CLR object's property names? #14623
Something about this article need adjusts #17256
Something about this article need adjusts #17271
Error in example code #17692
HTTP 500 thrown on a POST with the code from this document #17518
Does MongoDb .Net Drive use System.Text.Json? #18409
ArgumentNullException: Value cannot be null. (Parameter 'name') #21105
Add additional JSON property so Swagger looks like non Swagger URL #21836

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5240866d-d0a1-f0dd-7b2c-203e1d69bc4b
Version Independent ID: 83a5cb3b-23bc-4f0c-cd1c-1d1ffeb1131a
Content: Create a web API with ASP.NET Core and MongoDB
Content Source: aspnetcore/tutorials/first-mongo-app.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @prkhandelwal
Microsoft Alias: scaddie

Any answer to my question?

Does MongoDb .Net Drive use System.Text.Json?

I'm going to move this to backlog just so that we can close this old milestone ... it keeps popping up on me and getting in the way when working with new issues. 🏃

@markjbrown take a look at these issues when you send me the updated code.

Thanks @Rick-Anderson. I'm going to loop in a member on our team on this. Will revert back in about a week.
Thanks again!


fix display size while Chewie wrapped by some rotate widget

When Chewie wrapped by RotatedBox like this. It is used in the situation that device not support landscape and portrait switch.
RotatedBox(quarterTurns: 1,
                      child: Chewie(
                        controller: _chewieController!,
                      ))

It will not occupy all the space.

Use LayoutBuilder instead of MediaQuery is more adaptive. It looks like this now.

LGTM. Will try out your changes either tonight or tomorrow night.

@bailyzheng sorry for the delay. Will get a chance to run it on my end first thing tomorrow.


Two new options: security fixes

Description
Two new options: security fixes
Fixes #321
Type of change

Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Base: 64.83% // Head: 64.83% // No change to project coverage :thumbsup:

Coverage data is based on head (e77ad2d) compared to base (954296b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #323   +/-   ##
=======================================
  Coverage   64.83%   64.83%
=======================================
  Files          11       11
  Lines        1092     1092
=======================================
  Hits          708      708
  Misses        363      363
  Partials       21       21

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Increment versions for databricks releases

Increment package versions for databricks releases

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


MINOR: Kafka Streams code samples formating unification

Code samples are now correctly formatted.
Samples under Streams use consistently the prism library to be displayed.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@cadonna Would you like me to split this PR into several ones? One per file, for example?

Thanks @cadonna, all good points. I'll address the feedback later

Thanks @cadonna that one slipped through. I modified the code and brought back the foot notes with the hyperlink.

Hi @cadonna I'll fix that in a couple of hours, thanks for your thorough review!

Thanks for the review, I know it was long and tricky!


added KICSTOR complex Fixes #13129

Arhgh. It should be capable of part of, not just capable of. Sorry.


Simplify generated API for methods/functions without arguments

Resolves https://github.com/zaytsev/fluent-static/issues/5

Removed unnecessary lifetimes to further simplify API since bundles are static and there is no need to carry lifetimes around


Fix strip prefix documentation

What does this PR do?
This PR fix strip prefix documentation
Motivation
Correct documentation
More

[x] Added/updated documentation

reviewed with @dduportal :+1:


UI: Latest version does not allow for drag and drop reordering of service dialog elements #1229

I am also experiencing this same issue as issue #1229.
We are using Cloudforms.  (Settings -> About -Version: <IP_ADDRESS>.20161128141841_49d925b).
I am unable to reorder elements in a service dialog

@Midacts can you please reopen this on the classic UI repo: https://github.com/ManageIQ/manageiq-ui-classic

Sure thing.
Thanks for the reply.


MWPW-137960 : Refactor Marquee block test cases, and other improvments

MWPW-137960: Refactor Marquee block test cases
PR includes

Refactoring of Marquee block test cases
Introducing style folder to read variables.css and block.css files to verify CSS / attributes

Note: This is a bit of experiment and exploration, currently including both files under the styles folder; we won't be having this folder and files when we move test cases to the corresponding repository

Introducing visual comparison step at section/block level.

Note: This is also a bit of experiment and exploration to evaluate execution time with visual comparision

Introducing validation for console log errors

-     await test.step('step-3: Verify and log if any console errors', async () => {
      consoleErrors.length > 0 && console.log('[Console error]:', consoleErrors);
      expect.soft(consoleErrors.length).toBe(0);
    });

Closing this PR, (updates are made as part of other pr's )


CIS Benchmark: No content shown in profile create/edit page

Steps to reproduce

Install CIS Benchmark cluster tool helm chart
Cluster --> Tools --> install CIS Benchmark --> refresh
Navigate to resource menu CIS Benchmark --> Profiles --> create

Actual behavior
No content renders on page. No errors or warnings in log.
Expected behavior
Content is rendered in page

Closing as per track history of the issue


two video missing in 8.06 Spring 2018

@mbertrand @pdpinch There are two video missing in 8.06 Spring 2018. L13.4 and L13.5, which are easiest to see on this page. Let me know if there is a better way to report this or if this is the wrong place.
Originally posted by @dseaton in https://github.com/mitodl/ocw-to-hugo/issues/459#issuecomment-1116455891

I don't believe anything like that exists at the moment. I think we'd have to create a resource for the video page to be created.

Can you do that from the django shell, or the django admin? There's no way to do it from studio, other than syncing a video file from gdrive.

how many courses have this issue? If it's just these two videos, I could try to create the resources manually.

I'm not sure, but I think it's rare. You could run a query on the production studio database for strings that have patterns similar to the two examples, something like \d{8}\|\w*\d{8} (8 digits followed by a pipe followed by a string with no spaces, ending with another 8 digits).

could you please assign this ticket to me? I don't have the access to do it myself.

👍

@pdpinch I've created video resources and linked them on this studio page.
I have published the course draft. You can see the changes on the following pages:

the index
L13.4
L13.5

The author may verify these changes and publish the live version themselves.
These videos do not have captions. I had a discussion with @fakhar-ud-din and we believe the solution for issue https://github.com/mitodl/ocw-studio/issues/1518 (PR https://github.com/mitodl/ocw-studio/pull/1717) will work for this course as well.
PS:

...You could run a query on the production studio database for strings that have patterns similar to the two examples...

I tried different patterns on an RC dump. The example does not have a pipe, it's a lowercase L. So the pattern becomes something like \d{8}\w+\d{8} which results in a lot of matches even after applying some other filters.

I will follow up with the OCW team to review and publish this course.

The videos look good, and they published the course.
But the captions and transcripts are missing. Perhaps we can run #1717 on this course?

I ran https://github.com/mitodl/ocw-studio/pull/1717 for this course on RC. 3play does not appear to have transcripts for these videos. I had a discussion with @fakhar-ud-din and https://github.com/mitodl/ocw-studio/pull/1717 only fetches captions from 3play that exist.
I think we have the following possibilities:

If it is possible to manually generate transcripts for videos on 3play, we can do that. Then use https://github.com/mitodl/ocw-studio/pull/1717.
If we have the caption files, I could try to manually add them from the admin site. (Currently not sure how feasible that is.)
We can create a management command to trigger a transcript generation request to 3play. Using that in conjunction with https://github.com/mitodl/ocw-studio/pull/1717 should work. This is essentially option 1 with a shell command.

@pdpinch which approach do you think we should go with?

Can we run the management command now to restore these captions?

Can we run the management command now to restore these captions?

Yes, I think so. I'll try it out on RC first on Monday.

Transcripts for the videos have been added and a draft was published.
You may view them here:

https://draft.ocw.mit.edu/courses/8-06-quantum-physics-iii-spring-2018/resources/l13-4-charged-particles-in-em-fields-potentials-and-gauge-invariance/
https://draft.ocw.mit.edu/courses/8-06-quantum-physics-iii-spring-2018/resources/l13-5-charged-particles-in-em-fields-schrodinger-equation/

Transcripts will appear on the live course once it has been published live.
@pdpinch I think this covers everything that must be done for this issue. Let me know if there is anything else. I'll make sure to move it to done and leave it for you to close after verification.

I've asked the course owner to review and publish.


How can I select from a full table with Selectize.js?

Issue tracker isn't for asking questions, use Stackoverlow for that...
The question isn't understandable; you forgot to provide a description...

okay !

So either improve this issue or close it. This will keep this issue tracker tidy. Thanks.