upload attestation to an oci registry before adding an entry to tlog

Description
I got an error while uploading an attestation to an OCI registry but I saw that tlog entry was addeded even if I got an error, so, I think, it should try uploading first and then adding an entry to tlog.

Version
cc: @znewman01 @priyawadhwa

/assign @developer-guy and @Dentrax

We did some analysis on codebase, I saw that we couldn't gonna make it happen without adding an entry to tlog because we add rekor bundle to the attestaton as you see below;
	// Check whether we should be uploading to the transparency log
	if sign.ShouldUploadToTlog(ctx, digest, force, ko.RekorURL) {
		bundle, err := uploadToTlog(ctx, sv, ko.RekorURL, func(r *client.Rekor, b []byte) (*models.LogEntryAnon, error) {
			return cosign.TLogUploadInTotoAttestation(ctx, r, signedPayload, b)
		})
		if err != nil {
			return err
		}
		opts = append(opts, static.WithBundle(bundle))  <-- we add bundle to the opts
	}

	sig, err := static.NewAttestation(signedPayload, opts...) <-- we use it in here before uploading sig to the registry
	if err != nil {
		return err
	}

any thoughts @znewman01 @priyawadhwa

Oh, huh. I suppose that makes sense.
I see a few ways forward:

Upload the attestation to the registry before, without a pointer to the tlog, then update it!

Pros:  Attestation is somewhat useful (though less trustworthy) even without the transparency log.
Cons: This may fail if the registry doesn't support mutating tags. It can also fail if something else changed in between.

Upload a test artifact.

Pros: Should catch most cases where the upload would fail.
Cons: May leave cruft around, even if cosign tries to clean up after itself (e.g. if the client gets killed).

Do nothing (maybe make the output more clear).

Pros: easy to implement. I don't think it's a big problem if a tlog entry gets created without the corresponding attestation being available.
Cons: doesn't fix the problem.

I'd lean towards (3), but I want to hear what you think!

Yep, agree, it is not a big deal, the most suitable one is 3 for me too. Thanks, @znewman01, for this such an excellent analysis.


Changes to interactive components

These are the changes I suggest (outlined in my comments to #15)

Guess the lib/templates/package-lock.json is not meant to be committed.

Thanks a lot for implementing the proposed changes already. The changes are really nice. 😄 Sorry I was a bit busy between last night and now so I wasn't able to respond to your suggestions immediately. I left my comments.

This PR is directly aimed at master branch right? I guess what I wondered about was that I don't seem to see the use of Vuex and the listening to new messages + appending of new messages to the component. Maybe I missed that part though.

This PR is directly aimed at master branch right?

Ah yes, that's the default target. I actually based this on your branch, of course, so I'm happy to direct the PR at your branch.

I guess what I wondered about was that I don't seem to see the use of Vuex and the listening to new messages + appending of new messages to the component.

Ah, yes. As mentioned in the other thread, I chose to make vuex optional and only provide message passing functionality as part of a new Vue option socket, which I think makes things quite straightforward. What do you think (esp. about the Chat implementation)? If implementers still have the need for vuex they can use it without us imposing any structure on them.

Ah yes, that's the default target. I actually based this on your branch, of course, so I'm happy to direct the PR at your branch.

No problem. I was just confused whether this is a full PR in itself or is it intended to be based on the changes in the other PR since I thought I didn't see vuex. Applying this directly to master makes sense.

This looks really cool! 👍 I also would totally want to avoid using Vuex if possible, since it's quite bloated and we don't necessarily have a need for a global data store. The vue-socket approach you are using looks really nice and I think we can go forward with it and see how Dirk feels with the approach.
The only thing (that I also mentioned in my comments) is that I think we could add a bit more documentation/comment, since if the user is not that familiar with JS, they might feel a bit lost with the socket: { [MESSAGE_TYPE](payload) { } } pattern.
Now that you have a good idea how the socket connection with the backend works and IMO came up with a really nice solution, guess you can also keep on refining this while I focus on the backend but chime in from time to time to offer a second pair of eyes and discussion, so don't worry too much if I have some different ideas on some parts :)

The vue-socket approach you are using looks really nice and I think we can go forward with it and see how Dirk feels with the approach.

Cool, I'm glad you like it.

Now that you have a good idea how the socket connection with the backend works and IMO came up with a really nice solution, guess you can also keep on refining this while I focus on the backend but chime in from time to time to offer a second pair of eyes and discussion, so don't worry too much if I have some different ideas on some parts :)

Sounds good. I'll keep doing PRs, so you can chime in :)

Cool. I guess if you have tested it and it works, we can merge it into magpie-base, and ask Dirk to try to develop his experiment already :)


Support L7 visibility annotations for Ingress DNS

Ingress DNS visibility annotations aren't supported yet, mostly because there is no use case for it today.

I believe that the Ingress DNS visibility would be useful for investigating issues with requests to coredns from outside the k8s cluster. For example, this case: https://blog.heptio.com/configuring-your-linux-host-to-resolve-a-local-kubernetes-clusters-service-urls-a8c7bdb212a7
or this:
https://github.com/kubernetes-sigs/external-dns/blob/master/README.md


Were the button 9 and 10 implemented?

I didn't find the way to activate the button 9 and 10. Were they implemented?

For the xbox


Bounding Box Error when Retraining Model

Describe the bug
I used the documentation recommendations for training a new model. I was using this colab notebook: https://colab.research.google.com/drive/1gKUiocwfCvcvVfiKzAaf6voiUVL2KK_r?usp=sharing to retrain the DeepForest model using my own annotations I made using label-studio. I used the defaults settings and configuration and changed the paths to use my own annotations. About halfway through training, I go an error that said ValueError: y_max is less than or equal to y_min for bbox(0.81, 0.5075, 0.8175, 0.5705, 0). I did some digging and found it originated when image transformations are done in the prewritten dataset.py file line 119 that comes with the DeepForest package. Here is the full screenshot of the error:

To Reproduce
The xml file I used is on github here: https://github.com/LJWsao/tree_canopy_research/blob/main/6ddae292-northPast_PNG.xml
The image I used is here: https://drive.google.com/file/d/1qvygFrM8y_eI2JgbUvsIXJuhx3vNMfn_/view?usp=sharing
If you run the colab notebook using these files and the default code, you should be able to get the same results.
How can I can edit dataset.py getitem(self, idx) method to check if the bounding box is wider than one pixel before applying the transformations?

Thanks for your interest, you have a poorly formatted annotation matrix.
from deepforest.utilities import xml_to_annotations
annotations = xml_to_annotations(xml_path="/Users/benweinstein/Downloads/6ddae292-northPast_PNG.xml")
>>> annotations[annotations.ymin==annotations.ymax]
                   image_path  xmin  ymin  xmax  ymax label
7  6ddae292-northPast_PNG.png  2984  5143  2987  5143  Tree

Your bounding box has no width.
@henrykironde I assume this happens due to float rounding or in the original file
https://github.com/weecology/DeepForest/blob/7de55c1a941ab53dc06158cb84f8fd3ca5ca5b0a/deepforest/utilities.py#L228
and we could add a warning there.
malformed = annotations[annotations.ymin==annotations.ymax]
if not malformed.empty:
    warnings.warn("{} annotations are invalid due to ymin == ymax, and are removed".format(malformed.shape[0])
annotations =  annotations[~(annotations.ymin==annotations.ymax)]

@LJWsao remove this annotation and close when ready.

I removed this annotation and was able to proceed with training successfully.


Security of the OpenAI key?

How is it handled?
Thanks!

According to the logic of the TinyMCE plugin, the key is exposed to the client. Since this is a client-side library, there is no truly secure way to protect it, and it should be treated for personal/team use among trusted individuals.
One solution is to use a custom LLM that acts as a reverse proxy to a server-side script, which can secure the key.
As specified in the package, it is a project for hobby and personal use ;)

Thank you for explaining.

It would be great if the plugin makes a call to the server, instead of the directly to Open AI. In addition to keeping the api key secure-ish, and enable us to use this in a SaaS env, it will open up the possibilities about how to use it. Just imagine us being able to define a system message and additional context to the requests!

It would be great if the plugin makes a call to the server, instead of the directly to Open AI. In addition to keeping the api key secure-ish, and enable us to use this in a SaaS env, it will open up the possibilities about how to use it. Just imagine us being able to define a system message and additional context to the requests!

It can be achieved using a custom endpoint, however, its development would be beyond the scope of this package.
Certainly the package is to be interpreted for personal use and in an environment where the API key may be exposed, for a shared solution an ad hoc one must be created (or the paid TinyMCE one used).


Feature to Display Monthly LeaderBoards

fix #219
@fredfalcon @just-ary27 With this pr the montly leaderboards part of the app will display this months leaderboard

