#49: Fixed some JavaDocs

@rultor merge

@rultor merge

@gilraenburland OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@gilraenburland Oops, I failed. You can see the full log here (spent 1min)
[INFO] Generating routine       : DivideBlock.java
[INFO] Generating routine       : MergeEmptyBlocks.java
[INFO] Routines generated       : Total: 1.847s, +49.156ms
[INFO] GENERATION FINISHED!     : Total: 1.847s, +0.047ms
Aug 10, 2015 7:40:36 PM org.hsqldb.persist.Logger logInfoEvent
INFO: Database closed
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (jcabi-build-number) @ server ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create-timestamp (jcabi-build-number) @ server ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 242 source files to /home/r/repo/server/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/r/repo/server/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 16 source files to /home/r/repo/server/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/r/repo/server/src/test/java/de/sl/roster/server/db/DatabaseMigrationLiquibaseTest.java:[28,28] unreported exception java.lang.Exception; must be caught or declared to be thrown
[ERROR] /home/r/repo/server/src/test/java/de/sl/roster/server/db/DatabaseMigrationLiquibaseTest.java:[34,28] unreported exception java.lang.Exception; must be caught or declared to be thrown
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Roster - Parent .................................... SUCCESS [  6.857 s]
[INFO] Roster - Build-Tools ............................... SUCCESS [  8.127 s]
[INFO] Roster - Server .................................... FAILURE [ 20.401 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.838 s
[INFO] Finished at: 2015-08-10T19:40:43+00:00
[INFO] Final Memory: 45M/1267M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project server: Compilation failure: Compilation failure:
[ERROR] /home/r/repo/server/src/test/java/de/sl/roster/server/db/DatabaseMigrationLiquibaseTest.java:[28,28] unreported exception java.lang.Exception; must be caught or declared to be thrown
[ERROR] /home/r/repo/server/src/test/java/de/sl/roster/server/db/DatabaseMigrationLiquibaseTest.java:[34,28] unreported exception java.lang.Exception; must be caught or declared to be thrown
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :server

@rultor merge again

@rultor merge again

@gilraenburland OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge again

@gilraenburland Oops, I failed. You can see the full log here (spent 1min)
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.038 sec <<< FAILURE! - in de.sl.roster.server.db.DatabaseMigrationLiquibaseTest
liquibaseThrowsSQLExceptionIfDataSourceIsNotAvailable(de.sl.roster.server.db.DatabaseMigrationLiquibaseTest)  Time elapsed: 0.951 sec  <<< ERROR!
java.lang.Exception: Unexpected exception, expected<liquibase.exception.LiquibaseException> but was<java.sql.SQLException>
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLException: Pool has been shutdown
	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:89)
	at de.sl.roster.server.db.StoppableDataSource$Hikari.getConnection(StoppableDataSource.java:46)
	at de.sl.roster.server.db.DatabaseMigration$Liquibase.update(DatabaseMigration.java:41)
	at de.sl.roster.server.db.DatabaseMigrationLiquibaseTest.liquibaseThrowsSQLExceptionIfDataSourceIsNotAvailable(DatabaseMigrationLiquibaseTest.java:34)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:497)
	... 6 more

Results :

Tests in error:
  DatabaseMigrationLiquibaseTest.liquibaseThrowsSQLExceptionIfDataSourceIsNotAvailable »

Tests run: 33, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Roster - Parent .................................... SUCCESS [  8.775 s]
[INFO] Roster - Build-Tools ............................... SUCCESS [ 10.485 s]
[INFO] Roster - Server .................................... FAILURE [ 24.848 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.870 s
[INFO] Finished at: 2015-08-10T19:44:20+00:00
[INFO] Final Memory: 40M/633M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project server: There are test failures.
[ERROR]
[ERROR] Please refer to /home/r/repo/server/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :server

@rultor merge

@rultor merge

@gilraenburland OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@gilraenburland Oops, I failed. You can see the full log here (spent 2min)
+ args=' --ff'
+ '[' default == no ']'
+ '[' default == only ']'
+ export BRANCH=__rultor
+ BRANCH=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ git checkout fork/issue/#49
Note: checking out 'fork/issue/#49'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at b312d8f... #49: Fixed some JavaDocs
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ git checkout master
Switched to branch 'master'
+ '[' false == true ']'
+ '[' false == true ']'
+ git merge --ff __rultor
Updating 38be4b7..b312d8f
Fast-forward
 server/src/main/java/de/sl/roster/server/AppProperties.java |  2 +-
 server/src/main/java/de/sl/roster/server/TkRoot.java        |  2 +-
 .../main/java/de/sl/roster/server/db/DatabaseMigration.java | 12 ++++--------
 .../src/main/java/de/sl/roster/server/db/DbProperties.java  |  1 -
 .../java/de/sl/roster/server/error/PrintableStackTrace.java |  2 +-
 server/src/main/java/de/sl/roster/server/error/RsError.java |  2 +-
 .../src/main/java/de/sl/roster/server/index/IndexPage.java  |  2 +-
 .../java/de/sl/roster/server/services/TkGETServices.java    |  4 ++--
 .../java/de/sl/roster/server/services/TkPOSTServices.java   |  3 ++-
 .../sl/roster/server/db/DatabaseMigrationLiquibaseTest.java | 13 +++++++++----
 10 files changed, 22 insertions(+), 21 deletions(-)
+ docker_when_possible
+ true
++ sed 's/ /\n/g'
++ tail -n 1
++ uptime
+ load=3.49
++ bc
++ echo 3.49 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 3.49, low enough to run a new Docker container'
load average is 3.49, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=maven:3.3.3-jdk-8
+ docker pull maven:3.3.3-jdk-8
Trying to pull repository docker.io/maven ... failed
time="2015-08-10T20:07:45Z" level="fatal" msg="Get https://registry-1.docker.io/v1/repositories/library/maven/tags: read tcp <IP_ADDRESS>:443: i/o timeout"

@rultor merge

@rultor merge

@gilraenburland OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@gilraenburland Done! FYI, the full log is here (took me 2min)


Checking and save mode

Hi, overcast07
I borrowed a part of your code and combined it with lynx to make a script. The function of this script is to collect all the URLs in the website in a loop and query Wayback Machine's API. Only when Wayback Machine does not backup this link, the script will submit a request to Wayback Machine for backup. This makes my backup much faster, and maybe this particular mode can be added to your scripts ~
#!/usr/bin/bash
#spider the website using lynx to get sitemap and cache it using waybackmachine

auth=''
custom_dir=''
pattern=''
exclude_pattern=''

while getopts 'a:f:o:' flag; do
	case "${flag}" in
		a)	auth="$OPTARG" ;;
		f)	custom_dir="$OPTARG" ;;
		o)	pattern=$OPTARG ;;
		*)	echo "Usage: $0 [-a auth] [-f file] [-o pattern] [-x exclude_pattern] URL"
			exit 1 ;;
	esac
done
shift "$((OPTIND-1))"

if [[ -n "$custom_dir" ]]; then
	dir="$custom_dir"
	if [[ ! -d "$dir" ]]; then
		mkdir "$dir" || { echo "The folder $dir could not be created"; exit 1; }
		echo "Created data folder $dir"
	else
		echo "Using the existing data folder $dir"
	fi
	cd "$dir"
fi

# get links from input parameter
echo $1 > link.txt

:> cached_urls.txt
:> history.txt

if [[ -f daily_limit.txt ]]; then
    rm daily_limit.txt
elif [[ -f lock.txt ]]; then
    rm lock.txt
fi

export wait_time=1

# recursively crawl the website
while read line
do
    if [[ -f daily_limit.txt ]];
    then
        echo "daily limit reached"
        sleep 3600
    fi
    url_list=$(lynx -accept_all_cookies -dump -listonly -nonumbers $line | grep -E '^https?://.*' | grep -v -E '(#|error|\"|\.jpg|\.png|\.gif|comment|feed|\?share\=|[Ff]acebook|twitter|[Gg]oogle|public-api)|(^https://wordpress\.com)' | sort | uniq)
    echo "$line Crawled"
    for url in $url_list
    do
        if ! grep -q $url history.txt; then
            if ! [[ "$url" =~ $pattern ]]; then
                continue
            fi
            echo $url >> history.txt
            echo $url >> link.txt
            # use the wayback machine API to check if the urls has been cached
            line_encoded=$(python3 -c "import urllib.parse, sys; print(urllib.parse.quote(sys.argv[1]))" "$url")
            if ! curl -s "http://archive.org/wayback/available?url=$line_encoded" | grep -q "available"; then
                echo "$url not cached by Internet Archive yet, will be cached by us"
                while :; do
                    request=$(curl -s -m 60 -X POST --data-urlencode "url=$url" -H "Accept: application/json" -H "Authorization: LOW ${auth}" "https://web.archive.org/save/")
                    message=$(echo "$request" | grep -E -A 1 "<h2>" | tail -1 | sed -Ee 's|</?p>||g')
                    if [[ -z "$message" ]]; then
                        if [[ "$request" =~ "429 Too Many Requests" ]] || [[ "$request" == "" ]]; then
                            echo "$request"
                            if [[ ! -f lock$f.txt ]]; then
                                touch lock.txt
                                sleep 20
                                rm lock.txt
                            fi
                        elif [[ "$request" =~ "400 Bad Request" ]]; then
					        echo "$request"
                            echo "$(date -u '+%Y-%m-%d %H:%M:%S') [Job failed] $url"
                            echo "$(date -u '+%Y-%m-%d %H:%M:%S') $url" >> invalid.log
                            echo "$request" >> invalid.log
                        else
                            sleep 2
                            break
                        fi
                    else
                        echo "$message"
                        if ! [[ "$message" =~ "You have already reached the limit of active sessions" || "$message" =~ "Cannot start capture" || "$message" =~ "Crawling this host is paused" ]]; then
                            if [[ "$message" =~ "You cannot make more than "[1-9][0-9,]*" captures per day" ]]; then
                                touch daily_limit.txt
                                break
                            else
                                echo "$(date -u '+%Y-%m-%d %H:%M:%S') [Job failed] $url"
                                echo "$(date -u '+%Y-%m-%d %H:%M:%S') $url" >> invalid.log
                                echo "$message" >> invalid.log
                                break
                            fi
                        fi
                        if [[ ! -f lock.txt ]]; then
                            touch lock.txt
                            while [[ -f lock.txt ]]; do
                                # Retry the request until either the job is submitted or a different error is received
                                sleep 2
                                request=$(curl -s -m 60 -X POST --data-urlencode "url=$url" -H "Accept: application/json" -H "Authorization: LOW ${auth}" "https://web.archive.org/save/")
                                echo "$(date -u '+%Y-%m-%d %H:%M:%S') [Request failed] $url"
                                message=$(echo "$request" | grep -E -A 1 "<h2>" | tail -1 | sed -Ee 's|</?p>||g')
                                if [[ -z "$message" ]]; then
                                    if [[ "$request" =~ "429 Too Many Requests" ]] || [[ "$request" == "" ]]; then
                                        echo "$request"
                                        sleep 20
                                    else
                                        sleep 5
                                        rm lock.txt
                                        break
                                    fi
                                else
                                    echo "$message"
                                    if [[ "$message" =~ "You have already reached the limit of active sessions" || "$message" =~ "Cannot start capture" || "$message" =~ "Crawling this host is paused" ]]; then
                                        :
                                    elif [[ "$message" =~ "You cannot make more than "[1-9][0-9,]*" captures per day" ]]; then
                                        rm lock.txt
                                        touch daily_limit.txt
                                        break
                                    else
                                        rm lock.txt
                                        echo "$(date -u '+%Y-%m-%d %H:%M:%S') [Job failed] $url"
                                        echo "$(date -u '+%Y-%m-%d %H:%M:%S') $url" >> invalid.log
                                        echo "$message" >> invalid.log
                                        break
                                    fi
                                fi
                            done
                            break
                        fi
                    fi
                done
                echo "$url  $message" >> cached_urls.txt
            fi
            sleep 0.5
        fi
    done
    # sleep to avoid being banned
    if [ "$before" != "$line" ]; then
        sleep 3
    else
        sleep $wait_time
        wait_time=$(echo "$(($wait_time*2))")
        echo "wait for $wait_time"
    fi
    cnt=$(echo "$(($cnt+1))")
    before=$line
