Game Crashes on macOS Monterey and Sonoma

I am not sure whether it affects all versions of macOS, yet I do know that it crashes on these versions of the Operating System. It occurs on the latest version of the software.

It is crashing because Legacy4J embeds libsdl4j which embeds SDL2 shared libraries for windows and linux only. I got it to work by showing SDL2 from homebrew via DYLD_LIBRARY_PATH environment variable.
Steps:

Install homebrew (<brew.sh>)
Install SDL2 from homebrew (brew install sdl2)
Set up additional environment variables through your launcher (Prism Launcher can do it, I don't know about others) like this: DYLD_LIBRARY_PATH=/opt/homebrew/Cellar/sdl2/2.30.2/lib/
Try to run the game

How would I add it into Environment Variables?

If you’re using Prism Launcher (or any MultiMC based launcher) environment variables settings are available in the “settings” tab in instance settings

Fixed in version 1.6.4, thanks for reporting.


fix issue 104

disable SSLv3
move ssl settings to default[:nexus][:app_server_proxy][:server][:options]
add more secure ssl settings - https://sethvargo.com/getting-an-a-plus-on-qualys-ssl-labs-tester/

:+1: Seems legit


On using the sensitive attribute

Given our discussion in IRC:

If I have attribute :sensitive, default: true on my resource
And the user does my_resource 'hi' do; puts sensitive; end
I expect it to print true (edited)

In the current Chef, it prints false
To resolve this you'll want to have the below in the resource:
def initialize(*args)
  super
  @sensitive = true
end

The reason that this returns an unexpected value is that the common property sensitive has a default value and because of how the initialization process works, if you're getting the default value for the common sensitive not the default you set. The line below is where the trouble originates from:
https://github.com/chef/chef/blob/master/lib/chef/resource.rb#L161
For the interim:

if you'd like to use the name sensitive you could use the above fix to basically override that default
use another name as discussed
I haven't opened an issue yet but discussed with @jkeiser removing the default initialization or making it safer for cases just like this.

Cheers!
(feel free to close the issue, just wanted to follow up since we nailed this down)

Thanks for this!  I will discuss with the team what approach we should take.

This cookbook has had 2 major revs to the version due to security fixes already, so sensitive will be patched at this time.


unclear what --json does when running ftl config set

Repro
❯ ftl config set --json echo.default '{ "name": "beepboop"  }'
ftl: error: unknown: JSON validation failed: default has wrong type, expected String found map[string]interface {}

❯ ftl config set --json echo.default "{\"name\": \"beepboop\"}"
ftl: error: unknown: JSON validation failed: default has wrong type, expected String found map[string]interface {}

❯ ftl config set --db --json echo.default '"{\"name\": \"beepboop\"}"'

[!NOTE]
Finally! But yuck

❯ ftl config get echo.default
"{\"name\": \"beepboop\"}"

❯ ftl config set --db echo.default '{"name": 3}'

❯ ftl config get echo.default
"{\"name\": 3}"

The error is correct, but could perhaps be clearer... --json is for specifying strongly typed values, the FTL type is String and you're trying to put a map into it.


Merge 3.10.19 into 3.15.x

Issue
gravitee-io/issues#8279
Description
Merge 3.10.19 into 3.15.X
List of files with conflicts

[x] ApiHandlerConfiguration.java
[x] ApiKeyRepositoryWrapperTest.java
[x] AuthenticationHandlerSelectorTest.java
[x] ConnectorConfiguration.java
[x] GatewayTestContainer.java
[x] HeartbeatService.java
[x] HeartbeatThread.java
[x] JWTAuthenticationHandlerTest.java
[x] management.run.ts
[x] navbar.component.ts
[x] gravitee-apim-rest-api
[x] SecurityPolicyResolver.java
[x] SecurityPolicyResolverTest.java

📚  View the storybook of this branch here

@gcusnieux can you check if everything is ok with your last improvements on the HeartBeatService plz ?


perlPackages.PkgConfig: fix cross compilation

Motivation for this change
Change the way we source $PkgConfig::VERSION to avoid loading
unnecessary libraries during cross-build.
Fixes #115170
Things done

Built on platform(s)

[X] x86_64-linux (cross-compile to aarch64-multiplatform)
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pkgsCross.aarch64-multiplatform.perlPackages.PkgConfig

@GrahamcOfBorg test hydra
@GrahamcOfBorg build perlPackages.PkgConfig
@GrahamcOfBorg build rt
@GrahamcOfBorg build pkgsCross.armv7l-hf-multiplatform.perlPackages.PkgConfig

Thanks @r-burns @stigtsp ! 🎉


Static Brotli Implementation v2

As per discussion in the original PR #666, I was to attempt a new, simpler method of enabling static Brotli compression. The result is this code, co-authored with @tipsy
Instead of trying to change the way Jetty handles static files (which proved to be messy), we are now intercepting Jetty as it writes its results to the output stream, after all handling is finished. We then perform our handling (for the moment, only compression) on the intercepted data, and commit it to the output stream ourselves when finished.
Because we are overriding Outputstream.write(), this approach also works well for handling dynamic responses, thus the CompressionHandler class is now redundant, and has been removed.
The new ResponseHandler class now wraps the "res" parameter within JavalinServlet#service, and is responsible for both static and dynamic compression.
The name ResponseHandler was chosen because overriding the write() methods gives this object the power to perform not only compression, but any kind of response handling/modifications that may be needed in the future.

Still need to write some ETag related tests, but ran out of time for the moment. Unsure if I will have more time to work on it today.

Starting to look really good @nixxcode ! I think the when can be simplified a bit, but other than I don't really have any concerns. We're adding a bit of abstraction to the main request lifecycle, but nothing looks particularly expensive.

I think the when can be simplified a bit

Yes, thank you for the rewrite you provided. included it and tests are all passing, so we're good!

We're adding a bit of abstraction to the main request lifecycle, but nothing looks particularly expensive.

I agree. I think it's a pretty small price to pay for streamlining the handling of both static and dynamic requests into a single point of execution. This will make both future additions and corresponding debug work a LOT easier. :+1:

Also, I have added the ETag tests for both static and dynamic content. ETags work as expected. If the client sends an ETag, we correctly return a 304 response with an empty body while skipping compression.
This works the same regardless if compression is enabled or not, since we never even reach the compression handling "when" block if an ETag is present in the request header.

@nixxcode Looks great from my side. Ready to merge?

Deleted HelloWorldCompression.
Ready when you are!


Add IFRS files

Add IFRS files, new fork

@pcmachado First stage of verification passed, official domain is ifrs.edu.br as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@pcmachado Pull request merged. Thank you.


Stop Table Overflow on User Settings.

 Purpose
Stops project titles from overflowing tables on user settings page addons. Closes #3804.
 Changes
Simple CSS.
 Side Effects
None.

@Johnetordoff and @sloria this is not the right solution to the issue. The text is already wrapping properly, there is simply not enough space for it. It needs to be relocated or some layout changes need to be made.

@caner I'm actually getting both problems, here's my page with on develop:

And on my branch:

The point I made about the issue remains, this doesn't close that issue. The width of the disconnect Account is flexible with what the table assigns based on other columns. If one column is long it will make the X column as short as possible.
Like I said Disconnect Account link needs to be rethought, maybe float right or something.
For the text not breaking, there should be a style that has td a selector and word break, you need to check why that's not working.

Closing this for now. @Johnetordoff can you look into this, considering Caner's feedback.


#302

Made the sleep time customizable. I only found one constants class (CFMetaDataDefaults) but that one does not seem to be the right place for these constants. That is why I left the constants in AbstractCluster.

HectorDev
On Oct 19, 2011 12:08 AM, "mpfau" <
<EMAIL_ADDRESS>wrote:

Made the sleep time customizable. I only found one constants class
(CFMetaDataDefaults) but that one does not seem to be the right place for
these constants. That is why I left the constants in AbstractCluster.
You can merge this Pull Request by running:
git pull https://github.com/mpfau/hector master
Or you can view, comment on it, or merge it online at:
https://github.com/rantav/hector/pull/309
-- Commit Summary --

#302 made the sleep time when waiting for schema agreement customizable

-- File Changes --
M core/src/main/java/me/prettyprint/cassandra/service/AbstractCluster.java
(7)
-- Patch Links --
https://github.com/rantav/hector/pull/309.patch
https://github.com/rantav/hector/pull/309.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rantav/hector/pull/309


Trouble making threads work

Hello there, this is an amazing project and I would like to use it for a native node addon.
Do somebody have an idea of how to make threading work? I know that the nbind::cbFunction function must be called within the same thread the parent function was called, so a setTimeout style functionality cannot be done easily.
I made the following experiment:
The Native Class:
#include <string>
#include <iostream>
#include <thread>
#include <chrono>
#include <nan.h>
#include "nbind/api.h"

class Utils
{
  nbind::cbFunction * asyncFactorialCB;

  public:
    Utils(){ }

    void asyncFactorial(int n, nbind::cbFunction &callback)
    {
        /* save callback function reference */
        Utils * self = this;
        self->asyncFactorialCB = new nbind::cbFunction(callback);

        /* a simple factorial thread using lambda */
        std::thread threadObj([n, self] {

            std::cout << "Start thread..." << std::endl;
            /* sleep thread for 2 seconds */
            std::this_thread::sleep_for(std::chrono::milliseconds(2000));
            /* do some work */
            int acu = n;
            for (int i = n; i > 1; i--)
            {
                acu = acu * (i - 1);
            }

            std::cout << "Result inside thread is: " <<acu<< std::endl;
            std::cout << "End thread..." << std::endl;
            std::cout << "Callback pointer: " << self->asyncFactorialCB << std::endl;

            /* callback javascript, CAUSES SEGMENTATION FAULT */
            (*self->asyncFactorialCB)(n);
        });
        /* detach from this thread */
        threadObj.detach();

        /* THIS HERE WORKS FINE */
        //(*self->asyncFactorialCB)(5555);
    }
};

#include "nbind/nbind.h"
#ifdef NBIND_CLASS
NBIND_CLASS(Utils)
{
    construct<>();
    method(asyncFactorial);
}
#endif

The Javascript code:
var nbind = require('nbind');

/* init native class */
const Utils = nbind.init().lib.Utils;

/* using the class */
let utl = new Utils();
let n = 5;

/* async example */
utl.asyncFactorial(n,(r)=>{
    console.log("Async Factorial of", n, "is", r);
});
console.log('JS', 'after calling async factorial');

/* prevents process from finish */
setInterval(()=>{
},5000);

Output:
Start thread...
JS after calling async factorial
Result inside thread is: 120
End thread...
Callback pointer: 0x1028033d0
Segmentation fault: 11

This is one of the most valuable use cases at the moment of writing an addon, specially for tools to process data in parallel.  Any idea on how to make this work? Thanks in advanced!

I have a similar issue, though I'm using libuv for threading (since that's what node is using). Seems like nbind is keeping track of a Scope or Isolate when code transitions from js to c++, so that doesn't exist when the main thread tries to go from c++ to js...

