Report Generator Required

Love this tool!  However, as a DevOps engineer I would like to integrate this as part of my pipeline - but there is no report generation feature that I would integrate part of automation.
Unless I am mistaken, does this feature exist?

I don't think that this tool is a good fit for pipeline. Ideally you would want to run something as a service in the pipeline. I would expect that there are already some existing tools (like cadvisor) for this. Plus you would want to have something where you could set you thresholds so you can fail the build etc.
Maybe what could help would be to split the project into different projects, one just pure UI, second backend? Or just user docker api for your use cases? looks like they will be very specific?

Okay thanks. I'll look for other tools.


MySQL allows integer interval values

The usual format for an interval is INTERVAL 'value' unit, but MySQL allows 'value' to be an expression that is either a string or a number. For example:
SELECT DATE_SUB('2018-05-01',INTERVAL '1' YEAR);
SELECT DATE_SUB('2018-05-01',INTERVAL 1 YEAR);

both return 2017-05-01. Currently, the latter syntax is not supported.

I am running into this issue as well. mysql also allows for referencing columns in the unit part of the interval.

ClickHouse is the same, it supports INTERVAL 1 HOUR without requiring the 1 to be quoted. https://clickhouse.com/docs/en/sql-reference/operators/#interval


Release: v0.5.1

Lets add a change description of things included.

Added. Additionally, the change descriptions are held in the actual release automatically (thanks github). https://github.com/lyft/flytekit/releases/tag/v0.5.1


Add support for retrieving dynamodb resources

Added a new namespace option to gather dynamodb resources (table names).

sweet. I'll check this out soon.


docs(appointmentsRouter.js): appointment schema added swagger docs

Description
Add Appointment endpoints documentation to swagger docs

[x] Schema
[x] GET /appointment
[x] GET /appointmnet/:appointmentId
[x] POST /appointment
[x] PUT /appointmnet
[x] DEL /appointment/:appointmentId

Type

[ ] This is a bugfix.
[ ] This is a new feature.
[x] This is part of a feature.

Organization

[ ] Have you linked this pull request to a Trello card?
[ ] Have you named the branch in the format of feature/describe_feature_or_change OR bug/describe_bug_this_is_fixing

Review

[x] Is this a work in progress?
[ ]  Is this ready to be reviewed?
[ ]  Have you added two reviewers to this pull request?

 Update Swaggers Docs with Appointments Endpoints Documentation

 Update Swaggers Docs with Appointments Endpoints Documentation


Add pagination to responses

The linter throws the following error:
$ npm run build openapi/data-node/openapi.yaml

><EMAIL_ADDRESS>build /mnt/c/Users/thoma/Documents/dev/nlp-sandbox-schemas
> openapi bundle -o dist $npm_config_entrypoint "openapi/data-node/openapi.yaml"