done < link.txt

sort history.txt | uniq > temp.txt
mv temp.txt history.txt

I may consider adding an option not to capture URLs that have already been captured before, but I probably wouldn't include any behavior that's dependent on Lynx since it's not available by default in the macOS command line. In the meantime you could filter the list for URLs before running spn.sh, which might be faster anyway since you could usually get results for a whole domain with the CDX API.


Mapping Annotations to Bounding Boxes

Thanks for your great work, I am particularly grateful that you have actually open sourced your OCR results and annotations of RVL-CDIP (something that is missing from the literature for such an opaque dataset!).
Is it possible to map from your annotations to the original OCR tokens? It seems to me that it is lossy and fuzzy process to match your annotations to the original dataset.
Please let me know if there is a way.

The significance of this work is due to the fact that we do not need such mapping to learn the model. So we do not have the annotation mapping.


azblob constructors should return clients by reference

That is to say, they should return a pointer to a client instance. They currently return an instance by value. For example:
https://github.com/Azure/azure-sdk-for-go/blob/63f64be5fb3cd021b6064e8b0f20eb7746b53017/sdk/storage/azblob/zc_blob_client.go#L22

Hey @chlowell ,
azblob v0.4.0 is now publically available. I have made the necessary changes.
Thanks a lot for your feedbacks!


Make docLinks only visible for logged users

A few days ago we created docLinks to internal documentation in Drive. I'm receiving a ton of requests from outsiders to these links.
Would it be possible to show them just for logged users as they point to internal documentation?

@plhnk can you send me an example so I can do it? please :)

Hahaha hm... this is a little tough. Currently we only have PrivatePage — but I feel like it wouldn't be too difficult to make something like PrivateComponent using similar logic?
I've had similar thoughts recently about opening up the blueprints site, but restricting only the content, not the navigation.
Thinking aloud — PrivateComponent would show data if user is logged in, otherwise would display a 🔒...hovering (or clicking) would display a tooltip that says something like "for Liferay employees only, log in to view this content".
Thoughts? Other ideas?

I was just planning on a show/hide content based on user status.
In our case, that barrier is set by Google Drive. It will request you to log with a user account. But any of us who created a document will be receiving emails requesting to check internal documentation.
I find your solution good as it will show the path to employees :)

Can we consider this done @plhnk ?

@victorvalle — sorry I never logged my thoughts, I want to add a tooltip to the component that will make it easier for people to understand what the lock means and what action to take next — this requires:

[ ] refactoring the AuthContainer and LogoutContainer — abstracting the styling out
[ ] refactoring the places where the above are used — PrivatePage and in the Nav
[ ] creating the ToolTip style in theme-ui/components
[ ] implementing the tooltip in the page

So — thats why I haven't closed it yet, a bit of yak-shaving to be done yet!


Added Jan/11/2018 event in MKE, WI

Milwaukee bitcoin transaction ends in gunshot and a felony charge

Thanks!


ntr: increased total protein ubiquitination

descendant of
FYPO:0002082	increased protein ubiquitination
def
A cellular process phenotype observed in the vegetative growth phase of the life cycle in which the occurrence of ubiquitination  is increased.
I don't know if we do it this way. They just looked at ubiqutinated protein generally?

just reilised I should have used
increased level of ubiquitinated protein in cell during vegetative growth
so as a child of this

Just use FYPO:0002082 increased protein ubiquitination  and don't specify a substrate

I would use 'increased level of ubiquitinated protein in cell during vegetative growth' (FYPO:0002774) if they only measured the amount of Ub'd protein.

actually it seems that its normal so
ntr normal level of ubiquitinated protein in cell during vegetative growth

and
decreased level of ubiquitinated protein in cell during vegetative growth

decreased level of ubiquitinated protein in cell FYPO:0005226
normal level of ubiquitinated protein in cell FYPO:0005227

edit file: 17834391eeacebf18b869e1bf7e18376215ff0fd
release: 8d709f8812432f5eb16aabe63422f573b6366b8a


Report all validation errors rather than the first one encountered

This was asked before but the respondent misunderstood the issue and closed it without proper resolution.
Suppose I have something like this:
#!/usr/bin/env python3

import click

@click.command()
@click.option(
    "--colour-of-bike-shed",
    required=True,
    help="What colour we should paint the bike shed",
)
@click.option(
    "--how-to-stop-teenagers-smoking",
    required=True,
    help="Teenagers smoke behind bike sheds. How should we stop them?"
)
@click.option(
    "--get-everyone-to-sign-off",
    required=True,
    help="Everyone has an opinion about this, so make them all agree"
)

def do_stuff(**options) -> None:
    print("Fine, we'll build a bike shed")

if __name__ == "__main__":
    do_stuff()

If I just run the command as-is, I get told off about only one of the options. As I fill each option in, I get told that psych! there were other missing options that I wasn't told about.

% python3 build_bike_shed.py

Usage: build_bike_shed.py [OPTIONS]
Try 'build_bike_shed.py --help' for help.

Error: Missing option '--colour-of-bike-shed'.

% python3 build_bike_shed.py --colour-of-bike-shed Green

Usage: build_bike_shed.py [OPTIONS]
Try 'build_bike_shed.py --help' for help.

Error: Missing option '--how-to-stop-teenagers-smoking'.

% python3 build_bike_shed.py --colour-of-bike-shed Green --how-to-stop-teenagers-smoking "Photo ID"

Usage: build_bike_shed.py [OPTIONS]
Try 'build_bike_shed.py --help' for help.

Error: Missing option '--get-everyone-to-sign-off'.

% python3 build_bike_shed.py --colour-of-bike-shed Green --how-to-stop-teenagers-smoking "Photo ID" --get-everyone-to-sign-off "Dave, Brenda and Max all agree now"

Fine, we'll build a bike shed

I don't know the source code, but judging by the documentation about callbacks and eager options I suspect that under the hood click divides options into eager and non-eager, then processes each of them in the order they were supplied, exiting as soon as there's an exception.
That's a quick and easy way to do things, but it has the cost of annoying "computer says no" unfriendly errors like this.
Rather than a sequential, depth-first approach where we exhaustively check an option for validity and then move on, it would be really useful to take a breadth-first approach where we:

check whether all required parameters were indeed provided
check all parameters' values types
only then validate each value, call callbacks etc.

There's no way to do this in general, since Click is completely dynamic. Any callback could depend on the results of others, or an option may not even exist if another was not valid first.

OK, I appreciate that once you have callbacks it's anybody's guess what's going to happen to your options; but what if you don't? Surely for simple cases this would still be useful?

But that's not how the processing pipeline works, it goes incrementally. It can't know in general what's required until it gets to it and checks. There's no way for it to "cheat".

OK, but what I'm suggesting is that the pipeline shouldn't stop at the first error. When checking options for (a) requiredness and (b) type, if it finds an error, it should carry on checking other options, and bundle up all (a) "I was expecting an option but you didn't provide it" and (b) "you provided an option but the value you supplied failed its type check" errors together.
If it doesn't find any further errors, absolutely it should stop there: not bother type-checking if there were any missing options, for instance. And if there's any sign of callbacks or otherwise monkeying around with the guts of the option definitions it should by default not bother with any of this stuff.
But fundamentally, if there's nothing hugely complicated going on, and there are a bunch of options that are required and you didn't specify any of them, the error message you get should be "oh hey, there's a bunch of options you didn't specify" rather than "you didn't specify this one option" followed by "you didn't specify this other option either lol" when you provide that option on your next try.
Because that's just annoying.


[FEATURE] File Type menu to Command Palette?

Doesn't come up anywhere there, only menu. That'd be nice, once you boot it up, ctrl + t/n and then set the file type without using mouse but that's just secondary less important qol so just to add my thought I asked.

It's a reasonable request. We already have some shortcuts for changing the build type and build ("sb " and "sbt "), so I could add "ft " for file type.

