[FEA] see if we can detect multiple versions of the RAPIDS jar on the classpath at the same time

Is your feature request related to a problem? Please describe.
This is not going to work when the older jar is the first thing on the classpath, but at some point we can hopefully get to the point where the jars that don't have a check are not used so then we can reliably detect this.
It would really be nice if we had a way to detect that there were multiple versions of the plugin jar on the classpath.  By default this should result in an error when we try to load, because the user might not have the version that they expect.  We can have a config to allow it to keep running in this situation.
Describe the solution you'd like
The class loader can return an enumeration of multiple URLs for resources when there are duplicates on the classpath.  We could try to look for cudf-java-version-info.properties, rapids4spark-version-info,.properties, and spark-rapids-jni-version-info.properties. If we find multiple of any of these on the classpath at a minimum we need to warn, and by default we probably should throw an exception.
We could even go as far as to read these files and see what is different. to include in the error message.

This just happened again to another customer. I filed https://github.com/NVIDIA/spark-rapids-tools/issues/266 in tools to try and warn people about it, but at the same time if we lose a day working with a customer because of a simple mistake like this it really would be nice to just have the plugin crash to let you know something is wrong ahead of time.  (possibly with a config to bypass it)

Scope: count number of Spark RAPIDS jars on the classpath; if number of Spark RAPIDS jars > 1, then fail with error message.

here is an approach explored in the  Scala shell that could be implemented somewhere around ShimLoader.
For example I have these rapids jars in my ivy cache
$ find ~/.ivy2/jars/ -name \*jar
/home/gshegalov/.ivy2/jars/com.nvidia_rapids-4-spark_2.12-23.08.1.jar
/home/gshegalov/.ivy2/jars/com.nvidia_rapids-4-spark_2.12-22.12.0.jar
/home/gshegalov/.ivy2/jars/com.nvidia_rapids-4-spark_2.12-23.10.0.jar
/home/gshegalov/.ivy2/jars/com.nvidia_rapids-4-spark_2.12-23.06.0.jar

~/dist/spark-3.3.0-bin-hadoop3/bin/spark-shell --jars $(find ~/.ivy2/jars/ -name '*rapids-4-spark_2.12*.jar' | xargs printf "%s,")

import scala.collection.JavaConverters._
val cl = classOf[com.nvidia.spark.rapids.SparkShimServiceProvider].getClassLoader
val rapidsJarURLs = cl.getResources("rapids4spark-version-info.properties").asScala.toList
scala> rapidsJarURLs.map { url => scala.io.Source.fromInputStream(url.openStream()).mkString("") }

