err-saga.js causes problems when syntax errors are caught

When a syntax error is caught, err-saga.js gets as far as line 5 and stops all processes.
There is a syntax error message in the dev console
There is no error toast
I can't see anything in ~ /client/commonFramwork/ working eg. code-storage, detect-unsafe-code-stream, display-test-results` etc...

Good ok

Open and pull

Open

Ok

I'd like to take on this bug.

@utsab go for it :+1:

Can I open a PR? I just fixed this issue. I'm not sure if @utsab is still working on it.

@WiNloSt are any of the errors from client/commonFramework/detect-unsafe-code-stream.js visable?

I tried tracking down detectUnsafeCode$ which is in detect-unsafe-code-stream.js and leads to excecute-challange-stream.js which assign executeChallenge$ function to global variable named common and this function is called in end.js
I'll make an assumption from now on from my understanding, but let me tell you this is my first time browsing FreeCodeCamp repo.
end.js seemed to use RxJS. And trigger event from button stream. Many button stream e.g. submitBtn$ and resetBtn$ which trigger from clicking component with id submitButton and reset-button respectively. However there isn't a component with this id at least for submitButton.
My thought is that FreeCodeCamp moved from using RxJS to Redux with Redux Epic. So, detect-unsafe-code-stream seemed to be a legacy code for me (I try putting some console.log in that file and they never log).
All of this is tested on basic JavaScript challenges.
Does that answer your question?
BTW, the error isn't stopped at line 5 from file err-saga.js, it just dispatch an incorrect action. I changed the action to the correct one. And the toasted works as expected as shown below.
Please let me know if you want me to open the PR. I still wait to hear from @utsab

@WiNloSt, sure, thanks for looking into it.  You can go ahead and take over this one. Nice job figuring it out.

I have opened a Pull Request :)

@BerkeleyTrue is detect-unsafe-code-stream and others now legacy code in staging?

Nothing in common framework runs in the app

@Bouncey I don't think you issue has anything to do with err-saga. Err saga does not generate errors it just prints them.
In my backend challenge PR errors in client code will be printed to the output window.