Implemented here.


Reorders result from gRPC to fulfill rule of Dataloader

gRPC calls will return out-of-order URL fetch results. This PR reorders the result from gRPC call using original URL order.
We first modify the unit test to create a failing test case:

We can see that in the snapshot, fetch result of http://example.com/not-found was added to the entry for http://example.com/index.html, which reproduces the bug in #139.
After the implementation:

This fixes #139.

Coverage increased (+0.09%) to 91.35% when pulling 11df50440a5347875a4eb9fffd3281bcebd84693 on reorder-resolvedUrls into f0433ea67244d737cd4cc88f4643fdfcaf8d6789 on master.

Staging 無法有效測試，因為一直噴這個：
url-resolver_1_d44e6628b5aa | Encountered error while handling an uncaught exception.
url-resolver_1_d44e6628b5aa | Error: ignored identical item
url-resolver_1_d44e6628b5aa |     at Rollbar._log (/srv/www/node_modules/rollbar/src/rollbar.js:106:19)
url-resolver_1_d44e6628b5aa |     at Rollbar.error (/srv/www/node_modules/rollbar/src/rollbar.js:73:8)
url-resolver_1_d44e6628b5aa |     at Rollbar._uncaughtError (/srv/www/node_modules/rollbar/src/server/rollbar.js:207:15)
url-resolver_1_d44e6628b5aa |     at Rollbar.<anonymous> (/srv/www/node_modules/rollbar/src/server/rollbar.js:490:10)
url-resolver_1_d44e6628b5aa |     at process.fn (/srv/www/node_modules/rollbar/src/server/rollbar.js:503:5)
url-resolver_1_d44e6628b5aa |     at process.emit (events.js:223:5)
url-resolver_1_d44e6628b5aa |     at processPromiseRejections (internal/process/promises.js:201:33)
url-resolver_1_d44e6628b5aa |     at processTicksAndRejections (internal/process/task_queues.js:95:32) {
url-resolver_1_d44e6628b5aa |   item: {
url-resolver_1_d44e6628b5aa |     message: undefined,
url-resolver_1_d44e6628b5aa |     err: Error: Page crashed!
url-resolver_1_d44e6628b5aa |         at Page._onTargetCrashed (/srv/www/node_modules/puppeteer/lib/Page.js:211:24)
url-resolver_1_d44e6628b5aa |         at CDPSession.<anonymous> (/srv/www/node_modules/puppeteer/lib/Page.js:122:56)
url-resolver_1_d44e6628b5aa |         at CDPSession.emit (events.js:223:5)
url-resolver_1_d44e6628b5aa |         at CDPSession._onMessage (/srv/www/node_modules/puppeteer/lib/Connection.js:200:12)
url-resolver_1_d44e6628b5aa |         at Connection._onMessage (/srv/www/node_modules/puppeteer/lib/Connection.js:112:17)
url-resolver_1_d44e6628b5aa |         at WebSocket.<anonymous> (/srv/www/node_modules/puppeteer/lib/WebSocketTransport.js:44:24)
url-resolver_1_d44e6628b5aa |         at WebSocket.onMessage (/srv/www/node_modules/ws/lib/event-target.js:120:16)
url-resolver_1_d44e6628b5aa |         at WebSocket.emit (events.js:223:5)
url-resolver_1_d44e6628b5aa |         at Receiver.receiverOnMessage (/srv/www/node_modules/ws/lib/websocket.js:789:20)
url-resolver_1_d44e6628b5aa |         at Receiver.emit (events.js:223:5),
url-resolver_1_d44e6628b5aa |     custom: undefined,
url-resolver_1_d44e6628b5aa |     timestamp:<PHONE_NUMBER>471,
url-resolver_1_d44e6628b5aa |     uuid: '94323f18-a244-4029-dcb2-64eddd6a5cb6',
url-resolver_1_d44e6628b5aa |     _originalArgs: [Arguments] {
url-resolver_1_d44e6628b5aa |       '0': Error: Page crashed!
url-resolver_1_d44e6628b5aa |           at Page._onTargetCrashed (/srv/www/node_modules/puppeteer/lib/Page.js:211:24)
url-resolver_1_d44e6628b5aa |           at CDPSession.<anonymous> (/srv/www/node_modules/puppeteer/lib/Page.js:122:56)
url-resolver_1_d44e6628b5aa |           at CDPSession.emit (events.js:223:5)
url-resolver_1_d44e6628b5aa |           at CDPSession._onMessage (/srv/www/node_modules/puppeteer/lib/Connection.js:200:12)
url-resolver_1_d44e6628b5aa |           at Connection._onMessage (/srv/www/node_modules/puppeteer/lib/Connection.js:112:17)
url-resolver_1_d44e6628b5aa |           at WebSocket.<anonymous> (/srv/www/node_modules/puppeteer/lib/WebSocketTransport.js:44:24)
url-resolver_1_d44e6628b5aa |           at WebSocket.onMessage (/srv/www/node_modules/ws/lib/event-target.js:120:16)
url-resolver_1_d44e6628b5aa |           at WebSocket.emit (events.js:223:5)
url-resolver_1_d44e6628b5aa |           at Receiver.receiverOnMessage (/srv/www/node_modules/ws/lib/websocket.js:789:20)
url-resolver_1_d44e6628b5aa |           at Receiver.emit (events.js:223:5),
url-resolver_1_d44e6628b5aa |       '1': [Function]
url-resolver_1_d44e6628b5aa |     },
url-resolver_1_d44e6628b5aa |     _isUncaught: true
url-resolver_1_d44e6628b5aa |   }
url-resolver_1_d44e6628b5aa | }

超怪的 url-resolver 應該什麼都有 catch⋯⋯

Looks like a problem in rollbar rather than the resolver?

Not sure, I think it means that there is still uncaught exceptions when I manipulate puppeteer, which happens quite often. Rollbar are just reflecting these uncaught exceptions.
References:

https://github.com/puppeteer/puppeteer/issues/3709
https://github.com/puppeteer/puppeteer/issues/1454
https://github.com/puppeteer/puppeteer/issues/1862

Anyway they are beyond the scope of this PR. Currently on staging, adding multiple URLs as reference when submitting replies will not get their fetch results mangled, as long as the browser don't crash. I'd say it's fixed on staging

Deployed to production first, trying to stop new fetch results from getting wrong


Add CLI option to set class weights

Thanks! Let's write some documentation on this as well. It is crucial for good results, isn't it?


Accessor for pd.DataFrame

Could be interesting to implement detectors etc as methods on DataFrames, eg
df = pd.read_csv('my_data.csv')

df.rf.find_outliers()

How-to: https://pandas.pydata.org/docs/development/extending.html
Could do the same for xarrays I guess, but DataFrames are key.

API like:
df.redflag.cool_method(X=None, y=None, **kwargs)

E.g.
features = ['GR', 'RHOB', 'PE']  # Columns in df.
df.redflag.cool_method(X=features, y='Lithology')  # y can also be a list.

Then...

If X and y are None, treat the whole df as X
If only X is None, use y and treat the remaining columns as X
If only y is None, use X and ignore y


⚠ Adacta-fintech.com has degraded performance

In c25673c, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1996 ms

Resolved: Adacta-fintech.com performance has improved in 32289ae after 7 minutes.


Wrong result set for select between and when using encrypt data source

Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:

Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Expected behavior
get correct result set for select between and when using encrypt data source
Actual behavior
get wrong result set for select between and when using encrypt data source
Reason analyze (If you can)
Actually, when data is encrypted and stored in db, user can not use select encrypted column between value1 an value2 to get correct result set. The reason is that encrypted data in db is different from the original data.
Therefore when ss finds this scenario, it will throw exception.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).

fix it


Fix Docker EE Windows links

Fixes #3786
I also added a redirect, though none of our links should refer to the bad location anymore.

@mstanleyjones LGTM but do you not want to link directly to the .md files?

@londoncalling I think i am .... you can't use the .md extension in the redirect_from statement though.


Vuex this.$store not typed, after adding shim.

Hi, great plugin, thanks for the effort.
Current Behavior
I tried to type 'this.$store' with this tutorial
Included the shim in both the nx project folder and apps/vue project folder.
this.$store is still <any>
Expected Behavior
a typed this.$store in vue methods
I succesfully managed to type useStore.
Steps to Reproduce
Create NX repo with @nx-plus/vue
Add vue store
Add store and typed shim ( add vuex.d.ts ) to the project folder like this: typing store prop in vue
Restart Vite
this.$state is still any
Environment
Plugin name and version:     "@nx-plus/vue": "^11.0.1",
Node : 12.22.1
OS   : darwin x64
yarn : 1.22.5
nx : Not Found
@nrwl/angular : Not Found
@nrwl/cli : 11.2.10
@nrwl/cypress : 11.2.10
@nrwl/devkit : 11.2.10
@nrwl/eslint-plugin-nx : 11.2.10
@nrwl/express : Not Found
@nrwl/jest : 11.2.10
@nrwl/linter : 11.2.10
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : 11.2.10
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 11.2.10
@nrwl/web : 11.2.10
@nrwl/workspace : 11.2.10
typescript : 4.0.3

I was able to get the typings to work by configuring Vetur to work in a monorepo and adding "strict": true to the compilerOptions of an app's tsconfig.app.json. For example, given an app called my-app:
// vetur.config.js
module.exports = {
  settings: {
    "vetur.useWorkspaceDependencies": true,
    "vetur.experimental.templateInterpolationService": true
  },
  projects: [
    {
      root: './apps/my-app',
      tsconfig: './tsconfig.app.json',
    }
  ]
}

// apps/my-app/tsconfig.app.json
{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "outDir": "../../dist/out-tsc",
    "types": ["webpack-env", "node"],
    "strict": true,
  },
  "exclude": ["**/*.spec.ts", "**/*.spec.tsx"],
  "include": ["**/*.ts", "**/*.tsx", "**/*.vue"]
}

I was able to get the proper typings after adding the vuex.d.ts

I had to reload VS Code when making these changes (restart TS Server + Vetur) for them to take affect.