sh: 1: openapi: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR<EMAIL_ADDRESS>build: `openapi bundle -o dist $npm_config_entrypoint "openapi/data-node/openapi.yaml"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/tschaffter/.npm/_logs/2020-10-06T22_38_00_191Z-debug.log

Getting idea for the previous and next page links from:

https://developer.atlassian.com/server/confluence/pagination-in-the-rest-api/
https://swagger.io/docs/specification/links/

Implementation should return X-Total-Count for the total number of counts. Should this be documented here?https://stackoverflow.com/questions/3715981/what-s-the-best-restful-method-to-return-total-number-of-items-in-an-object

Currently we require the user to send a note (id and text) as input to get the date annotation. We do not want to send the note text!


Unable to create thumb of gif file type

This error message is coming : cannot be displayed because it contains errors.

I can create thumbs of GIFs without issue here, so I'm thinking this is a different issue.
Could you upload the GIF somewhere in it's original form and post the URL please? Also, try checking your PHP error log to find out exactly what the error is, and please paste this in here too.

I was trying this file: http://fc07.deviantart.net/fs71/f/2012/212/5/2/tumblr_background___loki___avengers_edition_by_miratheracusia-d57swys.gif
You can download and then try for thumbnail

I have no issue creating a thumb of this image.
One thing to look out for is the file permissions, make sure PHP has the ability to read the file. When I download from Chrome, it sets read access to no access for all users but me, so this could be what's happening.

Now, I have given all permissions but still giving me this error...
The image “http://localhost/Thumb/thumb.php?src=./images/picgif.gif&size=400x300” cannot be displayed because it contains errors.
Do you have any online demo page ? I will try to upload for you to test on my server.

ok. Now It is working.

thanks

It was generated in crome but not in firefox.
http://localhost/Thumb/thumb.php?src=./images/picgif.gif&size=400x300
same url but work in crome and It is not working in firefox

Try this: remove all files within the cache directory and reload.
Also, clear browser cache if you can.
If still not working then look at your PHP error logs as this will show you exactly what the error is.

Ok. working with removed cache files by cache folder. thanks :)


Add formatting workflow

Add a new workflow that should format a PR when a message is "!format"
Further testing by others is needed.

I still think this should be a workflow_dispatch workflow.

Are workflow_dispatchs accessible by normal people?

If they enable GitHub actions on their fork. Do they need to do that anyways for this to work?

As it currently works, when the comment command is said, actions will auto format the PR, in theory. I haven't done extensive testing, so I'd like if others actually tried.

As it currently works, when the comment command is said, actions will auto format the PR, in theory. I haven't done extensive testing, so I'd like if others actually tried.

i don't think actions would allow committing on a user's branch without them enabling actions (see also: sa's autoformat action which i'm pretty sure you do have to enable actions for)

Ok, will just merge it and see what happens
For your reference there were a few problems with the original code

missing write contents permission (this entire organization is readonly by default)
${{ }} inside shell script allows arbitrary shell code execution
not filtering to just pull request comments

Great, this will help so much!

Great, this will help so much!

Wait, but how do I use this

Great, this will help so much!

Wait, but how do I use this


Fixes connection leak and endless loop when context error is deadline exceeded (context with timeout)

I ran onto an issue where I created repeating cancellable mDNS lookups.
I was using a context.WithTimeout to lookup DNS-SD entries but the read loop only checked for context.Cancelled which resulted in an endless loop when the error function return context. DeadlineExceeded.
I changed the context check to any error value as the function should always stop regardless of the error reason on the context.
Additionally I noticed that you are not closing the net.UDPConn used to create the PacketConns op. These are not closed automatically when closing these PacketConns.
This PR will likely close issue #32. It did for us.

Looks good to me. Thanks for the fix.


Queue grid - fix icons and perform action on item click

The "icon_code" field is now available via the queue endpoint.  Also, when a grid item is clicked, go to a filtered view of the jobs grid (like how the "Running" grid works).

Closed by #242


Using driftscan to do power spectrum estimation

@dcrichton Hi Devin
Would you be able to share the config file to run driftscan for PS estimation?

From #10, power spectrum estimation is part of draco, correct?

Yes, ps estimation is done using draco, as shown in the config_draco_ps.txt file attached in #10


Build failure when using XCC toolchain

Describe the bug
With commit 9c2ac778612da408900ff73feb7310a01634dd46, XCC is invoked with -nostdinc flag and this causes compilation errors. The -nostdinc flag seems to make XCC not look for header files in XtensaTools/xtensa-elf/include
To Reproduce
Steps to reproduce the behavior:

cd $ZEPHYR_BASE/tests/boards/intel_s1000_crb
mkdir build; cd build
cmake -DBOARD=intel_s1000_crb ..
make
See error

Expected behavior
Build successful
Impact
Can no longer build using XCC
Screenshots or console output
../../../../../include/toolchain/xcc.h:21:32: error: xtensa/config/core.h: No such file or directory
../../../../../arch/xtensa/include/xtensa_context.h:26:34: error: xtensa/config/tie.h: No such file or directory
../../../../../arch/xtensa/include/xtensa_context.h:27:32: error: xtensa/corebits.h: No such file or directory
../../../../../arch/xtensa/include/xtensa_context.h:28:37: error: xtensa/config/system.h: No such file or directory
../../../../../arch/xtensa/include/xtensa_context.h:29:40: error: xtensa/xtruntime-frames.h: No such file or directory

Environment (please complete the following information):

OS: Linux
Toolchain: Xtensa
Commit SHA or Version used: 9c2ac778612da408900ff73feb7310a01634dd46

Additional context
Temporarily removing -nostdinc flag for experimentation made the build successful.

this should fix it: #13675


Tempo metadata?

Hello.  Where can I find tempo information for the songs in FMA?  I wasn't able to find any in the metadata.

I didn't compute tempo features. It should be easy to modify the compute_features function in features.py to compute them with librosa (or any other library) and add them to the features.csv table. If you do, please share the code in a PR and the computed features!


M5Paper wakes too soon from deep sleep when touch wakeup is enabled - with solution

When I call M5.Power.deepSleep(10 * 1000000, true) on the M5Paper, the deep sleep always ends after around 2 seconds with esp_sleep_get_wakeup_cause() == ESP_SLEEP_WAKEUP_EXT0. I think this is because the behavior of GPIO pin 36 is not as PowerClass::deepSleep() expects. If I remove the call to esp_deep_sleep_start() and instead monitor the state of pin 36 for a while, I see it going from HIGH to LOW after about 2 seconds and then staying there. This is what triggers the ext0 wakeup. I have solved this by creating my own version of deepSleep() with 2 modifications:

After calling M5.Display.sleep() I add M5.Display.waitDisplay().
Inside the while (m5gfx::gpio_in(wpin) == false) loop, I add M5.update(), as suggested here: https://community.m5stack.com/topic/5802/m5paper-touchscreen-wakeup-on-gpio-36-constantly-triggering

I can confirm that with these two changes, deepSleep with touch wakeup works as expected, and when I remove either of these two changes, it reverts to its erroneous behavior.
I do notice that all this adds around another 4 seconds before esp_deep_sleep_start() is actually called, so if the wakeup timing needs to be precise, perhaps some adjustment of the remaining micro_seconds would be in order, but that is not a decision for me to make.
Hope this helps!

Hello, @sbesselsen
I am sorry for the late response. Thank you for giving me this information.
Since the develop branch has been updated, if there are no problems, it will be reflected in the next update release.

I assume this has been resolved; there have been several releases since. If so, the ticket can be closed as resolved.


boolean index did not match indexed array

Hi,
After running main.py, I get the following error:
Traceback (most recent call last):
File "./main.py", line 67, in
test_error = knn(X_train, X_test, y_train, y_test, methods[method], C, n_neighbors=7)
File "HOTT/knn_classifier.py", line 25, in knn
doc_to_train = [method(doc, x, C) for x in X_train.T]
File "HOTT/knn_classifier.py", line 25, in
doc_to_train = [method(doc, x, C) for x in X_train.T]
File "HOTT/hott.py", line 11, in hott
C_reduced = C[id_p][:, id_q]
IndexError: boolean index did not match indexed array along dimension 1; dimension is 70 but corresponding boolean dimension is 552
Any pointers on how to resolve this issue are appreciated.
Best,
Raja

You should change line 39 of main.py file to bow_train, bow_test, y_train, y_test = train_test_split(bow_data, y)

Same error after changing line 39 to:
bow_train, bow_test, y_train, y_test = train_test_split(bow_data, y)
Traceback (most recent call last):
File "./main.py", line 67, in
test_error = knn(X_train, X_test, y_train, y_test, methods[method], C, n_neighbors=7)
File "HOTT/knn_classifier.py", line 25, in knn
doc_to_train = [method(doc, x, C) for x in X_train.T]
File "HOTT/knn_classifier.py", line 25, in
doc_to_train = [method(doc, x, C) for x in X_train.T]
File "HOTT/hott.py", line 11, in hott
C_reduced = C[id_p][:, id_q]
IndexError: boolean index did not match indexed array along dimension 1; dimension is 70 but corresponding boolean dimension is 552

You might also need to change the knn_classifier.py line 25
doc_to_train = [method(doc, x, C) for x in X_train.T]
->
doc_to_train = [method(doc, x, C) for x in X_train]

Unfortunately, the predict(neighbor_classes, C) function in knn_classifier.py is still mistakes and may not work. I made a simple change that worked,
`def predict(neighbor_classes, C):
# Make sure all classes are considered
labels = np.concatenate((neighbor_classes, list(range(C))))
# Find class frequency among neighbors
labelclass = np.unique(labels, return_counts=True)
weights = labelclass[1]
# Find most popular class
prediction = labelclass[0][np.argmax(weights)]
# If most popular class is ambiguous try with fewer neighbors; else return
# if sum(weights[prediction] == weights) > 1:
#     return predict(neighbor_classes[:-2], C)
# else:
#     return prediction
return prediction`

but it was a bit different from what the author intended:
# If most popular class is ambiguous try with fewer neighbors;Else return)
I didn't implement this.
Please let me know if you fix this problem.

By the way, hott(p, q, C, threshold=None)  has a problem, so you can use the def hoftt(p, q, C) model first.


algorithm rsa not supported for create key

I'm using the docker images 0.6.1-2. By the way any reason why the most recent docker image is 2 years old? Any specific reason why the 0.7.0 hasn't been pushed? Not important for me right now though just wondering.
I tried :
notary -s https://notary-server.notary:4443 -d ~/.docker/trust --tlscacert notaryfixtures/root-ca.crt init private-registry.local:30005/collection

I get this output:

Root key found, using: bab92a2c19d9eee89252396686e88f98e479e6d4846f3b836bac03aba4d9a747
Enter passphrase for root key with ID bab92a2:
Enter passphrase for new targets key with ID 09d2db7:
Repeat passphrase for new targets key with ID 09d2db7:
Enter passphrase for new snapshot key with ID b4cda61:
Repeat passphrase for new snapshot key with ID b4cda61:

* fatal: unable to reach trust server at this time: 500.

When I checked the logs of notary-server I find this relevant bit:
{"go.version":"go1.12.8","http.request.host":"notary-server.notary:4443","http.request.id":"ecb5e20f-9ea9-4963-94a9-40551bbced9c","http.request.method":"GET","http.request.remoteaddr":"<IP_ADDRESS>:51876","http.request.uri":"/v2/private-registry.local:30005/collection/_trust/tuf/timestamp.key","http.request.useragent":"Go-http-client/1.1","level":"error","msg":"unknown: unknown error: rpc error: code = 2 desc = algorithm rsa not supported for create key","time":"2021-04-12T10:38:01Z"}

I'm indeed using rsa for the certificates, but since it's an option I don't understand why it would completely prevent me from using notary. Why am I getting : algorithm rsa not supported for create key ?
If I change trust_service.key_algorithm from "rsa" to "ecdsa" then my root ca isn't recognized and notary-server isn't functional.
Also is there any way to completely disable notary's TLS?
In case you need my conf:

server-conf

    {
      "server": {
        "http_addr": ":4443",
        "tls_key_file": "/tls/notary-server.key",
        "tls_cert_file": "/tls/notary-server.crt"
      },
      "trust_service": {
        "type": "remote",
        "hostname": "notary-signer.notary",
        "port": "7899",
        "tls_ca_file": "/tls/root-ca.crt",
        "key_algorithm": "rsa",
        "tls_client_cert": "/tls/notary-server.crt",
        "tls_client_key": "/tls/notary-server.key"
      },
      "logging": {
        "level": "debug"
      },
      "storage": {
        "backend": "postgres",
        "db_url": "postgres://postgres:postgres@postgres5432/notaryserver?sslmode=disable"
      },
      "caching": {
        "max_age": {
          "current_metadata": "300",
          "consistent_metadata": "31536000"
        }
      },
      "repositories": {
        "gun_prefixes": ["docker.io/","private-registry:30005/", "private-registry.local:30005/"]
      }
    }

signer-conf

    {
      "server": {
        "grpc_addr": ":7899",
        "tls_cert_file": "/tls/notary-signer.crt",
        "tls_key_file": "/tls/notary-signer.key",
        "client_ca_file": "/tls/root-ca.crt"
      },
      "logging": {
        "level": "debug"
      },
      "storage": {
        "backend": "postgres",
        "db_url": "postgres://postgres:postgres@postgres5432/notarysigner?sslmode=disable",
        "default_alias": "alias"
      }
    }

Notary dropped support for RSA key generation in 2017, however RSA keys can still be imported: https://github.com/theupdateframework/notary/pull/1191
Similar issue: https://github.com/theupdateframework/notary/issues/1277

But since you kept RSA key external support, then can I manually create my keys for init collection? So I can avoid this error.

@DrissiReda I am not a maintainer of Notary, but I think you can init a collection with keys like this:
notary init example.com/collection --rootkey /path/to/root-key.key --rootcert /path/to/root-key.crt


user-route.js needs to be linted

Eslint is saying that this file has 113 errors:
✖ 113 problems (113 errors, 0 warnings)
  102 errors, 0 warnings potentially fixable with the `--fix` option.

Found using: npm run lint

Code was linted


Fix got3 TweetManager.py

Hello,
thank you for python3 (experimental) version of this software.
I inform you about a couple of lines with "urllib2" to fix in the got3 file
GetOldTweets-python/got3/manager/TweetManager.py

I just submitted a fix for that file.

This program is really awesome. Thank you Jefferson!
As Dimesio and harryDevPy mentioned, for Python3 users the got3 file has urllib2 in about 4 places rendering the program unusable for python3 users. For more information on why urllib2 is not used in python3 please see https://stackoverflow.com/questions/2792650/python3-error-import-error-no-module-name-urllib2
line 121 should be replaced with:
opener = urllib.request.build_opener(urllib.request.ProxyHandler({'http': proxy, 'https': proxy}), urllib.request.HTTPCookieProcessor(cookieJar))
line 123 should be replaced with:
opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cookieJar))

@shola-lawal your tip was very helpful, but this project seems to be abandoned by the developers.

@shola-lawal your tip was very helpful, but this project seems to be abandoned by the developers.


OptionButton's popup should offset when showing so the selection is visible

Godot 3.0.2
Hello, this is a request for a minor improvement to OptionButton's behavior.  For large lists where the popup is larger than the viewport, the user can use the mouse wheel to scroll through the options, as expected.  However, the user must scroll to find the option they previously selected from the initial offset each time they spawn the popup.  It would be helpful if the popup "remembered" the previous scroll offset, or in lieu of that, OptionButtons could automatically offset popups larger than their parent viewport to make the current selection visible without scrolling.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Folly-<IP_ADDRESS> fails to build

I'm trying to build Folly-<IP_ADDRESS> using cabal and GHC 7.8.3. It fails with
src/Folly/Resolution.hs:9:8:
    Could not find module ‘Folly.Theorem’
    Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
Folly-<IP_ADDRESS> failed during the building phase. The exception was:
ExitFailure 1

I fixed some issues related to implementation of Monad/Applicative in the Error datatype and put a new version (labeled <IP_ADDRESS>) on github and hackage. The package version does not show up yet (for me at least) when I try to do cabal install Folly, but when I do:
mkdir dummy
cd dummy
git clone https://github.com/dillonhuff/Folly.git
cd Folly
cabal install
The package installs correctly. Bear in mind that I am using ghc-7.10.2 for OS X.
Let me know if that fixed the problem.

I've upgraded my GHC to 7.10.2 but it still does not build when I run
cabal install Folly. See below
src/Folly/Resolution.hs:9:8:
     Could not find module ‘Folly.Theorem’
     Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
Folly-<IP_ADDRESS> failed during the building phase. The exception was:
ExitFailure 1

If I clone the git repo and run cabal install as you suggested then it
builds. I think there is a problem with the package on Hackage.
Ruben
On 30 Aug 2015, at 12:14, dillonhuff wrote:

I fixed some issues related to implementation of Monad/Applicative in
the Error datatype and put a new version (labeled <IP_ADDRESS>) on github
and hackage. The package version does not show up yet (for me at
least) when I try to do cabal install Folly, but when I do:
mkdir dummy
cd dummy
git clone https://github.com/dillonhuff/Folly.git
cd Folly
cabal install
The package installs correctly. Bear in mind that I am using
ghc-7.10.2 for OS X.
Let me know if that fixed the problem.

Reply to this email directly or view it on GitHub:
https://github.com/dillonhuff/Folly/issues/2#issuecomment-136073088

After a few more fixes to the .cabal file things now build when I do
cabal install Folly
Let me know if you still have build problems.

It does build now. There is another problem, however. Resolution does
not seem to work. That is, unless I'm missing something. Here's an
example.
module FollyTest where

import Folly.Formula
import Folly.Resolution
import Folly.Theorem

-- This says that all groups are commutative.
-- It should be False.
-- Instead I'm getting True.
test = isValid non_thm

non_thm = theorem groupWithEquals (fa (var "x") (fa (var "y") (pr "="
[func "*" [var "x",var "y"],func "*" [var "y",var "x"]])))

equalityAxioms :: [Formula]
equalityAxioms =
   [(fa (var "x") (pr "=" [var "x", var "x"])),
    (fa (var "x") (fa (var "y") (imp (pr "=" [var "x", var "y"]) (pr "="
[var "y", var "x"])))),
    (fa (var "x") (fa (var "y") (fa (var "z") (imp (con (pr "=" [var
"x", var "y"]) (pr "=" [var "y", var "z"])) (pr "=" [var "x", var
"z"])))))]

groupWithEquals =
   [(fa (var "x") (te (var "y") (con (pr "=" [func "*" [var "x", var
"y"], constant "1"]) (pr "=" [func "*" [var "y", var "x"], constant
"1"])))),
    (fa (var "x") (fa (var "y") (fa (var "z") (pr "=" [func "*" [var
"x", func "*" [var "y", var "z"]], func "*" [func "*" [var "x", var
"y"], var "z"]])))),
    (fa (var "x") (con (pr "=" [func "*" [var "x", constant "1"], var
"x"]) (pr "=" [func "*" [constant "1", var "x"], constant "x"])))] ++
equalityAxioms

Ruben
On 31 Aug 2015, at 8:12, dillonhuff wrote:

After a few more fixes to the .cabal file things now build when I do
cabal install Folly
Let me know if you still have build problems.

Reply to this email directly or view it on GitHub:
https://github.com/dillonhuff/Folly/issues/2#issuecomment-136206660

Yes, that appears to be a bug. I will let you know when I have fixed it.

I believe the bug is fixed. It was caused by Skolem function name collision in the preprocessor. The example you gave now seems to take forever to run, so it is not possible to know for sure, but since SAT for FOL is only semi-decidable this is a danger that "comes with the territory".
If you come across any other problems please open a new issue and let me know.
Thanks!


FW: Investigate on gains for altitude change

User found that airplane reacted very slowly to 100% pitch commands in altitude control mode.

Tuning guidance is here:
https://pixhawk.org/firmware/parameters#fixed_wing_tecs

@LorenzMeier This is good, especially since we have the climbout mode.


Can't install Xenko

Hey everyone, I was having errors when installing Xenko and I have retried a countless amount of times... Here's the error log thing:
An error occurred while installing version <IP_ADDRESS>-beta01-0318.
Failed to retrieve information about 'Xenko.Assets' from remote source 'https://api.nuget.org/v3-flatcontainer/xenko.assets/index.json'.
Value cannot be null. Parameter name: packageDownloader at NuGet.Packaging.PackageExtractor.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Commands.ProjectRestoreCommand.d13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Commands.ProjectRestoreCommand.<>cDisplayClass12_1.<b2>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Commands.ProjectRestoreCommand.d12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Commands.ProjectRestoreCommand.d8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Commands.RestoreCommand.d47.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Commands.RestoreCommand.d32.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xenko.Core.Packages.NugetStore.d__50.MoveNext() --- End of stack trace from previous location where exception was thrown ---
Could you guys please help? Xenko looks like a cool game engine

Yeah, I get that Json data. And I just tried installing it again and got a different error:
An error occurred while installing version <IP_ADDRESS>-beta01-0318.
Failed to download package 'Xenko.Core.BuildEngine.Common.<IP_ADDRESS>-beta01-0318' from 'https://api.nuget.org/v3-flatcontainer/xenko.core.buildengine.common/<IP_ADDRESS>-beta01-0318/xenko.core.buildengine.common.<IP_ADDRESS>-beta01-0318.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/xenko.core.buildengine.common/<IP_ADDRESS>-beta01-0318/xenko.core.buildengine.common.<IP_ADDRESS>-beta01-0318.nupkg' has timed out after 100000ms.
Unable to find package 'AvalonEdit.5.0.2'. at NuGet.Protocol.FindPackagesByIdNupkgDownloader.d6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource.d7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Commands.SourceRepositoryDependencyProvider.d22.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Commands.SourceRepositoryDependencyProvider.<>cDisplayClass21_0.<b0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.Commands.SourceRepositoryDependencyProvider.d21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.DependencyResolver.ResolverUtility.d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGet.DependencyResolver.ResolverUtility.d1.MoveNext()
And my internet is working fine. I can go on the web and watch Youtube, etc.

Looks more and more like a network issue. There could be lots of reason why this happens: antivirus filtering/scanning that slows down the download, restrictions at the internet provider level, specific routing issues in your area, server cache issues at nuget level, a combination of the aforementioned...
Not much we can do on our end unfortunately. @xen2 can we increase the timeout or add more retries. Also wondering if the version of the nuget client could be a factor (do we make sure it is installed with the prerequisites?).

K, well I guess I'll try later on. Thanks for your help

I'm having the same issues.

Can someone having the issue please try again with latest launcher 3.0.7?
It should display the full nuget log.
Thanks!

Attaching log from discord:
XenkoLauncherLog.txt

I got this on trying to update to 3.0.09:
An error occurred while installing version <IP_ADDRESS>.

Received an unexpected EOF or 0 bytes from the transport stream.
[21:06:16] Info:   GET https://packages.xenko.com/api/v2/package/xenko/<IP_ADDRESS>
[21:06:16] Info:   OK https://packages.xenko.com/api/v2/package/xenko/<IP_ADDRESS> 79ms
[21:06:31] Minimal: Failed to download package 'Xenko.<IP_ADDRESS>' from 'https://packages.xenko.com/api/v2/package/xenko/<IP_ADDRESS>'.
Received an unexpected EOF or 0 bytes from the transport stream.
[21:06:31] Info:   GET https://packages.xenko.com/api/v2/package/xenko/<IP_ADDRESS>
[21:06:31] Info:   OK https://packages.xenko.com/api/v2/package/xenko/<IP_ADDRESS> 80ms
[21:07:14] Error: Failed to download package 'Xenko.<IP_ADDRESS>' from 'https://packages.xenko.com/api/v2/package/xenko/<IP_ADDRESS>'.
Received an unexpected EOF or 0 bytes from the transport stream.
[21:07:14] Info:   GET https://api.nuget.org/v3-flatcontainer/xenko/index.json
[21:07:14] Info:   GET https://packages.xenko.com/nuget/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0
[21:07:14] Info:   GET https://www.myget.org/F/avalonia-ci/api/v2/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0
[21:07:14] Info:   GET https://www.myget.org/F/xamlbehaviors-nightly/api/v2/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0
[21:07:14] Info:   OK https://packages.xenko.com/nuget/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0 316ms
[21:07:14] Info:   OK https://www.myget.org/F/xamlbehaviors-nightly/api/v2/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0 330ms
[21:07:14] Info:   OK https://www.myget.org/F/avalonia-ci/api/v2/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0 332ms
[21:07:14] Info:   CACHE https://packages.xenko.com/nuget/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0
[21:07:14] Info:   CACHE https://www.myget.org/F/xamlbehaviors-nightly/api/v2/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0
[21:07:14] Info:   CACHE https://packages.xenko.com/nuget/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0
[21:07:14] Info:   CACHE https://www.myget.org/F/avalonia-ci/api/v2/FindPackagesById()?id='Xenko'&semVerLevel=2.0.0

Exception

Unable to find package 'Xenko.<IP_ADDRESS>'.
   at NuGet.Protocol.FindPackagesByIdNupkgDownloader.<GetNuspecReaderFromNupkgAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Protocol.RemoteV2FindPackageByIdResource.<GetDependencyInfoAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Commands.SourceRepositoryDependencyProvider.<GetDependenciesCoreAsync>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Commands.SourceRepositoryDependencyProvider.<>c__DisplayClass21_0.<<GetDependenciesAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Commands.SourceRepositoryDependencyProvider.<GetDependenciesAsync>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.DependencyResolver.ResolverUtility.<CreateGraphItemAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.DependencyResolver.ResolverUtility.<FindLibraryEntryAsync>d__1.MoveNext()

I am facing a similar scenario.. I have a Window App Targeting 4.7.2, and by adding nuget Xenko.Engine I get this Error
Severity	Code	Description	Project	File	Line	Suppression State
Error		Could not install package 'Xenko.Core.IO <IP_ADDRESS>-beta02-0752'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Do i miss installation of any additional framework library??!!


[Box] Forward props into cloned element

[x] I have followed (at least) the PR section of the contributing guide.

@oliviertassinari I'm opening the PR based on discussion https://github.com/mui-org/material-ui/issues/16475#issuecomment-517996096
Closes #16475

@RostyslavKravchenko Well done! This is a great first pull request on Material-UI. Thanks for working on it 👍


quickstart script for LLC codegen

sample

python eng/mgmt/automation/generate_data.py --input-file=https://github.com/Azure/azure-rest-api-specs/blob/main/specification/purview/data-plane/Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json --group=purview --module=azure-analytics-purview-account --credential-types=tokencredential --credential-scopes=https://purview.azure.net/.default

Similar to generate.py for mgmt.
It might not be a good practice to put in mgmt folder, but let us just leave it for a while, so see how many code we are able to share.

Documented here on how to use https://github.com/Azure/azure-sdk-for-java/wiki/Protocol-Methods-Quickstart-with-AutoRest
It needs next release of azure-core and autorest/java to fully work.

Sample generated module from the script https://github.com/Azure/azure-sdk-for-java/pull/25233

Similar to generate.py for mgmt.
It might not be a good practice to put in mgmt folder, but let us just leave it for a while, so see how many code we are able to share.

@weidongxu-microsoft is there a way to actually combine these into one configuration? We should share as much as possible between mgmt and data and if there is unique work we can split it but if possible in the end I'd like us to only have one swagger_to_sdk config and handle the split in the generate script as necessary.

@weshaggard
Agree that we should have single entry point from swagger_to_sdk config. That will be the generate.py. I will try find time later to let it handle data-plane as well (hence it might just all method in generate_data.py if it find it is data-plane swagger).
So far there is very little duplicate code in generate_data.py, and as a script for dev (instead of one invoked from swagger pipeline), it has different parameters to set. Therefore for this particular usage, we still wish to have a different script.

Thanks for the context and I'm fine with having wrapper scripts to make consumption easier for local devs. I just want to make sure we aren't duplicating more than we need to across the different scenarios.


Refactor/airbnb eslint

:tada: This PR is included in version 2.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Introduce default directory

dvclive.error.InitializationError: Initialization error - call `dvclive.init()` before `dvclive.log()`

Why don't we use a default dir if it is not set up explicitly?

Reopening, clearly the fix did not do a trick, since we discuss in https://github.com/iterative/dvc/discussions/5614 what to do when logs dir is not initialized. cc @dberenbaum


Misplaced includes causing build errors

In the following file, string is included within the uWS namespace which is causing me many issues in VS.  Works fine if moved above the namespace declaration: https://github.com/uNetworking/uWebSockets/blob/master/src/AsyncSocketData.h#L25
The zlib include is included outside of the UWS_NO_ZLIB ifdef, so build fails even if UWS_NO_ZLIB since it still looks for the header:
https://github.com/uNetworking/uWebSockets/blob/master/src/PerMessageDeflate.h#L23

Do you mind creating a PR?


Updated for dotnet2.0 building, published package

@fearthecowboy,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Windows 10 GetScreenSize too small

Robotgo version (or commit ref):

Go version: go version go1.10.1 windows/amd64

Gcc version: gcc version 7.3.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)

Operating system and bit: Windows 10, 64-bit

Can you reproduce the bug at Examples:

[X] Yes (provide example code)
[ ] No
[ ] Not relevant

Provide example code:

import "github.com/go-vgo/robotgo"

func main() {
	width, height := robotgo.GetScreenSize()
	bitmap := robotgo.CaptureScreen(0, 0, width, height)

	robotgo.SaveBitmap(bitmap, "test.png")

	bitmap = robotgo.CaptureScreen()

	robotgo.SaveBitmap(bitmap, "test2.png")
}

Description
I'm trying to take a picture of the entire screen, I try to do that by calling GetScreenSize and passing
that as the args to CaptureScreen, but as you can see from the attached test.png and correct.png, that's not the correct size.

I tested normally on Windows 7, and this is using a method. I will test it on windows 10.

I tested on window10, and it works. Closing because there is no obvious robotgo problem( On my computer windows7 & windows10 64bit is normal). If you are convinced there is a robotgo problem, please tell us precisely how we can reproduce the problem ourselves.

What is your screen size and resolution?

I added the GetScaleSize method on windows.

If you set scale, please use the following code, currently only valid for windows:
package main

import (
   "fmt"

   "github.com/go-vgo/robotgo"
)

func main() {
	width, height := robotgo.GetScaleSize()
        fmt.Println("GetScreenSize: ", width, height)

	bitmap := robotgo.CaptureScreen(0, 0, width, height)
	robotgo.SaveBitmap(bitmap, "test.png")

        s := robotgo.Scale()
	bit1 := robotgo..CaptureScreen(0, 0, 35* s / 100, 25* s / 100)
	robotgo.SaveBitmap(bit1, "test2.png")
}


genprefix() incorrect for some very large values

While adding examples to the README, I noted that
genprefix(UINTMAX_MAX, 1, out, 1, 1024, 'i');  ---> "15.99E"
but it is not true :/. This call actually returns 15.10. Similarly, we seem to think that 7.10 * 250 == 263-1 (INTMAX_MAX).

Weirdly, if we pass omitdec==1, it calculates INTMAX_MAX to be 8Ei properly. With omitdec==0, we get 7.100E.
For that matter, since when do we print three sigfigs of mantissa?!

ohhhhhhhhhhhhhhhhh that represents a "mantissa" of 1.00, doesn't it? and thus 7.00 + 1.00 == 8.00. yeah that's what's going on.


Remove RFC note

I think this is no longer needed?

I would agree. Since you still cannot use this without the addon, the RFC might not be relevant.

@briangonzalez if it's cool with you, this is fine with me.

Going ahead and merging. @briangonzalez if we didn't want this, feel free to revert!


Just a test to see if Travis is OK

Remember to squash the commits later.

I am closing this.
@posijon you can easily resubmit.


Gateway registration expires using fedimint-cli

I was able to reproduce this both on devimint and on production. After you join a federation, you can get:
$ fedimint-cli list-gateways
[
  {
(...)
    "vetted": false,
    "ttl": {
      "secs": 459,
      "nanos": 806087508
    }
  }
]

But after some minutes, the ttl will go to zero and never come back again:
$ fedimint-cli list-gateways
[
  {
(...)
    "vetted": false,
    "ttl": {
      "secs": 0,
      "nanos": 0
    }
  }
]

$ fedimint-cli --version
fedimint-cli 0.3.0-rc.3

This works as expected on fedimint-cli 0.2.2

The client historically only updated gateways on demand when an LN invoice was to be generated or paid. Now that gateway selection in the CLI isn't done automatically anymore (to be fixed https://github.com/fedimint/fedimint/issues/4797#issuecomment-2031412587) the cache becomes stale after a while.
@maan2003 it will be interesting to see the impact of your gateway caching PR here, most of the time fedimint-cli might not run for long enough, but I think forced updates still happen when fetching gateways from an outdated cache.

Closed by #4919


How to run speed benchmarks?

I'm trying to benchmark a change that i've made in the project, but i'm having issues getting the benchmark to run.
$ ruby benchmark/levenshtein/speed.rb
... stack trace
benchmark/levenshtein/speed.rb:9:in `block (2 levels) in <main>': undefined method `before_distance' for DidYouMean::Levenshtein:Module (NoMethodError)