I have the same issue, I'll try out v8pp and see if that works.


Issue with client.appendInputAudio

I am writing the buffer from a Microphone to a file, and also trying to send chunks to the realtime api.
But when I try to send chunks it does not work.
client.appendInputAudio(chunk.buffer);
I do make sure to call client.createResponse(); when I'm ready, but the model responds as if I have sent nothing.
Chunk is a Buffer object and chunk.buffer is the underlying ArrayBuffer.
However, I can write chunk to a file, and send the whole file without a problem with:
client.sendUserMessageContent([{type:"input_audio", audio:toArrayBuffer(binaryData)}]);
Where binaryData is the result of fs.readFileSync(filePath); on the file I have just written the chunks to, and toArrayBuffer converts that binary data of that file to array buffer using this package ( https://www.npmjs.com/package/to-array-buffer )

Are you using pcm16 or g.711 u-law? If so, see my comment on #8: https://github.com/openai/openai-realtime-api-beta/issues/8#issuecomment-2411857042

i have similar issue

doing this seem to be working for me


Add Login & React Router Dom Update 6.0.2

Add Login Page (with createContext)
React Router Dom Update  5.2.0 >> 6.0.2
I am merge request to an open source project for the first time.
Waiting for your comments

Looks like you have conflicts to be resolved.


PlatformException (PlatformException(photo _access_denied, The user did not allow photo access., null))

Steps to Reproduce

I faced with an problem while running my flutter application. I used a 'Image_picker' and put it into my dependencies. Then above exception is shown to me. I created a new flutter project and run a example of image_picker. It worked!!. In my application it doesn't work. It shows above exception.

These are my dependancies
  cupertino_icons: ^0.1.2
  cloud_firestore:
  firebase_auth:
  firebase_core:
  carousel_pro:
  fluttertoast:
  uuid:
  flutter_typeahead:
  flutter_search_panel:
  image_picker: 0.6.1+4

File _image1;
File _image2;
File _image3;
Expanded(
                    child: Padding(
                      padding: const EdgeInsets.all(8.0),
                      child: OutlineButton(
                          borderSide: BorderSide(
                              color: grey.withOpacity(0.5), width: 2.5),
                          onPressed: () {
                            _selectImage(
                                ImagePicker.pickImage(
                                    source: ImageSource.gallery),
                                2);
                          },
                          child: _displayChild2()),
                    ),
                  ),
void _selectImage(Future<File> pickImage, int imageNumber) async {
    File tempImg = await pickImage;
    switch (imageNumber) {
      case 1:
        setState(() => _image1 = tempImg);
        break;
      case 2:
        setState(() => _image2 = tempImg);
        break;
      case 3:
        setState(() => _image3 = tempImg);
        break;
    }
  }

  Widget _displayChild1() {
    if (_image1 == null) {
      return Padding(
        padding: const EdgeInsets.fromLTRB(14, 70, 14, 70),
        child: new Icon(
          Icons.add,
          color: grey,
        ),
      );
    } else {
      return Image.file(
        _image1,
        fit: BoxFit.fill,
        width: double.infinity,
      );
    }
  }

Logs

[  +12 ms] executing: [C:\flutter\flutter\] git log -n 1 --pretty=format:%H
[  +63 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 2d2a1ffec95cc70a3218872a2cd3f8de4933c42f
[   +2 ms] executing: [C:\flutter\flutter\] git describe --match v*.*.* --first-parent --long --tags
[  +54 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[   +1 ms] v1.9.1+hotfix.2-0-g2d2a1ff
[   +8 ms] executing: [C:\flutter\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +77 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter\flutter\] git ls-remote --get-url origin
[  +44 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +223 ms] executing: [C:\flutter\flutter\] git rev-parse --abbrev-ref HEAD
[  +58 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +37 ms] "flutter run" took 89ms.
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.

#0      FlutterCommand.validateCommand (package:flutter_tools/src/runner/flutter_command.dart:568:9)
<asynchronous suspension>
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:278:19)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:465:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:407:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:29)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
<asynchronous suspension>
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:397:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:402:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:29)
<asynchronous suspension>
#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
<asynchronous suspension>
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#24     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
<asynchronous suspension>
#25     _rootRun (dart:async/zone.dart:1124:13)
#26     _CustomZone.run (dart:async/zone.dart:1021:19)
#27     _runZoned (dart:async/zone.dart:1516:10)
#28     runZoned (dart:async/zone.dart:1500:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:29)
<asynchronous suspension>
#31     _rootRun (dart:async/zone.dart:1124:13)
#32     _CustomZone.run (dart:async/zone.dart:1021:19)
#33     _runZoned (dart:async/zone.dart:1516:10)
#34     runZoned (dart:async/zone.dart:1463:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
<asynchronous suspension>
#36     runInContext (package:flutter_tools/src/context_runner.dart:58:24)
<asynchronous suspension>
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
<asynchronous suspension>
#39     main (file:///C:/flutter/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

   info - This method overrides a method annotated as @mustCallSuper in 'State', but doesn't invoke the overridden method - admin\lib\Admin\add_product.dart:37:8 -
          must_call_super
   info - This function has a return type of 'String', but doesn't end with a return statement - admin\lib\Admin\add_product.dart:158:30 - missing_return
   info - This function has a return type of 'String', but doesn't end with a return statement - admin\lib\Admin\add_product.dart:207:30 - missing_return
   info - The value of the local variable 'imageUrl' isn't used - admin\lib\Admin\add_product.dart:432:18 - unused_local_variable
   info - The value of the local variable 'picture' isn't used - admin\lib\Admin\add_product.dart:433:24 - unused_local_variable
   info - This function has a return type of 'String', but doesn't end with a return statement - admin\lib\Admin\admin.dart:253:22 - missing_return
   info - This function has a return type of 'String', but doesn't end with a return statement - admin\lib\Admin\admin.dart:288:22 - missing_return
   info - Unused import: 'dart:convert' - admin\lib\Admin\db\brand.dart:3:8 - unused_import

9 issues found. (ran in 20.6s)

    • Flutter version 1.9.1+hotfix.2 at C:\flutter\flutter
    • Framework revision 2d2a1ffec9 (3 weeks ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Dineth Narada\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.4)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 38.2.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[√] VS Code (version 1.38.1)
    • VS Code at C:\Users\Dineth Narada\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.4.1

[√] Connected device (1 available)
    • SM G965F • 22d5d794990b7ece • android-arm64 • Android 9 (API 28)

• No issues found!

@dinethnarada Are you sure you run it from the project dir and pubspec.yaml doesn't contain any typos or wrong tabs/spaces?

yes.I'm sure

Without a response we're unable to make any progress. I'm closing the issue, but don't hesitate to file a new one if you have the time.


Config for best accuracy stage 1 model

Can you give me the configuration of the best model in stage 1. You write (and in demo 1) stage 1 with 46.7% accuracy but you load weights with 47.9% accuracy .

I see that you using test time augmentation (+ flip(3) / 2), sorry because I don't read carefully :(

Thanks for you interest! I am glad that you figured it out. Also, note that we choose the model that had the best validation accuracy during training, not necessarily the model at the last epoch.


Polishing tutorials section in the documentation

The new section getting started might need a documentation expert to check if everything is worded correctly (grammar, language, ...)
Link: https://docs.medperf.org/getting_started/overview/
(All the getting started section)

@cassianomoraes Can you please take care of this when you have time? Thanks!

@hasan7n sure!

Closed by #446


Integrate Token Gating for Videos

We need to integrate a way to token gate videos in our application. This feature will ensure that only users with the required tokens can access specific video content. The implementation should follow the guidance provided in the Livepeer documentation.
Tasks:

[ ] Review the Livepeer documentation on token-gating videos.

[ ] Implement token gating for video access based on the provided tutorial.

[ ] Ensure that the token gating mechanism is secure and operates as intended.

[ ] Test the integration thoroughly to confirm that only users with the required tokens can access the gated videos.

[ ] Update any relevant documentation to reflect the new token gating feature.

Additional Context:
This feature will enhance the security and exclusivity of our video content by restricting access to users who possess the required tokens.

Updaet: I added the /token-gate endpoint and related access-key util in the PR I submitted last week. I also added tests for both in my most recent PR.
Next steps:

Add a model to OrbisDB for token metadata and a new endpoint for fetching it
Deploy a test contract and setup the base URL (probably something like https://tv.creativeplatform.xyz/api/token-metadata/{id}.json)
Add the contract interactions to mint the owner's token to the Upload page
Add additional arguments tokenId, contractAddress, chain, and tokenGateVideo = true to the getLivepeerUploadUrl server action to configure the playbackPolicy prior to uploading the videos in the [FileUpload component](Upload page).

@sirgawain0x, do you agree with this plan? I still have a lot of time on my hands so I'm happy to jump in and get this done ASAP if everything sounds right to you.

I just realized that the Thirdweb TS SDK handles all of the metadata so I added the token interactions, form fields, and state variables needed to handle lazy minting token metadata, updating it at the end of the upload process with the thumbnailUri, and providing the additional arguments to the getLivepeerUploadUrl() server action in the FileUpload component.
You can see the changes I made here:

Upload page
FileUpload component
New VideoTokenMetadata type


Add MSVC debugger visualization file

This pull request contains a file which can be used by the Visual Studio debugger for "pretty-printing" tsl::ordered_* containers.

Hello,
Thank you for your contribution.
I'm currently in holiday without my laptop for the next few weeks, so I can't really test it. I'll check to merge it on my return so that I can check and test it a bit more beforehand as I'm not familiar with the natvis files.

Hi Thibaut.
OK, the delay is not a problem.
Have nice holidays! :)
On 08/15/2018 03:54 PM, Thibaut wrote:

Hello,
Thank you for your contribution.
I'm currently in holiday without my laptop for the next few weeks, so I can't really test it. I'll check to merge it on my return so that I can check and test it a bit more beforehand as I'm not familiar with the natvis files.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Tessil/ordered-map/pull/20#issuecomment-413188460, or mute the thread https://github.com/notifications/unsubscribe-auth/AZcCWuqIqlfK-wPunOr16QY9AlfnzcqIks5uRBnvgaJpZM4V9Hgz.

Hello,
I made some minor changes to your branch. If it seems OK to you, I will merge the branch to the master.

Hi.
Looks good.
On 09/15/2018 02:36 PM, Thibaut wrote:

Hello,
I made some minor changes to your branch. If it seems OK to you, I will merge the branch to the master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Tessil/ordered-map/pull/20#issuecomment-421555293, or mute the thread https://github.com/notifications/unsubscribe-auth/AZcCWiC2_2zQwuBlg8Vw3uFrUrk1hjkIks5ubOYvgaJpZM4V9Hgz.

I also hesitate to remove the IncludeView="detailed" in bucket_count and max_load_factor. Is there a reason to not leave them in the default view?

That's the behavior of the std::unordered_map visualizer shipped with MSVC and I tried to be as close to it as possible.

Ok, makes sense. I merged the changes.
I'll check to merge the 'natvis' files in the other tsl projects when I have time.


perf(scalable): :zap: rewrite extension methods to return Iterable

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

15 of 15 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
861

Relevant Lines:
861

💛  - Coveralls


Remove sqrt() from CheckCollisionSpheres()

Square root calls are computationally expensive.  In this function, it can be avoided.  Instead of checking whether distance<(radiusA+radiusB), we can check whether distance squared < (radiusA+radiusB) squared.
I used the existing Vector functions, but perhaps the code is less readable that way.  The Vector3DotProduct of centerB-centerA with itself gives the distance squared.

Thanks for the improvement @ProfJski! :)
I'll review it to include previous solution commented (just as reference for learners).


Blog post series to celebrate open source communities

This is a bit of a woolly remit but a set of blog posts about how the open source community and big business can (and do) work together would be good. I'm constantly mindful that McKinsey doesn't seem like a natural fit with an open source project and I think it would be helpful for us to build a set of content that reinforces the way consultancies, tech companies and industry use and contribute to open source. We need to demonstrate a serious belief in our community and in being part of other communities.
This is a parent ticket to create a set of posts/issues for ideas about posts.

I'm constantly mindful that McKinsey doesn't seem like a natural fit with an open source project

This has been the feedback I got from absolutely everyone of my acquaintances before joining the Firm. So it's good that we try to change that, I believe.

This could be one for #59

See also #82 which is for an external blog. Could be something to consider in August.


Create vansjyo.c

This Pull Request resolves Issue #13

@vansjyo Are there any updates or should we close this and mark it as spam?

Il do it.
On 27 Oct 2017 14:50, "Moksh Jain"<EMAIL_ADDRESS>wrote:

@vansjyo https://github.com/vansjyo Are there any updates or should we
close this and mark it as spam?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WebClub-NITK/Hacktoberfest-2k17/pull/609#issuecomment-339920209,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYWYmv3Vk33xATBFFBbbm6whjMoo8Dy9ks5swaB3gaJpZM4QEtft
.

Close it..
On 27 Oct 2017 16:09, "Vanshika Gupta"<EMAIL_ADDRESS>wrote:

Il do it.
On 27 Oct 2017 14:50, "Moksh Jain"<EMAIL_ADDRESS>wrote:

@vansjyo https://github.com/vansjyo Are there any updates or should we
close this and mark it as spam?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WebClub-NITK/Hacktoberfest-2k17/pull/609#issuecomment-339920209,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYWYmv3Vk33xATBFFBbbm6whjMoo8Dy9ks5swaB3gaJpZM4QEtft
.


Glob star operator fails to validate lint in macOS

Tried to run “yamllint **/.yml” in macOS and windows but seems like it does not take into account level 2 sub directories in macOS.
Packaged my yamllint with node and “npm run yamllint **/.yml”
Please advise if it needs any other syntax for cross platform.

Is this issue still happening and/or relevant? Does the same thing happen if you wrap the glob pattern into quote marks (e.g. yamllint "**/*.(yaml|yml)") to prevent the automated glob pattern expansion? (That expansion takes place before the command is actually run, so it’s not something I can catch/handle in the package. By wrapping the pattern it’s passed as string instead of expanded paths, leaving the expansion to the package itself.)


Move submission log storage from temp dir to Redis

Overview
To improve end user experience and not drop logs between deployments, we should store logs in Redis.
Relevant sections of code:
This websocket endpoint takes a list of submission IDs and returns their data from temp file storage. This needs to be changed to use redis instead of temp file storage.
    async def receive(self, text_data=None, bytes_data=None):
        """We expect to receive a message at this endpoint containing the ID(s) of submissions to get
        details about; typically on page load, looking up the previous submission details"""
        data = json.loads(text_data)

        submission_ids = data.get("submission_ids", [])

        if submission_ids:
            # Filter out submissions not by this user
            submissions = Submission.objects.filter(id__in=submission_ids, owner=self.scope["user"])

            for sub in submissions:
                text_path = os.path.join(settings.TEMP_SUBMISSION_STORAGE, f"{sub.id}.txt")
                if os.path.exists(text_path):
                    with open(text_path) as f:
                        text = f.read()
                    await self.group_send(text, sub.id, full_text=True)

Tasks

[ ] Make websocket endpoint read from redis
[ ] Make websocket endpoint write to redis
[ ] Ensure redis on Heroku is configured to dump the oldest data when we go over data limits

This actually works fine atm on Heroku because of ephemeral storage

We'll want this for Grenoble, actually..

We'll want this for Grenoble, actually..


Custom Control's OnKeyDown event not working

This is very much a "help wanted" post, no issue with FuncUI itself. I'm in the process of implementing a custom control for my FuncUI Avalonia project, and have created this custom control:
type VimTextBlock() =
    inherit Control()

    member val caretPosition = 0 with get, set
    member val Inlines : list<TextContainer> = [] with get, set

    override this.OnKeyDown(e : KeyEventArgs) =
        printfn $"keydown"

        match e.Key with
        | Key.Left -> this.caretPosition <- this.caretPosition - 1
        | Key.Right -> this.caretPosition <- this.caretPosition + 1
        | _ -> ()

        this.InvalidateVisual()

    override this.Render(context : DrawingContext) =
        let mutable x = 0.0
        let mutable y = 0.0

        let mutable currentLen = 0
        for line in this.Inlines do
            printfn "processing line"

            currentLen <- currentLen + line.text.Length
            let formattedLine = FormatContainer line

            if currentLen >= this.caretPosition then
                context.DrawLine(
                    Pen(Brushes.Black, 1.0),
                    Point(x, y),
                    Point(x, y + formattedLine.Height)
                )
            context.DrawText(formattedLine, Point(x, y))
            x <- x + formattedLine.Width
        base.Render(context)

    interface Styling.IStyleable with
        member this.StyleKey = typeof<Control>

module VimTextBlock =
    let create (attrs : IAttr<VimTextBlock> list): IView<VimTextBlock> =
        ViewBuilder.Create<VimTextBlock>(attrs)

type VimTextBlock with

    static member InlinesProperty<'t when 't :> VimTextBlock>(value: list<TextContainer>) : IAttr<'t> =
        let getter : 't -> list<TextContainer> = (fun c -> c.Inlines)
        let setter : 't * list<TextContainer> -> unit = (fun (c, v) -> c.Inlines <- v)
        AttrBuilder<'t>.CreateProperty<list<TextContainer>>("Inlines", value,  ValueSome getter, ValueSome setter, ValueNone)

    static member CaretPositionProperty<'t when 't :> VimTextBlock>(value: int) : IAttr<'t> =
        let getter : 't -> int = (fun c -> c.caretPosition)
        let setter : 't * int -> unit = (fun (c, v) -> c.caretPosition <- v)
        AttrBuilder<'t>.CreateProperty<int>("caretPosition", value,  ValueSome getter, ValueSome setter, ValueNone)

As you can probably tell the basic idea is to make a custom TextBlock style control which also has a cursor which can by moved by the keyboard. Currently however I don't seem to have any ability to receive key events - nothing seems to happen. I have tested implementing top level key events which work, but none for this specific control.
Some code has been removed for the sake of simplifying this description, but the code removed only pertains to calculations for the caret, nothing relating to the actual keydown. Also, some of the code is currently not very functional, this is for the most part a bit of a mockup for testing some stuff before I do another pass where everything is actually written properly.
Also, if you're curious, TextContainer is a custom type which holds all the same values as FormattedText for a functionally easier way to access the information before it is eventually transformed into FormattedText with FormatContainer
Sorry in advance if I've missed something really obvious, besides some basic uses for FuncUI and Avalonia, I haven't done that much with either of them.

I thinks your question might be answered by reading through the following issue
https://github.com/AvaloniaUI/Avalonia/discussions/12163

I thinks your question might be answered by reading through the following issue
AvaloniaUI/Avalonia#12163

Thanks, this helped. Using
VimTextBlock.focusable true

when initialising the class in FuncUI worked. Still curious as to how
canvas.Focus();

which is suggested as a C# Avalonia method might be used in FuncUI to automatically focus the element, but it's pretty fine the way it is now.

You can use effects in components to run side effects.
You could also call at the method in an init function.
See the docs.

You can use effects in components to run side effects. You could also call at the method in an init function.
See the docs
https://funcui.avaloniaui.net/common-questions#id-1.-execute-code-on-control-creation

I don't think I perhaps understand what you're suggesting as using the init function like so:
VimTextBlock.init ( fun vimTextBlock ->
     ignore (vimTextBlock.Focus())
)

doesn't automatically focus the element at all. However, it is possible to solve this by putting that line inside the declaration of the class's init code like this:
override this.OnInitialized() =
     ignore (this.Focus())

(all of this wrapped in ignore of course since init is expecting unit not bool)


Fix TOML parse failure when number token hits buffer edge

When a number token is exactly at the end of the lexer text buffer, the parser would advance the lexer, triggering a buffer refill, before the number is parsed from the buffer. This patch moves the advance operation to come after parsing, which resolves the issue.
Also tracked as https://github.com/FasterXML/jackson-dataformats-text/pull/356
Fixes #93