Glad there is some kind of solution.
Wonder why strict mode is necessary, the whole project ( including a bunch of webcomponents imported in vue ) is now strict checked and it's not nice. Too many errors to fix :(
Do you know if this lies within vue integrated in a monorepo, or is it just vue who wants everything scrictly typed?

@ZachJW34 with #188 merged it seems adding or updating vetur.config.js with the app and library schematics, and adding vuex.d.ts with the vuex schematic would be all that's needed to provide Vuex type support out of the box. Is that correct?
@herrKlein  would you like to contribute these changes?

Hi @BuckyMaler
Do I understand vetur.config.js is updated with the strict property default to true? What changes can I contribute further?
Personally, strict mode is not working for me, it opposes also strict mode on everything I import in Vue ( like webcomponents ) and I am still wondering if Vue with typescript is usable without strict mode in NX. Maybe I am too inexperienced to understand your question :)

@BuckyMaler Yes that would be all that is needed to provide type support for Vuex.


Add Permalinks For Tabs (Facets, History, Read, Write, Edit)

Add permalinks to different parts of the UI for easier sharing.
E.g. https://louper.dev/diamond/0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE?network=mainnet#edit

Done

#2955bec

https://github.com/mark3labs/louper-v3/commit/2955becc930abafaf8872b9de57853a0f480c599


SASS-1592 Create Income Tax employment benefits amount EOY page

Description
Created Income Tax employment benefits amount EOY page.
Add a link to the relevant story in Jira
SASS-1592
Checklist PR Reviewer
Before Reviewing

[x]  Have you pulled the branch down?
[x]  Have you assigned yourself to the PR?
[x]  Have you moved the task to “in review” on JIRA?
[x]  Have you checked to ensure all dependencies are up to date?
[x]  Have you checked to ensure its been rebased against the current version of main?

Whilst Reviewing

[x]  Have you run the tests?

[x]  Have you looked at the JIRA story to make sure all Acceptance Criteria has been met?

After Reviewing

[ ]  Have you checked for merge conflicts or any changes in the current main that may affect the current pull request? i.e. does it need another rebase?
[ ]  Have you checked to make sure there are no builds in the pipeline before you merge?
[ ]  Have you moved the task to “in pipeline” on Jira?

[x]  Have you rebased against the current version of main?
[x]  Have you checked code coverage isn’t lower than previously?

After PRs been raised

[ ]  Have you checked the PR Builder passes?

One of the service dependencies also needs updating

Also can you remove the TODO from the IncomeTaxAndCostsModel where it references your page on line 34, this will break tests in the IncomeTaxAndCostsModelSpec and RedirectServiceSpec so they'll need updating too


05-create-cognitive-search-solution[does query work?]

05-create-cognitive-search-solution
The query below did not return correct results.
search=$filter=locations eq 'Chicago'
search=$filter=sentiment eq 'negative'
The query below returned correct results.
search=locations:'Chicago'
search=sentiment:'negative'

Thanks so much @nobuhiro-yamada, I will push the fix you suggested!


unselect seleceted row in nggrid by clicking outside of the grid

Hi,
     I had a problem while using nggrid. I had a requirement in my project that I need to unselect the selected row in the nggrid when I click outside of the grid i.e., I need to loose focus when I click outside of the grid. I want to apply this functionality to all the grids where I have used in my project.

Thanks.

https://github.com/angular-ui/bootstrap#support


[BEAM-11936] Fix errorprone UnusedVariable in core,examples,harness..

Fixed errorprone warning listed here:
UnusedVariable: The presence of an unused variable may indicate a bug. This check highlights private fields and parameters which are unused and can be safely removed without considering the impact on other source files.
For reference https://errorprone.info/bugpatterns
Split from #15742

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java_Examples_Dataflow PreCommit

Run Java PreCommit

Run Java_Examples_Dataflow PreCommit

R: @lukecwik could you review this?

I was a little concerned  this one could break some internal Google code. I ran internal tests on it though and it looks good

R: @y1chi

Run Java PostCommit

Run Java PostCommit

Thank you all!


Migrate lagging 'net' builds to 'netlrts'

Original issue: https://charm.cs.illinois.edu/redmine/issues/1070

Based on net-linux-x86_64 and net-darwin-x86_64 vs their netlrts equivalents, the conv-mach files can be copied straight over from net to netlrts to make a working build.
Subbugs should copy over for their designated platform, test, make adjustments as necessary, and commit.

Original date: 2017-03-23 15:45:10

net-linux-amd64 and net-linux-cell are the only net builds left without netlrts equivalents. Do we even want to have netlrts versions of those?

Original author: Jim Phillips (@jcphill)
Original date: 2017-03-23 16:32:34

Sam White wrote:

net-linux-amd64 and net-linux-cell are the only net builds left without netlrts equivalents. Do we even want to have netlrts versions of those?

Isn't amd64 the same as x86_64?


Question?

hi,
Is this sentence correct?
"Without creating unit tests for the code that you're writing, coupling may be less apparent."

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

ID: 51947dc8-9ae8-21fa-13db-a7ffb3f9bc0e
Version Independent ID: be661bf5-6f6e-cd18-344b-253edf5751ae
Content: Best practices for writing unit tests - .NET Core
Content Source: docs/core/testing/unit-testing-best-practices.md
Product: dotnet-core
GitHub Login: @jpreese
Microsoft Alias: wiwagn

Yes I believe it's correct. Usually, a tightly-coupled software is hard to test. So, attempting to write unit tests and finding any difficulty could be because of a tightly-coupled software. Without writing unit tests.

Yes I believe it's correct. Usually, a tightly-coupled software is hard to test. So, attempting to write unit tests and finding any difficulty could be because of a tightly-coupled software. Without writing unit tests, you might not notice that your software is tightly-coupled.

That's right. Thankful


Format output with specified colors and separators.
Fall back to legacy single line text if the status_command doesn't ask for the json protocol.

Fixed commits follow directly after this comment.


[Question]How can I figure out what problem causing server status "NotReady"

My server's hardware info like below:

CPU: E5-2682 v4
Intel VT: enabled
hyper threading: enabled

And after my physical booted there always displaied
Harvester management URL:

https://<IP_ADDRESS>:30443

Current status:

NotReady

How can I figureout which causing this problem?
Thankyou in advance!

Ready=harvester Ready && rancher Ready
NotReady=harvester NotReady or rancher NotReady
# check harvester Ready:
kubectl -n harvester-system get po
# check rancher Ready:
kubectl -n cattle-system get po

Ready=harvester Ready && rancher Ready
NotReady=harvester NotReady or rancher NotReady
# check harvester Ready:
kubectl -n harvester-system get po
# check rancher Ready:
kubectl -n cattle-system get po

Thankyou for your reply.
I executed above command and the echo like below.
HCI90 [~]$ kubectl -n harvester-system get po
NAME                                                    READY   STATUS    RESTARTS   AGE
cdi-apiserver-bfd77bd48-h2vp4                           1/1     Running   1          3h51m
cdi-deployment-c9fbd68b7-8d2dp                          1/1     Running   1          3h51m
cdi-operator-6dd7745d77-lgz2c                           1/1     Running   1          3h52m
cdi-uploadproxy-68b69f7cdf-bq5sg                        1/1     Running   1          3h51m
harvester-85c45874db-fd2fm                              1/1     Running   1          3h52m
harvester-85c45874db-wqz2g                              0/1     Pending   0          3h52m
harvester-85c45874db-xfrjg                              1/1     Running   0          3h52m
harvester-network-controller-77r5g                      1/1     Running   1          3h52m
harvester-network-controller-9bt24                      1/1     Running   0          103m
harvester-network-controller-manager-6d5c978c58-bcbws   1/1     Running   1          3h52m
harvester-network-controller-manager-6d5c978c58-g476n   1/1     Running   1          3h52m
virt-api-775dd874f5-6865j                               1/1     Running   1          3h51m
virt-api-775dd874f5-9jn7z                               1/1     Running   1          3h51m
virt-controller-65bfb89cbd-j2ps9                        1/1     Running   1          3h51m
virt-controller-65bfb89cbd-rl8ts                        1/1     Running   1          3h51m
virt-handler-s2kjv                                      1/1     Running   1          3h51m
virt-handler-zf7c2                                      1/1     Running   0          103m
virt-operator-69556dcf98-cpmpt                          1/1     Running   1          3h52m

HCI90 [~]$ kubectl -n cattle-system get po
NAME                              READY   STATUS    RESTARTS   AGE
rancher-6dbcc8b5b-jbbzq           1/1     Running   0          3h52m
rancher-6dbcc8b5b-qshpz           1/1     Running   1          3h52m
rancher-6dbcc8b5b-vzxvb           0/1     Pending   0          3h52m
rancher-webhook-b5b7b76c4-zgwd6   1/1     Running   1          3h49m

How can I fix thexe Pending?

How can I fix thexe Pending?


❓ Some questions

Why does this project use Expressjs and Python?  How do they work?
Were the FE and the BE two different projects when you developed them?

Big old!

Hello @NisonChrist,
Now we'll close this issue due to inactivity.You may reopen this if you have any problem.
Thanks & Big old


Cannot expand volumes with Cinder version < 3.42

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:
I can't resize a volume. I get the error:
{"computeFault": {"message": "Version 3.42 is not supported by the API. Minimum is 3.0 and maximum is 3.15.", "code": 406}}
What you expected to happen:
To resize the volume
How to reproduce it (as minimally and precisely as possible):
Create a pvc of 2GB of spac, then resize it to 6GB.
Anything else we need to know?:
It worked on the same environment with the intree volume provider.
After some investigations I found out that the cinder version 3.42 is hardcoded in the code, to allow to resize volumes in usage.
I would like to have the same behavior that the intree system, which allow me to resize it, even if I have to stop the pod associated to release the volume to let it be resized.
Code is here: https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/csi/cinder/openstack/openstack_volumes.go#L262
Is it possible to stop to force the 3.42 version ?
Environment:

Openstack cinder version: 3.15

Thanks,
Thomas

@thcdrt are you using offline volume resize? Online volume resize needs 3.42 .
I suppose we could stop restricting the behavior for offline resize.