I have just pulled the latest staging and tried this out again.
Running tests with an unfinished function declaration in the code causes the error toast, but nothing happens after that.
Output remains at // running test
The test-suite switches and remains in its initial state
There is no error message in output
It looks like throwers() is throwing the Error object correctly,
Error: SyntaxError: Unsafe or unfinished function declaration
    at Object.checkForUnfinishedFunction [as thrower] (http://localhost:3000/js/bundle.js:122177:16)
    at http://localhost:3000/js/bundle.js:122204:51
    at tryCatcher (http://localhost:3000/js/bundle.js:2943:32)
    at InnerObserver.Rx.FlatMapObservable.InnerObserver.next (http://localhost:3000/js/bundle.js:5020:44)
    at InnerObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (http://localhost:3000/js/bundle.js:4642:32)
    at InnerObserver.tryCatcher (http://localhost:3000/js/bundle.js:2943:32)
    at AutoDetachObserverPrototype.next (http://localhost:3000/js/bundle.js:14690:52)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (http://localhost:3000/js/bundle.js:4642:32)
    at loopRecursive (http://localhost:3000/js/bundle.js:5507:12)
    at scheduleWork [as action] (http://localhost:3000/js/bundle.js:3949:12)
    at ScheduledItem.invokeCore (http://localhost:3000/js/bundle.js:3860:34)
    at ScheduledItem.invoke (http://localhost:3000/js/bundle.js:3848:41)
    at runTrampoline (http://localhost:3000/js/bundle.js:4089:38)
    at tryCatcher (http://localhost:3000/js/bundle.js:2943:32)
    at CurrentThreadScheduler.schedule (http://localhost:3000/js/bundle.js:4105:46)
    at CatchObservable.Rx.ObservableBase.ObservableBase._subscribe (http://localhost:3000/js/bundle.js:4975:33)

but this error never makes it to the console. In it's place is an Error thrown by Parser.pp.raise:
err-saga.js:7 SyntaxError: unknown: Unexpected token (11:8)
   9 | b = b - 15;
  10 | c = c - 1;
> 11 | function
     |         ^
    at Parser.pp.raise (http://localhost:3000/js/bundle.js:89558:14)
    at Parser.pp.unexpected (http://localhost:3000/js/bundle.js:91165:9)
    at Parser.pp.parseFunction (http://localhost:3000/js/bundle.js:90586:11)
    at Parser.pp.parseFunctionStatement (http://localhost:3000/js/bundle.js:90263:16)
    at Parser.pp.parseStatement (http://localhost:3000/js/bundle.js:90051:20)
    at Parser.parseStatement (http://localhost:3000/js/bundle.js:91199:23)
    at Parser.pp.parseBlockBody (http://localhost:3000/js/bundle.js:90476:22)
    at Parser.pp.parseTopLevel (http://localhost:3000/js/bundle.js:89990:9)
    at Parser.parse (http://localhost:3000/js/bundle.js:18950:18)
    at parse (http://localhost:3000/js/bundle.js:35207:48)
    at File.parse (http://localhost:3000/js/bundle.js:24638:16)
    at File.parseCode (http://localhost:3000/js/bundle.js:24723:21)
    at http://localhost:3000/js/bundle.js:73653:13
    at File.wrap (http://localhost:3000/js/bundle.js:24685:17)
    at Pipeline.transform (http://localhost:3000/js/bundle.js:73651:18)
    at Object.babelTransformer [as transformer] (http://localhost:3000/js/bundle.js:122299:27)

This is parser.pp.raise:
/* 737 */
/***/ function(module, exports, __webpack_require__) {

	"use strict";

	var _location = __webpack_require__(172);

	var _index = __webpack_require__(57);

	var _index2 = _interopRequireDefault(_index);

	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

	var pp = _index2.default.prototype;

	// This function is used to raise exceptions on parse errors. It
	// takes an offset integer (into the current `input`) to indicate
	// the location of the error, attaches the position to the end
	// of the error message, and then raises a `SyntaxError` with that
	// message.

	pp.raise = function (pos, message) {
	  var loc = (0, _location.getLineInfo)(this.input, pos);
	  message += " (" + loc.line + ":" + loc.column + ")";
	  var err = new SyntaxError(message);
	  err.pos = pos;
	  err.loc = loc;
	  throw err;
	};

/***/ },

This part of webpack is overriding the Error object from throwers


Datadog Admission Controller: Option to mount socket volume

It seems like the recommended approach to reaching dogstasd on Kubernetes is to use the unix domain socket (vs UDP port exposed on the node).
Unfortunately, using the UDS requires mounting a volume on the pod which is a manual operation today. It would be great if the admission controller can be configured to add the socket volume automatically such that the UDS is available to pods that are being mutated by the admissions controller.

Hi @jalaziz
It should be implemented in https://github.com/DataDog/datadog-agent/pull/11373 and will released in https://github.com/DataDog/datadog-agent/milestone/139
cc: @CharlyF

Hi @jalaziz
It should be implemented in https://github.com/DataDog/datadog-agent/pull/11373 and will released in https://github.com/DataDog/datadog-agent/milestone/139
cc: @CharlyF

Good to know! Missed that PR.


Changing Text Atrributes

This is a great control. I have different background images on each panel. Is there a way to set text attributes for individual panels? Thanks!!

The panels have the properties: PanelTitleLabel and PanelDescriptionLabel that you can access and set whatever you want...
let panel1:MYIntroductionPanel = // init the panel...
panel1.PanelTitleLabel.font = UIFont.init(name: "MySuperCoolFont", size: 21)
panel1.PanelDescriptionLabel.font = UIFont.init(name: "MyUltraMegaAwesomeFont", size: 14)


About text-expression evaluation

Some time ago, we talked about text expressions... and I have implemented it generating a function that was able to be called passing an object. Since that comment, I have evolved it a little.
Example 1: createEvaluator does not depend on an existing instance of the object to create the evaluator function:
var fn = createEvaluator("x+y+z");
var result = fn({x: 1, y: 2, z: 3});
// result now contains 6

Example 2: it allows you to use variable names in the code, without requiring them to be set on the source object:
var fn = createEvaluator("x+(y||0)+(z||0)");
var result = fn({x: 1});
// result now contains 1

I haven't tested it widely though... but it works in current versions of FF and Chrome.
Take a look at tell me what you do think.
The code:
function rndStr() {
    return Math.floor((1 + Math.random()) * 0x100000000).toString(16).substring(1);
}

function escapeRegExp(str) {
    return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
}

function getVarNameExtractor() {
    var errMsg = null;
    var rgx = null;
    for (var tryes = 0; tryes < 10; tryes++) {
        var n = rndStr() + rndStr() + rndStr() + rndStr();
        n = "__Invalid_Reference__" + n + "__";
        try {
            var func = Function.apply(
                null,
                ["'use strict'\nreturn "+n+";"]);
            func();
        }
        catch (e) {
            errMsg = e.message;
            var escMsg = escapeRegExp(errMsg);
            var rgxStr = escMsg.replace(new RegExp(escapeRegExp(n),'g'), "(.*)");
            if (rgxStr !== escMsg) {
                var rgx = new RegExp(rgxStr, 'g');;
                return function(error) {
                    rgx.lastIndex = 0;
                    var match = rgx.exec(error.message);
                    return (match && match[1]) || null;
                }
            }
        }
    }

    return null;
}

function getVarNames(expr, model) {
    var vne = getVarNameExtractor();
    var names = (model && Object.keys(model)) || [];
    if (vne) {
        while (true) {
            var func = Function.apply(
                null,
                names.concat(["'use strict';\nreturn ("+expr+");"]));

            try {
                func(model);
                break;
            }
            catch (e) {
                var missedName = vne(e);
                if (missedName)
                    names.push(missedName);
                else
                    break;
            }
        }
    }

    return names;
}

function createEvaluator(expr, model) {
    var names = getVarNames(expr, model);

    var func = Function.apply(
        null,
        names.concat(["'use strict';\nreturn ("+expr+");"]));

    var func2 = Function.apply(
        null,
        [
            "func",
            "'use strict';\nreturn function(o) {"+
                "return func("+names.map(function(x){return "o."+x;}).join(",")+");"+
            "};"
        ]);

    return func2(func);
}

I'm sorry I didn't remember that. I didn't mean to reimplement that.
Is your version any better than the one I submitted with the unit tests? The only difference I'm seeing is that yours support an evaluator function to be returned. Mine just evaluates it.

There are some differences:

it creates a function... that could be used to replace the text expression once it is found, so once converted to a function you can reuse it
it supports the use of variables that are not in the object, so if you happen to find a partially filled object, it still works, variable will be left undefined
more complex, so it is more difficult to understand... I have commented the code and commited it to my Web-Scripts repository
I didn't test it in IE, in any mobile browsers, nor in old chrome or FF, or any other browser (i.e. Opera, Safari)... just the latest Chrome and FF versions were tested (using the Console)... I don't have tests for it right now

It is saved in my repo, so we can choose to use it or not at any moment, if you think it is not the right time.

Yes, I think we should come back to this once it's proven to be a problem. If we stick to every nitty gritty details we won't go any further. I'm currently focused on converting a sample component to CJS and create a build process for ReactComponents.


Search does not work for DropdownMenu in Android

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Visit https://api.flutter.dev/flutter/material/DropdownMenu-class.html
Copy paste the example in main.dart file
Run it in Android Physical Device
Try to if you can search it or not

Expected results
User should be able to search item.
Actual results
Not able to search
Code sample
Code sample
import 'package:flutter/material.dart';

/// Flutter code sample for [DropdownMenu]s. The first dropdown menu has an outlined border.

void main() => runApp(const DropdownMenuExample());

class DropdownMenuExample extends StatefulWidget {
  const DropdownMenuExample({super.key});

  @override
  State<DropdownMenuExample> createState() => _DropdownMenuExampleState();
}

class _DropdownMenuExampleState extends State<DropdownMenuExample> {
  final TextEditingController colorController = TextEditingController();
  final TextEditingController iconController = TextEditingController();
  ColorLabel? selectedColor;
  IconLabel? selectedIcon;

  @override
  Widget build(BuildContext context) {
    final List<DropdownMenuEntry<ColorLabel>> colorEntries =
        <DropdownMenuEntry<ColorLabel>>[];
    for (final ColorLabel color in ColorLabel.values) {
      colorEntries.add(
        DropdownMenuEntry<ColorLabel>(
            value: color, label: color.label, enabled: color.label != 'Grey'),
      );
    }

    final List<DropdownMenuEntry<IconLabel>> iconEntries =
        <DropdownMenuEntry<IconLabel>>[];
    for (final IconLabel icon in IconLabel.values) {
      iconEntries
          .add(DropdownMenuEntry<IconLabel>(value: icon, label: icon.label));
    }

    return MaterialApp(
      theme: ThemeData(
        useMaterial3: true,
        colorSchemeSeed: Colors.green,
      ),
      home: Scaffold(
        body: SafeArea(
          child: Column(
            children: <Widget>[
              Padding(
                padding: const EdgeInsets.symmetric(vertical: 20),
                child: Row(
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    DropdownMenu<ColorLabel>(
                      initialSelection: ColorLabel.green,
                      controller: colorController,
                      label: const Text('Color'),
                      dropdownMenuEntries: colorEntries,
                      onSelected: (ColorLabel? color) {
                        setState(() {
                          selectedColor = color;
                        });
                      },
                    ),
                    const SizedBox(width: 20),
                    DropdownMenu<IconLabel>(
                      controller: iconController,
                      enableFilter: true,
                      leadingIcon: const Icon(Icons.search),
                      label: const Text('Icon'),
                      dropdownMenuEntries: iconEntries,
                      inputDecorationTheme: const InputDecorationTheme(
                        filled: true,
                        contentPadding: EdgeInsets.symmetric(vertical: 5.0),
                      ),
                      onSelected: (IconLabel? icon) {
                        setState(() {
                          selectedIcon = icon;
                        });
                      },
                    )
                  ],
                ),
              ),
              if (selectedColor != null && selectedIcon != null)
                Row(
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    Text(
                        'You selected a ${selectedColor?.label} ${selectedIcon?.label}'),
                    Padding(
                      padding: const EdgeInsets.symmetric(horizontal: 5),
                      child: Icon(
                        selectedIcon?.icon,
                        color: selectedColor?.color,
                      ),
                    )
                  ],
                )
              else
                const Text('Please select a color and an icon.')
            ],
          ),
        ),
      ),
    );
  }
}

enum ColorLabel {
  blue('Blue', Colors.blue),
  pink('Pink', Colors.pink),
  green('Green', Colors.green),
  yellow('Yellow', Colors.yellow),
  grey('Grey', Colors.grey);

  const ColorLabel(this.label, this.color);
  final String label;
  final Color color;
}

enum IconLabel {
  smile('Smile', Icons.sentiment_satisfied_outlined),
  cloud(
    'Cloud',
    Icons.cloud_outlined,
  ),
  brush('Brush', Icons.brush_outlined),
  heart('Heart', Icons.favorite);

  const IconLabel(this.label, this.icon);
  final String label;
  final IconData icon;
}

Screenshots or Video

Screenshots / Video demonstration
Even if you tab on the Field dropdown opens but keyboard doesn't open

https://github.com/flutter/flutter/assets/59083528/bacf57df-798d-43a0-bef1-a7efdc20133c
Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [Version 10.0.22621.1555], locale en-IN)
    • Flutter version 3.10.0 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (4 days ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at C:\Users\harsh\AppData\Local\Android\sdk
    • Platform android-33-ext4, build-tools 33.0.1
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[√] VS Code (version 1.78.2)
    • VS Code at C:\Users\harsh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.56.0

[√] Connected device (1 available)
    • vivo 1907 (mobile) • 8TBYBE6H7H55USFE • android-arm64 • Android 12 (API 31)

[√] Network resources
    • All expected network resources are available.

• No issues found!

I just tested and can confirm that it is broken in 3.10.0 stable.
It works perfectly fine in the Flutter 3.7.12

founded it
    this.requestFocusOnTap = true,

need to pass requestFocusOnTap  as `true to make the keyboard appear.
It was honestly confusing if search is enable try by default that mean then sure keyboard to open right? But, then why needing to pass extra requestFocusOnTap  if that needed to passed then search should be set to false by default right?
So, suggestion is either we make requestFocusOnTap  as true or ask dev to pass it...
This issue could be closed if any of the suggestion doesn't appiled.


added ID3D11Device5 checks + fixed QueryInterface calls

ID3D11Device5 is supported but checks in IsDeviceUUID and GetDeviceInterface are missing
fixed not initialized pointers passed to QueryInterface

Note, the second change fixes a crash. WrappedDXGIInterface::QueryInterface calls QueryInterface on the wrapped type. In my case the wrapped type is WrappedDeviceChild11 and the requested type is IDXGISurface2. The crash happens when the DXGI object does not implement IDXGISurface2. In this case  WrappedDeviceChild11::QueryInterface returns E_NOINTERFACE and WrappedDXGIInterface::QueryInterface calls SAFE_RELEASE on an un-initialized pointer.

Thanks for this fix. I thought I'd searched for all uses of the new interfaces but I must have missed this one.


[stable/artifactory] Artifactory license did not get picked up

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Version of Helm and Kubernetes:
Helm
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}

Kubernetes
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:17:39Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.6", GitCommit:"9f8ebd171479bec0ada837d7ee641dec2f8c6dd1", GitTreeState:"clean", BuildDate:"2018-03-21T15:13:31Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/artifactory

What happened:
Installing the chart by following the guide .

kubectl create secret generic artifactory-license --from-file=./art.lic
helm upgrade --install artifactory --set artifactory.license.secret=artifactory-license,artifctory.license.dataKey=art.lic stable/artifactory --values values.yaml

License didn't get installed .
We tried the --dry-run too . It shows nothing about the secrets getting mounted there.
What you expected to happen:
Artifactory License should have been picked up as per the README
How to reproduce it (as minimally and precisely as possible):
Execute the command as per README

I've an update for this .
I tried with the master branch and it worked fine . My license and bootstrap config too got picked up fine.


CanRenderPerspectiveCube/Metal test flake

See: https://ci.chromium.org/ui/p/flutter/builders/try/Mac Engine Drone/28375/overview as an example
 Play/RendererTest.CanRenderPerspectiveCube/Metal
[ERROR:flutter/fml/backtrace.cc(108)] Caught signal SIGSEGV during program execution.
Frame 0: 0x7ff81c6f1177 newRenderPipeline()
Frame 1: 0x7ff81c77db7c __233-[MTLCompiler createVertexStageAndLinkPipelineWithFragment:fragmentVariant:vertexFunction:serializedVertexDescriptor:descriptor:destinationArchive:options:reflection:compileStatistics:fragmentCompileTimeData:error:completionHandler:]_block_invoke.1436
Frame 2: 0x7ff813b730cc _dispatch_call_block_and_release
Frame 3: 0x7ff813b74317 _dispatch_client_callout
Frame 4: 0x7ff813b7a317 _dispatch_lane_serial_drain
Frame 5: 0x7ff813b7adfd _dispatch_lane_invoke
Frame 6: 0x7ff813b84eee _dispatch_workloop_worker_thread
Frame 7: 0x7ff813d27fd0 _pthread_wqthread
Frame 8: 0x7ff813d26f57 start_wqthread

dup of https://github.com/flutter/flutter/issues/114872


Need flag to determine if session has behavior, has opto, has video

Right now on streamlit app, there is no way to determine if the session only has behavior, if it has photometry data also, if it has optogenetic stimulation, and if it has video data.
This information should be placed some place in the mongoDB database presumably, which will allow for easier querying afterwards.

For fip and video we are adding "modality" tags. I don't think we are adding this for the opto


Short bytes sequence

Consider the following code:
import sys

import bitstruct
import bpack
import bpack.bs

@bpack.bs.codec
@bpack.descriptor(baseunits='bits', byteorder='>')
class BinaryRecord:
    field_1: int = bpack.field(size=8, signed=False, default=0)
    field_2: int = bpack.field(size=8, signed=False, default=0)

print(f"Python version: {sys.version}")
print(f"bpack version: {bpack.__version__}")
print(f"bitstruct version: {bitstruct.__version__}")

print(f"\nRecord size: {bpack.calcsize(BinaryRecord)}")

for data in (b'\x02\x1a', b'\x02\x1c', b'\x02'):
    print(f"\nData has length: {len(data)}")
    record = BinaryRecord.frombytes(data)
    print(bpack.asdict(record))

Executing it on macOS, it raises a ValueError:
Python version: 3.10.5 (v3.10.5:f377153967, Jun  6 2022, 12:36:10) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
bpack version: 0.8.2
bitstruct version: 8.15.1

Record size: 16

Data has length: 2
{'field_1': 2, 'field_2': 26}

Data has length: 2
{'field_1': 2, 'field_2': 28}

Data has length: 1
Traceback (most recent call last):
  File "/Users/luca mariani/Documents/github.com/lmar76/my-python-repo/tests/test_bpack.py", line 23, in <module>
    record = BinaryRecord.frombytes(data)
  File "<string>", line 3, in frombytes
  File "/Users/luca mariani/Documents/github.com/lmar76/my-python-repo/venv/lib/python3.10/site-packages/bpack/codecs.py", line 236, in decode
    values = list(self._codec.unpack(data))
ValueError: Short data.

Executing it on Ubuntu, it raises a bitstruct.Error:
Python version: 3.10.8 (main, Oct 11 2022, 11:35:05) [GCC 11.2.0]
bpack version: 0.8.2
bitstruct version: 8.15.1

Record size: 16

Data has length: 2
{'field_1': 2, 'field_2': 26}

Data has length: 2
{'field_1': 2, 'field_2': 28}

Data has length: 1
Traceback (most recent call last):
  File "/home/ubuntu/Workspace/test_bpack.py", line 23, in <module>
    record = BinaryRecord.frombytes(data)
  File "<string>", line 3, in frombytes
  File "/home/ubuntu/Workspace/venv/lib/python3.10/site-packages/bpack/codecs.py", line 236, in decode
    values = list(self._codec.unpack(data))
  File "/home/ubuntu/Workspace/venv/lib/python3.10/site-packages/bitstruct/__init__.py", line 407, in unpack
    return self.unpack_from(data, allow_truncated=allow_truncated)
  File "/home/ubuntu/Workspace/venv/lib/python3.10/site-packages/bitstruct/__init__.py", line 428, in unpack_from
    return tuple([v[1] for v in self.unpack_from_any(
  File "/home/ubuntu/Workspace/venv/lib/python3.10/site-packages/bitstruct/__init__.py", line 428, in <listcomp>
    return tuple([v[1] for v in self.unpack_from_any(
  File "/home/ubuntu/Workspace/venv/lib/python3.10/site-packages/bitstruct/__init__.py", line 298, in unpack_from_any
    raise Error(
bitstruct.Error: unpack requires at least 16 bits to unpack (got 8)

Executing it on Windows, it raises a bitstruct.Error:
Python version: 3.10.8 | packaged by conda-forge | (main, Nov  4 2022, 13:42:51) [MSC v.1916 64 bit (AMD64)]
bpack version: 0.8.2
bitstruct version: 8.11.1

Record size: 16

Data has length: 2
{'field_1': 2, 'field_2': 26}

Data has length: 2
{'field_1': 2, 'field_2': 28}

Data has length: 1
Traceback (most recent call last):
  File "C:\Users\Administrator\test_bpack.py", line 23, in <module>
    record = BinaryRecord.frombytes(data)
  File "<string>", line 3, in frombytes
  File "C:\ProgramData\Anaconda3\envs\test_bpack\lib\site-packages\bpack\codecs.py", line 236, in decode
    values = list(self._codec.unpack(data))
  File "C:\ProgramData\Anaconda3\envs\test_bpack\lib\site-packages\bitstruct\__init__.py", line 400, in unpack
    return self.unpack_from(data)
  File "C:\ProgramData\Anaconda3\envs\test_bpack\lib\site-packages\bitstruct\__init__.py", line 421, in unpack_from
    return tuple([v[1] for v in self.unpack_from_any(data, offset)])
  File "C:\ProgramData\Anaconda3\envs\test_bpack\lib\site-packages\bitstruct\__init__.py", line 421, in <listcomp>
    return tuple([v[1] for v in self.unpack_from_any(data, offset)])
  File "C:\ProgramData\Anaconda3\envs\test_bpack\lib\site-packages\bitstruct\__init__.py", line 298, in unpack_from_any
    raise Error(
bitstruct.Error: unpack requires at least 16 bits to unpack (got 8)

Dear @lmar76, thanks for reporting.
I assume that the issue is different behaviour and the different exception type on different platforms.
After a short investigation it seems that the different behaviour is due to bitstruct.
On some platforms bitstruct can provide optional C extension to accelerate the computation.
Errors generated by the C extension can look different form the ones generated by the pure Python version of bitstruct.
To replicate the same behaviour on all platforms you could try to add
del bitstruct.c

just after the the last import in your script.
By the way I do not recommend to do it for 2 reasons:

it is a hack tat could have unknown side effects
you will loose the benefits of the C extension acceleration.

In conclusion I don't think that there is anything that I can do in bpack to improve the situation apart for providing a mechanism to disable the use of the bitstruct C extension.
If you think that you could need it please open a dedicated feature request issue (possibly referring to this issue).

Hi @lmar76, how should we proceed?
Do you need some change or can we close?


Fix initial bottom sheet height

According to the material design specs (https://material.google.com/components/bottom-sheets.html#bottom-sheets-specs)

The initial height of a bottom sheet is relative to the height of the list items (or grid rows) it contains. A bottom sheet should not initially have a height beyond its 16:9 ratio keyline, depending on how much content it contains. Bottom sheets may be swiped up to fill the height of the screen, with content that then scrolls internally.

I noticed that the default height was simply set to height / 3, so this change makes it consistent with the guidelines, by defaulting to the 16:9 keyline.
btw I'm not happy with the function name hasTallerKeylineHeightSheet :)

Changed

Thanks for contributing!


Assigning numbers via powershell

Adding in some details about assigning numbers via powershell.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@tonysmit PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@tonysmit PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@tonysmit PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Looks like there's some conflicts. I'm attempting to resolve now.

@scanum @tonysmit - conflicts resolved.

Learn Build status updates of commit 2fc4c47:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

Teams/manage-the-audio-conferencing-settings-for-my-organization-in-teams.md
:bulb:Suggestion

Details

Teams/manage-the-audio-conferencing-settings-for-my-organization-in-teams.md

Line 69, Column 9: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /powershell/module/teams/?view=teams-ps
Line 226, Column 56: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /powershell/module/teams/?view=teams-ps

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@CarolynRowe
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


[SQL] address comments for to_date/trunc

This PR address the comments in #7805
cc @rxin

Merged build triggered.

Merged build started.

Test build #39174 has started for   PR 7817 at commit ed1edc7.

Test build #39174 has finished for   PR 7817 at commit ed1edc7.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class MulticlassClassificationEvaluator (override val uid: String)
class NaiveBayes(JavaEstimator, HasFeaturesCol, HasLabelCol, HasPredictionCol):
class NaiveBayesModel(JavaModel):
class MulticlassClassificationEvaluator(JavaEvaluator, HasLabelCol, HasPredictionCol):

Merged build finished. Test FAILed.

LGTM

Merged build triggered.

Merged build started.

Test build #39179 has started for   PR 7817 at commit 31e52ef.

Test build #39179 has finished for   PR 7817 at commit 31e52ef.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class MulticlassClassificationEvaluator (override val uid: String)
class NaiveBayes(JavaEstimator, HasFeaturesCol, HasLabelCol, HasPredictionCol):
class NaiveBayesModel(JavaModel):
class MulticlassClassificationEvaluator(JavaEvaluator, HasLabelCol, HasPredictionCol):

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #39185 has started for   PR 7817 at commit cb7f783.

Test build #39185 has finished for   PR 7817 at commit cb7f783.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #1257 has started for   PR 7817 at commit cb7f783.

Test build #39229 has started for   PR 7817 at commit f729d5f.

Test build #1257 has finished for   PR 7817 at commit cb7f783.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class MulticlassClassificationEvaluator (override val uid: String)
class NaiveBayes(JavaEstimator, HasFeaturesCol, HasLabelCol, HasPredictionCol):
class NaiveBayesModel(JavaModel):
class MulticlassClassificationEvaluator(JavaEvaluator, HasLabelCol, HasPredictionCol):

Test build #39229 has finished for   PR 7817 at commit f729d5f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.


Traced Faster RCNN segfaults during forward in C++

🐛 Bug
When calling forward on Faster RCNN model from C++ (libtorch), the first forward call works fine, and the second forward call triggers a segfault.
To Reproduce
Steps to reproduce the behavior:

First convert Faster RCNN model to JIT. I used this script

import torch
import torchvision.models as M

class DetectionModel(torch.nn.Module):
    def __init__(self, model):
        super(DetectionModel, self).__init__()
        self.model = model

    def forward(self, x, bboxes = None, labels = None):
        # type: (Tensor, Optional[Tensor], Optional[Tensor]) -> Tuple[Dict[str, Tensor], List[Dict[str, Tensor]]]
        """
        Input format: one tensor of dimensions [batch size, channel count, width, height]
        """
        l_x = [x[i] for i in range(x.shape[0])]
        if self.training:
            assert bboxes is not None
            assert labels is not None
            l_targs = [{"boxes": bboxes[i], "labels": labels[i]} for i in range(x.shape[0])]
            losses, predictions = self.model(l_x, l_targs)
        else:
            losses, predictions = self.model(l_x)

        return losses, predictions

model = M.detection.fasterrcnn_resnet50_fpn()
detect_model = DetectionModel(model)
detect_model.train()
script_module = torch.jit.script(detect_model)

script_module.save("fasterrcnn.pt")

I had to change the input format because I could not find a way to create a Listc10::IValue from C++ (I asked on the forum but got no reply).
I also needed to make a slight change in torchvision for the scripted model to work in training mode. The change is described in this issue: https://github.com/pytorch/pytorch/issues/53015

Run it twice from C++

// minimal_fasterrcnn_fail.cc

#include <iostream>
#include <torch/script.h>
#include <torch/torch.h>

int main(int argc, char **argv) {
  std::string device = "cuda";

  torch::jit::script::Module jit_model = torch::jit::load("fasterrcnn.pt");
  jit_model.train();
  jit_model.to(device);

  std::vector<c10::IValue> inputs;
  inputs.push_back(torch::rand({1, 3, 224, 224}).cuda());
  inputs.push_back(torch::zeros({1, 1, 4}, torch::kLong).cuda());
  inputs.push_back(torch::full({1, 1}, 1, torch::kLong).cuda());
  inputs[1].toTensor()[0][0][2] = 200;
  inputs[1].toTensor()[0][0][3] = 200;

  std::cout << "first time works well: " << jit_model.forward(inputs)
            << std::endl;
  std::cout << "second time segfaults: " << jit_model.forward(inputs)
            << std::endl;
}

We have to link with Torchvison for the example to work (because we need the Faster RCNN operators), e.g. in CMake:
find_package(Torch REQUIRED)
find_package(TorchVision REQUIRED)

add_executable(fasterrcnn_segfault
    minimal_fasterrcnn_fail.cc
)
target_link_libraries(fasterrcnn_segfault "${TORCH_LIBRARIES}")
target_link_libraries(fasterrcnn_segfault -Wl,--no-as-needed TorchVision::TorchVision)

Output:
first time works well: [W faster_rcnn.py:95] Warning: RCNN always returns a (Losses, Detections) tuple in scripting (function )
({loss_classifier: 4.52815
[ CUDAFloatType{} ], loss_box_reg: 1.71533e-05
[ CUDAFloatType{} ], loss_objectness: 0.694499
[ CUDAFloatType{} ], loss_rpn_box_reg: 0.0215857
[ CUDAFloatType{} ]}, [])
second time segfaults: Segmentation fault (core dumped)

Expected behavior
No segfault
Environment
PyTorch version: 1.7.1
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: Ubuntu 18.04.5 LTS (x86_64)
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Clang version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
CMake version: version 3.18.4

Python version: 3.6 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration:
GPU 0: TITAN X (Pascal)
GPU 1: GeForce GTX 1080 Ti
GPU 2: GeForce GTX 1080 Ti

Nvidia driver version: 455.23.05
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.5
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.19.5
[pip3] torch==1.7.1
[pip3] torchfile==0.1.0
[pip3] torchvision==0.8.2
[pip3] torchviz==0.0.1

Update: I reproduced the bug in python only
import torch
import torchvision.models as M

model = M.detection.fasterrcnn_resnet50_fpn()
script_module = torch.jit.script(model)
script_module.train()
script_module.cuda()

out = script_module([torch.rand( 3, 224, 224).cuda()], [{"boxes": torch.Tensor([1, 1, 200, 200]).unsqueeze(0).cuda(), "labels": torch.full((1,), 1).long().cuda()}])
print(out)

# second time: segfault!
out = script_module([torch.rand( 3, 224, 224).cuda()], [{"boxes": torch.Tensor([1, 1, 200, 200]).unsqueeze(0).cuda(), "labels": torch.full((1,), 1).long().cuda()}])
print(out)

I think this bug only happens on cuda. At the second forward, the model is compiled to cuda kernel (?) and the segfault happens there.


Classname transformation

classname

lol-sick-component -> LolSickComponent
lol sick component -> LolSickComponent
lol_sick-component.dude -> LolSickComponentDude

Ultimately, I think you could find any non-A-Z character and replace it with nothing, and adjust the
character after it to be a capital.
const stringToClassName = string => {
  string = string.toLowerCase().replace(/[^A-Za-z0-9]/g, ' ').split(" ");
  string = string.map(word => word[0].toUpperCase() + word.substr(1, word.length));
  return string.join("");
}

const shortStringToClassName = string => string
  .toLowerCase()
  .replace(/[^A-Za-z0-9]/g, ' ')
  .split(" ")
  .map(word => word[0].toUpperCase() + word.substr(1, word.length))
  .join("");

console.log(stringToClassName('some-Test.dude'));
// SomeTestDude
console.log(shortStringToClassName('HEY/this|NEAT'));
// HeyThisNeat

This would solve having a component name: button-group, and with the uppercase transformation: Button-group, which is invalid as JS.

Thanks for the suggestion.
The transformer for this will be pascalcase and while I'm at it I will also implement a camelcase transfomer which will not capitalize the first letter.


Update further expiring certificates that affect tests [1.1.1]

Namely the smime certificates used in test_cms
will expire soon and affect tests.
Fixes #15179

Merged to 1.1.1 branch. Thank you for your reviews.


cluster.yml

Hello,
The Ansible Playbook  cluster.yml can not be thrown twice, otherwise the kubernetes cluster falls into error.
Regards,
Maxence

Fixed #78.


chore: jx-v2-testnode to 0.0.3

chore: Promote jx-v2-testnode to version 0.0.3

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Adding Fake FMC notes to FMC readme

Replaced by https://github.com/chipsalliance/caliptra-sw/pull/971


docs: move translations to i18n

Mirrors the work done in https://github.com/huggingface/transformers/pull/31584, issue was first raised initially at https://github.com/huggingface/transformers/issues/31542

Fine for me if transformers repo followed this "convention" (cc @stevhliu to confirm).
@SauravMaheshkar thanks for the PR. Could you update the README urls in each readme please? For now translated readmes are in /i18n but only urls in the main README.md has been updated.

Fixed the relative links in https://github.com/huggingface/huggingface_hub/pull/2566/commits/6e04f046a2321d9603f29110406ced13bada3168

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


make explicit the expectation that all outputs should have a memo

Making this a little clearer for the future by getting the memo key with expect. Related to #1395

This is still going to panic if the TransactionPlan is missing a memo. I think that's not a good behavior, because TransactionPlans might come in eg over the network, and it shouldn't be possible to DoS the custodian.


Debugger lost connection soon  after ~35 sec  after iPhone is locked meanwhile xcode doesn't kill even after 2 minutes

Steps to Reproduce

Run the app on iOS physical device in debug mode using Android Studio (probably starting the app in run mode is the same)
Lock iPhone
Observe "lost connection" log in Android studio after a minute or sooner

Comments
It's very hard to develop background processes of the app or test app behaviour when we return from background after some time if we are loosing connection to the device.

Possible Linked issues
https://github.com/flutter/flutter/issues/45470
Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.5 19F101, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 4.0)
[!] VS Code (version 1.47.3)
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

Hi @fralways
Can you upgrade to latest stable and try again
flutter channel stable
flutter upgrade --force
flutter doctor -v
if the problem persist after upgrade,  Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
Thank you

@fralways It's normal. iOS automatically kills the app after the device is locked.

@GioPan04 I disagree. I tested, in android studio debugger gets disconnected after ~35 sec but in xcode it didn't disconnect even after 2 minutes (didn't continue to stopwatch further).
Also, I would just like to correct you, the app surely doesn't get killed, that would be very bad. The debugger, or whatever connection dev environment has with the iOS, that is getting killed.

@TahaTesser You can start a new flutter project to test this, I don't need to provide any code sample. Unfortunately, I cannot upgrade to latest stable at the time being. Maybe some1 else could try that.

@fralways Google it.

Launching lib/main.dart on Taha’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: X8NNQ9CYL2
Running Xcode build...
Xcode build done.                                           15.7s
Installing and launching...
Waiting for Taha’s iPhone to report its views...
Debug service listening on ws://localhost:55139/ws
Syncing files to device Taha’s iPhone...
Lost connection to device.

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.20.1 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 2ae34518b8 (6 days ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (2 available)
    • SM M305F (mobile)      • 32003c30dc19668f          • android-arm64 • Android 10 (API 29)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios           • iOS 13.6

• No issues found!

flutter doctor -v
	[✓] Flutter (Channel master, 1.21.0-8.0.pre.176, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-8.0.pre.176 at /Users/tahatesser/Code/flutter_master
    • Framework revision d9637ed784 (5 hours ago), 2020-08-11 23:51:03 -0400
    • Engine revision 6381b1511b
    • Dart version 2.10.0 (build 2.10.0-11.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (4 available)
    • SM M305F (mobile)      • 32003c30dc19668f          • android-arm64  • Android 10 (API 29)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS 13.6
    • Web Server (web)       • web-server                • web-javascript • Flutter Tools
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 84.0.4147.125

• No issues found!

Happens also with Flutter 2.2.0.
In my case it was also ~35 sec.

ios-deploy could take a power-assertion while attached.

This issue is reproducible on the latest stable and master channels. It's 30 seconds on my side with iPhone 7, iOS 15.7.2.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.1, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.1 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7048ed95a5 (11 hours ago), 2023-02-01 09:07:31 -0800
    • Engine revision 800594f1f4
    • Dart version 2.19.1
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio Dolphin 2021.3.1.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio Dolphin 2021.3.1.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.74.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.7.2 19H218
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 109.0.5414.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.8.0-7.0.pre.23, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.8.0-7.0.pre.23 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6e7f580370 (6 minutes ago), 2023-02-08 12:37:24 +0800
    • Engine revision f310ffd146
    • Dart version 3.0.0 (build 3.0.0-204.0.dev)
    • DevTools version 2.21.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.75.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (4 available)
    • SM T225 (mobile)       • R9JT3004VRJ                          • android-arm64  • Android 13 (API 33)
    • iPhone 14 Pro (mobile) • AB2EBB55-6852-40A7-9A12-057128370920 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 110.0.5481.77

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Same for me. I've done a "workaround" by setting my iPhone's screen to never sleep and having the discipline not to lock it myself.


[WIP] deep black

Blacked all .py source files throughout the repository to reduce spurious merge artifacts.
From repository root, executed:
find src\. -name "*.py" -exec black {} \;

Holding in draft; waiting for additional repo movement to settle down.

@jhrehanoaa -- Please look at the Cython format standardization process here...

The need behind this PR is documented here: https://github.com/NOAA-OWP/t-route/issues/31 -- closing for future revisiting.
@kumdonoaa @awlostowski-noaa


🚨 [BUG] - Commit user-facing docs

What happened?
No response
Any suggestions for fixing this bug?
No response
Relevant log output
No response
Details about your environment
No response

Have added more docs, most recently https://github.com/facebookincubator/TTPForge/pull/443


Provide access to the app per workspace

Is your feature request related to a problem? Please describe.
How do I find the url to access my app in the different workspaces (without knowing how it is computed) ? With the production workspace, it is somehow available during the Approval process and when approved, I can navigate with the Experience Shell. In dev, I can copy / paste it in the terminal when running aio app deploy.
But in staging when deploy is managed by the CI/CD ? In the Github action output, the URL is partially obfuscated because it contains on of the secret (the runtime namespace) thus I need to compute it myself.
As a developer, you need to know how the url is constructed to compute it.
Describe the solution you'd like
In the Console, it could be as simple as adding a link on the workspace dashboard...!
In the cli, it might be given by a console command.
cc @meryllblanchet

Thanks for submitting this feature request @kptdobe !
@sarahxxu and I will follow-up on this one.


Fixed #32682 -- Made admin changelist use Exists() instead of distinct() for preventing duplicates.

ticket-32682
Thanks Zain Patel for the report.

@mzjp2 Can you confirm that it works for you?

This will not on MySQL :thinking: :disappointed:

@mzjp2 Can you confirm that it works for you?

I know this isn't helpful given your latest comment, but I can confirm your diff in this PR does indeed fix the issue (tested locally) for me :)

@felixxm if this is only an issue on MySQL we could adjust itsSQLUpdateCompiler and SQLDeleteCompiler to walk the expression tree replace sql.Query instances with RawSQL that wrap them in (SELECT col FROM (SELECT ...) as SUBQ1 in order to make them virtual tables. It's likely easier then trying to translate them into JOINs.

@charettes It looks that it's already handled by SQLUpdateCompiler and SQLDeleteCompiler but it's not called in this case because we have a single alias:
https://github.com/django/django/blob/4e5bbb6ef2287126badd32842b239f4a8a7394ca/django/db/models/sql/compiler.py#L1469-L1486

... and there is an issue only with SQLDeleteCompiler, SQLUpdateCompiler works fine.

but it's not called in this case because we have a single alias

Then the logic should be self.single_alias and not self.contains_self_reference_subquery where contains_self_reference_subquery needs to scan self.query.annotations and self.query.where for subqueries referring to the initial table?

Then the logic should be self.single_alias and not self.contains_self_reference_subquery where contains_self_reference_subquery needs to scan self.query.annotations and self.query.where for subqueries referring to the initial table?

Many thanks for tips :star2: I pushed updates.

buildbot, test on oracle.

@charettes Thanks for reviews :+1:

Kinda wish we'd rename lookup_needs_distinct to lookup_spawns_duplicates or something along these lines but this can be done off backports if needed with a proper deprecation period.

Yes we should change them and deprecate old names. I will prepare a separate patch later.

Otherwise the SQLDeleteCompiler changes look fine to me but we might want to test it in isolation with a separate commit?

Added.

buildbot, test on selenium.

@carltongibson Thanks for the review :+1: I pushed edits.

Hi Team,
can you guide me on how to remove the duplicate queries without using distinct() function?
Thanks,


replaced empty space with dash for bad authored keys

Removed empty spaces before/after keys and replaced empty space between words with dash if authoring is not correct

Codecov Report
Attention: Patch coverage is 33.33333% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 85.83%. Comparing base (238ea68) to head (2d95075).

Files
Patch %
Lines

eds/components/PartnerCards.js
0.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage      #12      +/-   ##
==========================================
- Coverage   86.23%   85.83%   -0.40%
==========================================
  Files           8        8
  Lines        2455     2457       +2
==========================================
- Hits         2117     2109       -8
- Misses        338      348      +10

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

@Ben-Zahler this is a fix for one edge case which Tijana found while testing the functionality, so we wanted to cover it as well.


Enhancement: better message when prompt_on_abort_commit

Additionally, no prompt will be made if the message is empty and the default
value of prompt_on_abort_commit is set as true

Should this also go to 2.17.4?

Yes, but I stil think the release can wait untill  mid August
https://github.com/divmain/GitSavvy/pull/969#issuecomment-404822829


aws-cli: dateutil <> Python version mismatch resulting syntax error

Building the following apko.yaml resulting in a dependency issue related with botocore or dateutil:
contents:
  keyring:
    - https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
  repositories:
    - https://packages.wolfi.dev/os
  packages:
    - ca-certificates-bundle
    - wolfi-baselayout
    - aws-cli

accounts:
  groups:
    - groupname: nonroot
      gid: 65532
  users:
    - username: nonroot
      uid: 65532
      gid: 65532
  run-as: 65532

entrypoint:
  command: aws

archs:
- x86_64
- aarch64

Traceback:
Traceback (most recent call last):
  File "/usr/bin/aws", line 19, in <module>
    import awscli.clidriver
  File "/usr/lib/python3.11/site-packages/awscli/clidriver.py", line 17, in <module>
    import botocore.session
  File "/usr/lib/python3.11/site-packages/botocore/session.py", line 26, in <module>
    import botocore.client
  File "/usr/lib/python3.11/site-packages/botocore/client.py", line 15, in <module>
    from botocore import waiter, xform_name
  File "/usr/lib/python3.11/site-packages/botocore/waiter.py", line 18, in <module>
    from botocore.docs.docstring import WaiterDocstring
  File "/usr/lib/python3.11/site-packages/botocore/docs/__init__.py", line 15, in <module>
    from botocore.docs.service import ServiceDocumenter
  File "/usr/lib/python3.11/site-packages/botocore/docs/service.py", line 13, in <module>
    from botocore.docs.bcdoc.restdoc import DocumentStructure
  File "/usr/lib/python3.11/site-packages/botocore/docs/bcdoc/restdoc.py", line 17, in <module>
    from botocore.compat import OrderedDict
  File "/usr/lib/python3.11/site-packages/botocore/compat.py", line 31, in <module>
    from dateutil.tz import tzlocal
  File "/usr/lib/python3.11/site-packages/dateutil/__init__.py", line 3, in <module>
    from ._version import version as __version__
  File "/usr/lib/python3.11/site-packages/dateutil/_version.py", line 3
    version_tuple = (2\,8\,2)
                       ^
SyntaxError: unexpected character after line continuation character

I have also tested by including all the dependencies here, but no luck. I think this is because of version mismatch between the dateutil module and the Python version I'm using. Any thoughts?

@kaniini do you understand what's going wrong here? Is it selecting the wrong Python?

dateutil sources appear to be broken.

dateutil sources appear to be broken.

Do you mean dateutil source is broken on the upstream repo or it's broken on wolfi/os py3-dateutil?


Add toggle for showing popular content on plex

Allows you to toggle the "Popular Shows/Movies On Plex" section on the content discovery pages.
By default it's enabled, a checkbox has been added to the bottom of the general settings to change the value. Alternatively changing the "plex_popular" boolean in the config file.

On startup it will check the current config.json to see if it has the "plex_popular" variable, if not it will add the variable with the default value (true)
Let me know if there are any mistakes, I'll admit I'm not too great with JS haha.

This looks fine to me, can you confirm its tested locally on your instance? If so I'll merge it into develop and test it myself, nice work!

Yeah, I've tested in on my own local instance. Working perfectly for me.


handle creation of multiple profiles and multiple clans

>>> single_profile = cr_py.Profile('Y99YRPYG')
<cr_py.core.Profile object at 0x103d822e8>

>>> multiple_profile = cr_py.Profile('Y99YRPYG,V22PV0J')
[<cr_py.core.Profile object at 0x1022974a8>, <cr_py.core.Profile object at 0x1021bd898>]

Nothing changed when you try to create a single profile, but when you try to pass multiple tags, will be create a list of Profile objects.
Same principle apply to cr_py.Clan()

I will test this tomorrow to make sure it works 👍

Doesn't work :(


Tests

Closes #12
Details

adds pytest to dev-dependencies
updates CONTRIBUTING.md with instructions on running tests
rename best.py to best_class.py to make it easier to import from the module
adds tests for the Best class using mocked answer data

idk much about github actions and pre-commit hooks so if somebody could help on the part it would be great

Nice! What do you need help with? I'm not an expert on precommit hooks or GitHub actions either, but maybe someone could help you out.

the github action I could do, but I dont really know the format for pre-commit hooks. the main thing is just running poetry run pytest and making sure it is a 0 as exit-code.

@vivax3794 do you have any progress on this?

It should be ready

It should be ready


Pick and Drop example

@Mizux you were planning an example for P& D for v7, is this the one:
ttps://github.com/google/or-tools/blob/master/examples/cpp/pdptw.cc
or is there another, with alternatives (multi P and multi D)?

Thx.
I have alternatives working, with a glitch. I might need some advice, later ...


/usr/bin/psl should only link to libpsl, not to any of the IDN libraries

currently, tools/psl gets built using the same LDFLAGS as libpsl.so.  This includes (e.g.) -licuuc and -licudata (from pkg-config from libicu).
However, psl shouldn't need that linkage, since it calls none of the symbols in (e.g.) libicu directly.
adjusting the build system to ensure that psl only links against libpsl would be better.

I am not aware of any difference on a GNU/Linux toolchain when linking dynamically - the linker should recognize it and handle it gracefully. What exactly is the problem ?
And with static linking, you'll need LDFLAGS.
What about environments like Windows ?

On Tue 2016-07-05 16:02:12 -0400, Tim Rühsen wrote:

I am not aware of any difference on a GNU/Linux toolchain when linking
dynamically - the linker should recognize it and handle it
gracefully. What exactly is the problem ?

sure, most linkers recognize it and handle it gracefully, but the
linkage is still spurious.  It also means that if a user installs a
version of libpsl that is linked to IDN library X, but /usr/bin/psl is
still linked to library Y, both libraries will be loaded into the
runtime process.

And with static linking, you'll need LDFLAGS.
What about environments like Windows ?

I didn't mean to get into static linking or Windows -- but when linking
statically, you're presumably already linking statically to a static
libpsl, which itself would already be statically linked, so again, the
explicit linkage to libicu is superfluous.
    --dkg

Basically we already do what it that way. There was just a bug when using libicu + pkg-config.
Fixed in 'develop' now.
BTW, it was the LIBS variable.
And a static library does not include all external references - these still have to be resolved by explicitly mentioning the needed libraries during the link step. Maybe libtool cares for that ? I am also not into static linking... these days were 20 years ago ;-)


Create Poolz.md

Grant Application Checklist

[x ] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC or Ethereum address for the payment of the milestones is provided inside the application.
[x ] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below USD $30k for initial grant applications and $100k for follow-up grants at the time of submission.
[x ] The initial PR contains only one commit (squash if needed before submitting your PR).
[x ] The grant will only be announced once we successfully delivered the first milestone.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the application. But our grants program only focuses on research projects and on the development of open source software, which is potentially useful for other projects in the ecosystem and doesn’t already exist. We don’t directly support the deployment of a project on a potential parachain, Kusama or Polkadot. Especially if it has its own token and isn’t a common good project. I’m therefore closing the application. Feel free to apply again with a project that focuses on the development of something new and potentially useful for other projects in our ecosystem.

Thanks for the application. But our grants program only focuses on research projects and on the development of open source software, which is potentially useful for other projects in the ecosystem and doesn’t already exist. We don’t directly support the deployment of a project on a potential parachain, Kusama or Polkadot. Especially if it has its own token and isn’t a common good project. I’m therefore closing the application. Feel free to apply again with a project that focuses on the development of something new and potentially useful for other projects in our ecosystem.


sprintfix: 接入点commit - server数据不正确问题

Codecov Report

Merging #1270 (5f9bba2) into V2.2.32-rc (fd34c04) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           V2.2.32-rc    #1270      +/-   ##
==============================================
- Coverage       73.37%   73.37%   -0.01%
==============================================
  Files             360      360
  Lines           24318    24318
==============================================
- Hits            17844    17843       -1
- Misses           6474     6475       +1

Impacted Files
Coverage Δ

apps/backend/subscription/steps/plugin.py
54.35% <0.00%> (-0.63%)
:arrow_down:

...nents/collections/agent_new/choose_access_point.py
95.37% <0.00%> (+0.46%)
:arrow_up:

apps/backend/plugin/tools.py
91.08% <0.00%> (+0.49%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Light replacer should tell you how it works + how many lights are in it

Description

right now, it neither tells you that you can insert lights into it, nor how many there are currently. Examine text would be nice.
Screenshots

Additional context

this got done


Open clock programmatically

Hi,
is there any way to programmatically open the clock (like $('#clock').open()) The only way I found is fire the click event on input:
clock.dispatchEvent(clcikEvent)

Yes, it can be done via public APIs:
$("#clock2").timeDropper({
	language: 'en',
	animation: 'fade',
	fetchTime: function() {
		return "10:10 AM";
	},
	setTime: function() {},
}).data('TDEx').show();

Thanks! :)


Move Table Of Contents button to the database instead of each page

The current toggle is too easy to misuse when it's available on each page. We should move it to the database.

The current toggle is too easy to misuse when it's available on each page. We should move it to the database.

@girba Re: misuse / What would be the correct usage?

For now it's available only in the inspector


Issues with receiver step

Hi. This is great work and I was trying to replicate the same for further use. However, after installing all the dependencies from 'requirements.txt', when I try to execute the server step: 'python3 -m gestop.receiver' , the operation stalls in Loading StaticNet and Dynamic Net and doesn't go any further. Is there an additional dependency I am missing? Some help would be awsome! Thanks in advance

Thanks for raising the issue. After loading the StaticNet and DynamicNet, the receiver is ready to be used, so you can move on to the next step and start the client. I've added a log statement to directly indicate that the receiver is ready to clear up any confusion.

Hey again. Thank you for your swift response and adding the log command. But that does not seem to be a problem on my side. The receiver won't move further after execution of server step. It just stalls in loading process. Do I have to load anything else additionally apart from the wiki requirements? The binding seem to not be working as your recently added log command still won't show up. Attaching screenshot for the step. Thanks again in advance!

Are you sure you have the latest master code? There is nothing happening after "Loading DynamicNet" and where "Receiver is ready" should come, other than initializing the socket.
The receiver isn't stalling, the only two things to load are the StaticNet and the DynamicNet. After that, the receiver is ready to be used, and you can go ahead and start the client with python -m gestop.keypoint_gen.hand_tracking

Hi. I was missing the xdotool and did clone the latest master. It works fine now! I apologize for the last reply but now with the user knowing that it is ready, the client can be started in a new window. Thank you and great work again :) I will close this now.


fix leading dot in fragment and types package name

Should fix #107.

Would it be possible to create a test to validate fix?

Dammit, we need to have a new SNAPSHOT before the added test passes. I guess I'll add it in a separate PR then.


pikpak support.

Hello, I test and it working very well,....
however when i add this bot into my group, after i forward to the bot, if anyway it will forward to the groups i add?
In the groups I also add "save to pikpak" which any link from the group will auto add into "Pikpak" cloud downloader.
if i manualy add link in the groups, it will auto fetch by pikpak_bot, now only find a way from Send-to-Telegram-Chrome-Extension_bot auto forward to the groups.

就是你这个bot 是浏览器转发到这个机器人，可不可以把这个机器人加人到abc群，以后浏览器转发到这个机器人就自动转发到这个abc群。
谢谢你


Problem while using AL_EFFECT_EQUALIZER

Version
3.3.1
Platform
Windows x64
JDK
openjdk-16.0.1
Module
OpenAL
Bug description
I'm trying to develop sound effects, but theres is this untraceable error while trying to use equalizer. I have tested every other effect  (if i just replace AL_EFFECT_EQUALIZER, to AL_EFFECT_ECHO or any other effect, the code works perfecly).
Minimal test:

public static void main(String[] args) {
        device = ALC10.alcOpenDevice((ByteBuffer)null);
        if(device == NULL){
            throw new IllegalStateException("Failed to open OpenAL device");
        }
        ALCCapabilities deviceCaps = ALC.createCapabilities(device);

        if(!ALC10.alcIsExtensionPresent(device, "ALC_EXT_EFX")){
            throw new IllegalStateException("Device has no EFX extension.");
        }

        long context = ALC10.alcCreateContext(device, (int[])null);
        ALC10.alcMakeContextCurrent(context);
        if(context == NULL){
            throw new IllegalStateException("Failed to open the OpenAL context.");
        }
        AL.createCapabilities(deviceCaps);

        //Request the available auxiliary sends
        int[] arr = new int[1];
        ALC10.alcGetIntegerv(device, EXTEfx.ALC_MAX_AUXILIARY_SENDS, arr);
        int maxAuxiliarySends = arr[0];

        System.out.println("Max Auxiliary Sends per source: "+maxAuxiliarySends);

        int source = AL10.alGenSources();
        int buffer = requestBuffer("tra"); //load buffer with stb_vorbis
        int auxEffSlot = EXTEfx.alGenAuxiliaryEffectSlots();
        int effect = EXTEfx.alGenEffects();
        //Set effect type
        EXTEfx.alEffecti(effect, EXTEfx.AL_EFFECT_TYPE, EXTEfx.AL_EFFECT_EQUALIZER); //<- change effect type
        //Attach the effect to the slot
        EXTEfx.alAuxiliaryEffectSloti(auxEffSlot, EXTEfx.AL_EFFECTSLOT_EFFECT, effect);
        //Attach the source to the the slot
        AL11.alSource3i(source, EXTEfx.AL_AUXILIARY_SEND_FILTER, auxEffSlot, 0, EXTEfx.AL_FILTER_NULL);
        //Attach the buffer to the source
        AL10.alSourcei(source, AL_BUFFER, buffer);

        AL10.alSourcePlay(source);
        int err = ALC10.alcGetError(device);
        if(err != ALC10.ALC_NO_ERROR){
            throw new Error("ALC ERROR: "+err);
        }
        while(alGetSourcei(source, AL_SOURCE_STATE) == AL_PLAYING){

        }
    }

Running with ALSOFT_LOGLEVEl=3 through the CMD I have the attached stacktrace data, it just cease to run and does nothing, no poping sound or error messages. Running through the IDE (netbeans) i have a exception I have no ideia and could'n find nothing substantial about it. The error code is always the same. alGetError() or alcGetError() never catch any problems.

    org.apache.commons.exec.ExecuteException: Process exited with an error: -1073741819 (Exit value: -1073741819)
    at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
    at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:982)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:929)
    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:457)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:567)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)

Stacktrace or crash log output
[ALSOFT] (II) Initializing library v1.21.1-2290817 master
[ALSOFT] (II) Supported backends: wasapi, dsound, winmm, null, wave
[ALSOFT] (II) Loading config ...\alsoft.ini...
[ALSOFT] (II) Got binary: ...\jdk-16.0.1\bin, java.exe
[ALSOFT] (II) Loading config ...\jdk-16.0.1\bin\alsoft.ini...
[ALSOFT] (II) Key disable-cpu-exts not found
[ALSOFT] (II) Vendor ID: "AuthenticAMD"
[ALSOFT] (II) Name: "AMD Phenom(tm) II X6 1100T Processor"
[ALSOFT] (II) Extensions: +SSE +SSE2 +SSE3 -SSE4.1
[ALSOFT] (II) Key rt-prio not found
[ALSOFT] (II) Key resampler not found
[ALSOFT] (II) Key trap-al-error not found
[ALSOFT] (II) Key trap-alc-error not found
[ALSOFT] (II) Key reverb/boost not found
[ALSOFT] (II) Key drivers not found
[ALSOFT] (II) Starting message thread
[ALSOFT] (II) Message thread initialization complete
[ALSOFT] (II) Starting message loop
[ALSOFT] (II) Initialized backend "wasapi"
[ALSOFT] (II) Added "wasapi" for playback
[ALSOFT] (II) Added "wasapi" for capture
[ALSOFT] (II) Key excludefx not found
[ALSOFT] (II) Key default-reverb not found
[ALSOFT] (II) Got message "Open Device" (0x0000, this=000002217893D728)
[ALSOFT] (II) Key channels not found
[ALSOFT] (II) Key sample-type not found
[ALSOFT] (II) Key frequency not found
[ALSOFT] (II) Key period_size not found
[ALSOFT] (II) Key periods not found
[ALSOFT] (II) Key sources not found
[ALSOFT] (II) Key slots not found
[ALSOFT] (II) Key sends not found
[ALSOFT] (II) Key ambi-format not found
[ALSOFT] (II) Created device<PHONE_NUMBER>7D7B20, "OpenAL Soft on Headphones (High Definition Audio Device)"
[ALSOFT] (II) Key hrtf not found
[ALSOFT] (II) Pre-reset: Stereo, Float32, 44100hz, 882 / 2646 buffer
[ALSOFT] (II) Got message "Reset Device" (0x0001, this=000002217893D728)
[ALSOFT] (II) Requesting playback format:
    FormatTag      = 0xfffe
    Channels       = 2
    SamplesPerSec  = 48000
    AvgBytesPerSec = 384000
    BlockAlign     = 8
    BitsPerSample  = 32
    Size           = 22
    Samples        = 32
    ChannelMask    = 0x3
    SubFormat      = {00000003-0000-0010-8000-00aa00389b71}
[ALSOFT] (II) Post-reset: Stereo, Float32, 48000hz, 960 / 2880 buffer
[ALSOFT] (II) Key stereo-mode not found
[ALSOFT] (II) Key hrtf-paths not found
[ALSOFT] (II) Searching ...\target\*.mhr
[ALSOFT] (II) Searching ...\Roaming\openal\hrtf\*.mhr
[ALSOFT] (II) Searching ...\openal\hrtf\*.mhr
[ALSOFT] (II) Adding built-in entry "!1_Built-In HRTF"
[ALSOFT] (II) Key default-hrtf not found
[ALSOFT] (II) Loading !1_Built-In HRTF...
[ALSOFT] (II) Detected data set format v3
[ALSOFT] (II) Resampling HRTF Built-In HRTF (44100hz -> 48000hz)
[ALSOFT] (II) Loaded HRTF Built-In HRTF for sample rate 48000hz, 35-sample filter
[ALSOFT] (II) Key hrtf-size not found
[ALSOFT] (II) Key hrtf-mode not found
[ALSOFT] (II) 1st order + Full HRTF rendering enabled, using "Built-In HRTF"
[ALSOFT] (II) Channel config, Main: 4, Real: 2
[ALSOFT] (II) Allocating 6 channels, 24576 bytes
[ALSOFT] (II) Skipped delay: 8.00, new max delay: 24.75, FIR length: 60
[ALSOFT] (II) Key decoder/nfc not found
[ALSOFT] (II) Max sources: 256 (255 + 1), effect slots: 64, sends: 2
[ALSOFT] (II) Key dither not found
[ALSOFT] (II) Key dither-depth not found
[ALSOFT] (II) Dithering disabled
[ALSOFT] (II) Key output-limiter not found
[ALSOFT] (II) Output limiter disabled
[ALSOFT] (II) Fixed device latency: 5333333ns
[ALSOFT] (II) Got message "Start Device" (0x0002, this=000002217893D728)
[ALSOFT] (II) Increasing allocated voices to 256
[ALSOFT] (II) Key volume-adjust not found
[ALSOFT] (II) Created context<PHONE_NUMBER>7F75E0
Max Auxiliary Sends per source: 2
21216431 1 44100

Hey @noryon,
It's a bug in OpenAL Soft, fixed 2 days ago: https://github.com/kcat/openal-soft/issues/738. The next 3.3.2 snapshot will include the fix.

Thank you! @Spasi
I did search on the openal issues but did'nt found anything related. All good.
Should I


add view-taints plugin

A basic plugin for displaying the taints on nodes.
Checklist for plugin developers:

[x] Read the Plugin Naming Guide (for new plugins)
[x] Verify the installation from URL or a local archive works (kubectl krew install --manifest=[...] --archive=[...])

Installation is failing at the moment. See travis check.
Also can you link to the script in your repo? I can’t seem to find the .sh in your repo.

Installation is failing at the moment. See travis check.
Also can you link to the script in your repo? I can’t seem to find the .sh in your repo.

Just added the script to the repo, it was under release earlier.
https://github.com/saniazara01/kubectl-view-taints/blob/master/view-taints.sh

And regarding the travis failure, I uploaded file to repo after I pushed the yaml here so I think it couldn't find the tar then. :(

Regardless, you have to fix that. :)
I am not sure if this plugin adds a real value* so we might hold off on this until we establish some guidelines. You're not supposed to do releases without code available.
*: it's a very simple bash script that calls into kubectl.

No problem, happy to host other plugins you'd write!


[Enhancement] Invert filter if possible

Not sure if possible but  currently filter deletes only what you select,, would it be possible to have the other way around as well like keep what is selected so i i select images it deletes all except images.. if its possibel could make a button that inverts that filter and makes them save instead of delete?

Sorry, I don't have plans to implement this now, because it's not a common use case and it's not simple to create a reliable implementation. But I'm willing to accept a Pull request if someone submit a reliable algorithm.


Multiple Networks Support

[ ] Add a well-known folder per platform where user can drop networks config files. Ship smapp with one or more network config files so the app works out of the box with one or more networks but user can add more.
[ ] Add a notion of network id per wallet. Each wallet should be working with only 1 network. User should be able to easily move wallets between networks via settings or by editing the wallet file. The network id should not be encrypted in the file. We want to discourage accidental use of wallets on arbitrary network but still enable advanced users to port wallets between networks if they know what they are doing.
[ ] When creating a new wallet, app displays all available networks - these are networks that it has found a config file for in the config files dir. User needs to specify to which network he wants the wallet for. The app associates the wallet with the network.
[ ] When app presents a public api option for the user to connect to in wallet-only mode, display the network id this api provides. App will ship with public api for open testnet.
[ ] We still want to have only 1 full node per app distro for now. In the future we may want to add an option to use a different node binary for different networks. More thought and discussion needed on this....

Note that we scaled down the discovery service to only return 1 network at a time - this will be the open testnet meta-data. So supporting multiple networks in same instance of smapp is not required for 0.3.


Does this work with torch 2.0.0 ?

🐛 Bug
Pytorch 2.0.0 is out for some time now.
Running $pip install lightning-colossalai automatically downgrades torch to 1.13.1 and breaks everything
Environment

PyTorch Version: 2.0.1
OS: linux
How you installed PyTorch: docker image - pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel
Python version: 3.10.11
CUDA/cuDNN version: NVIDIA-SMI 525.105.17   Driver Version: 525.105.17   CUDA Version: 12.0
GPU models and configuration: a2000 and 3060

I do not see any constraints on this integration or the main repo side...
Could it come from the CollosalAi package?


BROKERS: Get AI Model By Id

Closes #290

LGTML

Holding off on this until the issue documentation is updated properly


[Scala] add scala singleton object serializer

What do these changes do?
This PR optimizes scala object serialization be special serializer. To avoid scala check overhead, this PPR introduce a withScalaOptimization option which is disabled by default. When this option is enabled, io.fury.serializer.scala.SingletonObjectSerializer will be used for singleton object  serialization.
The SingletonObjectSerializer is put into java source code since the implementation is simple.
Complex scala integration will be put into fury/scala directory instead.

Related issue number

Closes #764
Check code requirements

[ ] tests added / passed (if needed)
[ ] Ensure all linting tests pass, see here for how to run them

Hi @pjfanning , I implemented a SingletonObjectSerializer for scala object, would you like to help review it?

@chaokunyang I'm travelling at the moment. It's up to you but I'd recommend not adding this PR until it is possible to write automated Scala tests. I'm not volunteering to that - I'm very busy with other open source work.

@chaokunyang I'm travelling at the moment. It's up to you but I'd recommend not adding this PR until it is possible to write automated Scala tests. I'm not volunteering to that - I'm very busy with other open source work.

I see, thanks. I'll hold this PR and try to setup a scala ci first.

Added scala tests in https://github.com/alipay/fury/pull/1054


Google Colab: Pip Install Error

Installing build dependencies ... done
Getting requirements to build wheel ... done
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I have resolved this issue in the linked PR.


Disbanding a squad.

Disband squad.
When clicking on disband squad, no action happend.

I just tried and it worked 👇 I don't see any bug in here 😄

@CptEagle if you can confirm it, please close the ticket :)

I've tested this in my own server and works just fine.


Stat page not showing streams on reload

Stat page works great if i go in this order:

Stop Nginx
Start Nginx
Send Stream

But if i reload nginx nginx -s reload stat page does not show any stat (streams are still connected)  for new or old streams.
Using nginx 1.9 with latest nginx-rtmp-module. TY for your time

It is known: https://groups.google.com/forum/#!topic/nginx-rtmp/BKL0hhUdOl4
And it's probably not an issue at all.

And this issue connected with #637


Adding Morphological Dilation and Erosion Algorithms

Description
Morphological Dilation and Erosion algorithms implemented (for grayscale images).
This PR is also meant to be my solution for the competency test for GSoC 2020.
Dilation/Erosion process is performed by laying the structuring element H on the image I and sliding it across the image in a manner similar to convolution.

Morphological Dilation - The grayscale morphological dilation formula is written as follows :
[𝐼⊕𝐻](𝑢,𝑣)=max(𝑖,𝑗)∈𝐻{𝐼(𝑢−𝑖,𝑣−𝑗)+𝐻(𝑖,𝑗)}
Morphological Erosion - The grayscale morphological erosion formula is written as follows :
[𝐼⊕𝐻](𝑢,𝑣)=min(𝑖,𝑗)∈𝐻{𝐼(𝑢−𝑖,𝑣−𝑗)+𝐻(𝑖,𝑗)}

References

https://lists.boost.org/Archives/boost/2020/01/248134.php thread with initial discussion
https://en.wikipedia.org/wiki/Dilation_(morphology)#Grayscale_dilation
https://en.wikipedia.org/wiki/Erosion_(morphology)

Further development during GSoC 2020

Documentation
KernelConcept or similar which partially satisfies the requirements of SequenceContainer
Final review, approval and merge of this PR

Tasklist

[x] Add basic test case(s)
[x] Add more advanced test case(s)
[x] Ensure all CI builds pass
[ ] Review and approve

Updates -

Resolved all the trivial coding issues.
Added a test for erosion and Dilation. (Will add more tests in the meanwhile, marked as TODO).
Removed .png files.
Also, I modified morphology.hpp to better handle the corner cases.

TODOs -

[ ] Add more tests.

@ayushbansal07

Updates -
...

This is looking good. Thanks for your efforts to improve this. I'll get another look and review near Wednesday.

TODOs -
...

I've taken the liberty and added those as the PR tasklist which you can also edit.

Another thing, you mentioned on the Boost mailing list you will be proposing those algorithms as part of your competency test. If you are working on this PR as the competency test, please update the description to make it clear this is your solution for the GSoC 2020 competency test.
Since working on PR may involve much more effort than working just on C++ code of the competency test solution, you are not expected to finish-polish the PR in order to count it for a completed competency test solution. In other words, your PR does not have to be approved and merged to consider the test completed. For the competency test, the gist of C++ code is most important.
Although you can postpone addressing further reviews and completion of this PR for later (e.g. during GSoC), you are very welcome to continue working on to make it ready for merging. It's your call.
/cc @stefanseefeld unless he does not agree and would like to clear my explanation.

@mloskot

please update the description to make it clear this is your solution for the GSoC 2020 competency test.

I have updated the description.
I'd be happy to continue working on this and want to try my best to get it to merge before submitting my GSoC Proposal :)

@mloskot
I have fixed the mentioned nitpicks.

Here you can see comparison of various pixel iteration methods available in GIL
Thank you for this interesting comparison. If you don't mind me asking, I wanted to know, just of out curiosity, what could be the reason behind such huge run time of 2d_y_iterator. Is it because the each iteration would result in a cache miss?

@ayushbansal07

what could be the reason behind such huge run time of 2d_y_iterator.
Is it because each iteration would result in a cache miss?

Yes. I recommend to watch the original video lecture about GIL presented by Lubomir Bourdev
which is hosted on YouTube and linked from the documentation here https://boostorg.github.io/gil/html/tutorial/video.html
The Y-iterator and cache issue starts from around 8:00.

@mloskot
I have added advanced test cases too. Please let me know further steps to complete this PR :-)

Would it be okay if I did the documentation part later (during GSoC time)? I was asking this because I was planning to implement a separate class for Structuring Element as first step of my GSOC project and some of those corner cases, etc. would depend on the design of Structuring Element class. So, I was wondering if all of that could be done together afterwards.

Would it be okay if I did the documentation part later (during GSoC time)?
(...)
So, I was wondering if all of that could be done together afterwards.

Yes, certainly. That's what I also suggested in https://github.com/boostorg/gil/pull/430#issuecomment-581576130
I think, your PR is completed from the competency test stand point, but to get it merged it will need that extra bit of work during the GSoC. So, let's keep it open as work in progress for now.
/cc @stefanseefeld

@mloskot Really sorry for the late response. I was a little busy with my semester exams. I have made the required changes :)

@ayushbansal07

Really sorry for the late response.

There is no need to be sorry. It's your PR, so you work on it at your own pace.

I have made the required changes :)

Please, hit the Resolve conversation button for each item you address or add comment explaining a thing is not addressed. This helps to keep completed review iterations cleared.

@mloskot I have made relevant changes to make sure that the Cl builds and has minimal warnings.
Also, FYI, I have checked Add more advanced test case(s) and Ensure all CI builds pass in the task list.

@ayushbansal07 in https://github.com/boostorg/gil/pull/430#issuecomment-581594149

I'd be happy to continue working on this and want to try my best to get it to merge before submitting my GSoC Proposal

Thank you for the very good job you've done. I consider it as more than complete for your competency test.
Although the PR is very close to be approved and merged, we are not in rush
and I'd prefer to defer merging. I also mentioned it in https://github.com/boostorg/gil/pull/430#pullrequestreview-353384484
My reasoning is to :

give myself a bit more time to try your code out in action (I have only read-only reviewed it).
give other active/interested developers and users a chance to have a look and comment (/cc @stefanseefeld, @lpranam, @simmplecoder, @miralshah365, @chhenning).
leave it for you, in case you are approved as student, as an easy first task to completed as part of your GSoC work (an early success is an important element of GSoC :-))

Regardless if you will participate during GSoC or not, since this PR is pretty much completed, I'm fairly sure your contribution will be merged eventually.

@mloskot
Thank you for your reviews. I too agree to defer the merging mostly because of the last reason that you mentioned :)
Also, if it is not much of a trouble for you, feel free to mention me in any discussion that might potentially help me understand more about GIL.
Thank you again! :)

@ayushbansal07

please feel free to mention me in any discussion that might potentially help me understand more about GIL

Sure, but nothing immediately comes to mind. Feel free to browse the issues, check the good first issue list.
For understanding GIL, I highly recommend getting familiar with these topics from GIL docs:

The video lecture
The three tutorials
These from the design guide:

Channel
Color Space and Layout
Color Base
Pixel
Pixel Iterator
Pixel Locator
Image View
Image

These are essential parts to understand to be comfortable with using GIL.
If anything needs clarifying, don't hesitate to ask questions on the boost-gil list.
If you think anything is missing or wrong, please, open new issue.
This should make a busy GSoC preparation for next days :)

This is being replaced with more feature-complete morphological operations implementation in #541
Thanks @ayushbansal07 for your work here.

This is being replaced with more feature-complete morphological operations implementation in #541
Thanks @ayushbansal07 for your work here.