yields
res5: List[String] =
List("version=23.08.1
cudf_version=23.08.0
user=
revision=ee2de89985ca0bc2b0b09eddd1efc3ccb9297d0b
branch=HEAD
date=2023-08-15T09:23:27Z
url=https://github.com/NVIDIA/spark-rapids.git
", "version=22.12.0
cudf_version=22.12.0
user=
revision=6bba270bc5ce68f009c0b3e2d5b41f562cf29abb
branch=HEAD
date=2022-12-12T18:58:25Z
url=https://github.com/NVIDIA/spark-rapids.git
", "version=23.10.0
cudf_version=23.10.0
user=
revision=33ca52bd21f7b5a91af1c8414f316155c3b0cc98
branch=HEAD
date=2023-10-24T09:28:08Z
url=https://github.com/NVIDIA/spark-rapids.git
", "version=23.06.0
cudf_version=23.06.0
user=
revision=643370df12d74b7de8717b2fb46432d94e523158
branch=HEAD
date=2023-06-19T14:10:29Z
url=https://github.com/NVIDIA/spark-rapids.git


Uwuification cleanup

Close #23

rip linter

make random_dice _random_dice

add re.compile to the regexes outside of the function?

How does this help it?


HBASE-22989 : null check for item2RegionMap while removing LoadQueueItem

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
1m  8s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ master Compile Tests _

:green_heart:
mvninstall
6m 58s
master passed

:green_heart:
compile
1m  5s
master passed

:green_heart:
checkstyle
1m 39s
master passed

:green_heart:
shadedjars
5m 38s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
0m 42s
master passed

:blue_heart:
spotbugs
4m 58s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
4m 56s
master passed

_ Patch Compile Tests _

:green_heart:
mvninstall
5m 34s
the patch passed

:green_heart:
compile
1m  3s
the patch passed

:green_heart:
javac
1m  3s
the patch passed

:green_heart:
checkstyle
1m 38s
the patch passed

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
shadedjars
5m 12s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
16m 45s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
javadoc
0m 36s
the patch passed

:green_heart:
findbugs
4m  4s
the patch passed

_ Other Tests _

:green_heart:
unit
159m  2s
hbase-server in the patch passed.

:green_heart:
asflicense
0m 35s
The patch does not generate ASF License warnings.

223m 30s

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-596/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/596

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 72d0797cffa4 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-596/out/precommit/personality/provided.sh

git revision
master / 78bae9e3d0

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-596/1/testReport/

Max. process+thread count
4864 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-596/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.


encoding/base32: uses more space in buffer than returned in EncodedLen method

What version of Go are you using (go version)?

$ go version
go version go1.18.3 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
go version go1.18.3 linux/amd64
[mateusz@arch example ]$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/home/mateusz/go/bin"
GOCACHE="/home/mateusz/.cache/go-build"
GOENV="/home/mateusz/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/mateusz/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/mateusz/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/mateusz/code/example/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1154144156=/tmp/go-build -gno-record-gcc-switches"

What did you do?
func main() {
	enc := base32.HexEncoding.WithPadding(base32.NoPadding)

	data := []byte{0: 255, 15: 255}

	fmt.Println(enc.EncodedLen(len(data))) //26

	buf := [128]byte{}

	enc.Encode(buf[:], data)
	fmt.Printf("%v\n", string(buf[:]))  //VS0000000000000000000000VS000000
	fmt.Println(enc.EncodeToString(data)) //VS0000000000000000000000VS
}

https://go.dev/play/p/nv53zKwHz3E
What did you expect to see?
fmt.Printf("%v\n", string(buf[:]))   //VS0000000000000000000000VS
fmt.Println(enc.EncodeToString(data)) //VS0000000000000000000000VS

What did you see instead?
fmt.Printf("%v\n", string(buf[:]))   //VS0000000000000000000000VS000000
fmt.Println(enc.EncodeToString(data)) //VS0000000000000000000000VS

The Encode method seems to be working as documented. See the example at https://pkg.go.dev/encoding/base32#example-Encoding.Encode.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see the resources listed at https://go.dev/wiki/Questions.

So then why the encoding/base64 does not append '0' characters at the end?
https://go.dev/play/p/gRnZ-1lEXgw

In some weird cases it could lead to security issues: https://go.dev/play/p/ZUzDf04bO1K

For questions, please see https://go.dev/wiki/Questions.  Thanks.


[BUG] Problems on using LiteDatabase with SharedEngine and MemoryStream

Problems on using LiteDatabase with SharedEngine and MemoryStream
Version
The latest master.
Describe the bug
(1) Cannot specify just a memory stream. We have to invent some fake file name.
This is unexpected and error prone, any name will do, not carefully selected
names may clash.
BTW, for a memory stream use of a named mutex might be not quite right. It
should be in-process mutex, not global named. (Disclaimer: I am not an expert
in this area).
(2) Something is not quite right with the mutex, it fails on the first database operation.
Code to Reproduce
using System.IO;
using LiteDB.Engine;
using Xunit;

namespace LiteDB.Tests.Engine
{
    public class SharedEndine_Tests
    {
        [Fact]
        public void DataStream_No_Filename()
        {
            using var mem = new MemoryStream();
            var settings = new EngineSettings()
            {
                DataStream = mem
            };
            using var engine = new SharedEngine(settings);
            //! System.NullReferenceException: 'Object reference not set to an instance of an object.'
        }

        [Fact]
        public void Just_DataStream()
        {
            using var mem = new MemoryStream();
            var settings = new EngineSettings()
            {
                DataStream = mem,
                Filename = "zzz" //! now we have to provide something
            };
            using var engine = new SharedEngine(settings);
            using var db = new LiteDatabase(engine);
            var col = db.GetCollection("test");
            col.Insert(new BsonDocument() { ["_id"] = 1 });
            //! System.Threading.AbandonedMutexException: 'The wait completed due to an abandoned mutex.'
        }
    }
}

Expected behavior
Both tests should pass.
They fail with NRE and AbandonedMutexException.

Problem 1 can be fixed easily (I was thinking of using the hashcode of the MemoryStream to name the mutex). However, I could not reproduce problem 2, it works just fine here.
Anyway, I don't think there is much sense in using SharedEngine with a MemoryStream. SharedEngine is meant for multi-process usage, it uses a system-wide mutex to control file access and closes the file/releases the mutex after every operation.

Anyway, I don't think there is much sense in using SharedEngine with a MemoryStream. SharedEngine is meant for multi-process usage, it uses a system-wide mutex to control file access and closes the file/releases the mutex after every operation.

Hmm, maybe... Then what is the recommended scenario for using a memory database from several threads of the same app?

Problem 1 can be fixed easily (I was thinking of using the hashcode of the MemoryStream to name the mutex). However, I could not reproduce problem 2, it works just fine here.

Like I said, I think this is wrong to use a named mutex for a memory stream. If I am not mistaken named mutex works for all apps on a machine. This does not make sense for a memory stream in a particular app, each instance uses its own memory steam.

Update on the second test Just_DataStream. For some reason I cannot reproduce the problem with this 1 thread scenario. Maybe one of the recent changes affected this test.
But I still have the same exception on using the similar scenario from several threads.
I can create a more complex test with 2+ threads. But now I am not sure, you say this is not the "right way". Then what is the "right way"? I will use it and if it works then this is not the issue.

Update 2. The original test still fails, just not always. It's some timing issue of something else is unstable.
Can you try the same test in a loop?
[Fact]
public void Just_DataStream()
{
    for (int i = 0; i < 10000; ++i)
    {
        using var mem = new MemoryStream();
        var settings = new EngineSettings()
        {
            DataStream = mem,
            Filename = "zzz" //! now we have to provide something
        };
        using var engine = new SharedEngine(settings);
        using var db = new LiteDatabase(engine);
        var col = db.GetCollection("test");
        col.Insert(new BsonDocument() { ["_id"] = 1 });
        //! System.Threading.AbandonedMutexException: 'The wait completed due to an abandoned mutex.'
    }
}

I tried your loop example and it also worked fine. Not sure what is going on at this point.
Anyway, the recommended way to use a memory database amongst multiple threads would be to create a single instance of  LiteDatabase using a MemoryStream and sharing this instance of LiteDatabase between the threads.

A note about potential gotcha with the first issue.
A mutex name is defined as settings.Filename.ToLower().Sha1().
So, for these 4 paths pointing to the same file we get 4 different mutex names:

C:\tmp\my.db
C:/tmp/my.db (different slashes)
C:\\tmp\\my.db (double slashes)
.\my.db (relative path, given the current directory is C:\tmp)
etc.

The path should be converted to full and normalized before using it for mutex name.


bind /etc/passwd in docker

Hi @cat-bro
This was suggested by the developers as a workaround to the issue running Cactus with docker on dev.
I think Singularity mounts /etc/passwd by default but Docker doesn't.
Not sure if this is the right way to do it in TPV.
Thanks!

these are the defaults for docker volumes: https://github.com/galaxyproject/galaxy/blob/dev/test/unit/app/jobs/job_conf.sample_advanced.yml#L425
what you have looks right but it should probably be /etc/passwd:ro

this is on dev now


Color picker

I am leaving this open to track the final color picker widget functionality

Finishing up configuration with #110

I have got the functionality of the Hue selector wheel and the Saturation/Brightness box working, now I need to add alpha selector, different outputs, and fix the formatting so it looks nice

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @AkZuza, @Vinctor, @number56ame, @Megalodon4, @wdestin, @rs0101, @ikincihallac-volkan, @edwardxie, @sahwar, @nnode3D, @RaphaelEscrig, @karlosdaniel451, @rlscore, @matt81093, @tuanpx9184-cowell, @HristovCodes, @iambin, @victorgare, @guedressel, @mochaslave, @SleepyyNet, @tomploem, @AegirAexx, @ngloom, @jacobpretorius, @Holyspiritinall, @wacumov, @Jeffersonbarrero, @silverhawk15, @backlux, @agodin3z, @oguzhaninan, @zhdw22114632, @riklewis, @osjasmine, @OleksandrKorzhov, @surajshende247, @liquanchun, @gottium-kaique, @yerlantemir, @NatanMerelles, @popeysp, @f8upd8, @jeff-h, @welsakka, @waldyrious, @Lamby777, @faanqfung, @scherroman, @Joaaoc

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!

don't care, didn't ask

Closing with #161

can't even see what my own comment was before it got deleted... so i got a notification for no reason. really?


Unexpected error on my first attempt to use

ERROR   : None
An unexpected error occurred!
Exception type:      <class 'TypeError'>
Exception details:   DC.DrawText(): arguments did not match any overloaded call:
overload 1: argument 2 has unexpected type 'float'
overload 2: argument 2 has unexpected type 'float'
Application stack traceback:
File "/home/dantas/anaconda3/envs/pygubu/lib/python3.10/site-packages/wx/lib/buttons.py", line 496, in OnPaint
self.DrawLabel(dc, width, height)
File "/home/dantas/anaconda3/envs/pygubu/lib/python3.10/site-packages/wx/lib/buttons.py", line 456, in DrawLabel
dc.DrawText(label, (width-tw)/2+dx, (height-th)/2+dy)
Date and time:       2021-12-30T15:50:55.227468
Python version:      3.10.0
wxPython version:    4.1.1
wxWidgets platform:  WXGTK
wxGlade version:     1.0.3

I think 4.1.1 is not officially supported yet with Python 3.10 and so I have not tried yet as there are no Windows binaries.
Python 3.10 does not support floats any more for integer arguments. There were discussions on github or discuss.wxpython.org.
I will look into this. I will with a snapshot build of 4.1.2.

Could you please try the master branch from the wxGlade repository?
I have just uploaded a modification.

Alternatively, you may add int and round to new_properties.py TextProperty.create_editor:
hsizer.SetItemMinSize(self.text, 100, int(round(h*1.5)))
and
hsizer.SetItemMinSize(self.text, -1, int(round(h*1.5)))
`

Release 1.0.4 is online. Please test.


Camera fails while I build final release.

Camera fails in my final app release of ionic 5 while using ( ionic cordova build android --prod --release )
But it was working fine in an apk generated through ( ionic cordova build android )
Any help on this issue?

Duplicate of #742


Content-Type in example might be wrong

Is the Content-Type of the response in this example correct? Since the endpoint is returning HTML should the content-type be JSON?

It's actually correct. This example is showing what would happen if there's a content type conflict when using echo as opposed to using leaf's response object


fea(examples): Updated the READMEs with requirements.txt installation

What does this PR do?

Fixes # (issue)
Before submitting

[X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@libinta  @regisss
Hi Libin Regiss
I've gone through all the READM.md files and added the requirements.txt installation step in each.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Removed Georgia usage for the time being

Removed Georgia usage for the time being
Removals

Removed Georgia modifier from the full-width-text molecule macro.

Testing

gulp build and navigate to /plain-writing/plain-writing-act/. It should not be Georgia.

Review

@schaferjh
@ajbush
@duelj
@KimberlyMunoz
@anselmbradford
@sebworks

Screenshots

Notes

AJ and Justin will re-evaluate Georgia usage on the web after launch.

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

:+1:

Sounds good to me :metal:

:+1:


Setup more voladdress based mmio registers

LGTM, thanks!

I was going to do all the mmio stuff here :/


Why this error while compiling app?

Please provide enough info. The project used to build then it didn't? What changed in your project? Did you try to cargo clean then rebuild?

thank you it worked..


Update README.md

docs: Enhance README.md with clearer instructions and explanations
Improved overall grammar and formatting

@ashutosh-rath02 Why did you remove the level tag ??

Hey @thevijayshankersharma it was instructed by gssoc admins to do so.

Hey @thevijayshankersharma it was instructed by gssoc admins to do so.

Ok, I will talk to them


try @nuxt/ui edge

https://chore-try-ui-edge.undocs.pages.dev/guide

Seems we are good now https://5d7a66b6.undocs.pages.dev thanks @benjamincanac ❤


[Button] Basic button groups render inconsistently

In particular, basic button groups do not render correctly when a color is applied to the group, but do render correctly when color is applied individually.
JSFiddle: http://jsfiddle.net/0wvq8a0d/

I'm familiar with this issue, but I don't know of any good way to solve without a lot of code duplication. PR welcome.

Bug is still exist in 2.3.1


[ISSUE #3551] Bugfix: clone consumerOffset to target group

Make sure set the target branch to develop
What is the purpose of the change
Fix CloneGroupOffsetCommand, can clone consumerOffset to target group
Brief changelog
use consumerOffset instead of brokerOffset
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Can you switch the branch to the develop ?

Coverage increased (+0.04%) to 54.418% when pulling f69d4a89560a0b1fb88266180545fdb6aec1ba04 on lushilin:fix-clone-offset into a75c74234915f1673c635639e6a70e4c25dcd740 on apache:master.

Codecov Report

Merging #3552 (f69d4a8) into master (df4e988) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3552      +/-   ##
============================================
- Coverage     48.28%   48.22%   -0.06%
+ Complexity     4611     4600      -11
============================================
  Files           555      555
  Lines         36756    36756
  Branches       4841     4841
============================================
- Hits          17746    17724      -22
- Misses        16779    16803      +24
+ Partials       2231     2229       -2

Impacted Files
Coverage Δ

.../broker/subscription/SubscriptionGroupManager.java
54.11% <0.00%> (-16.48%)
:arrow_down:

...ache/rocketmq/broker/topic/TopicConfigManager.java
54.23% <0.00%> (-4.62%)
:arrow_down:

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-4.35%)
:arrow_down:

...ava/org/apache/rocketmq/test/util/VerifyUtils.java
46.26% <0.00%> (-2.99%)
:arrow_down:

...ava/org/apache/rocketmq/filter/util/BitsArray.java
59.82% <0.00%> (-2.57%)
:arrow_down:

...ache/rocketmq/store/AllocateMappedFileService.java
39.02% <0.00%> (-2.44%)
:arrow_down:

...mq/client/impl/consumer/RebalanceLitePullImpl.java
48.52% <0.00%> (-1.48%)
:arrow_down:

...etmq/client/latency/LatencyFaultToleranceImpl.java
50.00% <0.00%> (-1.29%)
:arrow_down:

...e/rocketmq/client/impl/consumer/RebalanceImpl.java
39.45% <0.00%> (-0.79%)
:arrow_down:

...a/org/apache/rocketmq/store/StoreStatsService.java
29.50% <0.00%> (-0.66%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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

ok, sure

my local resposity has some modify，i will re-create a pull request


Expose animation parameters for the [ExpansionTile] widget

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
The default ExpansionTile animation looks glitchy because the speeds in which the tile expands and collapses are different.
I will post 3 videos comparing the default one, one with a linear curve and another one with a linear curve and a little longer duration so what I mean is more clear.
Default ExpansionTile animation
https://github.com/flutter/flutter/assets/68293882/d88f7fb1-3029-4df1-ba57-368c2de929ac
ExpansionTile with linear curve
https://github.com/flutter/flutter/assets/68293882/e5600378-638b-43ad-b155-85a36f65e736
ExpansionTile with linear curve and a little longer animation (a little bit smoother)
https://github.com/flutter/flutter/assets/68293882/a3e0cab8-33b7-48d5-9fbd-177237320b6e
Proposal
The proposed fix is simply to expose parameters to let us control the curve and duration of the expansion animation.

CC @TahaTesser
The approach we're considering for overriding animation parameters is described here: https://github.com/flutter/flutter/pull/137945 and could be applied to ExpansionTile.  We'd appreciate your feedback on #137945 if you have time to take a look.

@matheus-kirchesch-btor
I plan to add the upcoming AnimationOverride class to this widget.


VSFeedback - The trust relationship could not be established for the SSL/TLS secure channel.

This issue has been moved from a ticket on Developer Community.

NuGet is not connected to the Internet.
The nuget.org index of the source https://api.nuget.org/v3/index.json could not be loaded.
There was an error sending the request.
The underlying connection is closed: The trust relationship could not be established for the SSL/TLS secure channel.
According to the authentication process, the remote certificate is invalid.

Original Comments
Feedback Bot on 9/30/2020, 01:45 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Original Solutions
(no solutions)

Hello, thanks for taking the time to report this. We've moved this issue to GitHub, which is where we track issues for nuget.org.
First, could you tell me if you are still facing this problem? Currently, there are no know outages on nuget.org.
Second, as an initial guess, could you try some of the mitigations available on this blog post?
https://devblogs.microsoft.com/nuget/deprecating-tls-1-0-and-1-1-on-nuget-org/
Several of our users have run into TLS issues when connecting to nuget.org because we have disabled TLS 1.0 and 1.1. Let's eliminate that possibility first.
Thanks.

Please feel free to contact<EMAIL_ADDRESS>if you run into further problems regarding connecting to nuget.org.


Batch selections should not preview single-element non-splats

Although it's not easy to do with our APIs at the moment, it's theoretically possible to log a non-splatted element with a single instance-key.
For example, a future API that allows us to log colors directly:
rr.log_points("points", [[1,2],[3,4]], instance_keys=[1, 2])
rr.log_colors("points", [RED], instance_keys=[2])

In this case, color is not a splat, but if you hover on the batch of points in the UI, it will display as if RED applies to the whole batch rather than only applying to the 2nd point.

This should be irrelevant now that splats are handled in independent rows? @jleibs

This should be irrelevant now that splats are handled in independent rows? @jleibs

Nope, still an issue. This snippet is actually runnable:
import rerun as rr

rr.init("point_test", spawn=True)
rr.log_points("points", positions=[[1, 2], [3, 4]], identifiers=[1, 2])
rr.log_points("points", positions=None, colors=[[255, 0, 0]], identifiers=[2])

Produces this data UI:

The selection UI makes it look like all the points should be red, but since the 2nd log-value is not a splat, only the second point is actualy red (which is correct)
I think the issue is basically here, where we should explicitly check for a splat instead of a length of 1.
https://github.com/rerun-io/rerun/blob/jleibs/tensor_view_without_classic/crates/re_viewer/src/ui/data_ui/component.rs#L52

Should be fixed by #1619


How to configure transition per-variant with moti?

Hi, thanks for this fantastic library! I wonder if is possible to configure different transitions per-custom-variant. E.g: Using spring transition for opening a floating menu and timing transition for closing it.
import React from 'react'
import { StyleSheet, Pressable } from 'react-native'
import { View, useAnimationState } from 'moti'

// you can create a reusable animation preset
const useToggle = () => {
    return useAnimationState({
        close: {
            translateY: -50,
        },
        open: {
            translateY: 30,
        },
    })
}

export default function HelloWorld() {
    const toggle = useToggle()

    const onPress = () => {
        toggle.transitionTo((state) => {
            if (state === 'close') {
                return 'open'
            }

            return 'close'
        })
    }

    return (
        <Pressable onPress={onPress} style={styles.container}>
            <View style={styles.button}></View>
            <View
                state={toggle}
                style={[styles.button, {backgroundColor: 'grey',}]}
                transition={{
                    // default settings for all style values
                    type: 'spring',
                    duration: 350,
                    // set a custom transition for open
                    open: {
                        type: 'spring',
                        delay: 350,
                    },
                    // set a custom transition for close
                    close: {
                        type: 'timing',
                        delay: 350,
                    },
                }}
            />
        </Pressable>
    )
}

const styles = StyleSheet.create({
    button: {
        justifyContent: 'center',
        height: 50,
        width: 50,
        borderRadius: 50,
        marginRight: 10,
        backgroundColor: 'black',
    },
    container: {
        flex: 1,
        alignItems: 'center',
        justifyContent: 'center',
        flexDirection: 'column',
        backgroundColor: 'cyan',
    },
})

Hey, this is an interesting idea. Unfortunately, it isn't possible at the moment. I'd have to think over how to implement something like that. Thanks for the issue!

Thanks @nandorojo!. Yes you are right, I can achieve that effect changing the transition prop dynamically.

I have the same issue. I fixed it with a setState, but I think it would be great to have this feature. Setting different parameters per variant seems like a common use case.
Thanks for this great lib btw.


HDDS-6456. Update RocksDB Version to 7.x

What changes were proposed in this pull request?
This change was reverted by HDDS-6828.
I'm checking it back in as memory leak has been fixed as per HDDS-6722
https://issues.apache.org/jira/browse/HDDS-6456
How was this patch tested?
Standard CI. https://github.com/duongnguyen0/ozone/actions/runs/2879138807
Also ran different workloads on my local cluster and verify no leaks were generated.

Thanks @jojochuang and @kerneltime for the review. I've gone through the changes log of 7.4.5 and looks like there're no breaking changes (for us). I've updated rocksdb to the latest release 7.4.5.

RocksDB team does not maintain multiple release lines and bug fixes only happen in the latest minor release.
I'd rather to update to the latest, and let it bake for a while. May need some time to catch potential problems.

@duongnguyen0 before merging, we can spin up a cluster with the updated dependency and leave a mixed load running. Will sync up offline.

@captainzmc I think we should merge this in as a blocker for 1.3. There is a pending set fault bug in the current RocksDB version and the memory leak issues were only recently addressed which allowed us to upgrade RocksDB version.

There is a pending seg fault bug in the current RocksDB version

Thanks @kerneltime  for the reply. Could you help to introduce the bug of RocksDB-6.29.5 that we encountered? I have confirmed with @jojochuang  before, the result of our discussion at that time is that RocksDB7 will not be a blocker for release 1.3, this is for the stability of 1.3.

@captainzmc https://issues.apache.org/jira/browse/HDDS-5756 this was the original seg fault issue that customers are still facing.

cc @jojochuang ^^

Not sure when the 1.3.0 release will be cut but internally at Cloudera we've been testing rocksdb 7, and close() behavior is the only issue found so far. Can we merge this, cut a RC for 1.3.0 and folks can start test the RC?

@kerneltime @jojochuang Thanks for your feedback. I get your point. Now I also agreed to upgrade RockSDB 7 in 1.3. It needs about one or two weeks when the 1.3.0 branch be cut(because Ratis needed to upgrade), we could use this time to test RocksDB7.

Thanks @jojochuang @kerneltime @captainzmc for your reviews/suggestions.

Thanks all for the review. Merged to master branch to be included in the upcoming 1.3.0 release.


Could not find generator 'render_sync:install'

I have added faye, thin and render_sync exactly as specified by you. I have run bundle install. When I run rails g render_sync:install I get the following error:
Could not find generator 'render_sync:install'

I am using rails 4.2.0 and ruby 2.3.1 and render_sync 0.5.0.

@rkumar you could fix the bug? If not, please post your Gemfile


`migration_template': wrong number of arguments (given 1, expected 2..3)

Hi, i have some problems with "rails generate geonames_dump:install"
`/home/user/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/generators/migration.rb:54:in 'migration_template': wrong number of arguments (given 1, exp 2..3) (ArgumentError)
    from /home/user/.rvm/gems/ruby-2.3.0/gems/geonames_dump-0.0.6/lib/generators/geonames_dump/install_generator.rb:20:in 'block in copy_migrations_f

    from /home/user/.rvm/gems/ruby-2.3.0/gems/geonames_dump-0.0.6/lib/generators/geonames_dump/install_generator.rb:13:in 'each'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/geonames_dump-0.0.6/lib/generators/geonames_dump/install_generator.rb:13:in 'copy_migrations_files'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in 'run'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in 'invoke_command'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in 'block in invoke_all'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in 'each'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in 'map'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in 'invoke_all'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/group.rb:232:in 'dispatch'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in 'start'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/generators.rb:157:in 'invoke'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/generate.rb:13:in '<top (required)>'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in 'require'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in 'block in require'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in 'load_dependency'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in 'require'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in 'require_command!'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:130:in 'generate_or_destroy'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:50:in 'generate'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in 'run_command!'

    from /home/user/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in '<top (required)>'
    from bin/rails:9:in 'require'

    from bin/rails:9:in '<main>'`

So i can't do the rest part "rake geonames_dump:install"
rake aborted!
NameError: uninitialized constant GeonamesCountry
/home/user/.rvm/gems/ruby-2.3.0/gems/geonames_dump-0.0.6/lib/tasks/truncate.rake:29:in 'block (3 levels) in <top (required)>'
/home/user/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in 'eval'
/home/user/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in ''
Tasks: TOP => geonames_dump:install => geonames_dump:truncate:all => geonames_dump:truncate:countries

Rails 4.2.5
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]

