Japanese verb conjugation

Create the function:
A conjugation method which doesn't rely on any database. Even if the results are not 100% relevant. It can have a little table or something for irregular verbs.
Check JapKatsuyou project:
https://github.com/anqafalak/japkatsuyou

Japanese verbs can be divided into 3 groups:

Godan: which ends with ～う (u), ～つ (tsu), ～る (ru), ～く (ku), ～ぐ (gu), ～ぶ (bu), ～む (mu), ～す (su)
Ichidan: which ends with (i or e)る (iru, eru)

The problem, how to differentiate Godan from ichidan when the verb ends with ru and the char just before is a kanji?
I used the database of JapKatsuyou to extract the godan verbs with ru ending

I had 2974 verbs :-1:

So, minimizing this list is a must:

delete compounds (example; with ni, wo)
delete verbs where the char before the last is hiragana

From 2974 reduced to 436 (proud of you Me)
For another time inshallah, before I forget:

delete the trailing (ru) and save a big list of kanjis
The list is like:

var v5ru = { "握": 1, "異": 1, "移": 1, ... }

Add a function to detect type
If the verb ends with "ru" and the char before is a kanji, test if it belongs to this list:

var before = verb.charAt(verb.length - 2);
if (v5ru(before)) {
  //It is Godan
}


Remove dependency on SPIRE library for backend

Currently, the number of imports required for building the backend is very high because we parse the SPIRE config using SPIRE functions and types. This is important for frontend to display the information on the SPIRE server.
It would be beneficial to the backend build process to remove those dependencies by removing the SPIRE dependency.
This is complicated because the config type of SPIRE is only available in the SPIRE codebase. We do not want redundancy introduced in the code.

#348 partially addresses this, but the backend is still reliant on SPIRE's catalog library. This would be difficult to remove, and it is unclear if this should be removed.


contracts: Don't put unstable functions in special module

When we introduced the unstable interfaces feature we decided to put those features into a special module called __unstable__. This turned out to be a mistake: Whenever we eventually device to stabilize a function we generate a breaking change where a newer pallet-contractsversion gets incompatible with an older ink!.
This is a big no go for stable functions but is allowed for unstable functions. That said, changing the module on stabilization is just a unnecessary form of breakage. Most of the time functions are stabilized as is.
This PR changes the behavior to to make version and instability orthogonal. The way we want to use this it to put functions into the module in which they are eventually stabilized (if they are).

Also, we'll certainly need to make a follow-up to ink! for this PR.

Yes. But only for the take_storage API I think. The other stuff is not yet implemented in ink! anyways.


return correct string representation for JSON.stringify

When using JSON.stringify on an ObjectId (or data containing ObjectIds), the ObjectId is serialized to a huge Buffer array. Implementing toJSON() fixes this.

Not sure how this fell through the cracks. Happy to merge this. Are any of you still using mongolian or buffalo? @rashfael @RanHamada @muddydixon @pennyfx

Not using mongolian or buffalo anymore.


Some switch are not visible in the list of radiators

A switch created by this template is not visible in the list of switch
- platform: template
  switches:
    pilote_sdb_rdc:
        friendly_name: "Pilote chauffage SDB RDC"
        value_template: "{{ is_state_attr('switch_seche_serviettes_sdb_rdc', 'sensor_state', 'on') }}"
        turn_on:
          service: select.select_option
          data:
            option: comfort
          target:
            entity_id: select.seche_serviettes_sdb_rdc_cable_outlet_mode

        turn_off:
          service: select.select_option
          data:
            option: comfort-2
          target:
            entity_id: select.seche_serviettes_sdb_rdc_cable_outlet_mode

Bug confirmed

Usage of native selector fixe the problem and allow auto-completion of entities names.


fix(infiniteGrid): fix restore/store bug

Details
When using setStatus getGroupKeys method always returns []
because setStatus method didn't manage _isLayoutInited property.
Reference
#11
Preferred reviewer
@taihoon-kim  @happyhj

LGTM!

:metal:


container created by autosetup.py script doesn't join the zerotier of the nodes

Scenario

create orchestrator container using autosetup.py script
put in options --zt-net , --nodes-zt-net different zerotier networks

the problem
ays couldn't connect to the nodes because the container joined only the zerotier in option --zt-net

Lets also add an optional parameter for the zerotier token of the zt-net, so that if available, the script can allow the container into the zt-net network.

The two networks handling is implemented, I implement now a way to auto-allow nodes if zerotier token is provided

Fully implemented on 3a8178f5e28dc245470460cf7de1629bd2af8435


Feature: Set 'to' argument automatically if the from argument matches a directory path