I tried using different ruby versions, going to commits from years ago but still cannot get it to work. I'm guessing that those methods are coming from a gem somewhere? Any help would be appreciated 👏

I just add a little more documentation around benchmarking. Would you mind taking a look at this and letting me know if anything is unclear? The script seemed a little old and I left that code without rolling back to what it should have looked like.

Oh!Thank you so much, those docs are great and resolve my issue. Thank you!!


BIM and IFC comparison

Hey guys! I just want to start by saying that your work is awesome! However (here it comes!) I think it is important to have a more comprehensive comparison of dotbim and IFC so that people understand the strengths of each and know which to use for their purpose. The table seemed a little simplistic right now. Would you be interested in updating the README comparison table with some of these differences?

Serialisation. dotbim is JSON only. IFC is serialisation agnostic, including SPF, JSON, XML, HDF5, TTL, SQLITE, ZIP. Obviously the latter adds complexity (both docs and implementation) in exchange for portability.
Schema definition. dotbim seems to be described with C#. This is great for those in the C# ecosystem and comes with the lib prepackaged. Outside, especially on Linux, perhaps not so fun. IFC is defined in EXPRESS, UML, and OWL, but actual language classes/bindings are provided by third party library developers. Again, a tradeoff in a rapid hello world in a language and tech stack flexibility.
Scope. dotbim seems to optimise simplicity: meshes with key value pairs. IFC is designed for more domains: structural analysis, profile libraries, energy analysis, tasks and sequencing, textures, facility management, building operations, events, procedures, lifecycle flows, cost databases and schedules, and so on. These primarily non-geometric usecases are what make IFC cool, but as a trade off, comes with an extra 99 pages of docs :)
Classification. dotbim seems to be classification agnostic, this is pretty awesome! IFC comes built-in with an implicit classification system (though it can be ignored) which is sometimes a requirement of other standards (e.g. COBie). This difference makes dotbim far easier to use as you don't need to learn another vocabulary, but can be harder to collaborate if people use different classifications.
Ecosystem. Early days, but exciting days, for dotbim! Obviously with a 25 year headstart and a ton of funding IFC has its creepers everywhere for better or for worse and the apps and developer libraries that exist are more mature.
Standardisation. dotbim is not an ISO standard. IFC is. This means dotbim is much more nimble and can adapt to user needs faster. However, it also means that governments and neutral parties or those who need stability are more likely to prescribe IFC. As an ISO standard, it also integrates other standards: gbXML explicitly references IFC for energy analysis, Brickschema has a two-way IFC integration for building management systems, IFC textures and shaders are compatible with X3D and glTF, and so on. So whereas dotbim can translate to other things, it probably won't quite get the "native" integration that ISO standards do.