Here are the screenshots :
![

@just-ary27  done

LGTM

warning: Flutter archive not built in Release mode. Ensure FLUTTER_BUILD_MODE is set to release or run "flutter build ios --release", then re-run Archive from Xcode.error: lib/src/util/api/leaderboard_api.dart:2:8: Error: Error when reading 'lib/src/models/leaderdata_model.dart': No such file or directory
import 'package:blt/src/models/leaderdata_model.dart';
       ^
lib/src/providers/leaderboards/monthlyleaderboard_provider.dart:5:8: Error: Error when reading 'lib/src/models/leaderdata_model.dart': No such file or directory
import '../../models/leaderdata_model.dart';
       ^
lib/src/util/api/leaderboard_api.dart:24:17: Error: Type 'LeaderData' not found.
  static Future<LeaderData> getMonthlyLeaderData(String paginatedUrl,int? year , int? month) async{
                ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:52:17: Error: Type 'LeaderData' not found.
  static Future<LeaderData> getMoreMonthlyLeaders (String? nextUrl) async{
                ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:41:9: Error: 'LeaderData' isn't a type.
        LeaderData leaderData = LeaderData(
        ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:41:33: Error: Method not found: 'LeaderData'.
        LeaderData leaderData = LeaderData(
                                ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:61:9: Error: 'LeaderData' isn't a type.
        LeaderData leaderData = LeaderData(
        ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:61:33: Error: Method not found: 'LeaderData'.
        LeaderData leaderData = LeaderData(
                                ^^^^^^^^^^
lib/src/providers/leaderboards/monthlyleaderboard_provider.dart:26:13: Error: 'LeaderData' isn't a type.
      final LeaderData? monthlyLeaderData =
            ^^^^^^^^^^
lib/src/providers/leaderboards/monthlyleaderboard_provider.dart:42:11: Error: 'LeaderData' isn't a type.
    final LeaderData leaderData = await LeaderboardApiClient.getMoreMonthlyLeaders(nextUrl);
          ^^^^^^^^^^
Target kernel_snapshot failed: Exception
Failed to package /Users/builder/clone.
Command PhaseScriptExecution failed with a nonzero exit code
note: Building targets in dependency order
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')

This seems like an odd error. Can't find a file?

warning: Flutter archive not built in Release mode. Ensure FLUTTER_BUILD_MODE is set to release or run "flutter build ios --release", then re-run Archive from Xcode.error: lib/src/util/api/leaderboard_api.dart:2:8: Error: Error when reading 'lib/src/models/leaderdata_model.dart': No such file or directory
import 'package:blt/src/models/leaderdata_model.dart';
       ^
lib/src/providers/leaderboards/monthlyleaderboard_provider.dart:5:8: Error: Error when reading 'lib/src/models/leaderdata_model.dart': No such file or directory
import '../../models/leaderdata_model.dart';
       ^
lib/src/util/api/leaderboard_api.dart:24:17: Error: Type 'LeaderData' not found.
  static Future<LeaderData> getMonthlyLeaderData(String paginatedUrl,int? year , int? month) async{
                ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:52:17: Error: Type 'LeaderData' not found.
  static Future<LeaderData> getMoreMonthlyLeaders (String? nextUrl) async{
                ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:41:9: Error: 'LeaderData' isn't a type.
        LeaderData leaderData = LeaderData(
        ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:41:33: Error: Method not found: 'LeaderData'.
        LeaderData leaderData = LeaderData(
                                ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:61:9: Error: 'LeaderData' isn't a type.
        LeaderData leaderData = LeaderData(
        ^^^^^^^^^^
lib/src/util/api/leaderboard_api.dart:61:33: Error: Method not found: 'LeaderData'.
        LeaderData leaderData = LeaderData(
                                ^^^^^^^^^^
lib/src/providers/leaderboards/monthlyleaderboard_provider.dart:26:13: Error: 'LeaderData' isn't a type.
      final LeaderData? monthlyLeaderData =
            ^^^^^^^^^^
lib/src/providers/leaderboards/monthlyleaderboard_provider.dart:42:11: Error: 'LeaderData' isn't a type.
    final LeaderData leaderData = await LeaderboardApiClient.getMoreMonthlyLeaders(nextUrl);
          ^^^^^^^^^^
Target kernel_snapshot failed: Exception
Failed to package /Users/builder/clone.
Command PhaseScriptExecution failed with a nonzero exit code
note: Building targets in dependency order
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')

This seems like an odd error. Can't find a file?

The file was not added in the previous commits


Build without test cases if the test task is called previously

Purpose
Fix the build task is not executing if the test task is called previously.

Only if a build task is called including the disable/ groups param.
Lets say we have another integration test module depending on module being build, in the above case, only the test will run and not the build. I was thinking may this is the issue for HTTTP windows failure.

Only if a build task is called including the disable/ groups param.
Lets say we have another integration test module depending on module being build, in the above case, only the test will run and not the build. I was thinking may this is the issue for HTTTP windows failure.

This will affect the code coverage. Because when we re-build without the tests, the coverage file will not be generated. This might cause the coverage to incorrectly showing 0% coverage. We had this issue earlier too. That's why we used this more complex approach to handle tests and the build.

Closing this due to the above issue.


Route param sync issue with vue-router 3.0.0, vuex 3.0.0 and vuex-router-sync 5.0.0

Hi all!
There seems to be a route state sync issue with the current vue-router, vuex and vuex-router-sync version.
I get an empty object for state.route.params within my getter function using the following versions:
"vue": "^2.4.2", "vue-router": "^3.0.0", "vuex": "^3.0.0", "vuex-router-sync": "^5.0.0"
The statement state.route.params used to return the correct state params (for the current route) using the following versions:
"vue": "^2.4.2",  "vue-router": "2.7.0", "vuex": "2.4.1", "vuex-router-sync": "4.3.2"
Michael

Please provide a reproduction if possible.

Working example:
"vue": "^2.4.2", "vue-router": "2.7.0", "vuex": "2.4.1", "vuex-router-sync": "4.3.2"
https://codepen.io/michaelhunziker/pen/GMBGpB
Not working:
"vue": "^2.4.2", "vue-router": "^3.0.0", "vuex": "^3.0.0", "vuex-router-sync": "^5.0.0"
https://codepen.io/michaelhunziker/pen/gGdbZv
p.s. I couldn't find a CDN version to include within the codepen thus i had to inline vuex-router-sync.

FYI this is a regression in vue-router and will be fixed with a patch release soon.

@yyx990803 I'm also wondering what the progress is on this as I'm facing a similar issue? In my case multiple query string params ?foo=bar&bar=foo cause vuex-router-sync to not return the correct route params for the next route where just ?foo=bar does not. What's even more interesting is this is only happening when our app is deployed to aws lambda and isn't reproducible locally in development or w/ serverless offline :(


Clarity on deleted database location

This will help clarify how to navigate to the deleted database tile.

Hi @elfisher, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (elfish). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Finding the roots of a quadratic equation.

create a program using python to find the roots of a quadratic equation.

i would like to work on this issue.


`_stream_writable.js:464

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[ x] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Trying to load papertrader with RSI Bull BEAR ADX
Expected result (what you hoped would happen)
papertrade to start
Actual result (unexpected outcome)
Error given and gekko stops
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
`_stream_writable.js:464
cb();
^
TypeError: cb is not a function
at afterWrite (_stream_writable.js:464:3)
at _combinedTickCallback (internal/process/next_tick.js:144:20)
at process._tickCallback (internal/process/next_tick.js:180:9)`

If this was via the CLI: Can you post full logs with debug enabled?

Hi Mike, This was the CLI output with debug enabled, it stops throwing this up, if you keep restarting the bot till it doesnt show up. i tried to restart the bot 3 times and on the 4th it started ok. Sorry not the most technical explanation. I would imagine its a time and tick based sync issue as its not there all the time.
Sorry

No problem, if it happens again can you post more of the logs (so we can see what gekko was doing just before it crashed)?

No problem. sorry by logs you mean whats in the cli or is there a files somewhere else you need? i can replicate it easily if you let me know what you need

@Kris191 everything is logged to the console by default, if you have a hard time copying you can also post a screenshot here.

Here you go...
`root@vps520385:~/gekko# node gekko --config test.js
______   ________  __    __  __    __   ______

/      \ /        |/  |  /  |/  |  /  | /
/$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
$$ | $$/ $$ |_    $$ |/$$/  $$ |/$$/  $$ |  $$ |
$$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
$$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
$$ _$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ _$$ |
$$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/
$$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/
Gekko v0.6.1
I'm gonna make you rich, Bud Fox.

2018-07-08 20:57:02 (INFO):	Setting up Gekko in realtime mode
2018-07-08 20:57:02 (INFO):
2018-07-08 20:57:02 (INFO):	Setting up:
2018-07-08 20:57:02 (INFO):		 Candle writer
2018-07-08 20:57:02 (INFO):		 Store candles in a database
2018-07-08 20:57:02 (INFO):
2018-07-08 20:57:02 (INFO):	Setting up:
2018-07-08 20:57:02 (INFO):		 Trading Advisor
2018-07-08 20:57:02 (INFO):		 Calculate trading advice
2018-07-08 20:57:02 (INFO):		 Using the strategy: RSI
2018-07-08 20:57:02 (INFO):		The trading method requests 5000 minutes of historic data.  Seeding the trading method with all required historical candles.
2018-07-08 20:57:03 (DEBUG):		Seeding with:
2018-07-08 20:57:03 (DEBUG):			from: 5000 minutes ago
2018-07-08 20:57:03 (DEBUG):			to: 18 minutes ago
2018-07-08 20:57:03 (INFO):	Setting up:
2018-07-08 20:57:03 (INFO):		 Advice logger
2018-07-08 20:57:03 (INFO):
2018-07-08 20:57:03 (INFO):	Setting up:
2018-07-08 20:57:03 (INFO):		 Paper Trader
2018-07-08 20:57:03 (INFO):		 Paper trader that simulates fake trades.
2018-07-08 20:57:03 (INFO):
2018-07-08 20:57:03 (INFO):	Setting up:
2018-07-08 20:57:03 (INFO):		 Performance Analyzer
2018-07-08 20:57:03 (INFO):		 Analyzes performances of trades
2018-07-08 20:57:03 (INFO):
2018-07-08 20:57:03 (INFO):	Setting up:
2018-07-08 20:57:03 (INFO):		 Google Forms
2018-07-08 20:57:03 (INFO):		 Logs Trades to Google Forms
2018-07-08 20:57:03 (INFO):	Prefilled link parsed successfully. 11 fields found.
2018-07-08 20:57:03 (INFO):	gForms Plugin Active. Any new trades will be sent to your google form
2018-07-08 20:57:03 (INFO):
2018-07-08 20:57:03 (INFO):	Starting to watch the market: Binance XLM/BTC
2018-07-08 20:57:03 (DEBUG):	scheduling ticks
2018-07-08 20:57:03 (DEBUG):	Requested XLM/BTC trade data from Binance ...
2018-07-08 20:57:03 (DEBUG):	Processing 432 new trades. From 2018-07-08 18:40:00 UTC to 2018-07-08 18:57:03 UTC. (17 minutes)
^C
root@vps520385:~/gekko# node gekko --config test.js
______   ________  __    __  __    __   ______

/      \ /        |/  |  /  |/  |  /  | /
/$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
$$ | $$/ $$ |_    $$ |/$$/  $$ |/$$/  $$ |  $$ |
$$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
$$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
$$ _$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ _$$ |
$$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/
$$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/
Gekko v0.6.1
I'm gonna make you rich, Bud Fox.

2018-07-08 20:57:08 (INFO):	Setting up Gekko in realtime mode
2018-07-08 20:57:08 (INFO):
2018-07-08 20:57:08 (INFO):	Setting up:
2018-07-08 20:57:08 (INFO):		 Candle writer
2018-07-08 20:57:08 (INFO):		 Store candles in a database
2018-07-08 20:57:08 (INFO):
2018-07-08 20:57:08 (INFO):	Setting up:
2018-07-08 20:57:08 (INFO):		 Trading Advisor
2018-07-08 20:57:08 (INFO):		 Calculate trading advice
2018-07-08 20:57:08 (INFO):		 Using the strategy: RSI
2018-07-08 20:57:09 (INFO):		The trading method requests 5000 minutes of historic data. Checking availablity..
2018-07-08 20:57:09 (INFO):
2018-07-08 20:57:09 (DEBUG):		Available local data:
2018-07-08 20:57:09 (DEBUG):			from: 5000 minutes ago
2018-07-08 20:57:09 (DEBUG):			to: 1 minutes ago
2018-07-08 20:57:09 (INFO):		Usable local data available, trying to match with exchange data..
2018-07-08 20:57:09 (DEBUG):		Fetching exchange data since 16 minutes ago
2018-07-08 20:57:09 (DEBUG):		Available exchange data:
2018-07-08 20:57:09 (DEBUG):			from: 16 minutes ago
2018-07-08 20:57:09 (DEBUG):			to: 0 minutes ago
2018-07-08 20:57:09 (DEBUG):		Stitching datasets
2018-07-08 20:57:09 (INFO):		Full history locally available.  Any new trades will be sent to your google form
2018-07-08 20:57:10 (INFO):
2018-07-08 20:57:10 (INFO):	Starting to watch the market: Binance XLM/BTC
2018-07-08 20:57:10 (DEBUG):	scheduling ticks
2018-07-08 20:57:10 (DEBUG):	Requested XLM/BTC trade data from Binance ...
2018-07-08 20:57:11 (DEBUG):	Processing 393 new trades. From 2018-07-08 18:41:00 UTC to 2018-07-08 18:57:03 UTC. (16 minutes)
_stream_writable.js:464
cb();
^
TypeError: cb is not a function
at afterWrite (_stream_writable.js:464:3)
at _combinedTickCallback (internal/process/next_tick.js:144:20)
at process._tickCallback (internal/process/next_tick.js:180:9)
root@vps520385:~/gekko#
`

Does this ever happen when you disable the google forms plugin?

Looking at the code, I think there is a bug in your version of the google forms plugin relating to processCandle. Please share the full code (don't just paste it here, maybe put it in a gist or so).

diabled google forms and still get the error.

that google form code you posted is not compatible with gekko 0.6 Strange
your issue keeps happening even without that plugin. Can you put your full
config in a gist (without API keys)?
On Mon, Jul 9, 2018 at 11:44 AM, Kris Simpson<EMAIL_ADDRESS>wrote:

diabled google forms and still get the error.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/issues/2289#issuecomment-403351529, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7MDxNZma4hPry6NFncywrOeezjxrQEks5uEtGTgaJpZM4VGqgD
.

--
PGP key at keybase.io/mikevanrossum
https://keybase.io/mikevanrossum/key.asc

@kris191 is this still an issue? Since you're pretty active on the forum and such I am now assuming you were able to fix this. If not, just reply here with your config in a gist and I'll have another look :)


Change launcher image

Hi friends,
it is possible to change the launcher image using a variable? or it needs to change something directly in the library?
thanks in advance

What you mean by "launcher image"?


[AutoPR serialconsole/resource-manager] add serialconsole package-2018-05 to Go SDK

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5736

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/4628


Onivim: Upgrade to 1.54.3

This PR fixes #

Force-pushed to master with: https://github.com/onivim/vscode-exthost/commit/a7c9990e291424bf949ff1df63c20c24e325cde6


[Security] Workflow dotnet.yml is using vulnerable action tubone24/update_release

The workflow dotnet.yml is referencing action tubone24/update_release using references v1.0. However this reference is missing the commit 57f340d9f6d237e78af226f0889edb48f78ae32f which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Thank you for pointing out on this issue. I updated the workflow to use the latest Version of update_release.


Remove all direct CyclopsAutoload usage from plugin code

There's a long story here, but the short version is that I misspelled the autoload name (CyclopsAutoLoad instead of CyclopsAutoload, perhaps worth pointing out in the upgrade instruction) and spent a good 1.5h debugging the plugin and noticed something.
As far as I can tell, the plugin already mostly follows this undocumented guideline:

The correct way to handles [using autoloads in the plugin source], as the plugin developer, is to not rely on the name. Neither should the user be required to add the autoload, the plugin can do that. What to do:
In the EditorPlugin's _enter_tree(), you register the autoload under a name. This name is purely for the user, not for the plugin.
In the plugins various scripts, you add this line: var plugin_autoload: Node = $"/root/plugin_autoload", and use this variable instead of the autoloads name.

Looking through the source code, that approach is already used, but I also found many references to CyclopsAutoload as if it was an existing singleton:
snapping/snapping_system_grid.gd:	snap_to_grid_util = CyclopsAutoload.calc_snap_to_grid_util()
snapping/snapping_system_grid.gd:	var snap_angle:float = CyclopsAutoload.settings.get_property(CyclopsGlobalScene.SNAPPING_GRID_ANGLE)
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.settings.set_property(CyclopsGlobalScene.SNAPPING_GRID_POWER_OF_TWO_SCALE, int(value))
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.save_settings()
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.settings.set_property(CyclopsGlobalScene.SNAPPING_GRID_UNIT_SIZE, value)
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.save_settings()
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.settings.set_property(CyclopsGlobalScene.SNAPPING_GRID_USE_SUBDIVISIONS, toggled_on)
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.save_settings()
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.settings.set_property(CyclopsGlobalScene.SNAPPING_GRID_SUBDIVISIONS, int(value))
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.save_settings()
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.save_settings()
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.settings.set_property(CyclopsGlobalScene.SNAPPING_GRID_UNIT_SIZE, unit_size)
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.settings.set_property(CyclopsGlobalScene.SNAPPING_GRID_SUBDIVISIONS, int(subdiv))
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.save_settings()
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.settings.set_property(CyclopsGlobalScene.SNAPPING_GRID_TRANSFORM, xform)
snapping/snapping_system_grid_properties_editor.gd:	CyclopsAutoload.save_settings()
menu/editor_toolbar.gd:	CyclopsAutoload.settings.set_property(CyclopsGlobalScene.SNAPPING_ENABLED, toggled_on)
commands/cmd_snap_to_grid.gd:	var snap_to_grid_util:SnapToGridUtil = CyclopsAutoload.calc_snap_to_grid_util()
commands/cmd_intersect_block.gd:	var snap_to_grid_util:SnapToGridUtil = CyclopsAutoload.calc_snap_to_grid_util()
commands/cmd_subtract_block.gd:	var snap_to_grid_util:SnapToGridUtil = CyclopsAutoload.calc_snap_to_grid_util()
actions/cyclops_action.gd:	var snap_to_grid_util:SnapToGridUtil = CyclopsAutoload.calc_snap_to_grid_util()
actions/action_snap_to_grid.gd:	#var snap_to_grid_util:SnapToGridUtil = CyclopsAutoload.calc_snap_to_grid_util()
cyclops_level_builder.gd:const AUTOLOAD_NAME = "CyclopsAutoload"
cyclops_level_builder.gd:	mgr.snap_enabled = CyclopsAutoload.settings.get_property(CyclopsGlobalScene.SNAPPING_ENABLED)

While I can't guarantee it, it seems to me that changing all of this to use get_node("/root/CyclopsAutoload") should remove the need for the workaround of manually adding the autoload before enabling the plugin, leading to a much smoother and issue-free user experience. Is there a reason why you would need to use the "direct" approach over the get_node approach in some places?

Well, after trying to make a pull request for this, it seems that the issue is that the autoload is called in classes which don't inherit from node, e.g. Resource and RefCounter. These can't use get_node nor get_tree().
To remove the autoload call from them, a reference to it would have to be injected in _init or right after. These classes also seem to have a reference to the main plugin script/class, so the autoload ref could be acquired from there instead.

I've worked on this a bit more and here's what I found.
The remaining (i.e. in code which doesn't inherit from Node) direct CyclopsAutoload usage consists of 6 calls to calc_snap_to_grid_util() and one CyclopsAutoload.settings.get_property(CyclopsGlobalScene.SNAPPING_GRID_ANGLE). calc_snap_to_grid_util() heavily references the settings as well.
Settings seems to reimplement features which already exist in Godot, such as:

var_to_str and str_to_var which handle all built-in type conversion
Dictionary.get() which checks whether a key exists and returns a supplied default value if needed

In general, I have a gut feeling this whole thing could be replaced with built-in ConfigFile. But I can't be sure because the codebase is really complex and it's hard for me to know how everything works. Anyway, the point being: rewriting the settings would enable getting rid of the direct CyclopsAutoload usage.
Here's a few proposals for that, and other adjacent things mentioned above:

Rename Settings to CyclopsSettings (like with https://github.com/blackears/cyclopsLevelBuilder/issues/122, to not take up users' namespace)
Implement the setting utils statically or in a way which won't rely on the settings object state. In other words, for each get/set, load the file or the wanted setting instead of loading once and referencing the data later. Using static functions has the benefit of being able to call without instancing the object: CyclopsSettings.get_property().
This might be bikeshedding, but I'd move calc_snap_to_grid_util to SnapToGridUtil, perhaps even to its _init. This would relegate this responsibility where it belongs and remove the need to reference the settings each time that SnapToGridUtil is needed.

I might work on these myself, but the test project seems broken (I get tons of errors in most scenes and on project start) so I can't really test if these changes would influence other parts of the code, so I'm afraid my changes might cause some bugs.

Which test project are you talking about?  The files named test_* in the root of the project?
The main purpose of the autoload is to let various tools draw to the screen, which is currently implemented by having a global scene draw blocks, wireframes, points, etc between input events.  I'm hoping that moving to a separate viewport will eliminate the need for this class, but it's going to be a while before I can do that.

It's hard for me to debug an error that I can't replicate on my machine.  I'm not sure why.  I also don't have the time to look into this just now.  I hope to get to it soon.
I don't know what's causing the Can't take value from empty array. error.  Godot is giving me no additional info.
The settings cache is meant to hold changes you've made to tools property window.  Also potentially other things as the project evolves.  You should see things written there if you make changes to the tool properties.  You might need to switch between several tools to make sure the changes flush to the cache.

I've looked into this and implemented some of your suggestions.  I think some of this would likely best wait on moving Cyclops to its own window, which should get rid of the CyclopsAutoload as part of the move.  I also do need to come up with some sort of settings system - I'm not been sure how to design it since it should likely be a singleton but not outside of the Autoload system so that non-nodes can refer to it too.

Out of curiosity, why not use add_autoload_singleton() in the EditorPlugin's _enter_tree() method to automatically register the autoload? The user can then reload the editor.

I am in res://addons/cyclops_level_builder/cyclops_level_builder.gd on line 108.  However, it doesn't seem to work for some reason.  I'd look into fixing it, but I'm hoping to remove the need for this autoload all together by creating a new main window for editing.


Add dependencies in repos on other repos

Add and automatically resolve dependencies in shared repos on other repos.

Done


Why am I not having the setting option after fresh installation ?

Never mind. It suddenly appears.


Deploy bridge contracts

Deploy bridge contracts on both chains.
Deploy ERC20 token on main chain.

I've started with this, but didn't make much progress. Here's the current state for anyone who'd like to take over:
We need to deploy the following contracts:

https://github.com/poanetwork/poa-network-consensus-contracts/blob/862c6e7b48f7a803e0282f05e90287b70b32af2a/contracts/RewardByBlock.sol
ERC->native from https://github.com/poanetwork/poa-bridge-contracts

I've cloned the two repositories to the server. Running npm install in the consensus contracts repository fails and I haven't been able to fix it. When compilation is successful, we need to add the reward contract constructor to the side chain genesis file in /root/chains/side_chain_spec.json and redeploy the sidechain (by stopping the docker containers node_side_1/2, deleting the chains directory in /root/chains/side_1/2 and restarting the containers again).
Deploying the bridge contracts also doesn't work for some reason. I tried both the dockerized and the undockerized ways described in the readme. In both cases I get the error message Error: Error: Invalid JSON RPC response: "" when the first RPC request is sent, even though I can send the same request manually and the URL ins configured properly. The config file deploy/.env should be filled in correctly, but the reward contract address is of course missing. The deployer address is funded on both chains (but this needs to be done again if the side chain is redeployed).
All addresses, private keys, passwords, enodes, and contract addresses can be found in /root/notes. It would be nice if the file is kept up to date.

The bridge contracts (and most other things using truffle) don't work with Node 10.x most of the time. I'll install Node 8.x via nvm and try again.
@schmir FYI

After much back and forth, I managed to deploy the contracts and run a single validator on the provided DigitalOcean Droplet (https://github.com/trustlines-protocol/blockchain/issues/7)

I had to install node 8.x, because the truffle stack does not work reliably with node 10.x

Updated the chain specs to assign some initial gas to the accounts mentioned in the notes file. Not sure if this was really necessary, but it was one of the steps to deploy.

Added the RewardByBlock contract (https://github.com/poanetwork/poa-network-consensus-contracts/blob/862c6e7b48f7a803e0282f05e90287b70b32af2a/contracts/RewardByBlock.sol) to the Sidechain chain spec. This could have been done via a normal deployment and later change of the chain spec (https://wiki.parity.io/Block-Reward-Contract.html), but in either case the valid authorities need to be hardcoded in this contract (https://github.com/poanetwork/poa-network-consensus-contracts/blob/862c6e7b48f7a803e0282f05e90287b70b32af2a/contracts/RewardByBlock.sol#L122). This needs to be changed to some consensus mechanism, otherwise all validators could just print money

In poa-bridge-contracts/deploy/.env, the Foreign Limits and Gas can not simply be 0, because there are quite some checks in place (https://github.com/poanetwork/poa-bridge-contracts/blob/master/contracts/upgradeable_contracts/erc20_to_native/ForeignBridgeErcToNative.sol#L24) when initializing the bridge on deployment.

The Block Reward Contract needs to exist when deploying the bridge (https://github.com/poanetwork/poa-bridge-contracts/blob/master/contracts/upgradeable_contracts/erc20_to_native/HomeBridgeErcToNative.sol#L47), which is kind of a circular dependency, because the only one being able to mint coins should be the bridge contract on the home network.

The token bridge docker-compose stack (https://github.com/poanetwork/token-bridge/blob/master/docker-compose.yml) does not work out of the box because of connectivity errors between the containers. Running Redis, RabbitMQ and the 5 Node Services manually worked though
docker run --volume "/root/bridges/main/token-bridge/bridge_data/rabbitmq:/var/lib/rabbitmq/mnesia" --rm -d --name rabbitmq -p "<IP_ADDRESS>:4369:4369" -p "<IP_ADDRESS>:5671:5671" -p "<IP_ADDRESS>:5672:5672" -p "<IP_ADDRESS>:25672:25672" rabbitmq:3
docker run --volume "/root/bridges/main/token-bridge/bridge_data/redis:/data" --rm -d --name redis -p "<IP_ADDRESS>:6379:6379" redis:4 redis-server --appendonly 'yes'
npm run watcher:signature-request
npm run watcher:collected-signatures
npm run watcher:affirmation-request
npm run sender:home
npm run sender:foreign```

The provided test scripts (https://github.com/poanetwork/token-bridge/tree/master/scripts/erc20_to_native) did not work and I gave up at this point.


feat: get idel gov tokens amounts

https://app.shortcut.com/avantgardefinance/story/7727/idle-get-gov-tokens-amounts-and-addresses


changed np.nparray to np.typing.NDArray

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #4512
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[x] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[ ] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

I have made the required changes. please review my changes and let me know if any changes are required

You can fix the pre-commit CI and the style failures by installing pre-commit locally, please read through our Contributing guide: https://docs.pybamm.org/en/latest/source/user_guide/contributing.html#installing-and-using-pre-commit. You may also use nox -s pre-commit to do the same thing.
In particular, the following lines:
pip install pre-commit
pre-commit install

will run the style checks before any code is committed, and will hence prevent you from pushing code that fails these style checks.

i have added  import numpy.typing as npt after import numpy as np. Please review the changes


Take down Riverside Fixit+

We no longer need to maintain the Riverside instance of Fixit+, however we do need to move those transcripts into fixit+.
### Tasks
- [ ] Push all transcripts from https://wrvrtranscripts.americanarchive.org/ to AAPB
- [ ] Pull back all transcripts from AAPB to https://fixitplus.americanarchive.org/
- [ ] Take down https://wrvrtranscripts.americanarchive.org/

List of wrvr guids in Fixit+ attached wrvr_fixit+.txt


[updated] NextJS - Dark Mode doc

Added a step to download the required package for better understanding for beginners.

@shadcn while added the dark mode, I read the doc and felt something is missing. I try to read each doc as I'm absolute beginner , and I identified we should have a install step. So this is it. But seems like there are no workflow setup (Just in case if you didn't noticed).

Since this is already added closing the PR @shadcn.


Scheduler.forkJoin stops executing tasks after reaching its maximum thread count

Try running this code:
implicit val scheduler: Scheduler = Scheduler.forkJoin(4, 8)

// make the pool reach its maximum thread count
Task.parTraverseUnordered(0 until 1000) { _ =>
   Task(scala.concurrent.blocking(Thread.sleep(10)))
}.runSyncUnsafe()

println("slept")

// this task never executes
Task(println("foo")).executeAsync.runSyncUnsafe()

println("done")

After the pool reaches its maximum size caused by blocking operations, it does not execute any tasks even despite the fact that blocking operations have already finished and threads are idle.
The culprit seems to be monix.execution.internal.forkJoin.DynamicWorkerThreadFactory - the code above works fine if the Scheduler is defined like this:
implicit val scheduler: Scheduler =
  Scheduler(new ForkJoinPool(4, ForkJoinPool.defaultForkJoinWorkerThreadFactory, null, true, 0, 8, 1, null, 60, TimeUnit.SECONDS))

Environment: Monix 3.4.1, Scala 2.13.8, JDK 11

OK, now I understand why this was done the way it was - ForkJoinPool changed between JDK8 and JDK11 (it didn't have maxThreads parameter in JDK8). Unfortunately, JDK8 is also prone to this bug so I'm not sure what would a JDK-independent fix look like.


[Bug] The imperative version of prefetch does not work on v6.3.6

Reporting a bug?
Upgrading React Static to 6.3.6 from 6.3.3 causes the prefetch function to return undefined.
The following works on 6.3.3 but not on 6.3.6:
import { prefetch } from 'react-static'

const myFunc = async () => {
  const data = await prefetch('/')
  console.log('The preloaded data:', data)
}

Steps to Reproduce the problem

Try using the prefetch with the latest React Static 6.3.6

Expected Behavior
The React Static version 6.3.6 to return the expected props.
Reproducible Demo
I created a demo with two branches, one for each version:
https://github.com/hellojere/reactstatic-prefetch-bug-demo/branches

Unfortunately, we cut this version with a regression. The next version (releasing today) will fix that regression.  Sorry Jere!

Any updates on this? I desperately need the Terser features for hooks, but also heavily using the prefetch.

v7 fixes this and I'll also be releasing a patch today for v6. Stay tuned.

Patch is released. Thanks!


ScaledObject minReplicaCount Default is not working as described.

Report
I believe I have found a bug / issue with the ScaledObject value minReplicaCount.
I created a ScaledObject where I did not complete the value minReplicaCount as on your website it states that this defaults to 0:

I was having issue's with my deployment as it was never scaling down to 0 even though there was no activity on the Service Bus, I looked into the ScaledObject using
kubectl describe ScaledObject xxxxx
I found that the minReplicaCount was not being set by default.
I then amended my ScaledObject and explicitly added the value:
minReplicaCount: 0
This fixed my issue, when I explicitly added this value, my deployment's were scaling as expected.
Expected Behavior
minReplicaCount is SET to 0 by default.
Actual Behavior
minReplicaCount is not being set to 0 by default.
Steps to Reproduce the Problem

Created a ScaledObject without specifying minReplicaCount.
See if deployment is scaled to 0 by default.

Logs from KEDA operator
No response
KEDA Version
2.7.1
Kubernetes Version
1.22
Platform
Microsoft Azure
Scaler Details
Service Bus
Anything else?
No response

Can you define what you mean with this please?

I found that the minReplicaCount was not being set by default.

Is that based on the describe output? If so, that's normal given the default is used internally AFAIK.

Can you define what you mean with this please?

I found that the minReplicaCount was not being set by default.

Is that based on the describe output? If so, that's normal given the default is used internally AFAIK.

Your documentation states that this input is optional and the default value is 0.

I have found that this is not being set to 0 unless you specify it in your code.
code that does not work, deployments ARE NOT scaled down to 0.
    apiVersion: apps/v1
    kind: Deployment
    name: xxxxx
      pollingInterval: 30
      cooldownPeriod: 90
      idleReplicaCount: 0
      maxReplicaCount: 1

working code, deployments ARE scaled down to 0.
    apiVersion: apps/v1
    kind: Deployment
    name: xxxxx
      pollingInterval: 30
      cooldownPeriod: 90
      idleReplicaCount: 0
      maxReplicaCount: 1
      minReplicaCount: 0

deployments ARE NOT scaled down to 0

So what is it scaled to then if you don't specify it?
It's not because it's not in the YAML that it works, let's focus on the behavior

deployments ARE NOT scaled down to 0

So what is it scaled to then if you don't specify it?
It's not because it's not in the YAML that it works, let's focus on the behavior

It doesn't scale down, it just sits on 1 pod.

Can you share the output of kubectl get so/<name> -o wide & kubectl describe so/<name> please?


method toGeoJson is not exported in index.d.ts

The method toGeoJson is not exported in index.d.ts and hence is not available in angular apps. Please fix as this is a very minor fix for an otherwise awesome library.

You can install my fork directly. I fixed it there
npm i github:vincvdwal/GPXParser.js


amend: respect git config commit.cleanup

Git commit has several configuration options
for how to strip comment lines out of the commit
text. We generally want to support these because
they affect whether we throw away prefixed lines
that could be important text to the user.
"strip" is just the default way we've been doing it, so
refactor to also support "scissors" which has a different
comment and removal method. "whitespace" and "verbatim"
are simpler strategies that we can support as well, but get
no additional comment.
Fixes: #148

Reviews in this chain:
└https://github.com/Skydio/revup/pull/151 amend: respect git config commit.cleanup
　└https://github.com/Skydio/revup/pull/152 amend: respect core.commentChar

#
head
base
diff
date
summary

0
a3fc421e
d7f409ca
diff
Mar 11 19:23 PM
1 file changed, 33 insertions(+), 8 deletions(-)


Respect semver

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What version of the Traefik's Helm Chart are you using?
14.0.0
What version of Traefik are you using?
2.9.1
What did you do?
I noticed a lot of movement in the Traefik helm chart version; in the last week it went from 11.0.0 to 14.0.0.
We use renovate to class updates, this version bumping makes it hard to identify what is going on.
Is it possible to stick to major.minor.patch?
What did you see instead?
See a lot of Traefik helm chart major versions appear in a short time.
What is your environment & configuration?
renovate / helm
Additional Information
No response

Received notification mails from artifacthub. I am amazed traefik helm updates so often. Major version updates and no release notes, no break changes. It is aweful for IT operations.

Hello,
It's true that we applied a lot of changes recently. We try our best to follow semver, and some of them were breaking, that's why we increased the major version each time.
This helm chart is lacking a clear overview of the changes.
Do you think a Changelog would help ? (You have an example of how it could looks like in PR #661)

Maybe release less often and keep major versions for only new versions of Traefik that contain breaking features etc.
We try to pin versions and use renovate to auto patch minor and patch level changes, we had to do a lot of trial and error like @comphilip mentioned, this is not user friendly :)

Changelog with break changes is enough for me.
Before deploying a new helm chart, I reviewed chart default values and did template render to check final K8S yaml output was under expectation. After that, I learned the application deployment configuration well and could figure out every single line of default value overrides would going to be.
So reading changelog break change is enough for me to estimate whether existed default value overrides are still compatible.
netbox has good examples:

https://github.com/netbox-community/netbox-docker/releases
https://github.com/netbox-community/netbox/releases


Error thrown on $ node app.js

After following the instructions I can't seem to get this working.
On $ node app.js I only get the following error:
» node app.js
events.js:154
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::3000
    at Object.exports._errnoException (util.js:890:11)
    at exports._exceptionWithHostPort (util.js:913:20)
    at Server._listen2 (net.js:1234:14)
    at listen (net.js:1270:10)
    at Server.listen (net.js:1366:5)

The port (3000) is already in use. Try to run the app in a different port.
Example, In app.js file replace 3000 with 8080:
app.listen(8080);

You are running another process on port 3000. Sometimes even when you forcibly close a Terminal, an app server can still be running in the background until you restart your computer.

You can also see what else is running and which pid it uses, so you can kill the process instead of restarting your computer.
$ sudo netstat -nlp | grep -e ":3000\b"
You should get sth similar to the following line where 23788 is the PID:
tcp6       0      0 :::3000                   :::*                    LISTEN      23788/node

Thanks, fixed it with $ kill -9 3000


⚠ Bofrost.fr has degraded performance

In 3a9b66c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 971 ms

Resolved: Bofrost.fr performance has improved in 3037797.


pod install bug

osamamohamed@Osamas-MacBook-Pro ios % pod install
Analyzing dependencies
firebase_core: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
[!] CDN: trunk Repo update failed - 107 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/3.5.2/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/3.6.2/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/3.6.2-fix.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/3.7.1-beta.1/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/3.7.1-beta.2/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/3.7.1-beta.5/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-test.1/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-test.2/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-build.1/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-test.1/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/3.8.201/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-alpha.1/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.10/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.11/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.12/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.13/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.2/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.3/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.4/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.5/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.6/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.7/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.8/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-beta.9/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-rc.1/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-rc.2/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-rc.3/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.0-test.3/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-build.3/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-rc.2/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-build.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-build.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>.2-build.2/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-rc.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-beta.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-beta.2/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-beta.3/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.0.1-test.1/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-rc.2/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-rc.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-rc.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.0-build.3/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.0-build.4/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.0-dev.3/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.0-rc.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.0-rc.2/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.0-test.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.0-test.2/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.0-test.3/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.1-dev.1/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/4.1.1-rc.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>-rc.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>2-dev.1/AgoraIrisRTC_iOS.podspec.json Response: SSL connect error
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/7/a/AgoraIrisRTC_iOS/<IP_ADDRESS>3-dev.1/AgoraIrisRTC_iOS.podspec.json Response: Timeout was reached

@osama450
If you reside in Egypt, this is most likely a side effect of website blocking imposed by our ISP, this is not related to Agora but any pod install fails for me unless I use VPN, so using a VPN should resolve this issue hopefully!

It is most like a network issue, as @Ayman-Barghout suggested, using a VPN may resolve it.


Tree and linked list implementation

added implemetation as well as few algos used for printing, counting nodes ,k level print and user input linked list and tree user input.

if you like this do add the  hactoberfest tag and add this to ur repo.


Test for DEM class

Fixed elif loop typo in set_vref(), pointing to CRS in to_vref()
Created better tests for DEM class and checked those worked properly: load, set_vref, to_vref
Added xdem/version.py file to gitignore
Still ongoing: DEM.to_vref() test fails when CRS cannot be read by Pyproj
Using the DEMs from Erik, I can't seem to be able to transfer the CRS read by rasterio into a Pyproj CRS:
img.crs.to_wkt()
Out[10]: 'LOCAL_CS["ETRS89 / UTM zone 33N",GEOGCS["ETRS89",DATUM["unknown",SPHEROID["unretrievable - using WGS84",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],AUTHORITY["EPSG","25833"],UNIT["metre",1,AUTHORITY["EPSG","9001"]]]'
pyproj.CRS.from_wkt(img.crs.to_wkt())
Out[11]: Traceback (most recent call last):
  File "/home/atom/miniconda3/envs/pyddem/lib/python3.8/site-packages/IPython/core/formatters.py", line 224, in catch_format_error
    r = method(self, *args, **kwargs)
  File "/home/atom/miniconda3/envs/pyddem/lib/python3.8/site-packages/IPython/core/formatters.py", line 702, in __call__
    printer.pretty(obj)
  File "/home/atom/miniconda3/envs/pyddem/lib/python3.8/site-packages/IPython/lib/pretty.py", line 394, in pretty
    return _repr_pprint(obj, self, cycle)
  File "/home/atom/miniconda3/envs/pyddem/lib/python3.8/site-packages/IPython/lib/pretty.py", line 700, in _repr_pprint
    output = repr(obj)
  File "/home/atom/miniconda3/envs/pyddem/lib/python3.8/site-packages/pyproj/crs/crs.py", line 983, in __repr__
    datum=self.datum,
  File "pyproj/_crs.pyx", line 2464, in pyproj._crs._CRS.datum.__get__
  File "pyproj/_crs.pyx", line 1331, in pyproj._crs.Datum.create
KeyError: 0

This is necessary for creating the compound CRS for vertical reprojection...
Any ideas?

Oh and the other tests of test_dem.py are only passing with the fix to SatelliteImage which is PRed to GeoUtils

Is the CRS issue similar to this? https://github.com/GlacioHack/GeoUtils/issues/61
Erik was only able to fix this by updating proj... Or you can put a quick fix by changing the EPSG like Erik did initially.

Is the CRS issue similar to this? GlacioHack/GeoUtils#61
Erik was only able to fix this by updating proj... Or you can put a quick fix by changing the EPSG like Erik did initially.

Looks similar! I haven't been able to update to proj 7.2.2 through, environment fails

A workaround for the time being could be:
import json
import subprocess

import pyproj

def get_crs(filepath: str) -> pyproj.CRS:
    """Get the CRS of a raster with the given filepath."""
    info = subprocess.run(
        ["gdalinfo", "-json", filepath],
        stdout=subprocess.PIPE,
        check=True,
        encoding="utf-8"
    ).stdout

    wkt_string = json.loads(info)["coordinateSystem"]["wkt"]

    return pyproj.CRS.from_wkt(wkt_string)

Does this work for you, @rhugonnet ? It works for me, but I have an updated proj installation so maybe it won't work for you still.


Make plot and predict consistent

Should we return the observational noise when predicting from regression?

Currently, predict returns glm predictions for regression, not incorporating the observational noise (which I think I chose to do to stay consistent with PyTorch)
In TaijaPlotting.jl, we plot the interval that contains both sources of noise (parameters and observational).

In any case, we should add warnings and/or documentation
cc @pasq-cat

directly from alex immer github docs.

 directly from alex immer github docs.

That's exactly the formula we use here for plotting. Let's discuss during our meeting.

addressed in #118


Adding field geometry, click next, click back, geometry is gone

What's wrong

when adding field geometry, clicking next, clicking back, the field geometry is gone

What done looks like

persist geometry on rerender

Where the changes need to be made

Location.js

close as the problem no longer existed


Optimize seata at transaction manager

inline xid broadcast
clear xid of sub thread when SQL executed
revise unit test

Codecov Report

Merging #4747 into master will decrease coverage by 0.04%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##             master    #4747      +/-   ##
============================================
- Coverage      55.7%   55.66%   -0.05%
  Complexity      428      428
============================================
  Files          1143     1144       +1
  Lines         20793    20806      +13
  Branches       3834     3838       +4
============================================
- Hits          11583    11581       -2
- Misses         8487     8501      +14
- Partials        723      724       +1

Impacted Files
Coverage Δ
Complexity Δ

...dingsphere/transaction/base/seata/at/Constant.java
0% <0%> (ø)
0 <0> (?)

...se/seata/at/SeataATShardingTransactionManager.java
97.5% <100%> (+0.06%)
0 <0> (ø)
:arrow_down:

...n/base/seata/at/TransactionalSQLExecutionHook.java
72.72% <57.14%> (-27.28%)
1 <0> (ø)

...ql/parser/binder/metadata/table/TableMetaData.java
78.57% <0%> (-21.43%)
0% <0%> (ø)

...ardingjdbc/executor/AbstractStatementExecutor.java
40.42% <0%> (-0.88%)
0% <0%> (ø)

...ent/ddl/column/position/ColumnPositionSegment.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...e/metadata/loader/ShardingTableMetaDataLoader.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...dl/column/position/ColumnAfterPositionSegment.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...dl/column/position/ColumnFirstPositionSegment.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...ql/segment/ddl/column/ColumnDefinitionSegment.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

Pull Request Test Coverage Report for Build 10234

12 of 14 (85.71%)  changed or added relevant lines in 3 files are covered.
18 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.09%) to 59.199%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-transaction/sharding-transaction-base/sharding-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/Constant.java
0
1
0.0%

sharding-transaction/sharding-transaction-base/sharding-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHook.java
6
7
85.71%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-core/sharding-orchestration-core-registrycenter/src/main/java/org/apache/shardingsphere/orchestration/core/registrycenter/util/IpUtils.java
3
76.0%

sharding-scaling/sharding-scaling-core/src/main/java/org/apache/shardingsphere/shardingscaling/core/synctask/history/HistoryDataSyncTask.java
7
76.47%

sharding-scaling/sharding-scaling-core/src/main/java/org/apache/shardingsphere/shardingscaling/core/execute/executor/channel/MemoryChannel.java
8
51.85%

Totals

Change from base Build 1068:
-0.09%

Covered Lines:
12317

Relevant Lines:
20806

💛  - Coveralls

Please set the label as bug or enhancement


How can I use turtle?

Hi. I can only sink  jsonld.
I dont know how should initialize my object to put it in editor. (Im just started and not expert)
Can you give me a simple example about turtle object?

Hi @nkm96,
an example:
@base <http://example.org/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rel: <http://www.perceive.net/schemas/relationship/> .

<#green-goblin>
    rel:enemyOf <#spiderman> ;
    a foaf:Person ;    # in the context of the Marvel universe
    foaf:name "Green Goblin" .

<#spiderman>
    rel:enemyOf <#green-goblin> ;
    a foaf:Person ;
    foaf:name "Spiderman", "Человек-паук"@ru .

Some resources that could be useful:
The syntax of Turtle:
https://www.w3.org/TR/2014/REC-turtle-20140225/
The video of an online course:
https://open.hpi.de/courses/semanticweb2016/items/3h7kCHTTxYDQdqrjN5EEkV

@cristianvasquez
thanks for your answer. I familiar with turtle object, but I dont know how should pass it into rdf-editor.
for example you initialize editor like this:
const initialValue = JSON.stringify(jsonld, null, 2) const template = html<rdf-editor format="application/ld+json" .value="${initialValue}">``
how can I do it for turtle object?

If string works for you, you can replace json with a turtle.
See it in action here: https://studio.webcomponents.dev/edit/AqJKehQIzgLrPlNJDC1b
If you want to update using quads then set the .quads property instead. It takes and array or RDF/JS Quad objects


Invoke-WebRequest "https://win.rustup.rs/" does not work

Here's the error:
Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send

cc @retep998

@japaric also sees intermittent errors using File-Download: https://ci.appveyor.com/project/japaric/trust-mx72n/build/1.0.47/job/81d5rx5nmbwed8f6#L10
Start-FileDownloadInternal : Error downloading remote file: One or more errors occurred.
Inner Exception: The request was aborted: Could not create SSL/TLS secure channel.
At C:\Program Files\AppVeyor\BuildAgent\Modules\build-worker-api\build-worker-api.psm1:242 char:2
+     Start-FileDownloadInternal -Url $Url -FileName $FileName -Timeout ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Start-FileDownloadInternal], Exception
    + FullyQualifiedErrorId : System.Exception,Appveyor.BuildAgent.Api.Utils.StartFileDownloadInternalCmdlet


Question about loading pretrained LLM models

Hello,@hyn2028
I have download your pretrained LLM weights, but when i run the scripts "python generate_llmcxr.py
--model_path ./weights/llmcxr_checkpoint-v3-1e+v2-2e.tar.gz", it shows the error that: huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/llm-cxr-main/weights/llmcxr_checkpoint-v3-1e+v2-2e.tar.gz'. Use repo_type argument if needed.
Can you help me solve the problem?
Thanks in advance.

Hi there. Please unzip those files (llmcxr_checkpoint-v3-1e+v2-2e.tar.gz). For the path, you should specify the directory where it was unzipped (--model_path ./weights/llmcxr_checkpoint-v3-1e+v2-2e).

Thanks a lot for your kind help! Your work are quite impressive!


Differences are vanished in error output message

Hi guys,
Please consider the following test case:
    it.only('should whatever', () => {
        const result$ = cold('-a--|', {
            a: { prop: NaN }
        });

        const expectedResult$ = cold('-a--|', {
            a: { prop: null }
        });

        expect(result$).toBeObservable(expectedResult$);
    });

The 2 prop obviously differs, so the test case will fail.
Unfortunately, the difference is vanished from the output message, since during stringification of frames, NaN becomes null:

The differences should be highlighted as follows:

Could you please check?
Thanks,
Bence

Probably same issue as in:
https://github.com/CodeSequence/jasmine-marbles/pull/88

One of the few reasons jest-marbles may be used over jasmine-marbles is that due to the output of jasmine-marbles it's nearly impossible to compare complex observables.
Here a simple comparison:
jasmine-marbles (running with jest) ⬇

jest-marbles (also running with jest)  ⬇

As you can see, it's way easier to detect what went wrong inside the test-case with the better formatted print, highlighting and fifing


No connection to Wifi

Description:
Since some hours i can not connect to the Mupibox via Wifi
Tried:
-Restart
-tested different SSID (2.4G and 5G)
-Tried to connect with my Iphones hotspot function
Its strange that in Display Libary menu, it shows still the last IP adress.
Workaround:
.no workaround found

Fixed


Starting and stopping cron job under conditions

So, I found an old question about this (https://stackoverflow.com/questions/53684668/how-to-stop-a-node-cron-job/53684854) but it doesn't work for me (and I can't realize the reason why). I'm using cron-job-manager (since I plan to use more than one scheduled job at the same time) but as far as I know it should be built on node-cron (but I'm a newbie, so...). Also, I simply used node-cron having the same issue.
So, I'm asking again: how do I deal with starting and stopping a cron job under certain conditions? I'm actually doing this for a discord bot: basically, the user input a command for starting and one for stopping.
First try was something like:
job = cron('keyTask','* * * * * *', ()=>{
  //Do the actual job
  },
  {
  start: false,
  timeZone:"Europe/London",
  });

switch args[1]
case go:
  job.start();
  break;
case stop:
  job.stop();
  break;

This start the job successfully when the user gives the 'go' command, but when it gives the 'stop' command, the scheduled job just won't stop.
Second try is:
  var x = args [1];
  new cron('keyTask' , '* * * * * *', job(doTheThing(x)) ,
  {
  start: false,
  timeZone:"Europe/London",
  });

Where job() is a function defined beforehand that contains the actual job and DoTheThing() is something that gives true or false depending on what the user is saying in input. This executes the scheduled job once and then stops. Somehow I suspect that the issue here is related to the fact that I'm defining function externally, while in most examples I saw the function is always written within the cron(). So, I'm out of ideas: thanks in advance for any help!

start is not a valid corn option use scheduled instead.
corn's second argument have to be a function replace job(doTheThing(x)) with () => {job(doTheThing(x))}.


[Help wanted] refactor: condition matchers

https://github.com/FeatureProbe/server-sdk-java/blob/8c71ba45767b6de96171a4e426dbfa21addf9b4d/src/main/java/com/featureprobe/sdk/server/model/Condition.java#L25-L33
using map for predicate matching isn't a good practice, consider using strategy pattern or so.

If no one volunteers to pick it up in about 2 weeks, I'll handle it.


Ubuntu Precise Support

Why is does not allow the user to package in Precise?

This is an upstream issue.


Add snapshot interval to the configuration of the node

Closes: https://github.com/input-output-hk/cardano-node/issues/2585

Closed in https://github.com/input-output-hk/cardano-node/commit/565486051ba67188fd9c3ed736e3f7f2b4ad2873


Fix SVG links in Webview

Currently, the links in SVGs in Webviews doesn’t work, because the value of href property might be a SVGAnimatedString.

@EFanZh Thanks for looking into this. Can you please create an issue with some example code so that we can verify the original bug is fixed


brcmfmac: nexmon_ioctl_handling: NEXMON: nexmon_ioctl_handling: error on copy ifr_data

Original bug report: seemoo-lab/nexmon#32
after loading Nexmon on Kali (on a Raspberry Pi 3) and successfully getting packets in monitor mode, I noticed the system seems to get the following message in dmesg when just running airmon-ng without any parameters (Aircrack-ng 1.2rc4):
[ 2271.750875] brcmfmac: nexmon_ioctl_handling: NEXMON: nexmon_ioctl_handling enter
[ 2271.750903] brcmfmac: nexmon_ioctl_handling: NEXMON: nexmon_ioctl_handling: error on copy ifr_data
[ 2271.750980] brcmfmac: nexmon_ioctl_handling: NEXMON: nexmon_ioctl_handling enter
[ 2271.752901] brcmfmac: nexmon_ioctl_handling: NEXMON: nexmon_ioctl_handling enter
[ 2271.752927] brcmfmac: nexmon_ioctl_handling: NEXMON: nexmon_ioctl_handling: error on copy ifr_data

I believe one of them is a leftover debug message and the other one is the actual error (even though I don't see any error output in airmon-ng.
uname -a:
Linux kali 4.4.39-v7_Re4son-Kali-Pi-TFT+ #1 SMP Fri Dec 30 09:58:20 CST 2016 armv7l GNU/Linux

I confirm this behaviour


Sessions

Adds support for custom session handling, as proposed by #2
configure handler

menu.sessionConfig({
    start: (sessionId, cb) => {
       // init session based on id
       // called automatically by the menu.run() method
    },
    end: (sessionId, cb) => {
        // end session based on id
        // called automatically by the menu.end() method
    },
    set: (sessionId, key, val, cb) => {
        // set key-val pair for this session
    },
    get: (sessionId, key, cb) => {
        // retrieve value by key
    }
});

usage in states

menu.state('someState', {
    run: _ => {
        menu.session.set('key', 'value').then( _ => menu.con('Next'));
    }
    ....
})
.state('otherState', {
    run: _ => {
        menu.session.get('key').then(  val => {
            console.log(val);
            ...
        });
    },
    ...
});

You can use either callbacks or promises to define your custom handlers, and also for the methods on the session object.

I'll update the docs to include this feature then merge.

Updated the docs. Merge should be okay now.


Plugin not found issue with new plugin configuration method in gradle

Expected behaviour
Plugin should be downloaded, sync & build successfully
Actual behaviour
Getting plugin not found exception while sync
Steps to reproduce
I'm getting Plugin not found exception with the new method of applying plugins while gradle sync:
Issue

my settings.gradle file:
pluginManagement {
    repositories {
        gradlePluginPortal()
        google()
        mavenCentral()
    }
    plugins {
        ... some other plugins....
        id 'shot' version '5.14.1'
    }
}

my module level build.gradle file:
plugins {
    id 'shot'
}

I'm not sure if this is the issue with my configuration or plugin side issue. but it works fine for other plugins. Kindly help!
Version of the library
5.14.1

Same issue here..

Same

I don't believe the plugin is currently published to the Gradle plugin repository.
You can work around this in the meantime by adding the following to your settings.gradle.kts file (apologies, I don't have a groovy version on hand)
pluginManagement {
    repositories {
        google()
        mavenCentral()
        gradlePluginPortal()
    }

    // Manual resolution for plugins that have not yet been published to the gradle plugin portal
    resolutionStrategy {
        eachPlugin {
            when (requested.id.id) {
                "shot" -> useModule(
                    "com.karumi:shot:${requested.version}"
                )
            }
        }
    }
}


Is it possible to set cell height/width ?

Is it possible to set cell height/width ?

It should be possible to change a cell width by setting its column width.
You can get a cell height by getting its row height.  The setter won't work, but It will ASAP, I have to fix it.

I've reopened it as a reminder for next release

Hi,
do you have any idea of when this could be added, please ?
thanks
Olivier

I could provide a fix for that request.
I am just wondering if you accept my contribution ?
I tested locally on my computer, I can update the row height easily
column width update is already working fine.

I can if it's a simple fix. I don't have many time for this project anymore

On 2017-06-22 21:43, René BIGOT wrote:

I can if it's a simple fix. I don't have many time for this project
anymore
--
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [1], or mute the
thread [2].

Links:
[1]
https://github.com/renebigot/XlsxReaderWriter/issues/29#issuecomment-310482379
[2]
https://github.com/notifications/unsubscribe-auth/AY-I61Lw4UUB9_H9DbjILDrQLeHjWzb1ks5sGsPmgaJpZM4IKpAO

Hi,
in BRAColumn.m, I added this code :

(NSInteger)width {
if (_customWidth) {
return _width;
}
return 16.;
}

in BRARow.m, I didn't changed anything, because it seem to work
properly.
I built 2 project : one in swift 2, one in swift 3, in order to use your
library.
I can share it to you if you want.
anyway, nice job.
Thanks
Olivier

Could you create a pull request for this ?

@ormaa Hi, how did you end up changing the height/width of the cell? I have tried:
let index = BRACell(reference: "A1", andStyleId: 0, in: firstWorksheet).rowIndex()
let row = BRARow(rowIndex: index, in: firstWorksheet)
row?.height = 1000
row?.hasCustomHeight = true

but nothing changes. Would greatly appreciate any help. Thanks

Sorry this is to old for me, I don’t have the project anymore with me

On 4 Jul 2018, at 09:06, Jeffrey Leung<EMAIL_ADDRESS>wrote:
@ormaa https://github.com/ormaa Hi, how did you end up changing the height/width of the cell? I have tried:
let index = BRACell(reference: "A1", andStyleId: 0, in: firstWorksheet).rowIndex()
let row = BRARow(rowIndex: index, in: firstWorksheet)
row?.height = 1000
row?.hasCustomHeight = true
but nothing changes. Would greatly appreciate any help. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/renebigot/XlsxReaderWriter/issues/29#issuecomment-402384304, or mute the thread https://github.com/notifications/unsubscribe-auth/AY-I6233ka5pyNI0QVt6373PC6xHa1cjks5uDGl7gaJpZM4IKpAO.


fix: typo on yoctopuce python package

Package name:
python3-yoctopuce-pip
Package Upstream Source:
yoctolib_api
Purpose of using this:
This dependency is being used for controlling the Yoctopuce devices using their Python API. This makes easier to use and control actuators and sensors.
Distro packaging links:
Links to Distribution Packages

Debian: https://packages.debian.org/

https://pypi.org/project/yoctopuce/

Ubuntu: https://packages.ubuntu.com/

https://pypi.org/project/yoctopuce/

Fedora: https://packages.fedoraproject.org/

Not available

Arch: https://www.archlinux.org/packages/

Not available

Gentoo: https://packages.gentoo.org/

Not available

macOS: https://formulae.brew.sh/

Not available

Alpine: https://pkgs.alpinelinux.org/packages

Not available

NixOS/nixpkgs: https://search.nixos.org/packages

Not available

openSUSE: https://software.opensuse.org/package/

Not available

rhel: https://rhel.pkgs.org/

Not available

Checks

[x] All packages have a declared license in the package.xml
[x] This repository has a LICENSE file

This was added four days ago, so I think we can catch it early enough that a bunch of users haven't already added the wrong spelling to their dependencies.
https://github.com/ros/rosdistro/pull/40170
I'm going to merge to avoid having more people potentially depend on the wrong spelling.


port: add "Skedar Leader" track to Soundtrack menu

Add the "Skedar Leader" track to the Combat Simulator Soundtrack selection menu as "Skedar Warrior" as we do not currently have the ability to use the official track name

I can't wait til this is merged! Making Perfect Dark even more perfect!

I can't wait til this is merged! Making Perfect Dark even more perfect!

note that you can try out pull requests as they get test built by the actions system.
https://github.com/fgsfdsfgs/perfect_dark/actions/runs/7240387261/artifacts/1120105214

I can't wait til this is merged! Making Perfect Dark even more perfect!

note that you can try out pull requests as they get test built by the actions system. https://github.com/fgsfdsfgs/perfect_dark/actions/runs/7240387261/artifacts/1120105214

You're going to laugh, but I never figured out how to recompile. Something about linux, and using it on Windows.


Cannot find module 'tracker-component/package.json'

Hello!
I'm trying out std:accounts-ui with accounts-password installing tracker-component via meteor npm i --save tracker-component.
The problem is that I've got two errors, using the <Accounts.ui.LoginForm /> component:

Cannot find module 'tracker-component/package.json' (actually it exists under node_modules)
Error: getNodeFromInstance: Invalid argument.

This is my config:
import { Accounts } from 'meteor/std:accounts-ui'

Accounts.config({
    sendVerificationEmail: false
})

Accounts.ui.config({
    passwordSignupFields: 'USERNAME_ONLY',
})

Meteor: <IP_ADDRESS>
std:accounts-ui:  1.1.15
accounts-password: 1.1.13
EDIT: nvm, dunno why it installed an old version of std:accounts-ui?!? Installed as usual via meteor add std:accounts-ui

I guess it's time to replace tracker-component with meteor's createComponent, what are your thoughts @PolGuixe ?

@timbrandin I am not aware of Meteor's createComponent, and with a quick search I couldn't find any documentation. Removing tracker-component seems a major refactor.

Yeah, the package is called meteor-react-data and it's more used by now with meteor.


⚠ Bofrost.fr has degraded performance

In 3a45507, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 961 ms

Resolved: Bofrost.fr performance has improved in ab384b5.


reformat RCfunction_[core, compile].R to improve readability.

This PR is a step in our plan to gradually improve code formatting for readability.  In this one I’ve modified RCfunction_core.R and RCfunction_compile.R.  Changes include:

Reduced white space on left
Splitting long lists of arguments and nested function calls with carriage returns for vertically arranged visual ease.
Using said splitting to avoid lines > 80 characters.
Some cleaning up of comments.

:+1: as long as tests pass. Thanks for tidying up, Perry!


Can't find variable: tapParser

Can't find variable: tapParser

Seems similar to https://github.com/bySabi/karma-tap/issues/21
Using Node v6.7.0 and npm 2.15.11
Am I missing some config?

npm run karma

><EMAIL_ADDRESS>karma C:\Users\MLM\Libraries\Code\javascript\system-global-phantomjs-test
> karma start karma.config.js --single-run

(node:14212) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
21 02 2017 00:48:22.099:INFO [karma]: Karma v1.5.0 server started at http://<IP_ADDRESS>:9876/
21 02 2017 00:48:22.102:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
21 02 2017 00:48:22.111:INFO [launcher]: Starting browser PhantomJS
21 02 2017 00:48:25.091:INFO [PhantomJS 2.1.1 (Windows 8 0.0.0)]: Connected on socket Z1okRItxPgytm4xLAAAA with id 4921877
PhantomJS 2.1.1 (Windows 8 0.0.0) ERROR
  ReferenceError: Can't find variable: tapParser
  at node_modules/karma-tap/src/adapter.js:76

karma.config.js
const webpackConfig = require('./webpack.config');

module.exports = function(config) {
  config.set({
    browsers: ['PhantomJS'],
    frameworks: ['tap'],
    files: [
      { pattern: './entry1.js' },
    ],
    plugins: [
      require('karma-sourcemap-loader'),
      require('karma-webpack'),
      require('karma-tap'),
      require('karma-phantomjs-launcher'),
    ],
    preprocessors: {
      '**/*.js': ['webpack', 'sourcemap'],
    },
    webpack: webpackConfig,
    webpackMiddleware: {
      noInfo: true
    },
  })
};

package.json snippet
  "dependencies": {
    "babel-core": "^6.23.1",
    "babel-loader": "^6.3.2",
    "babel-preset-es2015": "^6.22.0",
    "karma": "^1.5.0",
    "karma-phantomjs-launcher": "^1.0.2",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-tap": "^3.1.1",
    "karma-webpack": "^2.0.2",
    "system.global": "^2.0.0",
    "tape": "^4.6.3",
    "webpack": "^2.2.1"
  }

Adjusting the karma config to not run the preprocessor over the node_modules made things work. I just moved my files into ./src and updated the preprocessor regex.
const webpackConfig = require('./webpack.config');

module.exports = function(config) {
  config.set({
    browsers: [
      'PhantomJS'
      //'Chrome'
    ],
    frameworks: ['tap'],
    files: [
      { pattern: './src/entry1.js' },
    ],
    plugins: [
      require('karma-sourcemap-loader'),
      require('karma-webpack'),
      require('karma-tap'),
      require('karma-phantomjs-launcher'),
      //require('karma-chrome-launcher'),
    ],
    preprocessors: {
      './src/**/*.js': ['webpack', 'sourcemap'],
    },
    webpack: webpackConfig,
    webpackMiddleware: {
      noInfo: true
    },
  })
};


Empty post title breaks import script

In the xml dump I use, there are some posts with empty titles <title></title>.
In that case, the import script raises an error and stops.
What do you think of these solutions :

:a: generate a fallback title and import the post
:b: do not import this post

Traceback
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 330, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 371, in execute
    output = self.handle(*args, **options)
  File "/usr/local/src/wagtail-wordpress-import/wagtail_wordpress_import/management/commands/import_xml.py", line 70, in handle
    importer.run(
  File "/usr/local/src/wagtail-wordpress-import/wagtail_wordpress_import/importers/wordpress.py", line 113, in run
    wp_post_id=wordpress_item.cleaned_data.get("wp_post_id")
  File "/usr/local/lib/python3.8/functools.py", line 967, in __get__
    val = self.func(instance)
  File "/usr/local/src/wagtail-wordpress-import/wagtail_wordpress_import/importers/wordpress.py", line 509, in cleaned_data
    "title": self.cleaned_title(),
  File "/usr/local/src/wagtail-wordpress-import/wagtail_wordpress_import/importers/wordpress.py", line 368, in cleaned_title
    return self.node["title"].strip()
AttributeError: 'NoneType' object has no attribute 'strip'

I like the idea of a fallback title. What would you call it?
In fact I too have seen this issue with https://codex.wordpress.org/Theme_Unit_Test when I tested it.

Thanks for the fix @nickmoreton !


HOMEBREW_SDKROOT not set on macOS 10.13

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
brew install -s libass (or any package depending on pkg-config to build)
What happened (include command output)
Example from libass:
...
checking pkg-config is at least version 0.9.0... --define-variable argument does not have a value for the variable
...
What you expected to happen
Not that...
Step-by-step reproduction instructions (by running brew commands)
brew install -s xxx (where xxx is any package depending on pkg-config to build)
Output of brew config and brew doctor commands
HOMEBREW_VERSION: 2.2.11-132-g64fd839-dirty
ORIGIN: https://github.com/Homebrew/brew
HEAD: 64fd839c955b3c32855067d26fed7daf65183877
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: d5b88cb32af096274f57a672a3d7410791c9faf3
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CURL_RETRIES: 3
HOMEBREW_DEVELOPER: 1
HOMEBREW_DISPLAY_INSTALL_TIMES: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_FORCE_BREWED_GIT: 1
HOMEBREW_FORCE_VENDOR_RUBY: 1
HOMEBREW_NO_ANALYTICS: 1
HOMEBREW_TAPS: /usr/local/Homebrew/Library/Taps
HOMEBREW_VISUAL: /usr/local/bin/bbedit
CPU: octa-core 64-bit penryn
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build 1000
Git: 2.26.0 => /usr/local/opt/git/bin/git
Curl: 7.69.1 => /usr/local/opt/curl/bin/curl
Java: 14, 1.8.0_241
macOS: 10.13.6-x86_64
CLT: <IP_ADDRESS>.1.1539992718
Xcode: 10.1
XQuartz: 2.7.11 => /opt/X11
Your system is ready to brew.
My Workaround:
Deleted line 4 (  "--define-variable=homebrew_sdkroot=$HOMEBREW_SDKROOT" \  ) from
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config
This fixes it (for 10.13).

Turns out it is impossible to set a variable to an empty string in pkg-config. I suppose though that'll never need to happen in the scenarios where we use homebrew_sdkroot in the *.pc files.
I'll get this fixed, thanks for the report!

Working for me. Thank you!


:sparkles: Added MonoTimer

A MonoBehavior dependant timer that waits a certain amount of time before completing an action; supports looping.

Looks good to me! 👍


Acreate

When will there be support for asynchronous usage?

hey @bballboy8 why do you need acreate support?
i've seen people make async calls and just await the openai response inside the function, so i'm not sure i understand the use-case

So for something like this, it would make more sense to have an async call within the async function:
async def _call_gpt(prompt: str, **kwargs: Any) -> Dict:
    """Call GPT api with backoff."""
    openai.ChatCompletion.acreate = reliableGPT(
        openai.ChatCompletion.acreate<EMAIL_ADDRESS>    )
    params = {**DEFAULT_GPT_PARAMS, **kwargs}
    return await openai.ChatCompletion.acreate(
        model=settings.OPENAI_GPT_MODEL,
        messages=[dict(role="user", content=prompt)],
        request_timeout=15,
        **params,
    )


out-of-bound-read  In utils/jpgicc/jpgicc.c

In source code utils/jpgicc/jpgicc.c, function ProcessPhotoshopAPP13.
There is a number maybe negative, which results a out of bound read.
As below code shows:
 len = ((((GETJOCTET(data[i]<<8) + GETJOCTET(data[i+1]))<<8) +
                         GETJOCTET(data[i+2]))<<8) + GETJOCTET(data[i+3]);

....
 i += len + ((len & 1) ? 1 : 0);   // Alignment

len may be a negative number with a crafted file, then i may be out of bound.
command line: ./utils/jpgicc/.libs/jpgicc bug1 /dev/null
in AddressSanitizer:

In gdb:

the reason for i may be out of bound:

The crafted file is in the zip:
bug1.zip

Thanks for reporting.
However, what you are reporting may be a vulnerability of jpegicc, which is a sample of how to use the little CMS library and it is not required or used in client applications using the library. So, I will try to add some checks as long as that would not affect code readibility, which is the primary goal of this sample.
Please note any CVE regarding this kind of vulnerabilities would be promply disputed, as are related with samples and not with the little cms component, which is unaffected.

Fixed per 8564c9b4fbf07d23062bbbbd87d5eb10dd92073f Thanks for reporting