Faster refzero queueing / free pending check

When a refzero event occurs, assume that we only need to check for duk_refzero_free_pending() when refzero_list is NULL prior to refzero_list queueing. This is always the case except when NORZ macros prevent "free pending" execution.
In the NORZ macro case refzero_list may accumulate objects which are currently processed either via a forced DUK_REFZERO_CHECK_xxx() call, or any other refzero event. The change in this pull changes this so that a refzero event will no longer process the queue because the whole check is skipped if refzero_list != NULL. It's thus more critical that a DUK_REFZERO_CHECK_xxx() call is made after every NORZ macro sequence; longjmp handling also does a forced refzero check so that if errors are thrown between a NORZ and a forced refzero the queue gets processed promptly.
I'm not sure if this change is useful enough to merge, but it would be nice to reduce refzero overhead a bit and this is one experiment for that.
Tasks:

[ ] First draft
[ ] Remove "refzero running" checks from the initial entry: if refzero_list == NULL prior to insert, the check is always unnecessary (just assert for it)
[ ] Include a "refzero running" check for a forced DUK_REFZERO_CHECK_xxx() call however, and the flag does need to be set and cleared
[ ] Make "refzero running" a duk_bool_t flag for faster checking (merge separately?)
[ ] Releases entry

It's thus more critical that a DUK_REFZERO_CHECK_xxx() call is made after every NORZ macro sequence

Indeed, especially if voluntary mark-and-sweep is disabled.

Mark-and-sweep won't touch anything in refzero_list, so it doesn't really matter whether a GC is voluntary or emergency w.r.t. refzero processing.

Oh.  That's even worse then--forgetting to add the refzero check would be a genuine memory leak.

The queue would be eventually processed by any call anywhere to DUK_REFZERO_CHECK_xxx(), e.g. any stack unwind, any error throw, etc. But there wouldn't be a guarantee when that would happen.

Hello world massif output from before (x64, default options):
    KB
135.3^                                                              :::
     |                                                      :::: #:::  :
     |                                         :: @:::::::@::: ::#:::  :::::@
     |                                   @  :  : :@: :::: @::: ::#:::  :    @
     |                                  @@:::::: :@: :::: @::: ::#:::  :    @
     |                                 @@@: :: : :@: :::: @::: ::#:::  :    @
     |                               ::@@@: :: : :@: :::: @::: ::#:::  :    @
     |                            @@@::@@@: :: : :@: :::: @::: ::#:::  :    @
     |                           @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @
     |                        @@@@@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |                       :@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |                     @@:@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |                   @:@ :@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |                  :@:@ :@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |                :::@:@ :@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |              ::: :@:@ :@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |            @@: : :@:@ :@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |           @@ : : :@:@ :@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |           @@ : : :@:@ :@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
     |         ::@@ : : :@:@ :@@ @@@ ::@@@: :: : :@: :::: @::: ::#:::  :    @:
   0 +----------------------------------------------------------------------->Mi
     0                                                                   3.862

And after:
    KB
132.0^                                                            :
     |                                                      @::@:#::::::
     |                                            @:@:::::@:@::@:#:::: :::::@
     |                                   @ :: @:::@:@:::::@:@::@:#:::: :    @
     |                                  @@::::@:::@:@:::::@:@::@:#:::: :    @
     |                                @@@@::::@:::@:@:::::@:@::@:#:::: :    @
     |                              @:@@@@::::@:::@:@:::::@:@::@:#:::: :    @
     |                            @:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @
     |                          @@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @
     |                        ::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |                       :::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |                     @@:::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |                   @:@@:::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |                 @:@:@@:::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |               @:@:@:@@:::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |             @:@:@:@:@@:::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |            :@:@:@:@:@@:::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |           @:@:@:@:@:@@:::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |          :@:@:@:@:@:@@:::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
     |          :@:@:@:@:@:@@:::@@@:@:@@@@::::@:::@:@:::::@:@::@:#:::: :    @:
   0 +----------------------------------------------------------------------->Mi
     0                                                                   3.849

Peak difference is 3.3kB or about 2-3%.

I've been working a small overhaul of side effect protections which also causes a lot of refzero handling details to change; this pull will probably not make sense once that's completed so this probably won't be merged. I'll close this once that rework is in.

Closing as unmerged (no longer needed/relevant).


Add support for RISC-V

Expected behavior
Netty should work on linux-riscv64
Actual behavior
Netty doesn't work on linux-riscv64. The packages containing native libraries don't have support for linux-riscv64.
Steps to reproduce
Install and run any application depending on netty on a linux-riscv64 machine. You can also try to build and test Netty with QEMU user emulation
Minimal yet complete reproducer code (or URL to code)
podman run --rm -it --privileged --platform riscv64 -v $(pwd):$(pwd) -w $(pwd) riscv64/ubuntu:23.04 bash -c "apt update; apt install -y openjdk-21-jdk; ./mvnw clean package"

Netty version
4.1
JVM version (e.g. java -version)
11, 17, 21
OS version (e.g. uname -a)
Linux 85a338514ae4 6.2.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct  6 10:23:26 UTC 2 riscv64 riscv64 riscv64 GNU/Linux

The NIO transport and JDK SSL providers should still work, as they are plain Java without JNI parts.

brotli4j is currently adding support with https://github.com/hyperxpro/Brotli4j/pull/111 and https://github.com/hyperxpro/Brotli4j/pull/112.

I'm currently working on adding support. I'll submit a PR shortly.


StringFrag.toString doesn't behave as expected

if you use .toString to render the tags (instead of .render) StringFrag doesn't behave as expected.
I.e. StringFrag("hello world").toString shouldBe "hello world"
but actually
StringFrag("hello world").toString is "StringFrag(hello world)"

Actually, I would prefer it if that were the expected behaviour, i.e. render produces HTML or DOM output, while toString tells you what DSL tree you built for debugging purposes.
But you are right, right now the documentation states that toString produces HTML.

Yeah let's just make its .toString produce HTML. Swapping out HTML v.s. DSL output would be a big breaking change which wouldn't get caught by the compiler. The small amount of elegance gained doesn't seem worth the transitional pain

If that's the case, I would then change the documentation to use .render instead of .toString
Otherwise it's confusing.
The thing is that .toString is implemented as some sort of .render for ALMOST all the tags, but not this one

.toString doesn't produce HTML for StringFrag though.

the only change I'm proposing here is to have StringFrag returning its content rather than a default toString implementation because I am pretty sure this is not what ppl are expecting there.

Changing the documentation seems fine by me

sounds good to me!


Zoom on Desktop not working

I tried with macos, the zoom is not working,
Maybe because you use if (_pointerNum >= 2) in desktop, we use track pad to zoom, there is no pointer down event

@tolotrasamuel
Thanks, I just checked your PR #121
Does this change work fine for other platforms, such like Android, iOS or Web?


How to write SELECT EXISTS queries?

I am attempting build a query of the form
SELECT EXISTS (SELECT 1 FROM table WHERE ... )

Without resorting to writing raw sql using sb.SQL(), is there some way I can incorporate the builder syntax.
When I try
sb.Select().Exists(sqlbuilder.Select("1").From("table").Where(sb.Equal("col",val )))

I see EXISTS ($1) as the output, instead of SELECT EXISTS .... What am I doing wrong?

The sb.Exists() is derived from Cond, which is designed to build WHERE conditions, not SELECT columns. If you really want to use it as SELECT column, you need to call Select(sb.Exists(...)) to make it work.
Here is a sample.
package main

import (
	"fmt"

	"github.com/huandu/go-sqlbuilder"
)

func main() {
	// Build sub-SELECT query.
	val := 1
	sub := sqlbuilder.Select("1").From("table")
	sub.Where(sub.Equal("col", val))

	// Builder for SELECT EXISTS(...).
	sb := sqlbuilder.NewSelectBuilder()
	sb.Select(sb.Exists(sub))

	sql, args := sb.Build()
	fmt.Println(sql)
	fmt.Println(args)
}


Failure to download .ISO - FIXED

If you receive a "pending reboot" error when running 'Unattend-Lab', the problem may be that you are not running Windows Enterprise. If this is the case, upgrade, rerun 'setup-host.ps1' and 'Unattend-Lab".
https://www.howtogeek.com/250503/how-to-upgrade-to-windows-10-enterprise-without-reinstalling-windows/

This project is now under new ownership. The 3.x version line is obsolete. Version 4.0.0 has been published to the PowerShell Gallery with new updates, configuration, and documentation. It is expected that this version will resolve most if not all of the problems you were experiencing. Read Updating for more information.
No further action will be taken on this issue and it will most likely be closed at some point. If you still have the same issue with the new version, then go ahead and open a new issue.

For future reference, this module should work on Windows 10 Pro or Enterprise. The previous version of the module had outdated ISO settings Follow the instructions to remove any old versions, install the new version from the PowerShell Gallery and try again. If there are still problems, please post a new issue.


Roadmap for PEP 458

This is a meta-issue to document the roadmap for PyPI's support for PEP 458. This top-level comment will be updated as the roadmap progresses. Comments on this issue should be limited to a discussion of this roadmap only, e.g. whether there are steps missing, discovered to be necessary or resolved.
Roadmap

[x] PEP 458 is accepted

[x] https://github.com/python/peps/pull/931
[x] https://github.com/python/peps/pull/1178
[x] https://github.com/python/peps/pull/1203
[x] https://github.com/python/peps/pull/1247
[x] https://github.com/python/peps/pull/1253
[x] https://github.com/python/peps/pull/1261
[x] https://github.com/python/peps/pull/1268
[x] https://github.com/python/peps/pull/1269
[x] https://github.com/python/peps/pull/1270
[x] https://github.com/python/peps/pull/1280
[x] https://github.com/python/peps/pull/1281
[x] https://github.com/python/peps/pull/1284
[x] https://github.com/python/peps/pull/1287
[x] https://github.com/python/peps/pull/1295
[x] https://github.com/python/peps/pull/1306

[x] Key generation and signing ceremony for PyPI

[x] Runbook: https://github.com/psf/psf-tuf-runbook
[x] Announcement: https://pyfound.blogspot.com/2020/10/key-generation-and-signing-ceremony-for.html
[x] Recording: https://www.youtube.com/watch?v=jjAq7S49eow

[x] #8487

[x] #8586
[ ] Serve hashed simple index pages directly from storage via CDN
[ ] Serve simple index metadata

[ ] Initial TUF services

[ ] https://github.com/pypa/warehouse/pull/8955

[x] Updates to python-tuf

[x] https://github.com/theupdateframework/python-tuf/issues/1009