It's probably good to have IFC on the comparison table because IFC is stupidly popular, but at the same time has such a strikingly different audience: things like ISO, tech agnosticism, and an appetite for building scope that is downright scary - but many people either don't know what IFC can do, or they do, but they legitimately want a more lightweight solution.
To emphasize what makes dotbim truly awesome, it'd be good to perhaps add some other libraries that have a similar scope to dotbim (as opposed to IFC which is at the other end of the spectrum). Maybe https://hypar-io.github.io/Elements/index.html Hypar Elements or Speckle Objects https://speckle.guide/dev/objects.html comes to mind.
Keep up the great work! I've added dotbim to https://wiki.osarch.org/index.php?title=AEC_Open_Data_Standards_Directory :)

Hi Dion!
First of all: thanks a lot for spending time to look at it! It means a lot to me!
Regarding comparison to IFC: yeah, this table is kind of simplified explanation for people to show the motiviation why we're doing it. Many people don't get the point of it, many others don't like an idea of having another format if there is one existing already. So it is kind of small table so someone can see it, look at it, and say: okay, so it contains geometry and data, but with 1 page documentation. Something like this ;)

Yeah, IFC is a schema that allows to use it within XML, JSON, (even though in 99% it is SPF) etc. From my point of view staying with only one (JSON) makes it much easier. If we'd allow multiple, then it means multiple implementations for each of the serialization, I don't want that :)
Definition is both this C# library, but also that readme.md of this repo, you will find explanation there. The difference is also the fact that we have already viewer and creators to make sure that it is still easy to use. I believe that there is also something for Typescript. I was thinking of doing it for Python as well, but at the same time it looks so simple, that I'm not sure if it is even necessary :D It is something like creating 6 classes with properties.
Exactly.
Yeah, you're 100% right.
Yes. Actually the fact that IFC is for so long makes it really powerful at the same time.
Yes, it is not ISO standard and it won't be.