I'm having the same problem

Hi,
Sorry for the delay of my answer and thank you for pointing on this bug.
Rails migration API has changed a little bit.
You may find a new release of this gem on rubygems.

The problem has returned in Rails 5.1.x - migration_template': wrong number of arguments (given 1, expected 2..3)


Core dumped

The plotter crashes with a coredump when receiving too much datapoints.
BetterSerialPlotter: /home/X/dev-new/BetterSerialPlotter/build/_deps/mahi-gui-src/3rdparty/imgui/imgui.h:1672: T& ImVector<T>::operator[](int) [with T = ImVec2]: Assertion `i >= 0 && i < Size' failed.
Aborted (core dumped)

What platform are you on? Can you provide code that can be used to reproduce this error?

Linux. Just send a few values as fast as possible via the serial port and it will crash after a certain amount of samples.

Can confirm, on linux mint


Allow for installing a list of dependencies

Would it be possible to add an option to install a list of dependencies? Eg. in the form of a requirements.txt file or similar? When adding several dependencies I have to search for and install one at a time.

It would also be nice to be able to install dependencies via command line which will also speed up installation process.

Thats really great, I was going to open a request for it. I was thinking of also retaining the installed/required dependencies in the database and when every new worker joins it would auto install all dependencies

It would also be nice to be able to install dependencies via command line which will also speed up installation process.

@username-mike and @saleh-hom basically you can do it in two ways.

Press Play button in your spider and type pip install <lib1> <lib2> <lib3> to command input and choose Mode -> All Nodes and after press Confirm btn.

Or you can create requirements.txt with your deps in one of your spiders and run script with the following command for all Nodes:
pip install -r requirements.txt


fix: routing is not working & ionicons not importing correctly

🐛 The bug
routing is absolutely broken with me, in addition to the issue that nothing works unless i install @ionic/vue
and icons are not importing correctly
icons error:

what happens when I change tabs:

as you can see the tabs just get displayed together

if I change tabs again this comes in the console:

app.vue:
<template lang="pug">
ionApp
  UiTabs
</template>

components/Ui/Tabs.vue:
<template lang="pug">
ionPage
   ionTabs
      ionRouterOutlet
      //- https://ionicframework.com/docs/vue/navigation#working-with-tabs
      ionTabBar(slot="bottom")
         ionTabButton(tab="home" href="/tabs/home")
            ionIcon( :icon="ioniconsHome" )
            ionLabel Home
         ionTabButton(tab="schedule" href="/tabs/schedule")
            ionIcon( :icon="ioniconsCalendar" )
            ionLabel Schedule
</template>

pages/tabs/Home.vue
<template lang="pug">
h1 this is the home tab
</template>

pages/tabs/Schedule.vue
<template lang="pug">
h1 this is the schedule tab
</template>

🛠 To reproduce
https://github.com/NyllRE/ionic-nuxt-3
🌈 Expected behaviour

tabs change correctly
icons get imported and displayed

ℹ Additional context
I tried to remake the project multiple times and these errors keep coming, I install @nuxtjs/ionic and no component is known, I install @ionic/vue and the routing is broken, I install @ionic/vue-routing and the ionicons are not working and the routing is broken. nothing seems to be working fine with my experience

Hey @NyllRE, I've created NyllRE/ionic-nuxt-3#1 which hopefully resolves your issues.
Firstly, it seems that using pug didn't properly work with ionic (might be related to nuxt/framework#6049). After externalizing vue dependencies it seems to work alright (cc @danielroe would appreciate if you could take a look, since this might hint at some bigger underlying issue)
Secondly I think you forgot to put IonPage and IonContent in your pages, as official ionic docs mention
Let me know if you need further assistance or If I can close the issue 😁

also you don't need IonPage in your UiTabs.vue component

thanks a lot @Lexpeartha for your help, but unfortunately after I tried all of what you did the same errors persist

converted everything into html instead of pug
made sure I follow the documentation structure with placing the components
reinstalled everything just to make sure
switched to yarn instead of pnpm and for some reason the ionicons worked but the routing is still broken
I will be using ionic with plain vue until these errors get fixed because they seriously broke the developer experience. if there's anything I could do to help I'd be happy to because I'm really looking forward to making full stack web and mobile apps with backend and all only using nuxt

Hmm, have you tried out my PR?
If It still doesn't work, I would appreciate a reproduction

I did try your pr and I even added to it the extra fixes you suggested, is it working with you? because if it does then I will try to restart the project without using pnpm because I feel like most of the issues are from it

Let me clarify, you tried cloning [my fork] and it still doesn't work?
For me it worked fine, pnpm just threw few warnings and that's about it. If you could provide more context, errors or reproductions I might have something to go off of

yep, I did clone your fork & modified the project based on your recommendations. so it seems to be an issue on my side, I don't know what it could be, when I have free time I will send all useful context I could get

Yes, but my fork needs no modifications I've already added them. Did you try it by itself, without making modifications?

here's a video of the issues that happens with me with explainations:
@nuxtjs/ionic issues Video
notes:

when I re-installed with all the different package managers I did remove the node_packages file
I tried modifying the installations with removing and adding different packages to make sure nothing is conficting
I changed the tags from thisCase to this-case and also ThisCase and I discovered that using this-case produces a different error:

the only issue I could think of is that my Fedora has some weird internal issue that could make this error because I guess you use windows/mac and it works with you. I will test it tomorrow with my windows boot and if the issue doesn't return then the issue could be with fedora or linux specifically even though nuxt and @ionic/vue alone work well. other than that I'd be sticking with @ionic/vue

I forgot to mention an important detail, building the app and serving it works fine, the issue is specifically with running it in a dev environment npm run dev, so this could be an issue with the bundler not working properly

I copied the playground file in this repo and modified it to my needs and it did work. the error from this issue persists


Not available with Carthage and Xcode 10.2

error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'StatefulViewController-iOS')
any plan to update to swift 4.x or 5.x?

@emirandm It doesn't look like anyone is maintaining this repo anymore?

@emirandm I created a PR for the upgrade, it's https://github.com/aschuch/StatefulViewController/pull/74.


sites from private channels

This page does not acknowledge that sites from Teams private channels cannot be managed in the admin center, although I found that information on this page: https://docs.microsoft.com/en-us/sharepoint/manage-sites-in-new-admin-center
Therefore this page does not explain how to enable external sharing for Teams private channel sites. It would be helpful if you could link to the relevant PowerShell docs there. I had to open a support ticket in order to find that info. https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/set-sposite?view=sharepoint-ps

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

ID: 3106844b-caae-38c5-3c88-fb17a9d67536
Version Independent ID: 3e88e60e-24a3-cd83-9bfc-8bc3037a86ce
Content: Change the external sharing setting for a site - SharePoint in Microsoft 365
Content Source: SharePoint/SharePointOnline/change-external-sharing-site.md
Service: sharepoint-online
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@mgcharumilind Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@mgcharumilind  Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


docker Image for safety of use & instructions

Docker image protection for executable and testing without putting your own Operating System at risk

LGTM


Add simplex support (experimental)

Enable Simplex usage in NS GLS from msh grid
-Generalize postprocessing CFD
-Allow usage of parallel fullydistributed triangulation
-Put Quadrature, Mapping and FiniteElement as members
-Add "enable simplex" as option in parameters
//TODO
-Add the Ahmed body example and maybe another
-Allow the use of dealii generated grids
-Convert the mms2dgls test to simplex

//TODO
-Add the Ahmed body example and maybe another
-Allow the use of dealii generated grids
-Convert the mms2dgls test to simplex

The Ahmed body example is a good example, but you first need tests that verify the feature. The MMS2D and MMS3D would be good for that because it has an analytical solution.

Nice job Olivier! I guess most (if not all) of my comments are regarding the changes that would need to be done if we want the simplex stuff to be up to date with the master deal branch. Do we want to update that already @blaisb ?

@lpsaavedra  Yup! We do. I'll update the deal.II fork on lethe tonight actually :)

@lpsaavedra and @oguevremont  I updated the deal.II forked version on the lethe repository. It is now the version of tonight of deal.II.

Thanks @blaisb and @lpsaavedra , I'll address all your comments and suggestions this afternoon.

Good, keep it up. Ping me when it is ready for final re-review :)!

We will also be changing the Docker image this afternoon ! So it should be able to test your test case.

New CI has been merged in #139 . The new docker image supports simplices!


The GCLOHThreshold configuration has no effect in the .NET Framework 4.8 environment, although it is mentioned in the documentation.

document address:
1.https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/gclohthreshold-element
2.https://github.com/dotnet/docs/blob/main/docs/framework/configure-apps/file-schema/runtime/gclohthreshold-element.md
Please provide more details. thanks.

result:   GetGeneration:2


Update zh-HANS.coffee

Hello, @wgsu! Could you sign the CLA so that we have the right to use your translations?

@nwinter, this is for you :)

Thanks @wgsu!


Ensure all data of a note is available for public accounts

What should be done?
For public accounts (network or user controlled), we need to ensure that all the data is completely available after transactions are executed.
This means the complete account code, its storage, vault, and related data.
How should it be done?

When is this task done?
When the protocol enforces the validity and availability of the account data.
Additional context
related to https://github.com/0xPolygonMiden/miden-base/issues/585

I think this should be handled differently for new vs. existing accounts.
For new accounts the task is relatively simple: given the new account object (with all of its contents) verify that the account hashes to the expected digest. Doing this outside of the VM is pretty straight-forward. Doing this in the VM has some complications:

Computing the correct storage root would not be trivial.
Computing the root of code tree would be even more complicated.

Both of these are solvable though.
For existing accounts, I think the way to go is to keep track of the delta within the kernel (i.e., build the delta in kernel memory as we modify the account), and then output hash of the delta as one one of transaction kernel outputs. This way, verifying that the provided delta is correct would be pretty simple.
The most complicated part of this is building the delta in kernel memory, but I think it is doable.

Computing the correct storage root would not be trivial.

One idea is to create a new kernel that hashes all data read from advice provider, and make said hash a public output at the end:

User creates the account storage/code and generates the account_id locally.
User sends all the data to the network. This doesn't have to be a proof, just the data, since the account_id itself is a commitment which prevents tampering by the operator (otherwise the account_id would change). The only risk I can think in here, is for note's to account_ids not created yet. Since in this case the account_id is revealed, and anyone can start doing the PoW trying to find the same id. The variable PoW would be a fix here.
The operator creates the account under said kernel. The result is:

The public account is created, just like it would in the transaction kernel.
Additionally a hash of all the data read via the advice provider is computed.
The transaction result is not just a new account, but also a commitment to all the data that went into it.

An alternative to the above would be to have a version of the VM that forbids the usage of the advice provider, but I'm not sure if it is worth the extra work to get recursion going. I believe the above idea needs changes to the VM, we could 1. forbid the usage of the advice provider outside of the kernel, so the user would be forced to go through the kernel to use the advice provider, and we can write the hashing mentioned above 2. alternatively, we could change the advice provider instructions to do the hashing automatically, I don't know enough of the hasher chiplet to know how much work it would be to implement this.
We can also require such an account to always run over this kernel. This forces the sharing of the data. The hard thing IMO is to forbid hiding a commitment in there. It is totally possible a user would do something like this:

Store a commitment to a slot
Require the reveal of the above commitment to run a transaction
Allow the slot to be overwritten with a new commitment

This basically makes the history of an account completely public, but keeps the control offline. (Which may be useful for something, but not for a network controlled account).
I think it is impossible to prevent the above scenario in general, so for the code, I think we need some sort of whitelisting.

One thing that I forgot to mention above. One of the main things I was thinking above is how to reuse the existing transaction kernel, intercepting the advice provider and hashing all data was a neat way of doing that.
However, if the changes to the VM are too much, an alternative is to have a custom kernel and white listed account code. The tradeoff here is writing more code to keep track of the changes, because there would be no way to automatically intercept uses of the advice provider. But at the same time the data to the tx_script and the note_script would not be tracked. Which may be a plus or a minus. I don't know.


BL for user info about my profile

Summary
As a User, I want to see info about my profile.
Acceptance Criteria
The following should be displayed:

Profile avatar if it exists, if not, display default picture
Username
User City if it exists, if not, display nothing
User status
User credo if it exists, if not, display nothing
User Rate if it is more than 0, if not, display 0
Edit profile icon isn't a part of a story
Social networks isn't a part of a story

Tasks

[x] Profile avatar
[x] Username
[x] City
[x] Status
[x] Rate
[x] User credo
[x] Pull Request
[x] Merge

API
https://greencity.azurewebsites.net/user/userId/profile/
{
"city": "string",
"firstName": "string",
"profilePicturePath": "string",
"rating": 0,
"showEcoPlace": true,
"showLocation": true,
"showShoppingList": true,
"socialNetworks": [
"string"
],
"userCredo": "string"
}
Mockups

The US #1102 edited, added “The 'City' field containing the city and country name”.


fix double prefix model.diffusion_model.

This happens because the tensor name might already have the prefix, but we unconditionally add it. Some finetunes/quants don't work otherwise.
example model: https://civitai.com/models/645943?modelVersionId=768009

Turns out it is only prefixed, when the model is loaded via --diffusion-model. So with those models, you can just use normal -m.


gtkwave: support darwin build

Description of changes

This pr addes darwin support to gtkwave. It requires fixes from https://github.com/gtkwave/gtkwave/pull/136 for building.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

 Also, let's give upstream some time to respond. You can ping me if there's any updates upstream (or if nobody says anything within say a week or 2 we can always just merge it here for now)

The upstream pr is merged.

Not nice that we have to carry the patches but nothing to do about it


alias key not working

Hi all
I have an app already published on the store and I need to update it. I have the keystore password but the alias 'android' password doesn't work... As I remember the 2 passwords are similar but it doesn't work....
cli ERROR Command failed: /Users/test/Library/Android/sdk/build-tools/33.0.2/apksigner sign --ks /Users/test/Documents/SitesWeb/ticks/TWA/android.keystore --ks-key-alias android --ks-pass pass:XXXXXXX --key-pass pass:XXXXXXX --out ./app-release-signed.apk ./app-release-unsigned-aligned.apk
Failed to load signer "signer #1"
java.io.IOException: Failed to obtain key with alias "android" from /Users/test/Documents/SitesWeb/ticks/TWA/android.keystore. Wrong password?
        at com.android.apksigner.SignerParams.loadPrivateKeyAndCertsFromKeyStore(SignerParams.java:329)
        at com.android.apksigner.SignerParams.loadPrivateKeyAndCerts(SignerParams.java:181)
        at com.android.apksigner.ApkSignerTool.getSignerConfig(ApkSignerTool.java:419)
        at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:336)
        at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92)
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
        at sun.security.provider.KeyProtector.recover(KeyProtector.java:315)
        at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:143)
        at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:57)
        at sun.security.provider.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:96)
        at sun.security.provider.JavaKeyStore$DualFormatJKS.engineGetKey(JavaKeyStore.java:71)
        at java.security.KeyStore.getKey(KeyStore.java:1023)
        at com.android.apksigner.SignerParams.getKeyStoreKey(SignerParams.java:384)
        at com.android.apksigner.SignerParams.loadPrivateKeyAndCertsFromKeyStore(SignerParams.java:297)
        ... 4 more

Do you know how I can find a way to get off this problem?
Thanks

How was it fix?
Thanks for your update

As I remember I uninstall everything and update to the last version of node and the package, I guess (if I remember the node version was too old)


Fails on certain combinations of vertices for seemingly no reason.

The convex hull generator seems to like to fail with certain combinations of 3D vertices at certain positions. This is just one example of vertices that cause this to happen.
https://pastebin.com/0wRDKFYB
interestingly enough, offsetting these vertices to another position seems to allow the convex huller to work just fine. I am running the latest version of the library, taken directly from the github master branch.
Error message:
Failed to find initial simplex shape with non-zero volume. While data appears to be in 3 dimensions, the data is all co-planar (or collinear, co-hyperplanar) and is representable by fewer dimensions.

I am having the same issue with Voronoi (which is using ConvexHull).
Dump:
static void Main()
{
    var vertices = new List<double[]>()
    {
        new [] {-0.525731086730957,0,0.8506507873535156},
        new [] {-0.4844416379928589,0.1312003880739212,0.8649293184280396},
        new [] {-0.40335533022880554,0,0.9150434136390686},
        new [] {-0.4338885545730591,0.25989192724227905,0.8626684546470642},
        new [] {-0.35822877287864685,0.13165538012981415,0.9243046045303345},
        new [] {-0.2732664942741394,0,0.9619383215904236},
        new [] {-0.30901697278022766,0.5,0.80901700258255},
        new [] {-0.23867692053318024,0.3861873745918274,0.8910065293312073},
        new [] {-0.3750385344028473,0.3836137354373932,0.8439114689826965},
        new [] {-0.1624598503112793,0.2628655731678009,0.9510565400123596},
        new [] {-0.3012588620185852,0.26408275961875916,0.9162441492080688},
        new [] {0.0,0.0,1.0},
        new [] {-0.13795222342014313,0,0.9904388785362244},
        new [] {-0.0822424665093422,0.13307112455368042,0.9876883625984192},
        new [] {-0.2201170176267624,0.13279248774051666,0.9663926362991333},
        new [] {0,0.8506507873535156,0.525731086730957},
        new [] {0.08108629286289215,0.7838429808616638,0.6156420111656189},
        new [] {-0.08108629286289215,0.7838429808616638,0.6156420111656189},
        new [] {0.1606220304965973,0.7020464539527893,0.6937804818153381},
        new [] {0,0.7112817168235779,0.7029070258140564},
        new [] {-0.1606220304965973,0.7020464539527893,0.6937804818153381},
        new [] {0.30901697278022766,0.5,0.80901700258255},
        new [] {0.15643446147441864,0.5192584991455078,0.8401778936386108},
        new [] {0.23708631098270416,0.6068251132965088,0.7586523294448853},
        new [] {0,0.525731086730957,0.8506507873535156},
        new [] {0.08114185184240341,0.6202395558357239,0.7802043557167053},
        new [] {-0.23708631098270416,0.6068251132965088,0.7586523294448853},
        new [] {-0.15643446147441864,0.5192584991455078,0.8401778936386108},
        new [] {-0.08114185184240341,0.6202395558357239,0.7802043557167053},
        new [] {0.525731086730957,0,0.8506507873535156},
        new [] {0.40335533022880554,0,0.9150434136390686},
        new [] {0.4844416379928589,0.1312003880739212,0.8649293184280396},
        new [] {0.2732664942741394,0,0.9619383215904236},
        new [] {0.35822877287864685,0.13165538012981415,0.9243046045303345},
        new [] {0.4338885545730591,0.25989192724227905,0.8626684546470642},
        new [] {0.0822424665093422,0.13307112455368042,0.9876883625984192},
        new [] {0.13795222342014313,0,0.9904388785362244},
        new [] {0.1624598503112793,0.2628655731678009,0.9510565400123596},
        new [] {0.2201170176267624,0.13279248774051666,0.9663926362991333},
        new [] {0.3750385344028473,0.3836137354373932,0.8439114689826965},
        new [] {0.23867692053318024,0.3861873745918274,0.8910065293312073},
        new [] {0.3012588620185852,0.26408275961875916,0.9162441492080688},
        new [] {-0.0823235809803009,0.3996070325374603,0.9129824638366699},
        new [] {0.0823235809803009,0.3996070325374603,0.9129824638366699},
        new [] {0,0.2664047181606293,0.9638612270355225}
    };

    VoronoiMesh.Create(vertices.Select(arr => new Vertex(arr)).ToList());
}

By making the distance between the points larger it seems to solve the issue. Must be some compare issues.
VoronoiMesh.Create(vertices.Select(arr => new Vertex(arr.Select(v => v * 1000).ToArray())).ToList());

Call Stack:


fix(config): handle babel js config

close #933 #1309
hi @kulshekhar , @GeeWee I'm not sure if this is the fix we want for #933 #1309 . There are 2 things this PR needs:

One thing I noticed when testing this is: if I specify babelConfig: require(<path_to_babel_config>), it doesn't work the same as babelConfig: 'babel.config.js' (after the fix). I don't know why there is a difference between these 2 ways.
I can't find a place where to add the tests for this change.

Pull Request Test Coverage Report for Build 3829

1 of 4 (25.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 89.854%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/config/config-set.ts
1
4
25.0%

Totals

Change from base Build 3827:
-0.2%

Covered Lines:
1071

Relevant Lines:
1133

💛  - Coveralls


Example how to use

Please add an example app.

@masterspambot could you add link to fiddle to wiki or readme? this fiddle is very usefull but it's difficult to find it in closed issues. Thanks


build: add 7.7 images

Thank you!

@Bogdanp I've invited you to be a collaborator on this repository so you won't have to wait for my approval to add new versions. Also, this way the CI scripts will actually build and test your PRs.

Thanks!


Stretched Glyphs when plotting (GLMakie, CairoMakie is fine)

If I run:
julia> scatter(1:10,ones(10),marker="cdefghijlk")
I get this plot:

With clearly stretched/distorted glyphs.
If I export it to a svg using cairo:
using AbstractPlotting,CairoMakie
AbstractPlotting.current_backend[] = CairoMakie.CairoBackend("test.svg")
open("test.svg","w") do io
       show(io, MIME"image/svg+xml"(), p)
end

I get the correct "undistorted" SVG glyphs

That is somewhat by design - although may be a bad design!
Can workaround by supplying the sizes:
font = to_font("Deja vue")
lotsoftext = randstring(60_000)
positions = rand(Point2f0, 60_000) .* 1000
sizes = widths.(AbstractPlotting.glyph_boundingbox.(collect(lotsoftext), font, 16))
scatter(positions, marker=lotsoftext, markersize=sizes)

Thanks, but isn't it a bug then in CairoMakie to not stretch them?

As the person who implemented some of the CairoMakie backend I think I assumed normal glyphs were the desired output and treated GLMakies stretchy behavior as an unfixed bug


How to use breakpoints with remote debugger in VScode?

The remote server is visited with SSH, a PySpark program both on server and client. I can run remote debugging in VScode without breakpoints. But when I click "Raised Exceptions" and "Uncaught Exceptions" these two option in VScode to use breakpoints, errors occurs.It says "Unable to open 'protocol.py'" and "Unable to open 'java_gateway.py'". The version of VScode is 1.38.The OS of remote server is centOS,and the client OS is macOS.

This seems to be an issue with the setup of your python project and the Python extension. Please file the issue against the Python extension. Thank you!


Automated cherry pick of #3772: refactor(region): Optimization for snapshotpolicy sync

Cherry pick of #3772 on release/2.13.
#3772: refactor(region): Optimization for snapshotpolicy sync

/lgtm

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@194f6ce). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.13   #3800   +/-   ##
==============================================
  Coverage                ?   6.94%
==============================================
  Files                   ?     499
  Lines                   ?   84249
  Branches                ?       0
==============================================
  Hits                    ?    5850
  Misses                  ?   77903
  Partials                ?     496

Flag
Coverage Δ

#aFlag
6.94% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/snapshotpolicy.go
3.63% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm

/approve


Corrected spelling/grammar mistakes

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@Shooflower Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


choose content layer

I saw these parameters
cmd:option('-content_layers', 'relu4_2', 'layers for content')
cmd:option('-style_layers', 'relu1_1,relu2_1,relu3_1,relu4_1,relu5_1', 'layers for style')
but how do you know which layer in VGG learned style and which learned the content ?

All layers can work with both content and style.
VGG19 recognizes content features because it has been trained to classify image contents. The lowest layers recognize simple features, such as lines, whereas higher layers see increasingly complex features, such as shapes and objects.
When you select a layer for style, neural-style adds a so-called Gram matrix to this layer to evaluate style.
This might also help to understand how neural-style works http://liipetti.net/erratic/2016/05/19/how-neural-style-works/

Does anyone knows why the guys used conv1_1, conv2_1, conv3_1, conv4_1, conv5_1 instead of for example conv1_2, conv2_2, conv3_4, conv4_4, conv5_4.  ("last" layer of respective area)


Is it possible to convert index.js to ES module?

Making this small change will allow this module to be consumed as an ES module:
https://github.com/AssemblyScript/wabt.js/compare/master...Sharpiro:3c13807f1008e4451544a90fc108e8307cc5fc80
However I'm not sure if there is a way to adjust the syntax to keep in compatible with both ES modules as well as AMD/Common etc.
If it is not possible to have both in 1 file, could we add a secondary file that is built as an ES module?  index-es.js or index.mjs?

do you think this would be an upstream wabt change as well?  this one is required for the other 2 issues i opened.

Maybe, but changing this on their end would probably break existing users, so not sure. The alternative is to use custom build commands on the bot, one for ESM and one for UMD, with the latter just copying what's already there, and the former utilizing what Emscripten provides for ESM.

Closing this issue as it seems this must be handled upstream :)


TST: exhaustive (currently failing) tests for dask.array slicing

Indexing has a lot of edge cases. This PR adds tests for many more of them.
Here is the particular case that I caught this morning because it broke
one of my tests for xray (which yes, are currently running against dask
master):
assert eq(x[:, [0, 1, 2]][[0, 1]], a[:, [0, 1, 2]][[0, 1]])

But note that a number of these other tests are also currently failing.

Awesome.  This may take some time but I'm looking forward to this.

This was news to me
In [31]: X[0, :, [0]]
Out[31]: array([[ 1.,  1.,  1.,  1.,  1.]])

In [32]: X[0][:, [0]]
Out[32]:
array([[ 1.],
       [ 1.],
       [ 1.],
       [ 1.],
       [ 1.]])

@mrocklin if you recall that recent numpy-discussion about fancy vs orthogonal indexing... that was one of the main examples of how numpy's existing indexing is confusing/broken. I would prefer not to replicate it in dask.array :).

+1 for orthogonal indexing

Closing this for now.  This test is added and skipped in #159 .  Future issues should probably be particular about specific missing/wrong functionality.


The package "veewee-config.pkg" is not signed. Build fails. MacOS 10.12.5

Building for MacOS 10.12.5
Steps to reproduce:

$ sudo prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app"/ dmg Password: ************ -- Attaching input OS X installer image with shadow file.. expected   CRC32 $6E0A52CC /dev/disk6          	GUID_partition_scheme /dev/disk6s1        	EFI /dev/disk6s2        	Apple_HFS                      	/private/tmp/veewee-osx-esd.1UAH -- Mounting BaseSystem.. Checksumming Protective Master Boot Record (MBR : 0)… Protective Master Boot Record (MBR :: verified   CRC32 $C16DE7A2 Checksumming GPT Header (Primary GPT Header : 1)… GPT Header (Primary GPT Header : 1): verified   CRC32 $B9CE6ABE Checksumming GPT Partition Data (Primary GPT Table : 2)… GPT Partition Data (Primary GPT Tabl: verified   CRC32 $6F7721F8 Checksumming  (Apple_Free : 3)…                  (Apple_Free : 3): verified   CRC32 $00000000 Checksumming disk image (Apple_HFS : 4)… ..................................................................................................................................................................................        disk image (Apple_HFS : 4): verified   CRC32 $D74AAD7A Checksumming  (Apple_Free : 5)… ..............................................................................................................................................................................................                  (Apple_Free : 5): verified   CRC32 $00000000 Checksumming GPT Partition Data (Backup GPT Table : 6)… GPT Partition Data (Backup GPT Table: verified   CRC32 $6F7721F8 Checksumming GPT Header (Backup GPT Header : 7)… GPT Header (Backup GPT Header : 7): verified   CRC32 $A76F9B83 verified   CRC32 $BAD1A53D /dev/disk7          	GUID_partition_scheme /dev/disk7s1        	Apple_HFS                      	/private/tmp/veewee-osx-basesystem.re1a -- OS X version detected: 10.12.5, build 16F73 -- Making firstboot installer pkg.. productbuild: Wrote product to /Users/minapuck/macos/prepare_iso/support/tmp/veewee-config.pkg "disk7" unmounted. "disk7" ejected. -- Creating empty read-write DMG located at /tmp/veewee-osx-basesystem-rw.pg2C.dmg.. ............................................................................................................................................................................................... created: /tmp/veewee-osx-basesystem-rw.pg2C.dmg /dev/disk7          	Apple_partition_scheme /dev/disk7s1        	Apple_partition_map /dev/disk7s2        	Apple_HFS                      	/private/tmp/veewee-osx-basesystem.re1a -- Restoring ('asr restore') the BaseSystem to the read-write DMG..  Validating target...done  Validating source...done  Retrieving scan information...done  Validating sizes...done  Restoring  ....10....20....30....40....50....60....70....80....90....100  Remounting target volume...done -- Moving 'Packages' directory from the ESD to BaseSystem.. /tmp/veewee-osx-esd.1UAH/Packages -> /Volumes/OS X Base System/System/Installation/Packages /tmp/veewee-osx-esd.1UAH/Packages/BaseSystemResources.pkg -> /Volumes/OS X Base System/System/Installation/Packages/BaseSystemResources.pkg /tmp/veewee-osx-esd.1UAH/Packages/EmbeddedOSFirmware.pkg -> /Volumes/OS X Base System/System/Installation/Packages/EmbeddedOSFirmware.pkg /tmp/veewee-osx-esd.1UAH/Packages/Essentials.pkg -> /Volumes/OS X Base System/System/Installation/Packages/Essentials.pkg /tmp/veewee-osx-esd.1UAH/Packages/FirmwareUpdate.pkg -> /Volumes/OS X Base System/System/Installation/Packages/FirmwareUpdate.pkg /tmp/veewee-osx-esd.1UAH/Packages/OSInstall.mpkg -> /Volumes/OS X Base System/System/Installation/Packages/OSInstall.mpkg /tmp/veewee-osx-esd.1UAH/Packages/OSInstall.pkg -> /Volumes/OS X Base System/System/Installation/Packages/OSInstall.pkg -- Copying in original BaseSystem dmg and chunklist.. -- Adding automated components.. -- Unmounting BaseSystem.. "disk7" unmounted. "disk7" ejected. -- Unmounting ESD.. "disk6" unmounted. "disk6" ejected. -- On Mavericks and later, the entire modified BaseSystem is our output dmg. Preparing imaging engine… Reading Driver Descriptor Map (DDM : 0)… (CRC32 $651204F3: Driver Descriptor Map (DDM : 0)) Reading Apple (Apple_partition_map : 1)… (CRC32 $D01936FD: Apple (Apple_partition_map : 1)) Reading disk image (Apple_HFS : 2)… ............................................................................................................................................................................................... (CRC32 $AF8C3C74: disk image (Apple_HFS : 2)) Adding resources… ............................................................................................................................................................................................... Elapsed Time: 34.876s File size:<PHONE_NUMBER> bytes, Checksum: CRC32 $D44E0768 Sectors processed: 20971520, 12724369 compressed Speed: 178.1Mbytes/sec Savings: 49.2% created: /Users/minapuck/macos/dmg/OSX_InstallESD_10.12.5_16F73.dmg -- Fixing permissions.. -- Checksumming output image.. -- MD5: 7142bf8bab9ca70313d6591fd9ab484c -- Done. Built image is located at dmg/OSX_InstallESD_10.12.5_16F73.dmg. Add this iso and its checksum to your template.
`$ packer build -only=vmware-iso -var 'file=macos1012.json' macos.json
vmware-iso output will be in this color.