I'll leave you with the "no dev builds for GraalVM java 11" failure ;-)


Dynamic name for output file

Currently worker-loader supports a name option to specify the name of worker file, however in many projects only a single worker-loader serves all worker files, such like:
{
  test: /\.worker\.js/,
  use: [
    {
      loader: 'worker-loader',
      options: {
        name: 'how can this be?'
      }
    }
  ]

If the name options can be a function receiving some compilation context, the name of output file can be beautified:
{
  test: /\.worker\.js/,
  use: [
    {
      loader: 'worker-loader',
      options: {
        name: ({resource}) => basename(resource, extname(resource)) + '.[hash].js'
      }
    }
  ]

Is it even possible to have this feature?

How about the [name] token ? It is not documented but it works.
{  name: 'workers/[name].[hash].js' }'

Yes, [name] token solves the issue, thanks


Fails to build in webpack

Hey guys,
Below is the error message I got when I attempt to build webpack bundle file with Rainbow.
Unexpected character '#' (1:0)
#!/usr/bin/env node
/* eslint-disable */
var fs = require('fs');
...
I don't really see the reason why the hashbang command line should be there. So I tried it removing the line. However, I got another warning message.
WARNING in ./~/bindings/bindings.js
76:22-40 Critical dependency: the request of a dependency is an expression
Is there anybody who solved the problem? Thanks.

+1 same to me

If I am not mistaken, the hashbang isn't even required in NPM-based CLI apps, as they are wrapped by a script, which forwards arguments. Here is an example:
<EMAIL_ADDRESS>~ $ file /usr/local/bin/babel
/usr/local/bin/babel: a /usr/bin/env node script text executable, ASCII text
<EMAIL_ADDRESS>~ $ head -n 5 /usr/local/bin/babel
#!/usr/bin/env node

require("../lib/babel");

The corresponding file:

From here https://github.com/babel/babel/blob/master/packages/babel-cli/package.json#L43
To here https://github.com/babel/babel/blob/master/packages/babel-cli/bin/babel.js

Now, this is on a Mac. On windows, this should be wrapped. So the best bet is to take the Babel aproach and just create a script that really just requires the actual library itself - so the hashbang does not get in the way.


Add new method sendDice, getMyCommands and setMyCommands

[X] Documentation updated
[X] Local test

Description
Update the library with minor changes from the latest bot API update (v4.7 released on 30/03/2020) and bot API v4.8  24/04/2020
Add new methods:

sendDice
getMyCommands
setMyCommands
setChatAdministratorCustomTitle
setChatPermissions

Add new message type:

dice

References
Telegram Bot API update note v4.7
Telegram Bot API update note v4.8

Thanks for the PR. Could you add some tests for the method?

Thanks for the PR. Could you add some tests for the method?

Could you see the message thta I sent you on Telegram?

sendDice Examples

Changes are fine. I will try to merge this asap. If you get time, you could add tests.

NEW
Example setChatAdministratorCustomTitle:
bot.promoteChatMember(chat_id, user_id, {can_invite_users: true}).then(msg => {
	console.log(msg);
bot.setChatAdministratorCustomTitle(chat_id, user_id, "hello");
}
);

Example setChatPermissions:
const ChatPermissions = {
	can_send_messages: false
};
bot.setChatPermissions(chat_id, ChatPermissions);

@kamikazechaser you need to FIX Travis, missing Bot Token

@kamikazechaser you need to FIX Travis, missing Bot Token

Travis doesn't allow secrets in PRs now. Also I don't have full access to this repo or npm. So I cannot change how the CI works.

@kamikazechaser In principle the tests now work, between today and tomorrow I add the missing tests.
I'll talk to Yago about Travis, thanks you

And all Test Pass 🥇

@kamikazechaser I made a cherry pick of @JieJiSS changes and added his contribution in the changelog.
Only the tests of the sendPoll method are missing. I will try to have them finished today

sendPoll - Examples
Get the first answer each user makes
bot.on('poll', (msg) => {
	console.log(msg);
} );

Obtain the modifications that a user makes in the poll such as withdrawing the vote or changing it
bot.on('poll_answer', (msg) => {
	console.log(msg);
} );

And Work 🦺


[Main] Fix corral file wait and update the debugging option

Issue: https://github.com/rancher/qa-tasks/issues/1601 & https://github.com/rancher/qa-tasks/issues/1601

Problem

Corral file wait should account for the nil return value from os.Stat, which is the state if the file doesn't exist. Currently, the separated command solution makes recurring runs fail because it doesn't wait for the file.
Solution

Account nil return value from os.Stat, update to debug flag which gives more output for corral creation.

in the linked issues, its mentioned and should default to true rather than false. Will that be done in a separate PR or is there room to do it here?

Nice catch, removing that part from the ticket. That part of the ticket was for Airgap defaults. Which is in JJB.
In recurring runs, it already defaults to true.
Also linked the second issue - in PR's description.

Discussed the sanity checks offline


Update the README

@cnunciato is this something we still want to get in?

Yep, I want to update the READMEs of all these repos, just had to set it aside for a bit. Plan to come back to it

Reworking this locally, will resubmit.


Wrong Grammar in Azure SQL DB Docs

About
There is a grammar issue in the Azure SQL DB Docs here. It says Remote storage model that is based on a separation of compute and storage when it should be Remote storage model that is based on a separation of **computing** and storage

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

ID: e2d07885-d3f0-11d9-0a1f-aa9025d60d49
Version Independent ID: 551bdeb1-fc7c-5d7f-4e58-a558d3a39df7
Content: High availability - Azure SQL Database
Content Source: azure-sql/database/high-availability-sla.md
Service: sql-database
Sub-service: high-availability
GitHub Login: @rajeshsetlem
Microsoft Alias: rsetlem

@SohamSen15
Thanks for your feedback! We will investigate and update as appropriate.

Hi @SohamSen15 , thanks for contacting Microsoft! Actually, Compute in this sentence refers to Azure Compute.  You can find more information about how Azure SQL Database utilizes Azure Compute here: https://learn.microsoft.com/azure/azure-sql/database/sql-database-paas-overview?view=azuresql#compute-tiers.
Hope that helps clarify! I'll go ahead and close out this Git Issue but please feel free to comment should you need anything further.
Thanks and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close


While uploading package, the entry can be added to database, even if the upload to blob storage fails

While doing package upload, the package is uploaded to blob and then the changes to database is commited. Since this is not a single atomic action, failure in the former doesn't guarentee abortion of the latter. We need to add more checks around it.

This sounds like a Pri 1. Bug for packages upload from the command line. Can you confirm?

Was this one fixed?

This is still relevant: https://github.com/NuGet/NuGetGallery/blob/master/src/NuGetGallery/Controllers/ApiController.cs#L328
@maartenba @qianjun22

Was fixed.


How to handle "no more moves" possible

Sometimes your player remains highlighted when they can't make any more moves (like when they move but they can technically still "push" and no enemies are around -- but I guess someone could push someone into their way?) Likewise I guess they could still catch/pass the ball.
It just feels a little awkward. But it's hard to calculate if the player can make any more moves and display the end turn dialogue I guess. What are your thoughts?

It is awkward. I've tried to fix this, but, like you said, someone can move into range at a later point. I think it's just as awkward to set them inactive and then "reactivate" them when the attack becomes valid. Because users will forget which players still have pushes and passes left. I don't think there's an elegant solution, per-se, but that's what the manual end turn is for.

Maybe little "status effect" icons at the bottom of each player's model (one for pass, move, push).
When the user has all three actions display nothing. When they take an action display the two they have left, if they push, etc remove it.
That's the most elegant situation I can think of, at least.

Or maybe when you hover over a player it displays the action icons they have remaining? If they took an action it'll be grayed out

Not really a fan of adding icons, just adds to player confusion I think

Especially if they're hovering over a player or something like they'd have to be, the field is already too busy. I think it's okay to just have the End Action menu. Most games like this do a similar thing.

As it is, if someone clicks on a "Still active" player with no available actions, they can hover over "push" and see the available push squares so I think it's pretty clear

Ok makes sense


Feature Request: Markdown support?

I guess that Markdown support will be pretty useful.

Markdown is mostly used for typesetting. Most markdown formats are difficult to implement in Minecraft.I think it is more practical to use MiniMessage to control style for texts in Minecraft.

https://docs.advntr.dev/minimessage/api.html#getting-started
Maybe i can try my best to implement this.

Maybe simple expressions such as italics and bold are also useful for existing documents.
The titles can be replaced directly with plain text.
As for links, they can be made into sth. like command executor and more.

https://docs.advntr.dev/minimessage/api.html#getting-started
Maybe i can try my best to implement this.

Thank you for your time and energy on this fantastic project!🙏


reset() expects parameter 1 to be array, null given

When editing page or post in admin we get an error:
reset() expects parameter 1 to be array, null given in vendor/timber/timber/lib/PostGetter.php:32

In the PostGetter on line 31 the get_posts function returns null and reset expects an array. Maybe extra check if `posts' is an array like this:
$posts = self::get_posts($query, $PostClass);
if ($posts && $post = reset($posts)) {
        return $post;
}

What version of WordPress, PHP and Timber are you using?
Wordpress 5.3.2, PHP 7.2.27, Timber 1.15.0
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
Composer/Packagist

Thanks for that report @jhhazelaar ! Can you try replacing that line with ...
$posts = self::get_posts($query, $PostClass);
if ( is_iterable($posts) && $post = reset($posts)) {
        return $post;
}

... and let me know if that solves the issue?

That's a much better solution and it works! Thanks

great, @jhhazelaar — I'm adding as a PR right now so it can be in the next version


Helm chart version 1.8.0 does not exist

The latest version is 1.7.0 at https://aws-observability.github.io/helm-charts/index.yaml
It appears to be manually executed at https://github.com/aws-observability/helm-charts/actions/workflows/release.yaml by either @movence or @mitali-salvi

Hey @calvinbui, thank you for reporting this issue. Helm Chart version 1.8.0 for amazon-cloudwatch-observability was released 3 days ago and is available at https://github.com/aws-observability/helm-charts/releases as well.


Players' rx.uid score getting set to 0 and/or reset

Been having some issues with playerDB, and I can't seem to figure out what the heck is going on. I've had:
--Players getting their rx.uid score set to 0.
--Players getting their rx.uid score reset.
--The specific-UUID armor stand used in impl/get_name not being removed (despite the patch to #13)--armor stand doesn't get teleported at all.
Our server hasn't crashed, but does perform a scheduled reset every two hours.

I think this has been resolved in the latest commit (eeceb78). I'll close this, but we can open it in the future if need be!


Create a new page

Set up a  page with a route and associated TypeScript to prove we can load and execute TS code from a Twirl template.
Add a dummy form to the page. One of the next steps is to actually have this form write to our database via ebean.
Part one of #30

What it looks like:

What it looks like:


Windows missing conversion

In mmap_windows.go line 26:

h, err := syscall.CreateFileMapping(f.Fd(), nil, ...

Need convert to syscall.Handle:

h, err := syscall.CreateFileMapping(syscall.Handle(f.Fd()), nil,

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 6 Nov 2013 at 5:17

Fixed by https://github.com/google/codesearch/pull/40 . This issue should be closed.


feat: parse Latex power (b^{x})

feat: parse Latex power (b^{x})
fix: spelling mistake in README.md

:+1:


ci: add basic operations testing on CI

Hi @guangbochen, @bk201:
This installer CI is ready to review.
This change may do some simple operations by terraform, described as follow:

create image (cirros)
create new volume
create VM from the above image and try to attach the above new volume
Then check the network after the above operation done.

We choose the cirros instead ubuntu because the ubuntu base image is too large. Sometimes download would be timeout.
We could improve this part as the next item.


About the mask strategy

Hi, I have run your code in kitti. During debugging,   id_list_select_30  and  id_list_select_30to50  are always empty, which means that  almost all the voxels are in  id_list_select_50. This seems strange. Did I make a mistake?
Thanks for you help.

I think this is a bug in this repo. You need use voxel_coords_distance = ((voxel_coords[:,2]* voxel_size[0])**2  + (voxel_coords[:,3]*voxel_size[1])**2)**0.5 instead of voxel_coords_distance = (voxel_coords[:,2]**2 + voxel_coords[:,3]**2)**0.5.

Great, I undertand it. I truly appreciate your timely help.


Support AnyVal pattern

https://github.com/opencypher/cypher-for-apache-spark/blob/3afbaabb55d6ec808e7b181f80911e332fef8aa1/src/main/scala/org/opencypher/caps/ir/api/pattern/Elements.scala#L18

Move to trello

This code was removed.


Increase BiasGrad size:  "BiasGrad requires tensor size <= int32 max"

System information

TensorFlow version (you are using): 2.1.0
Are you willing to contribute it (Yes/No): No

Describe the feature and the current behavior/state.
We've using 3D U-Net on large images (e.g. 512x512x256x4) and have found that when the input size increases above a certain size we get the error:
tensorflow.python.framework.errors_impl.InvalidArgumentError:  BiasGrad requires tensor size <= int32 max
	 [[node BiasAddGrad_3 (defined at testing.py:640) ]] [Op:__inference_distributed_function_2785]

I'm pretty sure that this is because the BiasGrad function is using an INT32 datatype and we're declaring more than the datatype can represent as INT32.
I'd like to request that the datatype be change to something larger-- possible INT64 or at least an unsigned INT32. On CPU we can easily use 100s of GB of RAM for the TensorFlow graph so these are now valid workloads for TF to support.
Will this change the current api? How?
No. Other than to change the datatype for BiasGrad to something larger.
Who will benefit with this feature?
We've got customers now using 3D networks with very large images (512x512x256x4) and moderately large batch sizes (2-16). The memory footprint for these TF models can fit into CPU memory (~ 1.5 TB) if the datatype is extended to larger integers.
Any Other info.

@tonyreina
Would you please refer to this link and let us know if it helps

@tonyreina
please update as per above comment

Yes. That link confirms the issue. The problem is that we are seeing customers with networks (e.g. 3D U-Net with large batches) that use this many elements. On CPU we are able to handle TB of RAM and in particular with high resolution images we are seeing the need for larger networks. So we're requesting that the int32 be increased to handle the new use cases.

I wanted to circle back on this one. We're starting to get use cases where this is important on medical imaging. Would it be possible to make things at least uint32 to get some extra headroom?

@tonyreina,
Sorry for the delayed response. Can you please refer the latest documentation of BiasAddGrad and let us know if the issue still persists? Thanks!


All Balanced Parentheses

Hi,
I have a problem with the Kata "All Balanced Parentheses"
The test is passed, but when I try to attempt I get "Exit Code: 137"
I can run the code in my local env, without problem.
My account is https://www.codewars.com/users/amerlin
Thanks

You're supposed to post the problem in the kata discourse: https://www.codewars.com/kata/5426d7a2c2c7784365000783/discuss/python
And for your particular problem: you might be printing too much data(by the way, do you know that you're supposed to return the stuff not print them? ).
You might wanna read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#maxbuffer
please close this issue.


CoreValidation: A weird "num of descriptor count in a binding must be equal to the total number of descriptors defined in DS layout, or else!" check results in invalid debug call-backs at vkCmdBindDescriptorSets() call time.

Consider the following descriptor set layout:

There is a very weird check in the same function which results in a debug call-back I'm worried might be invalid:

I'm not sure what the intent behind this check was, but I don't think we should be assuming that the number of items under a specific binding should always be equal to the total number of descriptors defined for a descriptor set.
I'm seeing this call-back at vkCmdBindDescriptorSets() call time, when I take a vile attempt to bind the discussed descriptor set :)
The relevant change must have been submitted recently. I don't recall seeing this callback a few weeks ago.

 Fix coming shortly.

Just submitted #466 to fix this.

Fix was cherry-picked and pushed to master


feat: Add ability to pass duration in Transition instead of milli-seconds

Now users can pass Duration instead of milliseconds for Page-Transitions.

That make sense, I don't know why I used Milliseconds back then. Thanks.
Can you add this as breaking change in the changelog please before merging it


Support for Jekyll 3.9.0

Friendly reminder. Jekyll 3.9 gets rid of many annoying warnings when running under ruby 2.7 which many of us do now.

Resolved the conflict. Can you please merge this?

Thanks for your contrib and to the maintainer, as I really like having Jekyll in Docker.. saved me a lot of time!
I'd like to try to bump/upvote this because GitHub Pages only supports 3.x https://pages.github.com/versions/, so that's probably a good indicator of many users that could benefit from this.
Thanks!

4.2.2 has been merged!

Hi, I'm very keen to re-enable support for Jekyll 3, as the last image on the 3.x branch cannot install apks from the Alpine testing repository. Is there anything I can do to help get this PR merged?


pom.xml:57: Setup codebeat with enumerable4j and fix...

The puzzle DEV-e6452ef8 from #DEV has to be resolved:
https://github.com/dgroup/enumerable4j/blob/c1843cc64d23222cef143402d2d7e5320a9f1ebc/pom.xml#L57-L57
The puzzle was created by @dgroup on 06-Mar-21.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle DEV-e6452ef8 has disappeared from the source code, that's why I closed this issue.


In the dialog box, the required attribute for FluentTextField is not taking effect.

🐛 Bug Report
In the dialog box, the required attribute for FluentTextField is not taking effect.
💻 Repro or Code Sample

当前票据的票据号: @Content.TicketNumber，子票据号:@Content.SubTicketNumber，承兑金额：<EMAIL_ADDRESS>拆分子票号：
背书人：
转出金额:

🤔 Expected Behavior
Page prompt required。
🌍 Your Environment

OS & Device: Linux centos8  on  PC
Browser Microsoft Edge
.NET 8.0.301 and Fluent UI Blazor library Version 4.10.3

Please supply us with ready-to-run reproduction code in the form of something we can copy/paste, a (zipped) project structure or a GitHub repository.
We do not have capacity to craft or compose a reproduction for every issue that gets raised.
If no code or repository is provided, this issue will be closed in 3 days
Help us to help you. Thanks.


feat: Add release notes to AppCenter

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Connection to Carla Server is failed - Carla 0.9.12

Hello,
Anyone know what happened above? The status are below:

Build & Run Carla from source (latest) on Windows
Build & Run Carlaviz from docker as instructed on this page https://carla.readthedocs.io/en/latest/plugins_carlaviz/
Carla Simulator is already running and tested with the scripts from PythonAPI/examples
But there it is when start running carlaviz from docker with command as instructed on this page https://carla.readthedocs.io/en/latest/plugins_carlaviz/

Thank You

Hi we don't have CarlaViz for Carla 0.9.12.

Hi CarlaViz 0.9.12 has been released. Could you have a try and see if it works?

Hi Thanks for notifying me.
I just tried it and it works!!!
Thanks for working on this version. If I may know, I would like to know how carlaviz works (backend).
Let me know if u have any references or documentation of carlaviz. I might want to contribute for carlaviz
Thanks again mjxu96 and team!

Not sure if you are still interested, but yeah I am looking for contributors to help maintain and develop CarlaViz. Please leave comments here or contact me via email if you are still interested in the project.

Hi, I have Carla 9.14 and get the following error when I run the command:
docker pull mjxu96/carlaviz:<IP_ADDRESS> from https://github.com/mjxu96/carlaviz/tree/master
[2023-11-09 11:27:44.271] [info] CarlaViz will host websocket server on <IP_ADDRESS>:8081
[2023-11-09 11:27:44.272] [info] CarlaViz websocket server starts.
[2023-11-09 11:27:44.272] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2023-11-09 11:27:44.273] [error] Connection to simulator failed for Connection refused
[2023-11-09 11:27:45.273] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2023-11-09 11:27:45.274] [error] Connection to simulator failed for Connection refused
[2023-11-09 11:27:46.274] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2023-11-09 11:27:46.275] [error] Connection to simulator failed for Connection refused
[2023-11-09 11:27:47.275] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2023-11-09 11:27:47.275] [error] Connection to simulator failed for Connection refused
[2023-11-09 11:27:48.276] [critical] Max retry times 3 passed when connecting to simulator, aborting...
terminate called after throwing an instance of 'std::runtime_error'
what():  Max retry times 3 passed when connecting to simulator, aborting...
./docker/run.sh: line 5:    27 Aborted                 ./backend/bin/backend $@
Would appreciate any help!

same issue here, did you solve it?

hi @PierceG6 @RiaMatapurkar what is your docker run command and is your Carla simulator on the same host of CarlaViz container?

thanks for the reply,
I tried to use >docker pull mjxu96/carlaviz:latest , it succeed. but when i tried >docker run -it -e CARLAVIZ_HOST_IP=<IP_ADDRESS> -e CARLA_SERVER_IP=host.docker.internal -e CARLA_SERVER_PORT=2000 -p 8080-8081:8080-8081 -p 8089:8089 mjxu96/carlaviz:latest. this is what came out:
[2024-04-01 16:03:12.630] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2024-04-01 16:03:12.632] [error] Connection to simulator failed for Connection refused
[2024-04-01 16:03:13.632] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2024-04-01 16:03:13.633] [error] Connection to simulator failed for Connection refused
[2024-04-01 16:03:14.633] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2024-04-01 16:03:14.633] [error] Connection to simulator failed for Connection refused
[2024-04-01 16:03:15.633] [critical] Max retry times 3 passed when connecting to simulator, aborting...
terminate called after throwing an instance of 'std::runtime_error'
what():  Max retry times 3 passed when connecting to simulator, aborting...
./docker/run.sh: line 5:    23 Aborted                 ./backend/bin/backend $@
THEN, i tried the 0.9.10 version. I succeed, but when I open http://<IP_ADDRESS>:8080/ , it shows launch the backend and refresh, but the commandline states this:
Launching backend.
2024-04-01 16:08:00 [INFO]     Connecting to Carla Server on host.docker.internal:2000...
2024-04-01 16:08:00 [INFO]     Connected to Carla Server, Server version is: 0.9.15
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API
WARNING: Client API version     = 0.9.10
WARNING: Simulator API version  = 0.9.15
./run.sh: line 16:     7 Segmentation fault      ./carlaviz/backend/bin/backend ${CARLA_SERVER_IP} ${CARLA_SERVER_PORT}
Backend launched.
I am so confused, i will be grateful for your help

hi the docker run command has been changed after CarlaViz 0.9.14. Could you check the latest document?
And please use the same version of CarlaViz as Carla, e.g. use CarlaViz 0.9.15 for Carla 0.9.15.

by the way, your IP in your reply looks like a public IP. You might want to hide it for safety.

@mjxu96 Yes both are on the same host

command-->docker pull mjxu96/carlaviz:0.9.14
error --> during connect: this error may indicate that the docker daemon is not running: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=mjxu96%2Fcarlaviz&tag=0.9.14": open //./pipe/docker_engine: The system cannot find the file specified.
This is what I see now.

@mjxu96  Thanks for the reply.
I tried the latest docker run command, the pulling was successful, but it shows error that not able to connect to the simulator. Could you please inform my next step, Thanks!

looks like it is almost there. Could you try to put the command into one line and discard the / in the command?

@mjxu96 Thanks for all your suggestions I will try with 9.15 but my carla version is 9.14 source build, would that not be a problem?

Could you try CarlaViz <IP_ADDRESS>? It can work with Carla 0.9.14

Thanks! @mjxu96 i tried this command ( docker run -it --network="host" mjxu96/carlaviz:0.9.15 --simulator_host localhost --simulator_port 2000). BUT it came out the same result (Connection to simulator failed for Connection refused).

@mjxu96 Unfortunatly I get the same error as before:
error during connect: this error may indicate that the docker daemon is not running: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=mjxu96%2Fcarlaviz&tag=<IP_ADDRESS>": open //./pipe/docker_engine: The system cannot find the file specified.

@RiaMatapurkar could you check if you can pull other images from dockerhub? This error seems like your local docker daemon problem.
FYI the carlaviz images are hosted at https://hub.docker.com/r/mjxu96/carlaviz/tags

@mjxu96 I was able to but I will just check again to see if there is a problem on my end! Thanks for all your help, I will write you an update on Monday

@mjxu96 Thank you for your help!! now I can run the carlaviz.


[CockroachDB] Different behavior with CDB 21.1 than 20.2

Environment
Windows
Liquibase Version:
4.3.5
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
CLI
Liquibase Extension(s) & Version:
N/A
Database Vendor & Version:
CockroachDB 21.1 and 20.2, both via Docker
Operating System Type & Version:
Windows 10
Description
When running Liquibase against CDB 20.2, you get the following SQL from the changelog below:
CREATE TABLE public.TEST (id SERIAL NOT NULL, TEST VARCHAR(36) NOT NULL, TEST2 VARCHAR(50) NOT NULL, CONSTRAINT TEST_PKEY PRIMARY KEY (id), UNIQUE (TEST));
For 21.1, you get this:
CREATE TABLE public.TEST (id INTEGER GENERATED BY DEFAULT AS IDENTITY NOT NULL, TEST VARCHAR(36) NOT NULL, TEST2 VARCHAR(50) NOT NULL, CONSTRAINT TEST_PKEY PRIMARY KEY (id), UNIQUE (TEST));
It appears that Liquibase is sniffing for Database vendor and version number to direct behavior. Should be updated to to include 21.1, but I would argue it should encompass all versions of CDB, not specific ones. Pretty sure, they will always be backwards compatible with SQL just like all other DB vendors.
databaseChangeLog:
  - changeSet:
      id: 1
      author: test
      changes:
        - createTable:
            tableName: TEST
            columns:
              - column:
                  name: id
                  type: int
                  autoIncrement: true
                  constraints:
                    primaryKey: true
                    nullable: false
              - column:
                  name: TEST
                  type: varchar(36)
                  constraints:
                    nullable: false
                    unique: true
              - column:
                  name: TEST2
                  type: varchar(50)
                  constraints:
                    nullable: false

I used the docker-compose.yml in liquibase-test-harness (commenting out all the other db's) and these .properties files
21.1
#liquibase.properties cdb 21.1
url: jdbc:postgresql://localhost:26259/lbcat
username: lbuser
password:
changeLogFile: changelog.yml

20.2
#liquibase.properties cdb 20.2
url: jdbc:postgresql://localhost:26257/lbcat
username: lbuser
password:
changeLogFile: changelog.yml

ok, i'll make it even easier:
docker-compose.yml
version: '3.3'

services:

  crdb-20.2:
    image: cockroachdb/cockroach:v20.2.0
    command: start-single-node --insecure
    expose:
      - "8080"
      - "26257"
    ports:
      - "26257:26257"
      - "8080:8080"
    networks:
      - roachnet
  crdb-20.2-init:
    image: cockroachdb/cockroach:v20.2.0
    networks:
      - roachnet
    volumes:
      - ./setup_db.sh:/setup_db.sh
    entrypoint: "/bin/bash"
    command: /setup_db.sh crdb-20.2
    depends_on:
      - crdb-20.2

  crdb-20.1:
    image: cockroachdb/cockroach:v20.1.8
    command: start-single-node --insecure
    expose:
      - "8080"
      - "26257"
    ports:
      - "26258:26257"
      - "8081:8080"
    networks:
      - roachnet
  crdb-20.1-init:
    image: cockroachdb/cockroach:v20.1.8
    networks:
      - roachnet
    volumes:
      - ./setup_db.sh:/setup_db.sh
    entrypoint: "/bin/bash"
    command: /setup_db.sh crdb-20.1
    depends_on:
      - crdb-20.1

  crdb-21.1:
    image: cockroachdb/cockroach:v21.1.0
    command: start-single-node --insecure
    expose:
      - "8080"
      - "26257"
    ports:
      - "26259:26257"
      - "8082:8080"
    networks:
      - roachnet
  crdb-21.1-init:
    image: cockroachdb/cockroach:v21.1.0
    networks:
      - roachnet
    volumes:
      - ./setup_db.sh:/setup_db.sh
    entrypoint: "/bin/bash"
    command: /setup_db.sh crdb-21.1
    depends_on:
      - crdb-21.1

networks:
  roachnet:

Verified that select version() doesn't return weird stuff in CDB 21.1:
CockroachDB CCL v21.1.0 (x86_64-unknown-linux-gnu, built 2021/05/17 13:49:40, go1.15.11)

Here's 20.2:
CockroachDB CCL v20.1.8 (x86_64-unknown-linux-gnu, built 2020/10/21 15:46:38, go1.13.9)

I am mystified why Liquibase would not run the same SQL for CDB 21.1 as CDB 20.2

@r2liquibase any idea on timeline of when this will be fixed? I'm not able to update Cockroach to 21.1.x because of this known issue.

Fix raised here: https://github.com/liquibase/liquibase/pull/1908


Add advisor that provides architecture tuning

Refer to ENAS's controller model at https://github.com/melodyguan/enas
Should replicate performance in paper

Duplicate of #50


[feat] Ability to query/set multiple display brightness

Description (What is the problem)
On a system with multiple displays (macOS / Windows) it would be beneficial to be able to set different brightness settings for each display. Especially in the case that the displays have different brightness capabilities.
Solution suggestion
Allow querying of list of display devices.
Allow reading or setting brightness for each display.

Hi @Nixes. This will be implement after linux support is completed.


Add note about _CRT_DECLARE_NONSTDC_NAMES

With /c11 and /c17 properly defining __STDC__, users may encounter that the POSIX functions they are relying on are no longer exposed. This was always the case with /Za but is now also visible with the standard C versions.
Gated by 17.2 preview 2 at the earliest.

@eldakesh-ms : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@corob-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Oops, I missed the part about 17.2. We'll fix it in post. Although I note the flag has been around a long time and already guarded the POSIX typedefs and defined macros.
Also, we recommend Microsoft people use the private repo, cpp-docs-pr, for their contributions, since it does additional build validations and also lets us embargo content for release.


RELATED: FET-249 Use docker image with node 12 LTS

Currently destined for release R201.
This release is zero downtime release.
Code drop: 2020-03-26 00:00.

Story FET-249 Upgrade gd infrastructure to node 12
Status: New
Priority: Major
Assignee: FET Guild User

client-libs/gooddata-typings-pull-request-compliance-check check failed
require-copyright
Invalid or missing copyright, refer GoodData Copyright Instructions

file added: .nvmrc
file modified: docker/.config

Build failed (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/58/ : SUCCESS in 7s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/138/ : FAILURE in 1m 05s

Build failed (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/59/ : SUCCESS in 5s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/139/ : FAILURE in 48s

client-libs/gooddata-typings-pull-request-compliance-check check failed
require-copyright
Invalid or missing copyright, refer GoodData Copyright Instructions

file added: .nvmrc
file modified: docker/.config
file modified: src/ExecuteAFM.ts

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/60/ : SUCCESS in 6s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/140/ : SUCCESS in 28s

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-gate/25/ : SUCCESS in 4s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/141/ : SUCCESS in 1m 51s


CMake Targets carrying compiler flags

This branch is implementing cmake targets to provide a proper export of the library using cmake.
The defines needed to compile against this library are now automatically exported when using CMakes find_package().

@weinrank What do you think?

I like most of the changes and think they're useful. 👍
Bit some changes have unwanted side effects, for example:
Moving some checks to the usrsctplib's CMakeList.txt will hide variables/defines from the programs CMakeList.txt
HAVE_SIN6_LEN will never be set in the program's directory.

@weinrank the point of using CMake targets is, that CMake it self takes care of the compiler definitions.
Therefore CMake automatically defines all public definitions of a target whenever the target is linked to another target. Since all programs link against the lib and HAVE_SIN6_LEN is defined as PUBLIC definition in the Library target, this flag is automatically set for all programs.

Disclaimer: I'm not a CMake professional! :)
Before I review the whole PR, I would like to discuss some changes.
You're right, HAVE_SIN6_LEN is defined for the programs, but the compiler options aren't.
I've mistaken the lines. 😖
The programs are built without the library's strict compiler options.
You distinguish between public and private defines.
But then you define both (private and public variables) as public (https://github.com/sctplab/usrsctp/pull/275/files#diff-97df4c89b4075d8e8dc8af124dde8b1bR275)?
From my point of view, only SCTP_DEBUG should be a public define.
INET, INET6, HAVE_SIN_LEN, ... should be private and not be defined outside the usrsctp scope.
If I understand the intention of your changes correctly, you want to compile/include the library independently of the programs?

From my point of view, only SCTP_DEBUG should be a public define.
INET, INET6, HAVE_SIN_LEN, ... should be private and not be defined outside the usrsctp scope.

My two cents: Every preprocessor conditional exposed in public headers needs to be publicly exposed. Alternatively, the header needs to be generated.
For example, if INET isn't defined, accessing sctp_sockstore.sin is seemingly not possible for an application including usrsctp.h. This can result in awkward compilation warnings and broken autocompletion in IDEs.

As @lgrahl already mentioned all definitions appearing in the header should be public to avoid an error caused by different configurations while linking against the library.
I did not want to define any definition private, since i wanted to be consistent with the current master.  This is to avoid any possible errors for non public dependecies of your project or others relaying on this defines. So defining them private, as i would assume them to be, is definitely a possibility.
Further more, i did not touch the Windows only definitions since i currently do not have a running Windows System to test my changes.
So this commit is just a minimum change commit to enable CMake's target features.

You're right in case of the INET6 and INET preprocessor checks in the exposed header.
I've created a PR #277 to remove the check from usrsctp.h.
Any specific reason why you moved the compiler checks to the usrsctplib folder's CMakeList.txt?

Yes, i tried to separate the programs from the library. Since the library and the programs are compiled independently, they should also be handled as real sub-projects.
So the main CMake file only concatenates both projects.

I tried the same idea of separating the programs from the library.
I came back to the monolithic solution where you can disable/enable the example programs via an CMake option.
The reason for this is the fact that the programs and the library share the same compiler options and most of the defines.
Separating the programs and the library will lead to code duplication and I don't see many cases where you would build the example programs but not the related library.
If I'm on the wrong track and the benefits of a separation outweigh: comments are welcome! 😊
If you agree, I'll cherry pick most of your suggested changes without your without separating the

In this case i would suggest to keep the defines in the library directory and just make them public.
In this case the programs inherit the definitions from the library. And you still can add an if statement to decide if the definitions are public or private.
Furthermore, since the definitions are bound to the target there is no difference where you configure them. they have the same effect independent from the position where they are configured.
Currently all properties for each program should be the same as in your original script because i defined them as public property of the target.

In case we set all definitions public, these definitions are also set in projects which depend on the usrsctp project by including it via find_package, correct?
If that's the case, this is not my intended behaviour.
Defines like "INET" and "INET6" are too generic to be exposed.
If you build the library without INET/INET6 support and try to use INET/INET6 features, the library will respond with an error indicating that the address family is not supported.
If you want those defines to be exposed, they should at least have an SCTP_ prefix.
IMHO the most elegant solution, as Lennart suggested, would be a dynamically generated header where those defines are set instead of using CMake magic.

I think the solution, using generated headers, is a very clean way to solve the problem.
But in this case i do not see how you can ensure keeping the nmake build running.

IIRC the only define that is still used in usrsctp.h but not exposed is SCTP_DEBUG.

Are we still needed anything from this PR or not?


[Docs] Tables in references is not accessible in mobile view.

Current State
https://docs.meshery.io/reference/mesheryctl

Desired State

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hello @Aseem22 @leecalcote. I would like to work on this issue.

Hello @Aseem22 @leecalcote. I would like to work on this issue.

Hi @Aryakoste, Thanks for reaching out and offering to take on this issue. I'm actually already working on this issue. Would you be interested in tackling another related task?

Ok


Auto create new image for periodic jobs

We manually build images to push to Quay for periodic jobs #28 is the dockerfile. We want to automatically push images to the quay for every new PR merge using GH actions. Here is the repo to push the images. This image is used in the post_cleanup step to capture the failure results.

@srivickynesh is there a JIra for this?

Yes. KFLUXBUGS-1157

FYI there's a plan to onboard qe-tools to openshift-ci. It would make sense to use it to perform automatic releases of new container image versions to quay.io
or
eventually use Konflux CI.
But as a short-term plan using GH actions for that is fine IMO


Semantic similarity error for same terms

The semantic_similarity function produces division by zero error for same term pair. It might be fixed as below;
def semantic_similarity(go_id1, go_id2, godag, branch_dist=None):
    '''
        Finds the semantic similarity (inverse of the semantic distance)
        between two GO terms.
    '''
    dist = semantic_distance(go_id1, go_id2, godag, branch_dist)
    if dist == 0:
        return 1
    if dist is not None:
        return 1.0 / float(dist)
    return None

Thank you for your interest in GOATOOLS, taking the time to write us and your patience.
I have implemented this fix. Thank you so much for bringing it to our attention.


allow custom typegen extensions

addresses #152

let me know If I can do anything about the release-plz check failing

Thanks @StuartHarris!

Thank you too! 👍  This looks great. I'll try it out later and then we can get it merged.

I tested this a little more with typescript, where I needed some adjustments to tsconfig.json. While my solution works, the user has to copy whole typescript directory from original typegen_extensions to avoid missing files.
I tried a more ergonomic solution, which would check if a file from the original typegen_extensions exists in user's custom typegen_extensions. Allowing the user to replace just one file and not whole directory.
And it almost worked, only this appeared import * as util from "https://deno.land/std@0.85.0/node/util.ts";, not sure where it comes from but I saw a related FIXME nearby. If you could explain what's that about I'd be happy to fix the fixme and finalize this typescript adjustment, if you think it makes sense.

I see the deno part is coming from serde-reflection and crux has to maintain its own copy of novi.

Thanks for this. Sorry, I'm out of the country rn. Will get on it soon though ❤


Implement Copy for ElementState

It seems like ElementState should be a copy type. This addresses a minor annoyance I've encountered where I have to manually clone it to avoid move errors.

I dig it. Thanks!


Update privacy notice on coronawarn.app for version 1.13

EXPOSUREAPP-5332

Will 1.13.0 Android or 1.13.2 be released?
(See https://github.com/corona-warn-app/cwa-app-android/releases/tag/v1.13.2-RC0)

@MikeMcC399 I am not sure yet. I will adapt the gulpfile last minute.

@dsarkar
Should this be merged ASAP with 1.13 released?

@Ein-Tim I will merge this one now. Could you create a PR with an update of the Android CWA version number? Thanks !

@dsarkar
For sure 👍

@dsarkar
#940


Produces errors for --solv 0.4.16, 0.4.17

Description
Mythril produces errors with options --solv 0.4.16 or --solv 0.4.17.
But I checked that Mythril successfully analyze the contract with --solv 0.4.25  for the same contract (please refer to below).
How to Reproduce
Testing contract which can be compiled with solc 0.4.17 (or 0.4.16) :
pragma solidity ^0.4.17; // or 0.4.16

contract Test{
  uint n;

  function Test (uint _n) public {
    require (_n==1);
    n = _n;
  }

  function test (uint8 a, uint[] memory b) public {
    require (a==10);
    n--;
  }
}

Command :
sudo docker exec CONTAINER_NAME myth analyze /tmp/test.sol --execution-timeout 300 -o test --solv 0.4.17 -m integer,exceptions

Error message from Mythril:
mythril.interfaces.cli [ERROR]: Solc experienced a fatal error.

Cannot import url ("/tmp/test.sol"): File outside of allowed directories.

However, if I replace 0.4.17 by 0.4.25 in the command, Mythril successfully analyze the contract.
Expected behavior
Mythril should not produce error messages, because the original contract can be compiled with solc 0.4.17.
Environment

Mythril version: v 0.21.21 (from docker image)
Solidity compiler and version:  0.5.12
Python version: 3.6.9 (the one installed in the docker container)
OS and Version: Ubuntu 18.04 (Host OS)

It's a problem with py-solc which is out of our hand.

Thanks for the answer.


Add some concept of tagging/categorising objects described in the event

There is a need to be able to tag/categorise objects/data described in the schema.  It should be possible to associate an object under audit with multiple tags/categories and the tags/categories will likely be domain specific.  This is akin to adding tags to photos in Flickr or the topics associated with GitHub repositories.

This is excellent, it means one can analyse access events based on an accessed object's thematic tags against say a person's corporate role.


Also create minimal test.js file

I kinda expected this package to also create a test file. Compared to running npm i ava -D it only adds "test": "ava". Almost not worth it 😄
const test = require('ava');
const m = require('.');

test('foo', t => {
	t.pass();
});

test('bar', async t => {
	const bar = Promise.resolve('bar');
	t.is(await bar, 'bar');
});

test('not undefined', t => {
	t.not(typeof m, 'undefined');
});

Also it should run ava right away, perhaps, but it might fail.

It's hard to know quite where to place that file, though.
I've opened https://github.com/avajs/create-ava/issues/15 — we could really do with a "wizard" style process where we ask the user some questions and then do a nice AVA setup.

It's hard to know quite where to place that file, though.

Why hard to know? It's the same position as package.json by default. If the user needs more code they can just move it to test/blah.js just like they can change the configuration.
I don't think the point of create-ava is to cover every AVA feature in a single command. Surely a wizard would be nice, but the creation of test.js would be a reasonable default just like "test": "ava" is

For a TypeScript project folks would expect a test.ts file, but probably in a src or source.
Others might prefer a module.test.js file and wrongly conclude that's not supported.

Sorry, that doesn’t make sense.
Typescript users still have to add configuration if they want direct support from AVA, would that make them “wrong conclude that typescript is not supported?”
 As far as I know Sindre prefers no-config tools with smart defaults as well.
Either way it’s easier to move a file than it is to create one and fill it with the boilerplate.


failed to build plugin nativescript feedback

Hello.
when I launch:
"tns run android --bundle" returns the error with the plugin.
see photo.
I have already tried to remove the platform and change "a.p.i" and the emulator's android ... but nothing.
everything returns ok if I remove the plugin.
P.S.
In another project it works well but what you can read from the photo does not resolve dependencies.

package.json:
{
"name": "caio",
"version": "1.0.0",
"description": "ciccio",
"author": "pirriaf",
"license": "MIT",
"nativescript": {
"id": "org.ciccioecaio.www",
"tns-ios": {
"version": "5.0.0"
},
"tns-android": {
"version": "5.2.1"
}
},
"dependencies": {
"@vue/devtools": "^5.0.6",
"nativescript-cardview": "^3.1.1",
"nativescript-fancy-list-view": "0.0.9",
"nativescript-feedback": "^1.3.9",
"nativescript-floatingactionbutton": "^5.0.3",
"nativescript-loading-indicator": "^2.4.0",
"nativescript-orientation": "^2.2.1",
"nativescript-socketio": "^3.2.1",
"nativescript-theme-core": "^1.0.4",
"nativescript-toasty": "^1.3.0",
"nativescript-ui-listview": "^6.3.0",
"nativescript-ui-sidedrawer": "^4.3.0",
"nativescript-vue": "^2.0.0",
"nativescript-vue-devtools": "^1.2.0",
"tns-core-modules": "^5.0.2",
"vuex": "^3.0.1"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-loader": "^8.0.2",
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
"clean-webpack-plugin": "^0.1.19",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^1.0.0",
"lazy": "1.0.11",
"nativescript-dev-webpack": "next",
"nativescript-vue-template-compiler": "^2.0.0",
"nativescript-worker-loader": "~0.9.0",
"node-sass": "^4.9.2",
"sass-loader": "^7.1.0",
"terser-webpack-plugin": "^1.1.0",
"vue-loader": "^15.2.6",
"webpack": "^4.16.4",
"webpack-bundle-analyzer": "~2.13.1",
"webpack-cli": "^3.1.0"
}
}

Looks like you're behind a corporate proxy or something else hapering your internet access (leading to that download fail).
I just bumped the demo app in this repo to NativeScript 5.4 and did a clean run on both platforms with Webpack enabled.. and everything worked fine.

Il 12 luglio 2019 alle 21.54 Eddy Verbruggen<EMAIL_ADDRESS>ha scritto:
Looks like you're behind a corporate proxy or something else hapering your internet access (leading to that download fail).

I just bumped the demo app in this repo to NativeScript 5.4 and did a clean run on both platforms with Webpack enabled.. and everything worked fine.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-feedback/issues/50?email_source=notifications&email_token=AFTYDYPQCLWS3WJD5DA5TN3P7DOOFA5CNFSM4ICK4DE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ2XCYY#issuecomment-511013219 , or mute the thread https://github.com/notifications/unsubscribe-auth/AFTYDYITBESLXSKEPGPOSSLP7DOOFANCNFSM4ICK4DEQ .

thank you so much ... Sorry if I didn't think of it !!! you were right !! it was my "avast" that blocked it!


Longer strings aren't logged

Strings ~400 characters long sometimes fail to print.  Strings 450+ characters long always fail to print.   'log mem' doesn't indicate that the log buffer was too small.
Am I missing a Kconfig value or LOG2 documentation that discusses this limitation?  I have used printk as a workaround, but I'd prefer not to do this.
Windows, main - b89a3d955ab377270aa2d900f0c21495b6e68cec
Steps to reproduce the behavior:

west build -p always -b nrf52dk_nrf52832 samples/log2
west flash
test size 400
test count 10 (some messages not printed)
test size 450
test count 10
log mem
Log message buffer utilization report:
Capacity: 4092 bytes
Currently in use: 0 bytes
Maximum usage: 1488 bytes

log2.zip

Logging JSON messages often requires long strings (~1K).

Is this actually fixed? It seems like the bot completed it as done solely because it went stale. That seems inaccurate to me, this is a legitimate problem that should probably be addressed at some point

I don't think it was fixed, but the behavior is different.
For strings around the size of 400, 9 out of 10 get printed.
Strings larger than 443 result in "--- 1 messages dropped ---" being logged.

uart:~$ log mem
Log message buffer utilization report:
Capacity: 4092 bytes
Currently in use: 0 bytes
Maximum usage: 1484 bytes

The size doesn't seem to matter much.  Similar results with 4/16/32K.
west build -p -b nrf52dk_nrf52832
uart:~$ kernel stacks
0x200087c8 sysworkq                         (real size 1024):   unused  848     usage  176 / 1024 (17 %)
0x20008350 shell_uart                       (real size 2048):   unused  992     usage 1056 / 2048 (51 %)
0x20000258 logging                          (real size 5120):   unused 4624     usage  496 / 5120 ( 9 %)
0x20008638 idle                             (real size  320):   unused  236     usage   84 /  320 (26 %)
0x200086f0 main                             (real size 1024):   unused  680     usage  344 / 1024 (33 %)
0x2000b340 IRQ 00                           (real size 2048):   unused 1648     usage  400 / 2048 (19 %)
uart:~$ log mem
Log message buffer utilization report:
        Capacity: 32764 bytes
        Currently in use: 0 bytes
        Maximum usage: 400 bytes
uart:~$ test size 450
Size changed to 450
[00:00:46.451,599] <inf> log2_test: size: 128->450
uart:~$ test count 10
Count changed to 10
[00:00:52.452,087] <dbg> log2_test: main: .
--- 1 messages dropped ---
[00:00:53.452,362] <dbg> log2_test: main: .
...

uart:~$ log mem
Log message buffer utilization report:
        Capacity: 32764 bytes
        Currently in use: 0 bytes
        Maximum usage: 1040 bytes
uart:~$ kernel stacks
0x200087c8 sysworkq                         (real size 1024):   unused  848     usage  176 / 1024 (17 %)
0x20008350 shell_uart                       (real size 2048):   unused  992     usage 1056 / 2048 (51 %)
0x20000258 logging                          (real size 5120):   unused 4560     usage  560 / 5120 (10 %)
0x20008638 idle                             (real size  320):   unused  236     usage   84 /  320 (26 %)
0x200086f0 main                             (real size 1024):   unused  680     usage  344 / 1024 (33 %)
0x2000b340 IRQ 00                           (real size 2048):   unused 1648     usage  400 / 2048 (19 %)

In that case, IMO this should be reopened, not that I have any power to do so. You might, though, not sure.

Reopen


Release snowchains_core v0.1.0

Codecov Report

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

@@          Coverage Diff           @@
##           master     #63   +/-   ##
======================================
  Coverage    2.97%   2.97%
======================================
  Files          23      23
  Lines        4307    4307
  Branches     1914    1916    +2
======================================
  Hits          128     128
- Misses       4050    4051    +1
+ Partials      129     128    -1

Impacted Files
Coverage Δ

src/lib.rs
7.60% <0.00%> (ø)

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 b878e8a...a4f4c9d. Read the comment docs.


No way to really stop listener (?)

It would be great if stopSpeechListenService actually stopped the service. Now it just stops giving you results, but you can se in the debug console that it's still listening and reacting to voice input.

Maybe too late, but i used the stopSpeechListenService inside WillPopScope and it worked.
return WillPopScope(       onWillPop: () async {         stt.stopSpeechListenService();         return true;       },


Create Public API for GradleVersion

This PR extracts converts GradleVersion to an abstract class and hides the implementation details in the org.gradle.util.internal.DefaultGradleVersion class. The change is implemented in a backward-compatible way. All methods that not meant to be public, are now deprecated and scheduled for removal in Gradle 8. Also, all internal usages are replaced with calls to DefaultGradleVersion methods.
GradleVersion cannot be converted to an interface with default implementation as the container module has Java 6 source compatibility.
I've searched the public GitHub repositories for GradleVersion usages. It seems it is only used for comparing Gradle versions and nothing else. I've also tried to compile the code in those repositories with a locally-built Gradle distribution from which I've removed the deprecated methods. The compilation still succeeded, but I chose the pessimistic approach and still kept the deprecated methods (and fields).

@bot-gradle test rFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test and merge this

Your PR is queued because #16731 is being built.

@bot-gradle test and merge this

@bot-gradle test rFM

OK, I've already triggered ReadyForMerge build for you.

OK, I've already triggered a build for you.


HDDS-7770. Recon Namespace summary endpoint can carry basic information on the entity as well.

What changes were proposed in this pull request?
Additional Namespace Summary EndPoint Changes and Basic Information.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7770
How was this patch tested?
Manually

@GeorgeJahad can you please take a look?


Update README for better readability

From #130
@gyurgyma:

Getting Started:
Windows and Linux are in different orders. PLZ.
Environment:
Environment Variables don't have to be system wide.
Misc Setup:
Subheaders should be bolded rather than capped.
Numbers. ei: 1.0 1.1 etc.
Contributors vs Users.
Submitting Issues:
Always applicable to give steps.

I'm now frustrated after having to figure out the version of dependencies 3 times. For ease of use, lets add at least stable examples that we know.

Merged into dev and Master


Single column image

Hallo, thanks for sharing these great templates.
I'm wondering how the singel column template could use responsive image, just a bigger image on top or in the middle of the main email body.
Thanks

@federicovilla
You can add an image anywhere. Just remember to inline max-width:100% on the image, for example:
<img src="image.png" border="0" width="500" height="100" hspace="0" vspace="0" style="max-width:100%;">

Cheers
Julie


Improve telemetry

And use funcs from shared module. Fix incorrect package path in make file.

@chb0github ☝🏼