Currently we're testing it on Revit here: https://github.com/harrycollin/dotbim-revit, and few hours ago it turned out that Revit exporter of geometries could be developed by @harrycollin during, I don't know, 4 hours it was? So one of the goals would be to try different platforms and see how fast we can develop some stuff around it.
PS: I'm a huge fan of BlenderBIM, was using it constantly during tools for IFC.
Thank you once again for comments, and for adding it to wiki.osarch!
Wojciech

Thanks so much for the response! Yes, the point wasn't to say "X is better" but instead to describe the differences to help people spot the differences. As you say many people don't get the point of it, and that's because they've heard of IFC (or others) but they don't know enough about the details to compare or understand that these target different usecases. So I thought perhaps the table could be revised to help describe to those unfamiliar with the technicalities of the offerings out there that "hey guys, there's a clear need here for both sides of the spectrum". This changes the rhetoric from "choose X over Y" into "We need both X and Y for different purposes".
So the list above is definitely a list of differences, not change requests :) I totally agree that for dotbim's ethos, it should definitely focus on one serialisation like JSON. Don't change your design strategy - it's a great one and something missing in our industry.
Minor tech nitpick: for point 2 I was referring to computer interpretable schema definitions, so text docs don't quite count :)


Update [mobs] mod

This update https://forum.minetest.net/viewtopic.php?f=11&t=9917&view=unread#p202842
and this update https://forum.minetest.net/viewtopic.php?f=11&t=9917&view=unread#p203162
new update : https://forum.minetest.net/viewtopic.php?f=11&t=9917&view=unread#p204267
Need also to apply it to the creative server
WARNING : Keep the only passive monsters tweak on Creative !

updated (classic) https://github.com/MinetestForFun/server-minetestforfun/commit/46004d9bf299235b066ce108529bb62dc40a72d6

Thank you @crabman77
sadly for you, we have a new Mobs redo (important) update to add :D
https://forum.minetest.net/viewtopic.php?f=11&t=9917&sid=0ae44607b41384700acbb2eddc675b3e&start=575#p206400
After this update, can you merge the classic mobs redo to the creative server and comment the agressive mobs like the actual mobs of creative does it ?
Thank you in advance :)

re-updated classic https://github.com/MinetestForFun/server-minetestforfun/commit/641780dd26378369d721af9c94729a5406f48afe
updated creative https://github.com/MinetestForFun/server-minetestforfun-creative/commit/1cae7bb59bc5010dfe4f4235bcc49154a9e9e645


CLI use behind proxy

When attempting to use the cli behind a proxy all of the calls I make result in network timeouts.  I have just about every environment variable I can think of to attempt to set the proxy but either the cli or underlying aws-sdk does not appear to pick these up.  I fired up wireshark to see what was going on and saw the traffic is not attempting to go through the proxy.
Is there a way to set a configuration variable to have the CLI use a proxy?
The only information I found is for the aws-sdk-javascript which seems to point to this needing to be done in code, which does not seem practical for a cli based tool.  https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-configuring-proxies.html
Thanks

unfortunately the cli currently does not provide this capability.

I really need awsmobile-cli to support proxies too!
We are behind a corporate firewall & its good that the standard aws-cli supports proxying already.
Its built into npm & operating system defaults, so please add soon or we are unable to use aws-mobile
thanks


Postgres Connection Url TimeZone parameter not work

Bug Description
I connect to a postgresql database using
postgresql://<IP_ADDRESS>?dbname=dbname&user=postgres&password=password&TimeZone=PRC
as the connection url.Since I live in East 8, I use PRC as the default time zone.Just like this.
But my custom Settings don't override the default Settings.This is set by default in the program
crate::postgres::PgConnection
impl PgConnection {
    pub(crate) async fn establish ..............
    ..............

  let mut params = vec![
              // Sets the display format for date and time values,
              // as well as the rules for interpreting ambiguous date input values.
              ("DateStyle", "ISO, MDY"),
              // Sets the client-side encoding (character set).
              // <https://www.postgresql.org/docs/devel/multibyte.html#MULTIBYTE-CHARSET-SUPPORTED>
              ("client_encoding", "UTF8"),

              // Sets the time zone for displaying and interpreting time stamps.
              ("TimeZone", "UTC"),

          ];

Info

SQLx version: [lastes]
SQLx features enabled: [Postgres]
Database server and version: [REQUIRED] (Postgres)
Operating system: [windows]
rustc --version: [1.25.2 (17db695f1 2023-02-01)]

let pool = PgPoolOptions::new()
    .after_connect(|conn, _meta| {
        Box::pin(async move {
            conn.execute("SET TIME ZONE 'Asia/Shanghai';").await?;
            Ok(())
        })
    })
    .connect("url")
    .await
    .unwrap();


[HOLD for payment 2024-08-19] [$250] Update the Wallets page to put bank accounts at top

Problem: Users are trying to setup their reimbursement accounts and running into confusion. They actually are setting up the reimbursement account successfully, but then find the Wallets page where there is a big green Enable Wallet button above their Bank accounts section. On top of that, they are trying to enable their wallet and then run into confusing errors setting up their wallet, which are expected because we haven't cleaned up the wallet flow, nor error messages (background)

Solution: Put Bank accounts above Expensify Wallet and emphasize bank accounts more.

Let's put the Bank accounts section/enablement above the Expensify wallet section
Let's add an image as part of bank accounts to the Bank accounts section
Update the text for each section to be:

Bank accounts
[Bank accounts image]

*Bank accounts*
Adding a bank account allows you to get paid back for expenses you submit to a workspace.

[+ Add bank account]

Wallet
*Send and receive money with friends*
Enable your wallet to send and receive money with friends.

Balance
$X.XX

[:wallet: Enable wallet]

You'll notice a different title and we've emphasized the big green button for the wallet.
Here is a screenshot of the updated page @shawnborton mocked up. We updated the copy a bit so please use the copy above. He will get you the image we're going to use for the bank accounts section.

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01dbcb038228b4c6a0
Upwork Job ID:<PHONE_NUMBER>716969047
Last Price Increase: 2024-07-25
Automatic offers:

paultsimura | Reviewer | 103283186
Krishna2323 | Contributor | 103283188

Issue OwnerCurrent Issue Owner: @paultsimura

It would use the same design, we just need some updated copy for that which shouldn't be a huge deal.

I'm going to go with @Krishna2323's proposal because it was first, and his edits based on other proposals were minimal. I'm sure all of your are very capable of handling this kind of work, and the proposals don't need to be super detailed, so it seems most fair to go with the person that posted first.

It was merged to staging yesterday so it should be done soon.

Payouts due: 2024-08-19

[X] Contributor: $250 @paultsimura
[X] Contributor+: $250 @Krishna2323

Upwork job is here.
I've completed the payment process via Upwork and will close this issue for now. Later this week, I'll create the regression test request.


windows-terminal-preview: Switch to portable distribution

Note Well, the change from v1.17.1073 where we would munge our version number didn't live much longer than a single release.

The split versioning change from the previous preview was dropped, so checkver is fixed.

In 1.18 and above: We've removed any runtime dependency on the "desktop" C++ Runtime Library

Removed vcredist suggestion
Converted to portable mode following the stable manifest
https://github.com/microsoft/terminal/releases/tag/v1.18.1421.0

Relates to https://github.com/ScoopInstaller/Extras/pull/11335

[x] I have read the Contributing Guide.

/verify


[Bug] The "roll for me" option does not work

The "roll for me " option when using the Physical Dice setting seems to have broken for me - it returns only zero as result.

Current fix

Please let me know if this helps.

The gif seems perfect, however I just updated to 0.17.15 and still have the same behaviour as before. Perhaps a matter of module interference, or not having started a world from scratch with the new version?

The fix is not on 0.17.15 - the code is ready for next window available to release.

Nice!


experiment

Signed-off-by: Hiroshi Muraoka<EMAIL_ADDRESS>

This is created for expriment of git-neco


proxy: high memory usage

Observed conduit-proxy using 1GB memory:
$ docker stats $(docker ps --format={{.Names}}|grep conduit-proxy_prometheus)
CONTAINER                                                                                CPU %               MEM USAGE / LIMIT       MEM %               NET I/O             BLOCK I/O           PIDS
k8s_conduit-proxy_prometheus-7f8f99c74d-tbd72_conduit-lifecycle_2c0a3b14-733e-11e8-b903-7cd30ab18fe8_0   6.85%               1.092 GiB / 251.8 GiB   0.43%               0 B / 0 B           29.3 MB / 0 B       3

Env

conduit v0.4.4
k8s v1.10.4

28 node cluster

1 master
2 256GB nodes (k8s_conduit-proxy_prometheus runs here)
25 8GB nodes

lifecycle example

scaled to 20 namespaces x 15 replicas (bin/scale 20 15)
~2500 pods

metrics output
https://gist.github.com/siggy/8957be93203e9c9889161650b9d355d4

This is a great find! I think we're close to merging https://github.com/runconduit/conduit/pull/1128 -- I'd be really curious to see the proxy's process_* stats in this scenario (especially over time).

Unable to reproduce with:

conduit v0.4.4
bin scale 10 15
bb-terminus pod deletion with SLEEP_TIME=10
bb-terminus service deletion every 150s

bin scale 20 15 had previously made the cluster unstable, but going to retry under those original conditions to attempt a reproduction.

No noticeable increase in memory after 6 hours:

restarting the test on master (git-15718de2) with more aggressive service discovery changes:
conduit install --conduit-namespace conduit-lifecycle | kubectl apply -f -
bin/deploy 1
bin/scale 1 300

redeployer:
    #!/bin/sh