[x] https://github.com/secure-systems-lab/securesystemslib/pull/232

[x] https://github.com/theupdateframework/python-tuf/issues/1009

[x] https://github.com/theupdateframework/python-tuf/pull/1024

[x] https://github.com/theupdateframework/python-tuf/issues/574
[x] https://github.com/theupdateframework/python-tuf/issues/1045

[x] https://github.com/theupdateframework/python-tuf/pull/1052

[x] https://github.com/theupdateframework/python-tuf/issues/1046

[x] https://github.com/theupdateframework/python-tuf/pull/1049

[x] https://github.com/theupdateframework/python-tuf/issues/1048

[x] https://github.com/theupdateframework/python-tuf/pull/1112

[x] https://github.com/theupdateframework/python-tuf/issues/1263

[x] https://github.com/secure-systems-lab/securesystemslib/pull/319
[x] https://github.com/theupdateframework/python-tuf/pull/1272

[x] python-tuf 1.0.0 release: https://github.com/theupdateframework/python-tuf/projects/2

[ ] Integrate with python-tuf

[ ] Support for bumping snapshots, bin roles, adding targets

[ ] #7488
[ ] #10870

[ ] Populate top-level TUF roles

[ ] Bring TUF keys online

[ ] HSMs containing the signing keys need to be distributed
[ ] Each keyholder needs to use their HSM to sign the top-level TUF targets
[ ] Create the online bits?

Downstream issues unblocked once this roadmap is complete:

[ ] https://github.com/pypa/pip/issues/8585

This is likely incomplete, cc @ewdurbin @woodruffw @trishankatdatadog @JustinCappos @mnm678 @joshuagl @jku @pradyunsg @brainwane for your input & awareness.

(Sorry, cc @kairoaraujo as well!)

#8586 has been merged, next step on our end here is setting up the CDN to serve the hashed pages from storage.

tuf==1.0.0 has been released: https://pypi.org/project/tuf/1.0.0/

I may be mistaken, but it looks like movement on PEP 458 has slowed -- what can we do to help get it moving again? Should I be watching https://github.com/jku/repository-playground or helping test #10870 or #8955 or #7488? Thanks!

Please let me know if I can help.

Hi, @brainwane and @ofek.
Helping to review and test PR #10870 for the TUF initialization for development would be great. 🙂

Newer status updates:

January 2023, splitting out RSTUF from Warehouse: https://discuss.python.org/t/pep-458-current-status-and-next-steps-feedback-requested/17211/8
Living status doc for RSTUF development progress: https://github.com/repository-service-tuf/repository-service-tuf/blob/main/ROADMAP.rst


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New convenient function for Generator

Please add function to the interface Gen in package io.kotlintest.properties
for generating BigInteger.
Proposed implementation:
fun bigInteger(maxNumBits:Int=32): Gen<BigInteger> = object : Gen<BigInteger> {
    private val numBitsGen:Gen<Int> = Gen.choose(0, maxNumBits)

    override fun generate(): BigInteger {
        val numBits:Int = numBitsGen.generate()
        return BigInteger(numBits, RANDOM)
    }
}

Thanks, added to master, will be in release 3.0.0.

This is added in 3.0.0 RC1.
If you have the time, please give it a try. There are some breaking changes that should be aware of by reading the changelog here: https://github.com/kotlintest/kotlintest/blob/master/CHANGELOG.md


Joule will not work on '2nd' PC

Description of the Issue

Setup Joule easily and successfully on PC1
Joule on PC1 correctly connects to and displays LND node info
With the magic of Google accounts, went to my 'other' PC and was pleasantly surprised to see Joule was magically already installed on the 2nd PC, and that the readonly.macaroon was installed.
But Joule was failing to contact my LND node.
Everytime I go to edit the macaroons and paste my HEX admin.macaroon, it seems to succeed but the 2nd PC can not connect to my LND node

Steps to Reproduce
On 2nd PC:

Open Chrome -> Joule
Settings
See
Admin Macaroon = (encrypted)
Readonly Macaroon = (Correct value)
Click [Edit] icon
Click 'switch' to hex strings
See
Admin Macaroon = paste hex string here
Readonly Macaroon = (Correct value. Same as on PC1)
get my hex string from my lnd node with this command:
sudo xxd -ps -u -c 1000 /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
Paste the hex into admin.macaroon field (BTW .. same as used on PC1)
Continue
Enter Password
Green message "Macaroons Updated' (or similar)
Settings page show correct admin & readonly macaroons
Back to main Joule page
(!) Failed to fetch channels
try again no help

Description of Your Setup
PC1 = Desktop

Windows: 10, 64-bit
Chrome:  72.0.3626.121
Processor: Intel i5,

PC2 = Tablet

Windows 10, 64-bit
Chrome:  72.0.3626.121
Processor: Intel Atom x5-X8300

LND Node
V0.5.2, running on Raspberry Pi
Network
PC1, PC2, and LND node all on same LAN (no routers between them)
LND has exposed REST interface on port 8082 (NON STANDARD  ... is that a clue???)
# /home/bitcoin/.lnd/lnd.conf
[Application Options]
restlisten=<IP_ADDRESS>:8082

The only firewall is on the LND node, but it has these wide open settings for port 8082
admin ~  ฿  sudo ufw status | grep 8082
8082                       ALLOW       Anywhere                   # allow REST from WAN
8082                       ALLOW       <IP_ADDRESS>/24                # allow REST from LAN
8082 (v6)                  ALLOW       Anywhere (v6)              # allow REST from WAN

Console Logs / Screenshots

I have been testing this same setup on my two machines (Win10 & MacOS) and the syncing works without issue for me. I tried following your steps as well as a few other scenarios, such as resetting the connection on win10 and confirming it resets on the mac. Then connecting to my node from the mac and confirming the win10 machine is now connected. It even works when I used a different password after resetting the connection.
What I believe is happening in your case, it that PC2 is failing to connect due to an SSL certificate error. Remember that you have to load your node url in a separate tab, then click advanced and proceed. The certificate acceptance does not get synced by Chrome across machines. Try to open the url https://<IP_ADDRESS>:8082/v1/getinfo in a new tab on PC2 and confirm that you can see the message expected 1 macaroon, got 0.
Side note: we have PR #180 open which helps suggest fixes when there are connection problems, such as this certificate issue. Hopefully we can get this included in the next release.

Problem Resolved. Thanks. Here is how it was fixed.

On PC2: Went to https://<IP_ADDRESS>:8082/v1/getinfo
Chrome warned that it was insecure. Advanced -> Proceed to <IP_ADDRESS> (unsafe) ...
{"error":"expected 1 macaroon, got 0","code":2}
Now tried Joule on PC2 -> Success!

So ... seems that Joule was suffering the same https problem, but not reporting any diagnostic errors to the user. Only after I told Chrome to ignore https errors for <IP_ADDRESS>, did Joule start working.
Why did I not see same issue on PC1? I have done other REST work from that PC to my LND node in the past and probably many months ago bypassed the https security check.
As an aside: Why was there a cert issue? Because it self-signed, and there was no trusted root:
This CA Root certificate is not trusted because it is not in the Trusted Root Certification Authorities store.
Issuer:   CN = RaspiBolt, O = lnd autogenerated cert
Valid from: Tuesday, 24 April 2018 12:53:56 PM
Valid to: Wednesday, 19 June 2019 12:53:56 PM
So: Again, thank for giving me the clues to resolve. But this same issue will likely hit others in the same boat. Suggest catching such issues and giving user the tools/info to resolve.

Thanks for clearing it up @jamaljsr, I've merged #180 in so this should no longer be an issue with the next release.

@robclark56 to answer your question, self-signed certificates are typically rejected by browsers. LND can generate LetsEncrypt certs for domains, but unfortunately browsers don't like the certs signed for local usage. At the moment there's not a way around this using only a Chrome extension, it would require some kind of native proxy to fix it.


[Problem] Pokemon Black 2 Japan Code Generating error

When I generating code for Black 2 J it shows error:
''FATAL ERROR: Could not find a suitable code cave.''
I use WfcReplay 0.5.

Unfortunately it seems despite my optimizations, Pokémon Black 2 (J) still requires a bigger code cave than what's available. I've added some extra functionality to detect such problem games and use two code caves if necessary in commit 3a0c4db. Could you try the following code and see if it works for you?
::Bypass HTTPS v0.6 for [IREJ] POKEMON B2 RevA
5207C4CC EE070F90
E2004310 0000003C
CA024A0D 58CC4B0B
D105429C 785C185B
3301701C D1FA4224
00A45E14 3202D005
D3EF1909 881403A1
4778E7F9 EE070F90
E8BD801E 2F2F3A73
020044C8 00000000
E20044C8 00000042
D2E91A79 000A002C
00A70009 D2EB004D
001D87AD 00190018
00190019 00190019
001A001A 0005052A
01644AAF 00130016
01BE0016 00120015
00140013 001D0012
00000000 00000000
0207C4CC E92D401E
0207C4D0 FAFE1F8E
D2000000 00000000

Code works fine.
Thanks :)


fix(picker): allow selectedIndex to be zero

Short description of what this resolves:
Currently, if selectedIndex is 0 (the first item in the column is selected), the picker returns null instead of the first item.
Changes proposed in this pull request:

allow selectedIndex to be 0

Ionic Version: 4.x
Fixes: #

Thank you for the PR! Made a small change but merged it here: d19061c863f8558a0e597e3a5a53f1567b271b7b


test(@embark/communication): add test for embark communication module

In view of #1902 being merge, you may want to rebase against master and delete this placeholder test that I added: https://github.com/embark-framework/embark/blob/290ab12bb56291f4cc4cd1e4283d528f4c3004c9/packages/stack/communication/test/index.js
The reason I added it is that if there are no tests that match the configured matcher then the jest process exits with error.


Run validator against PR's with config changes

We recently ran into an issue where we PRed an invalid changed in the .dependabot/config.yml file. It would be really handy to have Dependabot watch for PR's that make changes to that file and run it through https://dependabot.com/docs/config-file/validator/ so it can report back any issues that might be in there.

This is from the old dependabot-preview code, before it was moved to GitHub.
We now automatically run checks on the config file, although it has some issues: https://stackoverflow.com/questions/2290016/git-commit-messages-50-72-formatting
So closing this in favor of https://github.com/dependabot/dependabot-core/issues/4605


Content file not included when reference via PackageReference instead of packages.config

I recently switched my project to use the PackageReference method (<RestoreProjectStyle>PackageReference</RestoreProjectStyle>) to include nuget packages and ran into a problem when I tried import the evopdf package.
The packages does two things:

Add an assembly reference to the current project
Add a content file of around 50MB to the output of the project (evointernal.dat).

The package is imported just fine when using the packages.config approach and the evointernal.dat appears in the output directory.
But with the new approach, I have two issues:

Even after package restore / build, the package is not shown in the "References" section. The dlls appears in the output directory, however.
The evointernal.dat is never copied to the output directory.

I tried the restore both with Nuget 4.3 as well as msbuild 15.3.409.57025.
Is there something wrong with the package or is there a bug in the PackageReference implementation?

This issue was moved to NuGet/Home#5803


remove early adopter from navigation, it no longer exists

Pull request to remove early adopter registration page from the navigation.
Shall we immediately also clean up the page itself? Any chance of having broken links?

Yes, clean up seems good with a redirect:
https://github.com/openEOPlatform/documentation/blob/main/.vuepress/enhanceApp.js#L7

@jdries I also had this on my to do list for a while and went ahead with most of the update (I hope you don't mind). How I see it the only thing left is to update the Terrascope registration page here: https://docs.openeo.cloud/federation/#terrascope-registration I guess most of it can be removed but you probably still want to let people know how they can connect their existing Terrascope accounts to their Platform account.

Thanks, I merged it now. I did not realize that this was referenced from so many places, but that explains why I encountered a few users that were confused. This also is enough reason for me to merge this immediately, and both operational backend providers seem to agree.


Update in random number algorithm in RandomManager::NonCryptoPrng

The random number algorithm implemented in RandomManager::NonCryptoPrng has been updated to generate the numbers using the Linear Congruential Generator (LCG) implementation which is part of the NIST Statistical Test Suite.
The numbers generated with this have been tested with the NIST Statistical Test Suite and the number generator has given better results for randomness.

@googlebot I signed it!

@jwhui
This implementation is for an enhanced random number generator, please review and share your thoughts.

@jsnayak, thank you for this contribution. To assist with review, can you provide a reference/link to the NIST specification of this algorithm?

@jwhui, The description of the Linear Congruential Generator (LCG)  algorithm that has been submitted is detailed in NIST specification [Appendix D.1 Reference Pseudorandom Number Generators].
nistspecialpublication800-22r1a.pdf

I also wonder if we need such a complicated software random generator here. We use Random::NonCrypto only when we need 'some random value' irrelevant for security. For security related randoms, we use Random::Crypto which uses proper DRBG.

I agree with @KaSroka.

@KaSroka @jwhui
I will review the implementation as per your comments, consider your feedback and get back. Thanks!

Closing stale PR. Feel free to reopen if/when ready to move this forward.


Store arbitrary binary data blobs

I'm trying to save a jpg photo using putFile, but get this error:
Error: Failed to putFile /headshot.jpg (errno: 22): Payload 0d6464a82f07e409387f2d87fa8dae48c127da43fff1d41951c1122d5736e594 does not match inode header b399b54ea1d0030b0ddf58d0535a8417aebc0c21c86246a43e19da8bfb51f8be
    at http://localhost:3000/static/js/bundle.js:18193:16
    at <anonymous>

I think it might have something to do with string encoding, but not sure. Our app needs to be able to store images and potentially other files a user uploads to their cloud provider. The method works fine when just saving a json string.

How are you using putFile? When trying to duplicate this behavior (I'm just running commands in the Chrome console in our todos app), this is what I see:
> fetch("https://pbs.twimg.com/profile_images/849366675468242945/vXCtIt02.jpg").then(x => x.text().then( y => toPut = y ))
Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]: undefined}
> blockstack.putFile("/headshot.jpg", toPut)
Promise {_45: 0, _81: 3, _65: Promise, _54: null}
> blockstack.getFile("headshot.jpg").then( x => toCheck = x );
Promise {_45: 0, _81: 0, _65: null, _54: null}
> toCheck == toPut
true

Here is some basic stuff I tried in the console:
var reader = new FileReader()
var f = $('input[type=file]')
reader.readAsBinaryString(f.files[0])
blockstack.putFile(f.files[0].name, reader.result)

I also tried readAsText(), readAsArrayBuffer(), and readAsDataURL(). None of them seemed to work.

I just tried this with a couple of files off my machine and I can't replicate. Would you mind uploading one of the files that is failing for you?


Error: Invalid parameters when updating timezone in Account Preferences

Hi,
first off: great project 😉
I just upgraded from v1.29.2 to v1.29.3, then tried changing my account timezone:

Unfortunately, there are no logs pointing to this error as far as I can tell
Here's the upgrade/migration log:
Recreating pd_wakapi_1 ... done
Attaching to pd_wakapi_1
pd_wakapi_1  | 2021-08-18T14:50:20.165191338Z [INFO ] potentially running migration '20201103-rename_language_mappings_table'
pd_wakapi_1  | 2021-08-18T14:50:20.165448897Z [INFO ] potentially running migration '20201106-migration_cascade_constraints'
pd_wakapi_1  | 2021-08-18T14:50:20.165460363Z [INFO ] not attempting to drop and regenerate constraints on sqlite
pd_wakapi_1  | 2021-08-18T14:50:20.165462861Z [INFO ] potentially running migration '20210202-fix_cascade_for_alias_user_constraint'
pd_wakapi_1  | 2021-08-18T14:50:20.16546975Z [INFO ] not attempting to drop and regenerate constraints on sqlite
pd_wakapi_1  | 2021-08-18T14:50:25.512805829Z [INFO ] potentially running migration '20210206_drop_badges_column_add_sharing_flags'
pd_wakapi_1  | 2021-08-18T14:50:25.518184321Z [INFO ] potentially running migration '20210213-add_has_data_field'
pd_wakapi_1  | 2021-08-18T14:50:25.522480516Z [INFO ] no need to migrate '20210213-add_has_data_field'
pd_wakapi_1  | 2021-08-18T14:50:25.523532763Z [INFO ] potentially running migration '20210221-add_created_date_column'
pd_wakapi_1  | 2021-08-18T14:50:25.524874703Z [INFO ] no need to migrate '20210221-add_created_date_column'
pd_wakapi_1  | 2021-08-18T14:50:25.525852304Z [INFO ] potentially running migration '20210411-add_imprint_content'
pd_wakapi_1  | 2021-08-18T14:50:25.526567078Z [INFO ] no need to migrate '20210411-add_imprint_content'
pd_wakapi_1  | 2021-08-18T14:50:25.527077799Z [INFO ] potentially running migration '20210411-drop_migrations_table'
pd_wakapi_1  | 2021-08-18T14:50:25.527661107Z [INFO ] dropped table 'gorp_migrations'
pd_wakapi_1  | 2021-08-18T14:50:25.528301948Z [INFO ] potentially running migration '20210806-remove_persisted_project_labels'
pd_wakapi_1  | 2021-08-18T14:50:25.581511585Z [INFO ] successfully deleted project label summary items
pd_wakapi_1  | 2021-08-18T14:50:25.614972697Z [INFO ] generating summaries
pd_wakapi_1  | 2021-08-18T14:50:25.61752527Z [INFO ] initializing report service
pd_wakapi_1  | 2021-08-18T14:50:25.629864852Z [INFO ] scheduling reports for 0 users
pd_wakapi_1  | 2021-08-18T14:50:25.630944236Z [INFO ] pre-warming user project cache
pd_wakapi_1  | 2021-08-18T14:50:25.631584886Z [INFO ] --> Listening for HTTP on <IP_ADDRESS>:3000... ✅
pd_wakapi_1  | 2021-08-18T14:50:28.664767396Z [INFO ] [request] status=302, method=GET, uri=/, duration=518.36µs, bytes=31, addr=X.X.X.X, user=-
pd_wakapi_1  | 2021-08-18T14:50:28.68289227Z [INFO ] [request] status=302, method=GET, uri=/summary, duration=320.675µs, bytes=43, addr=X.X.X.X, user=-
pd_wakapi_1  | 2021-08-18T14:50:28.710571283Z [INFO ] [request] status=200, method=GET, uri=/?error=unauthorized, duration=5.663046ms, bytes=9435, addr=X.X.X.X, user=-
pd_wakapi_1  | 2021-08-18T14:50:31.942280748Z [INFO ] [request] status=200, method=GET, uri=/?error=unauthorized, duration=1.257602ms, bytes=9435, addr=X.X.X.X, user=-
pd_wakapi_1  | 2021-08-18T14:50:35.502372816Z [INFO ] [request] status=200, method=GET, uri=/?error=unauthorized, duration=1.832049ms, bytes=9435, addr=X.X.X.X, user=-
pd_wakapi_1  | 2021-08-18T14:50:38.277208896Z [INFO ] [request] status=200, method=GET, uri=/login, duration=3.101751ms, bytes=5174, addr=X.X.X.X, user=-
pd_wakapi_1  | 2021-08-18T14:50:41.454125123Z [INFO ] [request] status=302, method=POST, uri=/login, duration=123.277649ms, bytes=0, addr=X.X.X.X, user=-
pd_wakapi_1  | 2021-08-18T14:50:42.452053961Z [INFO ] [request] status=200, method=GET, uri=/summary?interval=today, duration=60.296818ms, bytes=17179, addr=X.X.X.X, user=pd

Hi @philippdormann, thanks for bringing this up! I'll have a look as soon as possible and then get back to you to help you get your problem fixed.