/assign

should be fixed in #808

@ramineni yes we use offline volume resize.
It would be great indeed !

@kayrus you PR LGTM, thank you very much. Do you know when it should be released approximately ?

I just saw that you merged your PR @kayrus. I tested the new cinder-csi-plugin and it's working like a charm now ! Thank you very much.


Grab Error when trying to start to listen for gestures

I tried to run the elf executable downloaded from the releases in the terminal.
I am running nobara linux on a surface book 2 with the surface-linux kernel patch
[2023-06-30T09:11:34Z ERROR mouse_actions::process_args] Grab Error: IoError(
        Os {
            code: 22,
            kind: InvalidInput,
            message: "Invalid argument",
        },
    )

do you apply the requirements ? https://github.com/jersou/mouse-actions#requirement-
can you share your config ?


Item frames crashing server

After updating from 1.16.5 to 1.17.1, interacting with item frames causes the server to crash and throws the exception below. The full crash report can be found here, the server crashes precisely when a player interacts with an item placed in an item frame placed before the 1.17.1 update.
	at app//net.minecraft.nbt.CompoundTag.copy(CompoundTag.java:397)
	at app//net.minecraft.world.item.ItemStack.cloneItemStack(ItemStack.java:652)
	at app//net.minecraft.world.item.ItemStack.copy(ItemStack.java:643)
	at app//net.minecraft.network.syncher.EntityDataSerializers$7.copy(EntityDataSerializers.java:147)
	at app//net.minecraft.network.syncher.EntityDataSerializers$7.write(EntityDataSerializers.java:134)
	at app//net.minecraft.network.syncher.SynchedEntityData$DataItem.copy(SynchedEntityData.java:344)
	at app//net.minecraft.network.syncher.SynchedEntityData.packDirty(SynchedEntityData.java:192)
	at app//net.minecraft.network.protocol.game.ClientboundSetEntityDataPacket.<init>(ClientboundSetEntityDataPacket.java:22)
	at app//net.minecraft.server.level.ServerEntity.sendDirtyEntityData(ServerEntity.java:371)
	at app//net.minecraft.server.level.ServerEntity.sendChanges(ServerEntity.java:207)
	at app//net.minecraft.server.level.ChunkTracker.processTrackQueue(ChunkTracker.java:2063)
	at app//net.minecraft.server.level.ChunkTracker.tick(ChunkTracker.java:2074)
	at app//net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:881)
	at app//net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:752)
	at app//net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:555)
	at app//net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1553)
	at app//net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:479)
	at app//net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1406)
	at app//net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1188)
	at app//net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
	at java.base/java.lang.Thread.run(Thread.java:831)```

I don't know for sure but I strongly suspect this to be a spigot problem and nothing I can fix. Does it still happen if you create an invisible item frame in 1.16 then upgrade to 1.17 and remove the plugin?

Yes, it still happens when the plugin is removed, my guess is that something about the NBT data changed in the 1.17 update and when accessing the tools in the item frames it's null. The server is currently unplayable because there are thousands of item frames on the server and every interaction with them causes a crash. Help would be greatly appreciated!

Your best bet will be creating a spigot bug report with as much info as you can provide. In the meantime, I'll see if I can replicate this issue.

I was not able to replicate this issue. I'm running Paper version git-Paper-100 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 70ea1b2) which is currently 12 versions behind.


How does one create a Pause Text with multiple lines?

I have the above question. I am trying to make the following text output centered over my Pause Icon.
Game Paused!
Unable to
move Tokens!

Can there be a guide or a wiki created for this?
I originally used the "Prettier Login" module to do the custom text and render it, but it doesn't seem to work in v11.

Unfortunately you can't do that here. The script splits at every newline and atm there is no way around it. If I had more time to learn more javascript, maybe I could build something, but unfortunately not right now. You can try it with the original module from which I build this one: https://gitlab.com/Freeze020/pause-icon/


Use the more accurate distance routines in geographiclib, if available.

This follows up on an E-mail thread on<EMAIL_ADDRESS>from
September 2011, "Patch to provide GeodesicDistance for geopy".  It
provides a more accurate solution for geodesics compared to Vincenty by
using the python package geographiclib if it is available.  In addition
the distance calculation always succeeds.  It's possible that it
addresses issue #140 also.  Still to do: add tests (but I haven't
figured out the testing framework yet).

This patch will also fix issue #30, I believe.

@cffk, cool, can you perhaps refactor geopy.distance to be a directory, with the python implementation in one module, the if HAVE_GEOGRAPHICLIB: branch in another, and the init choosing? This would also need regression tests run against each module.

Hmm, it's not so obvious how to do this...  This issues are:

distance.py includes a routine for the great circle distance and this
needs to remain regardless of the choice of how to do geodesics.

The present names for the ellipsoid distance are VincentyDistance and
vincenty.  But these are inappropriate names for the more accurate
method.

Here is a possible way of dealing with the situation.

If HAVE_GEOGRAPHICLIB is true, then the code works as my pull request.

If it is false, then GeodesicDistance and geodesic are set to vincenty
(and the VincentyDistance and vincenty names are retained).

In either case, the names VincentyDistance and vincenty are marked as
deprecated.  People should be encouraged to use the name
GeodesicDistance.

After some suitable interval, the either/or implementation can be
substituted (i.e., if HAVE_GEOGRAPHICLIB, then the vincenty method
won't even be defined; otherwise vincenty method will be defined but
will be called geodesic and not vincenty).
--Charles

That makes sense to me.

OK, I'll make this change this weekend.

I like the idea of the patch.    Shouldn't this patch atleast have a vincenty class that issues a deprecation warning, so as to not entirely break the API?
That could just be a dummy class that with and init function issues the DeprecationWarning, that is derived from geodesic.
Something like this (this is pseudocode):
import warnings

class vincenty(geodesic):
    def __init__(self, *args, **kwargs):
        warnings.warn('Replace class distance.vincenty with class geodesic', DeprecationWarning)
        super(geodesic, self).__init__(*args, **kwargs)

This is a significant redo of the original pull request.
Originally, vincenty was replaced by the geodesic method.  Now both are
provided.  In addition, the geodesic method will use pyproj if it's
available in preference to geographiclib.  Both pyproj and geographiclib
implement exactly the same algorithm.  However, pyproj's implementation
is in compiled C code and so faster.
In the process of testing, I needed to scoop up a couple of pending pull
requests: #187 and #194.  This patch fixes issues: #30 #186 #242.
Here is some timing data.  Times are in microsecs per call
method                          dist    dest
geopy great_circle              20.4    17.1
geopy vincenty                  40.3    30.4
goopy geodesic(pyproj)          37.1    31.1
geopy geodesic(geographiclib)  302.9   124.1
geographiclib                  279.1   104.6
pyproj                          17.6    15.7
pyproj vector call               2.8     1.4

Here is the accuracy of the geodesic calculations based on the Geodesic
Test Set
https://doi.org/10.5281/zenodo.32156
The errors are given in units of micons (1e-6 m)
method                        distance destination
geopy vincenty                 205.629  141.945
goopy geodesic(pyproj)           0.007    0.013
geopy geodesic(geographiclib)    0.011    0.010

Without hannosche's pull request #194, the error in the destination
calculation for vincenty is 8.98 meters.
19.2% of the tests cases failed with vincenty.distance (iterations =
20).  However the test set is skewed towards cases which would case this
failure.
With random points on the WGS84 ellipsoid, the Vincenty algorithm is
guaranteed to fail 16.6 out of 1000000 times (the correct solution is an
unstable fixed point of the Vincenty method).
With the geopy implementation of Vincenty and iterations = 20, the
failure rate is 82.8 per 1000000.  With iterations = 200, the failure
rate is 21.2 per 1000000.
Even though these rates are small, failures can be quite common.  For
example in a dataset of 1000 random points (think the worlds airports,
perhaps), computing the full distance matrix would fail on average 16
times (with iterations = 20).

@cffk Do you know if this is going to be merged some day?

I haven't had any feedback from the package maintainers since I made the changes in May.  Perhaps @micahcochran can weigh in?

@cffk I have no objections to this being merged. I did not mean for my critique to significantly slow down the process of getting this merged.  I don't have any information about when/if this will be merged.

@flaviotruzzi I just the next step for you to take is to ping the gatekeepers of geopy about
merging this pull request.

@cffk I am a user of geopy, but I am not familiar with the procedures for merging here, is there a main maintainer that we should ping?

I looked at the major contributors.  So perhaps @ijl or @jqnatividad  can be persuaded to comment on the pull request and merge if appropriate.

I've not yet used GeoPy, but soon need to use it or something else, Distance precision is very important for my project, so I probably can't use GeoPy until this branch is merged.
So, +1 for merging soon! :-)

@morsedl If you need precision, I'd suggest looking into the python version of GeographicLib.  It is the work of @cffk
Its documentation has some examples.
It is available right now and has had a release in the past couple month.

@KostyaEsmukov Before implementing your suggestions, it might be worth stepping back to see if there's a simpler approach...
The problem arises because the Vincenty method fails to converge for nearly antipodal points.  For a long time, this was excused because computing such distances was rare.  However, it has real negative consequences.  For example, computing the distance matrix for 1000 randomly selected points results in about 8 failures of the Vincenty algorithm.  This means that the triangle inequality is not satisfied which, in turn, precludes the use of algorithms such as the VP tree for computing, e.g., the nearest port for a ship at sea.  See my answer to a question on stackoverflow.
In 2009 I provided improved algorithms for computing geodesics.  This is more accurate (1e-8 m instead of 1e-4 m), but, more importantly, the distance calculation always converges.  The initial implementation was in C++; however, I provided a Python implementation in 2011.  This pull request provides hooks to this implementation.
Unfortunately, along the way the pull request became successively more convoluted:

it retains the Vincenty algorithm;
my native Python implementation is used if available;
except that, if pyproj is available, that is used instead.

(pyproj uses a C implementation of my algorithms.)  This plethora of choices is pretty much guaranteed to cause confusion on the part of end users.
Here's my recommendation:
Replace Vincenty with my algorithms.  Either make geographiclib a dependency of geopy or just include the code as part of geopy.  (This approach has worked well for proj.4 which includes the C implementation. It helps that the source files are kept consistent so that changes in one library can be quickly brought into the other.)
This would also allow immediate access to routines for computing the area of geodesic polygons and for computing differential properties of geodesics (e.g., how much does the end point of a geodesic point move when the initial azimuth is changed by a small amount) which are useful, e.g., in doing adjustments of triangulation networks.
The potential push back is that my algorithms are 7x (resp. 4x) slower than the Vincenty distance (resp. destination).  I would say "ignore this".  Most casual users won't care (the distance calculation takes 0.3 ms).  Hard-core users can now use much better algorithms for distances involving many points because the triangle inequality is satisfied.
In this scheme, the routines with "vincenty" in their names would be deprecated and would merely call the corresponding routines with "vincenty" replaced by "geodesic".
Various options are available if speed really is an issue:

hook up to pyproj
provide a numpy implementation
use Cython to call the C++ library

However, I regard this as secondary to getting decent algorithms into the hands of your users.

Thank you, Charles, for such a comprehensive explanation.
Let me answer each point in turn:

Replace Vincenty with my algorithms. [...] In this scheme, the routines with "vincenty" in their names would be deprecated and would merely call the corresponding routines with "vincenty" replaced by "geodesic".

Vincenty deprecation sounds reasonable to me, but I would rather not implicitly substitute vincency implementation with geodesic, because some users might rely on vincenty's inaccuracy or the 4-7x faster computation speed. So I would prefer to still keep vincenty, but issue a warning for its usages with an advice to use a generic distance class instead, which provides an up-to-date method of distance computation (geodesic, for the moment).
In this case removing vincenty example and explanation from the docs is fine with me, but vincenty class should be marked as deprecated with:

a warning in measure and destination methods with DeprecationWarning category and an advice to use geodesic instead
a .. warning:: block in vincenty doc, explaining why vincenty is deprecated (because it's less accurate and in some cases fails to converge) and what to use instead (distance class).

Either make geographiclib a dependency of geopy or just include the code as part of geopy.

I'm fine with adding a dependency on geographiclib. I would say vendoring is not needed here (unless there's an issue with any of the geopy's supported Python versions which cannot be fixed on your (geographiclib) side, but this looks unlikely).

This would also allow immediate access to routines for computing the area of geodesic polygons and for computing differential properties of geodesics (e.g., how much does the end point of a geodesic point move when the initial azimuth is changed by a small amount) which are useful, e.g., in doing adjustments of triangulation networks.

I would expect that users who actually need that kind of advanced measurements are aware of geographiclib itself, and I tend to think that the higher level geopy is probably not for them. Thereby, I'd rather keep the interfaces as simple as they're now, without bringing in peculiar features which aren't needed by most users.

Various options are available if speed really is an issue: [...]. However, I regard this as secondary to getting decent algorithms into the hands of your users.

I agree with the last point, whereas I believe that speed is really an issue for some of the users, so having an easy way (like installing pyproj) to quickly enhance performance without tinkering with binary extensions on the user side would be great. If we tend to think of pyproj as a solution to this, then we may simply add an extras to setup.py, which would allow to bring in pyproj with simply doing something like pip install geopy[fastgeodesic].

hook up to pyproj
provide a numpy implementation
use Cython to call the C++ library

I would rather not introduce any required binary extension (or required dependency with one, like numpy or pyproj) which might make installation more complicated even if a user is going to use only the geocoders part of the library, so building a native extension is kinda useless for them. Also compiling CPython extensions for pypy (which geopy supports at the moment) might be tricky. Thus I believe that a python-only solution is a requirement here.
To sum up, here are my suggestions:

vincenty should be deprecated, but not substituted with geodesic
a python-only solution for geodesic should be used by default to avoid platform-specific issues
having a way to optionally install a binary dependency to speed up computations would be great (but I'm totally OK to move this out of the scope of this PR to simplify things for now).

I'm not sure how to let the test machines see geographiclib...?

OK, I documented that vincenty is deprecated.  I don't issue a warning when vincenty is used -- I think this should wait for a subsequent release?

I think this should wait for a subsequent release?

OK, maybe you're right. There might be some reasons to prefer vincenty over geodesic at the moment (like performance or maybe some yet unknown issues with geodesic).


GPT not remembering context in web UI.

For some reason, cookies are not working. Basically gpt does not remmeber conversation history.
Debug and solve.

fixed. made convo history as browser cookie


Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'crypto.subtle.digest') in SocialAuth.svelte

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
window.crypto.subtle is (sometimes?) undefined in mobile Safari, resulting in an error when trying to use social providers. In my production app, deployed on Vercel, things work as expected. In development mode, though, the following error is thrown:
Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'crypto.subtle.digest'): SocialAuth.svelte:21:85
I can't find any instances of crypto.subtle in @supabase/auth-ui, maybe it's one of its dependencies?

As that issue you linked to stated that iOS 10.2 and below doesn't support the standard SubtleCrypto which is what the @supabase/supabase-js library uses. You will have to use a polyfill in your project to get it working as we don't support non-standard crypto libraries.

This still happens on iOS 16.6, so the OS version doesn't seem to be the issue.


New Port: Balatro card game

New Port for Balatro card game
Game Information

Title: Balatro
URL: { Link to project page or source control page }

Submission Requirements
CFW Tests
Ensure your game has been tested on all major CFWs:

[X] AmberELEC
[X] ArkOS
[X] JELOS
Proof of running: https://www.reddit.com/r/SBCGaming/comments/1bgtqf2/guideshowcase_i_ported_balatro_to_the_rgb30/

Resolution Tests
Test all major resolutions:

[x] 480x320
[X] 640x480
[X] 720x720 (RGB30)
[x] Higher resolutions (e.g., 1280x720)

File Structure

Your port should have the following structure:

portname/

port.json
README.md
screenshot.jpg
cover.jpg
Port Name.sh
portname/

Additional Resources
For an in-depth guide on creating a pull request, refer to: PortMaster Game Packaging Guide

Waiting for Testing in https://discord.com/channels/1122861252088172575/1221238851259994213
Looks promising.

I would include a copy of the OFL license for the Nunito font used:
https://github.com/googlefonts/nunito/blob/main/OFL.txt
as we're distributing it as a font file, not embedded:
https://openfontlicense.org/how-to-use-ofl-fonts/

The only situation in which an OFL font can be distributed without the text of the OFL (either in a separate file or in font metadata), is when a font is embedded in a document or bundled within a program.

Request to include r36s support to ports file
I've been trying to see whether Balatro can run at 60fps on my r36s and, thus far, have not been able to confirm it. I've tried editing some of the settings here and there, but I'm not sure I'm doing it right.
I'd like to request adding support for the r36s and I could do it myself, but I would need guidance.


My toolbar got moved to the bottom, used to be on the side?

Hi there, paying supporter of Excalidraw, love what y'all do!
Was wondering why my toolbar moved to the bottom all of a sudden?
I preferred when it was on the left hand side now I don't know how to change it back.

Hey! Can you show a screenshot? What browser & operating system do you use?

Mac OSX, Desktop on Chrome

I'm referring to the bottom toolbar, usually when I select the pencil or text tool, the palette shows up on the left hand side instead of on the bottom. See new screenshot below.

This is the "mobile" view. If this started happening only recently, it's likely the cause is you're zoomed in. Can you check in the url bar if that's the case?

You're absolutely correct, this worked. Thank you!


added power support arch ppc64le on yml file.

Added power support for the travis.yml file with ppc64le. This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing. For more info tag @gerrith3.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   98.79%   98.79%
=======================================
  Files           5        5
  Lines         332      332
  Branches       47       47
=======================================
  Hits          328      328
  Misses          2        2
  Partials        2        2

Continue to review full report at Codecov.

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

Looks good, will land momentarily

Looks good, will land momentarily


Update examples to add explicit server ports.

Fixes #134.

Would you mind updating config.md as well?  We mention default ports several times in that doc.

The config refactor made the servers section mandatory but protocols still define default ports.  We should either keep the default port stuff in the docs, or remove it from the code.

we will revisit the default port stuff for the next release.

:star: after rebase

:+1:


GitHub

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Why:
Closes [issue link]
What's being changed:
Check off the following:

[x]  I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ]  For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ]  This pull request impacts the contribution experience

[ ]  I have added the 'writer impact' label
[ ]  I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@Damantha126 This seems to be opened accidentally, I am going to close it now :yellow_heart: Take a look at the contributing.md to learn how to contribute in this repo. You can open a discussion if you have any questions :sparkles:

@ramyaparimi please take note of Payaspx's nonsensical comments and the issue he opened (#1004)


Unresolved describe_column for sqlite3 backend

I'm currently trying to compile a project with sqlite3 and soci as a static library. However I get the following Linker error.
error LNK2019: unresolved external symbol _sqlite3_column_decltype referenced in function "public: virtual void __thiscall soci::sqlite3_statement_backend::describe_column(int,enum soci::data_type &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (?describe_column@sqlite3_statement_backend@soci@@UAEXHAAW4data_type@2@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

This is my code:
#include <soci/soci.h>
#include <soci/sqlite3/soci-sqlite3.h>
#include <catch.hpp>

TEST_CASE("do something")
{
    soci::connection_parameters p(soci::sqlite3, ":memory:");
    soci::session sql(p);
    ...
}

When I substitute soci::sqlite3 with "sqlite3" the compilation is successful but I get an error that the shared library of the sqlite3 backend is not found.
Cmake configuration:
...
set(SQLite3_INSTALL_DIR C:/SQLite3)
find_package(SQLite3 CONFIG REQUIRED PATHS "${SQLite3_INSTALL_DIR}/cmake")

set(Soci_INSTALL_DIR C:/Soci)
find_package(Soci CONFIG REQUIRED PATHS "${Soci_INSTALL_DIR}/lib/cmake/SOCI")

target_link_libraries(${TARGET_NAME}
    PUBLIC
        ${PROJECT_NAME}
		SQLite::SQLite3
		SOCI::soci_core_static
		SOCI::soci_sqlite3_static
)
...

Soci was installed with the following configuration:
set install_prefix=C:\Soci
set sqlite3_dir=C:\SQLite3

cmake.exe -DSOCI_CXX11=ON -DSOCI_SHARED=OFF -DSOCI_STATIC=ON -DSOCI_TESTS=OFF -DWITH_BOOST=OFF -DSOCI_DB2=OFF -DSOCIFIREBIRD=OFF -DSOCI_MYSQL=OFF -DWITH_SQLITE3=ON -DCMAKE_PREFIX_PATH=%sqlite3_dir% -DSOCI_POSTGRESQL=OFF -DCMAKE_INSTALL_PREFIX=%install_prefix% -DCMAKE_DEBUG_POSTFIX=d -A Win32 ..

echo -- Install Soci with Configuration 'Debug'
msbuild INSTALL.vcxproj /p:Configuration=Debug

echo -- Install Soci with Configuration 'Release'
msbuild INSTALL.vcxproj /p:Configuration=Release

Thanks in advance

The function definitely is there in src/backends/sqlite3/statement.cpp, so it must be some sort of build problem, but I don't see what could it be to be honest, sorry. All I can recommend is to debug it in the usual way, i.e.

Check that the linker command line contains the expected library.
Check that the library contains the function.

Ok, so I found a lead.
The part which is responsible for the error is
char const* declType = sqlite3_column_decltype(stmt_, colNum-1);

if ( declType == NULL )
{
    static char const* s_char = "char";
    declType = s_char;
}

std::string dt = declType;

I probably clashes with the sqlite version 3.35.5

I located the error inside the compilation of sqlite3. I used the git repository https://github.com/azadkuh/sqlite-amalgamation which provides a CMakeLists for the amalgamated version of sqlite3 and it seems there the binary is corrupted.


7zip window popup that steals focus

Describe the bug
With 5.6.5 when im converting cbr to cbz, theres a cmd window popup caused by 7zip which steals focus from other windows every time it shows(thats for every file, and is visible for few seconds). I dont have similar behavior with 5.6.4.
Settings Screenshot

Desktop (please complete the following information):

OS: Windows 11
Device: Pocketbook Inkpad 3

@ReaLx3m
Please try the pre-release v5.7.0

I checked before posting and latest was 5.6.5, must have been released minutes after opening this issue.
I tired 5.7.0(though for some reason its still labeled as 5.6.5), and it doesnt exhibit the behavior.
Thanks for the heads up.

@ReaLx3m Yep it was released within 6 minutes of your post.
Pre-release will have the old version number until official release.

Cool then, issue can be closed as solved.

I decided to pull v5.6.5 and re-release it with this fix since v5.7.0 is in pre-release.


⚠ Bofrost.de has degraded performance

In be40b65, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1163 ms

Resolved: Bofrost.de performance has improved in 82ce0f3 after 33 minutes.


x/gamm: Delete the height < v10forkheight { use broken code } check

Closes: #1935
What is the purpose of the change
Removes v10 height gating from CalcJoinPoolShares since it is no longer necessary now that we are on v10.
Brief Changelog

Remove block height check from CalcJoinPoolShares
[Not implemented yet] Remove related broken functions

Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? (no)
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (no)
How is the feature or change documented? (not applicable)

Can you remove all the corresponding broken old functions in this PR

Can you remove all the corresponding broken old functions in this PR

Of course, I had asked about this in the issue (https://github.com/osmosis-labs/osmosis/issues/1935#issuecomment-1172583544) but probably should have asked here instead haha


Disconnect.js fails and causes a server crash

Every time I try to use the disconnect functionality, I get a server crash. This stops the node.js server and I have to re-run npm start to get the sample running again. Here's the stack trace:
c:\dev\OfficeDev\Office-Add-in-NodeJS-ServerAuth\routes\disconnect.js:16
  for (var ii = 0; ii < user.providers.length; ii++) {
                            ^

TypeError: Cannot read property 'providers' of undefined
    at disconnectService (c:\dev\OfficeDev\Office-Add-in-NodeJS-ServerAuth\routes\disconnect.js:16:29)
    at c:\dev\OfficeDev\Office-Add-in-NodeJS-ServerAuth\routes\disconnect.js:81:23
    at c:\dev\OfficeDev\Office-Add-in-NodeJS-ServerAuth\db-helper.js:31:4
    at Request._callback (c:\dev\OfficeDev\Office-Add-in-NodeJS-ServerAuth\node_modules\nano\lib\nano.js:199:16)
    at self.callback (c:\dev\OfficeDev\Office-Add-in-NodeJS-ServerAuth\node_modules\nano\node_modules\request\request.js:198:22)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at Request.onRequestError (c:\dev\OfficeDev\Office-Add-in-NodeJS-ServerAuth\node_modules\nano\node_modules\request\request.js:820:8)
    at emitOne (events.js:77:13)
    at ClientRequest.emit (events.js:169:7)

Thanks, @dougperkes could you provide details about your environment?

Operating System
Browser or Office client used
node and npm versions

It looks like the app can't retrieve the user from the database. I guess the database is running because you can sign in, but can't sign out. Just for the sake of getting things out of the way, could you check if your db is running right before hitting disconnect? You can check if db is up by going to http://localhost:5984/_utils.
I'll try to repro later today.

Good call on checking CouchDB. It turns out CouchDB wasn't started. It's curious that the Connect succeeded but the disconnect failed. Once I manually started it, the disconnect succeeded again. I should have thought to check that, but it wasn't apparent from the error.
Node: v4.2.4
OS: Win 10 Build 10586.63
Outlook 2016 Desktop: 16.0.6366.2062

Mmm... I'll keep an eye on this, seems like I should make the app fail earlier (or not start at all) if the DB is down. Also I should send an appropriate error message.
I'll close this issue and open another one to explicitly ask for the above changes.


Manage Defines for Embed attributes

Hi,
I would like to use a Define compilation variable as source of an Embed meta tag like that :
[Embed(source=EMBED::my_logo, mimeType="image/png")]

With that I can define the path to the embed asset in the config file and use differents ones depending on the config file I use.
I've tried te understand where to manage the use of Defines in MetaTag, but the parsing/compile process is a bit complex. I'm looking at the BaseASParser class but I think it's a bit late in the process.
Can anyone help me to understand what to change to handle that.
Thanks !

I've found out that the org.apache.royale.compiler.internal.parsing.as.ASToken.canExistInMetadata method defines the list of allowed token types for metadatas. I'm adding the TOKEN_OPERATOR_NS_QUALIFIER case to manage the Defines variables.


Latest 0.1.0-alpha.27 cannot be used with npm 9+

The latest NPM package has a reference to npm@8+ it gives an error when using it with a newer version of npm please update the reference 9+ seems to be normal combo with nodejs now. .
npm WARN using --force Recommended protections disabled. npm ERR! code EBADENGINE npm ERR! engine Unsupported engine npm ERR! engine Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Required: {"node":"^v18.12.1","pnpm":"^8.0.0","npm":"^8.19.2"} npm ERR! notsup Actual:   {"npm":"9.5.0","node":"v18.15.0"}

We don't really need to worry about package managers during install.
Removed altogether here: https://github.com/lens-protocol/metadata/pull/33/commits/ce6064fe655c0eaefe509d48e2fde3c5f9f8ea18
Landing in alpha.28.

Epic solution!


emby: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Fixes, see https://github.com/MediaBrowser/Emby/releases/tag/<IP_ADDRESS>
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg  build emby

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: emby
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: emby
Partial log (click to expand)
glibPreInstallPhase
installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/7mry9qfd54sdmrwsz4xx570rw0scr9yi-emby-<IP_ADDRESS>
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7mry9qfd54sdmrwsz4xx570rw0scr9yi-emby-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/7mry9qfd54sdmrwsz4xx570rw0scr9yi-emby-<IP_ADDRESS>
checking for references to /build in /nix/store/7mry9qfd54sdmrwsz4xx570rw0scr9yi-emby-<IP_ADDRESS>...
/nix/store/7mry9qfd54sdmrwsz4xx570rw0scr9yi-emby-<IP_ADDRESS>

Success on x86_64-darwin (full log)
Attempted: emby
Partial log (click to expand)
no configure script, doing nothing
building
glibPreInstallPhase
installing
glibPreFixupPhase
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/4wa5p4gxvb0ii69r2w2bn109n873wqav-emby-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/4wa5p4gxvb0ii69r2w2bn109n873wqav-emby-<IP_ADDRESS>
/nix/store/4wa5p4gxvb0ii69r2w2bn109n873wqav-emby-<IP_ADDRESS>


rowRenderer Support?

Are there plans to support a rowRenderer prop in order to place a custom element on a row?

Not at the moment, rendering a row is currently very complex especially with fixed columns and it would be hard to allow a user to do this and still render correctly. This something we will think about when refactoring the core to be more flexible in the future but its not on the immediate road map.


materia-theme-transparent: init at 0-unstable-2024-03-22

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@NixOS/nix-formatting

Weird. I ran nixfmt on the file, committed it, and it still complains. Does anyone know why this is?

Weird. I ran nixfmt on the file, committed it, and it still complains. Does anyone know why this is?

Looks like using the nixfmt-rfc-style package instead of the nixfmt package fixed it.

Went back and squashed the commits.

@FliegendeWurst I applied your patches, and it still builds fine. Thanks for the suggestions :)

Oops


itvr-359

@vibhiquartech Also, there shouldn't be commits here from other people; can you please rebase this?


KV Store: Add KV feature flag

Add KV feature flag to configuration
Disabled by default
Added getter for KV value in config
Added GetConfigAsJson to config
Added trace log of config on LoadConfig

Was thinking about supporting the following in our configuration:
kv:
  enabled: true
  type: postgres
  connection_string: postgres://lakefs:lakefs@localhost:5432/postgres?sslmode=disable

so for the development phase we will have a section we configure without changing the configuration all the time.
Alternative will be a field called 'type' under 'database' section:
database:
  type: "kv"
  connection_string: postgres://lakefs:lakefs@localhost:5432/postgres?sslmode=disable

The default (empty) or non "kv" type will use the current postgres enabled - setting to 'kv' will enable all the kv related features. The +/- in this solution that we are using the the 'database_connection' string for both.

@nopcoder  Since this is a temporary parameter I prefer it to have as little footprint as possible. I also don't really see a reason to maintain different connection strings between different implementations, and since the KV store is DB agnostic I don't really understand why we need the 'type: postgres'.
I can move the field under 'database' and rename it to 'kv_enabled' if it makes more sense to you. WDYT?

kv configuration is part of the flag configuration. we will have multiple underlying implementations so the type property is required to select which one you like to use.
in addition you will need a connection string - I'm fine it will be the same one. the reason to have another one is additional parameters as we experiment. table name used for kv, number of connections and etc that you will want different values than the current connection.

Just added a comment about the log level of the warning


Getting error when trying to update Diawi plugin from 1.3.0 to 1.4.0

+-----------------------+---------+--------+
|               Used plugins               |
+-----------------------+---------+--------+
| Plugin                | Version | Action |
+-----------------------+---------+--------+
| fastlane-plugin-diawi | 1.3.0   | diawi  |
+-----------------------+---------+--------+

Updating plugin dependencies...
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /Users/aravindb/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/json-2.3.0/ext/json/ext/generator
/Users/aravindb/.fastlane/bin/bundle/bin/ruby -r ./siteconf20200124-11014-qm9ci3.rb extconf.rb
creating Makefile

current directory: /Users/aravindb/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/json-2.3.0/ext/json/ext/generator
make "DESTDIR=" clean

current directory: /Users/aravindb/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/json-2.3.0/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
clang: warning: no such sysroot directory: '/Applications/Xcode-7.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk' [-Wmissing-sysroot]
In file included from generator.c:1:
In file included from ./../fbuffer/fbuffer.h:5:
In file included from /Users/aravindb/.fastlane/bin/bundle/include/ruby-2.2.0/ruby.h:33:
In file included from /Users/aravindb/.fastlane/bin/bundle/include/ruby-2.2.0/ruby/ruby.h:29:
/Users/aravindb/.fastlane/bin/bundle/include/ruby-2.2.0/ruby/defines.h:26:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^~~~~~~~~
1 error generated.
make: *** [generator.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/aravindb/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/json-2.3.0 for inspection.
Results logged to /Users/aravindb/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/json-2.3.0/gem_make.out

An error occurred while installing json (2.3.0), and Bundler cannot continue.
Make sure that `gem install json -v '2.3.0'` succeeds before bundling.

I got this issue in macOS 10.15.2
I have used fastlane update_plugins to update the plugin.

Please try running fastlane run update_plugins instead of fastlane update_plugins as suggested here


LedLayout: allow dragging led corners and/or single leds

Feature request

What problem does this feature solve?
Handling non-standard Camera grabbers, possibily non linear(fisheye) lenses too.
Partially connected to #1136
What does the proposed API look like?
It's a frontend-only change.
How should this be implemented in your opinion?

When dragging a corner led, the whole layout should move. This would simply change the already available values in the Led Layout -> Advanced section (Point Top Left, Top Right, Bottom Left, Bottom Right)

When dragging non-corner leds, reposition that specific led alone, editing directly the generated/current led Configuration.

Bonus point, draw the whole contour with the mouse and redistribute the leds

Are you willing to work on this yourself?
I've got some ideas but I'm not sure my free time would allow me to :)

Iam so waiting for this feature to be implemented. You have no idea how much that would change the usability of the Hyperion. So much potential!! USB CAM as a capture right now is great but man when this is finally out. Not sure why this has not been a part of alpha10 release. I'm no coder but is it that hard to implement?

Hi again, I know it takes time and effort which i really appreciate cause without it we (community) wouldn't be able to use Hyperion. May I ask when this feature could be possible implemented?

@wube1
It is comming soon:

@Paulchen-Panther
That is fantastic news :) , thank you!!

Hi @Paulchen-Panther,
Would it be possible to add more dragging points in next release? I mean not only the corners but also mid way along the leds on each side?

Is there any possibility this can be applied to the Matrix Layout (LED Wall) also?  I'm looking to use Hyperion with WLED to create low res peripheral expansion displays off to the side walls and ceiling of a large main display.  Without having an easy adjust like this I'm going to have to locate 1800 LEDs per panel. (72x25 pixels, 500x1000mm, 75% transparent).

@W2APS would you mid sharing a sketch how the LEDs should be arranged and addressed?
It is hard to visualize from the description and would be helpful to advise on options to make it happen.

I'll do a couple of drawings tomorrow and put them on here. I think I'll need to do a physical LED layout, a virtual LED layout and the virtual layout overlaid on the video capture source. 👍


Default model needs special access

Hey,
I am trying to spin up this example but the default model needs you to request access via AWS and unless you're an enterprise it's unlikely that access will be granted. As this is an example it would make much more sense to use a base model available to anyone who has added the model access to their account so that the barrier to entry is low.
When using the default configuration you will get the following error on a standard AWS account:
2024-06-03T16:12:09.876Z	ea1bf956-215e-4a01-abae-e89fd3f5f144	INFO	ValidationException: You don't have access to the model with the specified model ID. (Service: BedrockRuntime, Status Code: 403, Request ID: 30a65748-7fad-41bf-af5a-9e0dd6b0dbe7)
    at de_ValidationExceptionRes (/var/runtime/node_modules/@aws-sdk/client-bedrock-agent-runtime/dist-cjs/index.js:1128:21)
    at de_CommandError (/var/runtime/node_modules/@aws-sdk/client-bedrock-agent-runtime/dist-cjs/index.js:1004:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20
    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/core/dist-cjs/index.js:165:18
    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38
    at async /var/runtime/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
    at async /var/task/index.js:420:22
    at async runRequest (/var/task/index.js:151:26) {
  '$fault': 'client',
  '$metadata': {
    httpStatusCode: 400,
    requestId: 'f097936d-cbe7-4dc2-a401-cf4234b7a654',
    extendedRequestId: undefined,
    cfId: undefined,
    attempts: 1,
    totalRetryDelay: 0
  }
}

If you then try to change the base model to something else you'll get a different error telling you that the base model is not supported:
2024-06-03T16:21:09.813Z	f265beec-0674-4ab8-99fd-038a53afce59	INFO	ValidationException: The model arn provided is not supported. Please check your configuration and retry the request.
    at de_ValidationExceptionRes (/var/runtime/node_modules/@aws-sdk/client-bedrock-agent-runtime/dist-cjs/index.js:1128:21)
    at de_CommandError (/var/runtime/node_modules/@aws-sdk/client-bedrock-agent-runtime/dist-cjs/index.js:1004:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20
    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/core/dist-cjs/index.js:165:18
    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38
    at async /var/runtime/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
    at async /var/task/index.js:420:22
    at async runRequest (/var/task/index.js:151:26) {
  '$fault': 'client',
  '$metadata': {
    httpStatusCode: 400,
    requestId: '15694efd-47dd-47e7-9a0f-7841c5b6a5a4',
    extendedRequestId: undefined,
    cfId: undefined,
    attempts: 1,
    totalRetryDelay: 0
  }
}

I tried meta.llama3-8b-instruct-v1:0 and amazon.titan-text-lite-v1 so maybe I've just been unlucky with picking the wrong models to use instead. If you could point me in the right direction of a model that will work or let me know where I have gone wrong that would be greatly appreciated! To change the base model I updated the file backend/lambda/query/index.js with the above models.
Thanks.

Edit: I found an alternative model that works - amazon.titan-text-premier-v1:0.

Reopening to see if there is appetite from a core reviewer to change the default model.

Thank you for your feedback - we have an item in our backlog to inject the model ID so there is flexibility to try different models without having to change code or deployment. We will share an update here after we make the change.

The latest version of the solution allows for changing the default model from the user interface. The choice includes models listed at https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html


Improving Error handling

depends on #43

Remove the DRAFT. Note that drivers/driver.ts does not currently conform to the following function signature:
uploadFile: (fileBytes: any, filename: string) => Promise<UploadSuccess | UploadError>

It will take some time to consider the potential repercussions on the FS Driver.

Instead of using nested if/else in api.ts, it should be more readable using early return strategy. To do this, it's necessary insert status property in AuthError type.


GraphQL Operation Detail Page

Client, samples, timings and so on.

Currently, we only show the following when clicking on a GraphQL operation in the Operations tab of a target:

We should answer the following questions

Which clients and which client versions execute this operation
What is the overall latency for this specific Operation (same information as in list view)
What is the overall latency for this specific Operation (over time?)
Failure rate over time
Requests over time


Prep commits to hiding sidebars.

Main things to test are spectator and logged in user at various widths.

I think my conclusion from https://github.com/zulip/zulip/pull/29331#pullrequestreview-1944018317 is that we likely will want a follow-up tweak to clean up the CSS for that corner to not be a weird absolutely positioned thing that slides under the center panel of the navbar (adding back in display: none), but that seems reasonable as part of the rest of this project, and this PR doesn't regress anything, so merged, thanks @amanagr!

Thanks, I will make that change.


KAFKA-15504: Upgrade snappy java to version <IP_ADDRESS>

The version <IP_ADDRESS> contains a Fix of CVE-2023-43642
and As mentioned on the release notes of the library https://github.com/xerial/snappy-java/releases/tag/v<IP_ADDRESS>  Fixed SnappyInputStream so as not to allocate too large memory when decompressing data with an extremely large chunk size
and much dependencies updates
Committer Checklist (excluded from commit message)

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

Thanks for the PR, @bmscomp !
There a couple of test failures that seem related to the upgrade.
https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-14450/1/
Notice the test failures with codec=snappy.

Hey @bmscomp
We already have a prior PR and JIRA (https://issues.apache.org/jira/browse/KAFKA-15498) for this change https://github.com/apache/kafka/pull/14434
I am going to close this PR as duplicate. Please feel free to provide review on the other PR.

Thank you @divijvaidya for closing this pull request