Warnings for build 'vmware-iso':

A checksum type of 'none' was specified. Since ISO files are so big,
a checksum is highly recommended.

==> vmware-iso: Downloading or copying ISO
vmware-iso: Downloading or copying: file:///Users/minapuck/macos/dmg/OSX_InstallESD_10.12.5_16F73.dmg
==> vmware-iso: Creating virtual machine disk
==> vmware-iso: Building and writing VMX file
==> vmware-iso: Starting virtual machine...
==> vmware-iso: Waiting 2s for boot...
==> vmware-iso: Connecting to VM via VNC
==> vmware-iso: Typing the boot command over VNC...
==> vmware-iso: Waiting for SSH to become available...`
See Screenshot

From: https://github.com/rtrouton/create_os_x_vm_install_dmg

macOS 10.12.4 introduced a change that prevents the addition of third-party packages to the OS installer. This script uses the addition of a third-party installer package, so unfortunately this script cannot be used to generate 10.12.4 or later OS installers.
If you need to build a macOS 10.12.x VM, my recommendation at this point is to use the macOS 10.12.3 installer. Once the OS is installed, update to later versions of macOS Sierra as a post-installation task.

More info:

https://derflounder.wordpress.com/2017/03/30/creating-macos-installer-disk-images-for-vmware-fusion-and-esxi-with-create_macos_vm_install_dmg/
https://github.com/timsutton/osx-vm-templates/issues/81
https://github.com/munki/createOSXinstallPkg

Note that macOS 10.13 (which is in beta) has a completely different install process then previous versions. Work has started on trying to figure it out: https://github.com/geerlingguy/macos-virtualbox-vm/issues/28

Is there anyway to shut off such protection, as you can with the fully installed OS?

No. The only way around would be via creating a NetRestore image + signed package.
Or, use the 10.12.3 installer and let the packer update.sh script update to 10.12.6 during provisioning.


fix headroom scroll up

fix headroom scroll up  #34

This wasn’t a styling issue, but a configuration in Headroom. I will handle it.


Some files don't play with audio

I am trying to load the avengers-endgame-trailer-2_h1080.mov and I get:
RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.
on Linux Ubuntu 20.04 LTS.

Hi, thanks for letting me know; you mentioned some files don't play, do you have others that work OK?

Yes.  But let me rephrase the title of the thread.  Sometimes videos play without audio (printing that same message).  The videos I have that fail are not always the same.  Sometimes they play just fine and sometimes they fail to play with audio.  This is true either from command-line or from the gui.
This is with the binary that was prebuilt at sourceforge ( I did not try compiling my own DJV ).


home-manager 20.03 upgrade

This PR introduces changes needed for the 20.03 release of home-manager. On 19.09 releases of home-manager this won't work.
Furthermore I added the useGlobalPkgs option recently introduced to home-manager.

Does that mean that it'll stop working with the 19.09 one?

Yes, thats right unfortunately.. They updated the requirements for the modules.nix args.

Then the minimum is probably to update the home-manager version we setup for the new installs, the reasonable maximum is to block updates with a meaningful message when the home-manager version is too old.

Or we could go the way like home-manager and create separate channels for nixos releases.

That's a very good idea, and I'm all for it, but it's orthogonal to the problem of upgrading the existing installations.

This PR does now contain the https://github.com/t184256/nix-on-droid/pull/60.
So if you create a release-19.09 and release-20.03 branch we could advise the users to use the release channels in the future.

I've created/pushed a release-19.09 branch, and I'm going to build/publish the corresponding bootstraps as well. Will create a release-20.03 on merging this one.
Could you please add something like an assertion for the presence of that new option, with a message instructing to use a newer h-m channel?

Something like this? You should consider removing this hack in the near future as it does not allow config merges for the home-manager options..

Tried upgrading to 8cc3540 at my testing device, got
file 'home-manager/modules/modules.nix' was not found in the Nix search path ... modules/home-manager.nix:10:45.
BTW, any other upgrading ideas aside of adding that assertion?

Could you try this one?

The assertion fired up OK. Switched the channel, rebuild fails with file attribute 'submoduleWith' missing, at .../modules/home-manager.nix:15:14.

Changing the nixpkgs to 20.03 made it go away. Is it worth reflecting in the same/separate assertion message?

Oh yes, for sure. Just make sure the commits with the assertions are not added in release-20.03.
I can write the assertion tomorrow or you could do it if you like.

Just make sure the commits with the assertions are not added in release-20.03.

Why? And how? They have to be on master.

OK, I'd like to leave it to you, I guess.
Just FYI, I went ahead and

tested that the clean installation works: it does
updated my 'stable' tablet to 20.03: it worked well too

So, all in all, it's working fine, great job! I'd merge it already if not for the second assertion and that comment of yours about not having them on 20.03. It can wait, no rush.

I've added the assertion.
For my other comment: I thought about it, but as everyone currently uses master as nix-channel, its alright. When 20.09 is out we should maybe drop the assertions and fully use the release branches for this kind of assertions

Re-tested upgrading once again, worked as intended. Thanks a lot for your work!

Fun as always :)


Installing SAP HANA, express edition with Docker

I have problem running docker in Centos 7 ; manifest permission denied...
I followed steps in https://www.sap.com/developer/tutorials/hxe-ua-install-using-docker.html

/run_hana: line 27: /hana/shared/HXE/exe/linuxx86_64/hdb/manifest: Permission denied
======== Starting HANA container run script ========
Started at: Tue Jun 12 01:18:35 UTC 2018
Script parameters: --passwords-url file://hana/mounts/password.json --agree-to-sap-license
HANA version:
Linux kernel version: 4.17
New host: 'e1dfe97a09d3'
Setting HANAs host name to 'e1dfe97a09d3' ...
chmod: cannot access '/hana/shared/HXE/HDB90/hdbenv.csh': Permission denied
ERROR: Unable to set host name. Missing write permissions for /hana/shared/HXE/HDB90/hdbenv.csh.

I set the permission of password.json and directory properly per instruction.
I created hxeadm user, sapsys groups in Centos host as well, but it doesn't help.
I updated centos kernel from 3.10 to 4.17, and it doesn't help either.
Please advise me.

I found it easier to host the json file online such as a service like: http://myjson.com/
Then reference it like this: --passwords-url https://myjsonFile.com \

What value did you give to -v option in "docker run"?  Please check the "Directory to Persist SAP HANA, express edition Data Outside of the Container" permission.

With hxeadm user on CentOS, it works. However HANA+XSA docker failed to crash.

Hi Andy,
Could you list whole docker run command?

I have the same issue with opening the json file.
root@ubnt-x10sra1:/mnt/data# ls -l
total 7
-rw-rw-rw- 1 hxeadm sapsys 38 Nov 11 17:33 hxepwd.json
drwxr-xr-x 2 hxeadm sapsys  2 Nov 11 17:38 hxexsa
drwxr-xr-x 2 hxeadm sapsys  2 Nov 11 17:38 hxexsa1
root@ubnt-x10sra1:/mnt/data# cat hxepwd.json
{
"master_password" : "SAPhxe123"
}
root@ubnt-x10sra1:/mnt/data#
The file is there, hxeadm is owner still get the following error
-bash: file:///mnt/data/hxepwd.json: No such file or directory
root@ubnt-x10sra1:/mnt/data# sudo docker run -p 39013:39013 -p 39015:39015 -p 39041-39045:39041-39045 -p 1128-1129:1128-1129 -p 59013-59014:59013-59014  -p 39030-39033:39030-39033 -p 51000-51060:51000-51060  -p 53075:53075  \

-h hxehost
-v /mnt/data/hxexsa:/hana/mounts
--ulimit nofile=1048576:1048576
--sysctl kernel.shmmax=1073741824
--sysctl net.ipv4.ip_local_port_range='60000 65535'
--sysctl kernel.shmmni=524288
--sysctl kernel.shmall=8388608
--name hxexsa
store/saplabs/hanaexpressxsa:<IP_ADDRESS>.20180925.2
--agree-to-sap-license
--passwords-url <file:///mnt/data/hxepwd.json
-bash: file:///mnt/data/hxepwd.json: No such file or directory

https://store.docker.com/images/sap-hana-express-edition/plans/f2dc436a-d851-4c22-a2ba-9de07db7a9ac?tab=instructions
Note: If you placed the password file in /data/<directory_name>/<file_name>.json, substitute file://<path_to_json_file> with file:///hana/mounts/<file_name>.json.
-h hxehost
-v /mnt/data/hxexsa:/hana/mounts
--ulimit nofile=1048576:1048576
--sysctl kernel.shmmax=1073741824
--sysctl net.ipv4.ip_local_port_range='60000 65535'
--sysctl kernel.shmmni=524288
--sysctl kernel.shmall=8388608
--name hxexsa
store/saplabs/hanaexpressxsa:<IP_ADDRESS>.20180925.2
--agree-to-sap-license
--passwords-url <file:///mnt/data/hxepwd.json  ->  --passwords-url file:///hana/mounts/hxepwd.json
-bash: file:///mnt/data/hxepwd.json: No such file or directory
Best Regards
Rui Song
From: nthu9280<EMAIL_ADDRESS>Sent: Monday, November 12, 2018 7:57 AM
To: SAPDocuments/Tutorials<EMAIL_ADDRESS>Cc: Song, Rui<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [SAPDocuments/Tutorials] Installing SAP HANA, express edition with Docker (#2401)
I have the same issue with opening the json file.
root@ubnt-x10sra1:/mnt/data# ls -l
total 7
-rw-rw-rw- 1 hxeadm sapsys 38 Nov 11 17:33 hxepwd.json
drwxr-xr-x 2 hxeadm sapsys 2 Nov 11 17:38 hxexsa
drwxr-xr-x 2 hxeadm sapsys 2 Nov 11 17:38 hxexsa1
root@ubnt-x10sra1:/mnt/data# cat hxepwd.json
{
"master_password" : "SAPhxe123"
}
root@ubnt-x10sra1:/mnt/data#
The file is there, hxeadm is owner still get the following error
-bash: file:///mnt/data/hxepwd.json: No such file or directory
root@ubnt-x10sra1:/mnt/data# sudo docker run -p 39013:39013 -p 39015:39015 -p 39041-39045:39041-39045 -p 1128-1129:1128-1129 -p 59013-59014:59013-59014 -p 39030-39033:39030-39033 -p 51000-51060:51000-51060 -p 53075:53075 \
-h hxehost
-v /mnt/data/hxexsa:/hana/mounts
--ulimit nofile=1048576:1048576
--sysctl kernel.shmmax=1073741824
--sysctl net.ipv4.ip_local_port_range='60000 65535'
--sysctl kernel.shmmni=524288
--sysctl kernel.shmall=8388608
--name hxexsa
store/saplabs/hanaexpressxsa:<IP_ADDRESS>.20180925.2
--agree-to-sap-license
--passwords-url <file:///mnt/data/hxepwd.json
-bash: file:///mnt/data/hxepwd.json: No such file or directory
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/SAPDocuments/Tutorials/issues/2401#issuecomment-437717770, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHarf133hzynj3Duhws0pdTc2LsdlT9hks5uuLlXgaJpZM4Ujoxd.

Closing issue due to inactivity.


Adding "Our Impact" and "Our Community" Section

Add Our Impact and Our Community Section
Hi @codewithvk I am Tanish . As this website is in progress , so I want to contribute in this program by adding above two sections under this issue . Also I have gone through most of opened issues and no one asked you to work on above 2 sections .
I Want to add interactive sections to this web page
As you have some a sample preview in video about how these sections look like , I want to make something like that amazing designs sections .
Additional context
I have done web development from coding ninjas and have certificate for the same uploaded on linkedIn and also made some amazing projects like Music player project etc (uploaded on linkedIn) . Also I am learning advance web development (back end) currently , so I can also contribute further in this project after this issue as well . I am very hardworking and scored 94.2% in 12th . Before this project I have merged one pull request in Awesome JavaScript projects , solved one issue in Public Lab repository .
LinkedIn profile link - https://www.linkedin.com/in/tanish-a54b771b3
Looking forward for working for this project .
Thank You
Regards

Hello @codewithvk please assign this issue to me , so that I can start working on this . If there is any problem then please let me know !

@SharmaTanish  Go ahead!

@codewithvk when this issue will be passed on to other participants ?

What's the update @SharmaTanish ?

Hi @codewithvk sorry for the late response , actually some tests are going in my college . But don't worry the design is almost ready , I will send you screenshots by tomorrow for sure !
Thank you for your patience
Regards

Hi @codewithvk please have a look on the following design and suggest me more changes and work that I should do.
Also please note that these 2 sections I have made are completely responsive !
Thank you

Hey @SharmaTanish , Our Community section looks good for me but in our impact section needs the below changes.

In our impact left component's background color is miss-matched, You can use white or something else.
In our impact right components are dynamic, not static. You can take reference from here

Ps:- If you felt like it is hard for you then you can create  PR with the current code. I will create future issue accordingly :)

I will make these changes for sure and send you by tomorrow . Don't worry I will resolve it and yeah please don't hesitate in mentioning changes that you want , I will for sure do that nothing is hard . I want to make this project successful same as you want .
Open source means nothing but working in team as a unit . So don't worry I will do tasks for this project after this issue as well 🙂.
Thank you

Please tell me the values we need to give in pi-chart? Also our impact left component I think white colour will look good only then ! And any other changes?

Please tell me the values we need to give in pi-chart? Also our impact left component I think white colour will look good only then ! And any other changes?

You can use any random Value as of now

@codewithvk please review !

@SharmaTanish LGFM :) Make PR.

@codewithvk I am facing this problem in pulling the recent commits from original repository , please guide ?

@SharmaTanish git pull  .

Hi @codewithvk , the 2 sections I added are displaying below footer in current website ! So how do I made these just below MISSION AND VISION Section ?? Please guide ? (And sorry for the above silly mistake I did in git command)
Thank you
Regards

Hi @codewithvk , the 2 sections I added are displaying below footer in current website ! So how do I made these just below MISSION AND VISION Section ?? Please guide ? (And sorry for the above silly mistake I did in git command)
Thank you
Regards

Hi @codewithvk , the 2 sections I added are displaying below footer in current website ! So how do I made these just below MISSION AND VISION Section ?? Please guide ? (And sorry for the above silly mistake I did in git command)
Thank you
Regards

If you made PR and visible code by PR, Then I will surely help you, and no worries! we are together for learning :)


build instruction for developers

@MysterionRise what do you think about this one?

Codecov Report

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

@@            Coverage Diff            @@
##             master      #63   +/-   ##
=========================================
  Coverage     71.64%   71.64%
  Complexity       43       43
=========================================
  Files            14       14
  Lines           194      194
  Branches         14       14
=========================================
  Hits            139      139
  Misses           51       51
  Partials          4        4

Continue to review full report at Codecov.

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


put ZHEJIANG LAB to supporter list

Signed-off-by: weichenhao<EMAIL_ADDRESS>What type of PR is this?
/kind flake
What this PR does / why we need it:
Add zhejianglab Logo
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

@RainbowMango Now，Any questions？


Add automated tests

Connected to #6
This PR adds automated tests to the project. It runs a playbook that retrieves a Conjur secret into an Ansible variable.
Additional tests can be added to the test_cases directory in a similar way.

@izgeri can you review again? thanks!

@sgnn7 can you review again?

@orenbm Approved but I left the merging up to you. Also, it's a bit strange that we don't see a Jenkins build on this branch which may need to be looked into.

@sgnn7 I'm guessing it's because the Jenkinsfile isn't on master yet, but we'll have to watch it on the other PRs now


Macro scope issues

  .macro Debug(value) {
    LDA #value
    STA $d020
    STA $d021
  }
  basic_start(start)
start:
  Debug(1)

somescope: {
    Debug(5)
  }
  jmp *

will result in
"error: unknown identifier: Debug"
inside somescope

Thanks for reporting and the clear reproduction scenario. The upcoming 0.6.0 release has a bunch of improvements related to symbol lookup and thankfully this issue was already fixed on master. I will try to get that out of the door this week and update this issue once that has been done.

Fixed by #162.


Photon Controller cloud provider: Using MAC address to figure out type of IP address

NodeAddresses function should return the type of IP address along with IP addresses.
Currently force to return type of NodeInternalIP.
Should use MAC address to figure out the type.

If you want to figure out if the MAC address is for an external NIC, you can look at the first three octets of the address. These are the OUI, which indicates the vendor that made the NIC. Private NICs have some OID (I forget what), while external NICs will have the VMware OUI. The two OUIs I've found are:
00:0c:29 (From ESX)
00:50:56 (From vCenter)
More details:
https://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.vsphere.networking.doc%2FGUID-DC7478FF-DC44-4625-9AD7-38208C56A552.html
http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.vsphere.networking.doc%2FGUID-1B6A280E-0C77-4775-8F84-4B3F40673178.html

CC/ @govint

@AlainRoy
Sorry to bring up this issue again since I am going to change this part of code.
So according to your comments, it looks like it's safe to set the IP address type to external if the MAC address prefix is "00:0c:29" or "00:50:56" for VMs started by photon controller rt?

Yes, that's correct @luomiao.

Done: https://github.com/kubernetes/kubernetes/pull/40843


can't forward reference functions declared within other functions

Example:
This is fine:
void f() {
  g();
}

void g() {}

void main() {
  f();
}

but apparently this is not:
void main() {
  void f() {
    g();
  }

  void g() {}

  f();
}

error: line 6 pos 8: identifier 'g' previously used in line 3
  void g() {}
       ^

First, the error message could stand to be a bit more friendly - this doesn't mention forward referencing.
But more importantly, is there some technical reason to forbid this?  The meaning of g can't depend on the execution of some previous statement, right?
Ways this can be annoying:

inside a unittest that has this structure:

group('Foo', () {
  void f() {
    g(); // Ugghh.. now I am punished with having to order f and g
         // carefully just because they are declared inside the group.
  }

  void g() {}

  test('should bar', () {
    f();
  });
});

when f and g call each other mutually recursively.

The function g can depend on a previous line:
main() {
   void f(){ g(); }
   f();
   var x = 42;
   void g() { print(x); }
}

The call to f precedes the initialization of the variable used  by g, so it can't be allowed to run.
That does mean that you can't declare mutually recursive functions (that easily) inside a function body. It works at the top-level because there is no evaluation order, but inside function bodies, there is an evaluation order, and we try to respect it - no using a name before it's declared.

Closing - let me know if I'm being too trigger happy - it sounds like the current behavior is needed although I understand that there are contexts where this is annoying.

Sorry, I should have responded.  lrhn's explanation was great.  So it seems like it's forbidden just to prevent the surprise of variables being used before being properly initialized.

Fwiw there is an easy work-around if you need mutually recursive functions:
main() {
  var f, g;
  f = () { g(); };
  g = () { f(); };
}


[ADD] Upload QR code to join keygen / keysign

On windows app , if user initiate keygen / keysign from an IOS / MacOS / Android device , the QR code will need to be uploaded to the app, and then the app has to scan the QR code from the uploaded image , and then join keygen from there

closing