Alright, had some time to look into this now. I assume you are running Wakapi inside Docker using the Alpine-based Docker image, right?
Apparently, the IANA list of available time zones (required by [time.LoadLocation()](https://pkg.go.dev/time?utm_source=godoc#LoadLocation)) is not present on Alpine by default. I'll push a fix to the Alpine Dockerfile. The official Docker image on DockerHub will only be updated after the next release, but I saw you have a custom-built image anyway.

Resolved by https://github.com/muety/wakapi/commit/c07a4d71a0aa2053c853f86549b0f03d58d438fb.

great, thanks so much 🎉


Intermittent issue with upload - The request was aborted: Could not create SSL/TLS secure channel

Hi,
Recently we are facing upload failure(frequent) with the below exception,
An unhandled exception was caught at the service layer. System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> Amazon.Runtime.AmazonServiceException: A WebException with status SecureChannelFailure was thrown. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure
 channel.
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---

We are running our application in EC2 Instances (10 instances in parallel), same region as S3 bucket.
We didn't hit this issue when EC2 instances and S3 buckets are in same AWS account. We are seeing this issue when EC2 instances are in one AWS account and S3 buckets are in another account. I'm not sure this makes any difference. But would like to call it out.
Any suggestions to fix this issue.
--Srinu

Hi Srinu, the accounts should not make a difference. Are you accessing the same bucket in both cases? What is the region for the bucket? How frequently do you see this error?
Could you enable System.Diagnostics logging for System.Net ? The instructions to enable this logging is present here. This would give detailed logging for the .NET System.Net library.
The log should have more details about the failure, here is an example.

Are you still facing this issue?

HI Goakarnm,
Some how i missed your first response. Here are the details requested,
Are you accessing the same bucket in both cases?
Srinu>> No. Each instance uploads to different bucket.
What is the region for the bucket?
Srinu>> Bucket and Instance are in same region. (US-EAST-1)
How frequently do you see this error?
Srinu>> Initially we have seen very rarely, however it gradually increased and 3 out of 10 instnaces faced this issue with multiple upload failures.
Will try with enabling System.Diagnositics and let you  know the result in next couple of days.
--Srinu

Hi,
I am facing the same issue.  S3 region: us-west-2
A WebException with status SecureChannelFailure was thrown. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---

@megnap  could you provide us with a detailed log following the steps @gokarnm gave above?

Closing due to inactivity.


SAMP crashes when opening a second instance

I was wondering if it's possible for a modloader to support multiple instances of a game.
For example, with this mode, or sampfuncs with multiprocess mode on, the game just crashes when the user tries to open a second instance of the game.
I know a lot of people who would like to use the modloader, but the ability to open multiple game instances is too important for them. I have very little idea how the modloader works, but since no one has reported this problem in 10 years, bringing it to the surface is the least I can do.
Thank you for your attention.

To be honest I don't quite understand what you mean, but using modloader can do the job of installing multiple different modified sa in one gtasa, such as GTA Alien City, GTA Gostown Paradise, GTA Grandcarma v2.2 beta, GTA Journey To Mars BETA, GTA LOTRS, GTA Mushroomia, etc. Of course samp and MTA are also possible, but I haven't tested it yet. all these 3rd party team modified mods can be installed in same gtasa directory by modloader, if you mean to talk about this, you can learn some knowledge of modloader in the following link, which will help you to better use the modloader:
说实在话我不太理解你的意思，但是使用modloader能够做到在一个gtasa里安装多个不同的修改过的sa，比如说GTA Alien City，GTA Gostown Paradise，GTA Grandcarma v2.2 beta，GTA Journey To Mars BETA，GTA LOTRS，GTA Mushroomia等等。当然samp和MTA也是可以的，不过我还没有测试。这些第三方团队修改的模组都可以通过modloader在同一个gtasa目录里安装，如果你是讲这个意思的话，你可以在以下链接里学习modloader 的一些知识，能帮助你更好的使用modloader：
ModLoader 0.3.7 para GTA SA / VC / III：https://www.mixmods.com.br/2018/01/modloader/
Tutorial & Dicas – Tudo sobre ModLoader (GTA)：https://www.mixmods.com.br/2015/07/tutorial-dicas-tudo-sobre-modloader-gta/
Dicas de como cuidar do seu GTA modificado：https://www.mixmods.com.br/2018/08/dicas-de-como-cuidar-do-seu-gta-modificado/

I mean that with the modloader installed, the game loses the ability to run in multiple windows: it crashes when trying to open the second SAMP window. For example, I want one samp session in one window, and another in another window, and so on.
I understand that you may consider this a niche problem, but I personally know dozens of players who cannot use the modloader because of this.

I see what you mean, it's a problem I really haven't encountered and I'm sorry I can't be of some help to you，


Height of droppable area changes after first element dropped

Here's a jsfiddle that shows an example of what I mean:
http://jsfiddle.net/6y9w4opk/
If you drag one item from the bottom list into the first, you can drag it anywhere over the <ul> and the item will be moved over correctly (you can see it by the dashed outline of the placeholder).
When you try to drag a second item into the top list, you have to drag it over the previous <li> element or it won't allow you to drop the new item, even though the <ul>'s height hasn't changed.
Here's a video showing what I mean as well:
https://youtu.be/I39e2nlj2HY
It's not that anything breaks, but this has caused confusion for users in two separate test sessions, so we'd like a way to keep the entire <ul> area droppable and have the dropped <li> end up at the end of that list.
Please let me know if there's a workaround or fix I can try. Thanks!

Thanks for reporting, I guess what happens is, not that the height changes, but rather that we do not detect a drop on a non-empty sortable ().
When changing this we have to make sure to test that you it will only be added to the end of the list if it is not dragged onto another list item.

Is there an update on this? I encounter the same issue.

I encountered this, too.
What's even worse: I have a setup very much like your last example, "Sortable Copy". When you pull from the source list into an empty spot on the target list, and there is already an item there, the dragged item will be duplicated in the source list, which is meant to not change at all in the first place.

Hey, there is currently no fix implemented. I would appreciate if one of you could send a PR for this.
What needs to be implemented (I think) is to check onDragEnter if the sortable list is empty.

If it is empty true the dragged item needs to be added to the sortable
If it is NOT empty false the nothing changes, so that the item is added after the current item, and not at the end.

We also encountered this problem. Is there a solution?

Sadly not. Always happy if you can send a PR with a fix.

I think an alternative solution is to make a small change in the else case of debouncedDragOverEnter . Replace this:
if (placeholders.indexOf(element) === -1 && sortableElement === element && !_filter(element.children, options.items).length) {

with this:
if (placeholders.indexOf(element) === -1 && sortableElement === element {

That final condition was enforcing that you'd only append the item to the end of the container when there were no existing items (other than the placeholder).

Hey @erickoledadevrel could you maybe send a PR for this (and do some tests that this does not create any other issue)?
This would be awesome and help to quickly fix this. Thank you. 👍

Started looking into it, buy writing the test is much harder than the fix
itself 😅. Any pointers to a similar test I could modify would be
appreciated.
On Sun, Oct 20, 2019, 8:03 AM Lukas Oppermann<EMAIL_ADDRESS>wrote:

Hey @erickoledadevrel https://github.com/erickoledadevrel could you
maybe send a PR for this (and do some tests that this does not create any
other issue)?
This would be awesome and help to quickly fix this. Thank you. 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lukasoppermann/html5sortable/issues/172?email_source=notifications&email_token=AAHSBGDWP3TG7EOYU5D43ATQPRCHTA5CNFSM4BM65DYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYISEI#issuecomment-544246033,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHSBGC7UWKXKYEZJW2SPFDQPRCHTANCNFSM4BM65DYA
.

Hey, that is great. Feel free to send an "unfinished" PR if you want.
I don't have a test that really fits, as this part is currently also not covered by at test. However it would be great if you could get it covered.
I am not 100% sure, but maybe it would make sense to extract line 566-576 (https://github.com/lukasoppermann/html5sortable/blob/master/src/html5sortable.ts#L566-L576) to a seperate function, which would be easier to test?
Thank you very much for helping. 👍

PR #517 sent!


support JWT authentication

looks like trino's python client supports JWT. An easy lift would be that a user could pass a JWT token as a target field in the user's profiles.yml.
The user below could then use some script to store the token as an environment variable.
Happy to advise on how this might work, LMK!
relevant dbt Slack thread

I'm trying to connect dbt to presto as that is one of our data stores. The only way that we are able to connect to this is through okta verification using a token that lasts only 24 hours. From the looks of the documentation on the profile setup it looks like only ldap and kerberos is supported. Is there currently a way to fetch a token or is this something that would need to be done on my end to pass over to the presto profile?

Thanks, the proposed solution looks good, we can have an extra authentication kind and allow user to pass JWT token in profiles.yml

Closed by: https://github.com/starburstdata/dbt-trino/pull/32


Clean up the script/preview container more reliably

Use docker run's --rm argument to clean up the container once you kill the Jekyll process.

LGTM. Merging.


External plain source

One more step to resolve issue #36 - this PR adds ExternalPlainSource stage.
Basically, this stage allows to make use of some existing consuming actor, and get messages from him instead of creating it's own consuming actor.
Implementation is pretty simple, but while adding test coverage we'll need to make sure that Pause()`Resume()` scenario is tested (issue #55 )
Close #55
It is work in progress for now (need more tests), that's why making it a draft PR.

@Aaronontheweb Please keep in mind that this PR is based on #53 and #54 PRs, so we would better have them merged first.

@IgorFedchenko will do - letting CI run for those now.

While adding and verifying pause/resume test, I discovered one more pretty serious issue which may lead to message loss when stages subscribed to multiple partitions.
I want to move this issue fix to separate PR, because technically this PR works and implements ExternalPlainSource stage well. And there is also a separate test to check pause/resume behavior, which also passes now.
So I will put some comments over changes here and move this PR to review.

@Aaronontheweb There is also one more PR #59 that is based on this one, so after merging this you can review that one. It addresses issue #58 which was discovered during testing.


Add drawer env

Adding a PickAndPlace environment with drawer
Tasks:

[X] Create environment skeleton.
[X] Add drawer XML to environment
[x] Figure out how to position drawer on table
[ ] Implement drawer reset
[ ] Add drawer state to environment state

scratch.py now works. Need to figure out how to solve rendering issue.

I'm using this environment as a reference for how to implement the drawer: https://github.com/Farama-Foundation/Metaworld/blob/master/metaworld/envs/mujoco/sawyer_xyz/v2/sawyer_drawer_open_v2.py
For getting object state:
    def _get_pos_objects(self):
        return self.get_body_com('drawer_link') + np.array([.0, -.16, .0])

    def _get_quat_objects(self):
        return self.sim.data.get_body_xquat('drawer_link')

For resetting:
    def reset_model(self):
        self._reset_hand()
        self.prev_obs = self._get_curr_obs_combined_no_goal()

        # Compute nightstand position
        self.obj_init_pos = self._get_state_rand_vec()
        # Set mujoco body to computed position
        self.sim.model.body_pos[self.model.body_name2id(
            'drawer'
        )] = self.obj_init_pos
        # Set _target_pos to current drawer position (closed) minus an offset
        self._target_pos = self.obj_init_pos + np.array([.0, -.16 - self.maxDist, .09])

        return self._get_obs()

@RobertMcCarthy97 the cube reset issue should be fixed now

@dtch1997 I'm getting the following error:
(llm_curriculum) robert@robert-Nitro-AN515-45:~/Research/rl_envs/llm_curriculum/Gymnasium-Robotics$ python examples/fetch_pick_and_place_drawer_v2.py
Traceback (most recent call last):
  File "/home/robert/Research/rl_envs/llm_curriculum/Gymnasium-Robotics/examples/fetch_pick_and_place_drawer_v2.py", line 15, in <module>
    env = gym.make(
  File "/home/robert/anaconda3/envs/llm_curriculum/lib/python3.9/site-packages/gymnasium/envs/registration.py", line 801, in make
    env = env_creator(**env_spec_kwargs)
  File "/home/robert/Research/rl_envs/llm_curriculum/Gymnasium-Robotics/gymnasium_robotics/envs/fetch/pick_and_place_drawer.py", line 35, in __init__
    MujocoFetchEnv.__init__(
  File "/home/robert/Research/rl_envs/llm_curriculum/Gymnasium-Robotics/gymnasium_robotics/envs/fetch/fetch_env.py", line 293, in __init__
    super().__init__(default_camera_config=default_camera_config, **kwargs)
  File "/home/robert/Research/rl_envs/llm_curriculum/Gymnasium-Robotics/gymnasium_robotics/envs/fetch/fetch_env.py", line 69, in __init__
    super().__init__(n_actions=4, **kwargs)
  File "/home/robert/Research/rl_envs/llm_curriculum/Gymnasium-Robotics/gymnasium_robotics/envs/robot_env.py", line 280, in __init__
    super().__init__(**kwargs)
  File "/home/robert/Research/rl_envs/llm_curriculum/Gymnasium-Robotics/gymnasium_robotics/envs/robot_env.py", line 78, in __init__
    self._initialize_simulation()
  File "/home/robert/Research/rl_envs/llm_curriculum/Gymnasium-Robotics/gymnasium_robotics/envs/robot_env.py", line 289, in _initialize_simulation
    self.model = self._mujoco.MjModel.from_xml_path(self.fullpath)
ValueError: XML Error: Schema violation: unrecognized attribute: 'solimplimit'

Element 'body', line 44

Does it run for you?


Add the AgentVersion field in ManagedClusterStatus

What type of PR is this?
kind/feature
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #805
Special notes for your reviewer:
The function is shown in the following figure：

@chxcode Please run make generated to update auto-generated files.

@chxcode Please run make generated to update auto-generated files.

finished


[BUG] NullReferenceException when updating concurrency in ServiceBusProcessor

Library name and version
Azure.Messaging.ServiceBus <IP_ADDRESS>
Describe the bug
Under load we're getting periodic NullRefenceExceptions thrown from the Receiver Manager in response to a call to UpdateConcurrency:
Looking at the code for UpdatePrefetchCount, it is referencing the property for Receiver multiple times but this property can be updated while the method is running, meaning it can be set to null after the null check but prior to referencing the PrefetchCount property.
https://github.com/Azure/azure-sdk-for-net/blob/7b03cd1b95e378ad327b94e36ade6aaaf041a988/sdk/servicebus/Azure.Messaging.ServiceBus/src/Processor/ReceiverManager.cs#L126-L132
When this happens, the ServiceBusSessionProcessor stops receiving messages.
Expected behavior
Updating the concurrency should not cause the session processor to fail internally.
Actual behavior
A null reference exception is thrown with the following stack trace:
Azure.Messaging.ServiceBus.ReceiverManager.UpdatePrefetchCount(int prefetchCount)
Azure.Messaging.ServiceBus.ServiceBusProcessor.ReconcileReceiverManagers(int maxConcurrentSessions, int prefetchCount)
Azure.Messaging.ServiceBus.ServiceBusProcessor.ReconcileConcurrencyAsync()
Azure.Messaging.ServiceBus.ServiceBusProcessor.RunReceiveTaskAsync(System.Threading.CancellationToken cancellationToken)
Azure.Messaging.ServiceBus.ServiceBusProcessor.RunReceiveTaskAsync(System.Threading.CancellationToken cancellationToken)

Once the exception occurs, the processor fails to retrieve any more messages from service bus
Reproduction Steps
We are calling:
ServiceBusSessionProcessor.UpdateConcurrency(newTaskCount, 1);
While under high load.  It happens about once every 8 hours.
Environment
Windows Service in .NET Framework 4.7.2

Thanks for the quick fix, that looks like a good solution to me.


Memory optimisation in javascript.

Following on from previous commit, an issue was spotted with IE viewing the largest pages where it would fail.
This splits large json into discrete blocks, which are also valid json. The last json file contains the top level structure to put the large object back together. This appears to be working on IE.

This change is an extension of the json chunking change committed in #69 but that didn't quite work on the very large pages for IE.


Error: Cannot find module './routes/tools/status'

Just pulled my source down from our repo after a machine rebuild and now getting the above error after running npm install.
has something changed recently as I have this code running in 2 live instances without the error
`node server.js
/Users/joeearly/Documents/GitHub/fishpal_iisnode/node_modules/applicationinsights/out/AutoCollection/Exceptions.js:33
throw error;
^
Error: Cannot find module './routes/tools/status'
at AppInsightsAsyncCorrelatedErrorWrapper.ZoneAwareError (/Users/joeearly/Documents/GitHub/fishpal_iisnode/node_modules/zone.js/dist/zone-node.js:811:33)
at new AppInsightsAsyncCorrelatedErrorWrapper (/Users/joeearly/Documents/GitHub/fishpal_iisnode/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:193:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module.patchedRequire [as require] (/Users/joeearly/Documents/GitHub/fishpal_iisnode/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/Users/cccccc/Documents/GitHub/fishpal_iisnode/server.js:57:20)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)`

It looks like you are using an older version of the SDK which used zone.js. We've since deprecated this dependency in favor of cls-hooked, which resolved pretty much all of these types of cryptic errors. Try updating to the latest version and let me know how it goes.

Yea was vr1 still, so updated to 1.4.2 and the error is still present a bit a little different
/Users/joeearly/Documents/GitHub/fishpal_iisnode/node_modules/applicationinsights/out/AutoCollection/Exceptions.js:34
throw THIS_IS_APPLICATION_INSIGHTS_RETHROWING_YOUR_EXCEPTION; // Error originated somewhere else in your app
^
Error: Cannot find module './routes/tools/status'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module.patchedRequire [as require] (/Users/joeearly/Documents/GitHub/fishpal_iisnode/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/Users/joeearly/Documents/GitHub/fishpal_iisnode/server.js:57:20)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)

Does ./routes/tools/status exist in your app? This SDK adds a global uncaught error handler which rethrows (and crashes your app, as it would without it) any errors it receives. If you have an existing uncaught error handler that swallows errors instead of crashing, then this SDK is probably overriding that handler.
This doesn't look like an error caused by this SDK though, and that file is not something this SDK knows about.

My bad, was indeed an uncaught error from me and the AI catching it was throwing me off.
Thank Mark for your time


Queries with nested fields for presto fail with " 'The number of data values and number of nestedfields are not equal'"

A clear and concise description of what the bug is.
When querying a deeply nested field in presto, a "The number of data values and number of nestedfields are not equal'" error.
This appears related to<EMAIL_ADDRESS>Expected results
The data
Actual results
Exception:  'The number of data values and number of nestedfields are not equal'
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug

Query a deeply nested field (a row of array of row) in sql lab
If the rows have different shape, i.e. one is null, the other has data only the shape of the first row determines the data.
The code comes from ./superset/db_engine_specs/presto.py in the _expand_row_data function.

Environment
(please complete the following information):

superset version: 0.34.1rc1
python version: python --version 3.6
node.js version: node -v
npm version: npm -v

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[X ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ X] I have reproduced the issue with at least the latest released version of superset.
[ X] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

I patched our local deployment with the following in the function mentioned above:
Replaced
            if row_data and len(row_data) != len(row_children):
                raise Exception(
                    "The number of data values and number of nested"
                    "fields are not equal"
                )

with
if row_data and len(row_data) != len(row_children):
                for index, data_value in enumerate(row_data):
                    if index >= len(row_children):
                        row_children.append("col_{}".format(index))
                    datum[row_children[index]] = data_value

Sure, I'll submit a pr for that:)


Enabling pylint plugin pylint.extensions.comparetozero

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Cannot find the "Params" class

The figure above shows the "parameters" module. You can see from the third line that the "Params" class is imported as the parent class, but I can't find the location of this "Params" class.
Where can I find the "Params" class? I would appreciate it if you could answer my question.

What code are you running? Did you follow the installation instructions in the Readme?

 The figure above shows the "parameters" module. You can see from the third line that the "Params" class is imported as the parent class, but I can't find the location of this "Params" class. Where can I find the "Params" class? I would appreciate it if you could answer my question.

Hi,I think this class "Params" is written in cpp, you could refer to https://github.com/bark-simulator/bark/blob/master/bark/commons/params/params.hpp


Dockerfiles use amd64-specific images

Description
Currently trying to run docker-compose up -d fails on an M1 (arm64) Mac because the golang images "pinned" in the Dockerfiles are amd64-specific, which makes the development on newer Macs difficult.  In particular, it leads to failing e2d tests in sigstore/cosign (https://github.com/sigstore/cosign/blob/main/test/e2e_test.sh).  How important is it to "pin" the golang builder images to a specific sha256 (which is also architecture specific)?  For the golang image, a simple fix for me is to change the image golang:1.21.6@sha256:7b575fe0d9c2e01553b04d9de8ffea6d35ca3ab3380d2a8db2acc8f0f1519a53 to just golang:1.21.6 (or golang:1.22.0), since the golang is multiarch [1] .  Would this be acceptable or do you have any concerns?
There is also an issue with the gcr.io/trillian-opensource-ci/ctfe docker image which I believe is not multiarch and would have to be rebuilt as multiarch:
$ docker run -t -i --name tr gcr.io/trillian-opensource-ci/ctfe /bin/bash
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
F0222 16:32:34.005450       1 main.go:115] Failed to read config: open : no such file or directory
prebid-server$ cd ~/gh/sigstore/fulcio/

Slack discussion: https://sigstore.slack.com/archives/C01PZKDL4DP/p1708615569583539
[1] https://hub.docker.com/_/golang -> Quick reference (cont.) -> Supported architectures

Can we select an image based on the architecture docker-compose is run on? Pinning is a good practice as tags are mutable.
cc @cpanato


No ability to add streamfield items within an inline panel without min_num=1

Hi guys
I found a bug today, defining:
class MyPageFooItem(Orderable):
    page = ParentalKey(..., related_name='foos')
    content = StreamField([...])

    panels = [
        StreamFieldPanel('content'),
    ]

class MyPage(Page):
    ...
    content_panels = Page.content_panels + [
        InlinePanel('foos', label="Foos"),
    ]

renders no options to add any item from the streamfield within the inline panel. You just get a label Foos:. If you then oddly add min_num=1 to the inline they appear and you can happily add content:
class MyPage(Page):
    ...
    content_panels = Page.content_panels + [
        InlinePanel('foos', label="Foos", min_num=1),
    ]

Im guessing its prob a js thing in that with min_num=1 one will be on the page already.
Also adding a second inline via the button renders no content till you try to save it.
Cheers
Stu

That’s a tough issue. I didn’t think about the inclusion of streamfields in inlines, I honestly never did that and didn’t even think it was possible!
Fortunately, this should be fixed by the huge rewrite I am currently doing with the guidance of Thibaud Colas here: https://github.com/noripyt/react-streamfield/issues/4
It should be fixed because we will no longer initialize StreamField the same way. They were initialized all at once on page load, now they will be initialized in inline scripts, so it should perfectly work with inlines :)

Superb

Fixed by https://github.com/wagtail/wagtail/pull/4942/commits/73e01f2297380f9a93ea97d564e8057783946685, will be in a new version of wagtail-react-streamfield today.

Released in version 1.2.0.


Added Creditas as adopter

Adding Credits as an adopter

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Welcome Creditas and @aureliosaraiva! 🎉  🎉
Backstage commits must be signed-off (DCO), there's instructions on how to fix that in the failed DCO check. Eager to get you added once that's fixed up! 🙂

Close in favor: #6705


InputNumber min behaviour

I noticed that if you try to exceed the max attribute the value is set to the max. That's nice :)
It would be nice for min to work the same, i.e. if someone attempts to backspace/delete the value it automatically sets to the min attribute.
Currently the console displays the following when the value is deleted:
[Vue warn]: Invalid prop: type check failed for prop "val". Expected Number, got String.  (found in component <InputNumber>)

I can not reappear this bug, could you please make a jsfiddle or jsbin?

Sorry, I forgot to mention I'm using Vuelidate for validation. I just realised it's producing that console warning.
So what's happening is that if I select/highlight the number in the field and hit backspace so that the field is empty, the validation receives '' which is a string, instead of 0. I'm not sure whether it's even possible to do what I'm asking, i.e. set the value to either 0 or whatever :min is set to when someone makes the field empty, so that what the validation receives is a number instead of the empty string ''.
I noticed that if you try to type a string (letter) like "a" into the field it automatically sets the value to whatever :min is, so I was wondering if you could treat the empty string "" the same.

I've actually worked out a fix I can use to avoid the error:
:on-change="function(n) { foo = parseInt(n); $v.foo.$touch() }"
This ensures that the value of foo is an integer before triggering the validation for the field :)


Add ALT Linux Rescue

Thanks for making netboot.xyz!
This commit adds ALT Linux Rescue, a tool which I've used in the past for various maintenance purposes and used again today to get convenient access to ipmitool on a series of diskless machines. This image is larger than I'd like -- about 400 MB -- but it works. I put it in the Utilities menu but there's an argument for the Live menu too.
One snag: I'm unclear on how image signatures are generated. prep-release.sh signs the scripts, but something else signs the images… right?
I ask because this changeset points to an image which is regularly rebuilt and for which signatures will therefore regularly become invalid. There are dated builds available which could be used to get consistent binaries, but this comes at the cost of periodically updating the date and regenerating the signatures. I would be happy to script that but I don't know where or how best to make that happen.

Thanks for the contrib.  I'm using this job to grab the ISOs and generate sigs periodically (https://github.com/antonym/netboot.xyz-sigs/blob/master/generate-utility-sigs.sh) so we'd need to add the url of the release there.
One issue I see is that they seem to clean up older releases quite often which makes it hard to maintain on this side without changing the release date every few weeks.  It might be good to suggest to the project that they throw some of the more tested releases into the archive directory so that we could pull directly from that or at least keep one of the releases.
We could always mirror the release at https://sourceforge.net/projects/netboot-xyz/?source=directory too but I typically prefer to pull from the project directly so I don't have to maintain builds myself (plus sourceforce is super sluggish).

I understand not wanting to mirror stuff. I'll write the ALT Linux folks and see what they can do.
Another thought: have you considered reaching out to ibiblio or kernel.org for netboot.xyz-related hosting? Either might be willing to mirror things more generally, and presumably both would let you manipulate the hosted files using tools that are more automation-friendly (and CI-friendly!) than SourceForge. On the one hand, it sucks to maintain copies of things -- but on the other, netboot.xyz is stuck on every upstream's update treadmill anyway.

I opened ALT Linux issue #33374, explaining the situation and referencing this PR.

Looks good, I'll merge this version and we can start testing it.  I've generated sigs here:
https://github.com/antonym/netboot.xyz-sigs/commit/938728ae36787d57ae2a1000f609807217ec46cd
Ideally we can get away from the ISO and hit the files directly as you mentioned in the issue, it would work much faster and support providers that require serial support as then we can tune the cmdline.
Thanks for your help chasing this down and your contrib!


Updated Convolution/Cross-Correlation

Made some small changes to cross-correlation and convolution as below:

Added in-place versions of xcorr and conv
Added versions that allow external memory to be used for computation result
Added docstrings describing behaviour.

Thanks. Other than the minor points above, it looks good.

All the requested changes have been made.
Apologies for missing the couple of !; that was an oversight on my part. I wasn't aware of the "mutated argument first" convention, so I will make sure to follow it in the future.

Thanks, and sorry for all the nitpicking, I really do appreciate your help!

Nitpicking is fantastic! I am just as nitpicky with my own projects so I understand it perfectly... I'm always in the mood to learn new things in languages (even ones that I have been using for years).
This last change should cover the redundant return statements. I was always explicit with my return statements having cut my teeth on C, but I can appreciate the simplicity of the Julia/Matlab convention.

Ok. This should be all good now. My sincerest apologies for the state of this PR; there's been more issues with this PR than any other PR I've made and I'm sorry you had to be the one to deal with this. Hope it looks good now!

That's fine: these things take time and practice. See my last point, then I think this is good to merge.

Yep; in all these branches and updates, things were starting to get a little crossed. The change has been made!

No problem at all; I love doing this stuff!


_compile_wh adding unnecessary whitespace causing wrong DB queries.

DB queries generated with the method $db->where() that contain the word "and" or "or" are being wrongly parsed in the function _compile_wh. For example this DB query:
$db->select('text');
$db->from('my_table');
$db->where('text', 'black and white or green');
var_dump($db->get()->result_array());
echo $db->last_query();
This will generate:
SELECT text
FROM my_table
WHERE text = 'black and  white or  green'
After the "and" and after the "or" there are now 2 spaces instead of 1.

Temporary fix for this issue is to not escape the where condition:
$text = 'black and white or green';
$db->where('text', '"' . addslashes($text) . '"', FALSE);

Duplicate of #4093.


Enable building rabit on Windows

No test is performed.  Just trying to get rid of the rabit_empty target.

Let’s remove the Rabit Makefile, since XGBoost doesn’t use Makefile.

@hcho3 We have R package ..

Ah so Rabit is not part of the amalgamation and it needs a Makefile. Got it.

It seems autotools is picking mingw over msvc.

Turns out I can remove the makefile.


Update GoogleTest to latest version

Import latest version of GoogleTest from upstream and adjust build accordingly.
Tracking issue: https://github.com/gazebosim/gz-sim/issues/1537
Signed-off-by: Michael Carroll<EMAIL_ADDRESS>

CI is unhappy, flaky ?

Those three aren't marked as required, I'm assuming they have existing problems here.


[Docs] Hide example code by default

Given the number of examples for some components resulting in a large page, (even with some of the code hidden as it currently is), and due to the scrolling behaviour when scrolling past the partially shown code, I think it would look cleaner, and be easier to navigate to the properties if we hide the example code completely by default.
I have made a simple change locally (but not submitted yet) that looks like this:
Hidden (default)

Shown

Let me know what you think.

I had the same feeling. I have reduced the number of displayed lines from 17 to 7. That wasn't deployed, the material-ui website still use 17 lines.
Do you think it's enought?

due to the scrolling behaviour when scrolling past the partially shown code

Well, that's a good point.

Hi Olivier, yes, I had looked at it with the reduction to 7 and it's certainly an improvement, but personally I still think it looks cleaner and is easier to navigate with the code hidden.
Another benefit is comparing different component variations side-by-side.
I know css frameworks often show the markup, but usually it is just a few lines of html / css inline with the docs.

Well, that sounds like a good idea. I'm up for it. Let see what @alitaheri @newoga think.

I was also wondering, we will have more space, should we add a title to each example?

@mbrookes @oliviertassinari Yeah I agree how the examples are currently shown could be improved. Still not completely sure about best approach and haven't tinkered myself but I think @mbrookes suggest is worth a shot.
@mbrookes Could you make a PR so I can check out the branch?

I think it would look cleaner, and be easier to navigate to the properties if we hide the example code completely by default.

Another idea (that maybe could be done in addition) is to put id tags on examples and props and link to them. We could link to the props from the top.

Here you go: https://github.com/mbrookes/material-ui/tree/docs-hide-examples

Mm, yeah I think I like this better :+1:
I think I agree that a title for example could be worth it, might help give each example more context, though I'd be curious to see how it looks and I'm not sure how easy it would be to appropriately naming the examples (naming things is hard).
Adding a new title bar on the top of the example would probably take up too much space. However, the bar that has Show the code could be a good place to put a title, but only if we can have the title stay in that position and not cascade to the bottom of the example, that could be confusing.

For what it's worth, I still think at some point we should look at implementing number 2 of this list.
The API/props docs would be nice to have in its own section.

@newoga  I'd had the same thought about giving the examples some context.
Are you proposing to have the title appear beside the button when collapsed, but above the code when opened?

@mbrookes Yeah that's what I currently have in mind but it's just an idea. I'm not sure if that would work well in reality. Feel free to take a stab if you have some time.

Another idea is to do it similarly to angular material. https://material.angularjs.org/latest/demo/autocomplete
They just put everything, including the code above the rendered example.

Okay, let me have a go at that.

Ok, take a look: https://github.com/mbrookes/material-ui/tree/docs-hide-examples
The first example in AppBar is the only one I've updated to take full advantage of the new layout, but hopefully you can see the potential.
CodeBlock now has a title-bar (which is an AppBar), and takes an optional title and description prop.
title defaults to "Example", and description is blank by default, so docs updates can be incremental while still looking fine.
The description can be markdown, either in a string in SomeComponent/Page.jsx or optionally in its own file, as in the AppBar example - probably only necessary for longer descriptions, but we can agree on the best approach.
The whole title-bar is currently clickable to open the code example, but that can easily be changed, for example if we manage to get CodePen or similar working at some point and want to add another icon to the title-bar. And I'm not set on the icon, it was the first one that seemed remotely relevant, so can be happily changed.
 Nice work! :+1: I'd probably be fine with the code icon I'll check the latest from you branch and try it out in a bit. I
@oliviertassinari @alitaheri Thoughts?

I love it :heart_eyes:.

Found, it thanks - now updated. I'll submit a PR for reviews, as I'm sure there will be other tweaks needed.

I've updated the screenshots.

Wow! nice work @mbrookes It's fantastic :heart_eyes:


remove github.com/everday/mack dependency #12

#12
i remove depedency mack in osascript/mack.go
please check and merge this PR.

Thanks @u5surf, great job!


Faucet Testnet or some doges...

Hi,
I'm desperately looking for "faucet testnet" to get some DOGES for my tests, would you know of one?
Or if someone could send me to the address: 2NEVg7yQyW5n8Q1hBSUK57H6q43LZVqjFiS
Thanks

Sent.

many thanks...:)


How the onCreate property works

hello.
How does onCreate work in react-arborist? How should we call it when we have written a separate component to render the nodes?
I mean, how should we call onCreate from the component that renders the nodes so that it returns the necessary information according to the document? For example you said to use the node.submit() function and it takes you to the onRename function. This is very good. My question is how to do it for onCreate and also onDelete? Maybe I didn't understand the document well, so please guide me. Thanks

I see that this is not documented and it should be. To create a new node programmatically, keep a reference to the tree instance and call tree.createLeaf or tree.createInternal.
Doing this will call the onCreate callback provided to the tree, then it will move that node directly into edit mode.
Check out this code: https://github.com/brimdata/react-arborist/blob/4c3368f297e5f995a98ce31a3c5faf82a02c05ee/packages/react-arborist/src/interfaces/tree-api.ts#L192

Thank you. This solved the problem. Now I have several other questions, please guide me.
1- What should I do to call onDelete from the lower component where the nodes are rendered?
2- Another flaw that I think your document has is that you have not provided examples for the different options of this package, and the codes are also available for convenience. In general, you have shown two functions of this package, but their codes are not available for use. I mean these things
https://react-arborist.netlify.app/
Is it possible to send the codes to me?
3- I want to use multi select features along with select all as well as drag and drop feature for my work, but I really didn't understand how to use them and I didn't understand what they return for me in the output. That's why, according to item 2, I wish you would include the codes of your examples in the document. Please guide me how to use these features. Thanks.

All the code for the examples are available here: https://github.com/brimdata/react-arborist/tree/main/packages/showcase/pages
I hope that helps!


[BUG] Connector dialog requires entering password if a custom authentication type is used

Describe the bug
There is connection-fields.xml (connection dialog v2):
<connection-fields>
    <field name="authentication" label="Authentication" category="authentication" value-type="selection" default-value="auth-user-pass">
        <selection-group>
            <option value="auth-none" label="No authentication"/>
            <option value="auth-user-pass" label="Username and Password"/>
            <option value="AWS_SIGV4" label="AWS_SIGV4"/>
        </selection-group>
    </field>
    <field name="server" label="Server" value-type="string" category="endpoint" default-value="localhost">
    </field>
    <field name="port" label="Port" value-type="string" category="endpoint" default-value="9200">
    </field>
    <field name="username" label="Username" category="authentication" value-type="string">
        <conditions>
            <condition field="authentication" value="auth-user-pass"/>
        </conditions>
    </field>
    <field name="password" label="Password" category="authentication" value-type="string" secure="true">
        <conditions>
            <condition field="authentication" value="auth-user-pass"/>
        </conditions>
    </field>
</connection-fields>

Tableau Desktop requests entering password of AWS_SIGV4 authentication method. Actually, the password field isn't show (that's correct).

I had the same trouble using connection dialog v1. Unfortunately, I didn't keep the screenshot. connection-dialog.tcd was:
<connection-dialog class='XXX'>
  <connection-config>
    <authentication-mode value='ComboBoxIntegrated' />
        <authentication-options>
            <option name="None" value="NONE" default="true" />
            <option name="Integrated" value="AWS_SIGV4" />
            <option name="UsernameAndPassword" value="BASIC" />
        </authentication-options>
    <port-prompt value="Port: " default="9200" />
    <has-databases value="false" />
    <has-schemas value="false" />
  </connection-config>
</connection-dialog>

Desktop (please complete the following information):

OS: Win 10
Tableau Version: 2021.3

About you:
Name: Yury Fridlyand
Company: Bit Quill

 <option value="AWS_SIGV4" label="AWS_SIGV4"/> does not contain a valid value for authentication. The authentication attribute has meaning to the Tableau platform, and it must match one of the valid auth modes that the Tableau platform recognizes. You can see a list of supported authentication modes here: https://tableau.github.io/connector-plugin-sdk/docs/auth-modes
Based on the other information you provided, it seems like you're trying to set up Integrated Auth. For that, the value of authentication should be auth-integrated. (The label would remain AWS_SIGV4, so users would see that on the UI.) There are a few other steps you need to take to enable integrated auth. We have a sample for JDBC Kerberos that has a readme that goes through the steps for enabling integrated auth for an SDK connector: https://github.com/tableau/connector-plugin-sdk/tree/master/samples/scenarios/jdbc_kerberos.
Let me know if you have any questions about the above.

auth-integrated is not listed on the official website.
Thank you for your reply. I will try following your advice.
Could you, please, update the website page and give there a bit more information what is supported and what isn't?

Seems like the list of auth modes in the Connection Dialog V2 page is incomplete. I'll look at linking that instead to the Supported Authentication Mode list that's on the main Authentication Modes doc page, which includes auth-integrated.

Opened a story on our internal backlog to track documentation update: 1347319. Closing this issue, please open a new one if you encounter a problem with integrated authentication.


Documentation is lacking

Bug Report
System Information

Ubuntu 19.04
v<IP_ADDRESS> built 09/08/2019 13:01
Mainline

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms
I am trying to attach an existing ADS minecraft instance to a ADS on another server. Based on what I read in the forums (!) this should be possible. I found there appears to be an attach command for ampinstmgr. This command does not help to attach an instance on another server. This is documented nowhere other than in the forums.
There is many more examples of this.
The only existing documentation is on the git wiki. Especially the ampinstmgr command line page seems usefull but even that lacks basic explanation of options and parameters.
There needs to be better documentation!
Reproduction

Try to find information on running a game on another server: nothing in the documents
Try to find what is meant with e.g. [Module] [Provision Settings] -> Nowhere to be found
ampinstmgr help attach did  provide some information (basically that  I can't use it)

Thank you for posting.  While I agree that this is a problem, it likely could have been communicated better within the community Discord server rather than in a Git issue.  If you have questions, feel free to approach the community there and we are typically able to help.  Discord Invite Link

I think the community support for AMP is really great, but I have a number of things I would like to do:

run AMP on  an azure server (check!) and have it controller other minecraft servers (in different  locations).
For that I would like:
Move one instance management mode from stand alone to target
https access
migrate existing minecraft server to ADS
have one server manage these 4 instances
Can I do this with 1 AMP Professional license (1 controller + 4 * minecraft)?
Understand sleep mode better

And it is great that support can be offered (it really is!!), but would like to be able to not have to ask everything.
I do not mean to bash AMP: I am more than happy to help improve the documentation (e.g.  here on the wiki)
As what I have seen sofar from AMP I really like!

ampinstmgr only affects stuff on the local machine. attach is a linux-only command. you can also run ampinstmgr help for more information on its usage.

We've changed the setup process so it's almost impossible to bypass the options for having controllers/targets in different places.

Please reopen, since the documentation is still lacking several options for ampinstmgr

This will remain closed as ampinstmgr is mostly self-documented.  Simply run ampinstmgr help.

@hydeant this would be an option, IF! the command would document everything. Unfortunately, the attach option is still not shown
`amp@game:~$ ampinstmgr --help
[Info] AMP Instance Manager v<IP_ADDRESS> built 16/10/2019 17:27
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
AMP Instance Manager
Syntax: ampinstmgr [Flags] [Operation] [Arguments] (Optional Arguments)
Available Flags:
--nocache       : When creating/updating instances, do not use an existing cached copy of AMP
--advanced      : Show advanced operations when using the help command
--docker        : When creating/starting instances, start the instance inside a Docker container (requires root or a user with docker access)
-version        : Display the version and exit
Available Operations:
--BrowseInstance [Instance Name]
Browse to an instance
--ChangeInstanceStream [Instance Name] [Release Stream] (Force)
Switch an instance to a different release stream
--CreateInstance, -c [Module] [Instance Name] [IP Binding] [Port Number] [Licence Key] [Admin Username] [Admin Password] [Provision Settings]
Create a new standalone AMP instance
--DeleteInstance, -d [Instance Name] (Skip Verification)
Delete an existing AMP instance
--Help, -? (Command)
Display Help
--LastLog [Instance Name]
View the most recent log file for a given AMP instance
--QuickStart, -quick [Username] [Password] (IP Binding) (Port) (Provision Settings)
Create an ADS instance
--RebindInstance [Instance Name] [IP Binding] [Port Number]
Change the IP/Port binding of an existing AMP instance
--ReconfigureInstance [Instance Name] [Provision Settings]
Reconfigure an AMP instance
--ResetLogin, -e [Instance Name] [Username] [Password]
Reset a standalone instances login details
--RestartAllInstances (Instances) (Delay)
Restart all AMP instances
--RestartInstance, -r [Instance Name]
Restart a running AMP instance. If the instance is already stopped it will be started.
--SetStartBoot, -x [Instance Name]
Toggle boot-time flag
--ShowAllInstancePorts
Show port usage for all instances
--ShowInstanceInfo, -i [Instance Name]
Show the information for a given instance.
--ShowInstancePorts [Instance Name] (Include AMP Port)
Show port usage by a specific instance
--ShowInstancesList, -l
Print the information for current instances as a list.
--ShowInstancesTable, -t
Show a table of current instances.
--ShowModuleList, -m
Display a list of available modules
--StartAllInstances, -a (Instances) (Delay)
Start all AMP instances
--StartBoot, -b (Delay)
Start boot-time AMP instances.
--StartInstance, -s [Instance Name]
Start an existing AMP instance
--StopAllInstances, -o (Instances)
Stop all running AMP instances
--StopInstance, -q [Instance Name]
Stop a running AMP instance
--UpgradeAll, -p (Restart Running Instances) (Mainline Instances Only)
Upgrade all AMP instances
--UpgradeInstance, -u [Instance Name]
Upgrade an existing AMP instance in-place
--Version
Display the version
--View [Instance Name] (Force)
View the console of a running AMP instance`

Did you read the info for View?  I think Attach is just an alias for that.

Read and tried it. Does not attach the instance.
Running ampinstmgr help attach does show the help page for attach.
It still shows a lack of documentation in my opinion
amp@game:~$ ampinstmgr help attach
[Info] AMP Instance Manager v<IP_ADDRESS> built 16/10/2019 17:27
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV

--Attach, -:
Attach an AMP instance

Adds an on-disk AMP instance to the local datastore

Parameters:
 - InstancePath        : String - The directory on disk containing the AMP instance, must contain a copy of AMPConfig.conf
 - LicenceKey          : String - The licence key to use for the instance (moved instances must be reactived) (Optional, default is )
 - KeepExistingID      : Boolean - Whether or not to keep the existing instance ID, True if the instance was moved, False if it was copied (Optional, default is False)

I don't follow, the help shows exactly what it does and how to use it? It doesn't show in the main list unless you specify --advanced as it's not a regularly used command. The original attach command was renamed to view.

Thank you for the clarification. I have overseen the advanced flag.

This will remain closed as ampinstmgr is mostly self-documented. Simply run ampinstmgr help.

Running ampinstmgr help or ampinstmgr --help results in the following output for me.

Try as the AMP user?

Try as the AMP user?

There is no "AMP user" on Windows PC's with AMP installed...

Or whatever user you installed AMP as... Noting that the install instructions say to create a new user to install AMP

Or whatever user you installed AMP as... Noting that the install instructions say to create a new user to install AMP

AMP is installed as a system service; I receive the same result whether I run ampinstmgr help or ampinstmgr --help as the Owner user in an unelevated command prompt, or as Administrator via an elevated command prompt. I enjoy AMP, but there indeed is a lack of polish with things even after a few years of solid development.

Well, no, the ADS instance runs as a system service. But I don't use Windows, so good luck

Try as the AMP user?

There is no "AMP user" on Windows PC's with AMP installed...

Run the installer in repair mode and reboot the system..

Run the installer in repair mode and reboot the system..

Hmm... I would have expected the v<IP_ADDRESS> installer to detect and repair errors when I originally installed it the first time, hence why I didn't think to re-install AMP again using repair mode. No matter though -- looks like running the installer again using REPAIR worked even without needing to reboot.
Thank you @PhonicUK - I will keep this in mind in case a similar situation creeps up during a future update.


Option for disabling colors

Could you provide a setting to disable all colors? Thanks

why would you want that ? We could implement if it makes sense

I think having an option is always a good thing. Besides, I like it being
monochrome since the colors as they are don't necessarily fit with some
color schemes.
It would also be nice if you could provide variants of the default color
scheme that use the palette of some popular color schemes so people can opt
in to use those palettes and fall back to the default/monochrome schemes if
necessary.
On Tue, Feb 1, 2022, 12:13 AM Kiyan @.***> wrote:

why would you want that ? We could implement if it makes sense
—
Reply to this email directly, view it on GitHub
https://github.com/kyazdani42/nvim-web-devicons/issues/109#issuecomment-1026576135,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE2MBBJE7MZPEAA6MFWJNU3UY6I3RANCNFSM5NEQ4DLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

I believe colorscheme developers should take that into account. Given the colors are colors taken from original logos, i believe this is a good default, and if people don't like it somehow, they should just change it, as its configurable.
If you want to add a feature to disable the colors, go for it, but you could do it programmatically and i think it's not something that would be needed by most people, so i'd prefer if it doesn't go in the plugin which should stay as simple as possible.

I believe colorscheme developers should take that into account.

The current implementation makes it difficult. I am trying to implement my own theme at the moment. I am using lush as a framework since it allows you to apply the highlight colors in runtime without reloading the theme. So when I edit DevIcon* highlight groups, I can see that the colors are indeed set. However, everything is gone when I actually try to load the theme.
The problem is that there's an unconditional call to set_up_highlight() that is set as an autocmd on color scheme change that simply overrides everything.
So theming is not really easy.

I'd really appreciate being able to disable all the custom icon colours. It looks pretty bad with my colour scheme (gruvbox, with Vim and my terminal configured with the base16 shell themes).
You asked "why would you want that ?" My simple answer is "I'd prefer it". Stuff like this is subjective.
A longer answer involves explaining that it really doesn't look good to me with gruvbox, and I've no idea how to disable it myself.
I'm sure someone with more experience could write custom code to do it, but I expect it would take me six hours of digging into stuff that I'm not particularly interested in (I don't code Lua, don't write color schemes for Vim, don't really understand how these icon fonts work, etc). So I'd have a lot to learn and wouldn't see enough benefit for the time I'd have to invest.
To give you a bit more context, I'm afraid I just don't understand this paragraph (from the README) at all:

This adds all the highlight groups for the devicons i.e. it calls highlight IconNameDevicon guifg='' ctermfg='<cterm_color>' for all icons this might need to be re-called in a Colorscheme to re-apply cleared highlights if the color scheme changes

What's a highlight group? IconNameDevicon - is that a keyword or a placeholder for a name? Where do guifg and ctermfg come from? There are so many concepts wrapped up in this paragraph that I'm not keen on learning about right now. But if I could just disable coloured icons with a setting, I'd do that and be on my way. I think the README could do with some examples with real values filled in.
I hope this is a useful comment. I'm about to revert the addition of this plugin to my config and delete the nerdfonts from my ~/.fonts folder, but will have another go if the opportunity to set a single colour for all the icons turns up...


Include NFT portfolio value on wallet card

Combine NFT and ERC-20 portfolio data onto one line, labeled "Tokens"

Use NFT collection floor price as basis for NFT portfolio value
Use ERC-20 exchange oracles as basis for token values
Display NFT ranking, supply, floor price, mint price and attributes in modal view

Screenshot
Verified wallets with ERC-20 and NFT Portfolio value data

Attribute data in NFT modal

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun


QuickStart document calls CLI command that is no longer available

https://dolittle.io/getting-started/quickstart/

Build and Run the Template Application
To run the application, we will use the Dolittle CLI tool again. From the TodoTracking folder, run the following command.

dolittle run
No such command, command group or namespace 'run'
┆Issue is synchronized with this Asana task

Thanks for pointing this out, its a feature we forgot to include when we rewrote our CLI code to TypeScript.
Basically what the run command effectively did was to automatically call the dotnet watch run command on the Core project and then run yarn start from the Web folder.
In addition it also started a Mongo database using Docker. So if you do that in advance:
$ docker run -p 27017:27017 mongo

There is a run.js file in the boilerplate that gets you going. It uses ASP.NET Core as the static web server as well and will make WebPack output its things into the wwwroot in the Core project.
If you want to run the Coreproject as one process and the Web as one, I see that there are some things missing from the boilerplate for it to effectively work with running two processes - to avoid CORS issues. I've registered an issue for us to fix that in the boilerplate:
https://github.com/dolittle-boilerplates/Interaction.Web.JS.Aurelia/issues/14
We have encountered the last week a breaking change related to Bluebird and promises for the Web part using Aurelia, we have a thread going over here:
https://community.dolittle.com/t/aurelia-frontend-module-not-found-error-cant-resolve-async-hooks-in-bluebirdjs/37
There are new debugging / Swagger extensions we've built for ASP.NET Core as well that will help you work with Commands and Events, you can read more about that here.


[KYUUBI #6523] Support configuration with --conf options

:mag: Description
Issue References 🔗
This pull request fixes https://github.com/apache/kyuubi/issues/6523
Describe Your Solution 🔧
KyuubiServer respects configuration properties provided as --conf cli options with highest priority.
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Behavior Without This Pull Request :coffin:
REST endpoint starts at 10099 port:
bin/kyuubi run --conf kyuubi.frontend.rest.bind.port=9999
...
2024-07-10 17:57:24.998 INFO main org.apache.kyuubi.server.KyuubiRestFrontendService: Service[KyuubiRestFrontendService] is started.
2024-07-10 17:57:24.999 INFO main org.apache.kyuubi.server.KyuubiRestFrontendService: Exposing REST endpoint at: http://<IP_ADDRESS>:10099
2024-07-10 17:57:24.999 INFO main org.apache.kyuubi.server.KyuubiServer: Service[KyuubiServer] is started.

Behavior With This Pull Request :tada:
REST endpoint starts at 9999 port:
bin/kyuubi run --conf kyuubi.frontend.rest.bind.port=9999
...
2024-07-10 17:49:41.659 INFO main org.apache.kyuubi.server.KyuubiRestFrontendService: Service[KyuubiRestFrontendService] is started.
2024-07-10 17:49:41.660 INFO main org.apache.kyuubi.server.KyuubiRestFrontendService: Exposing REST endpoint at: http://<IP_ADDRESS>:9999
2024-07-10 17:49:41.660 INFO main org.apache.kyuubi.server.KyuubiServer: Service[KyuubiServer] is started.

Related Unit Tests
kyuubi-common/src/test/scala/org/apache/kyuubi/config/KyuubiConfSuite.scala

Checklist 📝

[ ] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

I'm not familiar with the source code well enough yet, so any feedback, suggestions or even an alternative PR are highly appreciated.

Codecov Report
Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (53b3911) to head (4977af1).

Files
Patch %
Lines

.../scala/org/apache/kyuubi/server/KyuubiServer.scala
0.00%
10 Missing :warning:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
0.00%
2 Missing :warning:

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6530   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files         677     677
  Lines       41787   41792    +5
  Branches     5707    5707
======================================
- Misses      41787   41792    +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

the rest change lgtm, thanks for working on it.

also cc @cxzl25 @cfmcgrady @hddong

Thanks, merged to master


FINERACT-1052 Overpayment global config

Description
Describe the changes made and why they were made. Ignore if these details are present on the associated Jira ticket
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Commit message starts with the issue number from https://issues.apache.org/jira/projects/FINERACT/. Ex: FINERACT-646 Pockets API.

[ ] Coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions have been followed.

[ ] API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm has been updated with details of any API changes.

[ ] Integration tests have been created/updated for verifying the changes made.

[ ] All Integrations tests are passing with the new commits.

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the list.)

Our guidelines for code reviews is at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide

You dont need to keep opening and closing many PRs for one single change. You can alwasy correct a mistake by making another commit on top of the previous one and move ahead to pushing on GIthub and this branch and PR will be updated automatically. There are good short training courses on lab.github.com like this: https://lab.github.com/githubtraining/first-day-on-github and you can search for others to build up.
Keep making progress and by the time you have made a few PRs, you will be comfortable with the general workflow of Fineract, git and github too.

Thanks @awasum ,
I will look into the training

==> #1186