(after being appended to the stubs folder path, if applicable (see #1))
This would also add a config option (or something of that sort) to set a context directory.
E.g.
Stubs folder (#1) set to stubs
Context or app folder set to src
When given:
Stub::from('Support/Strings')
->name('kebab')
->ext('php')
->generate();

Stubborn would copy the contents of the file at stubs/Support/Strings to the location src/Support/Strings/kebab.php.
Might be ideal to make ->ext redundant by naming the stub file with the extension (i.e. stubs/Support/Strings.php).

Added in 6f3f86c550276e9ab8d39f260e77a0f1ddacff93.


Failed assertion: line 4774 pos 14: '_dependents.isEmpty': is not true.

With the latest update every time that I ran my app and I try to login..(My input box field changes color when it is active). it is giving me this error:
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4774 pos 14: '_dependents.isEmpty': is not true.
The relevant error-causing widget was
MaterialApp
lib/main.dart:37

Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Xcode build done.                                           51.8s
flutter: Julia Gordon
flutter: [Instance of 'RoleModel', Instance of 'RoleModel', Instance of 'RoleModel']
flutter: _focusNode_0 Has focus: true
flutter: isFocused_t0 is: true
flutter: _focusNode_1 Has focus: true
flutter: isFocused_t1 is: true
flutter: _focusNode_0 Has focus: false
flutter: isFocused_t0 is: false

════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building InputDecorator(decoration: InputDecoration(labelText: "Email", hintText: "Your Email", hintMaxLines: "1", contentPadding: EdgeInsets.all(20.0), suffixIcon: Icon(IconData(U+0E0BE), color: Color(0xff8db0ff)), fillColor: Color(0xff1a60fe), border: _NoInputBorder(), alignLabelWithHint: false), baseStyle: TextStyle(inherit: true, color: Color(0xdd000000)), isFocused: false, isEmpty: false, dependencies: [_InheritedTheme, _LocalizationsScope-[GlobalKey#41b85], Directionality, MediaQuery], state: _InputDecoratorState#cc993(tickers: tracking 2 tickers)):
'package:flutter/src/services/text_input.dart': Failed assertion: line 846 pos 12: 'attached': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

he relevant error-causing widget was
    TextFormField
lib/…/login/login.dart:97
When the exception was thrown, this was the stack
#2      TextInputConnection.setStyle
package:flutter/…/services/text_input.dart:846
#3      EditableTextState.didUpdateWidget
package:flutter/…/widgets/editable_text.dart:1175
#4      StatefulElement.update
package:flutter/…/widgets/framework.dart:4469
#5      Element.updateChild
package:flutter/…/widgets/framework.dart:3052
#6      SingleChildRenderObjectElement.update
package:flutter/…/widgets/framework.dart:5525
...
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4774 pos 14: '_dependents.isEmpty': is not true.
The relevant error-causing widget was
    MaterialApp
lib/main.dart:37
════════════════════════════════════════════════════════════════════════════════

PS /Users/ac/Downloads/appnow-myapp_app-abcc98b85f40 2> flutter doctor -v
Downloading android-arm-profile/darwin-x64 tools...                 1.5s
Downloading android-arm-release/darwin-x64 tools...                 1.0s
Downloading android-arm64-profile/darwin-x64 tools...               1.1s
Downloading android-arm64-release/darwin-x64 tools...               1.0s
Downloading android-x64-profile/darwin-x64 tools...                 1.1s
Downloading android-x64-release/darwin-x64 tools...                 1.0s
[✓] Flutter (Channel beta, v1.13.6, on Mac OS X 10.15.2 19C57, locale en-US)
    • Flutter version 1.13.6 at /Users/ac/Documents/www/flutter
    • Framework revision 659dc8129d (3 weeks ago), 2019-12-30 09:24:47 -0800
    • Engine revision bdc9708d23
    • Dart version 2.8.0 (build 2.8.0-dev.0.0 c547f5d933)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/ac/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 36.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.1.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 38.1.3
    • Dart plugin version 191.8348

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

[✓] VS Code (version 1.37.0)
    • VS Code at /Users/ac/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

[✓] Connected device (3 available)
    • iPhone 11 Pro Max • 40FD77D8-9028-4169-A926-8C3AB371A3E3 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)
    • Chrome            • chrome                               • web-javascript • Google Chrome
      79.0.3945.117
    • Web Server        • web-server                           • web-javascript • Flutter Tools

• No issues found!

PS /Users/ac/Downloads/appnow-myapp_app-abcc98b85f40 2> flutter run --verbose
[  +22 ms] executing: [/Users/ac/Documents/www/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +30 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 659dc8129d4edb9166e9a0d600439d135740933f
[        ] executing: [/Users/ac/Documents/www/flutter/] git describe --match v*.*.* --first-parent --long
--tags
[   +7 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.13.6-0-g659dc8129
[   +7 ms] executing: [/Users/ac/Documents/www/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/Users/ac/Documents/www/flutter/] git ls-remote --get-url origin
[   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +43 ms] executing: [/Users/ac/Documents/www/flutter/] git rev-parse --abbrev-ref HEAD
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[   +4 ms] executing: sw_vers -productName
[  +15 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +11 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.2
[        ] executing: sw_vers -buildVersion
[  +12 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19C57
[  +21 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +26 ms] executing: /Users/ac/Library/Android/sdk/platform-tools/adb devices -l
[   +5 ms] Exit code 0 from: /Users/ac/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
[  +12 ms] executing: /Users/ac/Documents/www/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[  +46 ms] executing: /usr/bin/xcode-select --print-path
[   +5 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[        ] executing: /usr/bin/xcodebuild -version
[ +247 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +1 ms] Xcode 11.3.1
           Build version 11C504
[   +2 ms] /usr/bin/xcrun simctl list --json devices
[ +119 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +42 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +46 ms] No supported devices connected.
[   +8 ms] "flutter run" took 644ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:328:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:607:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:522:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:512:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:333:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#19     FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:284:19)
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:227:18)
#24     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:62:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:51:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main (file:///Users/ac/Documents/www/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

Hi @abcnow
Are you still experiencing this issue with latest stable?
if yes, can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample without using third party packages
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


The external display works only after physical reconnection

I have a problem on the t480, the display does not want to work during cold boot and exit from sleep. You have to constantly plug the display in HDMI after loading or sleeping. Is there a way to fix this? Need to change frames or add some GPU properties? I'm not a hackintosh expert, but I'm just here to help and make this one configuration is better.

i was also getting same erro on the ventura


The default maxResult value given wrongly in docs

In our environment we have noticed the default value is 250

@kurianbenoy-aot
Thanks a lot! You are indeed right - the default is 250 and our documentation is wrong. Will correct that immediately.

Done.

Thanks @VonDerBeck


Documentation Error in README.md

Last line of the readme, in usage examples. Currently reads:
// convert canvas to png
var png = ReImg.fromSvg(document.getElementByID('canvasId')).toPng();
Should be changed to:
ReImg.fromCanvas(document.getElementByID('canvasId')).toPng();

There's still an error here. ID should be Id, not all caps. It's getElementById, not getElementByID as written in the readme.

damn! you're right! thanks a lot for pointing that out :)


Avoid SyntaxError on Python 2.4

This happens when using under Python-2.4, CentOS5's official version:
File "/usr/lib/python2.4/site-packages/pycassa/types.py", line 120
scale = 1e6 if use_micros else 1e3

Thanks!


Be able to configure preferences / settings / flags via UI

Is your feature request related to a problem? Please describe.
We get more and more feature requests on extensibility / configurability that boil down to one thing: Users want to configure their app in an intuitive manner, and understand how external configuration (flags, element templates) is sourced.
They can already configure via flags, externally provided element templates and config.json, but that is not intuitive; hard to discover.
Describe the solution you'd like
A settings page allows users to configure their app. That page links to documentation + important file system locations (i.e. global element template folders).
Describe alternatives you've considered
Stick to our "no configuration" paradigm.
Additional context
Came up in the context of https://github.com/camunda/camunda-modeler/issues/2527

Valid requirement. Moving to backlog.

Related request: Link to place to configure Element Templates from within the application.

How it looks like in Windows Terminal:

@christian-konrad I like everything about this including "open JSON file". :+1:

Moving to ready for discussion. We want to take a very first stab at this, and make editing of custom SSL certificates easier available through the visual UI. Cf. https://github.com/camunda/camunda-modeler/issues/3467.

I took another look into this issue and believe we have the following things to address:

[ ] Sourcing settings ("config") for selected extensions
[ ] Settings vs. flags, who wins? :arrow_right: I propose flags overrule settings, but we indicate if there is an override happening
[ ] Settings UI (optional for first iteration)

[ ] Consider foundations for styling (Carbon UI)?

I updated the linked https://github.com/camunda/camunda-modeler/pull/3477

Settings could be used to implement https://github.com/camunda/camunda-modeler/issues/804


Failed to connect to the host via ssh<EMAIL_ADDRESS>Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).'

Can't figure out whats wrong with Molecule.
Prepare cant figure out that it should create the instance instead of connecting to the existing one.

    groups:
      - workstations
      - all

is added and instance name is workstation which is part of workstations group.

Turns out it was really "cryptic" error message.
Simple molecule list exposed that there is created instances.
So molecule was trying to connect to broken instances.
molecule destroy -s scenario-name destroyed all hanging instances after what converge was successful.
Strangely molecule reset was not helping earlier.


[GUI] Login - fields not filled: The message continues to appear even if the field is filled in

Steps:

click on "LOGIN" button
fill in the fields

Issue has been fixed.


[feature] Remove Large File Uploads

Allows rejected files to be cancelled.
Adds failed uploads (files that exceed the maximum upload size) to the list of uploaded files that can be cancelled.
[OSF-5410]

Reviewing ...

https://openscience.atlassian.net/browse/OSF-5410

Funny ... such a small PR, but it's gonna take me a bit to review this because I haven't actually set up filestorage locally yet(!). :-)

I'm not finding a file or storage target in tasks/__init__.py.

Oh, right! Waterbutler!

I've cloned waterbutler and installed it into a virtualenv with inv install --develop. I get the following traceback from inv server. Maybe I need to configure it betterer?
WARNING:root:No '/Users/whit537/.cos/waterbutler-test.json' configuration file found
Traceback (most recent call last):
  File "/Users/whit537/workbench/cos/waterbutler/env/bin/inv", line 11, in <module>
    sys.exit(main())
  File "/Users/whit537/workbench/cos/waterbutler/env/lib/python3.5/site-packages/invoke/cli.py", line 438, in main
    dispatch(sys.argv)
  File "/Users/whit537/workbench/cos/waterbutler/env/lib/python3.5/site-packages/invoke/cli.py", line 431, in dispatch
    return executor.execute(*tasks)
  File "/Users/whit537/workbench/cos/waterbutler/env/lib/python3.5/site-packages/invoke/executor.py", line 100, in execute
    task=task, name=name, args=args, kwargs=kwargs, config=config
  File "/Users/whit537/workbench/cos/waterbutler/env/lib/python3.5/site-packages/invoke/executor.py", line 153, in _execute
    result = task(*args, **kwargs)
  File "/Users/whit537/workbench/cos/waterbutler/env/lib/python3.5/site-packages/invoke/tasks.py", line 111, in __call__
    result = self.body(*args, **kwargs)
  File "/Users/whit537/workbench/cos/waterbutler/tasks.py", line 81, in server
    from waterbutler.server.app import serve
  File "/Users/whit537/workbench/cos/waterbutler/waterbutler/server/app.py", line 12, in <module>
    from waterbutler.server.api import v0
  File "/Users/whit537/workbench/cos/waterbutler/waterbutler/server/api/v0/__init__.py", line 1, in <module>
    from waterbutler.server.api.v0 import zip
  File "/Users/whit537/workbench/cos/waterbutler/waterbutler/server/api/v0/zip.py", line 4, in <module>
    from waterbutler.server.api.v0 import core
  File "/Users/whit537/workbench/cos/waterbutler/waterbutler/server/api/v0/core.py", line 11, in <module>
    from waterbutler import tasks
  File "/Users/whit537/workbench/cos/waterbutler/waterbutler/tasks/__init__.py", line 2, in <module>
    from waterbutler.tasks.copy import copy
  File "/Users/whit537/workbench/cos/waterbutler/waterbutler/tasks/copy.py", line 5, in <module>
    from waterbutler.core import utils
  File "/Users/whit537/workbench/cos/waterbutler/waterbutler/core/utils.py", line 7, in <module>
    import aiohttp
  File "/Users/whit537/workbench/cos/waterbutler/env/lib/python3.5/site-packages/aiohttp/__init__.py", line 6, in <module>
    from . import hdrs  # noqa
  File "/Users/whit537/workbench/cos/waterbutler/env/lib/python3.5/site-packages/aiohttp/hdrs.py", line 2, in <module>
    from .multidict import upstr
  File "/Users/whit537/workbench/cos/waterbutler/env/lib/python3.5/site-packages/aiohttp/multidict.py", line 285, in <module>
    class _ItemsView(_ViewBase, abc.ItemsView):
  File "/usr/local/lib/python3.5/abc.py", line 133, in __new__
    cls = super().__new__(mcls, name, bases, namespace)
TypeError: multiple bases have instance lay-out conflict

Or maybe I need to drop back to Python 3.4?

Gosh, that's an obscure error. :flushed:

Looks like a bug in aiohttp? What version do I have installed? Can't import to find out ...

@whit537, if you're running develop, python 3.4 is required.

Waterbutler's requirements.txt specifies 0.14.1 ... is that what I have? Looks like setup.py defers to requirements.txt ...

@felliott I'm using Python 3.5. I wouldn't expect dropping back to 3.4 to resolve this, but maybe ...

It definitely will.  We've run into this one a lot.

Gosh, okay! Thanks for the tip. :-)

Looks like aiohttp adapted in https://github.com/KeepSafe/aiohttp/pull/289. Presumably that's included in newer releases (current is 0.21.2).

Got it! Thanks @felliott. :-)

Yessssssssssss.

Okay! Now how do I add files? :confused:

Blam. Now for a file that's too large ... how large is too large?

@whit537 5 GB is too large!

@caseyrollins Where is that configured? I'm not finding anything obvious in settings.py for osf.io or waterbutler.

@whit537, the max size varies for each addon, but for OSF Storage it's configured here.

Gosh. Why is it there instead of in settings/default.py? It looks like the osfstorage addon has the same layering as website, but, as it stands, directly modifying __init__.py seems the easiest way to override that setting. Unless I'm missing something?
Oh, well. Forging ahead! :-) :fork_and_knife:

I used mkfile 6m foo to make a file for testing.

The cancel button works. I'm trying to get it to not work on develop.

Success! Now it does nothing. :-)

Okay! All clear here. Go science! :-)
:+1:


feat: esl-utils extended with once feature for event listener and @decorate helper

recheckcla

:tada: This PR is included in version 4.0.0-beta.2 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Backport "bugfix: Fix coursier completions tests for the presentation compiler" to LTS

Backports #18662 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-18731.
Reference


Blocking call(gocode_complete) aborted: Install is not done

This morning I used gosublime as I do every morning and it doesn't work.
The log is full of:
** 2015-02-06 10:35:14.266137 **:
GsComplete: Blocking call(gocode_complete) aborted: Install is not done
--------------------------------

At the very top of the log:
GoSublime r14.12.06-1: init mod(sh)

Traceback (most recent call last):
  File "./GoSublime.py", line 63, in plugin_loaded
    'margo_exe': MARGO_EXE,
  File "/home/pwaller/.config/sublime-text-2/Packages/GoSublime/gosubl/sh.py", line 260, in gs_init
    dur,
  File "/home/pwaller/.config/sublime-text-2/Packages/GoSublime/gosubl/sh.py", line 266, in _print
    print('GoSublime %s sh: %s' % (about.VERSION, s))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb5' in position 320: ordinal not in range(128)

$ go version
go version go1.4 linux/amd64
$ python -V
Python 2.7.6

I've observed this on two separate installs.

As far as I'm aware, I've encountered this less recently.
Tidying up my personal issues list, so closing this. Please create a new issue if you're still interested in tracking it.


fix: adding support to diff encodings

pr to issue: https://github.com/ferstar/check-requirements-txt/issues/6
its a suggest, but i think that exist others ways to do it too


Nice work

Nice work bro, i use vosk speech to text on android, how i can use tts

Thank you! We are heading in that direction for sure

Well 😍
I will wait you, and i hope add more languages 😁
Thank you

Sherpa-onnx has demo how to run VITS models on Android
https://k2-fsa.github.io/sherpa/onnx/tts/index.html


Maximum WAN Interface

Hello,
How many maximum WAN interface does SmoothWAN supports?
Thank you

15 to 20, not so sure, depends on Speedify/Engarde, but it's not limited by OpenWRT.
Questions in Discussions are easier to index.


[C] Update relay packages

Just a mess. Getting relay errors that make no sense compared to other projects. Going to try to upgrade just packages/frontend and see if that turns out a bit better.


Bug in load_data when using full path

This code would fail:
full_path = 'C:\\temp\\A\\test.pdf'
documents = pdf_loader.load_data(full_path )

However, if relative path is given it works fine.
It looks like the issue is in file_reader.py:63
is_url = urlparse(path_or_url).scheme != ""
In case of full path the scheme will be the letter of the drive (C in this case) which would make it treat it as a URL instead of a path.

I am facing the same problem, did you find any workaround ?

you could just change the code and make it:
        is_url = urlparse(path_or_url).scheme != "" &&  len(urlparse(path_or_url).scheme) > 2


All python script should use the correct shebang

When running in a mixed python2/python3 setting, python scripts can be executed with either interpreter.
To prevent that, scripts that only work with one interpreter should use one of the following shebang:
#!/usr/bin/env python2

or
#!/usr/bin/env python2

but not
#!/usr/bin/env python

In addition, we should consider switching to the new cmake Python  discovery mechanism.

In GitLab by @ksiero on Mar 14, 2019, 08:27

In addition, we should consider switching to the new cmake Python  discovery mechanism.

Do you mean something like presented in !179 ?

This should be good now, python is still a mess, but not due to shebang problems

Indeed! But this should be used consistently across all of PDI.

This is mostly done in !214 , but this does not solve everything (see #147 )

I mean https://cmake.org/cmake/help/v3.13/module/FindPython.html

closed

In GitLab by @ksiero on Mar 14, 2019, 08:34

This module looks preferably for version 3 of Python. If not found, version 2 is searched. To manage concurrent versions 3 and 2 of Python, use FindPython3 and FindPython2 modules rather than this one.

This is what I did in !179


SetParametersAndRender suppresses ArgumentOutOfRangeException

It looks like bUnit is suppressing some exceptions in the SetParametersAndRender function. This causes issues as I am not able to assert that my property setter throws an exception.

@* Quicktest.cshtml *@

@code {
    private string _myValue;

    [Parameter]
    public string MyValue
    {
        get => _myValue;
        set
        {
            throw new ArgumentOutOfRangeException("MyValue is invalid");
        }
    }
}

With this test:
@inherits TestContext

@code {
    [Fact]
    public void MyTestMethod()
    {
        var cut = Render<Quicktest>(@<Quicktest></Quicktest>);

        Assert.Throws<ArgumentOutOfRangeException>(() =>
            cut.SetParametersAndRender(parameters => parameters.Add(qt => qt.MyValue, "something")));
    }
}

Results in this output:
Assert.Throws() Failure
Expected: typeof(System.ArgumentOutOfRangeException)
Actual:   (No exception was thrown)

The exception should bubble up and be caught by the Assert.Throws method which will result in a passing test.
Version info:

bUnit version: 1.2.49
.NET Runtime and Blazor version: 64-bit .NET 5.0.12
OS type and version:
Edition	Windows 10 Home
Version	21H1
OS build	19043.1348
Experience	Windows Feature Experience Pack 120.2212.3920.0

I have found  workaround by directly setting the property on the component instance.
Assert.Throws<ArgumentOutOfRangeException>(() =>
            cut.Instance.MyValue = "something");

This is not ideal since I need to suppress a warning when using this syntax.

Thanks for reporting this. I'll take a look as soon as possible and get back to you.

I have confirmed this and it has been fixed. A new preview release should hit GPR in a few minutes with fix.
If you can, please try out the preview and report back. See this post to learn how: https://github.com/bUnit-dev/bUnit/discussions/209

I think this one may be trickier than you think. When I updated to the latest preview my test fails, but for a different reason. It looks like my ArgumentOutOfRangeException  is being wrapped inside of a InvalidOperationException. The output of the test clearly has my ArgumentOutOfRangeException with it's custom error message, but it still looks like the exception is still being caught by something in the bUnit framework.
Test Output:
Assert.Throws() Failure
Expected: typeof(System.ArgumentOutOfRangeException)
Actual:   typeof(System.InvalidOperationException): Unable to set property 'ActiveTabIndex' on object of type 'Bonzai.Blazor.Bootstrap.Components.TabContainer'. The error was: Specified argument was out of the range of valid values. (Parameter 'ActiveTabIndex must be between 0 and the count of child TabPane components contained in this container minus 1 [0, 2]. Value passed: -1')
---- System.InvalidOperationException : Unable to set property 'ActiveTabIndex' on object of type 'Bonzai.Blazor.Bootstrap.Components.TabContainer'. The error was: Specified argument was out of the range of valid values. (Parameter 'ActiveTabIndex must be between 0 and the count of child TabPane components contained in this container minus 1 [0, 2]. Value passed: -1')
-------- System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values. (Parameter 'ActiveTabIndex must be between 0 and the count of child TabPane components contained in this container minus 1 [0, 2]. Value passed: -1')

The exception that is thrown comes from Blazor. When Blazor tries to map the parameters you are passing to your component under test, it captures the exception that your property setter throws, and wraps it and any other exceptions from other parameters in the InvalidOperationException you are seeing. bUnit cannot change that. If you look at the InvalidOperationException.InnerException property, you should find the exception your component's property is throwing.

I didn't realize it was blazor that was doing that. Thanks for the help. And thank you for the quick turnaround.

My pleasure, and thanks for bringing this to my attention.


Prismic; image dimensions not being queried properly?

We'd noticed images dimensions were a bit off following the content migration, for example in search they should all be the same format but aren't anymore:

Then e2e tests flagged that the expected URL for an image wasn't right:

Expected string: "https://images.prismic.io/wellcomecollection/2a42de1c-7954-4ece-be5f-775079c4bc54_Lauren+seated+outside.jpg?auto=compress%2Cformat&rect=0%2C275%2C4000%2C1875&w=800&h=375"
--
  | Received string: "https://images.prismic.io/wellcomecollection/2a42de1c-7954-4ece-be5f-775079c4bc54_Lauren+seated+outside.jpg?auto=format%2Ccompress&rect=&w=800&h="

It seems the rect, w and h is missing, which is probably in line with the first issue. We should figure out why this is happening and fix it.

See Slack conversation
It seems Prismic's Migration API strips images' crops of their contentUrlSuffix value, which is what is needed to render the correct ratio of image.
Should look like:
 '32:15': {
      contentUrlSuffix: '&rect=0,136,482,226&w=3200&h=1500',
      width: 3200,
      height: 1500
    }

Now looks like:
 '32:15': { contentUrlSuffix: '', width: 3200, height: 1500 }

This is probably something to report to Prismic.

From Prismic:

Ok thanks for sharing, helps a lot, I reached out to the team, these url params should still be there. Not sure why they got stripped.

I imagine this will ultimately require another migration, but don't think we can do anything until we hear more from Prismic.

@davidpmccormick Have you heard anything back from Prismic yet? Worth chasing them if not?

https://prismic.atlassian.net/servicedesk/customer/portal/1/PCS-5263

Unfortunately the link in that response (https://prismic.atlassian.net/browse/BT-107) doesn't resolve anywhere useful. I have asked that they point us somewhere where we can keep up-to-date with the status of the bug.

@davidpmccormick did we ever get that bug link?
Wondering if we want to use a FE catchup to brainstorm ideas for this, lmk if useful!

Still nothing. I have chased again.

Currently, we do not have an estimated time for when this issue will be resolved. We’re also reaching out to Atlassian support to understand why you can’t see the open bug. We apologize for any inconvenience these issues may cause.

When fixed, addressed this TODO in our e2e tests https://github.com/wellcomecollection/wellcomecollection.org/blob/main/playwright/test/article.test.ts#L80

We agreed in frontend catch-up that we would give Prismic a month to make progress on the issue themselves. After which time we would take steps to work out whether we can implement our own fix using the crop information from the edit key (and/or manually update as many as we can within an equivalent amount of time)

The bug has been updated on Prismic's tracker to include a 'bug impact' which they have scored as a 3 ('Feature broken no workaround') out of 6 (1 is the most severe 'API down/repository down' and 6 is 'costmetic'). But there doesn't appear to have been much publicly visible movement on fixing it. It no longer has anyone assigned to it.
They suggested a workaround (open the image cropping tool and resave the document), but that at best doesn't appear to do anything and potentially resulted in the page 500-ing – I've fed this back to Prismic.
I think we might have to investigate our own solution, or take a view on whether we want to manually re-crop (some of) the images. For discussion in frontend catch-up probably.

I've confirmed that the rect information is surviving a migration by running this article through the script in the prismic-staging environment.
Rather than re-running all of the original migration steps, I think we should be able to check each image id and swap out the crops keys (16:9, 32:15, square) that we have in a snapshot from before the migration.
Anything created after the migration would obviously not be updated, but that shouldn't matter because if it was created in the Prismic UI (rather than through a migration) it should have the rect information

Rather than re-running all of the original migration steps, I think we should be able to check each image id and swap out the crops keys (16:9, 32:15, square) that we have in a snapshot from before the migration.

That would be an incredible save if we can do that (well done for keeping the snapshots!)
We could trial it on the staging instance first...

After migrating the following still need to be done manually. I've notified editorial (and offered to help in a dull moment if they want to split it up).
7 Events

https://wellcomecollection.org/events/routes-of-the-kola-nut
https://wellcomecollection.org/events/the-beautiful-octopus-club
https://wellcomecollection.org/events/careers-in-well-being-and-mental-health
https://wellcomecollection.org/events/careers-in-the-arts
https://wellcomecollection.org/events/piecing-us-together
https://wellcomecollection.org/events/just-add-milk-
https://wellcomecollection.org/events/dreaming--old-age--and-melancholia-in-the-early-modern-era

63 Stories

https://wellcomecollection.org/articles/a-personal-history-of-albinism
https://wellcomecollection.org/articles/renaissance-women-and-their-killer-cosmetics
https://wellcomecollection.org/articles/would-you-like-to-buy-a-dinosaur-
https://wellcomecollection.org/articles/little-feet-on-pett-level-beach
https://wellcomecollection.org/articles/translation
https://wellcomecollection.org/articles/audrey-and-her-family
https://wellcomecollection.org/articles/the-evil-eye-and-social-anxiety
https://wellcomecollection.org/articles/the-cinchona-tree--malaria-and-colonisation
https://wellcomecollection.org/articles/me---me
https://wellcomecollection.org/articles/a-bad-atmosphere-in-the-balkans
https://wellcomecollection.org/articles/ludwig-guttmann-and-the-birth-of-the-paralympics
https://wellcomecollection.org/articles/florence-nightingale--victorian-design-and-the-treatment-of-covid-19
https://wellcomecollection.org/articles/public-health-campaigns-and-the--threat--of-disability
https://wellcomecollection.org/articles/foraging-for-a-taste-of-the-past
https://wellcomecollection.org/articles/badger-culling-and-farmers--mental-health
https://wellcomecollection.org/articles/writing-the-language-of-music
https://wellcomecollection.org/articles/inside-the-minds-of-a-r-hopwood-and-honor-beddard
https://wellcomecollection.org/articles/when--get-well-soon--doesn-t-cut-it
https://wellcomecollection.org/articles/electric-marvels-in-the-age-of-enlightenment
https://wellcomecollection.org/articles/why-are-women-more-willing-donors-than-men-
https://wellcomecollection.org/articles/wool--fleas--plague
https://wellcomecollection.org/articles/dirt--disease-and-the-inspector-of-nuisances
https://wellcomecollection.org/articles/cocaine--the-victorian-wonder-drug
https://wellcomecollection.org/articles/backstroke-to-the-future
https://wellcomecollection.org/articles/the-unearthly-children-of-science-fiction-s-cold-war
https://wellcomecollection.org/articles/fantasies-of-the-future
https://wellcomecollection.org/articles/exposing-the-secrets-of-the-human-body
https://wellcomecollection.org/articles/challenging-stereotypes-of-people-with-learning-disabilities
https://wellcomecollection.org/articles/science-art
https://wellcomecollection.org/articles/aids-posters
https://wellcomecollection.org/articles/this-is-what-changed-my-approach-to-interior-design
https://wellcomecollection.org/articles/we-are-from-here--but-not-from-here
https://wellcomecollection.org/articles/digital-pets
https://wellcomecollection.org/articles/lustmord-and-the-three-perspectives-of-murder
https://wellcomecollection.org/articles/what-is-hysteria
https://wellcomecollection.org/articles/how-the-city-lives-inside-me
https://wellcomecollection.org/articles/drugs-and-brain-quick-guide-brain-chemistry
https://wellcomecollection.org/articles/medics-and-the-bomb
https://wellcomecollection.org/articles/why-the-1918-spanish-flu-defied-both-memory-and-imagination
https://wellcomecollection.org/articles/above-resistant-pavements-i-floated
https://wellcomecollection.org/articles/dear-tooth-fairy
https://wellcomecollection.org/articles/when-a-private-pee-is-a-public-disgrace
https://wellcomecollection.org/articles/the-evolution-of-war-zone-medicine
https://wellcomecollection.org/articles/spanish-flu-and-the-depiction-of-disease
https://wellcomecollection.org/articles/obesity-and-britain-s-boys
https://wellcomecollection.org/articles/how-we-bury-our-children
https://wellcomecollection.org/articles/meet-the-climate-emergency
https://wellcomecollection.org/articles/humans--animals-and-the-sensory-world
https://wellcomecollection.org/articles/fleeing-fear--defying-prejudice
https://wellcomecollection.org/articles/pain-and-the-power-of-activism
https://wellcomecollection.org/articles/remote-diagnosis-from-wee-to-the-web
https://wellcomecollection.org/articles/medicine-now----then
https://wellcomecollection.org/articles/a-portrait-of-me-with-my-mother
https://wellcomecollection.org/articles/the-gym-of-cartoon-men
https://wellcomecollection.org/articles/confronting-male-stereotypes-in-the-classroom
https://wellcomecollection.org/articles/confronting-male-stereotypes-in-the-classroom
https://wellcomecollection.org/articles/believe-yourself-better
https://wellcomecollection.org/articles/southern-italy-s-centuries-long-dancing-mania
https://wellcomecollection.org/articles/when-self-deception-becomes-global-hoax
https://wellcomecollection.org/articles/diagnosing-ocd-in-the-past
https://wellcomecollection.org/articles/manipulating-the-evidence-with-deepfake-technology
https://wellcomecollection.org/articles/inside-the-minds-of-a-r-hopwood-and-honor-beddard
https://wellcomecollection.org/articles/the-serious-side-of-historical-games

This is the test I was talking about this morning, it'd just be about uncommenting it (and probably changing the expected values)


Fixes and improve more for aggregation

needs to be back ported from community:
- [ ] https://github.com/ClickHouse/ClickHouse/pull/61257 (Fix possible incorrect result of aggregate function uniqExact #61257)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/61171 (Remove a few templates from Aggregator.cpp #61171)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/47399 (Remove distinct on top of MergingAggregatedStep #47399)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/44541 (Followup #43761 #44541)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/43761 (Refactor FunctionNode #43761)

[x] https://github.com/ClickHouse/ClickHouse/pull/58542 (Revert "Merging #53757" #58542)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/50531 (JIT infrastructure refactoring #50531)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/43813 (Better handling of NULL in aggregate combinators, fix possible segfault/logical error #43813)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/45067 (JIT compilation float to bool conversion fix #45067)
[x] https://github.com/ClickHouse/ClickHouse/pull/59009 (uniqExact state parallel merging for distributed queries #59009)
[x] https://github.com/ClickHouse/ClickHouse/pull/58745 (Fix double destroy call on exception throw in addBatchLookupTable8 #58745)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/57872 (Better optimization of consecutive keys in aggregation #57872)
[x] https://github.com/ClickHouse/ClickHouse/pull/43945 (Improve hash table preallocation optimisation)
[x] https://github.com/ClickHouse/ClickHouse/pull/58440 (Enable JIT compilation for aggregation without key)
[x] https://github.com/ClickHouse/ClickHouse/pull/57258 (Remove addBatchSinglePlaceFromInterval #57258)
[x] https://github.com/ClickHouse/ClickHouse/pull/56120 (WindowTransform decrease amount of virtual function calls #56120)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/57074 (Avoid excessive allocation in Arena #57074)
[x] https://github.com/ClickHouse/ClickHouse/pull/53589 (Experiment Aggregator merge and destroy states in batch #53589)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/53549 (Optimize group by constant keys #53549)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/48607 (Add settings for real-time updates during query execution #48607)
[x] https://github.com/ClickHouse/ClickHouse/pull/51566 (Fix memory consumption when max_block_size is huge in Aggregator + more memory checks #51566)
[x] https://github.com/ClickHouse/ClickHouse/pull/50748 (Convert hashSets in parallel before merge)
[x] https://github.com/ClickHouse/ClickHouse/pull/52439 (Fix possible double-free in Aggregator #52439)
[x] https://github.com/ClickHouse/ClickHouse/pull/50291 (JIT aggregation nullable key fix #50291)
[x] https://github.com/ClickHouse/ClickHouse/pull/49282 (Fix all key value is null and group use rollup return wrong answer #49282)
[x] https://github.com/ClickHouse/ClickHouse/pull/45772 (Optimize one nullable key aggregate performance #45772)
[x] https://github.com/ClickHouse/ClickHouse/pull/45375 (Window view functional test failed on platform s390x)
[x] https://github.com/ClickHouse/ClickHouse/pull/40762 (Fix GROUPING function SQL compatibility #40762)
[x] https://github.com/ClickHouse/ClickHouse/pull/39304 (Prefetching in aggregation #39304)
[x] https://github.com/ClickHouse/ClickHouse/pull/39138 (Control block size in aggregator #39138)
[x] https://github.com/ClickHouse/ClickHouse/pull/38295 (Quick fix for aggregation pipeline #38295)
[x] https://github.com/ClickHouse/ClickHouse/pull/39908 (Improve 02354_distributed_with_external_aggregation_memory_usage #39908)
[x] https://github.com/ClickHouse/ClickHouse/pull/39429 (Improve memory usage during memory efficient merging of aggregation results)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/37959 (Preserve filling step plan position on sorting optimization #37959)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/39123 (Pushdown filter to the right side of sorting join #39123)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/37393 (Move updateInputStream to ITransformingStep #37393)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/34632 (Optimized processing of ORDER BY in window functions #34632)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/35623 (Functions calculation after sorting #35623)
- [ ] https://github.com/ClickHouse/ClickHouse/pull/34469 (Added JIT compilation of SortDescription #34469)
[x] https://github.com/ClickHouse/ClickHouse/pull/37163 (Add GROUPING function #37163)
[x] https://github.com/ClickHouse/ClickHouse/pull/37469 (Implement in order aggregation (optimize_aggregation_in_order) for projections for tables with fully materialized projections #37469)
[x] https://github.com/ClickHouse/ClickHouse/pull/34305 (Fix various issues when projection is enabled by default #34305)
[x] https://github.com/ClickHouse/ClickHouse/pull/37093 (Fix GROUP BY AggregateFunction #37093)

add this one. https://github.com/ClickHouse/ClickHouse/pull/37020/files
I have seen we remove this useless code.
https://github.com/timeplus-io/proton/pull/615/commits/dc892977ac278c6286b75363846c86d607cfa3e0#diff-d6da13621eeabbd2e70bb09de71117a1168b2879f03a5fa05340989831a970ffL371


bazel build branch r1.10 on windows ERROR _api_implementation.so

ERROR: C:/users/thinkpad/_bazel_thinkpad/26orbg4z/external/protobuf_archive/BUILD:645:1: C++ compilation of rule '@protobuf_archive//:python/google/protobuf/internal/_api_implementation.so' failed (Exit 1): cl.exe failed: error executing command
C:\users\thinkpad_bazel_thinkpad\26orbg4z\execroot\org_tensorflow\external\protobuf_archive\python\google\protobuf\internal\api_implementation.cc : fatal error C1083: 无法打开编译器生成的文件: “”: Invalid argument
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 22363.015s, Critical Path: 4574.16s
INFO: 6185 processes: 6185 local.
FAILED: Build did NOT complete successfully
How to solve compilation errors?
Thank you

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

Versions:Windows 10 64bit
VS2017 with VS2015 workload
Python 3.6.6
Bazel 0.15.2
TensorFlow r1.10 CPU version

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Not able to install Flare VM on window 10

What's the problem?
I am trying to run the installer.ps1 script and getting the below error
Steps to Reproduce

Download the installer.ps1 script
run it powershell as administrator
execute the script

Environment
-Virtualization software: VMware

VM OS version : 10.0.19045
VM powershell version : 5.1.19041.2673
M Chocolatey version : 2.2.2
VM Boxstarter version : Boxstarter|3.0.3
Output of VM-Get-Host-Info is below

Version                 : 10.0.19045                                                                                BuildNumber             : 19045                                                                                OSArchitecture          : 64-bit                                                                                ServicePackMajorVersion : 0                                                                                Caption                 : Microsoft Windows 10 Pro                                                                                VM OS RAM (MB)                                                                                -----                                                                                0                                                                                VM OS HDD Space / Usage                                                                                -----                                                                                DeviceID DriveType ProviderName VolumeName              Size         FreeSpace                                                                                -------- --------- ------------ ----------              ----         ---------                                                                                C:       3<PHONE_NUMBER>36<PHONE_NUMBER>6                                                                                D:       5                      CCCOMA_X64FRE_EN-US_DV9<PHONE_NUMBER>   0                                                                                E:       5                      VBox_GAs_6.1.38         63887360     0                                                                                VM AV Details                                                                                -----                                                                                AntiVirusProduct classname does not exist...                                                                                VM PowerShell Version                                                                                -----                                                                                5.1.19041.2673                                                                                VM CLR Version                                                                                -----                                                                                4.0.30319.42000                                                                                VM Chocolatey Version                                                                                -----                                                                                2.2.2                                                                                VM Boxstarter Version                                                                                -----                                                                                Boxstarter|3.0.3                                                                                Boxstarter.Bootstrapper|3.0.3                                                                                Boxstarter.Chocolatey|3.0.3                                                                                Boxstarter.Common|3.0.3                                                                                Boxstarter.HyperV|3.0.3                                                                                Boxstarter.WinConfig|3.0.3                                                                                VM Installed Packages                                                                                -----                                                                                Boxstarter|3.0.3                                                                                Boxstarter.Bootstrapper|3.0.3                                                                                Boxstarter.Chocolatey|3.0.3                                                                                Boxstarter.Common|3.0.3                                                                                Boxstarter.HyperV|3.0.3                                                                                Boxstarter.WinConfig|3.0.3                                                                                chocolatey|2.2.2                                                                                common.vm|<IP_ADDRESS>31027                                                                                debloat.vm|<IP_ADDRESS>31109                                                                                Common Environment Variables                                                                                -----                                                                                VM_COMMON_DIR: C:\ProgramData_VM                                                                                TOOL_LIST_DIR: C:\Users\jae\Desktop\Tools                                                                                RAW_TOOLS_DIR: C:\Tools

Additional Information
Error Message :
Exception calling "DownloadFile" with "2" argument(s): "The underlying connection was closed: An unexpected error       occurred on a send."                                                                                At C:\Users\jae\Desktop\install.ps1:863 char:1                                                                          + (New-Object net.webclient).DownloadFile('https://raw.githubuserconten ...                                             + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                     + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException                                      + FullyQualifiedErrorId : WebException

@Justanother-engineer the error message says that the script failed to download https://raw.githubusercontent.com/mandiant/flare-vm/main/Images/flarevm-background.png. I am able to download that image, which likely means that you don't have internet in your VM or that GH was unavailable when you tried to run the script.
Please ensure that:

You have internet in your VM
You can download manually https://raw.githubusercontent.com/mandiant/flare-vm/main/Images/flarevm-background.png

Re-run the installation script after that and let us know if that works.

@Ana06  Thank you for the help! for some reason my ISP has was not able to resolve raw.githubusercontent.com i change DNS server and everything worked out.


Net-RDAP-Registry-dns.json is global but with 0600 perms

It appears that in normal operation Net::RDAP creates a file at /tmp/Net-RDAP-Registry-dns.json with the cached IANA list. The problem is that this file is used by every invocation but is created as 0600. This precludes more than one O/S user on the same server from using Net::RDAP. The sub which creates this file appears to be Net::RDAP::Registry::load_registry().
Either the permissions need to be changed to accommodate multiple users or else each user needs their own copy of this file instead of sharing a global one.
I've manually set the perms on my server to 0644 now to allow multiple users access but of course this means only the one trusted user can update the file. This may or may not be a good thing. :-)

I just release v0.29 which resolves this issue.


Initial react router setup

Pathing setup with initial routes.
Note: localhost3000 serves the old files, localhost9000 serves the correct files.
@Gobleizer @ahjohnston

@Gobleizer Fixed the router refresh breaking


Pass PYTHONPATH to mpisub

Usefull for using depencies beeing in other directories because:

not already on pip
installed separately (for example shared installation of a module on a cluster)

Closed by Pullrequest #26


Update Stetho to v1.3.1

Changelog
Version 1.3.1
2016-02-25

Major performance improvements in Elements tab Several performance, correctness, and stability improvements related to how Stetho performs tree diffing.
Fix #349: Fix dumpapp scripts under various edge cases.
Fix #357: Remove static fields from exported view "styles".

Current coverage is 81.42%

Merging #142 into master will not affect coverage as of 89f09ee

@@            master    #142   diff @@
======================================
  Files           37      37
  Stmts          549     549
  Branches        47      47
  Methods          0       0
======================================
  Hit            447     447
  Partial         29      29
  Missed          73      73

Review entire Coverage Diff as of 89f09ee

Powered by Codecov. Updated on successful CI builds.

:+1:

:+1:

Thanks!


issue accessing the partitioned pointclouds

I have another issue in the next cells of the same notebook (pointnet_seg.ipynb)
from this code:
total_train_targets = []
for (_, targets) in train_dataloader:
    total_train_targets += targets.reshape(-1).numpy().tolist()

total_train_targets = np.array(total_train_targets)

I get the following error:

I did not open a new issue for it not to spam.
But tell me if it helps and I will put this in a new one.

KeyError                                  Traceback (most recent call last)
/SemanticSegmentation/3D/point_net/pointnet_seg.ipynb Cell 13 line 2
1 total_train_targets = []
----> 2 for (_, targets) in train_dataloader:
3     print(1)
4     #total_train_targets += targets.reshape(-1).numpy().tolist()
5
6 #total_train_targets = np.array(total_train_targets)
File ~/.local/lib/python3.10/site-packages/torch/utils/data/dataloader.py:633, in _BaseDataLoaderIter.next(self)
630 if self._sampler_iter is None:
631     # TODO(https://github.com/pytorch/pytorch/issues/76750)
632     self._reset()  # type: ignore[call-arg]
--> 633 data = self._next_data()
634 self._num_yielded += 1
635 if self._dataset_kind == _DatasetKind.Iterable and
636         self._IterableDataset_len_called is not None and
637         self._num_yielded > self._IterableDataset_len_called:
File ~/.local/lib/python3.10/site-packages/torch/utils/data/dataloader.py:677, in _SingleProcessDataLoaderIter._next_data(self)
675 def _next_data(self):
676     index = self._next_index()  # may raise StopIteration
--> 677     data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
678     if self._pin_memory:
679         data = _utils.pin_memory.pin_memory(data, self._pin_memory_device)
File ~/.local/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py:51, in _MapDatasetFetcher.fetch(self, possibly_batched_index)
49         data = self.dataset.getitems(possibly_batched_index)
50     else:
---> 51         data = [self.dataset[idx] for idx in possibly_batched_index]
52 else:
53     data = self.dataset[possibly_batched_index]
File ~/.local/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py:51, in (.0)
49         data = self.dataset.getitems(possibly_batched_index)
50     else:
---> 51         data = [self.dataset[idx] for idx in possibly_batched_index]
52 else:
53     data = self.dataset[possibly_batched_index]
File /SemanticSegmentation/3D/point_net/s3dis_dataset.py:53, in S3DIS.getitem(self, idx)
51 def getitem(self, idx):
52     # read data from hdf5
---> 53     space_data = pd.read_hdf(self.data_paths[idx], key='space_slice').to_numpy()
54     points = space_data[:, :3] # xyz points
55     targets = space_data[:, 3]    # integer categories
File ~/.local/lib/python3.10/site-packages/pandas/io/pytables.py:446, in read_hdf(path_or_buf, key, mode, errors, where, start, stop, columns, iterator, chunksize, **kwargs)
441                 raise ValueError(
442                     "key must be provided when HDF5 "
443                     "file contains multiple datasets."
444                 )
445         key = candidate_only_group._v_pathname
--> 446     return store.select(
447         key,
448         where=where,
449         start=start,
450         stop=stop,
451         columns=columns,
452         iterator=iterator,
453         chunksize=chunksize,
454         auto_close=auto_close,
455     )
456 except (ValueError, TypeError, KeyError):
457     if not isinstance(path_or_buf, HDFStore):
458         # if there is an error, close the store if we opened it.
File ~/.local/lib/python3.10/site-packages/pandas/io/pytables.py:841, in HDFStore.select(self, key, where, start, stop, columns, iterator, chunksize, auto_close)
839 group = self.get_node(key)
840 if group is None:
--> 841     raise KeyError(f"No object named {key} in the file")
843 # create the storer and axes
844 where = _ensure_term(where, scope_level=1)
KeyError: 'No object named space_slice in the file'

I get <KeysViewHDF5 ['space_data']> from the following code:
h5_path = os.path.join(R"/S3DIS/Stanford3dDataset_v1.2_Reduced_Aligned_Version/Area_1/conferenceRoom_1.hdf5")
with h5py.File(h5_path, 'r') as f:
    print(f.keys())

Originally posted by @nimafo in https://github.com/itberrios/3D/issues/1#issuecomment-1729640930

Hello,
It looks like you're not using the partitioned point clouds for this dataloader, I had to partiton the point clouds into smaller units to avoid memory issues. Did you make point clouds with this folder structure? "S3DIS\Stanford3dDataset_v1.2_Reduced_Partitioned_Aligned_Version", the partitioned files should be saved with names like: conferenceRoom_1_partition1_.hdf5, conferenceRoom_1_partition2_.hdf5, conferenceRoom_1_partition3_.hdf5, ...
The key for the original areas is: "space_data", while the key for the partitioned areas are: "space_slice"
If not please see this notebook and let me know if you have anymore questions.

Going to close this, please reopen if there is still an issue.


RADIUS Accounting for OpenVPN

Guidelines
[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
tl;dr
I‘d like OpenVPN to support RADIUS accounting.
Use case
I want to do authentication/authorization for OpenVPN in the following manner:

User starts VPN
opnsense sends auth request to RADIUS
RADIUS responds with an IP from a IP pool (one pool per authorization group)
With the IP the firewall can determine the access rights of the authenticated user

This approach works fine so far, the only problem is that the ip pool must operate blindly. Without support for accounting RADIUS will never know when an IP gets released what can then lead to IP collisions.
I‘m happy to contribute myself, but would need some advice on how it would best fit into the current architecture.

Hi @adrianschneider94,
A good starting point could be to check how the other connector you found (https://github.com/brainly/openvpn-auth-radius) handles accounting, there workflow probably is different than ours, but maybe we can collect some ideas from it.
Our generic authentication system is explained in detail here https://docs.opnsense.org/development/components/authentication.html, we do offer accounting for captive portal, which you can find here https://github.com/opnsense/core/blob/master/src/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php
Since there are more authentication options possible per server, there might be a small challenge in finding out where to send the messages, but maybe you should start simple and try to send accounting messages to all supported authentication servers using data received from openvpn.
Best regards,
Ad
ref :https://forum.opnsense.org/index.php?topic=14073.msg64734

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.


Content containing DTS UHD descriptor ID stuck buffering since 1.3.0

Version
Media3 main branch
More version details

Able to reproduce since 27c021fd7bb827491568dca04b11a9a396d8aee9 (e.g. on  1.3.0, 1.4.0, b01c6ffcb3fca3d038476dab5d3bc9c9f2010781)
Working on 1.2.0, 1.3.0-alpha01, until e41b23d2f4b576a64ce9c7e750858c46511d78af

Devices that reproduce the issue

Changhong GIU3A00 (Android 10)
Changhong GIU6770 (Android 9)
SEI Robotics Box R Lite 4K (Android 11)
Google Pixel 3a (Android 12)

Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Play the file sent via email in Media3 demo app (either from local storage or via UDP)
What fixed the issue for us was returning null instead of new PesReader(new DtsReader(esInfo.language, DtsReader.EXTSS_HEADER_SIZE_MAX)) for TsExtractor.TS_STREAM_TYPE_DTS_UHD in DefaultTsPayloadReaderFactory.createPayloadReader. However, this isn't feasible unless we depend on the modules locally.
Expected result
The media plays successfuly
Actual result
The playback is stuck in a buffering state and ends with the following exception
androidx.media3.exoplayer.ExoPlaybackException: Unexpected runtime error
    at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:720)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:193)
    at android.os.HandlerThread.run(HandlerThread.java:65)
Caused by: java.lang.IllegalStateException: Playback stuck buffering and not loading
    at androidx.media3.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:1221)
    at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:561)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:193)
    at android.os.HandlerThread.run(HandlerThread.java:65)

Media
Sent via email
Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

@okycelt,
The error mentioned occurs because, during stream parsing, we are unable to locate a sync frame, which prevents us from reading the sample data properly.
It appears that the file you sent via email is corrupted and cannot be parsed correctly. You can use ffprobe to examine the file. When I ran ffprobe, I received the following output:
[mpeg2video @ 0x56243979c6c0] Invalid frame dimensions 0x0.
    Last message repeated 30 times
[mpeg2video @ 0x5624397fcb80] ac-tex damaged at 42 2
[mpeg2video @ 0x5624397fcb80] Warning MVs not available

However, I encountered no such errors when testing other sample files we have for DTS UHD.


Update pressable.md

Removed and Replaced unused useCallback hook with useMemo.

You're missing an extra function for this to work with useMemo: useMemo(() => ({ hovered })


pop-up error! "uncatch exeption"

when I open the program, he pop-up that there is an uncatch exeption and the map allways crash.
https://s32.postimg.org/qfpoi3jk5/image.png
that is the error
http://www.filedropper.com/squirrelsetup
her is the log
Pls help

I have the same issue.

I have been having the same error, but then my map loads, but some pokemon I normally see are not there anymore (like eevee). This didn't happen the first day I tried the 0.1.6 update
http://prntscr.com/c0c922

what is it?????


pytorch-examples/tensor/two_layer_net_numpy.py backprop

Shouldn't w2.t() below be grad_w2 instead ? Thanks.
grad_y_pred = 2.0 * (y_pred - y)
grad_w2 = h_relu.t().mm(grad_y_pred)
grad_h_relu = grad_y_pred.mm(w2.t())

No, the current implementation is correct. See my derivation for backprop through linear layers here:
http://cs231n.stanford.edu/handouts/linear-backprop.pdf


CSS Text Module Level 3

https://www.w3.org/TR/css-text-3/
https://drafts.csswg.org/css-text-3/
New Order of Text Properties
This is a comprehensive list of all properties in Text Module 3. Some properties are not included in Bangs.

text-transform .-tt
White Space

white-space .-sp
tabs <number> | <length> (excluded)

Breaking

word-break [normal | keep-all | break-all] (excluded)
line-break [auto | loose | normal | strict] (excluded)
hyphens [none | auto | manual] (excluded)
overflow-wrap .-ow (formerly word-wrap; changed from .-ww in #20) (will be excluded!—see below)

Alignment & Justification

text-align .-ta

text-align-all (excluded)
text-align-last (excluded)

text-justify .-tj

Spacing

word-spacing .-ws
letter-spacing .-ls

text-indent .-ti (see #30)

New Properties & Values
text-transform

[ ] full-width .-tt-fw

overflow-wrap
syntax: normal | [break-word || break-spaces]

[ ] DEPRECATE overflow-wrap due to lack of necessity. comment here if you object.

text-align

the value match-parent will not be added to Bangs. Adding a hypothetical class like .-ta-mp to a child takes just as much effort as adding the class corresponding the desired value (left, right, start, end, center, justify).
the value justify-all will also not be added to Bangs. To mimic this property, use text-align-last: justify on the element.

text-justify

[ ] add text-justify .-tj

inherited: true
.-tj-a    auto (initial)
.-tj-n    none
.-tj-w    inter-word
.-tj-c    inter-character

 bangs v0.13.0


React. SVG in JSX does not display, but in SASS does.

Do you want to request a feature, report a bug or ask a question?
Ask a question.
What is the current behavior?
Svg icon used in sass file displayed, but icon used in tsx (jsx) file doesn't.
What is the expected behavior?
Icon should displayed in tsx file too. Why it doesn't?
If the current behavior is a bug, please provide the steps to reproduce, at least part of webpack config with loader configuration and piece of your code.
The best way is to create repo with minimal setup to demonstrate a problem (package.json, webpack config and your code).
It you don't want to create a repository - create a gist with multiple files
https://gist.github.com/SemperPeritus/9e2ee43c89471acb9f704872a70edd2b
Please tell us about your environment:

Node.js version: 9.11.1
webpack version: 4.13.0
svg-sprite-loader version: 3.8.0
OS type & version: Windows 10 Pro 64-bit

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Compiled background css field: url(http://<IP_ADDRESS>:8890/sprite.svg#logo-usage) center no-repeat, displayed fine.

@SemperPeritus you can't import SVG files in 2 ways: only from CSS or from JS


Fix return value of ycmd--request function when server not running

When we exit ycmd--request early because server is not running return an empty
deferred object in order to keep deferred chains working. Also post a message to
minibuffer that the server is not running and request cannot be sent.

This should be merged independently of the feedback from #379


Docker compose v2 support

The actual provisioning script pulls the latest of docker compose.  Since 28/09/2021, the latest version is 2.0.0.
After a fresh ddb install, docker compose v2 is not working.

Just for now, i will fix docker-composer version in provisioning script.

After, i will investiguate on the install process in provisioning script because i think ddb is not the source problem.
After ssh logging in the VM, even without ddb, docker-compose does not seem to be correctly installed.

Proposal for install process for docker compose v2
`
create the docker plugins directory if it doesn't exist yet
mkdir -p ~/.docker/cli-plugins
download the CLI into the plugins directory
curl -sSL https://github.com/docker/compose-cli/releases/download/v2.0.0/docker-compose-linux-amd64 -o ~/.docker/cli-plugins/docker-compose
make the CLI executable
chmod +x ~/.docker/cli-plugins/docker-compose
`

@lcube45 ddb v1.16+ now supports docker compose plugin (v2) by default, so you should update this vagrant project to install docker compose plugin instead of legacy docker-compose.
The vagrant docker provisioner already brings docker compose plugin. So, the docker-compose install script should simply be removed from this repository.
You also have to change the global alias registered for "dc" command https://github.com/inetum-orleans/docker-devbox-vagrant/blob/799103e1efb0d021d137f4b82d90cec9fe49d04a/provision/options/gfi.sh#L13
For existing VM, the v2 plugin can be installed with apt
apt-get install docker-compose-plugin

If somebody still want to use legacy docker-compose binary, or can't install the v2 plugin for now, he can customize the docker compose command used by ddb with ddb.yml global configuration.
docker:
  docker_compose_command: docker-compose


Update ITK remote module

The ITK remote module is a bit out of date now pointing to  2fed5dc7e0523e0afac6c3ddf1859e4a7609fff6.

The the repo is a good state for ITK to now reference?

Made pull request:
http://review.source.kitware.com/#/c/22740/

I'm actually working on making the filters work for input image of floating type, maybe we could wait a couple of days?

Do you anticipate and change to the API?
Getting ITK updated this week would be good, so I can move a couple thing forward. I'm not sure if there is much harm with extra update to the ITK remote module reference though.

There will be no change in the API, the pull request has just been created (see #48 )

Updated Gerrit patch with current master:
http://review.source.kitware.com/#/c/22740/


Don't get xdebug to get to breakpoints xampp windows magento 2

Windows 7 with Sublime 3 (latest version)
I installed package thought package control (although I don't know where all the files are, as if I go to Sublime Text -Preferences-Browse Packages I can only see a 'user' folder with some settings, cache and log files)
I have an instance of magento2 installed with xampp which is working fine. I placed a test php file  in my magento home directory.
I went to https://xdebug.org/wizard.php to find out the xdebug dll file to download and place in xampp/php/ext. The file with my configuration is php_xdebug-2.5.0rc1-7.0-vc14.dll
I updated my php ini file with:
[XDebug]
zend_extension = C:\xampp\php\ext\php_xdebug-2.5.0rc1-7.0-vc14.dll
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = <IP_ADDRESS>
xdebug.remote_port = 9000
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
; xdebug.profiler_output_name = "xdebug_profile.%R::%u"
xdebug.remote_mode = req
I also changed in php.ini to output_buffering = Off although I tried default value which was commented out
I created a sublime project file with the following:
{
"folders": [
{
"follow_symlinks": true,
"path": "."
}
],
"settings": {
"xdebug": {
"url": "http://localhost/magento2",
"break_on_exception": [
// E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR
"Fatal error",
// E_RECOVERABLE_ERROR (since PHP 5.2.0)
"Catchable fatal error",
// // E_WARNING, E_CORE_WARNING, E_COMPILE_WARNING, E_USER_WARNING
// "Warning",
// // E_PARSE
// "Parse error",
// // E_NOTICE, E_USER_NOTICE
// "Notice",
// // E_STRICT
// "Strict standards",
// // E_DEPRECATED, E_USER_DEPRECATED (since PHP 5.3.0)
// "Deprecated",
// // 0
// "Xdebug",
// // default
// "Unknown error"
],
}
}
}
I tried two ways:
1-Breakpoint and 'start debugging' and going to the php file in chrome with the Xdebugger Helper extension set up with the IDE key=SUBLIME.XDEBUG.
2-Breakpoint and start debugging (Launch browser) which takes me to http://localhost/magento2/?XDEBUG_SESSION_START=sublime.xdebug. I manually go to  http://localhost/magento2/test.php?XDEBUG_SESSION_START=sublime.xdebug.
Result for both scenarios is that there is no stop in breakpoint (and no update to the xdebug tabs below in Sublime text), the php file runs completely.
(I made sure also that in the second one the Xdebugger Helper extension was disabled, although I tried with extension on also)
I'm getting crazy please help!

What I have found is:

The Xdebug server may sometimes crash, check your xdebug.log to see if it is reporting issues.
Make sure your port 9000 isn't already in use, and synchronize your port in your .sublime-project config, your xdebug.ini, and your SublimeTextXdebug plugin settings.  Then sync it again to something like 9005 or whatever just in case it's a problem with the port.
Use a second editor, try to get xdebug working in that, because if it works in one editor, but not the other, then at least you know that xdebug is working. (e.g. free trial of phpstorm, or github's atom editor)

See here: http://stackoverflow.com/questions/39027686/xdebug-unable-to-connect-to-client-where-do-i-start-debugging-the-debugger

Thanks for your response.
My 9000 port is definitely open and I can see it 'listening' when I start a debug session in sublime text. It doesn't show when running a netstat -a -n if sublime is closed, so nothing else is using it. changed to 9001 and still the same.
I noticed also that in my phpinfo there was the following config: IDE Key=plastras (which is my windows username and I don't really know where is that set) instead of SUBLIME.XDEBUG as it should be, so I changed it on php.ini as xdebug.idekey="SUBLIME.XDEBUG on the xdebug settings but didn't make any difference.
Also, I noticed that you commented recently on https://github.com/martomo/SublimeTextXdebug/issues/142 that you tried sublime text and you have the same errors than me on xdebug.log. Did you get it working yourself? it is not clear from the text on that issue.
I would try Netbeans or PhpStorm, but I like to start what I have finished and I''m pretty sure xdebug works as port gets open and closed and logs updated...

BTW, is still @martomo answering to these queries?

@PabloPlazaLastras I cannot recommend more highly installing phpStorm and getting xdebug running using phpStorm as a tool with their free trial, because they have a tool that runs through a checklist for you, and it might help clear out some problems.  I love sublime, but this is a complicated configuration, and if it doesn't work right away, then you need all the help you can get to debug.
Once it's working in phpstorm, A: It's only about 1 change to the xdebug.idekey and the sublime project file to set it to what should work for sublime text. B: You know that it's not the fault of xdebug configuration.

I think that the issue is that this plugin doesn't work with PHP 7. I installed again XAMPP version with PHP 5, which includes the php_xdebug.dll file by default (last XAMP with php 7 doesn't have the file and needs to be added as per https://xdebug.org/wizard.php) . It would be great if @martomo could confirm...


handle unset network

A few small future-proofing changes to better handle the unset ("") network value

the change to name_table is probably required
change to ep_filters will probably never matter, since we don't get a NetworkGatewaysByNetwork for ""
added utils to wrap up this logic
moved GetNetworkView() to be an instance method. This is mostly aesthetic. We could cache it on the Node or NodeMetadata if it gets called a lot.

/retest

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio
93f783f3d62cd29ae80ede85791d8addcf599bd0
link
/test integ-security-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio
93f783f3d62cd29ae80ede85791d8addcf599bd0
link
/test integ-security-multicluster-tests_istio

gencheck_istio
d6c3987e4fb8dccfb98e5495f61cde7e376c8833
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-ipv6-k8s-tests_istio
d6c3987e4fb8dccfb98e5495f61cde7e376c8833
link
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Update README with deprecation notice

In 24df2bbd8d2d8a735d2576725b479f7130e8575e the fixtures have been embedded as part of EngineBlock. Further development should be discouraged.

@relaxnow same as for Engine Test Stand


libxcb115 and libxml2211 migrations

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #11.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

As this again is a linux only migration, i'm going to build the linux builds, and avoid waiting for the other packages to get rebuilt.

log_files.zip


TriMesh magics not effective with datashader

It appears that cell magics (and global) do not have an effect when visualizing TriMesh.edgepaths via datashader.
%%opts TriMesh (node_size=0 edge_line_width=0.1, edge_line_color='blue')
tri_mesh = hv.TriMesh((tris, points))

Just visualizing via tri_mesh call renders the wireframe and picks up the TriMesh opts. But calling datashade(tri_mesh.edgepaths) will ignore all my TriMesh opts.

The options you supply to TriMesh without using datashader are processed and passed onto Bokeh. When using datashade, it is datashader that is in charge of rendering the graph which doesn't support the same set of options as bokeh.
Datashader really has a very different rendering model from Bokeh specified in a rather different way (e.g using concepts such as aggregators). This model is suited to rendering very large data without overplotting but it doesn't offer the same sort of options as when rendering with Bokeh.
In other words, this is the expected behavior although we should now use the datashader options that are available to get as close to the results that you want as we can. Perhaps @jbednar and @philippjfr have some suggestions? At the very least, we should be able to set what is effectively the edge color, and maybe the width...

You can do hv.help(datashade) to see the arguments available for controlling datashade. Some of these are comparable to what is available for Bokeh, and for those I've proposed that we make some sort of automatic mapping from the plot option into a datashader option (see https://github.com/ioam/holoviews/issues/2637). However, only one of the three options you list above currently has any direct mapping into what datashader supports, so even if we did implement such mapping, it wouldn't fully solve your immediate issue.
I'd also be surprised if those options even applied to tri_mesh.edgepaths without datashade(), given that EdgePaths is a separate element, but in that case it would suffice to change TriMesh to EdgePaths in the options magic.
In any case, for the moment at least, we have to step back and think about what you are trying to achieve.  I.e., is there anything available from datashader that can help achieve it?  Assuming you replaced TriMesh with EdgePaths, it looks to me like without datashade() you'd get a wireframe plot with blue lines and a certain width.  To set the color withdatashade(), you could pass cmap=['blue']; datashader will usually use a wide range of colors depending on overlaps, and using a single-color list like that we can force it to act like Bokeh.  Then to make the lines thicker, you can use spread(datashade(...), max_px=2) to spread each active pixel by 2 in each direction.  Datashader's spreading is a bit weird, acting on the pixel values after drawing rather than actually rendering a thick line, but it can give a similar result of making the line thicker.  You'll need to import spread first, leading to this code (untested since I don't have your example):
from holoviews.operation.datashader import datashade, spread
spread(datashade(tri_mesh.edgepaths, cmap=['blue']), max_px=2)

(Where you have to adjust the value 2 until it looks like the thickness you want).  Sorry this is awkward; Bokeh and Datashader do really have quite different models of how to render data, and it's not simple to translate between them.

I think I understand, at least enough to achieve my goals. On a very basic level, I'm just wanting to display a mesh in its two basic forms: wire mesh and color contouring based on elevation.
Instead of using datashade for both of those operations, I'm switching to plain trimesh for the wire frame/edgepaths and using datashade for the aggregated color contours and using overlays to achieve both in the same drawing.
For example, now I have: datashade(tri_mesh, aggregator=ds.mean('z')) * tri_mesh.edgepaths which works great for me.
Just FYI, I was led astray by this example notebook (cell 3) https://github.com/pyviz/EarthSim/blob/master/examples/user_guide/Visualizing_Meshes.ipynb
As far as I'm concerned this can be closed :)

Also, a note for myself if no one else... the suggested method of datashade(trimesh.edgepaths, cmap=['black']) achieves the same purpose while allowing for big data to be handled. trimesh.edgepaths alone works, but is much less effective at handling medium/large meshes (40k+ nodes).


DNS resolution fails in a GKE and an AKS cluster

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy . a GKE cluster - 3 nodes

Deploy two workloads

1 workload - wk01 - 1 pod

1 workload - wk02 - daemonset

Ping wk02 from wk01

ping wk02
ping: wk02: Name or service not known

Curl on wk02

curl wk02
curl: (6) Could not resolve host: wk02

Note:
Issue is seen on an AKS cluster also
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head - commit id: e9b7af681
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): GKE
Kubernetes version (use kubectl version):

v1.15.8-gke.2

This doesn't appear to be occurring on GKE and we may be hitting this issue on AKS https://github.com/Azure/AKS/issues/1320#issuecomment-573625107

On the latest master, DNS resolution works for an AKS and GKE cluster. (last verified 02/12/2020)


style: css selectors name on footer component

Ticket(s)

[6345]

Type of change

[x] Design change

Description

Some Footer components have either not declarative className or no className. Because of that debugging can sometimes be difficult.
Footer has some repetitive sections that maybe could have a custom component (FooterSection).
We are using the same full address in two different places, so would be interesting if we implement something (FullAddress) and use that where we need inside Footer. (Single Source of Truth)
Footer is using Hidden MUI component, which is deprecated in MUI v5 (Hidden), so a migration may be a good option.

Screenshots
Before
Had 3 Boxes like this

After
FooterSection implmentation to use on sections

Before
Had 2 places with that exact same Typography code

After
FullAddress component for use inside Footer component.

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] There are no new linting errors/problems in my code
[x] I have filled this PR out fully, and cleaned up any extraneous items so that it is clear and easy to understand

@LeoFuna I love the refactors, it is nice to see those cleaned up so much! Everything looks great. It looks like this is the only file in the repo using the Hidden component, would you be able to make a migration easily or should we make that another PR?

Yeah Eleni, i did this already in this PR.
I changed the Hidden component to Box component as suggested by MUI doc.


Fix missing pfcRemoveBias arg in README example

pfcRemoveBias is missing its second argument (multiplier) in the
example in the README.
Fix that.

Thanks for the help!


extract.py not running even with all requirements installed

When running
python extract.py examples/bob_dylan.txt bert-large-cased-bob_dynlan.jsonl --language_model bert-large-cased --use_cuda true
on google collab the following error appears:
/usr/local/lib/python3.7/dist-packages/spacy/util.py:275: UserWarning: [W031] Model 'en_core_web_sm' (2.2.5) requires spaCy v2.2 and is incompatible with the current spaCy version (2.3.2). This may lead to unexpected results or runtime errors. To resolve this, download a newer compatible model or retrain your custom model with the current spaCy version. For more details and available updates, run: python -m spacy validate
warnings.warn(warn_msg)
2021-04-22 19:14:11.225481: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "extract.py", line 3, in
from mapper import Map, deduplication
File "/content/mapper.py", line 5, in
emb = GenericLookup("entity_word_embedding", save_dir=sqlite_path, table_name="embeddings")
File "/usr/local/lib/python3.7/dist-packages/REL/db/generic.py", line 36, in init
self.db = self.initialize_db(path_db, table_name, columns)
File "/usr/local/lib/python3.7/dist-packages/REL/db/base.py", line 41, in initialize_db
db = sqlite3.connect(fname, isolation_level=None)
sqlite3.OperationalError: unable to open database file

Hi connexionist, you can obtain from https://github.com/informagi/REL repository. You have construct from wikipedia dump this sqllite file from scratch.

I already did pip install git+https://github.com/informagi/REL... what else is needed?
here is the google collab notebook link :
https://colab.research.google.com/drive/1OBUHQrf7f_tDBavtapjxr0Dgv1eCr4Px#scrollTo=veJ7TqXZ0B1U
Thanks for your helpppppp :)

You have to create "emb = GenericLookup("entity_word_embedding", save_dir=sqlite_path, table_name="embeddings")" this entity_word_embedding file, from REL documentation. https://github.com/informagi/REL/blob/master/tutorials/deploy_REL_new_Wiki/04_01_Extracting_a_new_Wikipedia_corpus.md it can help

I have worked on this for all day long I will retry with your suggestion thank you so much!!


Closing picker by tap outside picker view

It is difficult to use picker when you need to pick country from the end of the list when you are on the begin of the list.
I think the best way in this case is to close picker by tab outside picker view

Great ! thanks for your suggestion, I will improve it.

push to dev

@ChadChang I tested your changes - looks good, but not preferred behavior as for me.
I think, it should work with next behavior:

User tap to button -> picker appears.
User changes in picker -> the same changes in button
If user want to close picker, he taps outside picker, or he taps on Done button(needed to add in top of picker).

Chad, how do you think, is it the better way to close picker?