    # give deployment time to fully roll out
    sleep 60

    while true; do
      PODS=$(kubectl -n $LIFECYCLE_NS get po --field-selector=status.phase=Running --selector=app=bb-terminus -o jsonpath='{.items[*].metadata.name}')

      SPACES=$(echo "${PODS}" | awk -F" " '{print NF-1}')
      POD_COUNT=$(($SPACES+1))
      echo "found ${POD_COUNT} running pods"

      SLEEP_TIME=1

      # more aggressive restart interval, for smaller deployments
      # restart each pod every minute
      # SLEEP_TIME=$(( 60 / $POD_COUNT))
      # if [ $SLEEP_TIME = 0 ]; then
      #   SLEEP_TIME=1
      # fi

      counter=0
      for POD in ${PODS}; do
        kubectl -n $LIFECYCLE_NS delete po $POD
        echo "sleeping for ${SLEEP_TIME} seconds..."
        sleep $SLEEP_TIME

        # bounce service every 30 seconds
        if [ $(expr $counter % 30) = 0 ]; then
          svc=$(kubectl -n $LIFECYCLE_NS get svc/bb-terminus -o json)
          kubectl -n $LIFECYCLE_NS delete svc/bb-terminus
          echo $svc | kubectl -n $LIFECYCLE_NS apply -f -
        fi
        counter=`expr $counter + 1`
      done

      # bounce service
      # svc=$(kubectl -n $LIFECYCLE_NS get svc/bb-terminus -o json)
      # kubectl -n $LIFECYCLE_NS delete svc/bb-terminus
      # echo $svc | kubectl -n $LIFECYCLE_NS apply -f -
    done

With the more aggressive configuration above, two issues to note:
Memory usage
container_memory_working_set_bytes, as reported by Docker, is sometimes, but not always, higher than the process_resident_memory_bytes and process_virtual_memory_bytes metrics provided by conduit-proxy:
Highest container_memory_working_set_bytes conduit-proxy was in a bb-p2p pod, reporting:

96MB container_memory_working_set_bytes
90MB process_virtual_memory_bytes
59MB process_resident_memory_bytes

Highest process_virtual_memory_bytes conduit-proxy was in a bb-p2p pod, reporting:

45MB container_memory_working_set_bytes
101MB process_virtual_memory_bytes
43MB process_resident_memory_bytes

For comparison, the conduit-proxy in the Prometheus pod:

68MB container_memory_working_set_bytes
55MB process_virtual_memory_bytes
39MB process_resident_memory_bytes

Proxy capacity error
The conduit-proxy running in the Prometheus pod is logging these at a rate of about 50/s:
2018-06-27T18:12:18.005047944Z ERR! proxy={server=out listen=<IP_ADDRESS>:4140 remote=<IP_ADDRESS>:51788} conduit_proxy router at capacity (100); returning a 503

conduit-proxy also reports these every 10s (with surprising regularity):
2018-06-27T18:17:49.498127182Z ERR! proxy={server=out listen=<IP_ADDRESS>:4140 remote=<IP_ADDRESS>:42296} conduit_proxy turning Error caused by underlying HTTP/2 error: protocol error: unexpected internal error encountered into 500

Likely related, the Grafana instance is unable to connect to Prometheus, running curl from the Grafana pod yields:
$ curl -v http://prometheus.conduit-lifecycle.svc.cluster.local:9090
* Rebuilt URL to: http://prometheus.conduit-lifecycle.svc.cluster.local:9090/
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to prometheus.conduit-lifecycle.svc.cluster.local (<IP_ADDRESS>) port 9090 (#0)
> GET / HTTP/1.1
> Host: prometheus.conduit-lifecycle.svc.cluster.local:9090
> User-Agent: curl/7.52.1
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< content-length: 0
< date: Wed, 27 Jun 2018 18:09:01 GMT
<
* Curl_http_done: called premature == 0
* Connection #0 to host prometheus.conduit-lifecycle.svc.cluster.local left intact

Before we investigate changing this setting, it would be helpful to understand how prometheus's scraper works. Does it try to issue as many requests as possible in parallel? Are there ways to constrain parallelism?

Prometheus' scraper does not appear to have any parallelism control, and does not explicitly try to perform scrapes in parallel, though in practice it may perform that way:
https://github.com/prometheus/prometheus/blob/057a5ae2b147b6a1dfe0d3a667e13ed6535dbe20/scrape/scrape.go#L329


feat: cohere instrumentation

/claim #48

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: 5war00p:x: galkleinmanYou have signed the CLA already but the status is still pending? Let us recheck it.

generate:

generate_stream:

chat:

chat_stream:

rerank:


vsearch_id parameter not provided

it seems that in the latest version, the vsearch_id parameter has been introduced but it is not provided by the (example) yaml and no default value is given. As a quick fix, i reverse the changes in rules/vsearch_clust.smk;  setting vsearch id back to 0.98.
regards

hi, non-technical user here. wondering how you figured out the id wasnt provided. i imagine vsearch wouldnt run if a --id value wasnt specified?

Hello @willem-stock,
thank you for reporting this problem! I'm a bit surprised as this has never happened with us before. Could you please provide us know your error message so we can find out what the problem is?
Best regards,
Dana

sorry, I was not specific enough. the vsearch_id paramater was introduced within the snakemake workflow (params: id=config["vsearch_id"] in the rule vsearch_clust). when initiating the snakemake from the latest version of Natrix2, it threw an error when compiling the DAG

Hi @willem-stock, what exactly kind of error do you have when you want to create a DAG plot?


udemy-dl memory leak when skipping downloads

When the download starts skipping courses, something odd happens: The RAM usage starts increasing over time until the kernel OOM kills it. Maybe some sort of memory leak:

@dragetd how, can you spot the code part leaking the memory? Because i don't see any.

No idea. Skipping because of 'fie already exists' does not seem to be the cause. The skips I had were because of 403's from udemy (I wonder how I got these xD).
I noticed the system swapping after some time and at some time killing the process. I then restarted and it worked at first, until I noticed the system swapping again some time later where I took this screenshot.
Maybe it does only get triggered by 4xx server responses. Or maybe it was just a glitch and we simply ignore it, up to you. Just thought I'd post the finding.

great i 'm closing the issue as invalid i don't see anything related i tried locally.

I faced the same problem.
Although not many downloads were skipped.
However, the memory is not released after a file is downloaded, The longer the download time of the course, the higher utilization of the RAM.
Ideally, the program memory consumption should be = memory required for running(which is pretty low) + memory required to download the current file( on 1080p, it won't be more than a 1GB).
Here is the timeline :

This was after 5 mins

After few min

this was when the program crashed.
Although not many downloads were skipped.
However, the memory is not released after a file is downloaded, The longer the download time of the course, the higher utilization of the RAM.
Ideally, the program memory consumption should be = memory required for running(which is pretty low) + memory required to download the current file( on 1080p, it won't be more than a 1GB).
Here is the timeline :
1. This was after 5 mins
   ![task after](https://user-images.githubusercontent.com/6179346/93511689-d2ea1200-f940-11ea-8824-0012862f4021.PNG)

2. After few min
   ![processes](https://user-images.githubusercontent.com/6179346/93511701-d7162f80-f940-11ea-9bc0-0938ad447400.PNG)

3. this was when the program crashed. I have attached the logs also
   ![task manager](https://user-images.githubusercontent.com/6179346/93511710-d8dff300-f940-11ea-809d-cccb84ccc46c.png)

The logs when it crashed completely.
[2020-09-17 23:49:19,665][udemy-dl] WARNI Subtitle : '137 Shift.ro'  (download skipped)
[2020-09-17 23:49:19,665][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:19,724][udemy-dl] WARNI Lecture : '138 Shift Solution'  (download skipped)
[2020-09-17 23:49:19,725][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:19,869][udemy-dl] WARNI Asset : '138 DLL-Shift.js'  (download skipped)
[2020-09-17 23:49:19,870][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:19,911][udemy-dl] WARNI Subtitle : '138 Shift Solution.pt'  (download skipped)
[2020-09-17 23:49:19,911][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:19,946][udemy-dl] WARNI Subtitle : '138 Shift Solution.fr'  (download skipped)
[2020-09-17 23:49:19,947][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:19,987][udemy-dl] WARNI Subtitle : '138 Shift Solution.es'  (download skipped)
[2020-09-17 23:49:19,988][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:20,028][udemy-dl] WARNI Subtitle : '138 Shift Solution.de'  (download skipped)
[2020-09-17 23:49:20,028][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:20,060][udemy-dl] WARNI Subtitle : '138 Shift Solution.id'  (download skipped)
[2020-09-17 23:49:20,060][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:20,089][udemy-dl] WARNI Subtitle : '138 Shift Solution.it'  (download skipped)
[2020-09-17 23:49:20,090][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:20,120][udemy-dl] WARNI Subtitle : '138 Shift Solution.pl'  (download skipped)
[2020-09-17 23:49:20,120][udemy-dl] ERROR Reason : [('system library', 'fopen', 'Too many open files'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
[2020-09-17 23:49:20,150][udemy-dl] WARNI Subtitle : '138 Shift Solution.ro'  (download skipped)

thanks for the logs i will check it seems the issue only occurs when downloading subtitles

@igagrock hopefully the current commit will resolve the issue.

@r0oth3x49 - I am gonna test right away.
thanks

It is not fixed.
The issue still remains.

the memory pretty much still stacks up as long as the program keeps running.
When the file is not video or subtitles, the download simply ignores them and throws the warning of nonType.
When the program exits successfully or interrupted using keyboard crtl+c, the memory used is never released and the process is still running.

Also  a command like below should only download sub-titles in english. But it does not happen.
python3 udemy-dl/udemy-dl.py https://www.udemy.com/course/js-algorithms-and-data-structures-masterclass --chapter-start 20 --lecture-start 138 --sub-lang en

In my case, I am using WSL (ubuntu 20.04) on windows10. I am not sure if it is the case with this configuration only or it will happen on any windows/Linux system.


Upgrade shoulda-matchers gem to 3.0 (new config code, rewrote spec) and 1 other gem

Finished upgrading shoulda-matchers gem to 3.0 by adding new config block to spec/rails_helper.rb and rewrote spec to workaround lose of functionality in new version of gem.
Upgraded coveralls gem by rebuilding Gemfile.lock file.

Thanks @jasnow


Use k8s-args.root-dir in drain script when watching for PVC detach

What this PR does / why we need it:
If root-dir gets set then PVCs are mounted in a different location than /var/lib/kubelet. The piece of drain script that monitors for PVCs to be fully detached during a drain needs the monitor the correct location.
How can this PR be verified?
The spec test performs some verification. There is also an edge-case that we regularly hit on AWS where the EBS volume doesn't get fully detached during the Turbulence suite and it leads to the StatefulSet not restarting successfully. https://ci.kubo.sh/teams/main/pipelines/aws_vanilla_turbulence/jobs/run-tests/builds/36 is one such instance.
Is there any change in kubo-deployment?
No.
Is there any change in kubo-ci?
No.
Does this affect upgrade, or is there any migration required?
No.
Which issue(s) this PR fixes:
None.

@pgoodwin @imikushin - looks like we missed a piece with https://github.com/cloudfoundry-incubator/kubo-deployment/pull/384

LGTM


Fix nil pointer error when parsing AMI config

Fixing a nil pointer error that occured when running this binary.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.12

/approve


How to call AWS comprehend services realtime?

How to call comprehend service realtime?
When this project transcription audio and save text to dynamodb, Can i call AWS comprehend services realtime? And save the comprehend  result to dynamodb realtime?
How can  i do ?
I need help.
@efh365   Thanks.

@wangning08115 please take a look at the parent solution: https://github.com/amazon-connect/ai-powered-speech-analytics-for-amazon-connect
In that solution there is a trigger from DynamoDB to Lambda that then calls API Gateway to send realtime transcription to a websocket that then calls Comprehend from the frontend. You can follow that pattern and instead call Comprehend from a Lambda function you invoke based on a DynamoDB trigger if you dont have a frontend component.

@wangning08115 did you figure it out?

Hi @wangning08115, I am closing the issue as it has been inactive for 21 days. Feel free to reopen to continue the discussion of anything else comes up.


Fixes #4213 - CLI and external auth DomainConfiguration

There were a few issues here:

OAuthPage.tsx did not pass redirecUri into SignInForm

In the common case, this is fine, because OAuthPage.tsx handles the redirect
In the external auth case, this is broken because SignInForm handles the external auth redirect

Handle the special "Medplum CLI" ClientApplication in external.ts

Any time we read a ClientApplication for auth, we need to use getClientApplication, not readResource()
This handles the special case of the CLI client application
Rather than juggling special cases, maybe this client application should have been added in a data migration 🤷♂
Either way, for now, it's just one of those things you need to know when working in auth

Handle redirectUri from ClientApplication and identityProvider from DomainConfiguration

This fixes the Okta case
@rahul1  - you may remember that there was some ambiguity about precedence of DomainConfiguration and ClientApplication, this PR changes/breaks that assumption.

Other minor drive-by fixes:

Added a constant for medplum-cli
Removed a bunch of confusing/incorrect console.log() statements from CLI
Fixed React dev-mode double useEffect bug which double requested /oauth2/token in dev-mode 😠

Discussed offline: Settings on ClientApplication will take precedence of server-level DomainConfigurations

@codyebberson @rahul1 I just tested this in the wild (we have domain IDP config as a hosted customer) and I think there might be an issue with the callback to the shell running the login command. Mine appears to just hang after a successful login.
Attaching example (notice I had to terminate the hung login command):


[HOTFIX] Ignore batchsort testcase for hive partition table

Testcase "data loading with default partition in static partition table with batchsort" is having CI random failure.
Ignoring this testcase temporarily. It will be add back after fixing it.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3328/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4052/


Bulk operation optimization [DocReviewer]

DOD

[ ] Limit pageflags bulk operation to 250 [FE Validation]
[ ] Limit Annotation bulk operation to 250  [FE Validation]
[x] Changes in Annotation model to support bulk
[x] Changes in Annotation Section model to support bulk
[x] Changes in PageFlag to support bulk (Audit) (NA)
[ ] Load Testing

Bulk page flag (Testing)
50 -> 129ms
100 -> 203ms

Bulk page flag Testing [No. of pages - 3781/3781]
50 -> 470ms
100 -> 1.5s
200 ->
250 ->

Bulk page flag Testing [No. of pages - 3781/3781]

Bulk page flag Testing [No. of pages - 3781/3781]
50 ->
100 ->
150 ->
200 ->
250 -> 6.31s (sections) 5.42s(annotation)

Bulk Comment update sections [No. of pages - 3781/3781]
50 ->
100 ->
150 ->
200 ->
250 ->

Bulk redaction [No. of pages - 3781/3781]
50 ->
100 ->
150 ->
200 ->
250 ->

Option-1: Disable after selection of 250.
Option-2: Show Modal.

@sumathi-thirumani-aot created the following  bug while regression testing. https://app.zenhub.com/workspaces/foi-flow-607f0ab6ae54b700111dc733/issues/gh/bcgov/foi-flow/4574

closing it as completed


[Dialogs] Add numberWithUnit recognizer to NumberPrompt

Description
This PR adds the NumberWithUnit recognizer to catch cases where Number fails to recognize.
Changes made

Refactor of the RecognizeNumber and RecognizeOrdinal to avoid repeted logic.
Add the method RecognizeNumberWithUnit to NumberPrompt
Modify the OnRecognizeAsync method to call RecognizeNumberWithUnit
Add the recognition of age, currency, temperature and dimension

Testing

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.3.1

Thanks @Aliandi I'm looking at this today.

@EricDahlvang, we might be wrong, but we believe that the issue is due to that agora should also have a number, if not, there is no way recognizers gets a value. 500 agora would resolve to value: 500. We don't think that the code you are proposing would change the benefits of adding number with unit, as it would resolve just fine when you pass the measure plus the number.

Hey @Aliandi
I spoke with @cleemullins and if you want to add a check for null on results[0].Resolution["value"] we should be able to merge this.
Thanks!

Pull Request Test Coverage Report for Build 79933

0 of 0   changed or added relevant lines in 0 files are covered.
16 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.01%) to 79.865%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder.Dialogs/Choices/ChoiceRecognizers.cs
3
94.29%

/libraries/Microsoft.Bot.Builder.Teams/TeamsActivityHandler.cs
13
82.78%

Totals

Change from base Build 79619:
0.01%

Covered Lines:
4613

Relevant Lines:
5776

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.3.1


17 errors by invoke test

some error log like this:
ERROR: Failure: TypeError (Error when calling the metaclass bases
metaclass conflict: the metaclass of a derived class must be a (non-strict)
subclass of the metaclasses of all its bases)
...

Ran 866 tests in 12.496s
FAILED (errors=17)
Traceback (most recent call last):
File "C:\Python27\Scripts\inv-script.py", line 11, in

there have two issues about the UT failure: 1, metaclass conflict; 2, wxPython version not match


Transition end event doesn't always fire

If the value of the transition property does not change the transition end event does not fire.  Use a setTimeout to ensure that an end event is always triggered.

Here's a solution that I used: because modern browser support multiple background images, you can randomly position a single pixel base64 encoded transparent gif.  Every update of the Elements.style repositions this transparent gif.  Seems to work well.
background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
background-position: 79px 237px;


Skip pulling chart in case of chart CR deletion

Toward https://github.com/giantswarm/giantswarm/issues/9064
We are pulling charts in deletion events but this is useless since we only need to delete helm release.

Tested on gauss
D 02/25 08:35:19 /apis/application.giantswarm.io/v1alpha1/namespaces/giantswarm/charts/cluster-operator-2.0.1-fix releasev1.GetDesiredState CR deletion only, skipping pulling a helm chart | chart-operator/service/controller/chart/v1/resource/release/desired.go:34 | controller=chart-operator-chart | event=delete | loop=13 | version=49707880

These things may also be an indicator that the simple resource interface would be more appropriate.

These things may also be an indicator that the simple resource interface would be more appropriate.

CRUD to simple interface you mean?

Yes exactly.

helm values, annotation changes are something to overcome at this point then. We can keep continue our conversation in #sig-operator

Yes I thought this too when reviewing.
But the release resource needs to interact with the helm API which is also a CRUD API. We need to call different methods on install and update. So the CRUD resource works better.
Like I said in my comment I don't see a better alternative.

See https://github.com/giantswarm/chart-operator/pull/353. Thanks this prompted me to rethink this.
The chart version got added to the chart CR. So the desired state gets a lot simpler with no conditional logic for deletion or network calls that can often fail.

Simple resource interface it is. 🚀 🙈

Eeek its simpler but not simple. 😄


doc: Remove blank "Nesting" section

The "Nesting" section of https://documentation.mjml.io/#nesting is blank.
It looks like it was accidentally blanked out in https://github.com/mjmlio/mjml/commit/a27f9364e5c43a796f9eea49fb00763ccad903bb#diff-eba2e6e0c715e18058f56e6aefc9eb211d905dd523e4814f14fe4932ed1d7b4eL97
I don't think the remaining code snippet is meaningful here, and so this PR removes the empty section, but if the old "Nesting" section or the "Tag Styling" section should be restored, I'd be happy to do that, instead.

Nice catch ! Thanks !


Node dragging property doesn't return to false

Describe the Bug
When dragging a node the dragging property is set to true which is ok, but when the user stops dragging the node, the dragging property remains in true, doesn't return to its original value (false)
Steps to Reproduce the Bug or Issue
Open react dev tools
Select a node in dev tools
Start dragging that node and check its dragging value
Stop dragging the node and check the dragging value
Expected behavior
As a user I expected the dragging property to be false when a node is not being dragged, but if I drag it and then stop, the dragging property remains whit a true value.
Screenshots or Videos

Platform

OS: [Windows 11]
Browser: [Vivaldi]
Version: [5.2.2623.48 (Stable channel) (64-bit)]

fix released in 10.3.3


chore: prettier cleanup

Motivation
We've been using forge fmt instead of prettier since https://github.com/farcasterxyz/contracts/pull/160, but there were a few places were prettier was still being used or mentioned.
Change Summary

c99bcad1e28c4fb6faa45c14a0ad0ab25a3d7956 - Updates package.json scripts to use forge fmt instead of prettier. Also removes the lint* scripts, since solhint and associated plugins are no longer dev dependencies and yarn lint doesn't work anymore
d5b0ebbcc65204729fc25a682e36d6b334541755 - Removes remaining prettier config files
49fcaaffceb04455ea01f33a4021b19f7223f01d - Uses yarn format:check in ci, instead of just forge fmt. I think the check version is required in order to properly fail the ci step. Otherwise, it'll just format the code and move on
320c4d2a6fc01ab9b336df05d8ca3e4b16410b3e - Runs yarn format to fix outstanding formatting issues

Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] The PR title adheres to the conventional commits standard
[x] The PR has been tagged with change type label(s) (i.e. documentation, feature, bugfix, or chore)
[x] The PR's changes adhere to all the requirements in the contribution guidelines
[x] This PR does not require changes to the Farcaster protocol

@varunsrin could you take a look?

good catch, thanks @gesu


Add the file chooser the Preferences dialog

Intention

I'm submitting a feature request
Expected/desired behavior:

In order to maintain consistency, this should only require adding the Choose folder button beneath the "Default new project folder" text field.


Transform const and let to var for IE 11

This turns off const and let support for IE 11 since it does not handle these in for..in loops.
Fixes #144.

Thanks!


Training on a custom dataset

Issue Description
I loaded the COCO pretrained weights and tried to train on a custom dataset.

I got overfitting to work on the custom dataset, but full training does not work yet. For some reason, BCELoss is extremely high after a few (maybe 30 iterations). After that, it is in the range of roughly 50-250.
Maybe for others, it would also be great to have a guide how to modify the code for a custom dataset.
Finally, I would greatly appreciate if you could conduct an experiment where you retrain the model for YOLO and show reproduced performances.

Hi @johannes-tum.
Could I ask how you organised your data and the type of annotation format that you used ? I never quite get the expected behaviour when trying to train on my data (I also tried on an old dataset organised for yolov5).

Hi @johannes-tum ，
I try to train a model with a custom dataset, but failed in the model validation phase. With debugging, I find the result of the model is questionable, because after NMS , the predicted box is none. It means that all results are have been filtered. Maybe the NMS also have questions.
If you have new findings, welcome to talk with me.


Fixed parallel test execution

Fixes #1073
Fixes #1068

Cool fixed for me. That was fast :smile: . thanks for impressive library


"Check all checkboxes" option for ACL rules in Ratel.

It's common to create groups that have read-only access to all the predicates. It'd be nice to be able to set the read-only permission to all the predicates via a checkbox that would automatically set the corresponding permission (read, modify, or write) for all the predicates. Today, you need to check each box one by one for each predicate.

#144


Option to select columns in explain_outlier()

When there are a lot of dimensions, the x axis in explain_outlier() becomes cluttered and impossible to read. This code adds "columns" optiona argument where the user can put which exact columns of the dataset should be presented on the plot.
All Submissions Basics:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally?
[ ] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[ ] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[ ] Have you created a .py in ~/pyod/models/?
[ ] Have you created a _example.py in ~/examples/?
[ ] Have you created a test_.py in ~/pyod/test/?
[ ] Have you lint your code locally prior to submission?

Pull Request Test Coverage Report for Build 2028

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0008%) to 95.615%

Totals

Change from base Build 2001:
0.0008%

Covered Lines:
5015

Relevant Lines:
5245

💛  - Coveralls


Worker volume name hardcoded and may be wrong in crc_libvirt.sh

On line 116 and the 2nd argument on line 118 of https://github.com/praveenkumar/osp4/blob/6f7d3ea9bf2ac194aceac4b3ae1be81d509c6615/libvirt/crc_libvirt.sh#L116 you see the actual on-disk filename of the worker volume is hardcoded. However, when building, the last part of that worker volume name can vary.
I hit this when trying to run this script from a tgz release linked to me via email. Inside that tgz the worker volume file name did not match the hardcoded value here and I had to manually update those lines to get crc_libvirt.sh create to succeed.

An other issue is in lines 118 and later down where file operations expect the worker-0-98nsr names, but in reality (in my download) the worker file is `test1-worker-0-vqgct

This is a known issue and due to thre respin of a new version.
This will be resolved (currently still PoC)
On Tue, Feb 12, 2019 at 4:13 PM Heiko W. Rupp<EMAIL_ADDRESS>wrote:

An other issue is in lines 118 and later down where file operations expect
the worker-0-98nsr names, but in reality (in my download) the worker file
is `test1-worker-0-vqgct
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/code-ready/osp4/issues/19#issuecomment-462659860, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAHZuQFqbQjf1eLGXYB1UacKslpUjE9ks5vMne7gaJpZM4aH_Ag
.

--
Gerard Braad | http://gbraad.nl
[ Doing Open Source Matters ]

The following fixes it for me (if anyone runs into the same issue)
$ diff -u crc_libvirt.sh,1 crc_libvirt.sh
--- crc_libvirt.sh,1    2019-01-17 08:05:23.000000000 +0100
+++ crc_libvirt.sh      2019-02-12 10:24:29.103982240 +0100
@@ -113,9 +113,11 @@
     sudo virsh vol-create-as default test1-master-0 $size --format qcow2
     sudo virsh vol-upload --pool default test1-master-0 test1-master-0

-    size=$(stat -Lc%s test1-worker-0-98nsr)
+    get_worker_image_name
+
+    size=$(stat -Lc%s $WORKERFILE)
     sudo virsh vol-create-as default test1-worker-0-98nsr $size --format qcow2
-    sudo virsh vol-upload --pool default test1-worker-0-98nsr test1-worker-0-98nsr
+    sudo virsh vol-upload --pool default test1-worker-0-98nsr $WORKERFILE

     cat << EOF > ./master-0.xml
 <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
@@ -296,6 +298,17 @@
     sudo virsh net-undefine test1
 }

+get_worker_image_name()
+{
+    for i in test1-worker-0*
+    do
+        file -b $i  | grep 'QEMU QCOW'  2>&1 >/dev/nul
+        if [ $? -eq 0 ]
+        then
+            WORKERFILE=$i
+        fi
+    done
+}

 usage()
 {

Also grepping for dnsmasq setup in NetworkManager may check that it is not listed as disabled
     # Set up NetworkManager DNS overlay
-    grep -q 'dns=dnsmasq' /etc/NetworkManager/NetworkManager.conf
+    grep -q '^dns=dnsmasq' /etc/NetworkManager/NetworkManager.conf


Add Rifle Blow Kiss [VERY COMPRESSED] by RaindomForestiye

Song Name
Rifle Blow Kiss [VERY COMPRESSED]
Artist Name
RaindomForestiye
Source
Youtube
Youtube Link
pvgNmOPZFlo
Direct File Link
No response
Song ID
392932
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 93902577
Downloaded: No

accept